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,WAAA,CACA,SACA,SACA,sBACA,OACA,WACA,eACA,iBACA,eACA,uCACA,qBAEA,sBACA,eACA,cACA,aACA,oBACA,8BACA,sBACA,wBACA,kBACA,+CACA,0CAEA,qBACA,cACA,aACA,YACA,mBACA,6BACA,qBACA,sBACA,iBACA,6CACA,0CACA,CACAxB,MAAA,CACA,OACA,UACA,WACA,YACA,cACA,gBACA,iBACA,eACA,eACA,cACA,oBACA,aACA,CACAyB,QAAA,CACA,OACA,QACA,SACA,WACA,cACA,eACA,qCACA,iCACA,+BACA,uCACA,iCACA,+BACA,6BACA,CACAC,KAAA,CACA,cACA,oBACA,aACA,YAEA,mCACA,CACAC,KAAA,CACA,OACA,OACA,OACA,QACA,OACA,aACA,6BACA,YACA,WACA,WACA,WACA,QACA,kBACA,CACAC,SAAA,CACA,aAEA,mCACA,EAEAC,SAAA,CACAC,SAAA,CACAC,OAAA,CACAb,KAAA,QACA,EACAc,OAAA,CACAd,KAAA,wBACA,CACA,EACAe,SAAA,CACAC,GAAA,CACAf,QAAA,eACA,EACAgB,GAAA,CACAhB,QAAA,eACA,EACAiB,GAAA,CACAjB,QAAA,gBACA,EACAkB,GAAA,CACAlB,QAAA,gBACA,EACA,OACAA,QAAA,gBACA,EACAmB,KAAA,CACAnB,QAAA,YACA,CACA,EACAoB,aAAA,CACAC,KAAA,CACAtB,KAAA,+BAEA,EACAuB,WAAA,CACAD,KAAA,CACAtB,KAAA,8BAEA,EACAwB,UAAA,CACAC,MAAA,CACAzB,KAAA,gBACAS,KAAA,eACA,EACAa,KAAA,CACAtB,KAAA,CACA,mBACA,yCACA,wBACA,mBACA,CACAS,KAAA,gEAEA,EACAiB,iBAAA,CACAJ,KAAA,CACAb,KAAA,6EAEA,CACA,EACAkB,gBAAA,CACAZ,SAAA,KACAH,SAAA,SACAY,UAAA,EACA,CACA,uDC3MAI,EAAA,oBAAAC,OACA,SAAAC,EAAAC,CAAA,SACA,EACAA,EAGA,CAAWC,EAAAD,EAAAE,UAAA,CA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W,CAAAA,EAAAA,EAAAA,GAAAA,EAJLZ,GAAM,KAMtB,CACEF,IAAKM,EACLH,UAAW,MAACF,CAAAA,EAAKO,EAAM8B,OAAO,EAAY,KAAK,EAAIrC,EAAGc,IAAI,CAACP,EAAO,CAAEQ,MAAOL,CAAO,GAClF,eAAgBwO,EAChB,GAAG9O,CAAU,CACbD,SAAAA,CACF,EAEJ,EACA8O,CAAAA,EAAcjO,WAAW,CAAG,uBAC5B,IAAImO,EAAyBF,uECtB7BrF,EAAA,CAAAzJ,EAAAiP,KACA,IAAApP,EACA,IAAAoF,EAAA,GAUA,OATA,MAAApF,CAAAA,EAAsCqP,EAAAC,QAAQ,CAAAC,GAAA,CAAApP,EAAA,GACrC,GAAAkP,EAAAG,cAAA,EAAclN,IACvBA,EAAAgL,IAAA,GAAA8B,GACAhK,EAAAqK,IAAA,CAAAnN,GACA,MAEAA,EACG,SAAAtC,EAAA0P,MAAA,CAAAC,SACHvK,EAAAwK,MAAA,IAAAxK,EAAA,OACA,AACA","sources":["webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-4DMBHLGU.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-RRUQIZLR.mjs","webpack://_N_E/./node_modules/@heroui/theme/dist/chunk-TMGLCZEQ.mjs","webpack://_N_E/./node_modules/@heroui/use-scroll-position/dist/index.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-LTNGAWBY.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-63OA3RRZ.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-UJDFI5KD.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-GGZP2VLD.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-IGERPFKH.mjs","webpack://_N_E/./node_modules/@heroui/navbar/node_modules/@react-aria/button/dist/useButton.mjs","webpack://_N_E/./node_modules/@heroui/navbar/node_modules/@react-aria/button/dist/useToggleButton.mjs","webpack://_N_E/./node_modules/@heroui/navbar/node_modules/@react-stately/toggle/dist/useToggleState.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-M6Y4IXO7.mjs","webpack://_N_E/./node_modules/@heroui/navbar/dist/chunk-UYTDJMPP.mjs","webpack://_N_E/./node_modules/@heroui/react-rsc-utils/dist/chunk-WR7VNGRW.mjs"],"sourcesContent":["\"use client\";\nimport {\n useNavbarContext\n} from \"./chunk-IGERPFKH.mjs\";\n\n// src/navbar-brand.tsx\nimport { forwardRef } from \"@heroui/system\";\nimport { useDOMRef } from \"@heroui/react-utils\";\nimport { clsx } from \"@heroui/shared-utils\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NavbarBrand = forwardRef((props, ref) => {\n var _a;\n const { as, className, children, ...otherProps } = props;\n const Component = as || \"div\";\n const domRef = useDOMRef(ref);\n const { slots, classNames } = useNavbarContext();\n const styles = clsx(classNames == null ? void 0 : classNames.brand, className);\n return /* @__PURE__ */ jsx(Component, { ref: domRef, className: (_a = slots.brand) == null ? void 0 : _a.call(slots, { class: styles }), ...otherProps, children });\n});\nNavbarBrand.displayName = \"HeroUI.NavbarBrand\";\nvar navbar_brand_default = NavbarBrand;\n\nexport {\n navbar_brand_default\n};\n","\"use client\";\n\n// src/navbar-transitions.ts\nimport { TRANSITION_EASINGS } from \"@heroui/framer-utils\";\nvar hideOnScrollVariants = {\n visible: {\n y: 0,\n transition: {\n ease: TRANSITION_EASINGS.easeOut\n }\n },\n hidden: {\n y: \"-100%\",\n transition: {\n ease: TRANSITION_EASINGS.easeIn\n }\n }\n};\n\nexport {\n hideOnScrollVariants\n};\n","import {\n tv\n} from \"./chunk-UWE6H66T.mjs\";\nimport {\n dataFocusVisibleClasses\n} from \"./chunk-CNTMWM4F.mjs\";\n\n// src/components/navbar.ts\nvar navbar = tv({\n slots: {\n base: [\n \"flex\",\n \"z-40\",\n \"w-full\",\n \"h-auto\",\n \"items-center\",\n \"justify-center\",\n \"data-[menu-open=true]:border-none\"\n ],\n wrapper: [\n \"z-40\",\n \"flex\",\n \"px-6\",\n \"gap-4\",\n \"w-full\",\n \"flex-row\",\n \"relative\",\n \"flex-nowrap\",\n \"items-center\",\n \"justify-between\",\n \"h-[var(--navbar-height)]\"\n ],\n toggle: [\n \"group\",\n \"flex\",\n \"items-center\",\n \"justify-center\",\n \"w-6\",\n \"h-full\",\n \"outline-none\",\n \"rounded-small\",\n \"tap-highlight-transparent\",\n // focus ring\n ...dataFocusVisibleClasses\n ],\n srOnly: [\"sr-only\"],\n toggleIcon: [\n \"w-full\",\n \"h-full\",\n \"pointer-events-none\",\n \"flex\",\n \"flex-col\",\n \"items-center\",\n \"justify-center\",\n \"text-inherit\",\n \"group-data-[pressed=true]:opacity-70\",\n \"transition-opacity\",\n // before - first line\n \"before:content-['']\",\n \"before:block\",\n \"before:h-px\",\n \"before:w-6\",\n \"before:bg-current\",\n \"before:transition-transform\",\n \"before:duration-150\",\n \"before:-translate-y-1\",\n \"before:rotate-0\",\n \"group-data-[open=true]:before:translate-y-px\",\n \"group-data-[open=true]:before:rotate-45\",\n // after - second line\n \"after:content-['']\",\n \"after:block\",\n \"after:h-px\",\n \"after:w-6\",\n \"after:bg-current\",\n \"after:transition-transform\",\n \"after:duration-150\",\n \"after:translate-y-1\",\n \"after:rotate-0\",\n \"group-data-[open=true]:after:translate-y-0\",\n \"group-data-[open=true]:after:-rotate-45\"\n ],\n brand: [\n \"flex\",\n \"basis-0\",\n \"flex-row\",\n \"flex-grow\",\n \"flex-nowrap\",\n \"justify-start\",\n \"bg-transparent\",\n \"items-center\",\n \"no-underline\",\n \"text-medium\",\n \"whitespace-nowrap\",\n \"box-border\"\n ],\n content: [\n \"flex\",\n \"gap-4\",\n \"h-full\",\n \"flex-row\",\n \"flex-nowrap\",\n \"items-center\",\n \"data-[justify=start]:justify-start\",\n \"data-[justify=start]:flex-grow\",\n \"data-[justify=start]:basis-0\",\n \"data-[justify=center]:justify-center\",\n \"data-[justify=end]:justify-end\",\n \"data-[justify=end]:flex-grow\",\n \"data-[justify=end]:basis-0\"\n ],\n item: [\n \"text-medium\",\n \"whitespace-nowrap\",\n \"box-border\",\n \"list-none\",\n // active\n \"data-[active=true]:font-semibold\"\n ],\n menu: [\n \"z-30\",\n \"px-6\",\n \"pt-2\",\n \"fixed\",\n \"flex\",\n \"max-w-full\",\n \"top-[var(--navbar-height)]\",\n \"inset-x-0\",\n \"bottom-0\",\n \"w-screen\",\n \"flex-col\",\n \"gap-2\",\n \"overflow-y-auto\"\n ],\n menuItem: [\n \"text-large\",\n // active\n \"data-[active=true]:font-semibold\"\n ]\n },\n variants: {\n position: {\n static: {\n base: \"static\"\n },\n sticky: {\n base: \"sticky top-0 inset-x-0\"\n }\n },\n maxWidth: {\n sm: {\n wrapper: \"max-w-[640px]\"\n },\n md: {\n wrapper: \"max-w-[768px]\"\n },\n lg: {\n wrapper: \"max-w-[1024px]\"\n },\n xl: {\n wrapper: \"max-w-[1280px]\"\n },\n \"2xl\": {\n wrapper: \"max-w-[1536px]\"\n },\n full: {\n wrapper: \"max-w-full\"\n }\n },\n hideOnScroll: {\n true: {\n base: [\"sticky\", \"top-0\", \"inset-x-0\"]\n }\n },\n isBordered: {\n true: {\n base: [\"border-b\", \"border-divider\"]\n }\n },\n isBlurred: {\n false: {\n base: \"bg-background\",\n menu: \"bg-background\"\n },\n true: {\n base: [\n \"backdrop-blur-lg\",\n \"data-[menu-open=true]:backdrop-blur-xl\",\n \"backdrop-saturate-150\",\n \"bg-background/70\"\n ],\n menu: [\"backdrop-blur-xl\", \"backdrop-saturate-150\", \"bg-background/70\"]\n }\n },\n disableAnimation: {\n true: {\n menu: [\"hidden\", \"h-[calc(100dvh_-_var(--navbar-height))]\", \"data-[open=true]:flex\"]\n }\n }\n },\n defaultVariants: {\n maxWidth: \"lg\",\n position: \"sticky\",\n isBlurred: true\n }\n});\n\nexport {\n navbar\n};\n","// src/index.ts\nimport { useRef, useEffect, useCallback } from \"react\";\nvar isBrowser = typeof window !== \"undefined\";\nfunction getScrollPosition(element) {\n if (!isBrowser) return { x: 0, y: 0 };\n if (!element) {\n return { x: window.scrollX, y: window.scrollY };\n }\n return { x: element.scrollLeft, y: element.scrollTop };\n}\nvar useScrollPosition = (props) => {\n const { elementRef, delay = 30, callback, isEnabled } = props;\n const position = useRef(\n isEnabled ? getScrollPosition(elementRef == null ? void 0 : elementRef.current) : { x: 0, y: 0 }\n );\n const throttleTimeout = useRef(null);\n const handler = useCallback(() => {\n const currPos = getScrollPosition(elementRef == null ? void 0 : elementRef.current);\n if (typeof callback === \"function\") {\n callback({ prevPos: position.current, currPos });\n }\n position.current = currPos;\n throttleTimeout.current = null;\n }, [callback, elementRef]);\n useEffect(() => {\n if (!isEnabled) return;\n const handleScroll = () => {\n if (delay) {\n if (throttleTimeout.current) {\n clearTimeout(throttleTimeout.current);\n }\n throttleTimeout.current = setTimeout(handler, delay);\n } else {\n handler();\n }\n };\n const target = (elementRef == null ? void 0 : elementRef.current) || window;\n target.addEventListener(\"scroll\", handleScroll);\n return () => {\n target.removeEventListener(\"scroll\", handleScroll);\n if (throttleTimeout.current) {\n clearTimeout(throttleTimeout.current);\n throttleTimeout.current = null;\n }\n };\n }, [elementRef == null ? void 0 : elementRef.current, delay, handler, isEnabled]);\n return position.current;\n};\nexport {\n useScrollPosition\n};\n","\"use client\";\n\n// src/use-navbar.ts\nimport { mapPropsVariants, useProviderContext } from \"@heroui/system\";\nimport { navbar } from \"@heroui/theme\";\nimport { useDOMRef } from \"@heroui/react-utils\";\nimport { clsx, dataAttr, objectToDeps } from \"@heroui/shared-utils\";\nimport { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { mergeProps, useResizeObserver } from \"@react-aria/utils\";\nimport { useScrollPosition } from \"@heroui/use-scroll-position\";\nimport { useControlledState } from \"@react-stately/utils\";\nimport { usePreventScroll } from \"@react-aria/overlays\";\nfunction useNavbar(originalProps) {\n var _a, _b;\n const globalContext = useProviderContext();\n const [props, variantProps] = mapPropsVariants(originalProps, navbar.variantKeys);\n const {\n ref,\n as,\n parentRef,\n height = \"4rem\",\n shouldHideOnScroll = false,\n disableScrollHandler = false,\n shouldBlockScroll = true,\n onScrollPositionChange,\n isMenuOpen: isMenuOpenProp,\n isMenuDefaultOpen,\n onMenuOpenChange = () => {\n },\n motionProps,\n className,\n classNames,\n ...otherProps\n } = props;\n const Component = as || \"nav\";\n const disableAnimation = (_b = (_a = originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;\n const domRef = useDOMRef(ref);\n const prevWidth = useRef(0);\n const navHeight = useRef(0);\n const [isHidden, setIsHidden] = useState(false);\n const handleMenuOpenChange = useCallback(\n (isOpen) => {\n onMenuOpenChange(isOpen || false);\n },\n [onMenuOpenChange]\n );\n const [isMenuOpen, setIsMenuOpen] = useControlledState(\n isMenuOpenProp,\n isMenuDefaultOpen != null ? isMenuDefaultOpen : false,\n handleMenuOpenChange\n );\n const updateWidth = () => {\n if (domRef.current) {\n const width = domRef.current.offsetWidth;\n if (width !== prevWidth.current) {\n prevWidth.current = width;\n }\n }\n };\n usePreventScroll({\n isDisabled: !(shouldBlockScroll && isMenuOpen)\n });\n useResizeObserver({\n ref: domRef,\n onResize: () => {\n var _a2;\n const currentWidth = (_a2 = domRef.current) == null ? void 0 : _a2.offsetWidth;\n const scrollWidth = window.innerWidth - document.documentElement.clientWidth;\n if (currentWidth && currentWidth + scrollWidth == prevWidth.current) {\n return;\n }\n if (currentWidth !== prevWidth.current) {\n updateWidth();\n setIsMenuOpen(false);\n }\n }\n });\n useEffect(() => {\n var _a2;\n updateWidth();\n navHeight.current = ((_a2 = domRef.current) == null ? void 0 : _a2.offsetHeight) || 0;\n }, []);\n const slots = useMemo(\n () => navbar({\n ...variantProps,\n disableAnimation,\n hideOnScroll: shouldHideOnScroll\n }),\n [objectToDeps(variantProps), disableAnimation, shouldHideOnScroll]\n );\n const baseStyles = clsx(classNames == null ? void 0 : classNames.base, className);\n useScrollPosition({\n elementRef: parentRef,\n isEnabled: shouldHideOnScroll || !disableScrollHandler,\n callback: ({ prevPos, currPos }) => {\n onScrollPositionChange == null ? void 0 : onScrollPositionChange(currPos.y);\n if (shouldHideOnScroll) {\n setIsHidden((prev) => {\n const next = currPos.y > prevPos.y && currPos.y > navHeight.current;\n return next !== prev ? next : prev;\n });\n }\n }\n });\n const getBaseProps = (props2 = {}) => ({\n ...mergeProps(otherProps, props2),\n \"data-hidden\": dataAttr(isHidden),\n \"data-menu-open\": dataAttr(isMenuOpen),\n ref: domRef,\n className: slots.base({ class: clsx(baseStyles, props2 == null ? void 0 : props2.className) }),\n style: {\n \"--navbar-height\": typeof height === \"number\" ? `${height}px` : height,\n ...otherProps == null ? void 0 : otherProps.style,\n ...props2 == null ? void 0 : props2.style\n }\n });\n const getWrapperProps = (props2 = {}) => ({\n ...props2,\n \"data-menu-open\": dataAttr(isMenuOpen),\n className: slots.wrapper({ class: clsx(classNames == null ? void 0 : classNames.wrapper, props2 == null ? void 0 : props2.className) })\n });\n return {\n Component,\n slots,\n domRef,\n height,\n isHidden,\n disableAnimation,\n shouldHideOnScroll,\n isMenuOpen,\n classNames,\n setIsMenuOpen,\n motionProps,\n getBaseProps,\n getWrapperProps\n };\n}\n\nexport {\n useNavbar\n};\n","\"use client\";\nimport {\n navbar_menu_default\n} from \"./chunk-GGZP2VLD.mjs\";\nimport {\n hideOnScrollVariants\n} from \"./chunk-RRUQIZLR.mjs\";\nimport {\n useNavbar\n} from \"./chunk-LTNGAWBY.mjs\";\nimport {\n NavbarProvider\n} from \"./chunk-IGERPFKH.mjs\";\n\n// src/navbar.tsx\nimport { forwardRef } from \"@heroui/system\";\nimport { pickChildren } from \"@heroui/react-utils\";\nimport { LazyMotion, m } from \"framer-motion\";\nimport { mergeProps } from \"@react-aria/utils\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar domAnimation = () => import(\"@heroui/dom-animation\").then((res) => res.default);\nvar Navbar = forwardRef((props, ref) => {\n const { children, ...otherProps } = props;\n const context = useNavbar({ ...otherProps, ref });\n const Component = context.Component;\n const [childrenWithoutMenu, menu] = pickChildren(children, navbar_menu_default);\n const content = /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\"header\", { ...context.getWrapperProps(), children: childrenWithoutMenu }),\n menu\n ] });\n return /* @__PURE__ */ jsx(NavbarProvider, { value: context, children: context.shouldHideOnScroll ? /* @__PURE__ */ jsx(LazyMotion, { features: domAnimation, children: /* @__PURE__ */ jsx(\n m.nav,\n {\n animate: context.isHidden ? \"hidden\" : \"visible\",\n initial: false,\n variants: hideOnScrollVariants,\n ...mergeProps(context.getBaseProps(), context.motionProps),\n children: content\n }\n ) }) : /* @__PURE__ */ jsx(Component, { ...context.getBaseProps(), children: content }) });\n});\nNavbar.displayName = \"HeroUI.Navbar\";\nvar navbar_default = Navbar;\n\nexport {\n navbar_default\n};\n","\"use client\";\n\n// src/navbar-menu-transitions.ts\nvar menuVariants = {\n enter: {\n height: \"calc(100vh - var(--navbar-height))\",\n transition: {\n duration: 0.3,\n easings: \"easeOut\"\n }\n },\n exit: {\n height: 0,\n transition: {\n duration: 0.25,\n easings: \"easeIn\"\n }\n }\n};\n\nexport {\n menuVariants\n};\n","\"use client\";\nimport {\n useNavbarContext\n} from \"./chunk-IGERPFKH.mjs\";\nimport {\n menuVariants\n} from \"./chunk-UJDFI5KD.mjs\";\n\n// src/navbar-menu.tsx\nimport { forwardRef } from \"@heroui/system\";\nimport { useDOMRef } from \"@heroui/react-utils\";\nimport { clsx, dataAttr } from \"@heroui/shared-utils\";\nimport { AnimatePresence, LazyMotion, m } from \"framer-motion\";\nimport { mergeProps } from \"@react-aria/utils\";\nimport { Overlay } from \"@react-aria/overlays\";\nimport { jsx } from \"react/jsx-runtime\";\nvar domAnimation = () => import(\"@heroui/dom-animation\").then((res) => res.default);\nvar NavbarMenu = forwardRef((props, ref) => {\n var _a, _b;\n const { className, children, portalContainer, motionProps, style, ...otherProps } = props;\n const domRef = useDOMRef(ref);\n const { slots, isMenuOpen, height, disableAnimation, classNames } = useNavbarContext();\n const styles = clsx(classNames == null ? void 0 : classNames.menu, className);\n if (disableAnimation) {\n if (!isMenuOpen) return null;\n return /* @__PURE__ */ jsx(Overlay, { portalContainer, children: /* @__PURE__ */ jsx(\n \"ul\",\n {\n ref: domRef,\n className: (_a = slots.menu) == null ? void 0 : _a.call(slots, { class: styles }),\n \"data-open\": dataAttr(isMenuOpen),\n style: {\n // @ts-expect-error\n \"--navbar-height\": typeof height === \"number\" ? `${height}px` : height\n },\n ...otherProps,\n children\n }\n ) });\n }\n return /* @__PURE__ */ jsx(AnimatePresence, { mode: \"wait\", children: isMenuOpen ? /* @__PURE__ */ jsx(Overlay, { portalContainer, children: /* @__PURE__ */ jsx(LazyMotion, { features: domAnimation, children: /* @__PURE__ */ jsx(\n m.ul,\n {\n ref: domRef,\n layoutScroll: true,\n animate: \"enter\",\n className: (_b = slots.menu) == null ? void 0 : _b.call(slots, { class: styles }),\n \"data-open\": dataAttr(isMenuOpen),\n exit: \"exit\",\n initial: \"exit\",\n style: {\n // @ts-expect-error\n \"--navbar-height\": typeof height === \"number\" ? `${height}px` : height,\n ...style\n },\n variants: menuVariants,\n ...mergeProps(motionProps, otherProps),\n children\n }\n ) }) }) : null });\n});\nNavbarMenu.displayName = \"HeroUI.NavbarMenu\";\nvar navbar_menu_default = NavbarMenu;\n\nexport {\n navbar_menu_default\n};\n","\"use client\";\n\n// src/navbar-context.ts\nimport { createContext } from \"@heroui/react-utils\";\nvar [NavbarProvider, useNavbarContext] = createContext({\n name: \"NavbarContext\",\n strict: true,\n errorMessage: \"useNavbarContext: `context` is undefined. Seems you forgot to wrap component within \"\n});\n\nexport {\n NavbarProvider,\n useNavbarContext\n};\n","import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from \"@react-aria/utils\";\nimport {useFocusable as $bwqiF$useFocusable} from \"@react-aria/focus\";\nimport {usePress as $bwqiF$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, // @ts-ignore\n onClick: deprecatedOnClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled\n };\n else additionalProps = {\n role: 'button',\n tabIndex: isDisabled ? undefined : 0,\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bwqiF$usePress)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $bwqiF$useFocusable)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bwqiF$mergeProps)(focusableProps, pressProps, (0, $bwqiF$filterDOMProps)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bwqiF$mergeProps)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n onClick: (e)=>{\n if (deprecatedOnClick) {\n deprecatedOnClick(e);\n console.warn('onClick is deprecated, please use onPress');\n }\n }\n })\n };\n}\n\n\nexport {$701a24aa0da5b062$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.module.js.map\n","import {useButton as $701a24aa0da5b062$export$ea18c227d4417cc3} from \"./useButton.mjs\";\nimport {chain as $h7Tql$chain, mergeProps as $h7Tql$mergeProps} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $55f54f7887471b58$export$51e84d46ca0bc451(props, state, ref) {\n const { isSelected: isSelected } = state;\n const { isPressed: isPressed, buttonProps: buttonProps } = (0, $701a24aa0da5b062$export$ea18c227d4417cc3)({\n ...props,\n onPress: (0, $h7Tql$chain)(state.toggle, props.onPress)\n }, ref);\n return {\n isPressed: isPressed,\n isSelected: isSelected,\n isDisabled: props.isDisabled || false,\n buttonProps: (0, $h7Tql$mergeProps)(buttonProps, {\n 'aria-pressed': isSelected\n })\n };\n}\n\n\nexport {$55f54f7887471b58$export$51e84d46ca0bc451 as useToggleButton};\n//# sourceMappingURL=useToggleButton.module.js.map\n","import {useControlledState as $d8rik$useControlledState} from \"@react-stately/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $3017fa7ffdddec74$export$8042c6c013fd5226(props = {}) {\n let { isReadOnly: isReadOnly } = props;\n // have to provide an empty function so useControlledState doesn't throw a fit\n // can't use useControlledState's prop calling because we need the event object from the change\n let [isSelected, setSelected] = (0, $d8rik$useControlledState)(props.isSelected, props.defaultSelected || false, props.onChange);\n function updateSelected(value) {\n if (!isReadOnly) setSelected(value);\n }\n function toggleState() {\n if (!isReadOnly) setSelected(!isSelected);\n }\n return {\n isSelected: isSelected,\n setSelected: updateSelected,\n toggle: toggleState\n };\n}\n\n\nexport {$3017fa7ffdddec74$export$8042c6c013fd5226 as useToggleState};\n//# sourceMappingURL=useToggleState.module.js.map\n","\"use client\";\nimport {\n useNavbarContext\n} from \"./chunk-IGERPFKH.mjs\";\n\n// src/navbar-menu-toggle.tsx\nimport { useToggleButton as useAriaToggleButton } from \"@react-aria/button\";\nimport { forwardRef } from \"@heroui/system\";\nimport { useDOMRef } from \"@heroui/react-utils\";\nimport { clsx, dataAttr } from \"@heroui/shared-utils\";\nimport { useToggleState } from \"@react-stately/toggle\";\nimport { useFocusRing } from \"@react-aria/focus\";\nimport { mergeProps } from \"@react-aria/utils\";\nimport { useHover } from \"@react-aria/interactions\";\nimport { useMemo } from \"react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar NavbarMenuToggle = forwardRef((props, ref) => {\n var _a;\n const {\n as,\n icon,\n className,\n onChange,\n autoFocus,\n srOnlyText: srOnlyTextProp,\n ...otherProps\n } = props;\n const Component = as || \"button\";\n const domRef = useDOMRef(ref);\n const { slots, classNames, isMenuOpen, setIsMenuOpen } = useNavbarContext();\n const handleChange = (isOpen) => {\n onChange == null ? void 0 : onChange(isOpen);\n setIsMenuOpen(isOpen);\n };\n const state = useToggleState({ ...otherProps, isSelected: isMenuOpen, onChange: handleChange });\n const { buttonProps, isPressed } = useAriaToggleButton(props, state, domRef);\n const { isFocusVisible, focusProps } = useFocusRing({ autoFocus });\n const { isHovered, hoverProps } = useHover({});\n const toggleStyles = clsx(classNames == null ? void 0 : classNames.toggle, className);\n const child = useMemo(() => {\n if (typeof icon === \"function\") {\n return icon(isMenuOpen != null ? isMenuOpen : false);\n }\n return icon || /* @__PURE__ */ jsx(\"span\", { className: slots.toggleIcon({ class: classNames == null ? void 0 : classNames.toggleIcon }) });\n }, [icon, isMenuOpen, slots.toggleIcon, classNames == null ? void 0 : classNames.toggleIcon]);\n const srOnlyText = useMemo(() => {\n if (srOnlyTextProp) {\n return srOnlyTextProp;\n }\n return state.isSelected ? \"close navigation menu\" : \"open navigation menu\";\n }, [srOnlyTextProp, isMenuOpen]);\n return /* @__PURE__ */ jsxs(\n Component,\n {\n ref: domRef,\n className: (_a = slots.toggle) == null ? void 0 : _a.call(slots, { class: toggleStyles }),\n \"data-focus-visible\": dataAttr(isFocusVisible),\n \"data-hover\": dataAttr(isHovered),\n \"data-open\": dataAttr(isMenuOpen),\n \"data-pressed\": dataAttr(isPressed),\n ...mergeProps(buttonProps, focusProps, hoverProps, otherProps),\n children: [\n /* @__PURE__ */ jsx(\"span\", { className: slots.srOnly(), children: srOnlyText }),\n child\n ]\n }\n );\n});\nNavbarMenuToggle.displayName = \"HeroUI.NavbarMenuToggle\";\nvar navbar_menu_toggle_default = NavbarMenuToggle;\n\nexport {\n navbar_menu_toggle_default\n};\n","\"use client\";\nimport {\n useNavbarContext\n} from \"./chunk-IGERPFKH.mjs\";\n\n// src/navbar-content.tsx\nimport { forwardRef } from \"@heroui/system\";\nimport { useDOMRef } from \"@heroui/react-utils\";\nimport { clsx } from \"@heroui/shared-utils\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NavbarContent = forwardRef((props, ref) => {\n var _a;\n const { as, className, children, justify = \"start\", ...otherProps } = props;\n const Component = as || \"ul\";\n const domRef = useDOMRef(ref);\n const { slots, classNames } = useNavbarContext();\n const styles = clsx(classNames == null ? void 0 : classNames.content, className);\n return /* @__PURE__ */ jsx(\n Component,\n {\n ref: domRef,\n className: (_a = slots.content) == null ? void 0 : _a.call(slots, { class: styles }),\n \"data-justify\": justify,\n ...otherProps,\n children\n }\n );\n});\nNavbarContent.displayName = \"HeroUI.NavbarContent\";\nvar navbar_content_default = NavbarContent;\n\nexport {\n navbar_content_default\n};\n","// src/children.ts\nimport { Children, isValidElement } from \"react\";\nfunction getValidChildren(children) {\n return Children.toArray(children).filter(\n (child) => isValidElement(child)\n );\n}\nvar pickChildren = (children, targetChild) => {\n var _a;\n let target = [];\n const withoutTargetChildren = (_a = Children.map(children, (item) => {\n if (!isValidElement(item)) return item;\n if (item.type === targetChild) {\n target.push(item);\n return null;\n }\n return item;\n })) == null ? void 0 : _a.filter(Boolean);\n const targetChildren = target.length >= 0 ? target : void 0;\n return [withoutTargetChildren, targetChildren];\n};\n\nexport {\n getValidChildren,\n pickChildren\n};\n"],"names":["NavbarBrand","forwardRef","props","ref","_a","as","className","children","otherProps","domRef","useDOMRef","slots","classNames","useNavbarContext","styles","clsx","brand","jsx","call","class","displayName","navbar_brand_default","hideOnScrollVariants","visible","y","transition","ease","TRANSITION_EASINGS","easeOut","hidden","easeIn","navbar","chunk_UWE6H66T","tv","base","wrapper","toggle","chunk_CNTMWM4F","Dh","srOnly","toggleIcon","content","item","menu","menuItem","variants","position","static","sticky","maxWidth","sm","md","lg","xl","full","hideOnScroll","true","isBordered","isBlurred","false","disableAnimation","defaultVariants","isBrowser","window","getScrollPosition","element","x","scrollLeft","scrollTop","scrollX","scrollY","useScrollPosition","elementRef","delay","callback","isEnabled","react","useRef","current","throttleTimeout","handler","useCallback","currPos","prevPos","useEffect","handleScroll","clearTimeout","setTimeout","target","addEventListener","removeEventListener","domAnimation","Promise","all","__webpack_require__","e","then","bind","res","default","Navbar","context","useNavbar","originalProps","_b","globalContext","useProviderContext","variantProps","mapPropsVariants","variantKeys","parentRef","height","shouldHideOnScroll","disableScrollHandler","shouldBlockScroll","onScrollPositionChange","isMenuOpen","isMenuOpenProp","isMenuDefaultOpen","onMenuOpenChange","motionProps","prevWidth","navHeight","isHidden","setIsHidden","useState","handleMenuOpenChange","isOpen","setIsMenuOpen","useControlledState","updateWidth","width","offsetWidth","usePreventScroll","isDisabled","useResizeObserver","onResize","_a2","currentWidth","scrollWidth","innerWidth","document","documentElement","clientWidth","offsetHeight","useMemo","objectToDeps","baseStyles","param","next","prev","Component","getBaseProps","props2","mergeProps","dataAttr","style","concat","getWrapperProps","childrenWithoutMenu","pickChildren","navbar_menu_default","jsxs","Fragment","NavbarProvider","value","LazyMotion","features","m","nav","animate","initial","navbar_default","menuVariants","enter","duration","easings","exit","NavbarMenu","portalContainer","Overlay","AnimatePresence","mode","ul","layoutScroll","createContext","name","strict","errorMessage","NavbarMenuToggle","icon","onChange","autoFocus","srOnlyText","srOnlyTextProp","state","useToggleState","isReadOnly","isSelected","setSelected","z","defaultSelected","buttonProps","isPressed","useAriaToggleButton","additionalProps","elementType","onPress","onPressStart","onPressEnd","onPressUp","onPressChange","preventFocusOnPress","allowFocusWhenDisabled","onClick","deprecatedOnClick","href","rel","type","disabled","role","tabIndex","undefined","pressProps","usePress","r","focusableProps","useFocusable","k","d","filterDOMProps","labelable","console","warn","chain","t","isFocusVisible","focusProps","useFocusRing","isHovered","hoverProps","useHover","toggleStyles","child","navbar_menu_toggle_default","NavbarContent","justify","navbar_content_default","targetChild","react__WEBPACK_IMPORTED_MODULE_0__","Children","map","isValidElement","push","filter","Boolean","length"],"sourceRoot":""}