"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
var _chunk5KRCPBZRcjs = require('./chunk-5KRCPBZR.cjs');var _react = require('react');var _reacttransitiongroup = require('react-transition-group');var _jsxruntime = require('react/jsx-runtime');var w={entered:{opacity:1},entering:{opacity:1}},d=_react.forwardRef.call(void 0, ({addEndListener:p,appear:s=!0,children:e,easing:f,in:n,onEnter:l,onEntered:m,onEntering:y,onExit:E,onExited:c,onExiting:u,style:t,timeout:o,...x},R)=>{let{defaultTimeout:T,handleOnEnter:i,handleRef:F,nodeRef:g}=_chunk5KRCPBZRcjs.l.call(void 0, {children:e,easing:f,onEnter:l,onExit:E,ref:R,style:t,timeout:o,type:"opacity"});return _jsxruntime.jsx.call(void 0, _reacttransitiongroup.Transition,{addEndListener:p,appear:s,in:n,nodeRef:g,onEnter:i("enter"),onEntered:m,onEntering:y,onExit:i("exit"),onExited:c,onExiting:u,timeout:o||T,...x,children:r=>_react.cloneElement.call(void 0, e,{ref:F,style:{opacity:0,visibility:r==="exited"&&!n?"hidden":void 0,...w[r],...t,...e.props.style}})})});d.displayName="Fade";var O=d;exports.a = O;
