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AI,GACrB,EAEA,eAAkB,GAAQ,cAAc,IAAI","file":"/npm/@heroui/toast@2.0.19/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@heroui/toast@2.0.19/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use client\";\n\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res) => function __init() {\n  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n  // If the importer is in node compatibility mode or this is not an ESM\n  // file that has been converted to a CommonJS file using a Babel-\n  // compatible transform (i.e. \"__esModule\" has not been set), then set\n  // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n  isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n  mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// ../../utilities/dom-animation/src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n  default: () => src_default\n});\nvar import_framer_motion, src_default;\nvar init_src = __esm({\n  \"../../utilities/dom-animation/src/index.ts\"() {\n    \"use strict\";\n    import_framer_motion = require(\"framer-motion\");\n    src_default = import_framer_motion.domAnimation;\n  }\n});\n\n// src/index.ts\nvar index_exports = {};\n__export(index_exports, {\n  Toast: () => toast_default,\n  ToastProvider: () => ToastProvider,\n  addToast: () => addToast,\n  closeAll: () => closeAll,\n  closeToast: () => closeToast,\n  getToastQueue: () => getToastQueue,\n  isToastClosing: () => isToastClosing,\n  useToast: () => useToast\n});\nmodule.exports = __toCommonJS(index_exports);\n\n// src/toast.tsx\nvar import_system4 = require(\"@heroui/system\");\n\n// ../button/src/button.tsx\nvar import_spinner = require(\"@heroui/spinner\");\n\n// ../ripple/src/ripple.tsx\nvar import_framer_motion2 = require(\"framer-motion\");\nvar import_shared_utils = require(\"@heroui/shared-utils\");\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar domAnimation2 = () => Promise.resolve().then(() => (init_src(), src_exports)).then((res) => res.default);\nvar Ripple = (props) => {\n  const { ripples = [], motionProps, color = \"currentColor\", style, onClear } = props;\n  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: ripples.map((ripple) => {\n    const duration = (0, import_shared_utils.clamp)(0.01 * ripple.size, 0.2, ripple.size > 100 ? 0.75 : 0.5);\n    return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_framer_motion2.LazyMotion, { features: domAnimation2, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_framer_motion2.AnimatePresence, { mode: \"popLayout\", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\n      import_framer_motion2.m.span,\n      {\n        animate: {\n          transform: `translate(${ripple.x}px, ${ripple.y}px) scale(2)`,\n          opacity: 0\n        },\n        className: \"heroui-ripple\",\n        exit: { opacity: 0 },\n        initial: {\n          transform: `translate(${ripple.x}px, ${ripple.y}px) scale(0)`,\n          opacity: 0.35\n        },\n        style: {\n          position: \"absolute\",\n          backgroundColor: color,\n          borderRadius: \"100%\",\n          transformOrigin: \"center\",\n          pointerEvents: \"none\",\n          overflow: \"hidden\",\n          inset: 0,\n          zIndex: 0,\n          width: `${ripple.size}px`,\n          height: `${ripple.size}px`,\n          ...style\n        },\n        transition: { duration },\n        onAnimationComplete: () => {\n          onClear(ripple.key);\n        },\n        ...motionProps\n      }\n    ) }) }, ripple.key);\n  }) });\n};\nRipple.displayName = \"HeroUI.Ripple\";\nvar ripple_default = Ripple;\n\n// ../ripple/src/use-ripple.ts\nvar import_shared_utils2 = require(\"@heroui/shared-utils\");\nvar import_react = require(\"react\");\nfunction useRipple(props = {}) {\n  const [ripples, setRipples] = (0, import_react.useState)([]);\n  const onPress = (0, import_react.useCallback)((event) => {\n    const trigger = event.target;\n    const size = Math.max(trigger.clientWidth, trigger.clientHeight);\n    setRipples((prevRipples) => [\n      ...prevRipples,\n      {\n        key: (0, import_shared_utils2.getUniqueID)(prevRipples.length.toString()),\n        size,\n        x: event.x - size / 2,\n        y: event.y - size / 2\n      }\n    ]);\n  }, []);\n  const onClear = (0, import_react.useCallback)((key) => {\n    setRipples((prevState) => prevState.filter((ripple) => ripple.key !== key));\n  }, []);\n  return { ripples, onClear, onPress, ...props };\n}\n\n// ../button/src/button.tsx\nvar import_system2 = require(\"@heroui/system\");\n\n// ../button/src/use-button.ts\nvar import_system = require(\"@heroui/system\");\nvar import_shared_utils3 = require(\"@heroui/shared-utils\");\nvar import_react4 = require(\"react\");\n\n// ../../../node_modules/.pnpm/@react-aria+utils@3.32.0_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/@react-aria/utils/dist/useId.mjs\nvar import_react2 = require(\"react\");\nvar $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== \"undefined\" && window.document && window.document.createElement);\nvar $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();\nvar $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== \"undefined\") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {\n  $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n  if (idA === idB) return idA;\n  let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n  if (setIdsA) {\n    setIdsA.forEach((ref) => ref.current = idB);\n    return idB;\n  }\n  let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n  if (setIdsB) {\n    setIdsB.forEach((ref) => ref.current = idA);\n    return idA;\n  }\n  return idB;\n}\n\n// ../../../node_modules/.pnpm/@react-aria+utils@3.32.0_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/@react-aria/utils/dist/chain.mjs\nfunction $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n  return (...args) => {\n    for (let callback of callbacks) if (typeof callback === \"function\") callback(...args);\n  };\n}\n\n// ../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs\nfunction r(e) {\n  var t, f, n = \"\";\n  if (\"string\" == typeof e || \"number\" == typeof e) n += e;\n  else if (\"object\" == typeof e) if (Array.isArray(e)) {\n    var o = e.length;\n    for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += \" \"), n += f);\n  } else for (f in e) e[f] && (n && (n += \" \"), n += f);\n  return n;\n}\nfunction clsx() {\n  for (var e, t, f = 0, n = \"\", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += \" \"), n += t);\n  return n;\n}\nvar clsx_default = clsx;\n\n// ../../../node_modules/.pnpm/@react-aria+utils@3.32.0_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/@react-aria/utils/dist/mergeProps.mjs\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n  let result = {\n    ...args[0]\n  };\n  for (let i = 1; i < args.length; i++) {\n    let props = args[i];\n    for (let key in props) {\n      let a = result[key];\n      let b = props[key];\n      if (typeof a === \"function\" && typeof b === \"function\" && // This is a lot faster than a regex.\n      key[0] === \"o\" && key[1] === \"n\" && key.charCodeAt(2) >= /* 'A' */\n      65 && key.charCodeAt(2) <= /* 'Z' */\n      90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n      else if ((key === \"className\" || key === \"UNSAFE_className\") && typeof a === \"string\" && typeof b === \"string\") result[key] = (0, clsx_default)(a, b);\n      else if (key === \"id\" && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n      else result[key] = b !== void 0 ? b : a;\n    }\n  }\n  return result;\n}\n\n// ../../../node_modules/.pnpm/@react-aria+utils@3.32.0_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/@react-aria/utils/dist/filterDOMProps.mjs\nvar $65484d02dcb7eb3e$var$DOMPropNames = /* @__PURE__ */ new Set([\n  \"id\"\n]);\nvar $65484d02dcb7eb3e$var$labelablePropNames = /* @__PURE__ */ new Set([\n  \"aria-label\",\n  \"aria-labelledby\",\n  \"aria-describedby\",\n  \"aria-details\"\n]);\nvar $65484d02dcb7eb3e$var$linkPropNames = /* @__PURE__ */ new Set([\n  \"href\",\n  \"hrefLang\",\n  \"target\",\n  \"rel\",\n  \"download\",\n  \"ping\",\n  \"referrerPolicy\"\n]);\nvar $65484d02dcb7eb3e$var$globalAttrs = /* @__PURE__ */ new Set([\n  \"dir\",\n  \"lang\",\n  \"hidden\",\n  \"inert\",\n  \"translate\"\n]);\nvar $65484d02dcb7eb3e$var$globalEvents = /* @__PURE__ */ new Set([\n  \"onClick\",\n  \"onAuxClick\",\n  \"onContextMenu\",\n  \"onDoubleClick\",\n  \"onMouseDown\",\n  \"onMouseEnter\",\n  \"onMouseLeave\",\n  \"onMouseMove\",\n  \"onMouseOut\",\n  \"onMouseOver\",\n  \"onMouseUp\",\n  \"onTouchCancel\",\n  \"onTouchEnd\",\n  \"onTouchMove\",\n  \"onTouchStart\",\n  \"onPointerDown\",\n  \"onPointerMove\",\n  \"onPointerUp\",\n  \"onPointerCancel\",\n  \"onPointerEnter\",\n  \"onPointerLeave\",\n  \"onPointerOver\",\n  \"onPointerOut\",\n  \"onGotPointerCapture\",\n  \"onLostPointerCapture\",\n  \"onScroll\",\n  \"onWheel\",\n  \"onAnimationStart\",\n  \"onAnimationEnd\",\n  \"onAnimationIteration\",\n  \"onTransitionCancel\",\n  \"onTransitionEnd\",\n  \"onTransitionRun\",\n  \"onTransitionStart\"\n]);\nvar $65484d02dcb7eb3e$var$propRe = /^(data-.*)$/;\nfunction $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, opts = {}) {\n  let { labelable, isLink, global, events = global, propNames } = opts;\n  let filteredProps = {};\n  for (const prop in props) if (Object.prototype.hasOwnProperty.call(props, prop) && ($65484d02dcb7eb3e$var$DOMPropNames.has(prop) || labelable && $65484d02dcb7eb3e$var$labelablePropNames.has(prop) || isLink && $65484d02dcb7eb3e$var$linkPropNames.has(prop) || global && $65484d02dcb7eb3e$var$globalAttrs.has(prop) || events && ($65484d02dcb7eb3e$var$globalEvents.has(prop) || prop.endsWith(\"Capture\") && $65484d02dcb7eb3e$var$globalEvents.has(prop.slice(0, -7))) || (propNames === null || propNames === void 0 ? void 0 : propNames.has(prop)) || $65484d02dcb7eb3e$var$propRe.test(prop))) filteredProps[prop] = props[prop];\n  return filteredProps;\n}\n\n// ../../../node_modules/.pnpm/@react-aria+focus@3.21.3_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/@react-aria/focus/dist/useFocusRing.mjs\nvar import_interactions = require(\"@react-aria/interactions\");\nvar import_react3 = require(\"react\");\nfunction $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {\n  let { autoFocus = false, isTextInput, within } = props;\n  let state = (0, import_react3.useRef)({\n    isFocused: false,\n    isFocusVisible: autoFocus || (0, import_interactions.isFocusVisible)()\n  });\n  let [isFocused, setFocused] = (0, import_react3.useState)(false);\n  let [isFocusVisibleState, setFocusVisible] = (0, import_react3.useState)(() => state.current.isFocused && state.current.isFocusVisible);\n  let updateState = (0, import_react3.useCallback)(() => setFocusVisible(state.current.isFocused && state.current.isFocusVisible), []);\n  let onFocusChange = (0, import_react3.useCallback)((isFocused2) => {\n    state.current.isFocused = isFocused2;\n    setFocused(isFocused2);\n    updateState();\n  }, [\n    updateState\n  ]);\n  (0, import_interactions.useFocusVisibleListener)((isFocusVisible) => {\n    state.current.isFocusVisible = isFocusVisible;\n    updateState();\n  }, [], {\n    isTextInput\n  });\n  let { focusProps } = (0, import_interactions.useFocus)({\n    isDisabled: within,\n    onFocusChange\n  });\n  let { focusWithinProps } = (0, import_interactions.useFocusWithin)({\n    isDisabled: !within,\n    onFocusWithinChange: onFocusChange\n  });\n  return {\n    isFocused,\n    isFocusVisible: isFocusVisibleState,\n    focusProps: within ? focusWithinProps : focusProps\n  };\n}\n\n// ../../../node_modules/.pnpm/@react-aria+focus@3.21.3_react-dom@18.3.0_react@18.3.0__react@18.3.0/node_modules/@react-aria/focus/dist/import.mjs\nvar import_interactions2 = require(\"@react-aria/interactions\");\n\n// ../button/src/use-button.ts\nvar import_react_utils2 = require(\"@heroui/react-utils\");\nvar import_theme = require(\"@heroui/theme\");\nvar import_react5 = require(\"react\");\n\n// ../../hooks/use-aria-button/src/index.ts\nvar import_interactions3 = require(\"@react-aria/interactions\");\nfunction useAriaButton(props, ref) {\n  let {\n    elementType = \"button\",\n    isDisabled,\n    onPress,\n    onPressStart,\n    onPressEnd,\n    onPressUp,\n    onPressChange,\n    // @ts-ignore - undocumented\n    preventFocusOnPress,\n    // @ts-ignore - undocumented\n    allowFocusWhenDisabled,\n    onClick,\n    href,\n    target,\n    rel,\n    type = \"button\",\n    allowTextSelectionOnPress\n  } = props;\n  let additionalProps;\n  if (elementType === \"button\") {\n    additionalProps = {\n      type,\n      disabled: isDisabled\n    };\n  } else {\n    additionalProps = {\n      role: \"button\",\n      href: elementType === \"a\" && !isDisabled ? href : void 0,\n      target: elementType === \"a\" ? target : void 0,\n      type: elementType === \"input\" ? type : void 0,\n      disabled: elementType === \"input\" ? isDisabled : void 0,\n      \"aria-disabled\": !isDisabled || elementType === \"input\" ? void 0 : isDisabled,\n      rel: elementType === \"a\" ? rel : void 0\n    };\n  }\n  let { pressProps, isPressed } = (0, import_interactions3.usePress)({\n    onClick,\n    onPressStart,\n    onPressEnd,\n    onPressUp,\n    onPressChange,\n    onPress,\n    isDisabled,\n    preventFocusOnPress,\n    allowTextSelectionOnPress,\n    ref\n  });\n  let { focusableProps } = (0, import_interactions2.useFocusable)(props, ref);\n  if (allowFocusWhenDisabled) {\n    focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n  }\n  let buttonProps = $3ef42575df84b30b$export$9d1611c77c2fe928(\n    focusableProps,\n    pressProps,\n    $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { labelable: true })\n  );\n  return {\n    isPressed,\n    // Used to indicate press state for visual\n    buttonProps: $3ef42575df84b30b$export$9d1611c77c2fe928(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      \"aria-current\": props[\"aria-current\"]\n    })\n  };\n}\n\n// ../button/src/use-button.ts\nvar import_interactions4 = require(\"@react-aria/interactions\");\n\n// ../button/src/button-group-context.ts\nvar import_react_utils = require(\"@heroui/react-utils\");\nvar [ButtonGroupProvider, useButtonGroupContext] = (0, import_react_utils.createContext)({\n  name: \"ButtonGroupContext\",\n  strict: false\n});\n\n// ../button/src/use-button.ts\nfunction useButton(props) {\n  var _a, _b, _c, _d, _e, _f, _g, _h, _i;\n  const groupContext = useButtonGroupContext();\n  const globalContext = (0, import_system.useProviderContext)();\n  const isInGroup = !!groupContext;\n  const {\n    ref,\n    as,\n    children,\n    startContent: startContentProp,\n    endContent: endContentProp,\n    autoFocus,\n    className,\n    spinner,\n    isLoading = false,\n    disableRipple: disableRippleProp = false,\n    fullWidth = (_a = groupContext == null ? void 0 : groupContext.fullWidth) != null ? _a : false,\n    radius = groupContext == null ? void 0 : groupContext.radius,\n    size = (_b = groupContext == null ? void 0 : groupContext.size) != null ? _b : \"md\",\n    color = (_c = groupContext == null ? void 0 : groupContext.color) != null ? _c : \"default\",\n    variant = (_d = groupContext == null ? void 0 : groupContext.variant) != null ? _d : \"solid\",\n    disableAnimation = (_f = (_e = groupContext == null ? void 0 : groupContext.disableAnimation) != null ? _e : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _f : false,\n    isDisabled: isDisabledProp = (_g = groupContext == null ? void 0 : groupContext.isDisabled) != null ? _g : false,\n    isIconOnly = (_h = groupContext == null ? void 0 : groupContext.isIconOnly) != null ? _h : false,\n    spinnerPlacement = \"start\",\n    onPress,\n    onClick,\n    ...otherProps\n  } = props;\n  const Component = as || \"button\";\n  const shouldFilterDOMProps = typeof Component === \"string\";\n  const domRef = (0, import_react_utils2.useDOMRef)(ref);\n  const disableRipple = (_i = disableRippleProp || (globalContext == null ? void 0 : globalContext.disableRipple)) != null ? _i : disableAnimation;\n  const { isFocusVisible, isFocused, focusProps } = $f7dceffc5ad7768b$export$4e328f61c538687f({\n    autoFocus\n  });\n  const isDisabled = isDisabledProp || isLoading;\n  const styles = (0, import_react5.useMemo)(\n    () => (0, import_theme.button)({\n      size,\n      color,\n      variant,\n      radius,\n      fullWidth,\n      isDisabled,\n      isInGroup,\n      disableAnimation,\n      isIconOnly,\n      className\n    }),\n    [\n      size,\n      color,\n      variant,\n      radius,\n      fullWidth,\n      isDisabled,\n      isInGroup,\n      isIconOnly,\n      disableAnimation,\n      className\n    ]\n  );\n  const { onPress: onRipplePressHandler, onClear: onClearRipple, ripples } = useRipple();\n  const handlePress = (0, import_react4.useCallback)(\n    (e) => {\n      if (disableRipple || isDisabled || disableAnimation) return;\n      domRef.current && onRipplePressHandler(e);\n    },\n    [disableRipple, isDisabled, disableAnimation, domRef, onRipplePressHandler]\n  );\n  const { buttonProps: ariaButtonProps, isPressed } = useAriaButton(\n    {\n      elementType: as,\n      isDisabled,\n      onPress: (0, import_shared_utils3.chain)(onPress, handlePress),\n      onClick,\n      ...otherProps\n    },\n    domRef\n  );\n  const { isHovered, hoverProps } = (0, import_interactions4.useHover)({ isDisabled });\n  const getButtonProps = (0, import_react4.useCallback)(\n    (props2 = {}) => ({\n      \"data-disabled\": (0, import_shared_utils3.dataAttr)(isDisabled),\n      \"data-focus\": (0, import_shared_utils3.dataAttr)(isFocused),\n      \"data-pressed\": (0, import_shared_utils3.dataAttr)(isPressed),\n      \"data-focus-visible\": (0, import_shared_utils3.dataAttr)(isFocusVisible),\n      \"data-hover\": (0, import_shared_utils3.dataAttr)(isHovered),\n      \"data-loading\": (0, import_shared_utils3.dataAttr)(isLoading),\n      ...(0, import_shared_utils3.mergeProps)(\n        ariaButtonProps,\n        focusProps,\n        hoverProps,\n        (0, import_react_utils2.filterDOMProps)(otherProps, {\n          enabled: shouldFilterDOMProps\n        }),\n        (0, import_react_utils2.filterDOMProps)(props2)\n      ),\n      className: styles\n    }),\n    [\n      isLoading,\n      isDisabled,\n      isFocused,\n      isPressed,\n      shouldFilterDOMProps,\n      isFocusVisible,\n      isHovered,\n      ariaButtonProps,\n      focusProps,\n      hoverProps,\n      otherProps,\n      styles\n    ]\n  );\n  const getIconClone = (icon) => (0, import_react5.isValidElement)(icon) ? (0, import_react5.cloneElement)(icon, {\n    // @ts-ignore\n    \"aria-hidden\": true,\n    focusable: false\n  }) : null;\n  const startContent = getIconClone(startContentProp);\n  const endContent = getIconClone(endContentProp);\n  const spinnerSize = (0, import_react5.useMemo)(() => {\n    const buttonSpinnerSizeMap = {\n      sm: \"sm\",\n      md: \"sm\",\n      lg: \"md\"\n    };\n    return buttonSpinnerSizeMap[size];\n  }, [size]);\n  const getRippleProps = (0, import_react4.useCallback)(\n    () => ({ ripples, onClear: onClearRipple }),\n    [ripples, onClearRipple]\n  );\n  return {\n    Component,\n    children,\n    domRef,\n    spinner,\n    styles,\n    startContent,\n    endContent,\n    isLoading,\n    spinnerPlacement,\n    spinnerSize,\n    disableRipple,\n    getButtonProps,\n    getRippleProps,\n    isIconOnly\n  };\n}\n\n// ../button/src/button.tsx\nvar import_jsx_runtime2 = require(\"react/jsx-runtime\");\nvar Button = (0, import_system2.forwardRef)((props, ref) => {\n  const {\n    Component,\n    domRef,\n    children,\n    spinnerSize,\n    spinner = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_spinner.Spinner, { color: \"current\", size: spinnerSize }),\n    spinnerPlacement,\n    startContent,\n    endContent,\n    isLoading,\n    disableRipple,\n    getButtonProps,\n    getRippleProps,\n    isIconOnly\n  } = useButton({ ...props, ref });\n  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Component, { ref: domRef, ...getButtonProps(), children: [\n    startContent,\n    isLoading && spinnerPlacement === \"start\" && spinner,\n    isLoading && isIconOnly ? null : children,\n    isLoading && spinnerPlacement === \"end\" && spinner,\n    endContent,\n    !disableRipple && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(ripple_default, { ...getRippleProps() })\n  ] });\n});\nButton.displayName = \"HeroUI.Button\";\nvar button_default = Button;\n\n// src/toast.tsx\nvar import_shared_icons = require(\"@heroui/shared-icons\");\nvar import_framer_motion3 = require(\"framer-motion\");\nvar import_react7 = require(\"react\");\nvar import_spinner2 = require(\"@heroui/spinner\");\n\n// src/use-toast.ts\nvar import_system3 = require(\"@heroui/system\");\nvar import_theme2 = require(\"@heroui/theme\");\nvar import_react_utils3 = require(\"@heroui/react-utils\");\nvar import_shared_utils4 = require(\"@heroui/shared-utils\");\nvar import_react6 = require(\"react\");\nvar import_toast = require(\"@react-aria/toast\");\nvar import_interactions5 = require(\"@react-aria/interactions\");\nvar import_use_is_mobile = require(\"@heroui/use-is-mobile\");\nvar SWIPE_THRESHOLD_X = 100;\nvar SWIPE_THRESHOLD_Y = 20;\nvar INITIAL_POSITION = 50;\nfunction useToast(originalProps) {\n  var _a, _b;\n  const [props, variantProps] = (0, import_system3.mapPropsVariants)(originalProps, import_theme2.toast.variantKeys);\n  const {\n    ref,\n    as,\n    title,\n    description,\n    className,\n    classNames,\n    toast,\n    endContent,\n    closeIcon,\n    hideIcon = false,\n    placement: placementProp = \"bottom-right\",\n    isRegionExpanded,\n    hideCloseButton = false,\n    state,\n    total = 1,\n    index = 0,\n    heights,\n    promise: promiseProp,\n    setHeights,\n    toastOffset = 0,\n    motionProps,\n    timeout = 6e3,\n    shouldShowTimeoutProgress = false,\n    icon,\n    onClose,\n    severity,\n    maxVisibleToasts,\n    loadingComponent,\n    isClosing = false,\n    ...otherProps\n  } = props;\n  const { isHovered: isToastHovered, hoverProps } = (0, import_interactions5.useHover)({\n    isDisabled: false\n  });\n  const globalContext = (0, import_system3.useProviderContext)();\n  const disableAnimation = (_b = (_a = originalProps == null ? void 0 : originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;\n  const isMobile = (0, import_use_is_mobile.useIsMobile)();\n  let placement = placementProp;\n  if (isMobile) {\n    if (placementProp.includes(\"top\")) {\n      placement = \"top-center\";\n    } else {\n      placement = \"bottom-center\";\n    }\n  }\n  const animationRef = (0, import_react6.useRef)(null);\n  const startTime = (0, import_react6.useRef)(null);\n  const progressRef = (0, import_react6.useRef)(0);\n  const progressBarRef = (0, import_react6.useRef)(null);\n  const pausedTime = (0, import_react6.useRef)(0);\n  const timeElapsed = (0, import_react6.useRef)(0);\n  (0, import_react6.useEffect)(() => {\n    if (progressBarRef.current) {\n      progressBarRef.current.style.width = \"0%\";\n    }\n  }, []);\n  const [isLoading, setIsLoading] = (0, import_react6.useState)(!!promiseProp);\n  const [isToastExiting, setIsToastExiting] = (0, import_react6.useState)(false);\n  const hasCalledOnCloseRef = (0, import_react6.useRef)(false);\n  (0, import_react6.useEffect)(() => {\n    if (!promiseProp) return;\n    promiseProp.finally(() => {\n      setIsLoading(false);\n    });\n  }, [promiseProp]);\n  (0, import_react6.useEffect)(() => {\n    if (isClosing && !isToastExiting) {\n      setIsToastExiting(true);\n    }\n  }, [isClosing, isToastExiting]);\n  (0, import_react6.useEffect)(() => {\n    if (isToastExiting && disableAnimation) {\n      state.close(toast.key);\n      if (!hasCalledOnCloseRef.current) {\n        hasCalledOnCloseRef.current = true;\n        onClose == null ? void 0 : onClose();\n      }\n    }\n  }, [isToastExiting, disableAnimation, state, toast.key, onClose]);\n  (0, import_react6.useEffect)(() => {\n    const updateProgress = (timestamp) => {\n      if (!timeout || isLoading) {\n        return;\n      }\n      if (startTime.current === null) {\n        startTime.current = timestamp;\n      }\n      if (isToastHovered || isRegionExpanded) {\n        pausedTime.current += timestamp - startTime.current;\n        startTime.current = null;\n        animationRef.current = requestAnimationFrame(updateProgress);\n        return;\n      }\n      const elapsed = timestamp - startTime.current + pausedTime.current;\n      timeElapsed.current = elapsed;\n      if (timeElapsed.current >= timeout) {\n        setIsToastExiting(true);\n      }\n      progressRef.current = Math.min(elapsed / timeout * 100, 100);\n      if (progressBarRef.current) {\n        progressBarRef.current.style.width = `${shouldShowTimeoutProgress ? progressRef.current : 0}%`;\n      }\n      if (progressRef.current < 100) {\n        animationRef.current = requestAnimationFrame(updateProgress);\n      }\n    };\n    animationRef.current = requestAnimationFrame(updateProgress);\n    return () => {\n      if (animationRef.current !== null) {\n        cancelAnimationFrame(animationRef.current);\n      }\n    };\n  }, [\n    timeout,\n    shouldShowTimeoutProgress,\n    state,\n    isToastHovered,\n    index,\n    total,\n    isRegionExpanded,\n    isLoading,\n    setIsToastExiting\n  ]);\n  const Component = as || \"div\";\n  const domRef = (0, import_react_utils3.useDOMRef)(ref);\n  const baseStyles = (0, import_theme2.cn)(className, classNames == null ? void 0 : classNames.base);\n  const { toastProps, contentProps, titleProps, descriptionProps } = (0, import_toast.useToast)(\n    props,\n    state,\n    domRef\n  );\n  const [mounted, setMounted] = (0, import_react6.useState)(false);\n  (0, import_react6.useEffect)(() => {\n    setMounted(true);\n  }, []);\n  const [initialHeight, setInitialHeight] = (0, import_react6.useState)(0);\n  (0, import_react6.useLayoutEffect)(() => {\n    if (!domRef.current || !mounted || isToastExiting) {\n      return;\n    }\n    const toastNode = domRef.current;\n    const originalHeight = toastNode.style.height;\n    toastNode.style.height = \"auto\";\n    const computedStyle = getComputedStyle(toastNode);\n    const marginTop = parseFloat(computedStyle.marginTop);\n    const marginBottom = parseFloat(computedStyle.marginBottom);\n    const newHeight = toastNode.getBoundingClientRect().height + marginTop + marginBottom;\n    toastNode.style.height = originalHeight;\n    setInitialHeight((prevHeight) => prevHeight !== newHeight ? newHeight : prevHeight);\n    const updatedHeights = [...heights];\n    if (updatedHeights.length > index) {\n      updatedHeights[index] = newHeight;\n    } else {\n      updatedHeights.push(newHeight);\n    }\n    setHeights(updatedHeights);\n  }, [mounted, total, setHeights, index, isToastExiting]);\n  let liftHeight = 4;\n  for (let idx = index + 1; idx < total; idx++) {\n    liftHeight += heights[idx] || 0;\n  }\n  const frontHeight = heights[heights.length - 1];\n  const slots = (0, import_react6.useMemo)(\n    () => (0, import_theme2.toast)({\n      ...variantProps,\n      disableAnimation\n    }),\n    [(0, import_shared_utils4.objectToDeps)(variantProps)]\n  );\n  const multiplier = placement.includes(\"top\") ? 1 : -1;\n  const toastVariants = {\n    hidden: { opacity: 0, y: -INITIAL_POSITION * multiplier },\n    visible: { opacity: 1, y: 0 },\n    exit: { opacity: 0, y: -INITIAL_POSITION * multiplier }\n  };\n  const [drag, setDrag] = (0, import_react6.useState)(false);\n  const [dragValue, setDragValue] = (0, import_react6.useState)(0);\n  const shouldCloseToast = (offsetX, offsetY) => {\n    const isRight = placement.includes(\"right\");\n    const isLeft = placement.includes(\"left\");\n    const isCenterTop = placement === \"top-center\";\n    const isCenterBottom = placement === \"bottom-center\";\n    if (isRight && offsetX >= SWIPE_THRESHOLD_X || isLeft && offsetX <= -SWIPE_THRESHOLD_X || isCenterTop && offsetY <= -SWIPE_THRESHOLD_Y || isCenterBottom && offsetY >= SWIPE_THRESHOLD_Y) {\n      return true;\n    }\n  };\n  const getDragElasticConstraints = (placement2) => {\n    const elasticConstraint = { top: 0, bottom: 0, right: 0, left: 0 };\n    if (placement2 === \"bottom-center\") {\n      elasticConstraint.bottom = 1;\n      return elasticConstraint;\n    }\n    if (placement2 === \"top-center\") {\n      elasticConstraint.top = 1;\n      return elasticConstraint;\n    }\n    if (placement2.includes(\"right\")) {\n      elasticConstraint.right = 1;\n      return elasticConstraint;\n    }\n    if (placement2.includes(\"left\")) {\n      elasticConstraint.left = 1;\n      return elasticConstraint;\n    }\n    elasticConstraint.left = 1;\n    elasticConstraint.right = 1;\n    return elasticConstraint;\n  };\n  let opacityValue = void 0;\n  if (drag && placement === \"bottom-center\" || placement === \"top-center\") {\n    opacityValue = Math.max(0, 1 - dragValue / (SWIPE_THRESHOLD_Y + 5));\n  } else if (drag) {\n    opacityValue = Math.max(0, 1 - dragValue / (SWIPE_THRESHOLD_X + 20));\n  }\n  const getToastProps = (0, import_react6.useCallback)(\n    (props2 = {}) => {\n      const topExtension = 16;\n      const bottomExtension = 16;\n      const pseudoElementStyles = {\n        \"--top-extension\": `${topExtension}px`,\n        \"--bottom-extension\": `${bottomExtension}px`\n      };\n      return {\n        ref: domRef,\n        className: slots.base({ class: (0, import_theme2.cn)(baseStyles, classNames == null ? void 0 : classNames.base) }),\n        \"data-has-title\": (0, import_shared_utils4.dataAttr)(!(0, import_shared_utils4.isEmpty)(title)),\n        \"data-has-description\": (0, import_shared_utils4.dataAttr)(!(0, import_shared_utils4.isEmpty)(description)),\n        \"data-placement\": placement,\n        \"data-drag-value\": dragValue,\n        \"data-toast\": true,\n        \"aria-label\": \"toast\",\n        \"data-toast-exiting\": (0, import_shared_utils4.dataAttr)(isToastExiting),\n        onTransitionEnd: disableAnimation ? void 0 : () => {\n          if (!isToastExiting) return;\n          state.close(toast.key);\n          if (!hasCalledOnCloseRef.current) {\n            hasCalledOnCloseRef.current = true;\n            onClose == null ? void 0 : onClose();\n          }\n        },\n        style: {\n          opacity: opacityValue,\n          ...pseudoElementStyles\n        },\n        ...(0, import_shared_utils4.mergeProps)(props2, otherProps, toastProps, hoverProps)\n      };\n    },\n    [\n      slots,\n      classNames,\n      toastProps,\n      hoverProps,\n      toast,\n      toast.key,\n      opacityValue,\n      isToastExiting,\n      state,\n      toast.key,\n      disableAnimation\n    ]\n  );\n  const getWrapperProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }),\n      ...props2\n    }),\n    []\n  );\n  const getIconProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      \"aria-label\": \"descriptionIcon\",\n      className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),\n      ...props2\n    }),\n    []\n  );\n  const getLoadingComponentProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.loadingComponent({ class: classNames == null ? void 0 : classNames.loadingComponent }),\n      \"aria-label\": \"loadingIcon\",\n      color: \"current\",\n      ...props2\n    }),\n    []\n  );\n  const getSpinnerComponentProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      classNames: { wrapper: slots.loadingComponent({ class: classNames == null ? void 0 : classNames.loadingComponent }) },\n      \"aria-label\": \"loadingIcon\",\n      color: \"current\",\n      ...props2\n    }),\n    []\n  );\n  const getContentProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.content({ class: classNames == null ? void 0 : classNames.content }),\n      ...(0, import_shared_utils4.mergeProps)(props2, otherProps, contentProps)\n    }),\n    [contentProps]\n  );\n  const getTitleProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.title({ class: classNames == null ? void 0 : classNames.title }),\n      ...(0, import_shared_utils4.mergeProps)(props2, otherProps, titleProps)\n    }),\n    [titleProps]\n  );\n  const getDescriptionProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.description({ class: classNames == null ? void 0 : classNames.description }),\n      ...(0, import_shared_utils4.mergeProps)(props2, otherProps, descriptionProps)\n    }),\n    [descriptionProps]\n  );\n  const getCloseButtonProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.closeButton({ class: classNames == null ? void 0 : classNames.closeButton }),\n      \"aria-label\": \"closeButton\",\n      \"data-hidden\": (0, import_shared_utils4.dataAttr)(hideCloseButton),\n      ...(0, import_shared_utils4.mergeProps)(props2, {\n        onPress: () => {\n          setIsToastExiting(true);\n          if (!hasCalledOnCloseRef.current) {\n            hasCalledOnCloseRef.current = true;\n            onClose == null ? void 0 : onClose();\n          }\n          setTimeout(() => document.body.focus(), 0);\n        }\n      })\n    }),\n    [setIsToastExiting, onClose]\n  );\n  const getCloseIconProps = (0, import_react6.useCallback)(\n    (props2 = {}) => ({\n      className: slots.closeIcon({ class: classNames == null ? void 0 : classNames.closeIcon }),\n      \"aria-label\": \"closeIcon\",\n      ...props2\n    }),\n    []\n  );\n  const getMotionDivProps = (0, import_react6.useCallback)(\n    (props2 = {}) => {\n      const comparingValue = isRegionExpanded ? maxVisibleToasts - 1 : Math.min(2, maxVisibleToasts - 1);\n      const isCloseToEnd = total - index - 1 <= comparingValue;\n      const dragDirection = placement === \"bottom-center\" || placement === \"top-center\" ? \"y\" : \"x\";\n      const dragConstraints = { left: 0, right: 0, top: 0, bottom: 0 };\n      const dragElastic = getDragElasticConstraints(placement);\n      const animateProps = (() => {\n        if (placement.includes(\"top\")) {\n          return {\n            top: isRegionExpanded || drag ? liftHeight + toastOffset : (total - 1 - index) * 8 + toastOffset,\n            bottom: \"auto\"\n          };\n        } else if (placement.includes(\"bottom\")) {\n          return {\n            bottom: isRegionExpanded || drag ? liftHeight + toastOffset : (total - 1 - index) * 8 + toastOffset,\n            top: \"auto\"\n          };\n        }\n        return {};\n      })();\n      return {\n        animate: {\n          opacity: isCloseToEnd ? 1 : 0,\n          pointerEvents: isCloseToEnd ? \"all\" : \"none\",\n          scaleX: isRegionExpanded || drag ? 1 : 1 - (total - 1 - index) * 0.1,\n          height: isRegionExpanded || drag ? initialHeight : frontHeight,\n          y: 0,\n          ...animateProps\n        },\n        drag: dragDirection,\n        dragConstraints,\n        exit: {\n          opacity: 0,\n          transition: { duration: 0.3 }\n        },\n        initial: { opacity: 0, scale: 1, y: -40 * multiplier },\n        transition: { duration: 0.3, ease: \"easeOut\" },\n        variants: toastVariants,\n        dragElastic,\n        onDragEnd: (_, info) => {\n          const { x: offsetX, y: offsetY } = info.offset;\n          setDrag(false);\n          if (shouldCloseToast(offsetX, offsetY)) {\n            setIsToastExiting(true);\n            return;\n          }\n          setDragValue(0);\n        },\n        onDrag: (_, info) => {\n          let updatedDragValue = 0;\n          if (placement === \"top-center\") {\n            updatedDragValue = -info.offset.y;\n          } else if (placement === \"bottom-center\") {\n            updatedDragValue = info.offset.y;\n          } else if (placement.includes(\"right\")) {\n            updatedDragValue = info.offset.x;\n          } else if (placement.includes(\"left\")) {\n            updatedDragValue = -info.offset.x;\n          }\n          if (updatedDragValue >= 0) {\n            setDragValue(updatedDragValue);\n          }\n        },\n        onDragStart: () => {\n          setDrag(true);\n        },\n        \"data-drag\": (0, import_shared_utils4.dataAttr)(drag),\n        \"data-placement\": placement,\n        \"data-drag-value\": dragValue,\n        className: slots.motionDiv({ class: classNames == null ? void 0 : classNames.motionDiv }),\n        ...props2,\n        ...motionProps\n      };\n    },\n    [\n      total,\n      index,\n      placement,\n      isRegionExpanded,\n      isToastExiting,\n      liftHeight,\n      multiplier,\n      initialHeight,\n      frontHeight,\n      toastVariants,\n      classNames,\n      drag,\n      import_shared_utils4.dataAttr,\n      setDrag,\n      shouldCloseToast,\n      slots,\n      toastOffset,\n      maxVisibleToasts\n    ]\n  );\n  return {\n    Component,\n    title,\n    description,\n    icon,\n    loadingComponent,\n    domRef,\n    severity,\n    closeIcon,\n    classNames,\n    color: variantProps[\"color\"],\n    hideIcon,\n    placement,\n    state,\n    toast,\n    disableAnimation,\n    isProgressBarVisible: !!timeout,\n    total,\n    index,\n    getWrapperProps,\n    getToastProps,\n    getTitleProps,\n    getContentProps,\n    getDescriptionProps,\n    getCloseButtonProps,\n    getIconProps,\n    getMotionDivProps,\n    getCloseIconProps,\n    getLoadingComponentProps,\n    getSpinnerComponentProps,\n    progressBarRef,\n    endContent,\n    slots,\n    isRegionExpanded,\n    liftHeight,\n    frontHeight,\n    initialHeight,\n    isLoading\n  };\n}\n\n// src/toast.tsx\nvar import_jsx_runtime3 = require(\"react/jsx-runtime\");\nvar iconMap = {\n  default: import_shared_icons.InfoFilledIcon,\n  primary: import_shared_icons.InfoFilledIcon,\n  secondary: import_shared_icons.InfoFilledIcon,\n  success: import_shared_icons.SuccessIcon,\n  warning: import_shared_icons.WarningIcon,\n  danger: import_shared_icons.DangerIcon\n};\nvar Toast = (0, import_system4.forwardRef)((props, ref) => {\n  const {\n    severity,\n    Component,\n    icon,\n    loadingComponent,\n    domRef,\n    endContent,\n    color,\n    hideIcon,\n    closeIcon,\n    disableAnimation,\n    progressBarRef,\n    classNames,\n    slots,\n    getWrapperProps,\n    isProgressBarVisible,\n    getToastProps,\n    getContentProps,\n    getTitleProps,\n    getDescriptionProps,\n    getCloseButtonProps,\n    getIconProps,\n    getMotionDivProps,\n    getCloseIconProps,\n    getLoadingComponentProps,\n    getSpinnerComponentProps,\n    isLoading\n  } = useToast({\n    ...props,\n    ref\n  });\n  const customIcon = typeof icon === \"function\" ? icon(getIconProps()) : (0, import_react7.isValidElement)(icon) && (0, import_react7.cloneElement)(icon, getIconProps());\n  const IconComponent = severity ? iconMap[severity] : iconMap[color] || iconMap.default;\n  const customLoadingComponent = loadingComponent && (0, import_react7.isValidElement)(loadingComponent) ? (0, import_react7.cloneElement)(loadingComponent, getLoadingComponentProps()) : null;\n  const loadingIconComponent = isLoading ? customLoadingComponent || /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_spinner2.Spinner, { ...getSpinnerComponentProps() }) : null;\n  const customCloseIcon = typeof closeIcon === \"function\" ? closeIcon({}) : (0, import_react7.isValidElement)(closeIcon) && (0, import_react7.cloneElement)(closeIcon, {});\n  const toastContent = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Component, { ref: domRef, ...getToastProps(), children: [\n    /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(\"div\", { ...getContentProps(), children: [\n      hideIcon && !isLoading ? null : loadingIconComponent || customIcon || /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(IconComponent, { ...getIconProps() }),\n      /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(\"div\", { ...getWrapperProps(), children: [\n        /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(\"div\", { ...getTitleProps(), children: props.toast.content.title }),\n        /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(\"div\", { ...getDescriptionProps(), children: props.toast.content.description })\n      ] })\n    ] }),\n    isProgressBarVisible && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(\"div\", { className: slots.progressTrack({ class: classNames == null ? void 0 : classNames.progressTrack }), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(\n      \"div\",\n      {\n        ref: progressBarRef,\n        className: slots.progressIndicator({ class: classNames == null ? void 0 : classNames.progressIndicator })\n      }\n    ) }),\n    /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(button_default, { isIconOnly: true, ...getCloseButtonProps(), children: customCloseIcon || /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_shared_icons.CloseIcon, { ...getCloseIconProps() }) }),\n    endContent\n  ] });\n  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: disableAnimation ? toastContent : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_framer_motion3.m.div, { ...getMotionDivProps(), children: toastContent }) });\n});\nToast.displayName = \"HeroUI.Toast\";\nvar toast_default = Toast;\n\n// src/toast-provider.tsx\nvar import_toast4 = require(\"@react-stately/toast\");\nvar import_system5 = require(\"@heroui/system\");\nvar import_framer_motion5 = require(\"framer-motion\");\n\n// src/toast-region.tsx\nvar import_react8 = require(\"react\");\nvar import_toast2 = require(\"@react-aria/toast\");\nvar import_interactions6 = require(\"@react-aria/interactions\");\nvar import_theme3 = require(\"@heroui/theme\");\nvar import_shared_utils5 = require(\"@heroui/shared-utils\");\nvar import_framer_motion4 = require(\"framer-motion\");\nvar import_jsx_runtime4 = require(\"react/jsx-runtime\");\nfunction ToastRegion({\n  toastQueue,\n  placement,\n  disableAnimation,\n  maxVisibleToasts,\n  toastOffset,\n  toastProps = {},\n  className,\n  classNames,\n  ...props\n}) {\n  var _a, _b;\n  const ref = (0, import_react8.useRef)(null);\n  const { regionProps } = (0, import_toast2.useToastRegion)(props, toastQueue, ref);\n  const { hoverProps, isHovered } = (0, import_interactions6.useHover)({\n    isDisabled: false\n  });\n  const [isTouched, setIsTouched] = (0, import_react8.useState)(false);\n  const slots = (0, import_react8.useMemo)(\n    () => (0, import_theme3.toastRegion)({\n      disableAnimation\n    }),\n    [disableAnimation]\n  );\n  const baseStyles = (0, import_theme3.cn)(classNames == null ? void 0 : classNames.base, className);\n  (0, import_react8.useEffect)(() => {\n    function handleTouchOutside(event) {\n      if (ref.current && !ref.current.contains(event.target)) {\n        setIsTouched(false);\n      }\n    }\n    document.addEventListener(\"touchstart\", handleTouchOutside);\n    return () => {\n      document.removeEventListener(\"touchstart\", handleTouchOutside);\n    };\n  }, []);\n  const [heights, setHeights] = (0, import_react8.useState)([]);\n  const total = (_b = (_a = toastQueue.visibleToasts) == null ? void 0 : _a.length) != null ? _b : 0;\n  const handleTouchStart = (0, import_react8.useCallback)(() => {\n    setIsTouched(true);\n  }, []);\n  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(\n    \"div\",\n    {\n      ...(0, import_shared_utils5.mergeProps)(regionProps, hoverProps),\n      ref,\n      className: slots.base({ class: baseStyles }),\n      \"data-placement\": placement,\n      onTouchStart: handleTouchStart,\n      children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_framer_motion4.AnimatePresence, { children: [...toastQueue.visibleToasts].reverse().map((toast, index) => {\n        if (disableAnimation && total - index > maxVisibleToasts) {\n          return null;\n        }\n        if (disableAnimation || total - index <= 4 || isHovered && total - index <= maxVisibleToasts + 1) {\n          const isClosing = isToastClosing(toast.key);\n          return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(\n            toast_default,\n            {\n              state: toastQueue,\n              toast,\n              ...(0, import_shared_utils5.mergeProps)(toastProps, toast.content, { isClosing }),\n              disableAnimation,\n              heights,\n              index,\n              isRegionExpanded: isHovered || isTouched,\n              maxVisibleToasts,\n              placement,\n              setHeights,\n              toastOffset,\n              total\n            },\n            toast.key\n          );\n        }\n        return null;\n      }) })\n    }\n  );\n}\n\n// src/toast-provider.tsx\nvar import_jsx_runtime5 = require(\"react/jsx-runtime\");\nvar loadFeatures = () => import(\"framer-motion\").then((res) => res.domMax);\nvar globalToastQueue = null;\nvar getToastQueue = () => {\n  if (!globalToastQueue) {\n    globalToastQueue = new import_toast4.ToastQueue({\n      maxVisibleToasts: Infinity\n    });\n  }\n  return globalToastQueue;\n};\nvar ToastProvider = ({\n  placement = \"bottom-right\",\n  disableAnimation: disableAnimationProp = false,\n  maxVisibleToasts = 3,\n  toastOffset = 0,\n  toastProps = {},\n  regionProps\n}) => {\n  var _a;\n  const toastQueue = (0, import_toast4.useToastQueue)(getToastQueue());\n  const globalContext = (0, import_system5.useProviderContext)();\n  const disableAnimation = (_a = disableAnimationProp != null ? disableAnimationProp : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _a : false;\n  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_framer_motion5.LazyMotion, { features: loadFeatures, children: toastQueue.visibleToasts.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(\n    ToastRegion,\n    {\n      disableAnimation,\n      maxVisibleToasts,\n      placement,\n      toastOffset,\n      toastProps,\n      toastQueue,\n      ...regionProps\n    }\n  ) });\n};\nvar addToast = ({ ...props }) => {\n  if (!globalToastQueue) {\n    return null;\n  }\n  return globalToastQueue.add(props);\n};\nvar closingToasts = /* @__PURE__ */ new Map();\nvar closeToast = (key) => {\n  if (!globalToastQueue) {\n    return;\n  }\n  if (closingToasts.has(key)) {\n    return;\n  }\n  const timeoutId = setTimeout(() => {\n    closingToasts.delete(key);\n    globalToastQueue == null ? void 0 : globalToastQueue.close(key);\n  }, 300);\n  closingToasts.set(key, timeoutId);\n};\nvar closeAll = () => {\n  if (!globalToastQueue) {\n    return;\n  }\n  const toasts = [...globalToastQueue.visibleToasts];\n  toasts.forEach((toast) => {\n    closeToast(toast.key);\n  });\n};\nvar isToastClosing = (key) => closingToasts.has(key);\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  Toast,\n  ToastProvider,\n  addToast,\n  closeAll,\n  closeToast,\n  getToastQueue,\n  isToastClosing,\n  useToast\n});\n"]}