motioncss-ui 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(j,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],x):(j=typeof globalThis<"u"?globalThis:j||self,x(j.MotionCSSUI={},j.React))})(this,(function(j,x){"use strict";var B={exports:{}},L={};/**
1
+ (function(C,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],b):(C=typeof globalThis<"u"?globalThis:C||self,b(C.MotionCSSUI={},C.React))})(this,(function(C,b){"use strict";var q={exports:{}},K={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var oe;function Ae(){if(oe)return L;oe=1;var v=x,s=Symbol.for("react.element"),d=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function R(p,i,w){var l,E={},g=null,C=null;w!==void 0&&(g=""+w),i.key!==void 0&&(g=""+i.key),i.ref!==void 0&&(C=i.ref);for(l in i)f.call(i,l)&&!y.hasOwnProperty(l)&&(E[l]=i[l]);if(p&&p.defaultProps)for(l in i=p.defaultProps,i)E[l]===void 0&&(E[l]=i[l]);return{$$typeof:s,type:p,key:g,ref:C,props:E,_owner:b.current}}return L.Fragment=d,L.jsx=R,L.jsxs=R,L}var W={};/**
9
+ */var ve;function Ve(){if(ve)return K;ve=1;var m=b,n=Symbol.for("react.element"),h=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(p,a,f){var s,g={},c=null,E=null;f!==void 0&&(c=""+f),a.key!==void 0&&(c=""+a.key),a.ref!==void 0&&(E=a.ref);for(s in a)i.call(a,s)&&!u.hasOwnProperty(s)&&(g[s]=a[s]);if(p&&p.defaultProps)for(s in a=p.defaultProps,a)g[s]===void 0&&(g[s]=a[s]);return{$$typeof:n,type:p,key:c,ref:E,props:g,_owner:l.current}}return K.Fragment=h,K.jsx=d,K.jsxs=d,K}var z={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,20 +14,30 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ie;function Ie(){return ie||(ie=1,process.env.NODE_ENV!=="production"&&(function(){var v=x,s=Symbol.for("react.element"),d=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),p=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),P=Symbol.iterator,D="@@iterator";function X(e){if(e===null||typeof e!="object")return null;var r=P&&e[P]||e[D];return typeof r=="function"?r:null}var F=v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function _(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];V("error",e,t)}}function V(e,r,t){{var n=F.ReactDebugCurrentFrame,u=n.getStackAddendum();u!==""&&(r+="%s",t=t.concat([u]));var c=t.map(function(o){return String(o)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var Ne=!1,Be=!1,Xe=!1,Je=!1,ze=!1,ce;ce=Symbol.for("react.module.reference");function Ge(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===y||ze||e===b||e===w||e===l||Je||e===C||Ne||Be||Xe||typeof e=="object"&&e!==null&&(e.$$typeof===g||e.$$typeof===E||e.$$typeof===R||e.$$typeof===p||e.$$typeof===i||e.$$typeof===ce||e.getModuleId!==void 0))}function Ke(e,r,t){var n=e.displayName;if(n)return n;var u=r.displayName||r.name||"";return u!==""?t+"("+u+")":t}function le(e){return e.displayName||"Context"}function A(e){if(e==null)return null;if(typeof e.tag=="number"&&_("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case d:return"Portal";case y:return"Profiler";case b:return"StrictMode";case w:return"Suspense";case l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p:var r=e;return le(r)+".Consumer";case R:var t=e;return le(t._context)+".Provider";case i:return Ke(e,e.render,"ForwardRef");case E:var n=e.displayName||null;return n!==null?n:A(e.type)||"Memo";case g:{var u=e,c=u._payload,o=u._init;try{return A(o(c))}catch{return null}}}return null}var I=Object.assign,U=0,fe,de,ve,pe,ge,me,ye;function he(){}he.__reactDisabledLog=!0;function He(){{if(U===0){fe=console.log,de=console.info,ve=console.warn,pe=console.error,ge=console.group,me=console.groupCollapsed,ye=console.groupEnd;var e={configurable:!0,enumerable:!0,value:he,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function qe(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:fe}),info:I({},e,{value:de}),warn:I({},e,{value:ve}),error:I({},e,{value:pe}),group:I({},e,{value:ge}),groupCollapsed:I({},e,{value:me}),groupEnd:I({},e,{value:ye})})}U<0&&_("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var q=F.ReactCurrentDispatcher,Z;function J(e,r,t){{if(Z===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);Z=n&&n[1]||""}return`
18
- `+Z+e}}var Q=!1,z;{var Ze=typeof WeakMap=="function"?WeakMap:Map;z=new Ze}function be(e,r){if(!e||Q)return"";{var t=z.get(e);if(t!==void 0)return t}var n;Q=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=q.current,q.current=null,He();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(S){n=S}Reflect.construct(e,[],o)}else{try{o.call()}catch(S){n=S}e.call(o.prototype)}}else{try{throw Error()}catch(S){n=S}e()}}catch(S){if(S&&n&&typeof S.stack=="string"){for(var a=S.stack.split(`
19
- `),T=n.stack.split(`
20
- `),m=a.length-1,h=T.length-1;m>=1&&h>=0&&a[m]!==T[h];)h--;for(;m>=1&&h>=0;m--,h--)if(a[m]!==T[h]){if(m!==1||h!==1)do if(m--,h--,h<0||a[m]!==T[h]){var O=`
21
- `+a[m].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&z.set(e,O),O}while(m>=1&&h>=0);break}}}finally{Q=!1,q.current=c,qe(),Error.prepareStackTrace=u}var M=e?e.displayName||e.name:"",Y=M?J(M):"";return typeof e=="function"&&z.set(e,Y),Y}function Qe(e,r,t){return be(e,!1)}function er(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function G(e,r,t){if(e==null)return"";if(typeof e=="function")return be(e,er(e));if(typeof e=="string")return J(e);switch(e){case w:return J("Suspense");case l:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case i:return Qe(e.render);case E:return G(e.type,r,t);case g:{var n=e,u=n._payload,c=n._init;try{return G(c(u),r,t)}catch{}}}return""}var N=Object.prototype.hasOwnProperty,Re={},Ee=F.ReactDebugCurrentFrame;function K(e){if(e){var r=e._owner,t=G(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function rr(e,r,t,n,u){{var c=Function.call.bind(N);for(var o in e)if(c(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var T=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){a=m}a&&!(a instanceof Error)&&(K(u),_("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),K(null)),a instanceof Error&&!(a.message in Re)&&(Re[a.message]=!0,K(u),_("Failed %s type: %s",t,a.message),K(null))}}}var tr=Array.isArray;function ee(e){return tr(e)}function nr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ar(e){try{return _e(e),!1}catch{return!0}}function _e(e){return""+e}function we(e){if(ar(e))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",nr(e)),_e(e)}var Te=F.ReactCurrentOwner,or={key:!0,ref:!0,__self:!0,__source:!0},xe,Se;function ir(e){if(N.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function sr(e){if(N.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ur(e,r){typeof e.ref=="string"&&Te.current}function cr(e,r){{var t=function(){xe||(xe=!0,_("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function lr(e,r){{var t=function(){Se||(Se=!0,_("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var fr=function(e,r,t,n,u,c,o){var a={$$typeof:s,type:e,key:r,ref:t,props:o,_owner:c};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function dr(e,r,t,n,u){{var c,o={},a=null,T=null;t!==void 0&&(we(t),a=""+t),sr(r)&&(we(r.key),a=""+r.key),ir(r)&&(T=r.ref,ur(r,u));for(c in r)N.call(r,c)&&!or.hasOwnProperty(c)&&(o[c]=r[c]);if(e&&e.defaultProps){var m=e.defaultProps;for(c in m)o[c]===void 0&&(o[c]=m[c])}if(a||T){var h=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&cr(o,h),T&&lr(o,h)}return fr(e,a,T,u,n,Te.current,o)}}var re=F.ReactCurrentOwner,Ce=F.ReactDebugCurrentFrame;function $(e){if(e){var r=e._owner,t=G(e.type,e._source,r?r.type:null);Ce.setExtraStackFrame(t)}else Ce.setExtraStackFrame(null)}var te;te=!1;function ne(e){return typeof e=="object"&&e!==null&&e.$$typeof===s}function Oe(){{if(re.current){var e=A(re.current.type);if(e)return`
17
+ */var pe;function Be(){return pe||(pe=1,process.env.NODE_ENV!=="production"&&(function(){var m=b,n=Symbol.for("react.element"),h=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),_=Symbol.iterator,S="@@iterator";function $(e){if(e===null||typeof e!="object")return null;var t=_&&e[_]||e[S];return typeof t=="function"?t:null}var j=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(e){{for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];M("error",e,r)}}function M(e,t,r){{var o=j.ReactDebugCurrentFrame,R=o.getStackAddendum();R!==""&&(t+="%s",r=r.concat([R]));var x=r.map(function(y){return String(y)});x.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,x)}}var I=!1,W=!1,D=!1,Y=!1,V=!1,X;X=Symbol.for("react.module.reference");function B(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===u||V||e===l||e===f||e===s||Y||e===E||I||W||D||typeof e=="object"&&e!==null&&(e.$$typeof===c||e.$$typeof===g||e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===X||e.getModuleId!==void 0))}function H(e,t,r){var o=e.displayName;if(o)return o;var R=t.displayName||t.name||"";return R!==""?r+"("+R+")":r}function me(e){return e.displayName||"Context"}function L(e){if(e==null)return null;if(typeof e.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case h:return"Portal";case u:return"Profiler";case l:return"StrictMode";case f:return"Suspense";case s:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p:var t=e;return me(t)+".Consumer";case d:var r=e;return me(r._context)+".Provider";case a:return H(e,e.render,"ForwardRef");case g:var o=e.displayName||null;return o!==null?o:L(e.type)||"Memo";case c:{var R=e,x=R._payload,y=R._init;try{return L(y(x))}catch{return null}}}return null}var N=Object.assign,Z=0,ge,Re,be,Ee,_e,xe,Se;function we(){}we.__reactDisabledLog=!0;function tt(){{if(Z===0){ge=console.log,Re=console.info,be=console.warn,Ee=console.error,_e=console.group,xe=console.groupCollapsed,Se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:we,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Z++}}function rt(){{if(Z--,Z===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:ge}),info:N({},e,{value:Re}),warn:N({},e,{value:be}),error:N({},e,{value:Ee}),group:N({},e,{value:_e}),groupCollapsed:N({},e,{value:xe}),groupEnd:N({},e,{value:Se})})}Z<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oe=j.ReactCurrentDispatcher,ie;function ee(e,t,r){{if(ie===void 0)try{throw Error()}catch(R){var o=R.stack.trim().match(/\n( *(at )?)/);ie=o&&o[1]||""}return`
18
+ `+ie+e}}var se=!1,te;{var nt=typeof WeakMap=="function"?WeakMap:Map;te=new nt}function Te(e,t){if(!e||se)return"";{var r=te.get(e);if(r!==void 0)return r}var o;se=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=oe.current,oe.current=null,tt();try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(k){o=k}Reflect.construct(e,[],y)}else{try{y.call()}catch(k){o=k}e.call(y.prototype)}}else{try{throw Error()}catch(k){o=k}e()}}catch(k){if(k&&o&&typeof k.stack=="string"){for(var v=k.stack.split(`
19
+ `),O=o.stack.split(`
20
+ `),T=v.length-1,P=O.length-1;T>=1&&P>=0&&v[T]!==O[P];)P--;for(;T>=1&&P>=0;T--,P--)if(v[T]!==O[P]){if(T!==1||P!==1)do if(T--,P--,P<0||v[T]!==O[P]){var A=`
21
+ `+v[T].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),typeof e=="function"&&te.set(e,A),A}while(T>=1&&P>=0);break}}}finally{se=!1,oe.current=x,rt(),Error.prepareStackTrace=R}var G=e?e.displayName||e.name:"",U=G?ee(G):"";return typeof e=="function"&&te.set(e,U),U}function at(e,t,r){return Te(e,!1)}function ot(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function re(e,t,r){if(e==null)return"";if(typeof e=="function")return Te(e,ot(e));if(typeof e=="string")return ee(e);switch(e){case f:return ee("Suspense");case s:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case a:return at(e.render);case g:return re(e.type,t,r);case c:{var o=e,R=o._payload,x=o._init;try{return re(x(R),t,r)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Pe={},je=j.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,r=re(e.type,e._source,t?t.type:null);je.setExtraStackFrame(r)}else je.setExtraStackFrame(null)}function it(e,t,r,o,R){{var x=Function.call.bind(Q);for(var y in e)if(x(e,y)){var v=void 0;try{if(typeof e[y]!="function"){var O=Error((o||"React class")+": "+r+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}v=e[y](t,y,o,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(T){v=T}v&&!(v instanceof Error)&&(ne(R),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",r,y,typeof v),ne(null)),v instanceof Error&&!(v.message in Pe)&&(Pe[v.message]=!0,ne(R),w("Failed %s type: %s",r,v.message),ne(null))}}}var st=Array.isArray;function ce(e){return st(e)}function ct(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,r=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r}}function ut(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return""+e}function Ce(e){if(ut(e))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ct(e)),Oe(e)}var ke=j.ReactCurrentOwner,lt={key:!0,ref:!0,__self:!0,__source:!0},Fe,$e;function ft(e){if(Q.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function dt(e){if(Q.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function vt(e,t){typeof e.ref=="string"&&ke.current}function pt(e,t){{var r=function(){Fe||(Fe=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}}function ht(e,t){{var r=function(){$e||($e=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}}var yt=function(e,t,r,o,R,x,y){var v={$$typeof:n,type:e,key:t,ref:r,props:y,_owner:x};return v._store={},Object.defineProperty(v._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(v,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(v,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(v.props),Object.freeze(v)),v};function mt(e,t,r,o,R){{var x,y={},v=null,O=null;r!==void 0&&(Ce(r),v=""+r),dt(t)&&(Ce(t.key),v=""+t.key),ft(t)&&(O=t.ref,vt(t,R));for(x in t)Q.call(t,x)&&!lt.hasOwnProperty(x)&&(y[x]=t[x]);if(e&&e.defaultProps){var T=e.defaultProps;for(x in T)y[x]===void 0&&(y[x]=T[x])}if(v||O){var P=typeof e=="function"?e.displayName||e.name||"Unknown":e;v&&pt(y,P),O&&ht(y,P)}return yt(e,v,O,R,o,ke.current,y)}}var ue=j.ReactCurrentOwner,Me=j.ReactDebugCurrentFrame;function J(e){if(e){var t=e._owner,r=re(e.type,e._source,t?t.type:null);Me.setExtraStackFrame(r)}else Me.setExtraStackFrame(null)}var le;le=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===n}function Ie(){{if(ue.current){var e=L(ue.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function vr(e){return""}var je={};function pr(e){{var r=Oe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
23
+ Check the render method of \``+e+"`."}return""}}function gt(e){return""}var Ae={};function Rt(e){{var t=Ie();if(!t){var r=typeof e=="string"?e:e.displayName||e.name;r&&(t=`
24
24
 
25
- Check the top-level render call using <`+t+">.")}return r}}function Pe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=pr(r);if(je[t])return;je[t]=!0;var n="";e&&e._owner&&e._owner!==re.current&&(n=" It was passed a child from "+A(e._owner.type)+"."),$(e),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),$(null)}}function ke(e,r){{if(typeof e!="object")return;if(ee(e))for(var t=0;t<e.length;t++){var n=e[t];ne(n)&&Pe(n,r)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var u=X(e);if(typeof u=="function"&&u!==e.entries)for(var c=u.call(e),o;!(o=c.next()).done;)ne(o.value)&&Pe(o.value,r)}}}function gr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===i||r.$$typeof===E))t=r.propTypes;else return;if(t){var n=A(r);rr(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!te){te=!0;var u=A(r);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",u||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function mr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){$(e),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),$(null);break}}e.ref!==null&&($(e),_("Invalid attribute `ref` supplied to `React.Fragment`."),$(null))}}var De={};function Fe(e,r,t,n,u,c){{var o=Ge(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=vr();T?a+=T:a+=Oe();var m;e===null?m="null":ee(e)?m="array":e!==void 0&&e.$$typeof===s?(m="<"+(A(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,a)}var h=dr(e,r,t,u,c);if(h==null)return h;if(o){var O=r.children;if(O!==void 0)if(n)if(ee(O)){for(var M=0;M<O.length;M++)ke(O[M],e);Object.freeze&&Object.freeze(O)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ke(O,e)}if(N.call(r,"key")){var Y=A(e),S=Object.keys(r).filter(function(_r){return _r!=="key"}),ae=S.length>0?"{key: someKey, "+S.join(": ..., ")+": ...}":"{key: someKey}";if(!De[Y+ae]){var Er=S.length>0?"{"+S.join(": ..., ")+": ...}":"{}";_(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+r+">.")}return t}}function De(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var r=Rt(t);if(Ae[r])return;Ae[r]=!0;var o="";e&&e._owner&&e._owner!==ue.current&&(o=" It was passed a child from "+L(e._owner.type)+"."),J(e),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,o),J(null)}}function Ye(e,t){{if(typeof e!="object")return;if(ce(e))for(var r=0;r<e.length;r++){var o=e[r];fe(o)&&De(o,t)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var R=$(e);if(typeof R=="function"&&R!==e.entries)for(var x=R.call(e),y;!(y=x.next()).done;)fe(y.value)&&De(y.value,t)}}}function bt(e){{var t=e.type;if(t==null||typeof t=="string")return;var r;if(typeof t=="function")r=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===a||t.$$typeof===g))r=t.propTypes;else return;if(r){var o=L(t);it(r,e.props,"prop",o,e)}else if(t.PropTypes!==void 0&&!le){le=!0;var R=L(t);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Et(e){{for(var t=Object.keys(e.props),r=0;r<t.length;r++){var o=t[r];if(o!=="children"&&o!=="key"){J(e),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),J(null);break}}e.ref!==null&&(J(e),w("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}var Le={};function We(e,t,r,o,R,x){{var y=B(e);if(!y){var v="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(v+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=gt();O?v+=O:v+=Ie();var T;e===null?T="null":ce(e)?T="array":e!==void 0&&e.$$typeof===n?(T="<"+(L(e.type)||"Unknown")+" />",v=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,v)}var P=mt(e,t,r,R,x);if(P==null)return P;if(y){var A=t.children;if(A!==void 0)if(o)if(ce(A)){for(var G=0;G<A.length;G++)Ye(A[G],e);Object.freeze&&Object.freeze(A)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ye(A,e)}if(Q.call(t,"key")){var U=L(e),k=Object.keys(t).filter(function(Pt){return Pt!=="key"}),de=k.length>0?"{key: someKey, "+k.join(": ..., ")+": ...}":"{key: someKey}";if(!Le[U+de]){var Tt=k.length>0?"{"+k.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,ae,Y,Er,Y),De[Y+ae]=!0}}return e===f?mr(h):gr(h),h}}function yr(e,r,t){return Fe(e,r,t,!0)}function hr(e,r,t){return Fe(e,r,t,!1)}var br=hr,Rr=yr;W.Fragment=f,W.jsx=br,W.jsxs=Rr})()),W}var se;function Ye(){return se||(se=1,process.env.NODE_ENV==="production"?B.exports=Ae():B.exports=Ie()),B.exports}var k=Ye();function $e({children:v,strength:s=.3,speed:d=.25,scale:f=1,className:b=""}){const y=x.useRef(null),R=i=>{const w=y.current;if(!w)return;const l=w.getBoundingClientRect(),E=i.clientX-(l.left+l.width/2),g=i.clientY-(l.top+l.height/2);w.style.transform=`
31
- translate(${E*s}px, ${g*s}px)
32
- scale(${f})
33
- `},p=()=>{const i=y.current;i&&(i.style.transform="translate(0, 0) scale(1)")};return k.jsx("div",{ref:y,className:b,onMouseMove:R,onMouseLeave:p,style:{display:"inline-block",transition:`transform ${d}s ease-out`,willChange:"transform"},children:v})}function H(){const[v,s]=x.useState(!1);return x.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const d=window.matchMedia("(prefers-reduced-motion: reduce)");s(d.matches);const f=b=>s(b.matches);return d.addEventListener("change",f),()=>d.removeEventListener("change",f)},[]),v}function Me({children:v,tilt:s=15,scale:d=1.03,glare:f=!0,perspective:b=1e3,className:y="",style:R}){const p=x.useRef(null),i=x.useRef(null),w=H(),l=g=>{const C=p.current;if(!C||w)return;const P=C.getBoundingClientRect(),D=(g.clientX-P.left)/P.width,X=(g.clientY-P.top)/P.height,F=(D-.5)*2*s,_=(.5-X)*2*s;C.style.transition="transform 0.08s linear",C.style.transform=`perspective(${b}px) rotateX(${_}deg) rotateY(${F}deg) scale(${d})`;const V=i.current;V&&(V.style.opacity="1",V.style.background=`radial-gradient(circle at ${D*100}% ${X*100}%, rgba(255,255,255,0.35), transparent 55%)`)},E=()=>{const g=p.current;g&&(g.style.transition="transform 0.4s ease-out",g.style.transform=`perspective(${b}px) rotateX(0deg) rotateY(0deg) scale(1)`,i.current&&(i.current.style.opacity="0"))};return k.jsxs("div",{ref:p,className:y,onMouseMove:l,onMouseLeave:E,style:{position:"relative",transformStyle:"preserve-3d",willChange:"transform",...R},children:[v,f&&k.jsx("div",{ref:i,"aria-hidden":"true",style:{position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease-out"}})]})}function ue({threshold:v=.2,rootMargin:s="0px",once:d=!0}={}){const f=x.useRef(null),[b,y]=x.useState(!1);return x.useEffect(()=>{const R=f.current;if(!R)return;if(typeof IntersectionObserver>"u"){y(!0);return}const p=new IntersectionObserver(([i])=>{i.isIntersecting?(y(!0),d&&p.disconnect()):d||y(!1)},{threshold:v,rootMargin:s});return p.observe(R),()=>p.disconnect()},[v,s,d]),{ref:f,inView:b}}function Le({children:v,stagger:s=70,duration:d=700,delay:f=0,once:b=!0,as:y="div",className:R="",style:p}){const{ref:i,inView:w}=ue({once:b}),l=H(),E=y,g=v.split(/\s+/).filter(Boolean),C=w||l;return k.jsx(E,{ref:i,className:R,style:p,"aria-label":v,children:g.map((P,D)=>k.jsx("span",{"aria-hidden":"true",style:{display:"inline-block",overflow:"hidden",verticalAlign:"top",paddingBottom:"0.15em",marginRight:"0.25em"},children:k.jsx("span",{style:{display:"inline-block",transform:C?"translateY(0)":"translateY(110%)",opacity:C?1:0,transition:l?"none":`transform ${d}ms cubic-bezier(0.22, 1, 0.36, 1) ${f+D*s}ms, opacity ${d}ms ease ${f+D*s}ms`},children:P})},D))})}function We(v,s){switch(v){case"fade-up":return`translateY(${s}px)`;case"fade-down":return`translateY(${-s}px)`;case"fade-left":return`translateX(${s}px)`;case"fade-right":return`translateX(${-s}px)`;case"zoom":return"scale(0.92)";default:return"none"}}function Ve({children:v,animation:s="fade-up",duration:d=700,delay:f=0,distance:b=32,threshold:y=.2,once:R=!0,className:p="",style:i}){const{ref:w,inView:l}=ue({threshold:y,once:R}),E=H(),g=l||E;return k.jsx("div",{ref:w,className:p,style:{opacity:g?1:0,transform:g?"none":We(s,b),transition:E?"none":`opacity ${d}ms ease ${f}ms, transform ${d}ms cubic-bezier(0.22, 1, 0.36, 1) ${f}ms`,willChange:"opacity, transform",...i},children:v})}function Ue({children:v,colors:s=["#6366f1","#ec4899","#f59e0b","#06b6d4"],angle:d=120,duration:f=12,className:b="",style:y}){const R=[...s,s[0]].join(", ");return k.jsx("div",{className:`mcss-gradient-flow ${b}`.trim(),style:{backgroundImage:`linear-gradient(${d}deg, ${R})`,animationDuration:`${f}s`,...y},children:v})}j.GradientFlow=Ue,j.Magnetic=$e,j.RevealText=Le,j.ScrollReveal=Ve,j.TiltCard=Me,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})}));
30
+ <%s key={someKey} {...props} />`,de,U,Tt,U),Le[U+de]=!0}}return e===i?Et(P):bt(P),P}}function _t(e,t,r){return We(e,t,r,!0)}function xt(e,t,r){return We(e,t,r,!1)}var St=xt,wt=_t;z.Fragment=i,z.jsx=St,z.jsxs=wt})()),z}var he;function Ne(){return he||(he=1,process.env.NODE_ENV==="production"?q.exports=Ve():q.exports=Be()),q.exports}var F=Ne();function Ue({children:m,strength:n=.3,speed:h=.25,scale:i=1,className:l=""}){const u=b.useRef(null),d=a=>{const f=u.current;if(!f)return;const s=f.getBoundingClientRect(),g=a.clientX-(s.left+s.width/2),c=a.clientY-(s.top+s.height/2);f.style.transform=`
31
+ translate(${g*n}px, ${c*n}px)
32
+ scale(${i})
33
+ `},p=()=>{const a=u.current;a&&(a.style.transform="translate(0, 0) scale(1)")};return F.jsx("div",{ref:u,className:l,onMouseMove:d,onMouseLeave:p,style:{display:"inline-block",transition:`transform ${h}s ease-out`,willChange:"transform"},children:m})}function ae(){const[m,n]=b.useState(!1);return b.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const h=window.matchMedia("(prefers-reduced-motion: reduce)");n(h.matches);const i=l=>n(l.matches);return h.addEventListener("change",i),()=>h.removeEventListener("change",i)},[]),m}function Xe({children:m,tilt:n=15,scale:h=1.03,glare:i=!0,perspective:l=1e3,className:u="",style:d}){const p=b.useRef(null),a=b.useRef(null),f=ae(),s=c=>{const E=p.current;if(!E||f)return;const _=E.getBoundingClientRect(),S=(c.clientX-_.left)/_.width,$=(c.clientY-_.top)/_.height,j=(S-.5)*2*n,w=(.5-$)*2*n;E.style.transition="transform 0.08s linear",E.style.transform=`perspective(${l}px) rotateX(${w}deg) rotateY(${j}deg) scale(${h})`;const M=a.current;M&&(M.style.opacity="1",M.style.background=`radial-gradient(circle at ${S*100}% ${$*100}%, rgba(255,255,255,0.35), transparent 55%)`)},g=()=>{const c=p.current;c&&(c.style.transition="transform 0.4s ease-out",c.style.transform=`perspective(${l}px) rotateX(0deg) rotateY(0deg) scale(1)`,a.current&&(a.current.style.opacity="0"))};return F.jsxs("div",{ref:p,className:u,onMouseMove:s,onMouseLeave:g,style:{position:"relative",transformStyle:"preserve-3d",willChange:"transform",...d},children:[m,i&&F.jsx("div",{ref:a,"aria-hidden":"true",style:{position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",opacity:0,transition:"opacity 0.3s ease-out"}})]})}const Je={radial:{opacity:1,blurScale:1,gradient:"radial"},glow:{opacity:.9,blurScale:1.5,gradient:"radial"},soft:{opacity:.7,blurScale:2,gradient:"radial"},sharp:{opacity:1,blurScale:.3,gradient:"radial"},neon:{opacity:1,blurScale:1.2,gradient:"radial"}};function Ge({children:m,size:n=320,intensity:h=.85,color:i="#ffffff",blur:l=60,mode:u="radial",enabled:d=!0,className:p="",style:a}){const f=b.useRef(null),s=b.useRef(null),g=b.useRef(!1),c=Je[u],E=b.useCallback((_,S)=>(n/2*c.blurScale,l*c.blurScale,u==="neon"?`radial-gradient(${n*c.blurScale}px circle at ${_}px ${S}px,
34
+ ${i}33 0%,
35
+ ${i}22 25%,
36
+ ${i}11 50%,
37
+ transparent 75%)`:u==="sharp"?`radial-gradient(${n*.4}px circle at ${_}px ${S}px,
38
+ ${i}dd 0%,
39
+ ${i}99 30%,
40
+ transparent 100%)`:`radial-gradient(${n*c.blurScale}px circle at ${_}px ${S}px,
41
+ ${i}${Math.round(h*255).toString(16).padStart(2,"0")} 0%,
42
+ ${i}${Math.round(h*.5*255).toString(16).padStart(2,"0")} 40%,
43
+ transparent 100%)`),[n,h,i,l,u,c]);return b.useEffect(()=>{if(!d)return;const _=f.current,S=s.current;if(!_||!S)return;const $=M=>{const I=_.getBoundingClientRect(),W=M.clientX-I.left,D=M.clientY-I.top;S.style.background=E(W,D),S.style.opacity=String(c.opacity)},j=()=>{g.current=!0,S.style.transition="opacity 300ms ease",S.style.opacity=String(c.opacity)},w=()=>{g.current=!1,S.style.transition="opacity 600ms ease",S.style.opacity="0"};return _.addEventListener("mousemove",$),_.addEventListener("mouseenter",j),_.addEventListener("mouseleave",w),()=>{_.removeEventListener("mousemove",$),_.removeEventListener("mouseenter",j),_.removeEventListener("mouseleave",w)}},[d,E,c]),F.jsxs("div",{ref:f,className:`motioncss-spotlight ${p}`,style:{position:"relative",overflow:"hidden",...a},children:[m,F.jsx("div",{ref:s,"aria-hidden":"true",style:{position:"absolute",inset:0,pointerEvents:"none",opacity:0,zIndex:10,filter:l>0?`blur(${l*.15}px)`:void 0,mixBlendMode:u==="neon"?"screen":"normal"}})]})}function ye({threshold:m=.2,rootMargin:n="0px",once:h=!0}={}){const i=b.useRef(null),[l,u]=b.useState(!1);return b.useEffect(()=>{const d=i.current;if(!d)return;if(typeof IntersectionObserver>"u"){u(!0);return}const p=new IntersectionObserver(([a])=>{a.isIntersecting?(u(!0),h&&p.disconnect()):h||u(!1)},{threshold:m,rootMargin:n});return p.observe(d),()=>p.disconnect()},[m,n,h]),{ref:i,inView:l}}function Ke({children:m,stagger:n=70,duration:h=700,delay:i=0,once:l=!0,as:u="div",className:d="",style:p}){const{ref:a,inView:f}=ye({once:l}),s=ae(),g=u,c=m.split(/\s+/).filter(Boolean),E=f||s;return F.jsx(g,{ref:a,className:d,style:p,"aria-label":m,children:c.map((_,S)=>F.jsx("span",{"aria-hidden":"true",style:{display:"inline-block",overflow:"hidden",verticalAlign:"top",paddingBottom:"0.15em",marginRight:"0.25em"},children:F.jsx("span",{style:{display:"inline-block",transform:E?"translateY(0)":"translateY(110%)",opacity:E?1:0,transition:s?"none":`transform ${h}ms cubic-bezier(0.22, 1, 0.36, 1) ${i+S*n}ms, opacity ${h}ms ease ${i+S*n}ms`},children:_})},S))})}function ze(m,n){switch(m){case"fade-up":return`translateY(${n}px)`;case"fade-down":return`translateY(${-n}px)`;case"fade-left":return`translateX(${n}px)`;case"fade-right":return`translateX(${-n}px)`;case"zoom":return"scale(0.92)";default:return"none"}}function He({children:m,animation:n="fade-up",duration:h=700,delay:i=0,distance:l=32,threshold:u=.2,once:d=!0,className:p="",style:a}){const{ref:f,inView:s}=ye({threshold:u,once:d}),g=ae(),c=s||g;return F.jsx("div",{ref:f,className:p,style:{opacity:c?1:0,transform:c?"none":ze(n,l),transition:g?"none":`opacity ${h}ms ease ${i}ms, transform ${h}ms cubic-bezier(0.22, 1, 0.36, 1) ${i}ms`,willChange:"opacity, transform",...a},children:m})}function Ze({children:m,colors:n=["#6366f1","#ec4899","#f59e0b","#06b6d4"],angle:h=120,duration:i=12,className:l="",style:u}){const d=[...n,n[0]].join(", ");return F.jsx("div",{className:`mcss-gradient-flow ${l}`.trim(),style:{backgroundImage:`linear-gradient(${h}deg, ${d})`,animationDuration:`${i}s`,...u},children:m})}function Qe(m,n,h,i){const l=[],u=h;if(m==="left"||m==="right"){const d=m==="left",p=d?n*100:100-n*100,a=d?p-100:p+100;l.push(`${a}% 0%`),l.push(`${a}% 100%`);for(let f=i;f>=0;f--){const s=f/i,g=s*100,c=Math.sin(s*Math.PI)*u,E=p+(d?c:-c);l.push(`${E}% ${g}%`)}}else{const d=m==="top",p=d?n*100:100-n*100,a=d?p-100:p+100;l.push(`0% ${a}%`),l.push(`100% ${a}%`);for(let f=i;f>=0;f--){const s=f/i,g=s*100,c=Math.sin(s*Math.PI)*u,E=p+(d?c:-c);l.push(`${g}% ${E}%`)}}return`polygon(${l.join(", ")})`}function qe({origin:m="left",duration:n=900,color:h="#111111",curve:i=8,resolution:l=20,blur:u=0,onComplete:d,style:p}){const a=b.useRef(null),f=b.useRef(null),s=b.useRef(null);return b.useEffect(()=>{const g=a.current;if(!g)return;const c=E=>{s.current||(s.current=E);const _=E-s.current,S=Math.min(_/n,1)*2;g.style.clipPath=Qe(m,S,i,l),S<2?f.current=requestAnimationFrame(c):(g.style.clipPath="polygon(200% 0%, 200% 100%, 100% 100%, 100% 0%)",d==null||d())};return f.current=requestAnimationFrame(c),()=>{f.current&&cancelAnimationFrame(f.current)}},[m,n,i,l,d]),F.jsx("div",{ref:a,"aria-hidden":"true",style:{position:"fixed",inset:0,zIndex:9999,pointerEvents:"none",background:h,backdropFilter:u>0?`blur(${u}px)`:void 0,WebkitBackdropFilter:u>0?`blur(${u}px)`:void 0,...p}})}function et({children:m,origin:n="left",duration:h=900,color:i="#111111",curve:l=8,blur:u=0,className:d="",style:p}){const a=b.useRef(null),f=b.useRef(null),s=b.useRef(null),[g,c]=b.useState(!1);return b.useEffect(()=>{const E=a.current;if(!E)return;const _=S=>{s.current||(s.current=S);const $=Math.min((S-s.current)/h,1),j=[],w=l,M=20;if(n==="left"||n==="right"){const I=n==="left",W=I?$*100:100-$*100,D=I?150:-50;for(let Y=0;Y<=M;Y++){const V=Y/M,X=V*100,B=Math.sin(V*Math.PI)*w,H=W+(I?B:-B);j.push(`${H}% ${X}%`)}j.push(`${D}% 100%`),j.push(`${D}% 0%`)}else{const I=n==="top",W=I?$*100:100-$*100,D=I?150:-50;for(let Y=0;Y<=M;Y++){const V=Y/M,X=V*100,B=Math.sin(V*Math.PI)*w,H=W+(I?B:-B);j.push(`${X}% ${H}%`)}j.push(`100% ${D}%`),j.push(`0% ${D}%`)}E.style.clipPath=`polygon(${j.join(", ")})`,$<1?f.current=requestAnimationFrame(_):(E.style.clipPath="none",E.style.display="none",c(!0))};return f.current=requestAnimationFrame(_),()=>{f.current&&cancelAnimationFrame(f.current)}},[n,h,i,l]),F.jsxs("div",{className:`motioncss-wave-reveal ${d}`,style:{position:"relative",overflow:"hidden",...p},children:[m,!g&&F.jsx("div",{ref:a,"aria-hidden":"true",style:{position:"absolute",inset:0,background:i,backdropFilter:u>0?`blur(${u}px)`:void 0,WebkitBackdropFilter:u>0?`blur(${u}px)`:void 0,zIndex:10,pointerEvents:"none"}})]})}C.EdgeWave=qe,C.GradientFlow=Ze,C.Magnetic=Ue,C.RevealText=Ke,C.ScrollReveal=He,C.Spotlight=Ge,C.TiltCard=Xe,C.WaveReveal=et,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "motioncss-ui",
3
- "version": "0.1.2",
4
- "description": "Modern React motion and CSS effects.",
3
+ "version": "0.1.4",
4
+ "description": "Zero-dependency React motion components: Magnetic, TiltCard, Spotlight, ScrollReveal, GradientFlow, EdgeWave.",
5
5
  "type": "module",
6
- "main": "./dist/motioncss-ui.umd.js",
6
+ "main": "./dist/motioncss-ui.umd.cjs",
7
7
  "module": "./dist/motioncss-ui.js",
8
+ "types": "./dist/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
11
  "import": "./dist/motioncss-ui.js",
11
- "require": "./dist/motioncss-ui.umd.js"
12
+ "require": "./dist/motioncss-ui.umd.cjs"
12
13
  }
13
14
  },
14
15
  "files": [
@@ -28,6 +29,11 @@
28
29
  "motion",
29
30
  "hover",
30
31
  "magnetic",
32
+ "tilt",
33
+ "spotlight",
34
+ "scroll-reveal",
35
+ "gradient",
36
+ "wave",
31
37
  "frontend"
32
38
  ],
33
39
  "author": "Roshan Jadhav",
@@ -44,6 +50,6 @@
44
50
  "vite": "^6.3.5"
45
51
  },
46
52
  "dependencies": {
47
- "motioncss-ui": "^0.1.2"
53
+ "motioncss-ui": "^0.1.4"
48
54
  }
49
55
  }