prometeo-design-system 1.0.8 → 1.0.9

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(D,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("react"),require("clsx"),require("tailwind-merge"),require("framer-motion"),require("use-debounce"),require("boring-avatars"),require("@gsap/react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","clsx","tailwind-merge","framer-motion","use-debounce","boring-avatars","@gsap/react","react-router-dom"],V):(D=typeof globalThis<"u"?globalThis:D||self,V(D.PrometeoDesignSystem={},D.React,D.clsx,D.tailwindMerge,D.FramerMotion,D.useDebounce,D.BoringAvatars,D.GSAPReact,D.ReactRouterDOM))})(this,(function(D,V,ln,un,R,fn,hn,cn,dn){"use strict";var Oe={exports:{}},he={};/**
1
+ (function(A,L){typeof exports=="object"&&typeof module<"u"?L(exports,require("react"),require("clsx"),require("tailwind-merge"),require("framer-motion"),require("use-debounce"),require("boring-avatars"),require("react-router-dom"),require("@gsap/react")):typeof define=="function"&&define.amd?define(["exports","react","clsx","tailwind-merge","framer-motion","use-debounce","boring-avatars","react-router-dom","@gsap/react"],L):(A=typeof globalThis<"u"?globalThis:A||self,L(A.PrometeoDesignSystem={},A.React,A.clsx,A.tailwindMerge,A.FramerMotion,A.useDebounce,A.BoringAvatars,A.ReactRouterDOM,A.GSAPReact))})(this,(function(A,L,yi,bi,R,wi,Xr,Ti,ji){"use strict";function Oi(i){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const t in i)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(i,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>i[t]})}}return e.default=i,Object.freeze(e)}const Y=Oi(L);var At={exports:{}},mt={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.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 Dr;function _n(){if(Dr)return he;Dr=1;var a=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function e(r,i,n){var s=null;if(n!==void 0&&(s=""+n),i.key!==void 0&&(s=""+i.key),"key"in i){n={};for(var o in i)o!=="key"&&(n[o]=i[o])}else n=i;return i=n.ref,{$$typeof:a,type:r,key:s,ref:i!==void 0?i:null,props:n}}return he.Fragment=t,he.jsx=e,he.jsxs=e,he}var ce={};/**
9
+ */var Gr;function qi(){if(Gr)return mt;Gr=1;var i=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(r,n,s){var a=null;if(s!==void 0&&(a=""+s),n.key!==void 0&&(a=""+n.key),"key"in n){s={};for(var o in n)o!=="key"&&(s[o]=n[o])}else s=n;return n=s.ref,{$$typeof:i,type:r,key:a,ref:n!==void 0?n:null,props:s}}return mt.Fragment=e,mt.jsx=t,mt.jsxs=t,mt}var _t={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,24 +14,36 @@
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 Ir;function pn(){return Ir||(Ir=1,process.env.NODE_ENV!=="production"&&(function(){function a(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===P?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case h:return"Fragment";case v:return"Profiler";case g:return"StrictMode";case x:return"Suspense";case C:return"SuspenseList";case q:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case m:return"Portal";case b:return(w.displayName||"Context")+".Provider";case y:return(w._context.displayName||"Context")+".Consumer";case T:var j=w.render;return w=w.displayName,w||(w=j.displayName||j.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case S:return j=w.displayName||null,j!==null?j:a(w.type)||"Memo";case O:j=w._payload,w=w._init;try{return a(w(j))}catch{}}return null}function t(w){return""+w}function e(w){try{t(w);var j=!1}catch{j=!0}if(j){j=console;var A=j.error,K=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return A.call(j,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",K),t(w)}}function r(w){if(w===h)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===O)return"<...>";try{var j=a(w);return j?"<"+j+">":"<...>"}catch{return"<...>"}}function i(){var w=N.A;return w===null?null:w.getOwner()}function n(){return Error("react-stack-top-frame")}function s(w){if(E.call(w,"key")){var j=Object.getOwnPropertyDescriptor(w,"key").get;if(j&&j.isReactWarning)return!1}return w.key!==void 0}function o(w,j){function A(){W||(W=!0,console.error("%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://react.dev/link/special-props)",j))}A.isReactWarning=!0,Object.defineProperty(w,"key",{get:A,configurable:!0})}function l(){var w=a(this.type);return U[w]||(U[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function u(w,j,A,K,tt,et,Ar,Nr){return A=et.ref,w={$$typeof:p,type:w,key:j,props:et,_owner:tt},(A!==void 0?A:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:l}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ar}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Nr}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function f(w,j,A,K,tt,et,Ar,Nr){var st=j.children;if(st!==void 0)if(K)if(M(st)){for(K=0;K<st.length;K++)c(st[K]);Object.freeze&&Object.freeze(st)}else console.error("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 c(st);if(E.call(j,"key")){st=a(w);var fe=Object.keys(j).filter(function(zs){return zs!=="key"});K=0<fe.length?"{key: someKey, "+fe.join(": ..., ")+": ...}":"{key: someKey}",Jt[st+K]||(fe=0<fe.length?"{"+fe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Jr;function Ci(){return Jr||(Jr=1,process.env.NODE_ENV!=="production"&&(function(){function i(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===N?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case d:return"Fragment";case x:return"Profiler";case g:return"StrictMode";case y:return"Suspense";case O:return"SuspenseList";case j:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case _:return"Portal";case b:return(w.displayName||"Context")+".Provider";case v:return(w._context.displayName||"Context")+".Consumer";case T:var S=w.render;return w=w.displayName,w||(w=S.displayName||S.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case q:return S=w.displayName||null,S!==null?S:i(w.type)||"Memo";case C:S=w._payload,w=w._init;try{return i(w(S))}catch{}}return null}function e(w){return""+w}function t(w){try{e(w);var S=!1}catch{S=!0}if(S){S=console;var P=S.error,B=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return P.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",B),e(w)}}function r(w){if(w===d)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===C)return"<...>";try{var S=i(w);return S?"<"+S+">":"<...>"}catch{return"<...>"}}function n(){var w=F.A;return w===null?null:w.getOwner()}function s(){return Error("react-stack-top-frame")}function a(w){if(D.call(w,"key")){var S=Object.getOwnPropertyDescriptor(w,"key").get;if(S&&S.isReactWarning)return!1}return w.key!==void 0}function o(w,S){function P(){V||(V=!0,console.error("%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://react.dev/link/special-props)",S))}P.isReactWarning=!0,Object.defineProperty(w,"key",{get:P,configurable:!0})}function l(){var w=i(this.type);return z[w]||(z[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function u(w,S,P,B,ee,ie,Yr,$r){return P=ie.ref,w={$$typeof:m,type:w,key:S,props:ie,_owner:ee},(P!==void 0?P:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:l}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Yr}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$r}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function c(w,S,P,B,ee,ie,Yr,$r){var le=S.children;if(le!==void 0)if(B)if(M(le)){for(B=0;B<le.length;B++)h(le[B]);Object.freeze&&Object.freeze(le)}else console.error("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 h(le);if(D.call(S,"key")){le=i(w);var pt=Object.keys(S).filter(function(Ma){return Ma!=="key"});B=0<pt.length?"{key: someKey, "+pt.join(": ..., ")+": ...}":"{key: someKey}",ce[le+B]||(pt=0<pt.length?"{"+pt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,K,st,fe,st),Jt[st+K]=!0)}if(st=null,A!==void 0&&(e(A),st=""+A),s(j)&&(e(j.key),st=""+j.key),"key"in j){A={};for(var Mr in j)Mr!=="key"&&(A[Mr]=j[Mr])}else A=j;return st&&o(A,typeof w=="function"?w.displayName||w.name||"Unknown":w),u(w,st,et,tt,i(),A,Ar,Nr)}function c(w){typeof w=="object"&&w!==null&&w.$$typeof===p&&w._store&&(w._store.validated=1)}var _=V,p=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),b=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),P=Symbol.for("react.client.reference"),N=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=Object.prototype.hasOwnProperty,M=Array.isArray,X=console.createTask?console.createTask:function(){return null};_={react_stack_bottom_frame:function(w){return w()}};var W,U={},G=_.react_stack_bottom_frame.bind(_,n)(),ct=X(r(n)),Jt={};ce.Fragment=h,ce.jsx=function(w,j,A,K,tt){var et=1e4>N.recentlyCreatedOwnerStacks++;return f(w,j,A,!1,K,tt,et?Error("react-stack-top-frame"):G,et?X(r(w)):ct)},ce.jsxs=function(w,j,A,K,tt){var et=1e4>N.recentlyCreatedOwnerStacks++;return f(w,j,A,!0,K,tt,et?Error("react-stack-top-frame"):G,et?X(r(w)):ct)}})()),ce}var Fr;function mn(){return Fr||(Fr=1,process.env.NODE_ENV==="production"?Oe.exports=_n():Oe.exports=pn()),Oe.exports}var d=mn();function L(...a){return un.twMerge(ln.clsx(a))}const gn={filled:{primary:L("bg-primary-default-default text-neutral-strong-default border-0 cursor-pointer flex items-center justify-center","hover:bg-primary-default-hover hover:text-neutral-strong-hover","focus:bg-primary-default-pressed focus:text-neutral-strong-focused","active:bg-primary-pressed active:text-neutral-strong-pressed","disabled:bg-primary-medium-disabled disabled:text-neutral-strong-disabled"),secondary:L("bg-neutral-strong-medium-default flex items-center justify-center text-neutral-strong-default","hover:bg-neutral-medium-hover hover:text-neutral-strong-hover","focus:bg-neutral-medium-pressed focus:text-neutral-strong-pressed","active:bg-neutral-medium-pressed","disabled:bg-primary-default-disabled disabled:text-neutral-strong-disabled")},outline:{primary:L("bg-transparent text-primary-medium-default border-1 border-primary-medium-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover hover:border-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed focus:border-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed active:border-primary-medium-pressed","disabled:border-primary-disabled disabled:text-primary-disabled disabled:bg-transparent"),secondary:L("bg-transparent text-neutral-strong-default border-1 border-neutral-strong-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-neutral-strong-hover hover:border-neutral-strong-hover","focus:bg-neutral-default-pressed focus:text-neutral-strong-pressed focus:border-neutral-strong-pressed","active:bg-neutral-default-pressed active:text-neutral-strong-pressed active:border-neutral-strong-pressed","disabled:border-neutral-disabled disabled:text-neutral-disabled disabled:bg-transparent")},text:{primary:L("bg-transparent text-primary-medium-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent"),secondary:L("bg-transparent text-neutral-strong-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-default-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent")}},vn={small:"h-[40px] min-w-[123px] px-2 py-3 text-sm rounded-md text-sm font-semibold",medium:"h-[48px] min-w-[134px] px-2 py-3 font-semibold text-base rounded-md",large:"h-[56px] min-w-[145px] px-4 py-3 text-base rounded-md font-semibold"};function xn({label:a,onClick:t,icon:e,classButton:r,classButtonText:i,animate:n=!0,animateIcon:s=!0,isLoading:o=!1,disabled:l=!1,type:u="button",variant:f="filled",color:c="primary",size:_="medium",children:p,Spinner:m}){const h=R.useAnimationControls(),g=()=>{!n||l||o||!s||h.start({rotate:90})},v=()=>{!n||l||o||!s||h.start({rotate:0})},y=r||L(gn[f][c],vn[_],(l||o)&&"opacity-50 cursor-not-allowed","focus:outline-none");return d.jsx(R.motion.button,{onClick:t,className:y,whileHover:n&&!l&&!o?{scale:1.05}:{},whileTap:n&&!l&&!o?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:g,onHoverEnd:v,disabled:l||o,type:u,children:o?d.jsxs("div",{className:"flex items-center gap-2",children:[m,_!=="small"&&d.jsx("span",{children:"Cargando..."})]}):p||d.jsxs("span",{className:L("flex items-center indent-1",i),children:[e&&d.jsx(R.motion.div,{animate:s?h:void 0,transition:{type:"spring",stiffness:400,damping:17},children:e}),a&&d.jsx("span",{children:a})]})})}const yn=({label:a,icon:t,onChange:e,value:r="",debounceMs:i=0,name:n,width:s="100%",height:o="56px",className:l,id:u,isFetching:f=!1,placeholder:c="",disabled:_=!1,required:p=!1,error:m,type:h="text"})=>{const g=V.useId(),v=u||g,[y,b]=V.useState(r),[T,x]=V.useState(!1),[C]=fn.useDebounce(y,i>0?i:0);V.useEffect(()=>{b(r)},[r]),V.useEffect(()=>{i>0&&C!==r&&e(C)},[C,i,e,r]);const S=N=>{const E=N.target.value;b(E),i===0&&e(E)},O=y.length>0,q=m&&!T,P=T||O;return d.jsxs("div",{className:L("relative w-72",l),style:{width:s,height:o},children:[d.jsxs("div",{className:L("relative w-72 h-full","border-2 rounded-lg transition-all duration-200","bg-white hover:bg-gray-50",!m&&!T&&"border-gray-300",!m&&T&&"border-blue-500 ring-2 ring-blue-200",q&&"border-red-500 ring-2 ring-red-200",_&&"bg-gray-100 border-gray-200 cursor-not-allowed",t?"pl-12":"pl-4","pr-4"),children:[t&&d.jsx(R.motion.div,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 z-10",animate:{y:P?[-2,0]:0,rotate:T?[0,-10,10,-10,10,0]:0},transition:{duration:.7},children:d.jsx("span",{className:L("text-lg transition-colors duration-200",!m&&!P&&"text-gray-400",!m&&P&&"text-blue-500",q&&"text-red-500",_&&"text-gray-300"),children:t})}),d.jsx("input",{id:v,type:h,className:L("w-full h-full bg-transparent border-none outline-none","text-gray-900 text-base transition-all duration-200","placeholder-transparent","pt-6 pb-2",_&&"cursor-not-allowed text-gray-400","focus:outline-none"),name:n,value:y,placeholder:T?c:"",disabled:_,required:p,onFocus:()=>x(!0),onBlur:()=>x(!1),onChange:S,"aria-invalid":!!m,"aria-describedby":m?`${v}-error`:void 0}),d.jsxs(R.motion.label,{htmlFor:v,className:L("absolute left-0 top-1/2 transform origin-left cursor-text","transition-all duration-200 pointer-events-none select-none","text-gray-500 font-medium",t?"ml-12":"ml-4",!m&&!P&&"text-gray-500",!m&&P&&"text-blue-600",q&&"text-red-500",_&&"text-gray-400"),animate:{y:P?-20:-8,scale:P?.85:1},transition:{duration:.2,ease:"easeOut"},children:[a,p&&d.jsx("span",{className:"text-red-500 ml-1",children:"*"})]}),f&&d.jsx(R.motion.div,{className:"absolute right-3 top-1/2 transform -translate-y-1/2",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:d.jsx("div",{className:L("w-5 h-5 border-2 border-gray-300 border-t-blue-500","rounded-full animate-spin")})})]}),m&&d.jsx(R.motion.span,{id:`${v}-error`,className:L("block mt-1 text-sm text-red-500 font-medium","px-1"),initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},role:"alert",children:m})]})},wn=V.memo(yn),Lt={Ticket:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z"})}),Home:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm360-80h100v-480H520v480Zm-180 0h100v-480H340v480Zm-180 0h100v-480H160v480Zm540 0h100v-480H700v480Z"})}),Notifications:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z"})}),Help:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Settings:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})}),CrevronLeft:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"})}),ChevronDown:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"})}),Close:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})}),UserPerson:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z"})}),Logout:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"})}),ArrowUpDown:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"})}),Filter:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})}),Stars:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z"})}),MoreVert:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"})}),Add:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"})}),Upload:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"})}),Copy:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"})}),FaLock:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z"})}),AccountCircle:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0 360Z"})}),UserAdd:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"})}),AttachFile:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z"})}),HistoryActivity:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z"})}),MessageSquare:({size:a,className:t,...e})=>d.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...e,viewBox:"0 -960 960 960",width:a,height:a,fill:"currentColor",className:t,children:d.jsx("path",{d:"M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"})}),CloseNavBarDesktop:({size:a,className:t,...e})=>d.jsxs("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e,className:t,children:[d.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:a,height:a,children:d.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),d.jsx("g",{mask:"url(#mask0_977_20941)",children:d.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]})};function Tn({profileImage:a,size:t,sizeImage:e=5.5}){const[r,i]=V.useState(!1);return d.jsx(d.Fragment,{children:a&&!r?d.jsx("img",{onError:()=>{i(!0)},src:a,className:`w-${e} h-${e} rounded-full`}):d.jsx(hn,{size:t,name:a,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}const Ue=({user:a,isExpanded:t,onClick:e,onProfileClick:r,showOptions:i=!1,onClickLogout:n,sessions:s,handleTokenLogin:o})=>{const l=s?.filter(u=>u.email!==a?.email);return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"profile-container flex my-2 rounded-md text-white-prometeo overflow-hidden flex-shrink-0 ",children:[d.jsxs(R.motion.button,{onClick:r,className:L("flex flex-1 gap-1 rounded-l-md cursor-pointer justify-center relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",t&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[d.jsx("div",{className:"profile-image-wrapper flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:d.jsx(Tn,{profileImage:a?.profileImage||"",size:36})}),d.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[d.jsx("p",{className:L("profile-name font-semibold leading-tight mb-0 text-left",t?"text-primary-default-default":"text-neutral-default-default"),children:a?.name?.length&&a?.name?.length>20?a?.name?.slice(0,10)+"..":a?.name}),d.jsx("div",{className:"flex items-center gap-1 mt-1",children:a&&a.company_id?d.jsxs(d.Fragment,{children:[d.jsx("p",{className:L("profile-options truncate text-xs mt-0",t?"text-primary-default-default":"text-neutral-default-default"),children:a?.company_id?.name?.length&&a?.company_id?.name?.length>20?a?.company_id?.name?.slice(0,10)+"..":a?.company_id?.name}),d.jsx("p",{className:L("profile-options truncate font-bold mt-0",t?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),d.jsx("p",{className:L("profile-options truncate text-xs mt-0",t?"text-primary-default-default":"text-neutral-default-default"),children:a?.area?.name||a?.company_id?.name||"Sin asignar"})]}):d.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),i&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),d.jsx(R.motion.button,{onClick:e,className:`flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] \r
23
- hover:bg-neutral-medium-selected button-content-chevron`,whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:t?"Ocultar opciones":"Mostrar opciones","aria-label":t?"Ocultar opciones":"Mostrar opciones",children:d.jsx(R.motion.div,{animate:{rotate:t?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:d.jsx(R.motion.div,{transition:{duration:.2},children:d.jsx(Lt.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})]})]}),d.jsx(R.AnimatePresence,{mode:"wait",children:t&&d.jsxs(R.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden",children:[d.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),l&&l?.length>0&&d.jsxs(d.Fragment,{children:[d.jsx(R.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:d.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),d.jsx(R.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:d.jsx(Lr,{sessions:l,handleTokenLogin:o})}),d.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),d.jsxs(R.motion.button,{onClick:n,className:"flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(Lt.Logout,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})]})};function Lr({sessions:a,handleTokenLogin:t}){return d.jsx("div",{className:"profile-options-container",children:a?.map(e=>d.jsx("button",{onClick:()=>t?.(e.token),children:d.jsx(Ue,{user:e},e._id)},e._id))})}const Zr=({sessionsShow:a,handleTokenLogin:t,onClickLogout:e,menuRef:r,onProfileClick:i})=>d.jsx("div",{ref:r,className:"flex bg-neutral-default-default gap-4 absolute bottom-10 left-30 border-1 border-neutral-strong-default h-72 w-60 rounded-md px-2",children:d.jsx(R.AnimatePresence,{mode:"wait",children:d.jsxs(R.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden flex flex-col justify-between items-center w-full",children:[d.jsxs(R.motion.button,{onClick:i,className:"flex h-12 w-full px-2 gap-1 rounded-md cursor-pointer mt-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(Lt.UserPerson,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Ver perfil"})]}),d.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}}}),a&&a?.length>0&&d.jsxs(d.Fragment,{children:[d.jsx(R.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:d.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),d.jsx(R.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:d.jsx(Lr,{sessions:a,handleTokenLogin:t})}),d.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),d.jsxs(R.motion.button,{onClick:e,className:"flex h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[d.jsx(Lt.Logout,{size:24,className:"text-neutral-default-default"}),d.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})}),He=({notificationsCount:a})=>d.jsx(d.Fragment,{children:a>0&&d.jsx("div",{className:"w-5 h-5 bg-primary rounded-full flex items-center justify-center",children:d.jsx("span",{className:"text-xs text-neutral-default-default font-medium",children:a})})}),Br=({isCollapsed:a,onToggle:t})=>d.jsx("div",{className:"p-4 flex justify-end",children:d.jsx("button",{onClick:t,title:a?"Expandir Navbar":"Contraer Navbar","aria-label":a?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:a?d.jsx(Lt.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):d.jsx(Lt.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),zr=({logoUrl:a,companyName:t})=>d.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:d.jsx("img",{src:a,className:"h-2/3 rounded-full",alt:t??""})}),Ve=({links:a,isLinkActive:t,componentBadge:e,onClick:r,activeModal:i,onLinkClick:n})=>d.jsx("nav",{className:"flex flex-col gap-1",children:a?.map((s,o)=>{const l=t(s.path)||(s.relatedPaths?.some(u=>t(u))??!1);return s.isView&&s.viewAccess()&&d.jsxs(R.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:o*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:[s.path==="/notifications"&&d.jsx("button",{onClick:r,className:L("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",i?"text-primary-default-default":"text-neutral-default-default"),children:d.jsxs(R.motion.div,{className:"nav-content-wrapper flex items-center gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[d.jsx(R.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:i?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof s.icon=="function"?s.icon({size:24,className:L("nav-icon transition-colors duration-250 ease-out",i?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):"text"}),d.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:s.title}),e&&s.count&&s.count>0&&e(s.count)]})}),s.path!=="/notifications"&&d.jsxs("button",{onClick:()=>{r?.(),n?.(s.path)},className:L("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",l?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[d.jsx(R.AnimatePresence,{mode:"wait",children:l&&d.jsx(R.motion.div,{layoutId:"nav-active-bg",className:"absolute inset-0 bg-neutral-medium-selected rounded-lg",initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.25,ease:"easeInOut"}})}),d.jsxs(R.motion.div,{className:"nav-content-wrapper flex items-center gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[d.jsx(R.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:l?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof s.icon=="function"?s.icon({size:24,className:L("nav-icon transition-colors duration-250 ease-out",l?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),d.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:s.title}),e&&s.count&&s.count>0&&e(s.count)]})]})]},o)})}),Ur=a=>{const t=V.useRef(null);return{isCollapsed:a,navbarRef:t}};function Ot(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Hr(a,t){a.prototype=Object.create(t.prototype),a.prototype.constructor=a,a.__proto__=t}/*!
22
+ <%s key={someKey} {...props} />`,B,le,pt,le),ce[le+B]=!0)}if(le=null,P!==void 0&&(t(P),le=""+P),a(S)&&(t(S.key),le=""+S.key),"key"in S){P={};for(var Wr in S)Wr!=="key"&&(P[Wr]=S[Wr])}else P=S;return le&&o(P,typeof w=="function"?w.displayName||w.name||"Unknown":w),u(w,le,ie,ee,n(),P,Yr,$r)}function h(w){typeof w=="object"&&w!==null&&w.$$typeof===m&&w._store&&(w._store.validated=1)}var p=L,m=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),b=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),N=Symbol.for("react.client.reference"),F=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.prototype.hasOwnProperty,M=Array.isArray,H=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(w){return w()}};var V,z={},U=p.react_stack_bottom_frame.bind(p,s)(),ne=H(r(s)),ce={};_t.Fragment=d,_t.jsx=function(w,S,P,B,ee){var ie=1e4>F.recentlyCreatedOwnerStacks++;return c(w,S,P,!1,B,ee,ie?Error("react-stack-top-frame"):U,ie?H(r(w)):ne)},_t.jsxs=function(w,S,P,B,ee){var ie=1e4>F.recentlyCreatedOwnerStacks++;return c(w,S,P,!0,B,ee,ie?Error("react-stack-top-frame"):U,ie?H(r(w)):ne)}})()),_t}var Qr;function Si(){return Qr||(Qr=1,process.env.NODE_ENV==="production"?At.exports=qi():At.exports=Ci()),At.exports}var f=Si();function k(...i){return bi.twMerge(yi.clsx(i))}const Pi={filled:{primary:k("bg-primary-default-default text-neutral-strong-default border-0 cursor-pointer flex items-center justify-center","hover:bg-primary-default-hover hover:text-neutral-strong-hover","focus:bg-primary-default-pressed focus:text-neutral-strong-focused","active:bg-primary-pressed active:text-neutral-strong-pressed","disabled:bg-primary-medium-disabled disabled:text-neutral-strong-disabled"),secondary:k("bg-neutral-strong-medium-default flex items-center justify-center text-neutral-strong-default cursor-pointer","hover:bg-neutral-medium-hover hover:text-neutral-strong-hover","focus:bg-neutral-medium-pressed focus:text-neutral-strong-pressed","active:bg-neutral-medium-pressed","disabled:bg-primary-default-disabled disabled:text-neutral-strong-disabled")},outline:{primary:k("bg-transparent text-primary-medium-default border-1 border-primary-medium-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover hover:border-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed focus:border-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed active:border-primary-medium-pressed","disabled:border-primary-disabled disabled:text-primary-disabled disabled:bg-transparent"),secondary:k("bg-transparent text-neutral-strong-default border-1 border-neutral-strong-default flex items-center justify-center","hover:bg-neutral-default-hover hover:text-neutral-strong-hover hover:border-neutral-strong-hover","focus:bg-neutral-default-pressed focus:text-neutral-strong-pressed focus:border-neutral-strong-pressed","active:bg-neutral-default-pressed active:text-neutral-strong-pressed active:border-neutral-strong-pressed","disabled:border-neutral-disabled disabled:text-neutral-disabled disabled:bg-transparent")},text:{primary:k("bg-transparent text-primary-medium-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-medium-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent"),secondary:k("bg-transparent text-neutral-strong-default border-0 flex items-center justify-center","hover:bg-neutral-default-hover hover:text-primary-default-hover","focus:bg-neutral-default-pressed focus:text-primary-medium-pressed","active:bg-neutral-default-pressed active:text-primary-medium-pressed","disabled:text-primary-medium-disabled disabled:bg-transparent")}},ki={small:"h-[40px] min-w-[123px] w-fit px-2 py-3 text-sm rounded-md text-sm font-semibold",medium:"h-[48px] min-w-[134px] w-fit px-2 py-3 font-semibold text-base rounded-md",large:"h-[56px] min-w-[145px] w-fit px-4 py-3 text-base rounded-md font-semibold"};function Ni({label:i="Selene",onClick:e,icon:t,height:r,width:n,contentClassName:s,loadingText:a="Cargando...",animate:o=!0,animateIcon:l=!0,isLoading:u=!1,disabled:c=!1,type:h="button",variant:p="filled",color:m="primary",size:_="medium",children:d,Spinner:g}){const x=R.useAnimationControls(),v=()=>{!o||c||u||!l||x.start({rotate:90})},b=()=>{!o||c||u||!l||x.start({rotate:0})},T=k(Pi[p][m],!r&&!n?ki[_]:"px-4 py-2 font-semibold text-base rounded-md flex items-center justify-center",(c||u)&&"opacity-50 cursor-not-allowed","focus:outline-none");return f.jsx(R.motion.button,{onClick:e,className:T,style:{...r&&{height:r},...n&&{width:n}},whileHover:o&&!c&&!u?{scale:1.05}:{},whileTap:o&&!c&&!u?{scale:.98}:{},transition:{type:"spring",stiffness:400,damping:17},onHoverStart:v,onHoverEnd:b,disabled:c||u,type:h,children:u?f.jsxs("div",{className:"flex items-center gap-2",children:[g,_!=="small"&&f.jsx("span",{children:a})]}):d||f.jsxs("span",{className:k("flex items-center gap-2",s),children:[t&&f.jsx(R.motion.div,{animate:l?x:void 0,transition:{type:"spring",stiffness:400,damping:17},children:t}),i&&f.jsx("span",{children:i})]})})}const we={Ticket:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480q0 17 11.5 28.5T480-440Zm0-160q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm320 440H160q-33 0-56.5-23.5T80-240v-160q33 0 56.5-23.5T160-480q0-33-23.5-56.5T80-560v-160q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v160q-33 0-56.5 23.5T800-480q0 33 23.5 56.5T880-400v160q0 33-23.5 56.5T800-160Zm0-80v-102q-37-22-58.5-58.5T720-480q0-43 21.5-79.5T800-618v-102H160v102q37 22 58.5 58.5T240-480q0 43-21.5 79.5T160-342v102h640ZM480-480Z"})}),Home:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"})}),Boards:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm360-80h100v-480H520v480Zm-180 0h100v-480H340v480Zm-180 0h100v-480H160v480Zm540 0h100v-480H700v480Z"})}),Notifications:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880q25 0 42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80H160Zm320-300Zm0 420q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80ZM320-280h320v-280q0-66-47-113t-113-47q-66 0-113 47t-47 113v280Z"})}),Help:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),Settings:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"m370-80-16-128q-13-5-24.5-12T307-235l-119 50L78-375l103-78q-1-7-1-13.5v-27q0-6.5 1-13.5L78-585l110-190 119 50q11-8 23-15t24-12l16-128h220l16 128q13 5 24.5 12t22.5 15l119-50 110 190-103 78q1 7 1 13.5v27q0 6.5-2 13.5l103 78-110 190-118-50q-11 8-23 15t-24 12L590-80H370Zm70-80h79l14-106q31-8 57.5-23.5T639-327l99 41 39-68-86-65q5-14 7-29.5t2-31.5q0-16-2-31.5t-7-29.5l86-65-39-68-99 42q-22-23-48.5-38.5T533-694l-13-106h-79l-14 106q-31 8-57.5 23.5T321-633l-99-41-39 68 86 64q-5 15-7 30t-2 32q0 16 2 31t7 30l-86 65 39 68 99-42q22 23 48.5 38.5T427-266l13 106Zm42-180q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Zm-2-140Z"})}),CrevronLeft:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"})}),CrevronRight:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})}),ArrowLeft:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M400-240 160-480l240-240 56 58-142 142h486v80H314l142 142-56 58Z"})}),Shared:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z"})}),ChevronDown:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M480-345 240-585l56-56 184 183 184-183 56 56-240 240Z"})}),Collapse:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M440-440v240h-80v-160H200v-80h240Zm160-320v160h160v80H520v-240h80Z"})}),Calendar:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"})}),Close:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})}),UserPerson:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M480-480q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM160-160v-112q0-34 17.5-62.5T224-378q62-31 126-46.5T480-440q66 0 130 15.5T736-378q29 15 46.5 43.5T800-272v112H160Zm80-80h480v-32q0-11-5.5-20T700-306q-54-27-109-40.5T480-360q-56 0-111 13.5T260-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T560-640q0-33-23.5-56.5T480-720q-33 0-56.5 23.5T400-640q0 33 23.5 56.5T480-560Zm0-80Zm0 400Z"})}),Logout:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"})}),ArrowUpDown:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z"})}),Filter:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M400-240v-80h160v80H400ZM240-440v-80h480v80H240ZM120-640v-80h720v80H120Z"})}),Search:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})}),Stars:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"m668-380 152-130 120 10-176 153 52 227-102-62-46-198Zm-94-292-42-98 46-110 92 217-96-9ZM294-287l126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM173-120l65-281L20-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-340Z"})}),MoreVert:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z"})}),Add:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"})}),Edit:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"})}),Upload:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M440-320v-326L336-542l-56-58 200-200 200 200-56 58-104-104v326h-80ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z"})}),Copy:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"})}),FaLock:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M80-200v-80h800v80H80Zm46-242-52-30 34-60H40v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Zm320 0-52-30 34-60h-68v-60h68l-34-58 52-30 34 58 34-58 52 30-34 58h68v60h-68l34 60-52 30-34-60-34 60Z"})}),AccountCircle:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0 360Z"})}),UserAdd:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M720-400v-120H600v-80h120v-120h80v120h120v80H800v120h-80Zm-360-80q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47ZM40-160v-112q0-34 17.5-62.5T104-378q62-31 126-46.5T360-440q66 0 130 15.5T616-378q29 15 46.5 43.5T680-272v112H40Zm80-80h480v-32q0-11-5.5-20T580-306q-54-27-109-40.5T360-360q-56 0-111 13.5T140-306q-9 5-14.5 14t-5.5 20v32Zm240-320q33 0 56.5-23.5T440-640q0-33-23.5-56.5T360-720q-33 0-56.5 23.5T280-640q0 33 23.5 56.5T360-560Zm0-80Zm0 400Z"})}),AttachFile:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-370h80v370q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-390h80v390Z"})}),HistoryActivity:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M480-80q-155 0-269-103T82-440h81q15 121 105.5 200.5T480-160q134 0 227-93t93-227q0-134-93-227t-227-93q-86 0-159.5 42.5T204-640h116v80H88q29-140 139-230t253-90q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm112-232L440-464v-216h80v184l128 128-56 56Z"})}),MessageSquare:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 -960 960 960",width:i,height:i,fill:"currentColor",className:e,children:f.jsx("path",{d:"M80-80v-720q0-33 23.5-56.5T160-880h640q33 0 56.5 23.5T880-800v480q0 33-23.5 56.5T800-240H240L80-80Zm126-240h594v-480H160v525l46-45Zm-46 0v-480 480Z"})}),CloseNavBarDesktop:({size:i,className:e,...t})=>f.jsxs("svg",{width:i,height:i,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...t,className:e,children:[f.jsx("mask",{id:"mask0_977_20941",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:i,height:i,children:f.jsx("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),f.jsx("g",{mask:"url(#mask0_977_20941)",children:f.jsx("path",{d:"M11 17V7L6 12L11 17ZM13 21H15V3H13V21Z",fill:"#E4E4E7"})})]}),EyeVisibility:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:f.jsx("path",{d:"M480-320q75 0 127.5-52.5T660-500q0-75-52.5-127.5T480-680q-75 0-127.5 52.5T300-500q0 75 52.5 127.5T480-320Zm0-72q-45 0-76.5-31.5T372-500q0-45 31.5-76.5T480-608q45 0 76.5 31.5T588-500q0 45-31.5 76.5T480-392Zm0 192q-146 0-266-81.5T40-500q54-137 174-218.5T480-800q146 0 266 81.5T920-500q-54 137-174 218.5T480-200Zm0-300Zm0 220q113 0 207.5-59.5T832-500q-50-101-144.5-160.5T480-720q-113 0-207.5 59.5T128-500q50 101 144.5 160.5T480-280Z"})}),EyeVisibilityOff:({size:i,className:e,...t})=>f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",width:i,height:i,...t,className:e,fill:"currentColor",children:f.jsx("path",{d:"m644-428-58-58q9-47-27-88t-93-32l-58-58q17-8 34.5-12t37.5-4q75 0 127.5 52.5T660-500q0 20-4 37.5T644-428Zm128 126-58-56q38-29 67.5-63.5T832-500q-50-101-143.5-160.5T480-720q-29 0-57 4t-55 12l-62-62q41-17 84-25.5t90-8.5q151 0 269 83.5T920-500q-23 59-60.5 109.5T772-302Zm20 246L624-222q-35 11-70.5 16.5T480-200q-151 0-269-83.5T40-500q21-53 53-98.5t73-81.5L56-792l56-56 736 736-56 56ZM222-624q-29 26-53 57t-41 67q50 101 143.5 160.5T480-280q20 0 39-2.5t39-5.5l-36-38q-11 3-21 4.5t-21 1.5q-75 0-127.5-52.5T300-500q0-11 1.5-21t4.5-21l-84-82Zm319 93Zm-151 75Z"})})};var Ei={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function gt(i){if(typeof i=="number")return{value:i,unit:"px"};var e,t=(i.match(/^[0-9.]*/)||"").toString();t.includes(".")?e=parseFloat(t):e=parseInt(t,10);var r=(i.match(/[^0-9]*$/)||"").toString();return Ei[r]?{value:e,unit:r}:(console.warn("React Spinners: ".concat(i," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}function te(i){var e=gt(i);return"".concat(e.value).concat(e.unit)}var De=function(i,e,t){var r="react-spinners-".concat(i,"-").concat(t);if(typeof window>"u"||!window.document)return r;var n=document.createElement("style");document.head.appendChild(n);var s=n.sheet,a=`
23
+ @keyframes `.concat(r,` {
24
+ `).concat(e,`
25
+ }
26
+ `);return s&&s.insertRule(a,0),r},Rt;(function(i){i.maroon="#800000",i.red="#FF0000",i.orange="#FFA500",i.yellow="#FFFF00",i.olive="#808000",i.green="#008000",i.purple="#800080",i.fuchsia="#FF00FF",i.lime="#00FF00",i.teal="#008080",i.aqua="#00FFFF",i.blue="#0000FF",i.navy="#000080",i.black="#000000",i.gray="#808080",i.silver="#C0C0C0",i.white="#FFFFFF"})(Rt||(Rt={}));var Ai=function(i,e){if(i.includes("/"))return i.replace("rgb(","rgba(");var t=i.substring(i.startsWith("rgba(")?5:4,i.length-1).trim(),r=t.split(",");return r.length===4?i.replace("rgb(","rgba("):r.length===3?"rgba(".concat(t,", ").concat(e,")"):"rgba(".concat(t," / ").concat(e,")")},Ri=function(i,e){if(i.startsWith("rgb"))return Ai(i,e);if(Object.keys(Rt).includes(i)&&(i=Rt[i]),i[0]==="#"&&(i=i.slice(1)),i.length===3){var t="";i.split("").forEach(function(n){t+=n,t+=n}),i=t}var r=(i.match(/.{2}/g)||[]).map(function(n){return parseInt(n,16)}).join(", ");return"rgba(".concat(r,", ").concat(e,")")},Mt=function(){return Mt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Mt.apply(this,arguments)},Mi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Di=De("BounceLoader","0% {transform: scale(0)} 50% {transform: scale(1.0)} 100% {transform: scale(0)}","bounce");function Fi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?60:u,h=Mi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=function(_){var d=_===1?"".concat(1/a,"s"):"0s";return{position:"absolute",height:te(c),width:te(c),backgroundColor:n,borderRadius:"100%",opacity:.6,top:0,left:0,animationFillMode:"both",animation:"".concat(Di," ").concat(2.1/a,"s ").concat(d," infinite ease-in-out")}},m=Mt({display:"inherit",position:"relative",width:te(c),height:te(c)},l);return t?Y.createElement("span",Mt({style:m},h),Y.createElement("span",{style:p(1)}),Y.createElement("span",{style:p(2)})):null}var Dt=function(){return Dt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Dt.apply(this,arguments)},Li=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Ii=De("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");function Zi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?35:u,h=Li(i,["loading","color","speedMultiplier","cssOverride","size"]),p=Dt({background:"transparent !important",width:te(c),height:te(c),borderRadius:"100%",border:"2px solid",borderTopColor:n,borderBottomColor:"transparent",borderLeftColor:n,borderRightColor:n,display:"inline-block",animation:"".concat(Ii," ").concat(.75/a,"s 0s infinite linear"),animationFillMode:"both"},l);return t?Y.createElement("span",Dt({style:p},h)):null}var Ft=function(){return Ft=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Ft.apply(this,arguments)},zi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Bi=De("DotLoader","100% {transform: rotate(360deg)}","rotate"),Vi=De("DotLoader","0%, 100% {transform: scale(0)} 50% {transform: scale(1.0)}","bounce");function Hi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?60:u,h=zi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=Ft({display:"inherit",position:"relative",width:te(c),height:te(c),animationFillMode:"forwards",animation:"".concat(Bi," ").concat(2/a,"s 0s infinite linear")},l),m=function(_){var d=gt(c),g=d.value,x=d.unit;return{position:"absolute",top:_%2?"0":"auto",bottom:_%2?"auto":"0",height:"".concat(g/2).concat(x),width:"".concat(g/2).concat(x),backgroundColor:n,borderRadius:"100%",animationFillMode:"forwards",animation:"".concat(Vi," ").concat(2/a,"s ").concat(_===2?"1s":"0s"," infinite linear")}};return t?Y.createElement("span",Ft({style:p},h),Y.createElement("span",{style:m(1)}),Y.createElement("span",{style:m(2)})):null}var Lt=function(){return Lt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Lt.apply(this,arguments)},Ui=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Yi=De("GridLoader","0% {transform: scale(1)} 50% {transform: scale(0.5); opacity: 0.7} 100% {transform: scale(1); opacity: 1}","grid"),Ne=function(i){return Math.random()*i};function $i(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?15:u,h=i.margin,p=h===void 0?2:h,m=Ui(i,["loading","color","speedMultiplier","cssOverride","size","margin"]),_=gt(c),d=gt(p),g=parseFloat(_.value.toString())*3+parseFloat(d.value.toString())*6,x=Lt({width:"".concat(g).concat(_.unit),fontSize:0,display:"inline-block"},l),v=function(b){return{display:"inline-block",backgroundColor:n,width:"".concat(te(c)),height:"".concat(te(c)),margin:te(p),borderRadius:"100%",animationFillMode:"both",animation:"".concat(Yi," ").concat((b/100+.6)/a,"s ").concat(b/100-.2,"s infinite ease")}};return t?Y.createElement("span",Lt({style:x},m,{ref:function(b){b&&b.style.setProperty("width","".concat(g).concat(_.unit),"important")}}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))}),Y.createElement("span",{style:v(Ne(100))})):null}var It=function(){return It=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},It.apply(this,arguments)},Wi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t};function Xi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?50:u,h=Wi(i,["loading","color","speedMultiplier","cssOverride","size"]),p=gt(c),m=p.value,_=p.unit,d=It({display:"inherit",position:"relative",width:te(c),height:te(c),transform:"rotate(165deg)"},l),g=m/5,x=(m-g)/2,v=x-g,b=Ri(n,.75),T=De("HashLoader","0% {width: ".concat(g,"px; box-shadow: ").concat(x,"px ").concat(-v,"px ").concat(b,", ").concat(-x,"px ").concat(v,"px ").concat(b,`}
27
+ 35% {width: `).concat(te(c),"; box-shadow: 0 ").concat(-v,"px ").concat(b,", 0 ").concat(v,"px ").concat(b,`}
28
+ 70% {width: `).concat(g,"px; box-shadow: ").concat(-x,"px ").concat(-v,"px ").concat(b,", ").concat(x,"px ").concat(v,"px ").concat(b,`}
29
+ 100% {box-shadow: `).concat(x,"px ").concat(-v,"px ").concat(b,", ").concat(-x,"px ").concat(v,"px ").concat(b,"}"),"before"),y=De("HashLoader","0% {height: ".concat(g,"px; box-shadow: ").concat(v,"px ").concat(x,"px ").concat(n,", ").concat(-v,"px ").concat(-x,"px ").concat(n,`}
30
+ 35% {height: `).concat(te(c),"; box-shadow: ").concat(v,"px 0 ").concat(n,", ").concat(-v,"px 0 ").concat(n,`}
31
+ 70% {height: `).concat(g,"px; box-shadow: ").concat(v,"px ").concat(-x,"px ").concat(n,", ").concat(-v,"px ").concat(x,"px ").concat(n,`}
32
+ 100% {box-shadow: `).concat(v,"px ").concat(x,"px ").concat(n,", ").concat(-v,"px ").concat(-x,"px ").concat(n,"}"),"after"),O=function(q){return{position:"absolute",top:"50%",left:"50%",display:"block",width:"".concat(m/5).concat(_),height:"".concat(m/5).concat(_),borderRadius:"".concat(m/10).concat(_),transform:"translate(-50%, -50%)",animationFillMode:"none",animation:"".concat(q===1?T:y," ").concat(2/a,"s infinite")}};return t?Y.createElement("span",It({style:d},h),Y.createElement("span",{style:O(1)}),Y.createElement("span",{style:O(2)})):null}var Zt=function(){return Zt=Object.assign||function(i){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=e[n])}return i},Zt.apply(this,arguments)},Gi=function(i,e){var t={};for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(i);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(i,r[n])&&(t[r[n]]=i[r[n]]);return t},Ji=De("SyncLoader",`33% {transform: translateY(10px)}
33
+ 66% {transform: translateY(-10px)}
34
+ 100% {transform: translateY(0)}`,"sync");function Qi(i){var e=i.loading,t=e===void 0?!0:e,r=i.color,n=r===void 0?"#000000":r,s=i.speedMultiplier,a=s===void 0?1:s,o=i.cssOverride,l=o===void 0?{}:o,u=i.size,c=u===void 0?15:u,h=i.margin,p=h===void 0?2:h,m=Gi(i,["loading","color","speedMultiplier","cssOverride","size","margin"]),_=Zt({display:"inherit"},l),d=function(g){return{backgroundColor:n,width:te(c),height:te(c),margin:te(p),borderRadius:"100%",display:"inline-block",animation:"".concat(Ji," ").concat(.6/a,"s ").concat(g*.07,"s infinite ease-in-out"),animationFillMode:"both"}};return t?Y.createElement("span",Zt({style:_},m),Y.createElement("span",{style:d(1)}),Y.createElement("span",{style:d(2)}),Y.createElement("span",{style:d(3)})):null}const nr=({variant:i="sync",color:e="#3B82F6",loading:t=!0,size:r="medium",className:n="",speedMultiplier:s=1})=>{const o=(()=>{if(typeof r=="number")return r;switch(r){case"small":return 20;case"medium":return 35;case"large":return 50;default:return 35}})(),l={color:e,loading:t,size:o,speedMultiplier:s,"aria-label":"Loading Spinner","data-testid":"spinner"},u=k("inline-block",n),c=()=>{switch(i){case"bounce":return f.jsx(Fi,{...l});case"dot":return f.jsx(Hi,{...l});case"grid":return f.jsx($i,{...l,size:o*.4});case"hash":return f.jsx(Xi,{...l});case"sync":return f.jsx(Qi,{...l,size:o*.4});case"clip":default:return f.jsx(Zi,{...l})}};return f.jsx("div",{className:u,children:c()})},zt={default:{container:"",input:k("border-neutral-default-default text-neutral-default-default","focus:border-primary-default-default focus:border-2","hover:border-neutral-strong-default"),label:k("text-neutral-medium-default","peer-focus:text-primary-default-default"),icon:k("text-neutral-medium-default","peer-focus:text-primary-default-default")},error:{container:"",input:k("border-error-default-default text-neutral-default-default","focus:border-error-default focus:border-2","focus:ring-0 focus:ring-error-default/20"),label:k("text-error-light","peer-focus:text-error-light"),icon:k("text-error-light","peer-focus:text-error-light")},success:{container:"",input:k("border-success-default-default text-neutral-default-default","focus:border-success-default focus:border-2","focus:ring-0 focus:ring-success-default/20"),label:k("text-success","peer-focus:text-success-light"),icon:k("text-success-light","peer-focus:text-success-light")}},vt={small:{container:"text-sm",input:"h-10 px-3 text-sm",label:"text-xs peer-focus:text-xs peer-placeholder-shown:text-sm",icon:"w-4 h-4 right-3"},medium:{container:"text-base",input:"h-12 px-3 text-base",label:"text-sm peer-focus:text-sm peer-placeholder-shown:text-base",icon:"w-5 h-5 right-3"},large:{container:"text-lg",input:"h-14 px-3 text-lg",label:"text-sm peer-focus:text-sm peer-placeholder-shown:text-lg",icon:"w-6 h-6 right-3"}},Ki=({label:i,icon:e,onChange:t,value:r="",debounceMs:n=0,name:s,width:a="100%",height:o,variant:l="default",size:u="medium",disabled:c=!1,type:h="text",isFetching:p,errorMessage:m,helperText:_,required:d=!1,onFocus:g,onBlur:x})=>{const[v,b]=L.useState(r),[T]=wi.useDebounce(v,n),[y,O]=L.useState(!1),[q,C]=L.useState(!1);L.useEffect(()=>{n&&T!==r&&t(T)},[T,n,t,r]),L.useEffect(()=>{b(r)},[r]);const j=()=>{O(!0),g?.()},N=()=>{O(!1),x?.()},F=ce=>{const w=ce.target.value;b(w),n||t(w)},D=()=>{C(!q)},M={};a&&a!=="100%"&&(M.width=a),o&&(M.height=o);const H=v.length>0,V=l==="error"&&m,z=!V&&_,U=()=>y||H?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100",ne=()=>o?{height:o}:{};return f.jsxs("div",{className:k("relative",vt[u].container,!a&&"w-full","bg-inherit"),style:M,children:[f.jsx("input",{id:s,name:s,type:h==="password"&&q?"text":h,value:v,className:k("peer w-full border-1 rounded-lg bg-transparent appearance-none transition-all duration-200 ease-in-out","placeholder:text-transparent focus:outline-none px-3",!o&&vt[u].input,o&&`px-3 ${vt[u].input.split(" ").filter(ce=>ce.startsWith("text-")).join(" ")}`,zt[l].input,e&&"pr-10",c&&"bg-neutral-weak-default cursor-not-allowed opacity-60",zt[l].container),style:ne(),onChange:F,onFocus:j,onBlur:N,disabled:c,required:d}),f.jsx("label",{htmlFor:s,className:k("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10",!o&&vt[u].label,o&&"text-sm",zt[l].label,U(),d&&"after:content-['*'] after:text-error-default after:ml-1"),children:i}),(e||h==="password"||p)&&f.jsx("div",{className:k("absolute top-1/2 -translate-y-1/2 flex items-center justify-center z-10",!o&&vt[u].icon,o&&"w-5 h-5 right-3",zt[l].icon,h==="password"&&!p?"cursor-pointer":"pointer-events-none"),onClick:h==="password"&&!p?D:void 0,onMouseDown:ce=>h==="password"&&!p&&ce.preventDefault(),children:f.jsx(R.motion.div,{animate:y?{y:[-2,0],rotate:[0,-10,10,-10,10,0]}:{},transition:{duration:.6,ease:"easeInOut"},children:p&&h!=="password"?f.jsx("div",{className:"animate-spin",children:f.jsx(nr,{size:24,color:"#7c86ff",loading:!0})}):h==="password"?q?f.jsx(we.EyeVisibility,{size:24,className:""}):f.jsx(we.EyeVisibilityOff,{size:24,className:""}):e})}),V&&f.jsx("p",{className:"mt-1 text-xs text-error-default",children:m}),z&&f.jsx("p",{className:"mt-1 text-xs text-neutral-medium-default",children:_})]})},es=L.memo(Ki);function ts({profileImage:i,size:e,sizeImage:t=5.5}){const[r,n]=L.useState(!1);return f.jsx(f.Fragment,{children:i&&!r?f.jsx("img",{onError:()=>{n(!0)},src:i,className:`w-${t} h-${t} rounded-full`}):f.jsx(Xr,{size:e,name:i,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}const Kr=({user:i,isExpanded:e,onClick:t,onProfileClick:r,showOptions:n=!1,onClickLogout:s,sessions:a,handleTokenLogin:o})=>{const l=a?.filter(u=>u.email!==i?.email);return f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"profile-container flex my-2 rounded-md text-white-prometeo overflow-hidden flex-shrink-0 ",children:[f.jsxs(R.motion.button,{onClick:r,className:k("flex flex-1 gap-1 rounded-l-md cursor-pointer justify-center relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",e&&"bg-neutral-medium-selected"),whileHover:{opacity:1,scale:[1,1.02,1]},whileTap:{scale:.98},transition:{duration:.2,ease:"easeInOut"},children:[f.jsx("div",{className:"profile-image-wrapper flex-shrink-0 h-10 w-10 flex items-center justify-center relative z-10",children:f.jsx(ts,{profileImage:i?.profileImage||"",size:36})}),f.jsxs("div",{className:"flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2",children:[f.jsx("p",{className:k("profile-name font-semibold leading-tight mb-0 text-left",e?"text-primary-default-default":"text-neutral-default-default"),children:i?.name?.length&&i?.name?.length>20?i?.name?.slice(0,10)+"..":i?.name}),f.jsx("div",{className:"flex items-center gap-1 mt-1 ",children:i&&i.company_id?f.jsxs(f.Fragment,{children:[f.jsx("p",{className:k("profile-options truncate text-xs mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:i?.company_id?.name?.length&&i?.company_id?.name?.length>20?i?.company_id?.name?.slice(0,10)+"..":i?.company_id?.name}),f.jsx("p",{className:k("profile-options truncate font-bold mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:"·"}),f.jsx("p",{className:k("profile-options truncate text-xs mt-0",e?"text-primary-default-default":"text-neutral-default-default"),children:i?.area?.name||i?.company_id?.name||"Sin asignar"})]}):f.jsx("span",{className:"font-semibold leading-tight ml-3 text-xs text-blue-300 text-center",children:"Sin asignar"})})]})]}),n&&f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"w-px bg-gray-500/30 my-1 border-separator-profile"}),f.jsx(R.motion.button,{onClick:t,className:`flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] \r
35
+ hover:bg-neutral-medium-selected button-content-chevron`,whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2,ease:"easeOut"},title:e?"Ocultar opciones":"Mostrar opciones","aria-label":e?"Ocultar opciones":"Mostrar opciones",children:f.jsx(R.motion.div,{animate:{rotate:e?180:0},transition:{duration:.3,ease:"easeOut"},className:"relative button-select-crevron",children:f.jsx(R.motion.div,{transition:{duration:.2},children:f.jsx(we.ChevronDown,{size:20,className:"text-prometeo-neutral "})})})})]})]}),f.jsx(R.AnimatePresence,{mode:"wait",children:e&&f.jsxs(R.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden",children:[f.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}},children:f.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),l&&l?.length>0&&f.jsxs(f.Fragment,{children:[f.jsx(R.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:f.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),f.jsx(R.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:f.jsx(en,{sessions:l,handleTokenLogin:o})}),f.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:f.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),f.jsxs(R.motion.button,{onClick:s,className:"flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[f.jsx(we.Logout,{size:24,className:"text-neutral-default-default"}),f.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})]})};function en({sessions:i,handleTokenLogin:e}){return f.jsx("div",{className:"profile-options-container",children:i?.map(t=>f.jsx("button",{onClick:()=>e?.(t.token),children:f.jsx(Kr,{user:t},t._id)},t._id))})}const rs=({sessionsShow:i,handleTokenLogin:e,onClickLogout:t,menuRef:r,onProfileClick:n})=>f.jsx("div",{ref:r,className:"flex bg-neutral-default-default gap-4 absolute bottom-10 left-30 border-1 border-neutral-strong-default h-72 w-60 rounded-md px-2",children:f.jsx(R.AnimatePresence,{mode:"wait",children:f.jsxs(R.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1,transition:{height:{duration:.6,ease:"easeOut"},opacity:{duration:.4,delay:.2}}},exit:{height:0,opacity:0,transition:{height:{duration:.8,delay:.2,ease:"easeIn"},opacity:{duration:.3,delay:.1}}},className:"overflow-hidden flex flex-col justify-between items-center w-full",children:[f.jsxs(R.motion.button,{onClick:n,className:"flex h-12 w-full px-2 gap-1 rounded-md cursor-pointer mt-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[f.jsx(we.UserPerson,{size:24,className:"text-neutral-default-default"}),f.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Ver perfil"})]}),f.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.5,ease:"easeInOut"}}}),i&&i?.length>0&&f.jsxs(f.Fragment,{children:[f.jsx(R.motion.div,{className:"mt-4",exit:{opacity:0,y:-5,height:0,transition:{duration:.4,delay:.4,ease:"easeInOut"}},children:f.jsx("span",{className:"text-neutral-medium-default font-semibold text-xs",children:"Cambiar cuenta"})}),f.jsx(R.motion.div,{className:"mt-4 overflow-hidden",exit:{height:0,opacity:0,y:-10,scale:.98,transition:{height:{duration:.5,delay:.2},opacity:{duration:.3,delay:.3},y:{duration:.3,delay:.3},scale:{duration:.3,delay:.3},ease:"easeInOut"}},children:f.jsx(en,{sessions:i,handleTokenLogin:e})}),f.jsx(R.motion.div,{className:"flex justify-center items-center w-full mt-4",exit:{opacity:0,scaleX:0,height:0,transition:{duration:.4,delay:.15,ease:"easeInOut"}},children:f.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})})]}),f.jsxs(R.motion.button,{onClick:t,className:"flex h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",exit:{opacity:0,y:-8,scale:.96,transition:{duration:.5,delay:0,ease:"easeInOut"}},whileHover:{opacity:1,scale:[1,1.02,1],transition:{duration:.2}},whileTap:{scale:.98},children:[f.jsx(we.Logout,{size:24,className:"text-neutral-default-default"}),f.jsx("span",{className:"text-neutral-default-default font-semibold text-sm",children:"Cerrar sesión"})]})]})})});function ns({currentPage:i=1,totalPages:e=0,onPageChange:t}){const r=a=>{a>=1&&a<=e&&a!==i&&t?.(a)},s=(()=>{const a=[];if(e>7)if(a.push(1),i<=4){for(let l=2;l<=5;l++)a.push(l);a.push("ellipsis"),a.push(e)}else if(i>=e-3){a.push("ellipsis");for(let l=e-4;l<=e;l++)a.push(l)}else{a.push("ellipsis");for(let l=i-1;l<=i+1;l++)a.push(l);a.push("ellipsis"),a.push(e)}else for(let l=1;l<=e;l++)a.push(l);return a})();return f.jsxs("div",{className:"flex items-center justify-center gap-2 p-4",children:[f.jsx(R.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>r(i-1),disabled:i===1,className:"px-4 py-2 text-blue-400 hover:text-blue-300 disabled:text-gray-600 disabled:cursor-not-allowed transition-colors",children:"Anterior"}),f.jsx("div",{className:"flex items-center gap-1",children:s.map((a,o)=>{if(a==="ellipsis")return f.jsx("span",{className:"px-3 py-2 text-gray-400",children:"..."},`ellipsis-${o}`);const l=a,u=l===i;return f.jsxs(R.motion.button,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>r(l),className:`relative px-3 py-2 min-w-[40px] text-center transition-colors ${u?"text-white":"text-gray-400 hover:text-white"}`,children:[u&&f.jsx(R.motion.div,{layoutId:"activePage",className:"absolute inset-0 border-2 border-blue-500 rounded-md",initial:!1,transition:{type:"spring",stiffness:500,damping:30}}),f.jsx("span",{className:"relative z-10",children:l})]},l)})}),f.jsx(R.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>r(i+1),disabled:i===e,className:"px-4 py-2 text-blue-400 hover:text-blue-300 disabled:text-gray-600 disabled:cursor-not-allowed transition-colors",children:"Siguiente"})]})}function is({profileImage:i,size:e,sizeImage:t=5.5}){const[r,n]=L.useState(!1);return f.jsx(f.Fragment,{children:i&&!r?f.jsx("img",{onError:()=>{n(!0)},src:i,className:`w-${t} h-${t} rounded-full`}):f.jsx(Xr,{size:e,name:i,variant:"beam",colors:["#92A1C6","#146A7C","#F0AB3D","#C271B4","#C20D90"]})})}const ss=({label:i,onOptionClick:e,value:t=[],isFetching:r=!1,options:n,multiple:s=!0,onClear:a,onClose:o,className:l,id:u,emptyMessage:c="No hay opciones disponibles",optionValue:h,optionLabel:p,renderOption:m,renderSelection:_,containerClassName:d,buttonClassName:g,dropdownClassName:x,displayMode:v="compact",onRemoveOption:b})=>{const[T,y]=L.useState(!1),[O,q]=L.useState(!1),C=L.useRef(null),j=t&&t.length>0,N=n.filter(S=>t.includes(h(S))),F=()=>T||j||O?"-top-2 left-2 scale-90":"top-1/2 -translate-y-1/2 scale-100";L.useEffect(()=>{const S=P=>{C.current&&!C.current.contains(P.target)&&y(!1)};return T&&document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[T]);const D=()=>{y(!T)},M=S=>{const P=h(S);e(P,S),!s&&o&&o()},H=S=>{S.stopPropagation(),q(!1),S.target.blur(),a?.()},V=(S,P)=>{P?.stopPropagation();const B=h(S);b?.(B)},z=({option:S,onRemove:P})=>f.jsxs("div",{className:"inline-flex items-center gap-1 px-2 py-1 bg-primary-default-default text-white text-xs rounded-md",children:[f.jsx("span",{className:"truncate max-w-20",children:p(S)}),f.jsx("button",{onClick:B=>P(S,B),className:"flex-shrink-0 hover:bg-primary-strong-default rounded-sm p-0.5 transition-colors",type:"button",tabIndex:-1,children:f.jsx(we.Close,{size:12,className:""})})]}),U=({option:S,isSelected:P,onSelect:B,isMultiple:ee})=>f.jsxs("div",{onClick:B,className:k("px-3 py-2 cursor-pointer flex items-center transition-colors",P?"bg-primary-default-default text-white":"hover:bg-neutral-medium-selected text-neutral-default-default"),children:[ee&&f.jsx("input",{type:"checkbox",checked:P,onChange:()=>{},className:"mr-2 pointer-events-none"}),f.jsx("span",{children:p(S)})]}),ne=({selectedOptions:S})=>S.length===0?null:v==="chips"&&s?f.jsx("div",{className:"flex items-center gap-1 flex-wrap py-1",children:S.map(P=>f.jsx(z,{option:P,onRemove:V},h(P)))}):S.length===1?f.jsx("span",{children:p(S[0])}):f.jsxs("span",{children:[S.length," seleccionados"]}),ce=m||U,w=_||ne;return f.jsx("div",{className:k("relative",d),ref:C,children:f.jsxs("div",{className:k("relative",l),children:[f.jsxs("button",{id:u,type:"button",onClick:D,onFocus:()=>q(!0),onBlur:()=>q(!1),className:k("w-full px-3 text-left border-1 rounded-lg transition-all duration-200 ease-in-out","flex items-center justify-between bg-transparent","focus:outline-none",v==="chips"&&s&&j?"min-h-12 py-2":"h-12",T||O?"border-primary-default-default border-2":"border-neutral-default-default hover:border-neutral-strong-default",g),children:[f.jsx("label",{htmlFor:u,className:k("absolute left-3 transition-all duration-200 ease-in-out pointer-events-none bg-inherit px-1 z-10","text-sm",F(),j||T||O?"text-primary-default-default":"text-neutral-medium-default"),children:i}),f.jsx("div",{className:"flex-1 min-w-0",children:f.jsx(w,{selectedOptions:N})}),f.jsxs("div",{className:"flex items-center gap-2 ml-2",children:[r&&f.jsx(nr,{size:"small"}),j&&a&&f.jsx("button",{onClick:H,className:"text-neutral-medium-default hover:text-neutral-default-default transition-colors",type:"button",tabIndex:-1,children:f.jsx(we.Close,{size:16,className:""})}),f.jsx(we.ChevronDown,{size:20,className:k("transition-transform text-neutral-default-default",T?"rotate-180":"")})]})]}),T&&f.jsx("div",{className:k("absolute z-50 w-full mt-1 bg-white border border-neutral-default-default rounded-md shadow-lg","max-h-60 overflow-auto",x),children:n.length===0?f.jsx("div",{className:"px-3 py-2 text-neutral-medium-default",children:c}):n.map(S=>{const P=h(S),B=t.includes(P);return f.jsx(ce,{option:S,isSelected:B,onSelect:()=>M(S),isMultiple:s},P)})})]})})},as=L.memo(ss),os=({children:i})=>f.jsxs("div",{className:"flex h-screen w-full",children:[i,f.jsx("main",{className:"w-full h-full overflow-y-auto",children:f.jsx(Ti.Outlet,{})})]}),tn=L.createContext(void 0),ir=()=>{const i=L.useContext(tn);if(!i)throw new Error("useSidebar must be used within a Sidebar.Root");return i};function Ee(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function rn(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}/*!
24
36
  * GSAP 3.13.0
25
37
  * https://gsap.com
26
38
  *
27
39
  * @license Copyright 2008-2025, GreenSock. All rights reserved.
28
40
  * Subject to the terms at https://gsap.com/standard-license
29
41
  * @author: Jack Doyle, jack@greensock.com
30
- */var dt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Qt={duration:.5,overwrite:!1,delay:0},Ye,rt,Z,xt=1e8,I=1/xt,Xe=Math.PI*2,bn=Xe/4,qn=0,Vr=Math.sqrt,Cn=Math.cos,Sn=Math.sin,$=function(t){return typeof t=="string"},H=function(t){return typeof t=="function"},jt=function(t){return typeof t=="number"},We=function(t){return typeof t>"u"},bt=function(t){return typeof t=="object"},ot=function(t){return t!==!1},Ge=function(){return typeof window<"u"},je=function(t){return H(t)||$(t)},Yr=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},it=Array.isArray,Je=/(?:-?\.?\d|\.)+/gi,Xr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Kt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Qe=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Wr=/[+-]=-?[.\d]+/,Gr=/[^,'"\[\]\s]+/gi,On=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,B,qt,Ke,$e,_t={},Pe={},Jr,Qr=function(t){return(Pe=te(t,_t))&&ft},tr=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},de=function(t,e){return!e&&console.warn(t)},Kr=function(t,e){return t&&(_t[t]=e)&&Pe&&(Pe[t]=e)||_t},_e=function(){return 0},jn={suppressEvents:!0,isStart:!0,kill:!1},ke={suppressEvents:!0,kill:!1},Pn={suppressEvents:!0},er={},Rt=[],rr={},$r,pt={},ir={},ti=30,Re=[],nr="",sr=function(t){var e=t[0],r,i;if(bt(e)||H(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(i=Re.length;i--&&!Re[i].targetTest(e););r=Re[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Pi(t[i],r)))||t.splice(i,1);return t},Zt=function(t){return t._gsap||sr(wt(t))[0]._gsap},ei=function(t,e,r){return(r=t[e])&&H(r)?t[e]():We(r)&&t.getAttribute&&t.getAttribute(e)||r},lt=function(t,e){return(t=t.split(",")).forEach(e)||t},Y=function(t){return Math.round(t*1e5)/1e5||0},J=function(t){return Math.round(t*1e7)/1e7||0},$t=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),r==="+"?t+i:r==="-"?t-i:r==="*"?t*i:t/i},kn=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},Ee=function(){var t=Rt.length,e=Rt.slice(0),r,i;for(rr={},Rt.length=0,r=0;r<t;r++)i=e[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},ar=function(t){return!!(t._initted||t._startAt||t.add)},ri=function(t,e,r,i){Rt.length&&!rt&&Ee(),t.render(e,r,!!(rt&&e<0&&ar(t))),Rt.length&&!rt&&Ee()},ii=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Gr).length<2?e:$(t)?t.trim():t},ni=function(t){return t},mt=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Rn=function(t){return function(e,r){for(var i in r)i in e||i==="duration"&&t||i==="ease"||(e[i]=r[i])}},te=function(t,e){for(var r in e)t[r]=e[r];return t},si=function a(t,e){for(var r in e)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=bt(e[r])?a(t[r]||(t[r]={}),e[r]):e[r]);return t},Ae=function(t,e){var r={},i;for(i in t)i in e||(r[i]=t[i]);return r},pe=function(t){var e=t.parent||B,r=t.keyframes?Rn(it(t.keyframes)):mt;if(ot(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t},En=function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0},ai=function(t,e,r,i,n){var s=t[i],o;if(n)for(o=e[n];s&&s[n]>o;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e},Ne=function(t,e,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Et=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Bt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},An=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},or=function(t,e,r,i){return t._startAt&&(rt?t._startAt.revert(ke):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Nn=function a(t){return!t||t._ts&&a(t.parent)},oi=function(t){return t._repeat?ee(t._tTime,t=t.duration()+t._rDelay)*t:0},ee=function(t,e){var r=Math.floor(t=J(t/e));return t&&r===t?r-1:r},Me=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},De=function(t){return t._end=J(t._start+(t._tDur/Math.abs(t._ts||t._rts||I)||0))},Ie=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=J(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),De(t),r._dirty||Bt(r,t)),t},li=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Me(t.rawTime(),e),(!e._dur||ge(0,e.totalDuration(),r)-e._tTime>I)&&e.render(r,!0)),Bt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-I}},Ct=function(t,e,r,i){return e.parent&&Et(e),e._start=J((jt(r)?r:r||t!==B?yt(t,r,e):t._time)+e._delay),e._end=J(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),ai(t,e,"_first","_last",t._sort?"_start":0),lr(e)||(t._recent=e),i||li(t,e),t._ts<0&&Ie(t,t._tTime),t},ui=function(t,e){return(_t.ScrollTrigger||tr("scrollTrigger",e))&&_t.ScrollTrigger.create(e,t)},fi=function(t,e,r,i,n){if(gr(t,e,n),!t._initted)return 1;if(!r&&t._pt&&!rt&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&$r!==vt.frame)return Rt.push(t),t._lazy=[n,i],1},Mn=function a(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||a(e))},lr=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Dn=function(t,e,r,i){var n=t.ratio,s=e<0||!e&&(!t._start&&Mn(t)&&!(!t._initted&&lr(t))||(t._ts<0||t._dp._ts<0)&&!lr(t))?0:1,o=t._rDelay,l=0,u,f,c;if(o&&t._repeat&&(l=ge(0,t._tDur,e),f=ee(l,o),t._yoyo&&f&1&&(s=1-s),f!==ee(t._tTime,o)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||rt||i||t._zTime===I||!e&&t._zTime){if(!t._initted&&fi(t,e,i,r,l))return;for(c=t._zTime,t._zTime=e||(r?I:0),r||(r=e&&!c),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,u=t._pt;u;)u.r(s,u.d),u=u._next;e<0&&or(t,e,r,!0),t._onUpdate&&!r&&gt(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&gt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Et(t,1),!r&&!rt&&(gt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},In=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<e)return i;i=i._prev}},re=function(t,e,r,i){var n=t._repeat,s=J(e)||0,o=t._tTime/t._tDur;return o&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:J(s*(n+1)+t._rDelay*n):s,o>0&&!i&&Ie(t,t._tTime=t._tDur*o),t.parent&&De(t),r||Bt(t.parent,t),t},hi=function(t){return t instanceof at?Bt(t):re(t,t._dur)},Fn={_start:0,endTime:_e,totalDuration:_e},yt=function a(t,e,r){var i=t.labels,n=t._recent||Fn,s=t.duration()>=xt?n.endTime(!1):t._dur,o,l,u;return $(e)&&(isNaN(e)||e in i)?(l=e.charAt(0),u=e.substr(-1)==="%",o=e.indexOf("="),l==="<"||l===">"?(o>=0&&(e=e.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(u?(o<0?n:r).totalDuration()/100:1)):o<0?(e in i||(i[e]=s),i[e]):(l=parseFloat(e.charAt(o-1)+e.substr(o+1)),u&&r&&(l=l/100*(it(r)?r[0]:r).totalDuration()),o>1?a(t,e.substr(0,o-1),r)+l:s+l)):e==null?s:+e},me=function(t,e,r){var i=jt(e[1]),n=(i?2:1)+(t<2?0:1),s=e[n],o,l;if(i&&(s.duration=e[1]),s.parent=r,t){for(o=s,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=ot(l.vars.inherit)&&l.parent;s.immediateRender=ot(o.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new Q(e[0],s,e[n+1])},At=function(t,e){return t||t===0?e(t):e},ge=function(t,e,r){return r<t?t:r>e?e:r},nt=function(t,e){return!$(t)||!(e=On.exec(t))?"":e[1]},Ln=function(t,e,r){return At(r,function(i){return ge(t,e,i)})},ur=[].slice,ci=function(t,e){return t&&bt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&bt(t[0]))&&!t.nodeType&&t!==qt},Zn=function(t,e,r){return r===void 0&&(r=[]),t.forEach(function(i){var n;return $(i)&&!e||ci(i,1)?(n=r).push.apply(n,wt(i)):r.push(i)})||r},wt=function(t,e,r){return Z&&!e&&Z.selector?Z.selector(t):$(t)&&!r&&(Ke||!ne())?ur.call((e||$e).querySelectorAll(t),0):it(t)?Zn(t,r):ci(t)?ur.call(t,0):t?[t]:[]},fr=function(t){return t=wt(t)[0]||de("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return wt(e,r.querySelectorAll?r:r===t?de("Invalid scope")||$e.createElement("div"):t)}},di=function(t){return t.sort(function(){return .5-Math.random()})},_i=function(t){if(H(t))return t;var e=bt(t)?t:{each:t},r=zt(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},o=i>0&&i<1,l=isNaN(i)||o,u=e.axis,f=i,c=i;return $(i)?f=c={center:.5,edges:.5,end:1}[i]||0:!o&&l&&(f=i[0],c=i[1]),function(_,p,m){var h=(m||e).length,g=s[h],v,y,b,T,x,C,S,O,q;if(!g){if(q=e.grid==="auto"?0:(e.grid||[1,xt])[1],!q){for(S=-xt;S<(S=m[q++].getBoundingClientRect().left)&&q<h;);q<h&&q--}for(g=s[h]=[],v=l?Math.min(q,h)*f-.5:i%q,y=q===xt?0:l?h*c/q-.5:i/q|0,S=0,O=xt,C=0;C<h;C++)b=C%q-v,T=y-(C/q|0),g[C]=x=u?Math.abs(u==="y"?T:b):Vr(b*b+T*T),x>S&&(S=x),x<O&&(O=x);i==="random"&&di(g),g.max=S-O,g.min=O,g.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(q>h?h-1:u?u==="y"?h/q:q:Math.max(q,h/q))||0)*(i==="edges"?-1:1),g.b=h<0?n-h:n,g.u=nt(e.amount||e.each)||0,r=r&&h<0?Si(r):r}return h=(g[_]-g.min)/g.max||0,J(g.b+(r?r(h):h)*g.v)+g.u}},hr=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=J(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(jt(r)?0:nt(r))}},pi=function(t,e){var r=it(t),i,n;return!r&&bt(t)&&(i=r=t.radius||xt,t.values?(t=wt(t.values),(n=!jt(t[0]))&&(i*=i)):t=hr(t.increment)),At(e,r?H(t)?function(s){return n=t(s),Math.abs(n-s)<=i?n:s}:function(s){for(var o=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),u=xt,f=0,c=t.length,_,p;c--;)n?(_=t[c].x-o,p=t[c].y-l,_=_*_+p*p):_=Math.abs(t[c]-o),_<u&&(u=_,f=c);return f=!i||u<=i?t[f]:s,n||f===s||jt(s)?f:f+nt(s)}:hr(t))},mi=function(t,e,r,i){return At(it(t)?!e:r===!0?!!(r=0):!i,function(){return it(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+r*.99))/r)*r*i)/i})},Bn=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return e.reduce(function(n,s){return s(n)},i)}},zn=function(t,e){return function(r){return t(parseFloat(r))+(e||nt(r))}},Un=function(t,e,r){return vi(t,e,0,1,r)},gi=function(t,e,r){return At(r,function(i){return t[~~e(i)]})},Hn=function a(t,e,r){var i=e-t;return it(t)?gi(t,a(0,t.length),e):At(r,function(n){return(i+(n-t)%i)%i+t})},Vn=function a(t,e,r){var i=e-t,n=i*2;return it(t)?gi(t,a(0,t.length-1),e):At(r,function(s){return s=(n+(s-t)%n)%n||0,t+(s>i?n-s:s)})},ve=function(t){for(var e=0,r="",i,n,s,o;~(i=t.indexOf("random(",e));)s=t.indexOf(")",i),o=t.charAt(i+7)==="[",n=t.substr(i+7,s-i-7).match(o?Gr:Je),r+=t.substr(e,i-e)+mi(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),e=s+1;return r+t.substr(e,t.length-e)},vi=function(t,e,r,i,n){var s=e-t,o=i-r;return At(n,function(l){return r+((l-t)/s*o||0)})},Yn=function a(t,e,r,i){var n=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!n){var s=$(t),o={},l,u,f,c,_;if(r===!0&&(i=1)&&(r=null),s)t={p:t},e={p:e};else if(it(t)&&!it(e)){for(f=[],c=t.length,_=c-2,u=1;u<c;u++)f.push(a(t[u-1],t[u]));c--,n=function(m){m*=c;var h=Math.min(_,~~m);return f[h](m-h)},r=e}else i||(t=te(it(t)?[]:{},t));if(!f){for(l in e)pr.call(o,t,l,"get",e[l]);n=function(m){return yr(m,o)||(s?t.p:t)}}}return At(r,n)},xi=function(t,e,r){var i=t.labels,n=xt,s,o,l;for(s in i)o=i[s]-e,o<0==!!r&&o&&n>(o=Math.abs(o))&&(l=s,n=o);return l},gt=function(t,e,r){var i=t.vars,n=i[e],s=Z,o=t._ctx,l,u,f;if(n)return l=i[e+"Params"],u=i.callbackScope||t,r&&Rt.length&&Ee(),o&&(Z=o),f=l?n.apply(u,l):n.call(u),Z=s,f},xe=function(t){return Et(t),t.scrollTrigger&&t.scrollTrigger.kill(!!rt),t.progress()<1&&gt(t,"onInterrupt"),t},ie,yi=[],wi=function(t){if(t)if(t=!t.name&&t.default||t,Ge()||t.headless){var e=t.name,r=H(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:_e,render:yr,add:pr,kill:ls,modifier:os,rawVars:0},s={targetTest:0,get:0,getSetter:xr,aliases:{},register:0};if(ne(),t!==i){if(pt[e])return;mt(i,mt(Ae(t,n),s)),te(i.prototype,te(n,Ae(t,s))),pt[i.prop=e]=i,t.targetTest&&(Re.push(i),er[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Kr(e,i),t.register&&t.register(ft,i,ut)}else yi.push(t)},F=255,ye={aqua:[0,F,F],lime:[0,F,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,F],navy:[0,0,128],white:[F,F,F],olive:[128,128,0],yellow:[F,F,0],orange:[F,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[F,0,0],pink:[F,192,203],cyan:[0,F,F],transparent:[F,F,F,0]},cr=function(t,e,r){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(r-e)*t*6:t<.5?r:t*3<2?e+(r-e)*(2/3-t)*6:e)*F+.5|0},Ti=function(t,e,r){var i=t?jt(t)?[t>>16,t>>8&F,t&F]:0:ye.black,n,s,o,l,u,f,c,_,p,m;if(!i){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ye[t])i=ye[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),o=t.charAt(3),t="#"+n+n+s+s+o+o+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return i=parseInt(t.substr(1,6),16),[i>>16,i>>8&F,i&F,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&F,t&F]}else if(t.substr(0,3)==="hsl"){if(i=m=t.match(Je),!e)l=+i[0]%360/360,u=+i[1]/100,f=+i[2]/100,s=f<=.5?f*(u+1):f+u-f*u,n=f*2-s,i.length>3&&(i[3]*=1),i[0]=cr(l+1/3,n,s),i[1]=cr(l,n,s),i[2]=cr(l-1/3,n,s);else if(~t.indexOf("="))return i=t.match(Xr),r&&i.length<4&&(i[3]=1),i}else i=t.match(Je)||ye.transparent;i=i.map(Number)}return e&&!m&&(n=i[0]/F,s=i[1]/F,o=i[2]/F,c=Math.max(n,s,o),_=Math.min(n,s,o),f=(c+_)/2,c===_?l=u=0:(p=c-_,u=f>.5?p/(2-c-_):p/(c+_),l=c===n?(s-o)/p+(s<o?6:0):c===s?(o-n)/p+2:(n-s)/p+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(f*100+.5)),r&&i.length<4&&(i[3]=1),i},bi=function(t){var e=[],r=[],i=-1;return t.split(Nt).forEach(function(n){var s=n.match(Kt)||[];e.push.apply(e,s),r.push(i+=s.length+1)}),e.c=r,e},qi=function(t,e,r){var i="",n=(t+i).match(Nt),s=e?"hsla(":"rgba(",o=0,l,u,f,c;if(!n)return t;if(n=n.map(function(_){return(_=Ti(_,e,1))&&s+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),r&&(f=bi(t),l=r.c,l.join(i)!==f.c.join(i)))for(u=t.replace(Nt,"1").split(Kt),c=u.length-1;o<c;o++)i+=u[o]+(~l.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:r).shift());if(!u)for(u=t.split(Nt),c=u.length-1;o<c;o++)i+=u[o]+n[o];return i+u[c]},Nt=(function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ye)a+="|"+t+"\\b";return new RegExp(a+")","gi")})(),Xn=/hsl[a]?\(/,Ci=function(t){var e=t.join(" "),r;if(Nt.lastIndex=0,Nt.test(e))return r=Xn.test(e),t[1]=qi(t[1],r),t[0]=qi(t[0],r,bi(t[1])),!0},we,vt=(function(){var a=Date.now,t=500,e=33,r=a(),i=r,n=1e3/240,s=n,o=[],l,u,f,c,_,p,m=function h(g){var v=a()-i,y=g===!0,b,T,x,C;if((v>t||v<0)&&(r+=v-e),i+=v,x=i-r,b=x-s,(b>0||y)&&(C=++c.frame,_=x-c.time*1e3,c.time=x=x/1e3,s+=b+(b>=n?4:n-b),T=1),y||(l=u(h)),T)for(p=0;p<o.length;p++)o[p](x,_,C,g)};return c={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return _/(1e3/(g||60))},wake:function(){Jr&&(!Ke&&Ge()&&(qt=Ke=window,$e=qt.document||{},_t.gsap=ft,(qt.gsapVersions||(qt.gsapVersions=[])).push(ft.version),Qr(Pe||qt.GreenSockGlobals||!qt.gsap&&qt||{}),yi.forEach(wi)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&c.sleep(),u=f||function(g){return setTimeout(g,s-c.time*1e3+1|0)},we=1,m(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(l),we=0,u=_e},lagSmoothing:function(g,v){t=g||1/0,e=Math.min(v||33,t)},fps:function(g){n=1e3/(g||240),s=c.time*1e3+n},add:function(g,v,y){var b=v?function(T,x,C,S){g(T,x,C,S),c.remove(b)}:g;return c.remove(g),o[y?"unshift":"push"](b),ne(),b},remove:function(g,v){~(v=o.indexOf(g))&&o.splice(v,1)&&p>=v&&p--},_listeners:o},c})(),ne=function(){return!we&&vt.wake()},k={},Wn=/^[\d.\-M][\d.\-,\s]/,Gn=/["']/g,Jn=function(t){for(var e={},r=t.substr(1,t.length-3).split(":"),i=r[0],n=1,s=r.length,o,l,u;n<s;n++)l=r[n],o=n!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),e[i]=isNaN(u)?u.replace(Gn,"").trim():+u,i=l.substr(o+1).trim();return e},Qn=function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)},Kn=function(t){var e=(t+"").split("("),r=k[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[Jn(e[1])]:Qn(t).split(",").map(ii)):k._CE&&Wn.test(t)?k._CE("",t):r},Si=function(t){return function(e){return 1-t(1-e)}},Oi=function a(t,e){for(var r=t._first,i;r;)r instanceof at?a(r,e):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==e&&(r.timeline?a(r.timeline,e):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=e)),r=r._next},zt=function(t,e){return t&&(H(t)?t:k[t]||Kn(t))||e},Ut=function(t,e,r,i){r===void 0&&(r=function(l){return 1-e(1-l)}),i===void 0&&(i=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var n={easeIn:e,easeOut:r,easeInOut:i},s;return lt(t,function(o){k[o]=_t[o]=n,k[s=o.toLowerCase()]=r;for(var l in n)k[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=k[o+"."+l]=n[l]}),n},ji=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},dr=function a(t,e,r){var i=e>=1?e:1,n=(r||(t?.3:.45))/(e<1?e:1),s=n/Xe*(Math.asin(1/i)||0),o=function(f){return f===1?1:i*Math.pow(2,-10*f)*Sn((f-s)*n)+1},l=t==="out"?o:t==="in"?function(u){return 1-o(1-u)}:ji(o);return n=Xe/n,l.config=function(u,f){return a(t,u,f)},l},_r=function a(t,e){e===void 0&&(e=1.70158);var r=function(s){return s?--s*s*((e+1)*s+e)+1:0},i=t==="out"?r:t==="in"?function(n){return 1-r(1-n)}:ji(r);return i.config=function(n){return a(t,n)},i};lt("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,t){var e=t<5?t+1:t;Ut(a+",Power"+(e-1),t?function(r){return Math.pow(r,e)}:function(r){return r},function(r){return 1-Math.pow(1-r,e)},function(r){return r<.5?Math.pow(r*2,e)/2:1-Math.pow((1-r)*2,e)/2})}),k.Linear.easeNone=k.none=k.Linear.easeIn,Ut("Elastic",dr("in"),dr("out"),dr()),(function(a,t){var e=1/t,r=2*e,i=2.5*e,n=function(o){return o<e?a*o*o:o<r?a*Math.pow(o-1.5/t,2)+.75:o<i?a*(o-=2.25/t)*o+.9375:a*Math.pow(o-2.625/t,2)+.984375};Ut("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75),Ut("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)}),Ut("Circ",function(a){return-(Vr(1-a*a)-1)}),Ut("Sine",function(a){return a===1?1:-Cn(a*bn)+1}),Ut("Back",_r("in"),_r("out"),_r()),k.SteppedEase=k.steps=_t.SteppedEase={config:function(t,e){t===void 0&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0,s=1-I;return function(o){return((i*ge(0,s,o)|0)+n)*r}}},Qt.ease=k["quad.out"],lt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return nr+=a+","+a+"Params,"});var Pi=function(t,e){this.id=qn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ei,this.set=e?e.getSetter:xr},Te=(function(){function a(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,re(this,+e.duration,1,1),this.data=e.data,Z&&(this._ctx=Z,Z.data.push(this)),we||vt.wake()}var t=a.prototype;return t.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},t.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,re(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,i){if(ne(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ie(this,r),!n._dp||n.parent||li(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Ct(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===I||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),ri(this,r,i)),this},t.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+oi(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},t.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+oi(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?ee(this._tTime,n)+1:1},t.timeScale=function(r,i){if(!arguments.length)return this._rts===-I?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?Me(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-I?0:this._rts,this.totalTime(ge(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),De(this),An(this)},t.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ne(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==I&&(this._tTime-=I)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Ct(i,this,r-this._delay),this}return this._start},t.endTime=function(r){return this._start+(ot(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Me(i.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=Pn);var i=rt;return rt=r,ar(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),rt=i,this},t.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):n},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,hi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,hi(this),i?this.time(i):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,i){return this.totalTime(yt(this,r),ot(i))},t.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,ot(i)),this._dur||(this._zTime=-I),this},t.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},t.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},t.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-I:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-I,this},t.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-I)},t.eventCallback=function(r,i,n){var s=this.vars;return arguments.length>1?(i?(s[r]=i,n&&(s[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},t.then=function(r){var i=this;return new Promise(function(n){var s=H(r)?r:ni,o=function(){var u=i.then;i.then=null,H(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=u),n(s),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?o():i._prom=o})},t.kill=function(){xe(this)},a})();mt(Te.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-I,_prom:0,_ps:!1,_rts:1});var at=(function(a){Hr(t,a);function t(r,i){var n;return r===void 0&&(r={}),n=a.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=ot(r.sortChildren),B&&Ct(r.parent||B,Ot(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&ui(Ot(n),r.scrollTrigger),n}var e=t.prototype;return e.to=function(i,n,s){return me(0,arguments,this),this},e.from=function(i,n,s){return me(1,arguments,this),this},e.fromTo=function(i,n,s,o){return me(2,arguments,this),this},e.set=function(i,n,s){return n.duration=0,n.parent=this,pe(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new Q(i,n,yt(this,s),1),this},e.call=function(i,n,s){return Ct(this,Q.delayedCall(0,i,n),s)},e.staggerTo=function(i,n,s,o,l,u,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=u,s.onCompleteParams=f,s.parent=this,new Q(i,s,yt(this,l)),this},e.staggerFrom=function(i,n,s,o,l,u,f){return s.runBackwards=1,pe(s).immediateRender=ot(s.immediateRender),this.staggerTo(i,n,s,o,l,u,f)},e.staggerFromTo=function(i,n,s,o,l,u,f,c){return o.startAt=s,pe(o).immediateRender=ot(o.immediateRender),this.staggerTo(i,n,o,l,u,f,c)},e.render=function(i,n,s){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,f=i<=0?0:J(i),c=this._zTime<0!=i<0&&(this._initted||!u),_,p,m,h,g,v,y,b,T,x,C,S;if(this!==B&&f>l&&i>=0&&(f=l),f!==this._tTime||s||c){if(o!==this._time&&u&&(f+=this._time-o,i+=this._time-o),_=f,T=this._start,b=this._ts,v=!b,c&&(u||(o=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(C=this._yoyo,g=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(g*100+i,n,s);if(_=J(f%g),f===l?(h=this._repeat,_=u):(x=J(f/g),h=~~x,h&&h===x&&(_=u,h--),_>u&&(_=u)),x=ee(this._tTime,g),!o&&this._tTime&&x!==h&&this._tTime-x*g-this._dur<=0&&(x=h),C&&h&1&&(_=u-_,S=1),h!==x&&!this._lock){var O=C&&x&1,q=O===(C&&h&1);if(h<x&&(O=!O),o=O?0:f%u?u:f,this._lock=1,this.render(o||(S?0:J(h*g)),n,!u)._lock=0,this._tTime=f,!n&&this.parent&&gt(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1),o&&o!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,q&&(this._lock=2,o=O?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;Oi(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=In(this,J(o),J(_)),y&&(f-=_-(_=y._start))),this._tTime=f,this._time=_,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,o=0),!o&&f&&!n&&!x&&(gt(this,"onStart"),this._tTime!==f))return this;if(_>=o&&i>=0)for(p=this._first;p;){if(m=p._next,(p._act||_>=p._start)&&p._ts&&y!==p){if(p.parent!==this)return this.render(i,n,s);if(p.render(p._ts>0?(_-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(_-p._start)*p._ts,n,s),_!==this._time||!this._ts&&!v){y=0,m&&(f+=this._zTime=-I);break}}p=m}else{p=this._last;for(var P=i<0?i:_;p;){if(m=p._prev,(p._act||P<=p._end)&&p._ts&&y!==p){if(p.parent!==this)return this.render(i,n,s);if(p.render(p._ts>0?(P-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(P-p._start)*p._ts,n,s||rt&&ar(p)),_!==this._time||!this._ts&&!v){y=0,m&&(f+=this._zTime=P?-I:I);break}}p=m}}if(y&&!n&&(this.pause(),y.render(_>=o?0:-I)._zTime=_>=o?1:-1,this._ts))return this._start=T,De(this),this.render(i,n,s);this._onUpdate&&!n&&gt(this,"onUpdate",!0),(f===l&&this._tTime>=this.totalDuration()||!f&&o)&&(T===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(f===l&&this._ts>0||!f&&this._ts<0)&&Et(this,1),!n&&!(i<0&&!o)&&(f||o||!l)&&(gt(this,f===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(i,n){var s=this;if(jt(n)||(n=yt(this,n,i)),!(i instanceof Te)){if(it(i))return i.forEach(function(o){return s.add(o,n)}),this;if($(i))return this.addLabel(i,n);if(H(i))i=Q.delayedCall(0,i);else return this}return this!==i?Ct(this,i,n):this},e.getChildren=function(i,n,s,o){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-xt);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof Q?n&&l.push(u):(s&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,n,s)))),u=u._next;return l},e.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},e.remove=function(i){return $(i)?this.removeLabel(i):H(i)?this.killTweensOf(i):(i.parent===this&&Ne(this,i),i===this._recent&&(this._recent=this._last),Bt(this))},e.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=J(vt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),a.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},e.addLabel=function(i,n){return this.labels[i]=yt(this,n),this},e.removeLabel=function(i){return delete this.labels[i],this},e.addPause=function(i,n,s){var o=Q.delayedCall(0,n||_e,s);return o.data="isPause",this._hasPause=1,Ct(this,o,yt(this,i))},e.removePause=function(i){var n=this._first;for(i=yt(this,i);n;)n._start===i&&n.data==="isPause"&&Et(n),n=n._next},e.killTweensOf=function(i,n,s){for(var o=this.getTweensOf(i,s),l=o.length;l--;)Mt!==o[l]&&o[l].kill(i,n);return this},e.getTweensOf=function(i,n){for(var s=[],o=wt(i),l=this._first,u=jt(n),f;l;)l instanceof Q?kn(l._targets,o)&&(u?(!Mt||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(f=l.getTweensOf(o,n)).length&&s.push.apply(s,f),l=l._next;return s},e.tweenTo=function(i,n){n=n||{};var s=this,o=yt(s,i),l=n,u=l.startAt,f=l.onStart,c=l.onStartParams,_=l.immediateRender,p,m=Q.to(s,mt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale())||I,onStart:function(){if(s.pause(),!p){var g=n.duration||Math.abs((o-(u&&"time"in u?u.time:s._time))/s.timeScale());m._dur!==g&&re(m,g,0,1).render(m._time,!0,!0),p=1}f&&f.apply(m,c||[])}},n));return _?m.render(0):m},e.tweenFromTo=function(i,n,s){return this.tweenTo(n,mt({startAt:{time:yt(this,i)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),xi(this,yt(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),xi(this,yt(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+I)},e.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var o=this._first,l=this.labels,u;o;)o._start>=s&&(o._start+=i,o._end+=i),o=o._next;if(n)for(u in l)l[u]>=s&&(l[u]+=i);return Bt(this)},e.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return a.prototype.invalidate.call(this,i)},e.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Bt(this)},e.totalDuration=function(i){var n=0,s=this,o=s._last,l=xt,u,f,c;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(c=s.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>l&&s._sort&&o._ts&&!s._lock?(s._lock=1,Ct(s,o,f-o._delay,1)._lock=0):l=f,f<0&&o._ts&&(n-=f,(!c&&!s._dp||c&&c.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),l=0),o._end>n&&o._ts&&(n=o._end),o=u;re(s,s===B&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(i){if(B._ts&&(ri(B,Me(i,B)),$r=vt.frame),vt.frame>=ti){ti+=dt.autoSleep||120;var n=B._first;if((!n||!n._ts)&&dt.autoSleep&&vt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||vt.sleep()}}},t})(Te);mt(at.prototype,{_lock:0,_hasPause:0,_forcing:0});var $n=function(t,e,r,i,n,s,o){var l=new ut(this._pt,t,e,0,1,Mi,null,n),u=0,f=0,c,_,p,m,h,g,v,y;for(l.b=r,l.e=i,r+="",i+="",(v=~i.indexOf("random("))&&(i=ve(i)),s&&(y=[r,i],s(y,t,e),r=y[0],i=y[1]),_=r.match(Qe)||[];c=Qe.exec(i);)m=c[0],h=i.substring(u,c.index),p?p=(p+1)%5:h.substr(-5)==="rgba("&&(p=1),m!==_[f++]&&(g=parseFloat(_[f-1])||0,l._pt={_next:l._pt,p:h||f===1?h:",",s:g,c:m.charAt(1)==="="?$t(g,m)-g:parseFloat(m)-g,m:p&&p<4?Math.round:0},u=Qe.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=o,(Wr.test(i)||v)&&(l.e=0),this._pt=l,l},pr=function(t,e,r,i,n,s,o,l,u,f){H(i)&&(i=i(n||0,t,s));var c=t[e],_=r!=="get"?r:H(c)?u?t[e.indexOf("set")||!H(t["get"+e.substr(3)])?e:"get"+e.substr(3)](u):t[e]():c,p=H(c)?u?ns:Ai:vr,m;if($(i)&&(~i.indexOf("random(")&&(i=ve(i)),i.charAt(1)==="="&&(m=$t(_,i)+(nt(_)||0),(m||m===0)&&(i=m))),!f||_!==i||mr)return!isNaN(_*i)&&i!==""?(m=new ut(this._pt,t,e,+_||0,i-(_||0),typeof c=="boolean"?as:Ni,0,p),u&&(m.fp=u),o&&m.modifier(o,this,t),this._pt=m):(!c&&!(e in t)&&tr(e,i),$n.call(this,t,e,_,i,p,l||dt.stringFilter,u))},ts=function(t,e,r,i,n){if(H(t)&&(t=be(t,n,e,r,i)),!bt(t)||t.style&&t.nodeType||it(t)||Yr(t))return $(t)?be(t,n,e,r,i):t;var s={},o;for(o in t)s[o]=be(t[o],n,e,r,i);return s},ki=function(t,e,r,i,n,s){var o,l,u,f;if(pt[t]&&(o=new pt[t]).init(n,o.rawVars?e[t]:ts(e[t],i,n,s,r),r,i,s)!==!1&&(r._pt=l=new ut(r._pt,n,t,0,1,o.render,o,0,o.priority),r!==ie))for(u=r._ptLookup[r._targets.indexOf(n)],f=o._props.length;f--;)u[o._props[f]]=l;return o},Mt,mr,gr=function a(t,e,r){var i=t.vars,n=i.ease,s=i.startAt,o=i.immediateRender,l=i.lazy,u=i.onUpdate,f=i.runBackwards,c=i.yoyoEase,_=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,v=t.parent,y=v&&v.data==="nested"?v.vars.targets:g,b=t._overwrite==="auto"&&!Ye,T=t.timeline,x,C,S,O,q,P,N,E,M,X,W,U,G;if(T&&(!_||!n)&&(n="none"),t._ease=zt(n,Qt.ease),t._yEase=c?Si(zt(c===!0?n:c,Qt.ease)):0,c&&t._yoyo&&!t._repeat&&(c=t._yEase,t._yEase=t._ease,t._ease=c),t._from=!T&&!!i.runBackwards,!T||_&&!i.stagger){if(E=g[0]?Zt(g[0]).harness:0,U=E&&i[E.prop],x=Ae(i,er),h&&(h._zTime<0&&h.progress(1),e<0&&f&&o&&!p?h.render(-1,!0):h.revert(f&&m?ke:jn),h._lazy=0),s){if(Et(t._startAt=Q.set(g,mt({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!h&&ot(l),startAt:null,delay:0,onUpdate:u&&function(){return gt(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(rt||!o&&!p)&&t._startAt.revert(ke),o&&m&&e<=0&&r<=0){e&&(t._zTime=e);return}}else if(f&&m&&!h){if(e&&(o=!1),S=mt({overwrite:!1,data:"isFromStart",lazy:o&&!h&&ot(l),immediateRender:o,stagger:0,parent:v},x),U&&(S[E.prop]=U),Et(t._startAt=Q.set(g,S)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(rt?t._startAt.revert(ke):t._startAt.render(-1,!0)),t._zTime=e,!o)a(t._startAt,I,I);else if(!e)return}for(t._pt=t._ptCache=0,l=m&&ot(l)||l&&!m,C=0;C<g.length;C++){if(q=g[C],N=q._gsap||sr(g)[C]._gsap,t._ptLookup[C]=X={},rr[N.id]&&Rt.length&&Ee(),W=y===g?C:y.indexOf(q),E&&(M=new E).init(q,U||x,t,W,y)!==!1&&(t._pt=O=new ut(t._pt,q,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(ct){X[ct]=O}),M.priority&&(P=1)),!E||U)for(S in x)pt[S]&&(M=ki(S,x,t,W,q,y))?M.priority&&(P=1):X[S]=O=pr.call(t,q,S,"get",x[S],W,y,0,i.stringFilter);t._op&&t._op[C]&&t.kill(q,t._op[C]),b&&t._pt&&(Mt=t,B.killTweensOf(q,X,t.globalTime(e)),G=!t.parent,Mt=0),t._pt&&l&&(rr[N.id]=1)}P&&Di(t),t._onInit&&t._onInit(t)}t._onUpdate=u,t._initted=(!t._op||t._pt)&&!G,_&&e<=0&&T.render(xt,!0,!0)},es=function(t,e,r,i,n,s,o,l){var u=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,c,_,p;if(!u)for(u=t._ptCache[e]=[],_=t._ptLookup,p=t._targets.length;p--;){if(f=_[p][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return mr=1,t.vars[e]="+=0",gr(t,o),mr=0,l?de(e+" not eligible for reset"):1;u.push(f)}for(p=u.length;p--;)c=u[p],f=c._pt||c,f.s=(i||i===0)&&!n?i:f.s+(i||0)+s*f.c,f.c=r-f.s,c.e&&(c.e=Y(r)+nt(c.e)),c.b&&(c.b=f.s+nt(c.b))},rs=function(t,e){var r=t[0]?Zt(t[0]).harness:0,i=r&&r.aliases,n,s,o,l;if(!i)return e;n=te({},e);for(s in i)if(s in n)for(l=i[s].split(","),o=l.length;o--;)n[l[o]]=n[s];return n},is=function(t,e,r,i){var n=e.ease||i||"power1.inOut",s,o;if(it(e))o=r[t]||(r[t]=[]),e.forEach(function(l,u){return o.push({t:u/(e.length-1)*100,v:l,e:n})});else for(s in e)o=r[s]||(r[s]=[]),s==="ease"||o.push({t:parseFloat(t),v:e[s],e:n})},be=function(t,e,r,i,n){return H(t)?t.call(e,r,i,n):$(t)&&~t.indexOf("random(")?ve(t):t},Ri=nr+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ei={};lt(Ri+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return Ei[a]=1});var Q=(function(a){Hr(t,a);function t(r,i,n,s){var o;typeof i=="number"&&(n.duration=i,i=n,n=null),o=a.call(this,s?i:pe(i))||this;var l=o.vars,u=l.duration,f=l.delay,c=l.immediateRender,_=l.stagger,p=l.overwrite,m=l.keyframes,h=l.defaults,g=l.scrollTrigger,v=l.yoyoEase,y=i.parent||B,b=(it(r)||Yr(r)?jt(r[0]):"length"in i)?[r]:wt(r),T,x,C,S,O,q,P,N;if(o._targets=b.length?sr(b):de("GSAP target "+r+" not found. https://gsap.com",!dt.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=p,m||_||je(u)||je(f)){if(i=o.vars,T=o.timeline=new at({data:"nested",defaults:h||{},targets:y&&y.data==="nested"?y.vars.targets:b}),T.kill(),T.parent=T._dp=Ot(o),T._start=0,_||je(u)||je(f)){if(S=b.length,P=_&&_i(_),bt(_))for(O in _)~Ri.indexOf(O)&&(N||(N={}),N[O]=_[O]);for(x=0;x<S;x++)C=Ae(i,Ei),C.stagger=0,v&&(C.yoyoEase=v),N&&te(C,N),q=b[x],C.duration=+be(u,Ot(o),x,q,b),C.delay=(+be(f,Ot(o),x,q,b)||0)-o._delay,!_&&S===1&&C.delay&&(o._delay=f=C.delay,o._start+=f,C.delay=0),T.to(q,C,P?P(x,q,b):0),T._ease=k.none;T.duration()?u=f=0:o.timeline=0}else if(m){pe(mt(T.vars.defaults,{ease:"none"})),T._ease=zt(m.ease||i.ease||"none");var E=0,M,X,W;if(it(m))m.forEach(function(U){return T.to(b,U,">")}),T.duration();else{C={};for(O in m)O==="ease"||O==="easeEach"||is(O,m[O],C,m.easeEach);for(O in C)for(M=C[O].sort(function(U,G){return U.t-G.t}),E=0,x=0;x<M.length;x++)X=M[x],W={ease:X.e,duration:(X.t-(x?M[x-1].t:0))/100*u},W[O]=X.v,T.to(b,W,E),E+=W.duration;T.duration()<u&&T.to({},{duration:u-T.duration()})}}u||o.duration(u=T.duration())}else o.timeline=0;return p===!0&&!Ye&&(Mt=Ot(o),B.killTweensOf(b),Mt=0),Ct(y,Ot(o),n),i.reversed&&o.reverse(),i.paused&&o.paused(!0),(c||!u&&!m&&o._start===J(y._time)&&ot(c)&&Nn(Ot(o))&&y.data!=="nested")&&(o._tTime=-I,o.render(Math.max(0,-f)||0)),g&&ui(Ot(o),g),o}var e=t.prototype;return e.render=function(i,n,s){var o=this._time,l=this._tDur,u=this._dur,f=i<0,c=i>l-I&&!f?l:i<I?0:i,_,p,m,h,g,v,y,b,T;if(!u)Dn(this,i,n,s);else if(c!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f||this._lazy){if(_=c,b=this.timeline,this._repeat){if(h=u+this._rDelay,this._repeat<-1&&f)return this.totalTime(h*100+i,n,s);if(_=J(c%h),c===l?(m=this._repeat,_=u):(g=J(c/h),m=~~g,m&&m===g?(_=u,m--):_>u&&(_=u)),v=this._yoyo&&m&1,v&&(T=this._yEase,_=u-_),g=ee(this._tTime,h),_===o&&!s&&this._initted&&m===g)return this._tTime=c,this;m!==g&&(b&&this._yEase&&Oi(b,v),this.vars.repeatRefresh&&!v&&!this._lock&&_!==h&&this._initted&&(this._lock=s=1,this.render(J(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(fi(this,f?i:_,s,n,c))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==g))return this;if(u!==this._dur)return this.render(i,n,s)}if(this._tTime=c,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(T||this._ease)(_/u),this._from&&(this.ratio=y=1-y),!o&&c&&!n&&!g&&(gt(this,"onStart"),this._tTime!==c))return this;for(p=this._pt;p;)p.r(y,p.d),p=p._next;b&&b.render(i<0?i:b._dur*b._ease(_/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(f&&or(this,i,n,s),gt(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!n&&this.parent&&gt(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(f&&!this._onUpdate&&or(this,i,!0,!0),(i||!u)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&Et(this,1),!n&&!(f&&!o)&&(c||o||v)&&(gt(this,c===l?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),a.prototype.invalidate.call(this,i)},e.resetTo=function(i,n,s,o,l){we||vt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||gr(this,u),f=this._ease(u/this._dur),es(this,i,n,s,o,f,u,l)?this.resetTo(i,n,s,o,1):(Ie(this,0),this.parent||ai(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?xe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!rt),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Mt&&Mt.vars.overwrite!==!0)._first||xe(this),this.parent&&s!==this.timeline.totalDuration()&&re(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,l=i?wt(i):o,u=this._ptLookup,f=this._pt,c,_,p,m,h,g,v;if((!n||n==="all")&&En(o,l))return n==="all"&&(this._pt=0),xe(this);for(c=this._op=this._op||[],n!=="all"&&($(n)&&(h={},lt(n,function(y){return h[y]=1}),n=h),n=rs(o,n)),v=o.length;v--;)if(~l.indexOf(o[v])){_=u[v],n==="all"?(c[v]=n,m=_,p={}):(p=c[v]=c[v]||{},m=n);for(h in m)g=_&&_[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Ne(this,g,"_pt"),delete _[h]),p!=="all"&&(p[h]=1)}return this._initted&&!this._pt&&f&&xe(this),this},t.to=function(i,n){return new t(i,n,arguments[2])},t.from=function(i,n){return me(1,arguments)},t.delayedCall=function(i,n,s,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},t.fromTo=function(i,n,s){return me(2,arguments)},t.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(i,n)},t.killTweensOf=function(i,n,s){return B.killTweensOf(i,n,s)},t})(Te);mt(Q.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),lt("staggerTo,staggerFrom,staggerFromTo",function(a){Q[a]=function(){var t=new at,e=ur.call(arguments,0);return e.splice(a==="staggerFromTo"?5:4,0,0),t[a].apply(t,e)}});var vr=function(t,e,r){return t[e]=r},Ai=function(t,e,r){return t[e](r)},ns=function(t,e,r,i){return t[e](i.fp,r)},ss=function(t,e,r){return t.setAttribute(e,r)},xr=function(t,e){return H(t[e])?Ai:We(t[e])&&t.setAttribute?ss:vr},Ni=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},as=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Mi=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(t===1&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},yr=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},os=function(t,e,r,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(t,e,r),n=s},ls=function(t){for(var e=this._pt,r,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?Ne(this,e,"_pt"):e.dep||(r=1),e=i;return!r},us=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Di=function(t){for(var e=t._pt,r,i,n,s;e;){for(r=e._next,i=n;i&&i.pr>e.pr;)i=i._next;(e._prev=i?i._prev:s)?e._prev._next=e:n=e,(e._next=i)?i._prev=e:s=e,e=r}t._pt=n},ut=(function(){function a(e,r,i,n,s,o,l,u,f){this.t=r,this.s=n,this.c=s,this.p=i,this.r=o||Ni,this.d=l||this,this.set=u||vr,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=a.prototype;return t.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=us,this.m=r,this.mt=n,this.tween=i},a})();lt(nr+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return er[a]=1}),_t.TweenMax=_t.TweenLite=Q,_t.TimelineLite=_t.TimelineMax=at,B=new at({sortChildren:!1,defaults:Qt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),dt.stringFilter=Ci;var Ht=[],Fe={},fs=[],Ii=0,hs=0,wr=function(t){return(Fe[t]||fs).map(function(e){return e()})},Tr=function(){var t=Date.now(),e=[];t-Ii>2&&(wr("matchMediaInit"),Ht.forEach(function(r){var i=r.queries,n=r.conditions,s,o,l,u;for(o in i)s=qt.matchMedia(i[o]).matches,s&&(l=1),s!==n[o]&&(n[o]=s,u=1);u&&(r.revert(),l&&e.push(r))}),wr("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Ii=t,wr("matchMedia"))},Fi=(function(){function a(e,r){this.selector=r&&fr(r),this.data=[],this._r=[],this.isReverted=!1,this.id=hs++,e&&this.add(e)}var t=a.prototype;return t.add=function(r,i,n){H(r)&&(n=i,i=r,r=H);var s=this,o=function(){var u=Z,f=s.selector,c;return u&&u!==s&&u.data.push(s),n&&(s.selector=fr(n)),Z=s,c=i.apply(s,arguments),H(c)&&s._r.push(c),Z=u,s.selector=f,s.isReverted=!1,c};return s.last=o,r===H?o(s,function(l){return s.add(null,l)}):r?s[r]=o:o},t.ignore=function(r){var i=Z;Z=null,r(this),Z=i},t.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof a?r.push.apply(r,i.getTweens()):i instanceof Q&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,i){var n=this;if(r?(function(){for(var o=n.getTweens(),l=n.data.length,u;l--;)u=n.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(f){return o.splice(o.indexOf(f),1)}));for(o.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,c){return c.g-f.g||-1/0}).forEach(function(f){return f.t.revert(r)}),l=n.data.length;l--;)u=n.data[l],u instanceof at?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Q)&&u.revert&&u.revert(r);n._r.forEach(function(f){return f(r,n)}),n.isReverted=!0})():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),i)for(var s=Ht.length;s--;)Ht[s].id===this.id&&Ht.splice(s,1)},t.revert=function(r){this.kill(r||{})},a})(),cs=(function(){function a(e){this.contexts=[],this.scope=e,Z&&Z.data.push(this)}var t=a.prototype;return t.add=function(r,i,n){bt(r)||(r={matches:r});var s=new Fi(0,n||this.scope),o=s.conditions={},l,u,f;Z&&!s.selector&&(s.selector=Z.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(u in r)u==="all"?f=1:(l=qt.matchMedia(r[u]),l&&(Ht.indexOf(s)<0&&Ht.push(s),(o[u]=l.matches)&&(f=1),l.addListener?l.addListener(Tr):l.addEventListener("change",Tr)));return f&&i(s,function(c){return s.add(null,c)}),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},a})(),Le={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(i){return wi(i)})},timeline:function(t){return new at(t)},getTweensOf:function(t,e){return B.getTweensOf(t,e)},getProperty:function(t,e,r,i){$(t)&&(t=wt(t)[0]);var n=Zt(t||{}).get,s=r?ni:ii;return r==="native"&&(r=""),t&&(e?s((pt[e]&&pt[e].get||n)(t,e,r,i)):function(o,l,u){return s((pt[o]&&pt[o].get||n)(t,o,l,u))})},quickSetter:function(t,e,r){if(t=wt(t),t.length>1){var i=t.map(function(f){return ft.quickSetter(f,e,r)}),n=i.length;return function(f){for(var c=n;c--;)i[c](f)}}t=t[0]||{};var s=pt[e],o=Zt(t),l=o.harness&&(o.harness.aliases||{})[e]||e,u=s?function(f){var c=new s;ie._pt=0,c.init(t,r?f+r:f,ie,0,[t]),c.render(1,c),ie._pt&&yr(1,ie)}:o.set(t,l);return s?u:function(f){return u(t,l,r?f+r:f,o,1)}},quickTo:function(t,e,r){var i,n=ft.to(t,mt((i={},i[e]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(l,u,f){return n.resetTo(e,l,u,f)};return s.tween=n,s},isTweening:function(t){return B.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=zt(t.ease,Qt.ease)),si(Qt,t||{})},config:function(t){return si(dt,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(o){return o&&!pt[o]&&!_t[o]&&de(e+" effect requires "+o+" plugin.")}),ir[e]=function(o,l,u){return r(wt(o),mt(l||{},n),u)},s&&(at.prototype[e]=function(o,l,u){return this.add(ir[e](o,bt(l)?l:(u=l)&&{},this),u)})},registerEase:function(t,e){k[t]=zt(e)},parseEase:function(t,e){return arguments.length?zt(t,e):k},getById:function(t){return B.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var r=new at(t),i,n;for(r.smoothChildTiming=ot(t.smoothChildTiming),B.remove(r),r._dp=0,r._time=r._tTime=B._time,i=B._first;i;)n=i._next,(e||!(!i._dur&&i instanceof Q&&i.vars.onComplete===i._targets[0]))&&Ct(r,i,i._start-i._delay),i=n;return Ct(B,r,0),r},context:function(t,e){return t?new Fi(t,e):Z},matchMedia:function(t){return new cs(t)},matchMediaRefresh:function(){return Ht.forEach(function(t){var e=t.conditions,r,i;for(i in e)e[i]&&(e[i]=!1,r=1);r&&t.revert()})||Tr()},addEventListener:function(t,e){var r=Fe[t]||(Fe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Fe[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:Hn,wrapYoyo:Vn,distribute:_i,random:mi,snap:pi,normalize:Un,getUnit:nt,clamp:Ln,splitColor:Ti,toArray:wt,selector:fr,mapRange:vi,pipe:Bn,unitize:zn,interpolate:Yn,shuffle:di},install:Qr,effects:ir,ticker:vt,updateRoot:at.updateRoot,plugins:pt,globalTimeline:B,core:{PropTween:ut,globals:Kr,Tween:Q,Timeline:at,Animation:Te,getCache:Zt,_removeLinkedListItem:Ne,reverting:function(){return rt},context:function(t){return t&&Z&&(Z.data.push(t),t._ctx=Z),Z},suppressOverwrites:function(t){return Ye=t}}};lt("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Le[a]=Q[a]}),vt.add(at.updateRoot),ie=Le.to({},{duration:0});var ds=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},_s=function(t,e){var r=t._targets,i,n,s;for(i in e)for(n=r.length;n--;)s=t._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=ds(s,i)),s&&s.modifier&&s.modifier(e[i],t,r[n],i))},br=function(t,e){return{name:t,headless:1,rawVars:1,init:function(i,n,s){s._onInit=function(o){var l,u;if($(n)&&(l={},lt(n,function(f){return l[f]=1}),n=l),e){l={};for(u in n)l[u]=e(n[u]);n=l}_s(o,n)}}}},ft=Le.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,o,l;this.tween=r;for(s in e)l=t.getAttribute(s)||"",o=this.add(t,"setAttribute",(l||0)+"",e[s],i,n,0,0,s),o.op=s,o.b=l,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)rt?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},br("roundProps",hr),br("modifiers"),br("snap",pi))||Le;Q.version=at.version=ft.version="3.13.0",Jr=1,Ge()&&ne(),k.Power0,k.Power1,k.Power2,k.Power3,k.Power4,k.Linear,k.Quad,k.Cubic,k.Quart,k.Quint,k.Strong,k.Elastic,k.Back,k.SteppedEase,k.Bounce,k.Sine,k.Expo,k.Circ;/*!
42
+ */var _e={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},tt={duration:.5,overwrite:!1,delay:0},sr,se,$,Te=1e8,I=1/Te,ar=Math.PI*2,ls=ar/4,us=0,nn=Math.sqrt,cs=Math.cos,fs=Math.sin,re=function(e){return typeof e=="string"},G=function(e){return typeof e=="function"},Ae=function(e){return typeof e=="number"},or=function(e){return typeof e>"u"},Ce=function(e){return typeof e=="object"},fe=function(e){return e!==!1},lr=function(){return typeof window<"u"},Bt=function(e){return G(e)||re(e)},sn=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ae=Array.isArray,ur=/(?:-?\.?\d|\.)+/gi,an=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,rt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,cr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,on=/[+-]=-?[.\d]+/,ln=/[^,'"\[\]\s]+/gi,ds=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,W,Se,fr,dr,ge={},Vt={},un,cn=function(e){return(Vt=it(e,ge))&&pe},hr=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},xt=function(e,t){return!t&&console.warn(e)},fn=function(e,t){return e&&(ge[e]=t)&&Vt&&(Vt[e]=t)||ge},yt=function(){return 0},hs={suppressEvents:!0,isStart:!0,kill:!1},Ht={suppressEvents:!0,kill:!1},ps={suppressEvents:!0},pr={},Fe=[],mr={},dn,ve={},_r={},hn=30,Ut=[],gr="",vr=function(e){var t=e[0],r,n;if(Ce(t)||G(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(n=Ut.length;n--&&!Ut[n].targetTest(t););r=Ut[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Bn(e[n],r)))||e.splice(n,1);return e},Ue=function(e){return e._gsap||vr(Oe(e))[0]._gsap},pn=function(e,t,r){return(r=e[t])&&G(r)?e[t]():or(r)&&e.getAttribute&&e.getAttribute(t)||r},de=function(e,t){return(e=e.split(",")).forEach(t)||e},J=function(e){return Math.round(e*1e5)/1e5||0},Q=function(e){return Math.round(e*1e7)/1e7||0},nt=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+n:r==="-"?e-n:r==="*"?e*n:e/n},ms=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Yt=function(){var e=Fe.length,t=Fe.slice(0),r,n;for(mr={},Fe.length=0,r=0;r<e;r++)n=t[r],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},xr=function(e){return!!(e._initted||e._startAt||e.add)},mn=function(e,t,r,n){Fe.length&&!se&&Yt(),e.render(t,r,!!(se&&t<0&&xr(e))),Fe.length&&!se&&Yt()},_n=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(ln).length<2?t:re(e)?e.trim():e},gn=function(e){return e},xe=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},_s=function(e){return function(t,r){for(var n in r)n in t||n==="duration"&&e||n==="ease"||(t[n]=r[n])}},it=function(e,t){for(var r in t)e[r]=t[r];return e},vn=function i(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Ce(t[r])?i(e[r]||(e[r]={}),t[r]):t[r]);return e},$t=function(e,t){var r={},n;for(n in e)n in t||(r[n]=e[n]);return r},bt=function(e){var t=e.parent||W,r=e.keyframes?_s(ae(e.keyframes)):xe;if(fe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},gs=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},xn=function(e,t,r,n,s){var a=e[n],o;if(s)for(o=t[s];a&&a[s]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e,t},Wt=function(e,t,r,n){r===void 0&&(r="_first"),n===void 0&&(n="_last");var s=t._prev,a=t._next;s?s._next=a:e[r]===t&&(e[r]=a),a?a._prev=s:e[n]===t&&(e[n]=s),t._next=t._prev=t.parent=null},Le=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ye=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},vs=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},yr=function(e,t,r,n){return e._startAt&&(se?e._startAt.revert(Ht):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},xs=function i(e){return!e||e._ts&&i(e.parent)},yn=function(e){return e._repeat?st(e._tTime,e=e.duration()+e._rDelay)*e:0},st=function(e,t){var r=Math.floor(e=Q(e/t));return e&&r===e?r-1:r},Xt=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Gt=function(e){return e._end=Q(e._start+(e._tDur/Math.abs(e._ts||e._rts||I)||0))},Jt=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Q(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Gt(e),r._dirty||Ye(r,e)),e},bn=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Xt(e.rawTime(),t),(!t._dur||Tt(0,t.totalDuration(),r)-t._tTime>I)&&t.render(r,!0)),Ye(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-I}},Pe=function(e,t,r,n){return t.parent&&Le(t),t._start=Q((Ae(r)?r:r||e!==W?je(e,r,t):e._time)+t._delay),t._end=Q(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),xn(e,t,"_first","_last",e._sort?"_start":0),br(t)||(e._recent=t),n||bn(e,t),e._ts<0&&Jt(e,e._tTime),e},wn=function(e,t){return(ge.ScrollTrigger||hr("scrollTrigger",t))&&ge.ScrollTrigger.create(t,e)},Tn=function(e,t,r,n,s){if(kr(e,t,s),!e._initted)return 1;if(!r&&e._pt&&!se&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&dn!==be.frame)return Fe.push(e),e._lazy=[s,n],1},ys=function i(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||i(t))},br=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},bs=function(e,t,r,n){var s=e.ratio,a=t<0||!t&&(!e._start&&ys(e)&&!(!e._initted&&br(e))||(e._ts<0||e._dp._ts<0)&&!br(e))?0:1,o=e._rDelay,l=0,u,c,h;if(o&&e._repeat&&(l=Tt(0,e._tDur,t),c=st(l,o),e._yoyo&&c&1&&(a=1-a),c!==st(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||se||n||e._zTime===I||!t&&e._zTime){if(!e._initted&&Tn(e,t,n,r,l))return;for(h=e._zTime,e._zTime=t||(r?I:0),r||(r=t&&!h),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,u=e._pt;u;)u.r(a,u.d),u=u._next;t<0&&yr(e,t,r,!0),e._onUpdate&&!r&&ye(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&ye(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Le(e,1),!r&&!se&&(ye(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},ws=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if(n.data==="isPause"&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if(n.data==="isPause"&&n._start<t)return n;n=n._prev}},at=function(e,t,r,n){var s=e._repeat,a=Q(t)||0,o=e._tTime/e._tDur;return o&&!n&&(e._time*=a/e._dur),e._dur=a,e._tDur=s?s<0?1e10:Q(a*(s+1)+e._rDelay*s):a,o>0&&!n&&Jt(e,e._tTime=e._tDur*o),e.parent&&Gt(e),r||Ye(e.parent,e),e},jn=function(e){return e instanceof ue?Ye(e):at(e,e._dur)},Ts={_start:0,endTime:yt,totalDuration:yt},je=function i(e,t,r){var n=e.labels,s=e._recent||Ts,a=e.duration()>=Te?s.endTime(!1):e._dur,o,l,u;return re(t)&&(isNaN(t)||t in n)?(l=t.charAt(0),u=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?s:r).totalDuration()/100:1)):o<0?(t in n||(n[t]=a),n[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),u&&r&&(l=l/100*(ae(r)?r[0]:r).totalDuration()),o>1?i(e,t.substr(0,o-1),r)+l:a+l)):t==null?a:+t},wt=function(e,t,r){var n=Ae(t[1]),s=(n?2:1)+(e<2?0:1),a=t[s],o,l;if(n&&(a.duration=t[1]),a.parent=r,e){for(o=a,l=r;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=fe(l.vars.inherit)&&l.parent;a.immediateRender=fe(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new K(t[0],a,t[s+1])},Ie=function(e,t){return e||e===0?t(e):t},Tt=function(e,t,r){return r<e?e:r>t?t:r},oe=function(e,t){return!re(e)||!(t=ds.exec(e))?"":t[1]},js=function(e,t,r){return Ie(r,function(n){return Tt(e,t,n)})},wr=[].slice,On=function(e,t){return e&&Ce(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Ce(e[0]))&&!e.nodeType&&e!==Se},Os=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(n){var s;return re(n)&&!t||On(n,1)?(s=r).push.apply(s,Oe(n)):r.push(n)})||r},Oe=function(e,t,r){return $&&!t&&$.selector?$.selector(e):re(e)&&!r&&(fr||!lt())?wr.call((t||dr).querySelectorAll(e),0):ae(e)?Os(e,r):On(e)?wr.call(e,0):e?[e]:[]},Tr=function(e){return e=Oe(e)[0]||xt("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Oe(t,r.querySelectorAll?r:r===e?xt("Invalid scope")||dr.createElement("div"):e)}},qn=function(e){return e.sort(function(){return .5-Math.random()})},Cn=function(e){if(G(e))return e;var t=Ce(e)?e:{each:e},r=$e(t.ease),n=t.from||0,s=parseFloat(t.base)||0,a={},o=n>0&&n<1,l=isNaN(n)||o,u=t.axis,c=n,h=n;return re(n)?c=h={center:.5,edges:.5,end:1}[n]||0:!o&&l&&(c=n[0],h=n[1]),function(p,m,_){var d=(_||t).length,g=a[d],x,v,b,T,y,O,q,C,j;if(!g){if(j=t.grid==="auto"?0:(t.grid||[1,Te])[1],!j){for(q=-Te;q<(q=_[j++].getBoundingClientRect().left)&&j<d;);j<d&&j--}for(g=a[d]=[],x=l?Math.min(j,d)*c-.5:n%j,v=j===Te?0:l?d*h/j-.5:n/j|0,q=0,C=Te,O=0;O<d;O++)b=O%j-x,T=v-(O/j|0),g[O]=y=u?Math.abs(u==="y"?T:b):nn(b*b+T*T),y>q&&(q=y),y<C&&(C=y);n==="random"&&qn(g),g.max=q-C,g.min=C,g.v=d=(parseFloat(t.amount)||parseFloat(t.each)*(j>d?d-1:u?u==="y"?d/j:j:Math.max(j,d/j))||0)*(n==="edges"?-1:1),g.b=d<0?s-d:s,g.u=oe(t.amount||t.each)||0,r=r&&d<0?In(r):r}return d=(g[p]-g.min)/g.max||0,Q(g.b+(r?r(d):d)*g.v)+g.u}},jr=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Q(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(Ae(r)?0:oe(r))}},Sn=function(e,t){var r=ae(e),n,s;return!r&&Ce(e)&&(n=r=e.radius||Te,e.values?(e=Oe(e.values),(s=!Ae(e[0]))&&(n*=n)):e=jr(e.increment)),Ie(t,r?G(e)?function(a){return s=e(a),Math.abs(s-a)<=n?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),u=Te,c=0,h=e.length,p,m;h--;)s?(p=e[h].x-o,m=e[h].y-l,p=p*p+m*m):p=Math.abs(e[h]-o),p<u&&(u=p,c=h);return c=!n||u<=n?e[c]:a,s||c===a||Ae(a)?c:c+oe(a)}:jr(e))},Pn=function(e,t,r,n){return Ie(ae(e)?!t:r===!0?!!(r=0):!n,function(){return ae(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*n)/n})},qs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduce(function(s,a){return a(s)},n)}},Cs=function(e,t){return function(r){return e(parseFloat(r))+(t||oe(r))}},Ss=function(e,t,r){return Nn(e,t,0,1,r)},kn=function(e,t,r){return Ie(r,function(n){return e[~~t(n)]})},Ps=function i(e,t,r){var n=t-e;return ae(e)?kn(e,i(0,e.length),t):Ie(r,function(s){return(n+(s-e)%n)%n+e})},ks=function i(e,t,r){var n=t-e,s=n*2;return ae(e)?kn(e,i(0,e.length-1),t):Ie(r,function(a){return a=(s+(a-e)%s)%s||0,e+(a>n?s-a:a)})},jt=function(e){for(var t=0,r="",n,s,a,o;~(n=e.indexOf("random(",t));)a=e.indexOf(")",n),o=e.charAt(n+7)==="[",s=e.substr(n+7,a-n-7).match(o?ln:ur),r+=e.substr(t,n-t)+Pn(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),t=a+1;return r+e.substr(t,e.length-t)},Nn=function(e,t,r,n,s){var a=t-e,o=n-r;return Ie(s,function(l){return r+((l-e)/a*o||0)})},Ns=function i(e,t,r,n){var s=isNaN(e+t)?0:function(m){return(1-m)*e+m*t};if(!s){var a=re(e),o={},l,u,c,h,p;if(r===!0&&(n=1)&&(r=null),a)e={p:e},t={p:t};else if(ae(e)&&!ae(t)){for(c=[],h=e.length,p=h-2,u=1;u<h;u++)c.push(i(e[u-1],e[u]));h--,s=function(_){_*=h;var d=Math.min(p,~~_);return c[d](_-d)},r=t}else n||(e=it(ae(e)?[]:{},e));if(!c){for(l in t)Sr.call(o,e,l,"get",t[l]);s=function(_){return Ar(_,o)||(a?e.p:e)}}}return Ie(r,s)},En=function(e,t,r){var n=e.labels,s=Te,a,o,l;for(a in n)o=n[a]-t,o<0==!!r&&o&&s>(o=Math.abs(o))&&(l=a,s=o);return l},ye=function(e,t,r){var n=e.vars,s=n[t],a=$,o=e._ctx,l,u,c;if(s)return l=n[t+"Params"],u=n.callbackScope||e,r&&Fe.length&&Yt(),o&&($=o),c=l?s.apply(u,l):s.call(u),$=a,c},Ot=function(e){return Le(e),e.scrollTrigger&&e.scrollTrigger.kill(!!se),e.progress()<1&&ye(e,"onInterrupt"),e},ot,An=[],Rn=function(e){if(e)if(e=!e.name&&e.default||e,lr()||e.headless){var t=e.name,r=G(e),n=t&&!r&&e.init?function(){this._props=[]}:e,s={init:yt,render:Ar,add:Sr,kill:$s,modifier:Ys,rawVars:0},a={targetTest:0,get:0,getSetter:Er,aliases:{},register:0};if(lt(),e!==n){if(ve[t])return;xe(n,xe($t(e,s),a)),it(n.prototype,it(s,$t(e,a))),ve[n.prop=t]=n,e.targetTest&&(Ut.push(n),pr[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}fn(t,n),e.register&&e.register(pe,n,he)}else An.push(e)},Z=255,qt={aqua:[0,Z,Z],lime:[0,Z,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Z],navy:[0,0,128],white:[Z,Z,Z],olive:[128,128,0],yellow:[Z,Z,0],orange:[Z,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Z,0,0],pink:[Z,192,203],cyan:[0,Z,Z],transparent:[Z,Z,Z,0]},Or=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*Z+.5|0},Mn=function(e,t,r){var n=e?Ae(e)?[e>>16,e>>8&Z,e&Z]:0:qt.black,s,a,o,l,u,c,h,p,m,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),qt[e])n=qt[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&Z,n&Z,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&Z,e&Z]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ur),!t)l=+n[0]%360/360,u=+n[1]/100,c=+n[2]/100,a=c<=.5?c*(u+1):c+u-c*u,s=c*2-a,n.length>3&&(n[3]*=1),n[0]=Or(l+1/3,s,a),n[1]=Or(l,s,a),n[2]=Or(l-1/3,s,a);else if(~e.indexOf("="))return n=e.match(an),r&&n.length<4&&(n[3]=1),n}else n=e.match(ur)||qt.transparent;n=n.map(Number)}return t&&!_&&(s=n[0]/Z,a=n[1]/Z,o=n[2]/Z,h=Math.max(s,a,o),p=Math.min(s,a,o),c=(h+p)/2,h===p?l=u=0:(m=h-p,u=c>.5?m/(2-h-p):m/(h+p),l=h===s?(a-o)/m+(a<o?6:0):h===a?(o-s)/m+2:(s-a)/m+4,l*=60),n[0]=~~(l+.5),n[1]=~~(u*100+.5),n[2]=~~(c*100+.5)),r&&n.length<4&&(n[3]=1),n},Dn=function(e){var t=[],r=[],n=-1;return e.split(Ze).forEach(function(s){var a=s.match(rt)||[];t.push.apply(t,a),r.push(n+=a.length+1)}),t.c=r,t},Fn=function(e,t,r){var n="",s=(e+n).match(Ze),a=t?"hsla(":"rgba(",o=0,l,u,c,h;if(!s)return e;if(s=s.map(function(p){return(p=Mn(p,t,1))&&a+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(c=Dn(e),l=r.c,l.join(n)!==c.c.join(n)))for(u=e.replace(Ze,"1").split(rt),h=u.length-1;o<h;o++)n+=u[o]+(~l.indexOf(o)?s.shift()||a+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!u)for(u=e.split(Ze),h=u.length-1;o<h;o++)n+=u[o]+s[o];return n+u[h]},Ze=(function(){var i="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in qt)i+="|"+e+"\\b";return new RegExp(i+")","gi")})(),Es=/hsl[a]?\(/,Ln=function(e){var t=e.join(" "),r;if(Ze.lastIndex=0,Ze.test(t))return r=Es.test(t),e[1]=Fn(e[1],r),e[0]=Fn(e[0],r,Dn(e[1])),!0},Ct,be=(function(){var i=Date.now,e=500,t=33,r=i(),n=r,s=1e3/240,a=s,o=[],l,u,c,h,p,m,_=function d(g){var x=i()-n,v=g===!0,b,T,y,O;if((x>e||x<0)&&(r+=x-t),n+=x,y=n-r,b=y-a,(b>0||v)&&(O=++h.frame,p=y-h.time*1e3,h.time=y=y/1e3,a+=b+(b>=s?4:s-b),T=1),v||(l=u(d)),T)for(m=0;m<o.length;m++)o[m](y,p,O,g)};return h={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){un&&(!fr&&lr()&&(Se=fr=window,dr=Se.document||{},ge.gsap=pe,(Se.gsapVersions||(Se.gsapVersions=[])).push(pe.version),cn(Vt||Se.GreenSockGlobals||!Se.gsap&&Se||{}),An.forEach(Rn)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),u=c||function(g){return setTimeout(g,a-h.time*1e3+1|0)},Ct=1,_(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),Ct=0,u=yt},lagSmoothing:function(g,x){e=g||1/0,t=Math.min(x||33,e)},fps:function(g){s=1e3/(g||240),a=h.time*1e3+s},add:function(g,x,v){var b=x?function(T,y,O,q){g(T,y,O,q),h.remove(b)}:g;return h.remove(g),o[v?"unshift":"push"](b),lt(),b},remove:function(g,x){~(x=o.indexOf(g))&&o.splice(x,1)&&m>=x&&m--},_listeners:o},h})(),lt=function(){return!Ct&&be.wake()},E={},As=/^[\d.\-M][\d.\-,\s]/,Rs=/["']/g,Ms=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),n=r[0],s=1,a=r.length,o,l,u;s<a;s++)l=r[s],o=s!==a-1?l.lastIndexOf(","):l.length,u=l.substr(0,o),t[n]=isNaN(u)?u.replace(Rs,"").trim():+u,n=l.substr(o+1).trim();return t},Ds=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},Fs=function(e){var t=(e+"").split("("),r=E[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Ms(t[1])]:Ds(e).split(",").map(_n)):E._CE&&As.test(e)?E._CE("",e):r},In=function(e){return function(t){return 1-e(1-t)}},Zn=function i(e,t){for(var r=e._first,n;r;)r instanceof ue?i(r,t):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==t&&(r.timeline?i(r.timeline,t):(n=r._ease,r._ease=r._yEase,r._yEase=n,r._yoyo=t)),r=r._next},$e=function(e,t){return e&&(G(e)?e:E[e]||Fs(e))||t},We=function(e,t,r,n){r===void 0&&(r=function(l){return 1-t(1-l)}),n===void 0&&(n=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:r,easeInOut:n},a;return de(e,function(o){E[o]=ge[o]=s,E[a=o.toLowerCase()]=r;for(var l in s)E[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=E[o+"."+l]=s[l]}),s},zn=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},qr=function i(e,t,r){var n=t>=1?t:1,s=(r||(e?.3:.45))/(t<1?t:1),a=s/ar*(Math.asin(1/n)||0),o=function(c){return c===1?1:n*Math.pow(2,-10*c)*fs((c-a)*s)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:zn(o);return s=ar/s,l.config=function(u,c){return i(e,u,c)},l},Cr=function i(e,t){t===void 0&&(t=1.70158);var r=function(a){return a?--a*a*((t+1)*a+t)+1:0},n=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:zn(r);return n.config=function(s){return i(e,s)},n};de("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var t=e<5?e+1:e;We(i+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})}),E.Linear.easeNone=E.none=E.Linear.easeIn,We("Elastic",qr("in"),qr("out"),qr()),(function(i,e){var t=1/e,r=2*t,n=2.5*t,s=function(o){return o<t?i*o*o:o<r?i*Math.pow(o-1.5/e,2)+.75:o<n?i*(o-=2.25/e)*o+.9375:i*Math.pow(o-2.625/e,2)+.984375};We("Bounce",function(a){return 1-s(1-a)},s)})(7.5625,2.75),We("Expo",function(i){return Math.pow(2,10*(i-1))*i+i*i*i*i*i*i*(1-i)}),We("Circ",function(i){return-(nn(1-i*i)-1)}),We("Sine",function(i){return i===1?1:-cs(i*ls)+1}),We("Back",Cr("in"),Cr("out"),Cr()),E.SteppedEase=E.steps=ge.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,n=e+(t?0:1),s=t?1:0,a=1-I;return function(o){return((n*Tt(0,a,o)|0)+s)*r}}},tt.ease=E["quad.out"],de("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(i){return gr+=i+","+i+"Params,"});var Bn=function(e,t){this.id=us++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:pn,this.set=t?t.getSetter:Er},St=(function(){function i(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,at(this,+t.duration,1,1),this.data=t.data,$&&(this._ctx=$,$.data.push(this)),Ct||be.wake()}var e=i.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,at(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,n){if(lt(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Jt(this,r),!s._dp||s.parent||bn(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Pe(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===I||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),mn(this,r,n)),this},e.time=function(r,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+yn(this))%(this._dur+this._rDelay)||(r?this._dur:0),n):this._time},e.totalProgress=function(r,n){return arguments.length?this.totalTime(this.totalDuration()*r,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+yn(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,n):this._repeat?st(this._tTime,s)+1:1},e.timeScale=function(r,n){if(!arguments.length)return this._rts===-I?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Xt(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-I?0:this._rts,this.totalTime(Tt(-Math.abs(this._delay),this.totalDuration(),s),n!==!1),Gt(this),vs(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==I&&(this._tTime-=I)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&Pe(n,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(fe(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var n=this.parent||this._dp;return n?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Xt(n.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=ps);var n=se;return se=r,xr(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),se=n,this},e.globalTime=function(r){for(var n=this,s=arguments.length?r:n.rawTime();n;)s=n._start+s/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,jn(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var n=this._time;return this._rDelay=r,jn(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,n){return this.totalTime(je(this,r),fe(n))},e.restart=function(r,n){return this.play().totalTime(r?-this._delay:0,fe(n)),this._dur||(this._zTime=-I),this},e.play=function(r,n){return r!=null&&this.seek(r,n),this.reversed(!1).paused(!1)},e.reverse=function(r,n){return r!=null&&this.seek(r||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(r,n){return r!=null&&this.seek(r,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-I:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-I,this},e.isActive=function(){var r=this.parent||this._dp,n=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=n&&s<this.endTime(!0)-I)},e.eventCallback=function(r,n,s){var a=this.vars;return arguments.length>1?(n?(a[r]=n,s&&(a[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=n)):delete a[r],this):a[r]},e.then=function(r){var n=this;return new Promise(function(s){var a=G(r)?r:gn,o=function(){var u=n.then;n.then=null,G(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=u),s(a),n.then=u};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?o():n._prom=o})},e.kill=function(){Ot(this)},i})();xe(St.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-I,_prom:0,_ps:!1,_rts:1});var ue=(function(i){rn(e,i);function e(r,n){var s;return r===void 0&&(r={}),s=i.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=fe(r.sortChildren),W&&Pe(r.parent||W,Ee(s),n),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&wn(Ee(s),r.scrollTrigger),s}var t=e.prototype;return t.to=function(n,s,a){return wt(0,arguments,this),this},t.from=function(n,s,a){return wt(1,arguments,this),this},t.fromTo=function(n,s,a,o){return wt(2,arguments,this),this},t.set=function(n,s,a){return s.duration=0,s.parent=this,bt(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new K(n,s,je(this,a),1),this},t.call=function(n,s,a){return Pe(this,K.delayedCall(0,n,s),a)},t.staggerTo=function(n,s,a,o,l,u,c){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new K(n,a,je(this,l)),this},t.staggerFrom=function(n,s,a,o,l,u,c){return a.runBackwards=1,bt(a).immediateRender=fe(a.immediateRender),this.staggerTo(n,s,a,o,l,u,c)},t.staggerFromTo=function(n,s,a,o,l,u,c,h){return o.startAt=a,bt(o).immediateRender=fe(o.immediateRender),this.staggerTo(n,s,o,l,u,c,h)},t.render=function(n,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=n<=0?0:Q(n),h=this._zTime<0!=n<0&&(this._initted||!u),p,m,_,d,g,x,v,b,T,y,O,q;if(this!==W&&c>l&&n>=0&&(c=l),c!==this._tTime||a||h){if(o!==this._time&&u&&(c+=this._time-o,n+=this._time-o),p=c,T=this._start,b=this._ts,x=!b,h&&(u||(o=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(O=this._yoyo,g=u+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,a);if(p=Q(c%g),c===l?(d=this._repeat,p=u):(y=Q(c/g),d=~~y,d&&d===y&&(p=u,d--),p>u&&(p=u)),y=st(this._tTime,g),!o&&this._tTime&&y!==d&&this._tTime-y*g-this._dur<=0&&(y=d),O&&d&1&&(p=u-p,q=1),d!==y&&!this._lock){var C=O&&y&1,j=C===(O&&d&1);if(d<y&&(C=!C),o=C?0:c%u?u:c,this._lock=1,this.render(o||(q?0:Q(d*g)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&ye(this,"onRepeat"),this.vars.repeatRefresh&&!q&&(this.invalidate()._lock=1),o&&o!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,j&&(this._lock=2,o=C?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!q&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;Zn(this,q)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=ws(this,Q(o),Q(p)),v&&(c-=p-(p=v._start))),this._tTime=c,this._time=p,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,o=0),!o&&c&&!s&&!y&&(ye(this,"onStart"),this._tTime!==c))return this;if(p>=o&&n>=0)for(m=this._first;m;){if(_=m._next,(m._act||p>=m._start)&&m._ts&&v!==m){if(m.parent!==this)return this.render(n,s,a);if(m.render(m._ts>0?(p-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(p-m._start)*m._ts,s,a),p!==this._time||!this._ts&&!x){v=0,_&&(c+=this._zTime=-I);break}}m=_}else{m=this._last;for(var N=n<0?n:p;m;){if(_=m._prev,(m._act||N<=m._end)&&m._ts&&v!==m){if(m.parent!==this)return this.render(n,s,a);if(m.render(m._ts>0?(N-m._start)*m._ts:(m._dirty?m.totalDuration():m._tDur)+(N-m._start)*m._ts,s,a||se&&xr(m)),p!==this._time||!this._ts&&!x){v=0,_&&(c+=this._zTime=N?-I:I);break}}m=_}}if(v&&!s&&(this.pause(),v.render(p>=o?0:-I)._zTime=p>=o?1:-1,this._ts))return this._start=T,Gt(this),this.render(n,s,a);this._onUpdate&&!s&&ye(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(T===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((n||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Le(this,1),!s&&!(n<0&&!o)&&(c||o||!l)&&(ye(this,c===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(n,s){var a=this;if(Ae(s)||(s=je(this,s,n)),!(n instanceof St)){if(ae(n))return n.forEach(function(o){return a.add(o,s)}),this;if(re(n))return this.addLabel(n,s);if(G(n))n=K.delayedCall(0,n);else return this}return this!==n?Pe(this,n,s):this},t.getChildren=function(n,s,a,o){n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-Te);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof K?s&&l.push(u):(a&&l.push(u),n&&l.push.apply(l,u.getChildren(!0,s,a)))),u=u._next;return l},t.getById=function(n){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===n)return s[a]},t.remove=function(n){return re(n)?this.removeLabel(n):G(n)?this.killTweensOf(n):(n.parent===this&&Wt(this,n),n===this._recent&&(this._recent=this._last),Ye(this))},t.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Q(be.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},t.addLabel=function(n,s){return this.labels[n]=je(this,s),this},t.removeLabel=function(n){return delete this.labels[n],this},t.addPause=function(n,s,a){var o=K.delayedCall(0,s||yt,a);return o.data="isPause",this._hasPause=1,Pe(this,o,je(this,n))},t.removePause=function(n){var s=this._first;for(n=je(this,n);s;)s._start===n&&s.data==="isPause"&&Le(s),s=s._next},t.killTweensOf=function(n,s,a){for(var o=this.getTweensOf(n,a),l=o.length;l--;)ze!==o[l]&&o[l].kill(n,s);return this},t.getTweensOf=function(n,s){for(var a=[],o=Oe(n),l=this._first,u=Ae(s),c;l;)l instanceof K?ms(l._targets,o)&&(u?(!ze||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(c=l.getTweensOf(o,s)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(n,s){s=s||{};var a=this,o=je(a,n),l=s,u=l.startAt,c=l.onStart,h=l.onStartParams,p=l.immediateRender,m,_=K.to(a,xe({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||I,onStart:function(){if(a.pause(),!m){var g=s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());_._dur!==g&&at(_,g,0,1).render(_._time,!0,!0),m=1}c&&c.apply(_,h||[])}},s));return p?_.render(0):_},t.tweenFromTo=function(n,s,a){return this.tweenTo(s,xe({startAt:{time:je(this,n)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(n){return n===void 0&&(n=this._time),En(this,je(this,n))},t.previousLabel=function(n){return n===void 0&&(n=this._time),En(this,je(this,n),1)},t.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+I)},t.shiftChildren=function(n,s,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,u;o;)o._start>=a&&(o._start+=n,o._end+=n),o=o._next;if(s)for(u in l)l[u]>=a&&(l[u]+=n);return Ye(this)},t.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},t.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),Ye(this)},t.totalDuration=function(n){var s=0,a=this,o=a._last,l=Te,u,c,h;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-n:n));if(a._dirty){for(h=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,Pe(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(s-=c,(!h&&!a._dp||h&&h.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=u;at(a,a===W&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(n){if(W._ts&&(mn(W,Xt(n,W)),dn=be.frame),be.frame>=hn){hn+=_e.autoSleep||120;var s=W._first;if((!s||!s._ts)&&_e.autoSleep&&be._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||be.sleep()}}},e})(St);xe(ue.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ls=function(e,t,r,n,s,a,o){var l=new he(this._pt,e,t,0,1,Wn,null,s),u=0,c=0,h,p,m,_,d,g,x,v;for(l.b=r,l.e=n,r+="",n+="",(x=~n.indexOf("random("))&&(n=jt(n)),a&&(v=[r,n],a(v,e,t),r=v[0],n=v[1]),p=r.match(cr)||[];h=cr.exec(n);)_=h[0],d=n.substring(u,h.index),m?m=(m+1)%5:d.substr(-5)==="rgba("&&(m=1),_!==p[c++]&&(g=parseFloat(p[c-1])||0,l._pt={_next:l._pt,p:d||c===1?d:",",s:g,c:_.charAt(1)==="="?nt(g,_)-g:parseFloat(_)-g,m:m&&m<4?Math.round:0},u=cr.lastIndex);return l.c=u<n.length?n.substring(u,n.length):"",l.fp=o,(on.test(n)||x)&&(l.e=0),this._pt=l,l},Sr=function(e,t,r,n,s,a,o,l,u,c){G(n)&&(n=n(s||0,e,a));var h=e[t],p=r!=="get"?r:G(h)?u?e[t.indexOf("set")||!G(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():h,m=G(h)?u?Vs:Yn:Nr,_;if(re(n)&&(~n.indexOf("random(")&&(n=jt(n)),n.charAt(1)==="="&&(_=nt(p,n)+(oe(p)||0),(_||_===0)&&(n=_))),!c||p!==n||Pr)return!isNaN(p*n)&&n!==""?(_=new he(this._pt,e,t,+p||0,n-(p||0),typeof h=="boolean"?Us:$n,0,m),u&&(_.fp=u),o&&_.modifier(o,this,e),this._pt=_):(!h&&!(t in e)&&hr(t,n),Ls.call(this,e,t,p,n,m,l||_e.stringFilter,u))},Is=function(e,t,r,n,s){if(G(e)&&(e=Pt(e,s,t,r,n)),!Ce(e)||e.style&&e.nodeType||ae(e)||sn(e))return re(e)?Pt(e,s,t,r,n):e;var a={},o;for(o in e)a[o]=Pt(e[o],s,t,r,n);return a},Vn=function(e,t,r,n,s,a){var o,l,u,c;if(ve[e]&&(o=new ve[e]).init(s,o.rawVars?t[e]:Is(t[e],n,s,a,r),r,n,a)!==!1&&(r._pt=l=new he(r._pt,s,e,0,1,o.render,o,0,o.priority),r!==ot))for(u=r._ptLookup[r._targets.indexOf(s)],c=o._props.length;c--;)u[o._props[c]]=l;return o},ze,Pr,kr=function i(e,t,r){var n=e.vars,s=n.ease,a=n.startAt,o=n.immediateRender,l=n.lazy,u=n.onUpdate,c=n.runBackwards,h=n.yoyoEase,p=n.keyframes,m=n.autoRevert,_=e._dur,d=e._startAt,g=e._targets,x=e.parent,v=x&&x.data==="nested"?x.vars.targets:g,b=e._overwrite==="auto"&&!sr,T=e.timeline,y,O,q,C,j,N,F,D,M,H,V,z,U;if(T&&(!p||!s)&&(s="none"),e._ease=$e(s,tt.ease),e._yEase=h?In($e(h===!0?s:h,tt.ease)):0,h&&e._yoyo&&!e._repeat&&(h=e._yEase,e._yEase=e._ease,e._ease=h),e._from=!T&&!!n.runBackwards,!T||p&&!n.stagger){if(D=g[0]?Ue(g[0]).harness:0,z=D&&n[D.prop],y=$t(n,pr),d&&(d._zTime<0&&d.progress(1),t<0&&c&&o&&!m?d.render(-1,!0):d.revert(c&&_?Ht:hs),d._lazy=0),a){if(Le(e._startAt=K.set(g,xe({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!d&&fe(l),startAt:null,delay:0,onUpdate:u&&function(){return ye(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se||!o&&!m)&&e._startAt.revert(Ht),o&&_&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(c&&_&&!d){if(t&&(o=!1),q=xe({overwrite:!1,data:"isFromStart",lazy:o&&!d&&fe(l),immediateRender:o,stagger:0,parent:x},y),z&&(q[D.prop]=z),Le(e._startAt=K.set(g,q)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se?e._startAt.revert(Ht):e._startAt.render(-1,!0)),e._zTime=t,!o)i(e._startAt,I,I);else if(!t)return}for(e._pt=e._ptCache=0,l=_&&fe(l)||l&&!_,O=0;O<g.length;O++){if(j=g[O],F=j._gsap||vr(g)[O]._gsap,e._ptLookup[O]=H={},mr[F.id]&&Fe.length&&Yt(),V=v===g?O:v.indexOf(j),D&&(M=new D).init(j,z||y,e,V,v)!==!1&&(e._pt=C=new he(e._pt,j,M.name,0,1,M.render,M,0,M.priority),M._props.forEach(function(ne){H[ne]=C}),M.priority&&(N=1)),!D||z)for(q in y)ve[q]&&(M=Vn(q,y,e,V,j,v))?M.priority&&(N=1):H[q]=C=Sr.call(e,j,q,"get",y[q],V,v,0,n.stringFilter);e._op&&e._op[O]&&e.kill(j,e._op[O]),b&&e._pt&&(ze=e,W.killTweensOf(j,H,e.globalTime(t)),U=!e.parent,ze=0),e._pt&&l&&(mr[F.id]=1)}N&&Xn(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!U,p&&t<=0&&T.render(Te,!0,!0)},Zs=function(e,t,r,n,s,a,o,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[t],c,h,p,m;if(!u)for(u=e._ptCache[t]=[],p=e._ptLookup,m=e._targets.length;m--;){if(c=p[m][t],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==t&&c.fp!==t;)c=c._next;if(!c)return Pr=1,e.vars[t]="+=0",kr(e,o),Pr=0,l?xt(t+" not eligible for reset"):1;u.push(c)}for(m=u.length;m--;)h=u[m],c=h._pt||h,c.s=(n||n===0)&&!s?n:c.s+(n||0)+a*c.c,c.c=r-c.s,h.e&&(h.e=J(r)+oe(h.e)),h.b&&(h.b=c.s+oe(h.b))},zs=function(e,t){var r=e[0]?Ue(e[0]).harness:0,n=r&&r.aliases,s,a,o,l;if(!n)return t;s=it({},t);for(a in n)if(a in s)for(l=n[a].split(","),o=l.length;o--;)s[l[o]]=s[a];return s},Bs=function(e,t,r,n){var s=t.ease||n||"power1.inOut",a,o;if(ae(t))o=r[e]||(r[e]=[]),t.forEach(function(l,u){return o.push({t:u/(t.length-1)*100,v:l,e:s})});else for(a in t)o=r[a]||(r[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:t[a],e:s})},Pt=function(e,t,r,n,s){return G(e)?e.call(t,r,n,s):re(e)&&~e.indexOf("random(")?jt(e):e},Hn=gr+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Un={};de(Hn+",id,stagger,delay,duration,paused,scrollTrigger",function(i){return Un[i]=1});var K=(function(i){rn(e,i);function e(r,n,s,a){var o;typeof n=="number"&&(s.duration=n,n=s,s=null),o=i.call(this,a?n:bt(n))||this;var l=o.vars,u=l.duration,c=l.delay,h=l.immediateRender,p=l.stagger,m=l.overwrite,_=l.keyframes,d=l.defaults,g=l.scrollTrigger,x=l.yoyoEase,v=n.parent||W,b=(ae(r)||sn(r)?Ae(r[0]):"length"in n)?[r]:Oe(r),T,y,O,q,C,j,N,F;if(o._targets=b.length?vr(b):xt("GSAP target "+r+" not found. https://gsap.com",!_e.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=m,_||p||Bt(u)||Bt(c)){if(n=o.vars,T=o.timeline=new ue({data:"nested",defaults:d||{},targets:v&&v.data==="nested"?v.vars.targets:b}),T.kill(),T.parent=T._dp=Ee(o),T._start=0,p||Bt(u)||Bt(c)){if(q=b.length,N=p&&Cn(p),Ce(p))for(C in p)~Hn.indexOf(C)&&(F||(F={}),F[C]=p[C]);for(y=0;y<q;y++)O=$t(n,Un),O.stagger=0,x&&(O.yoyoEase=x),F&&it(O,F),j=b[y],O.duration=+Pt(u,Ee(o),y,j,b),O.delay=(+Pt(c,Ee(o),y,j,b)||0)-o._delay,!p&&q===1&&O.delay&&(o._delay=c=O.delay,o._start+=c,O.delay=0),T.to(j,O,N?N(y,j,b):0),T._ease=E.none;T.duration()?u=c=0:o.timeline=0}else if(_){bt(xe(T.vars.defaults,{ease:"none"})),T._ease=$e(_.ease||n.ease||"none");var D=0,M,H,V;if(ae(_))_.forEach(function(z){return T.to(b,z,">")}),T.duration();else{O={};for(C in _)C==="ease"||C==="easeEach"||Bs(C,_[C],O,_.easeEach);for(C in O)for(M=O[C].sort(function(z,U){return z.t-U.t}),D=0,y=0;y<M.length;y++)H=M[y],V={ease:H.e,duration:(H.t-(y?M[y-1].t:0))/100*u},V[C]=H.v,T.to(b,V,D),D+=V.duration;T.duration()<u&&T.to({},{duration:u-T.duration()})}}u||o.duration(u=T.duration())}else o.timeline=0;return m===!0&&!sr&&(ze=Ee(o),W.killTweensOf(b),ze=0),Pe(v,Ee(o),s),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(h||!u&&!_&&o._start===Q(v._time)&&fe(h)&&xs(Ee(o))&&v.data!=="nested")&&(o._tTime=-I,o.render(Math.max(0,-c)||0)),g&&wn(Ee(o),g),o}var t=e.prototype;return t.render=function(n,s,a){var o=this._time,l=this._tDur,u=this._dur,c=n<0,h=n>l-I&&!c?l:n<I?0:n,p,m,_,d,g,x,v,b,T;if(!u)bs(this,n,s,a);else if(h!==this._tTime||!n||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(p=h,b=this.timeline,this._repeat){if(d=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(d*100+n,s,a);if(p=Q(h%d),h===l?(_=this._repeat,p=u):(g=Q(h/d),_=~~g,_&&_===g?(p=u,_--):p>u&&(p=u)),x=this._yoyo&&_&1,x&&(T=this._yEase,p=u-p),g=st(this._tTime,d),p===o&&!a&&this._initted&&_===g)return this._tTime=h,this;_!==g&&(b&&this._yEase&&Zn(b,x),this.vars.repeatRefresh&&!x&&!this._lock&&p!==d&&this._initted&&(this._lock=a=1,this.render(Q(d*_),!0).invalidate()._lock=0))}if(!this._initted){if(Tn(this,c?n:p,a,s,h))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&_!==g))return this;if(u!==this._dur)return this.render(n,s,a)}if(this._tTime=h,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(T||this._ease)(p/u),this._from&&(this.ratio=v=1-v),!o&&h&&!s&&!g&&(ye(this,"onStart"),this._tTime!==h))return this;for(m=this._pt;m;)m.r(v,m.d),m=m._next;b&&b.render(n<0?n:b._dur*b._ease(p/this._dur),s,a)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&yr(this,n,s,a),ye(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&ye(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&yr(this,n,!0,!0),(n||!u)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&Le(this,1),!s&&!(c&&!o)&&(h||o||x)&&(ye(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),i.prototype.invalidate.call(this,n)},t.resetTo=function(n,s,a,o,l){Ct||be.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||kr(this,u),c=this._ease(u/this._dur),Zs(this,n,s,a,o,c,u,l)?this.resetTo(n,s,a,o,1):(Jt(this,0),this.parent||xn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Ot(this):this.scrollTrigger&&this.scrollTrigger.kill(!!se),this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,ze&&ze.vars.overwrite!==!0)._first||Ot(this),this.parent&&a!==this.timeline.totalDuration()&&at(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=n?Oe(n):o,u=this._ptLookup,c=this._pt,h,p,m,_,d,g,x;if((!s||s==="all")&&gs(o,l))return s==="all"&&(this._pt=0),Ot(this);for(h=this._op=this._op||[],s!=="all"&&(re(s)&&(d={},de(s,function(v){return d[v]=1}),s=d),s=zs(o,s)),x=o.length;x--;)if(~l.indexOf(o[x])){p=u[x],s==="all"?(h[x]=s,_=p,m={}):(m=h[x]=h[x]||{},_=s);for(d in _)g=p&&p[d],g&&((!("kill"in g.d)||g.d.kill(d)===!0)&&Wt(this,g,"_pt"),delete p[d]),m!=="all"&&(m[d]=1)}return this._initted&&!this._pt&&c&&Ot(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return wt(1,arguments)},e.delayedCall=function(n,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(n,s,a){return wt(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,a){return W.killTweensOf(n,s,a)},e})(St);xe(K.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),de("staggerTo,staggerFrom,staggerFromTo",function(i){K[i]=function(){var e=new ue,t=wr.call(arguments,0);return t.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,t)}});var Nr=function(e,t,r){return e[t]=r},Yn=function(e,t,r){return e[t](r)},Vs=function(e,t,r,n){return e[t](n.fp,r)},Hs=function(e,t,r){return e.setAttribute(t,r)},Er=function(e,t){return G(e[t])?Yn:or(e[t])&&e.setAttribute?Hs:Nr},$n=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Us=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Wn=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(e===1&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Ar=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Ys=function(e,t,r,n){for(var s=this._pt,a;s;)a=s._next,s.p===n&&s.modifier(e,t,r),s=a},$s=function(e){for(var t=this._pt,r,n;t;)n=t._next,t.p===e&&!t.op||t.op===e?Wt(this,t,"_pt"):t.dep||(r=1),t=n;return!r},Ws=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Xn=function(e){for(var t=e._pt,r,n,s,a;t;){for(r=t._next,n=s;n&&n.pr>t.pr;)n=n._next;(t._prev=n?n._prev:a)?t._prev._next=t:s=t,(t._next=n)?n._prev=t:a=t,t=r}e._pt=s},he=(function(){function i(t,r,n,s,a,o,l,u,c){this.t=r,this.s=s,this.c=a,this.p=n,this.r=o||$n,this.d=l||this,this.set=u||Nr,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=i.prototype;return e.modifier=function(r,n,s){this.mSet=this.mSet||this.set,this.set=Ws,this.m=r,this.mt=s,this.tween=n},i})();de(gr+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(i){return pr[i]=1}),ge.TweenMax=ge.TweenLite=K,ge.TimelineLite=ge.TimelineMax=ue,W=new ue({sortChildren:!1,defaults:tt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_e.stringFilter=Ln;var Xe=[],Qt={},Xs=[],Gn=0,Gs=0,Rr=function(e){return(Qt[e]||Xs).map(function(t){return t()})},Mr=function(){var e=Date.now(),t=[];e-Gn>2&&(Rr("matchMediaInit"),Xe.forEach(function(r){var n=r.queries,s=r.conditions,a,o,l,u;for(o in n)a=Se.matchMedia(n[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,u=1);u&&(r.revert(),l&&t.push(r))}),Rr("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(n){return r.add(null,n)})}),Gn=e,Rr("matchMedia"))},Jn=(function(){function i(t,r){this.selector=r&&Tr(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Gs++,t&&this.add(t)}var e=i.prototype;return e.add=function(r,n,s){G(r)&&(s=n,n=r,r=G);var a=this,o=function(){var u=$,c=a.selector,h;return u&&u!==a&&u.data.push(a),s&&(a.selector=Tr(s)),$=a,h=n.apply(a,arguments),G(h)&&a._r.push(h),$=u,a.selector=c,a.isReverted=!1,h};return a.last=o,r===G?o(a,function(l){return a.add(null,l)}):r?a[r]=o:o},e.ignore=function(r){var n=$;$=null,r(this),$=n},e.getTweens=function(){var r=[];return this.data.forEach(function(n){return n instanceof i?r.push.apply(r,n.getTweens()):n instanceof K&&!(n.parent&&n.parent.data==="nested")&&r.push(n)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,n){var s=this;if(r?(function(){for(var o=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return o.splice(o.indexOf(c),1)}));for(o.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,h){return h.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof ue?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof K)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0})():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),n)for(var a=Xe.length;a--;)Xe[a].id===this.id&&Xe.splice(a,1)},e.revert=function(r){this.kill(r||{})},i})(),Js=(function(){function i(t){this.contexts=[],this.scope=t,$&&$.data.push(this)}var e=i.prototype;return e.add=function(r,n,s){Ce(r)||(r={matches:r});var a=new Jn(0,s||this.scope),o=a.conditions={},l,u,c;$&&!a.selector&&(a.selector=$.selector),this.contexts.push(a),n=a.add("onMatch",n),a.queries=r;for(u in r)u==="all"?c=1:(l=Se.matchMedia(r[u]),l&&(Xe.indexOf(a)<0&&Xe.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(Mr):l.addEventListener("change",Mr)));return c&&n(a,function(h){return a.add(null,h)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(n){return n.kill(r,!0)})},i})(),Kt={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(n){return Rn(n)})},timeline:function(e){return new ue(e)},getTweensOf:function(e,t){return W.getTweensOf(e,t)},getProperty:function(e,t,r,n){re(e)&&(e=Oe(e)[0]);var s=Ue(e||{}).get,a=r?gn:_n;return r==="native"&&(r=""),e&&(t?a((ve[t]&&ve[t].get||s)(e,t,r,n)):function(o,l,u){return a((ve[o]&&ve[o].get||s)(e,o,l,u))})},quickSetter:function(e,t,r){if(e=Oe(e),e.length>1){var n=e.map(function(c){return pe.quickSetter(c,t,r)}),s=n.length;return function(c){for(var h=s;h--;)n[h](c)}}e=e[0]||{};var a=ve[t],o=Ue(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var h=new a;ot._pt=0,h.init(e,r?c+r:c,ot,0,[e]),h.render(1,h),ot._pt&&Ar(1,ot)}:o.set(e,l);return a?u:function(c){return u(e,l,r?c+r:c,o,1)}},quickTo:function(e,t,r){var n,s=pe.to(e,xe((n={},n[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),a=function(l,u,c){return s.resetTo(t,l,u,c)};return a.tween=s,a},isTweening:function(e){return W.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=$e(e.ease,tt.ease)),vn(tt,e||{})},config:function(e){return vn(_e,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,s=e.defaults,a=e.extendTimeline;(n||"").split(",").forEach(function(o){return o&&!ve[o]&&!ge[o]&&xt(t+" effect requires "+o+" plugin.")}),_r[t]=function(o,l,u){return r(Oe(o),xe(l||{},s),u)},a&&(ue.prototype[t]=function(o,l,u){return this.add(_r[t](o,Ce(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){E[e]=$e(t)},parseEase:function(e,t){return arguments.length?$e(e,t):E},getById:function(e){return W.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new ue(e),n,s;for(r.smoothChildTiming=fe(e.smoothChildTiming),W.remove(r),r._dp=0,r._time=r._tTime=W._time,n=W._first;n;)s=n._next,(t||!(!n._dur&&n instanceof K&&n.vars.onComplete===n._targets[0]))&&Pe(r,n,n._start-n._delay),n=s;return Pe(W,r,0),r},context:function(e,t){return e?new Jn(e,t):$},matchMedia:function(e){return new Js(e)},matchMediaRefresh:function(){return Xe.forEach(function(e){var t=e.conditions,r,n;for(n in t)t[n]&&(t[n]=!1,r=1);r&&e.revert()})||Mr()},addEventListener:function(e,t){var r=Qt[e]||(Qt[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Qt[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:Ps,wrapYoyo:ks,distribute:Cn,random:Pn,snap:Sn,normalize:Ss,getUnit:oe,clamp:js,splitColor:Mn,toArray:Oe,selector:Tr,mapRange:Nn,pipe:qs,unitize:Cs,interpolate:Ns,shuffle:qn},install:cn,effects:_r,ticker:be,updateRoot:ue.updateRoot,plugins:ve,globalTimeline:W,core:{PropTween:he,globals:fn,Tween:K,Timeline:ue,Animation:St,getCache:Ue,_removeLinkedListItem:Wt,reverting:function(){return se},context:function(e){return e&&$&&($.data.push(e),e._ctx=$),$},suppressOverwrites:function(e){return sr=e}}};de("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return Kt[i]=K[i]}),be.add(ue.updateRoot),ot=Kt.to({},{duration:0});var Qs=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Ks=function(e,t){var r=e._targets,n,s,a;for(n in t)for(s=r.length;s--;)a=e._ptLookup[s][n],a&&(a=a.d)&&(a._pt&&(a=Qs(a,n)),a&&a.modifier&&a.modifier(t[n],e,r[s],n))},Dr=function(e,t){return{name:e,headless:1,rawVars:1,init:function(n,s,a){a._onInit=function(o){var l,u;if(re(s)&&(l={},de(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}Ks(o,s)}}}},pe=Kt.registerPlugin({name:"attr",init:function(e,t,r,n,s){var a,o,l;this.tween=r;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],n,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var r=t._pt;r;)se?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Dr("roundProps",jr),Dr("modifiers"),Dr("snap",Sn))||Kt;K.version=ue.version=pe.version="3.13.0",un=1,lr()&&lt(),E.Power0,E.Power1,E.Power2,E.Power3,E.Power4,E.Linear,E.Quad,E.Cubic,E.Quart,E.Quint,E.Strong,E.Elastic,E.Back,E.SteppedEase,E.Bounce,E.Sine,E.Expo,E.Circ;/*!
31
43
  * CSSPlugin 3.13.0
32
44
  * https://gsap.com
33
45
  *
34
46
  * Copyright 2008-2025, GreenSock. All rights reserved.
35
47
  * Subject to the terms at https://gsap.com/standard-license
36
48
  * @author: Jack Doyle, jack@greensock.com
37
- */var Li,Dt,se,qr,Vt,Zi,Cr,ps=function(){return typeof window<"u"},Pt={},Yt=180/Math.PI,ae=Math.PI/180,oe=Math.atan2,Bi=1e8,Sr=/([A-Z])/g,ms=/(left|right|width|margin|padding|x)/i,gs=/[\s,\(]\S/,St={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Or=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},vs=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},xs=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ys=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},zi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Ui=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ws=function(t,e,r){return t.style[e]=r},Ts=function(t,e,r){return t.style.setProperty(e,r)},bs=function(t,e,r){return t._gsap[e]=r},qs=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},Cs=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},Ss=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},z="transform",ht=z+"Origin",Os=function a(t,e){var r=this,i=this.target,n=i.style,s=i._gsap;if(t in Pt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=St[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return r.tfm[o]=kt(i,o)}):this.tfm[t]=s.x?s[t]:kt(i,t),t===ht&&(this.tfm.zOrigin=s.zOrigin);else return St.transform.split(",").forEach(function(o){return a.call(r,o,e)});if(this.props.indexOf(z)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(ht,e,"")),t=z}(n||e)&&this.props.push(t,e,n[t])},Hi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},js=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?r[t[n]]=t[n+2]:r.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Sr,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Cr(),(!n||!n.isStart)&&!r[z]&&(Hi(r),i.zOrigin&&r[ht]&&(r[ht]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Vi=function(t,e){var r={target:t,props:[],revert:js,save:Os};return t._gsap||ft.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(i){return r.save(i)}),r},Yi,jr=function(t,e){var r=Dt.createElementNS?Dt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Dt.createElement(t);return r&&r.style?r:Dt.createElement(t)},Tt=function a(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(Sr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&a(t,le(e)||e,1)||""},Xi="O,Moz,ms,Ms,Webkit".split(","),le=function(t,e,r){var i=e||Vt,n=i.style,s=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Xi[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Xi[s]:"")+t},Pr=function(){ps()&&window.document&&(Li=window,Dt=Li.document,se=Dt.documentElement,Vt=jr("div")||{style:{}},jr("div"),z=le(z),ht=z+"Origin",Vt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Yi=!!le("perspective"),Cr=ft.core.reverting,qr=1)},Wi=function(t){var e=t.ownerSVGElement,r=jr("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0),n;i.style.display="block",r.appendChild(i),se.appendChild(r);try{n=i.getBBox()}catch{}return r.removeChild(i),se.removeChild(r),n},Gi=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Ji=function(t){var e,r;try{e=t.getBBox()}catch{e=Wi(t),r=1}return e&&(e.width||e.height)||r||(e=Wi(t)),e&&!e.width&&!e.x&&!e.y?{x:+Gi(t,["x","cx","x1"])||0,y:+Gi(t,["y","cy","y1"])||0,width:0,height:0}:e},Qi=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Ji(t))},Xt=function(t,e){if(e){var r=t.style,i;e in Pt&&e!==ht&&(e=z),r.removeProperty?(i=e.substr(0,2),(i==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(i==="--"?e:e.replace(Sr,"-$1").toLowerCase())):r.removeAttribute(e)}},It=function(t,e,r,i,n,s){var o=new ut(t._pt,e,r,0,1,s?Ui:zi);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},Ki={deg:1,rad:1,turn:1},Ps={grid:1,flex:1},Ft=function a(t,e,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",o=Vt.style,l=ms.test(e),u=t.tagName.toLowerCase()==="svg",f=(u?"client":"offset")+(l?"Width":"Height"),c=100,_=i==="px",p=i==="%",m,h,g,v;if(i===s||!n||Ki[i]||Ki[s])return n;if(s!=="px"&&!_&&(n=a(t,e,r,"px")),v=t.getCTM&&Qi(t),(p||s==="%")&&(Pt[e]||~e.indexOf("adius")))return m=v?t.getBBox()[l?"width":"height"]:t[f],Y(p?n/m*c:n/100*m);if(o[l?"width":"height"]=c+(_?s:i),h=i!=="rem"&&~e.indexOf("adius")||i==="em"&&t.appendChild&&!u?t:t.parentNode,v&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Dt||!h.appendChild)&&(h=Dt.body),g=h._gsap,g&&p&&g.width&&l&&g.time===vt.time&&!g.uncache)return Y(n/g.width*c);if(p&&(e==="height"||e==="width")){var y=t.style[e];t.style[e]=c+i,m=t[f],y?t.style[e]=y:Xt(t,e)}else(p||s==="%")&&!Ps[Tt(h,"display")]&&(o.position=Tt(t,"position")),h===t&&(o.position="static"),h.appendChild(Vt),m=Vt[f],h.removeChild(Vt),o.position="absolute";return l&&p&&(g=Zt(h),g.time=vt.time,g.width=h[f]),Y(_?m*n/c:m&&n?c/m*n:0)},kt=function(t,e,r,i){var n;return qr||Pr(),e in St&&e!=="transform"&&(e=St[e],~e.indexOf(",")&&(e=e.split(",")[0])),Pt[e]&&e!=="transform"?(n=Ce(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Be(Tt(t,ht))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=Ze[e]&&Ze[e](t,e,r)||Tt(t,e)||ei(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?Ft(t,e,n,r)+r:n},ks=function(t,e,r,i){if(!r||r==="none"){var n=le(e,t,1),s=n&&Tt(t,n,1);s&&s!==r?(e=n,r=s):e==="borderColor"&&(r=Tt(t,"borderTopColor"))}var o=new ut(this._pt,t.style,e,0,1,Mi),l=0,u=0,f,c,_,p,m,h,g,v,y,b,T,x;if(o.b=r,o.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=Tt(t,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=t.style[e],t.style[e]=i,i=Tt(t,e)||i,h?t.style[e]=h:Xt(t,e)),f=[r,i],Ci(f),r=f[0],i=f[1],_=r.match(Kt)||[],x=i.match(Kt)||[],x.length){for(;c=Kt.exec(i);)g=c[0],y=i.substring(l,c.index),m?m=(m+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(m=1),g!==(h=_[u++]||"")&&(p=parseFloat(h)||0,T=h.substr((p+"").length),g.charAt(1)==="="&&(g=$t(p,g)+T),v=parseFloat(g),b=g.substr((v+"").length),l=Kt.lastIndex-b.length,b||(b=b||dt.units[e]||T,l===i.length&&(i+=b,o.e+=b)),T!==b&&(p=Ft(t,e,h,b)||0),o._pt={_next:o._pt,p:y||u===1?y:",",s:p,c:v-p,m:m&&m<4||e==="zIndex"?Math.round:0});o.c=l<i.length?i.substring(l,i.length):""}else o.r=e==="display"&&i==="none"?Ui:zi;return Wr.test(i)&&(o.e=0),this._pt=o,o},$i={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Rs=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(t=r,r=i,i=t),e[0]=$i[r]||r,e[1]=$i[i]||i,e.join(" ")},Es=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,i=r.style,n=e.u,s=r._gsap,o,l,u;if(n==="all"||n===!0)i.cssText="",l=1;else for(n=n.split(","),u=n.length;--u>-1;)o=n[u],Pt[o]&&(l=1,o=o==="transformOrigin"?ht:z),Xt(r,o);l&&(Xt(r,z),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",Ce(r,1),s.uncache=1,Hi(i)))}},Ze={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var s=t._pt=new ut(t._pt,e,r,0,0,Es);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},qe=[1,0,0,1,0,0],tn={},en=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},rn=function(t){var e=Tt(t,z);return en(e)?qe:e.substr(7).match(Xr).map(Y)},kr=function(t,e){var r=t._gsap||Zt(t),i=t.style,n=rn(t),s,o,l,u;return r.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?qe:n):(n===qe&&!t.offsetParent&&t!==se&&!r.svg&&(l=i.display,i.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(u=1,o=t.nextElementSibling,se.appendChild(t)),n=rn(t),l?i.display=l:Xt(t,"display"),u&&(o?s.insertBefore(t,o):s?s.appendChild(t):se.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Rr=function(t,e,r,i,n,s){var o=t._gsap,l=n||kr(t,!0),u=o.xOrigin||0,f=o.yOrigin||0,c=o.xOffset||0,_=o.yOffset||0,p=l[0],m=l[1],h=l[2],g=l[3],v=l[4],y=l[5],b=e.split(" "),T=parseFloat(b[0])||0,x=parseFloat(b[1])||0,C,S,O,q;r?l!==qe&&(S=p*g-m*h)&&(O=T*(g/S)+x*(-h/S)+(h*y-g*v)/S,q=T*(-m/S)+x*(p/S)-(p*y-m*v)/S,T=O,x=q):(C=Ji(t),T=C.x+(~b[0].indexOf("%")?T/100*C.width:T),x=C.y+(~(b[1]||b[0]).indexOf("%")?x/100*C.height:x)),i||i!==!1&&o.smooth?(v=T-u,y=x-f,o.xOffset=c+(v*p+y*h)-v,o.yOffset=_+(v*m+y*g)-y):o.xOffset=o.yOffset=0,o.xOrigin=T,o.yOrigin=x,o.smooth=!!i,o.origin=e,o.originIsAbsolute=!!r,t.style[ht]="0px 0px",s&&(It(s,o,"xOrigin",u,T),It(s,o,"yOrigin",f,x),It(s,o,"xOffset",c,o.xOffset),It(s,o,"yOffset",_,o.yOffset)),t.setAttribute("data-svg-origin",T+" "+x)},Ce=function(t,e){var r=t._gsap||new Pi(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,s="px",o="deg",l=getComputedStyle(t),u=Tt(t,ht)||"0",f,c,_,p,m,h,g,v,y,b,T,x,C,S,O,q,P,N,E,M,X,W,U,G,ct,Jt,w,j,A,K,tt,et;return f=c=_=h=g=v=y=b=T=0,p=m=1,r.svg=!!(t.getCTM&&Qi(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[z]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[z]!=="none"?l[z]:"")),i.scale=i.rotate=i.translate="none"),S=kr(t,r.svg),r.svg&&(r.uncache?(ct=t.getBBox(),u=r.xOrigin-ct.x+"px "+(r.yOrigin-ct.y)+"px",G=""):G=!e&&t.getAttribute("data-svg-origin"),Rr(t,G||u,!!G||r.originIsAbsolute,r.smooth!==!1,S)),x=r.xOrigin||0,C=r.yOrigin||0,S!==qe&&(N=S[0],E=S[1],M=S[2],X=S[3],f=W=S[4],c=U=S[5],S.length===6?(p=Math.sqrt(N*N+E*E),m=Math.sqrt(X*X+M*M),h=N||E?oe(E,N)*Yt:0,y=M||X?oe(M,X)*Yt+h:0,y&&(m*=Math.abs(Math.cos(y*ae))),r.svg&&(f-=x-(x*N+C*M),c-=C-(x*E+C*X))):(et=S[6],K=S[7],w=S[8],j=S[9],A=S[10],tt=S[11],f=S[12],c=S[13],_=S[14],O=oe(et,A),g=O*Yt,O&&(q=Math.cos(-O),P=Math.sin(-O),G=W*q+w*P,ct=U*q+j*P,Jt=et*q+A*P,w=W*-P+w*q,j=U*-P+j*q,A=et*-P+A*q,tt=K*-P+tt*q,W=G,U=ct,et=Jt),O=oe(-M,A),v=O*Yt,O&&(q=Math.cos(-O),P=Math.sin(-O),G=N*q-w*P,ct=E*q-j*P,Jt=M*q-A*P,tt=X*P+tt*q,N=G,E=ct,M=Jt),O=oe(E,N),h=O*Yt,O&&(q=Math.cos(O),P=Math.sin(O),G=N*q+E*P,ct=W*q+U*P,E=E*q-N*P,U=U*q-W*P,N=G,W=ct),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,v=180-v),p=Y(Math.sqrt(N*N+E*E+M*M)),m=Y(Math.sqrt(U*U+et*et)),O=oe(W,U),y=Math.abs(O)>2e-4?O*Yt:0,T=tt?1/(tt<0?-tt:tt):0),r.svg&&(G=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!en(Tt(t,z)),G&&t.setAttribute("transform",G))),Math.abs(y)>90&&Math.abs(y)<270&&(n?(p*=-1,y+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,y+=y<=0?180:-180)),e=e||r.uncache,r.x=f-((r.xPercent=f&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=c-((r.yPercent=c&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=_+s,r.scaleX=Y(p),r.scaleY=Y(m),r.rotation=Y(h)+o,r.rotationX=Y(g)+o,r.rotationY=Y(v)+o,r.skewX=y+o,r.skewY=b+o,r.transformPerspective=T+s,(r.zOrigin=parseFloat(u.split(" ")[2])||!e&&r.zOrigin||0)&&(i[ht]=Be(u)),r.xOffset=r.yOffset=0,r.force3D=dt.force3D,r.renderTransform=r.svg?Ns:Yi?nn:As,r.uncache=0,r},Be=function(t){return(t=t.split(" "))[0]+" "+t[1]},Er=function(t,e,r){var i=nt(e);return Y(parseFloat(e)+parseFloat(Ft(t,"x",r+"px",i)))+i},As=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,nn(t,e)},Wt="0deg",Se="0px",Gt=") ",nn=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,l=r.z,u=r.rotation,f=r.rotationY,c=r.rotationX,_=r.skewX,p=r.skewY,m=r.scaleX,h=r.scaleY,g=r.transformPerspective,v=r.force3D,y=r.target,b=r.zOrigin,T="",x=v==="auto"&&t&&t!==1||v===!0;if(b&&(c!==Wt||f!==Wt)){var C=parseFloat(f)*ae,S=Math.sin(C),O=Math.cos(C),q;C=parseFloat(c)*ae,q=Math.cos(C),s=Er(y,s,S*q*-b),o=Er(y,o,-Math.sin(C)*-b),l=Er(y,l,O*q*-b+b)}g!==Se&&(T+="perspective("+g+Gt),(i||n)&&(T+="translate("+i+"%, "+n+"%) "),(x||s!==Se||o!==Se||l!==Se)&&(T+=l!==Se||x?"translate3d("+s+", "+o+", "+l+") ":"translate("+s+", "+o+Gt),u!==Wt&&(T+="rotate("+u+Gt),f!==Wt&&(T+="rotateY("+f+Gt),c!==Wt&&(T+="rotateX("+c+Gt),(_!==Wt||p!==Wt)&&(T+="skew("+_+", "+p+Gt),(m!==1||h!==1)&&(T+="scale("+m+", "+h+Gt),y.style[z]=T||"translate(0, 0)"},Ns=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,l=r.rotation,u=r.skewX,f=r.skewY,c=r.scaleX,_=r.scaleY,p=r.target,m=r.xOrigin,h=r.yOrigin,g=r.xOffset,v=r.yOffset,y=r.forceCSS,b=parseFloat(s),T=parseFloat(o),x,C,S,O,q;l=parseFloat(l),u=parseFloat(u),f=parseFloat(f),f&&(f=parseFloat(f),u+=f,l+=f),l||u?(l*=ae,u*=ae,x=Math.cos(l)*c,C=Math.sin(l)*c,S=Math.sin(l-u)*-_,O=Math.cos(l-u)*_,u&&(f*=ae,q=Math.tan(u-f),q=Math.sqrt(1+q*q),S*=q,O*=q,f&&(q=Math.tan(f),q=Math.sqrt(1+q*q),x*=q,C*=q)),x=Y(x),C=Y(C),S=Y(S),O=Y(O)):(x=c,O=_,C=S=0),(b&&!~(s+"").indexOf("px")||T&&!~(o+"").indexOf("px"))&&(b=Ft(p,"x",s,"px"),T=Ft(p,"y",o,"px")),(m||h||g||v)&&(b=Y(b+m-(m*x+h*S)+g),T=Y(T+h-(m*C+h*O)+v)),(i||n)&&(q=p.getBBox(),b=Y(b+i/100*q.width),T=Y(T+n/100*q.height)),q="matrix("+x+","+C+","+S+","+O+","+b+","+T+")",p.setAttribute("transform",q),y&&(p.style[z]=q)},Ms=function(t,e,r,i,n){var s=360,o=$(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?Yt:1),u=l-i,f=i+u+"deg",c,_;return o&&(c=n.split("_")[1],c==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),c==="cw"&&u<0?u=(u+s*Bi)%s-~~(u/s)*s:c==="ccw"&&u>0&&(u=(u-s*Bi)%s-~~(u/s)*s)),t._pt=_=new ut(t._pt,e,r,i,u,vs),_.e=f,_.u="deg",t._props.push(r),_},sn=function(t,e){for(var r in e)t[r]=e[r];return t},Ds=function(t,e,r){var i=sn({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,o,l,u,f,c,_,p,m;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),s[z]=e,o=Ce(r,1),Xt(r,z),r.setAttribute("transform",u)):(u=getComputedStyle(r)[z],s[z]=e,o=Ce(r,1),s[z]=u);for(l in Pt)u=i[l],f=o[l],u!==f&&n.indexOf(l)<0&&(p=nt(u),m=nt(f),c=p!==m?Ft(r,l,u,m):parseFloat(u),_=parseFloat(f),t._pt=new ut(t._pt,o,l,c,_-c,Or),t._pt.u=m||0,t._props.push(l));sn(o,i)};lt("padding,margin,Width,Radius",function(a,t){var e="Top",r="Right",i="Bottom",n="Left",s=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(o){return t<2?a+o:"border"+o+a});Ze[t>1?"border"+a:a]=function(o,l,u,f,c){var _,p;if(arguments.length<4)return _=s.map(function(m){return kt(o,m,u)}),p=_.join(" "),p.split(_[0]).length===5?_[0]:p;_=(f+"").split(" "),p={},s.forEach(function(m,h){return p[m]=_[h]=_[h]||_[(h-1)/2|0]}),o.init(l,p,c)}});var an={name:"css",register:Pr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s=this._props,o=t.style,l=r.vars.startAt,u,f,c,_,p,m,h,g,v,y,b,T,x,C,S,O;qr||Pr(),this.styles=this.styles||Vi(t),O=this.styles.props,this.tween=r;for(h in e)if(h!=="autoRound"&&(f=e[h],!(pt[h]&&ki(h,e,r,i,t,n)))){if(p=typeof f,m=Ze[h],p==="function"&&(f=f.call(r,i,t,n),p=typeof f),p==="string"&&~f.indexOf("random(")&&(f=ve(f)),m)m(this,t,h,f,r)&&(S=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(t).getPropertyValue(h)+"").trim(),f+="",Nt.lastIndex=0,Nt.test(u)||(g=nt(u),v=nt(f)),v?g!==v&&(u=Ft(t,h,u,v)+v):g&&(f+=g),this.add(o,"setProperty",u,f,i,n,0,0,h),s.push(h),O.push(h,0,o[h]);else if(p!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(r,i,t,n):l[h],$(u)&&~u.indexOf("random(")&&(u=ve(u)),nt(u+"")||u==="auto"||(u+=dt.units[h]||nt(kt(t,h))||""),(u+"").charAt(1)==="="&&(u=kt(t,h))):u=kt(t,h),_=parseFloat(u),y=p==="string"&&f.charAt(1)==="="&&f.substr(0,2),y&&(f=f.substr(2)),c=parseFloat(f),h in St&&(h==="autoAlpha"&&(_===1&&kt(t,"visibility")==="hidden"&&c&&(_=0),O.push("visibility",0,o.visibility),It(this,o,"visibility",_?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=St[h],~h.indexOf(",")&&(h=h.split(",")[0]))),b=h in Pt,b){if(this.styles.save(h),p==="string"&&f.substring(0,6)==="var(--"&&(f=Tt(t,f.substring(4,f.indexOf(")"))),c=parseFloat(f)),T||(x=t._gsap,x.renderTransform&&!e.parseTransform||Ce(t,e.parseTransform),C=e.smoothOrigin!==!1&&x.smooth,T=this._pt=new ut(this._pt,o,z,0,1,x.renderTransform,x,0,-1),T.dep=1),h==="scale")this._pt=new ut(this._pt,x,"scaleY",x.scaleY,(y?$t(x.scaleY,y+c):c)-x.scaleY||0,Or),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){O.push(ht,0,o[ht]),f=Rs(f),x.svg?Rr(t,f,0,C,0,this):(v=parseFloat(f.split(" ")[2])||0,v!==x.zOrigin&&It(this,x,"zOrigin",x.zOrigin,v),It(this,o,h,Be(u),Be(f)));continue}else if(h==="svgOrigin"){Rr(t,f,1,C,0,this);continue}else if(h in tn){Ms(this,x,h,_,y?$t(_,y+f):f);continue}else if(h==="smoothOrigin"){It(this,x,"smooth",x.smooth,f);continue}else if(h==="force3D"){x[h]=f;continue}else if(h==="transform"){Ds(this,f,t);continue}}else h in o||(h=le(h)||h);if(b||(c||c===0)&&(_||_===0)&&!gs.test(f)&&h in o)g=(u+"").substr((_+"").length),c||(c=0),v=nt(f)||(h in dt.units?dt.units[h]:g),g!==v&&(_=Ft(t,h,u,v)),this._pt=new ut(this._pt,b?x:o,h,_,(y?$t(_,y+c):c)-_,!b&&(v==="px"||h==="zIndex")&&e.autoRound!==!1?ys:Or),this._pt.u=v||0,g!==v&&v!=="%"&&(this._pt.b=u,this._pt.r=xs);else if(h in o)ks.call(this,t,h,u,y?y+f:f);else if(h in t)this.add(t,h,u||t[h],y?y+f:f,i,n);else if(h!=="parseTransform"){tr(h,f);continue}b||(h in o?O.push(h,0,o[h]):typeof t[h]=="function"?O.push(h,2,t[h]()):O.push(h,1,u||t[h])),s.push(h)}}S&&Di(this)},render:function(t,e){if(e.tween._time||!Cr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:kt,aliases:St,getSetter:function(t,e,r){var i=St[e];return i&&i.indexOf(",")<0&&(e=i),e in Pt&&e!==ht&&(t._gsap.x||kt(t,"x"))?r&&Zi===r?e==="scale"?qs:bs:(Zi=r||{})&&(e==="scale"?Cs:Ss):t.style&&!We(t.style[e])?ws:~e.indexOf("-")?Ts:xr(t,e)},core:{_removeProperty:Xt,_getMatrix:kr}};ft.utils.checkPrefix=le,ft.core.getStyleSaver=Vi,(function(a,t,e,r){var i=lt(a+","+t+","+e,function(n){Pt[n]=1});lt(t,function(n){dt.units[n]="deg",tn[n]=1}),St[i[13]]=a+","+t,lt(r,function(n){var s=n.split(":");St[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),lt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){dt.units[a]="px"}),ft.registerPlugin(an);var ue=ft.registerPlugin(an)||ft;ue.core.Tween;const ze=(a,t,e,r)=>t&&(Array.isArray(t)?t.length>0:t)?a.to(t,e,r):a,on=(a,t)=>{cn.useGSAP(()=>{const e=ue.timeline({defaults:{duration:.7,ease:"power1.out"}}),r={navbar:a.current,navLabels:ue.utils.toArray(".nav-label"),navIconWrappers:ue.utils.toArray(".nav-icon-wrapper"),navIcons:ue.utils.toArray(".nav-icon"),navLinkItems:ue.utils.toArray(".nav-link-item"),logoutButton:document.querySelector(".logout-button"),logoutLabel:document.querySelector(".logout-label"),logoutIcon:document.querySelector(".logout-icon"),profileContainer:document.querySelector(".profile-container"),profileName:document.querySelector(".profile-name"),profileOptions:document.querySelector(".profile-options"),profileImageWrapper:document.querySelector(".profile-image-wrapper"),coverImageProfile:document.querySelector(".cover-image-profile"),navContentWrapper:document.querySelector(".nav-content-wrapper-active"),buttonCrevron:document.querySelector(".button-select-crevron"),separatorProfile:document.querySelector(".border-separator-profile"),buttonProfile:document.querySelector(".button-profile"),profileUserInfo:document.querySelector(".profile-user-info"),buttonContentChevron:document.querySelector(".button-content-chevron")};t?Is(e,r):Fs(e,r)},{scope:a,dependencies:[t]})},Is=(a,t)=>{a.to(t.navbar,{width:"6rem"},.2).to(t.profileUserInfo,{display:"none"},0).to(t.navLinkItems,{justifyContent:"center",alignItems:"center",width:"3rem",height:"3rem",display:"flex"},.1).to(t.navLabels,{opacity:0,width:30,marginLeft:0},0).to(t.navIcons,{scale:.9},0).to(t.navContentWrapper,{backgroundColor:"transparent"},0),ze(a,t.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{t.buttonCrevron.style.display="none"}},0),ze(a,t.buttonContentChevron,{display:"none"},0).to(t.separatorProfile,{display:"none"},0).to(t.navLinkItems,{borderRadius:"8px",duration:.7,ease:"power1.out"},.8).to(t.buttonProfile,{height:"3rem",width:"3rem",borderRadius:"50px",margin:0,padding:0,borderTopLeftRadius:"50px",borderTopRightRadius:"50px",borderBottomLeftRadius:"50px",borderBottomRightRadius:"50px",duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},0)},Fs=(a,t)=>{a.to(t.navLinkItems,{borderRadius:"10px",duration:.3},0).to(t.navbar,{width:"20rem"},-1),ze(a,t.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{t.buttonCrevron.style.display="flex"}},0),ze(a,t.buttonContentChevron,{display:"flex"},0).to(t.buttonContentChevron,{display:"flex"},0).to(t.separatorProfile,{display:"flex"},0).to(t.profileUserInfo,{display:"flex"},.3).to(t.buttonProfile,{borderTopLeftRadius:"0.375rem",borderBottomLeftRadius:"0.375rem",borderTopRightRadius:"0",borderBottomRightRadius:"0",duration:0},-1).to(t.navLinkItems,{width:"100%",justifyContent:"flex-start"},.2).to(t.separatorProfile,{display:"flex"},0).to(t.navLabels,{opacity:1,width:"auto",scaleX:1},0).to(t.navIcons,{scale:1},.3)},Ls=({user:a,sessions:t,handleLogout:e,handleTokenLogin:r,pageLinks:i,utilLinks:n,isActiveModalNotification:s,handleNotificationClick:o,handleProfileClick:l,onLinkClick:u,isLinkActive:f})=>{const[c,_]=V.useState(!1),{navbarRef:p}=Ur(c);on(p,c);const[m,h]=V.useState(!1),[g,v]=V.useState(!1),y=V.useRef(null);V.useEffect(()=>{const C=S=>{y.current&&!y.current.contains(S.target)&&g&&v(!1)};return g&&document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[g,v]),V.useEffect(()=>{c&&h(!1)},[c]);const b=()=>{v(!g)},T=()=>{v(!1),_(!c)},x=()=>{h(c?!1:!m)};return d.jsxs("div",{ref:p,className:`bg-neutral-default-default overflow-hidden h-screen flex flex-col border-r border-neutral-strong-default transition-all duration-300 ${c?"w-16":"w-64"}`,children:[d.jsx(Br,{isCollapsed:c,onToggle:T}),d.jsx(zr,{logoUrl:a?.company_id.logo||"",companyName:a?.company_id.name}),d.jsx("div",{className:"px-3 flex justify-center items-center w-full mb-4",children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),d.jsx(Ve,{links:i,isLinkActive:f,componentBadge:C=>d.jsx(He,{notificationsCount:C||0}),onLinkClick:u}),d.jsx("div",{className:"flex-grow"}),d.jsx(Ve,{links:n,componentBadge:C=>d.jsx(He,{notificationsCount:C||0}),onClick:o,isLinkActive:f,activeModal:s,onLinkClick:u}),d.jsx("div",{className:"px-3 flex justify-center items-center w-full mt-4",children:d.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),d.jsx("div",{className:"px-3 py-2",children:d.jsx(Ue,{sessions:t,user:a,isExpanded:m,showOptions:!0,onProfileClick:c?b:l,onClick:x,onClickLogout:()=>e(a),handleTokenLogin:C=>{r(C),h(!1)}})}),c&&!m&&g&&d.jsx(d.Fragment,{children:d.jsx(Zr,{sessionsShow:t,handleTokenLogin:r,onClickLogout:()=>e(a),menuRef:y,onProfileClick:l})})]})},Zs=({children:a})=>d.jsxs("div",{className:"flex h-screen w-full",children:[a,d.jsx("main",{className:"w-full h-full overflow-y-auto",children:d.jsx(dn.Outlet,{})})]}),Bs=(a,t=!0)=>{const e=V.useRef(null);return V.useEffect(()=>{if(!t)return;const r=i=>{e.current&&!e.current.contains(i.target)&&a()};return document.addEventListener("mousedown",r,{capture:!0}),document.addEventListener("touchstart",r,{capture:!0}),()=>{document.removeEventListener("mousedown",r,{capture:!0}),document.removeEventListener("touchstart",r,{capture:!0})}},[a,t]),e};D.Badge=He,D.Button=xn,D.CompanyLogo=zr,D.Icons=Lt,D.Input=wn,D.LayoutGeneric=Zs,D.Menu=Zr,D.NavbarCollapseButton=Br,D.NavbarLinks=Ve,D.Sidebar=Ls,D.UserProfile=Ue,D.useClickOutside=Bs,D.useNavbarAnimations=on,D.useNavbarCollapse=Ur,Object.defineProperty(D,Symbol.toStringTag,{value:"Module"})}));
49
+ */var Qn,Be,ut,Fr,Ge,Kn,Lr,ea=function(){return typeof window<"u"},Re={},Je=180/Math.PI,ct=Math.PI/180,ft=Math.atan2,ei=1e8,Ir=/([A-Z])/g,ta=/(left|right|width|margin|padding|x)/i,ra=/[\s,\(]\S/,ke={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Zr=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},na=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ia=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},sa=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},ti=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},ri=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},aa=function(e,t,r){return e.style[t]=r},oa=function(e,t,r){return e.style.setProperty(t,r)},la=function(e,t,r){return e._gsap[t]=r},ua=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},ca=function(e,t,r,n,s){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(s,a)},fa=function(e,t,r,n,s){var a=e._gsap;a[t]=r,a.renderTransform(s,a)},X="transform",me=X+"Origin",da=function i(e,t){var r=this,n=this.target,s=n.style,a=n._gsap;if(e in Re&&s){if(this.tfm=this.tfm||{},e!=="transform")e=ke[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Me(n,o)}):this.tfm[e]=a.x?a[e]:Me(n,e),e===me&&(this.tfm.zOrigin=a.zOrigin);else return ke.transform.split(",").forEach(function(o){return i.call(r,o,t)});if(this.props.indexOf(X)>=0)return;a.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(me,t,"")),e=X}(s||t)&&this.props.push(e,t,s[e])},ni=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},ha=function(){var e=this.props,t=this.target,r=t.style,n=t._gsap,s,a;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?t[e[s]](e[s+2]):t[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(Ir,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)n[a]=this.tfm[a];n.svg&&(n.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),s=Lr(),(!s||!s.isStart)&&!r[X]&&(ni(r),n.zOrigin&&r[me]&&(r[me]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},ii=function(e,t){var r={target:e,props:[],revert:ha,save:da};return e._gsap||pe.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(n){return r.save(n)}),r},si,zr=function(e,t){var r=Be.createElementNS?Be.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Be.createElement(e);return r&&r.style?r:Be.createElement(e)},qe=function i(e,t,r){var n=getComputedStyle(e);return n[t]||n.getPropertyValue(t.replace(Ir,"-$1").toLowerCase())||n.getPropertyValue(t)||!r&&i(e,dt(t)||t,1)||""},ai="O,Moz,ms,Ms,Webkit".split(","),dt=function(e,t,r){var n=t||Ge,s=n.style,a=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(ai[a]+e in s););return a<0?null:(a===3?"ms":a>=0?ai[a]:"")+e},Br=function(){ea()&&window.document&&(Qn=window,Be=Qn.document,ut=Be.documentElement,Ge=zr("div")||{style:{}},zr("div"),X=dt(X),me=X+"Origin",Ge.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",si=!!dt("perspective"),Lr=pe.core.reverting,Fr=1)},oi=function(e){var t=e.ownerSVGElement,r=zr("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),s;n.style.display="block",r.appendChild(n),ut.appendChild(r);try{s=n.getBBox()}catch{}return r.removeChild(n),ut.removeChild(r),s},li=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},ui=function(e){var t,r;try{t=e.getBBox()}catch{t=oi(e),r=1}return t&&(t.width||t.height)||r||(t=oi(e)),t&&!t.width&&!t.x&&!t.y?{x:+li(e,["x","cx","x1"])||0,y:+li(e,["y","cy","y1"])||0,width:0,height:0}:t},ci=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ui(e))},Qe=function(e,t){if(t){var r=e.style,n;t in Re&&t!==me&&(t=X),r.removeProperty?(n=t.substr(0,2),(n==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(n==="--"?t:t.replace(Ir,"-$1").toLowerCase())):r.removeAttribute(t)}},Ve=function(e,t,r,n,s,a){var o=new he(e._pt,t,r,0,1,a?ri:ti);return e._pt=o,o.b=n,o.e=s,e._props.push(r),o},fi={deg:1,rad:1,turn:1},pa={grid:1,flex:1},He=function i(e,t,r,n){var s=parseFloat(r)||0,a=(r+"").trim().substr((s+"").length)||"px",o=Ge.style,l=ta.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),h=100,p=n==="px",m=n==="%",_,d,g,x;if(n===a||!s||fi[n]||fi[a])return s;if(a!=="px"&&!p&&(s=i(e,t,r,"px")),x=e.getCTM&&ci(e),(m||a==="%")&&(Re[t]||~t.indexOf("adius")))return _=x?e.getBBox()[l?"width":"height"]:e[c],J(m?s/_*h:s/100*_);if(o[l?"width":"height"]=h+(p?a:n),d=n!=="rem"&&~t.indexOf("adius")||n==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(d=(e.ownerSVGElement||{}).parentNode),(!d||d===Be||!d.appendChild)&&(d=Be.body),g=d._gsap,g&&m&&g.width&&l&&g.time===be.time&&!g.uncache)return J(s/g.width*h);if(m&&(t==="height"||t==="width")){var v=e.style[t];e.style[t]=h+n,_=e[c],v?e.style[t]=v:Qe(e,t)}else(m||a==="%")&&!pa[qe(d,"display")]&&(o.position=qe(e,"position")),d===e&&(o.position="static"),d.appendChild(Ge),_=Ge[c],d.removeChild(Ge),o.position="absolute";return l&&m&&(g=Ue(d),g.time=be.time,g.width=d[c]),J(p?_*s/h:_&&s?h/_*s:0)},Me=function(e,t,r,n){var s;return Fr||Br(),t in ke&&t!=="transform"&&(t=ke[t],~t.indexOf(",")&&(t=t.split(",")[0])),Re[t]&&t!=="transform"?(s=Nt(e,n),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:tr(qe(e,me))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=er[t]&&er[t](e,t,r)||qe(e,t)||pn(e,t)||(t==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?He(e,t,s,r)+r:s},ma=function(e,t,r,n){if(!r||r==="none"){var s=dt(t,e,1),a=s&&qe(e,s,1);a&&a!==r?(t=s,r=a):t==="borderColor"&&(r=qe(e,"borderTopColor"))}var o=new he(this._pt,e.style,t,0,1,Wn),l=0,u=0,c,h,p,m,_,d,g,x,v,b,T,y;if(o.b=r,o.e=n,r+="",n+="",n.substring(0,6)==="var(--"&&(n=qe(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(d=e.style[t],e.style[t]=n,n=qe(e,t)||n,d?e.style[t]=d:Qe(e,t)),c=[r,n],Ln(c),r=c[0],n=c[1],p=r.match(rt)||[],y=n.match(rt)||[],y.length){for(;h=rt.exec(n);)g=h[0],v=n.substring(l,h.index),_?_=(_+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(_=1),g!==(d=p[u++]||"")&&(m=parseFloat(d)||0,T=d.substr((m+"").length),g.charAt(1)==="="&&(g=nt(m,g)+T),x=parseFloat(g),b=g.substr((x+"").length),l=rt.lastIndex-b.length,b||(b=b||_e.units[t]||T,l===n.length&&(n+=b,o.e+=b)),T!==b&&(m=He(e,t,d,b)||0),o._pt={_next:o._pt,p:v||u===1?v:",",s:m,c:x-m,m:_&&_<4||t==="zIndex"?Math.round:0});o.c=l<n.length?n.substring(l,n.length):""}else o.r=t==="display"&&n==="none"?ri:ti;return on.test(n)&&(o.e=0),this._pt=o,o},di={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_a=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return(r==="top"||r==="bottom"||n==="left"||n==="right")&&(e=r,r=n,n=e),t[0]=di[r]||r,t[1]=di[n]||n,t.join(" ")},ga=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,n=r.style,s=t.u,a=r._gsap,o,l,u;if(s==="all"||s===!0)n.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)o=s[u],Re[o]&&(l=1,o=o==="transformOrigin"?me:X),Qe(r,o);l&&(Qe(r,X),a&&(a.svg&&r.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Nt(r,1),a.uncache=1,ni(n)))}},er={clearProps:function(e,t,r,n,s){if(s.data!=="isFromStart"){var a=e._pt=new he(e._pt,t,r,0,0,ga);return a.u=n,a.pr=-10,a.tween=s,e._props.push(r),1}}},kt=[1,0,0,1,0,0],hi={},pi=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},mi=function(e){var t=qe(e,X);return pi(t)?kt:t.substr(7).match(an).map(J)},Vr=function(e,t){var r=e._gsap||Ue(e),n=e.style,s=mi(e),a,o,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?kt:s):(s===kt&&!e.offsetParent&&e!==ut&&!r.svg&&(l=n.display,n.display="block",a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,o=e.nextElementSibling,ut.appendChild(e)),s=mi(e),l?n.display=l:Qe(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):ut.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Hr=function(e,t,r,n,s,a){var o=e._gsap,l=s||Vr(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,h=o.xOffset||0,p=o.yOffset||0,m=l[0],_=l[1],d=l[2],g=l[3],x=l[4],v=l[5],b=t.split(" "),T=parseFloat(b[0])||0,y=parseFloat(b[1])||0,O,q,C,j;r?l!==kt&&(q=m*g-_*d)&&(C=T*(g/q)+y*(-d/q)+(d*v-g*x)/q,j=T*(-_/q)+y*(m/q)-(m*v-_*x)/q,T=C,y=j):(O=ui(e),T=O.x+(~b[0].indexOf("%")?T/100*O.width:T),y=O.y+(~(b[1]||b[0]).indexOf("%")?y/100*O.height:y)),n||n!==!1&&o.smooth?(x=T-u,v=y-c,o.xOffset=h+(x*m+v*d)-x,o.yOffset=p+(x*_+v*g)-v):o.xOffset=o.yOffset=0,o.xOrigin=T,o.yOrigin=y,o.smooth=!!n,o.origin=t,o.originIsAbsolute=!!r,e.style[me]="0px 0px",a&&(Ve(a,o,"xOrigin",u,T),Ve(a,o,"yOrigin",c,y),Ve(a,o,"xOffset",h,o.xOffset),Ve(a,o,"yOffset",p,o.yOffset)),e.setAttribute("data-svg-origin",T+" "+y)},Nt=function(e,t){var r=e._gsap||new Bn(e);if("x"in r&&!t&&!r.uncache)return r;var n=e.style,s=r.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=qe(e,me)||"0",c,h,p,m,_,d,g,x,v,b,T,y,O,q,C,j,N,F,D,M,H,V,z,U,ne,ce,w,S,P,B,ee,ie;return c=h=p=d=g=x=v=b=T=0,m=_=1,r.svg=!!(e.getCTM&&ci(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[X]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[X]!=="none"?l[X]:"")),n.scale=n.rotate=n.translate="none"),q=Vr(e,r.svg),r.svg&&(r.uncache?(ne=e.getBBox(),u=r.xOrigin-ne.x+"px "+(r.yOrigin-ne.y)+"px",U=""):U=!t&&e.getAttribute("data-svg-origin"),Hr(e,U||u,!!U||r.originIsAbsolute,r.smooth!==!1,q)),y=r.xOrigin||0,O=r.yOrigin||0,q!==kt&&(F=q[0],D=q[1],M=q[2],H=q[3],c=V=q[4],h=z=q[5],q.length===6?(m=Math.sqrt(F*F+D*D),_=Math.sqrt(H*H+M*M),d=F||D?ft(D,F)*Je:0,v=M||H?ft(M,H)*Je+d:0,v&&(_*=Math.abs(Math.cos(v*ct))),r.svg&&(c-=y-(y*F+O*M),h-=O-(y*D+O*H))):(ie=q[6],B=q[7],w=q[8],S=q[9],P=q[10],ee=q[11],c=q[12],h=q[13],p=q[14],C=ft(ie,P),g=C*Je,C&&(j=Math.cos(-C),N=Math.sin(-C),U=V*j+w*N,ne=z*j+S*N,ce=ie*j+P*N,w=V*-N+w*j,S=z*-N+S*j,P=ie*-N+P*j,ee=B*-N+ee*j,V=U,z=ne,ie=ce),C=ft(-M,P),x=C*Je,C&&(j=Math.cos(-C),N=Math.sin(-C),U=F*j-w*N,ne=D*j-S*N,ce=M*j-P*N,ee=H*N+ee*j,F=U,D=ne,M=ce),C=ft(D,F),d=C*Je,C&&(j=Math.cos(C),N=Math.sin(C),U=F*j+D*N,ne=V*j+z*N,D=D*j-F*N,z=z*j-V*N,F=U,V=ne),g&&Math.abs(g)+Math.abs(d)>359.9&&(g=d=0,x=180-x),m=J(Math.sqrt(F*F+D*D+M*M)),_=J(Math.sqrt(z*z+ie*ie)),C=ft(V,z),v=Math.abs(C)>2e-4?C*Je:0,T=ee?1/(ee<0?-ee:ee):0),r.svg&&(U=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!pi(qe(e,X)),U&&e.setAttribute("transform",U))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(m*=-1,v+=d<=0?180:-180,d+=d<=0?180:-180):(_*=-1,v+=v<=0?180:-180)),t=t||r.uncache,r.x=c-((r.xPercent=c&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+a,r.y=h-((r.yPercent=h&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-h)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+a,r.z=p+a,r.scaleX=J(m),r.scaleY=J(_),r.rotation=J(d)+o,r.rotationX=J(g)+o,r.rotationY=J(x)+o,r.skewX=v+o,r.skewY=b+o,r.transformPerspective=T+a,(r.zOrigin=parseFloat(u.split(" ")[2])||!t&&r.zOrigin||0)&&(n[me]=tr(u)),r.xOffset=r.yOffset=0,r.force3D=_e.force3D,r.renderTransform=r.svg?xa:si?_i:va,r.uncache=0,r},tr=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ur=function(e,t,r){var n=oe(t);return J(parseFloat(t)+parseFloat(He(e,"x",r+"px",n)))+n},va=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,_i(e,t)},Ke="0deg",Et="0px",et=") ",_i=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,a=r.x,o=r.y,l=r.z,u=r.rotation,c=r.rotationY,h=r.rotationX,p=r.skewX,m=r.skewY,_=r.scaleX,d=r.scaleY,g=r.transformPerspective,x=r.force3D,v=r.target,b=r.zOrigin,T="",y=x==="auto"&&e&&e!==1||x===!0;if(b&&(h!==Ke||c!==Ke)){var O=parseFloat(c)*ct,q=Math.sin(O),C=Math.cos(O),j;O=parseFloat(h)*ct,j=Math.cos(O),a=Ur(v,a,q*j*-b),o=Ur(v,o,-Math.sin(O)*-b),l=Ur(v,l,C*j*-b+b)}g!==Et&&(T+="perspective("+g+et),(n||s)&&(T+="translate("+n+"%, "+s+"%) "),(y||a!==Et||o!==Et||l!==Et)&&(T+=l!==Et||y?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+et),u!==Ke&&(T+="rotate("+u+et),c!==Ke&&(T+="rotateY("+c+et),h!==Ke&&(T+="rotateX("+h+et),(p!==Ke||m!==Ke)&&(T+="skew("+p+", "+m+et),(_!==1||d!==1)&&(T+="scale("+_+", "+d+et),v.style[X]=T||"translate(0, 0)"},xa=function(e,t){var r=t||this,n=r.xPercent,s=r.yPercent,a=r.x,o=r.y,l=r.rotation,u=r.skewX,c=r.skewY,h=r.scaleX,p=r.scaleY,m=r.target,_=r.xOrigin,d=r.yOrigin,g=r.xOffset,x=r.yOffset,v=r.forceCSS,b=parseFloat(a),T=parseFloat(o),y,O,q,C,j;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=ct,u*=ct,y=Math.cos(l)*h,O=Math.sin(l)*h,q=Math.sin(l-u)*-p,C=Math.cos(l-u)*p,u&&(c*=ct,j=Math.tan(u-c),j=Math.sqrt(1+j*j),q*=j,C*=j,c&&(j=Math.tan(c),j=Math.sqrt(1+j*j),y*=j,O*=j)),y=J(y),O=J(O),q=J(q),C=J(C)):(y=h,C=p,O=q=0),(b&&!~(a+"").indexOf("px")||T&&!~(o+"").indexOf("px"))&&(b=He(m,"x",a,"px"),T=He(m,"y",o,"px")),(_||d||g||x)&&(b=J(b+_-(_*y+d*q)+g),T=J(T+d-(_*O+d*C)+x)),(n||s)&&(j=m.getBBox(),b=J(b+n/100*j.width),T=J(T+s/100*j.height)),j="matrix("+y+","+O+","+q+","+C+","+b+","+T+")",m.setAttribute("transform",j),v&&(m.style[X]=j)},ya=function(e,t,r,n,s){var a=360,o=re(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?Je:1),u=l-n,c=n+u+"deg",h,p;return o&&(h=s.split("_")[1],h==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),h==="cw"&&u<0?u=(u+a*ei)%a-~~(u/a)*a:h==="ccw"&&u>0&&(u=(u-a*ei)%a-~~(u/a)*a)),e._pt=p=new he(e._pt,t,r,n,u,na),p.e=c,p.u="deg",e._props.push(r),p},gi=function(e,t){for(var r in t)e[r]=t[r];return e},ba=function(e,t,r){var n=gi({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=r.style,o,l,u,c,h,p,m,_;n.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),a[X]=t,o=Nt(r,1),Qe(r,X),r.setAttribute("transform",u)):(u=getComputedStyle(r)[X],a[X]=t,o=Nt(r,1),a[X]=u);for(l in Re)u=n[l],c=o[l],u!==c&&s.indexOf(l)<0&&(m=oe(u),_=oe(c),h=m!==_?He(r,l,u,_):parseFloat(u),p=parseFloat(c),e._pt=new he(e._pt,o,l,h,p-h,Zr),e._pt.u=_||0,e._props.push(l));gi(o,n)};de("padding,margin,Width,Radius",function(i,e){var t="Top",r="Right",n="Bottom",s="Left",a=(e<3?[t,r,n,s]:[t+s,t+r,n+r,n+s]).map(function(o){return e<2?i+o:"border"+o+i});er[e>1?"border"+i:i]=function(o,l,u,c,h){var p,m;if(arguments.length<4)return p=a.map(function(_){return Me(o,_,u)}),m=p.join(" "),m.split(p[0]).length===5?p[0]:m;p=(c+"").split(" "),m={},a.forEach(function(_,d){return m[_]=p[d]=p[d]||p[(d-1)/2|0]}),o.init(l,m,h)}});var vi={name:"css",register:Br,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,s){var a=this._props,o=e.style,l=r.vars.startAt,u,c,h,p,m,_,d,g,x,v,b,T,y,O,q,C;Fr||Br(),this.styles=this.styles||ii(e),C=this.styles.props,this.tween=r;for(d in t)if(d!=="autoRound"&&(c=t[d],!(ve[d]&&Vn(d,t,r,n,e,s)))){if(m=typeof c,_=er[d],m==="function"&&(c=c.call(r,n,e,s),m=typeof c),m==="string"&&~c.indexOf("random(")&&(c=jt(c)),_)_(this,e,d,c,r)&&(q=1);else if(d.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(d)+"").trim(),c+="",Ze.lastIndex=0,Ze.test(u)||(g=oe(u),x=oe(c)),x?g!==x&&(u=He(e,d,u,x)+x):g&&(c+=g),this.add(o,"setProperty",u,c,n,s,0,0,d),a.push(d),C.push(d,0,o[d]);else if(m!=="undefined"){if(l&&d in l?(u=typeof l[d]=="function"?l[d].call(r,n,e,s):l[d],re(u)&&~u.indexOf("random(")&&(u=jt(u)),oe(u+"")||u==="auto"||(u+=_e.units[d]||oe(Me(e,d))||""),(u+"").charAt(1)==="="&&(u=Me(e,d))):u=Me(e,d),p=parseFloat(u),v=m==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),h=parseFloat(c),d in ke&&(d==="autoAlpha"&&(p===1&&Me(e,"visibility")==="hidden"&&h&&(p=0),C.push("visibility",0,o.visibility),Ve(this,o,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),d!=="scale"&&d!=="transform"&&(d=ke[d],~d.indexOf(",")&&(d=d.split(",")[0]))),b=d in Re,b){if(this.styles.save(d),m==="string"&&c.substring(0,6)==="var(--"&&(c=qe(e,c.substring(4,c.indexOf(")"))),h=parseFloat(c)),T||(y=e._gsap,y.renderTransform&&!t.parseTransform||Nt(e,t.parseTransform),O=t.smoothOrigin!==!1&&y.smooth,T=this._pt=new he(this._pt,o,X,0,1,y.renderTransform,y,0,-1),T.dep=1),d==="scale")this._pt=new he(this._pt,y,"scaleY",y.scaleY,(v?nt(y.scaleY,v+h):h)-y.scaleY||0,Zr),this._pt.u=0,a.push("scaleY",d),d+="X";else if(d==="transformOrigin"){C.push(me,0,o[me]),c=_a(c),y.svg?Hr(e,c,0,O,0,this):(x=parseFloat(c.split(" ")[2])||0,x!==y.zOrigin&&Ve(this,y,"zOrigin",y.zOrigin,x),Ve(this,o,d,tr(u),tr(c)));continue}else if(d==="svgOrigin"){Hr(e,c,1,O,0,this);continue}else if(d in hi){ya(this,y,d,p,v?nt(p,v+c):c);continue}else if(d==="smoothOrigin"){Ve(this,y,"smooth",y.smooth,c);continue}else if(d==="force3D"){y[d]=c;continue}else if(d==="transform"){ba(this,c,e);continue}}else d in o||(d=dt(d)||d);if(b||(h||h===0)&&(p||p===0)&&!ra.test(c)&&d in o)g=(u+"").substr((p+"").length),h||(h=0),x=oe(c)||(d in _e.units?_e.units[d]:g),g!==x&&(p=He(e,d,u,x)),this._pt=new he(this._pt,b?y:o,d,p,(v?nt(p,v+h):h)-p,!b&&(x==="px"||d==="zIndex")&&t.autoRound!==!1?sa:Zr),this._pt.u=x||0,g!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=ia);else if(d in o)ma.call(this,e,d,u,v?v+c:c);else if(d in e)this.add(e,d,u||e[d],v?v+c:c,n,s);else if(d!=="parseTransform"){hr(d,c);continue}b||(d in o?C.push(d,0,o[d]):typeof e[d]=="function"?C.push(d,2,e[d]()):C.push(d,1,u||e[d])),a.push(d)}}q&&Xn(this)},render:function(e,t){if(t.tween._time||!Lr())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Me,aliases:ke,getSetter:function(e,t,r){var n=ke[t];return n&&n.indexOf(",")<0&&(t=n),t in Re&&t!==me&&(e._gsap.x||Me(e,"x"))?r&&Kn===r?t==="scale"?ua:la:(Kn=r||{})&&(t==="scale"?ca:fa):e.style&&!or(e.style[t])?aa:~t.indexOf("-")?oa:Er(e,t)},core:{_removeProperty:Qe,_getMatrix:Vr}};pe.utils.checkPrefix=dt,pe.core.getStyleSaver=ii,(function(i,e,t,r){var n=de(i+","+e+","+t,function(s){Re[s]=1});de(e,function(s){_e.units[s]="deg",hi[s]=1}),ke[n[13]]=i+","+e,de(r,function(s){var a=s.split(":");ke[a[1]]=n[a[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),de("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){_e.units[i]="px"}),pe.registerPlugin(vi);var ht=pe.registerPlugin(vi)||pe;ht.core.Tween;const rr=(i,e,t,r)=>e&&(Array.isArray(e)?e.length>0:e)?i.to(e,t,r):i,wa=(i,e)=>{ji.useGSAP(()=>{if(!i.current)return;const t=ht.timeline({defaults:{duration:.7,ease:"power1.out"}}),r={navbar:i.current,navLabels:ht.utils.toArray(".nav-label"),navIconWrappers:ht.utils.toArray(".nav-icon-wrapper"),navIcons:ht.utils.toArray(".nav-icon"),navLinkItems:ht.utils.toArray(".nav-link-item"),logoutButton:document.querySelector(".logout-button"),logoutLabel:document.querySelector(".logout-label"),logoutIcon:document.querySelector(".logout-icon"),profileContainer:document.querySelector(".profile-container"),profileName:document.querySelector(".profile-name"),profileOptions:document.querySelector(".profile-options"),profileImageWrapper:document.querySelector(".profile-image-wrapper"),coverImageProfile:document.querySelector(".cover-image-profile"),navContentWrapper:document.querySelector(".nav-content-wrapper-active"),buttonCrevron:document.querySelector(".button-select-crevron"),separatorProfile:document.querySelector(".border-separator-profile"),buttonProfile:document.querySelector(".button-profile"),profileUserInfo:document.querySelector(".profile-user-info"),buttonContentChevron:document.querySelector(".button-content-chevron")};e?Ta(t,r):ja(t,r)},{scope:i,dependencies:[e]})},Ta=(i,e)=>{i.to(e.navbar,{width:"6rem",duration:.2,ease:"bounce.out"}).to(e.navLinkItems,{justifyContent:"center",alignItems:"center",width:"3rem",height:"3rem",display:"flex"},-1).to(e.navLabels,{opacity:0,width:30,marginLeft:0},0).to(e.navIcons,{scale:.95,ease:"elastic.out(1, 0.3)"},0),rr(i,e.buttonCrevron,{width:0,opacity:0,duration:.7,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="none"}},0),rr(i,e.buttonContentChevron,{display:"none"},-1).to(e.separatorProfile,{display:"none"},-1).to(e.profileUserInfo,{display:"none"},-1).to(e.navLinkItems,{borderRadius:"8px",duration:.7,ease:"power1.out"},.8).to(e.buttonProfile,{height:"3rem",width:"3rem",margin:0,padding:0,duration:.3,ease:"power2.out",display:"flex",justifyContent:"center",alignItems:"center"},-1)},ja=(i,e)=>{i.to(e.navbar,{width:"20rem"},-1).to(e.navLinkItems,{borderRadius:"10px",duration:.3,width:"100%",justifyContent:"flex-start"},-1),rr(i,e.buttonCrevron,{width:"auto",opacity:1,duration:0,ease:"power1.out",onComplete:()=>{e.buttonCrevron.style.display="flex"}},0),rr(i,e.buttonContentChevron,{display:"flex"},0).to(e.separatorProfile,{display:"flex"},0).to(e.profileUserInfo,{display:"flex"},-1).to(e.buttonProfile,{borderTopLeftRadius:"0.375rem",borderBottomLeftRadius:"0.375rem",borderTopRightRadius:"0",borderBottomRightRadius:"0",duration:0},-1).to(e.separatorProfile,{display:"flex"},0).to(e.navLabels,{opacity:1,width:"auto",scaleX:1},0).to(e.navIcons,{scale:1},.3)},xi=({children:i,defaultCollapsed:e=!1,className:t=""})=>{const[r,n]=L.useState(e),s=L.useRef(null);wa(s,r);const o={isCollapsed:r,setIsCollapsed:n,navbarRef:s,toggleCollapse:()=>{n(!r)}};return f.jsx(tn.Provider,{value:o,children:f.jsx("div",{ref:s,className:`bg-neutral-default-default overflow-hidden h-screen flex flex-col border-r border-neutral-strong-default transition-all duration-300 ${r?"w-16":"w-64"} ${t}`,children:i})})},Oa=Object.assign(xi,{Root:xi,CollapseButton:({className:i="",icon:e})=>{const{isCollapsed:t,toggleCollapse:r}=ir();return f.jsx("div",{className:"flex justify-end mt-5 mr-5",children:f.jsx("button",{onClick:r,className:` bg-neutral-strong-default w-10 h-10 flex items-center justify-center cursor-pointer hover:bg-neutral-strong-medium-default hover:text-primary-default-default text-neutral-default-default rounded-md transition-colors ${i}`,children:e||f.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",className:`transform transition-transform ${t?"rotate-180":""}`,children:f.jsx("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})},Header:({children:i,className:e})=>f.jsx("div",{className:e,children:i}),Divider:({className:i})=>f.jsx("div",{className:k("px-3 flex justify-center items-center w-full mb-4",i),children:f.jsx("div",{className:"border-b border-neutral-strong-default border-1 w-full"})}),Content:({children:i,className:e})=>f.jsx("div",{className:e,children:i}),Spacer:({className:i,size:e="auto"})=>{const t=()=>{switch(e){case"auto":return"flex-grow";case"small":return"h-2 w-2";case"medium":return"h-4 w-4";case"large":return"h-8 w-8"}};return f.jsx("div",{className:k(t(),i)})},Footer:({children:i,className:e})=>f.jsx("div",{className:e,children:i})}),qa=({children:i,icon:e,label:t,href:r,onClick:n,isActive:s=!1,className:a})=>{const o=r?"a":"button";return f.jsxs(o,{href:r,onClick:n,className:k("nav-link-item","flex items-center w-full px-3 py-2 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default",s&&"bg-neutral-medium-default",a),children:[e&&f.jsx("div",{className:"nav-icon-wrapper mr-3 flex-shrink-0",children:f.jsx("div",{className:"nav-icon flex items-center justify-center w-5 h-5",children:e})}),t&&f.jsx("span",{className:"nav-label text-sm text-neutral-strong-default",children:t}),i]})},Ca=({user:i,className:e,onProfileClick:t})=>{const{isCollapsed:r}=ir(),[n,s]=L.useState(!1),a=()=>{r?t?.():s(!n)};return f.jsxs("div",{className:k("profile-container",e),children:[f.jsxs("button",{onClick:a,className:k("button-profile","flex items-center w-full p-3 text-left","hover:bg-neutral-medium-default transition-colors rounded-lg","focus:outline-none focus:ring-2 focus:ring-primary-default-default"),children:[f.jsx("div",{className:"profile-image-wrapper flex-shrink-0 mr-3",children:f.jsx("div",{className:"cover-image-profile w-10 h-10 rounded-full bg-primary-default-default flex items-center justify-center text-white text-sm font-semibold",children:i.profileImage?f.jsx("img",{src:i.profileImage,alt:i.name,className:"w-full h-full rounded-full object-cover"}):i.name.charAt(0).toUpperCase()})}),f.jsxs("div",{className:"profile-user-info flex-1 min-w-0",children:[f.jsx("div",{className:"profile-name text-sm font-medium text-neutral-strong-default truncate",children:i.name}),f.jsx("div",{className:"text-xs text-neutral-medium-default truncate",children:i.email})]}),f.jsx("div",{className:"button-content-chevron ml-2 flex-shrink-0",children:f.jsx("div",{className:"button-select-crevron w-4 h-4 text-neutral-medium-default",children:n?"▲":"▼"})})]}),n&&!r&&f.jsx("div",{className:"profile-options mt-2 pl-3 space-y-1",children:f.jsxs("button",{className:"logout-button flex items-center w-full px-3 py-2 text-left text-sm text-neutral-strong-default hover:bg-neutral-medium-default rounded-lg",children:[f.jsx("span",{className:"logout-icon mr-2",children:"🚪"}),f.jsx("span",{className:"logout-label",children:"Cerrar sesión"})]})}),f.jsx("div",{className:"border-separator-profile mt-3 border-t border-neutral-strong-default"})]})},Sa=({links:i,isLinkActive:e,componentBadge:t,onClick:r,activeModal:n,onLinkClick:s})=>f.jsx("nav",{className:"flex flex-col gap-1",children:i?.map((a,o)=>{const l=e(a.path)||(a.relatedPaths?.some(u=>e(u))??!1);return a.isView&&a.viewAccess()&&f.jsxs(R.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4,delay:o*.03,ease:"easeOut"},className:"relative flex justify-center w-full items-center px-3",children:[a.path==="/notifications"&&f.jsx("button",{onClick:r,className:k("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",n?"text-primary-default-default":"text-neutral-default-default"),children:f.jsxs(R.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx(R.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:n?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof a.icon=="function"?a.icon({size:24,className:k("nav-icon transition-colors duration-250 ease-out",n?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):"text"}),f.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:a.title})]}),t&&a.count&&a.count>0&&t(a.count)]})}),a.path!=="/notifications"&&f.jsxs("button",{onClick:()=>{r?.(),s?.(a.path)},className:k("nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ","transition-all duration-300 ease-out w-full","group hover:bg-neutral-medium-selected",l?"text-primary-default-default bg-neutral-medium-selected":"text-neutral-default-default"),children:[f.jsx(R.AnimatePresence,{mode:"wait",children:l&&f.jsx(R.motion.div,{layoutId:"nav-active-bg",className:"absolute inset-0 bg-neutral-medium-selected rounded-lg",initial:!1,animate:{opacity:1},exit:{opacity:0},transition:{type:"tween",duration:.25,ease:"easeInOut"}})}),f.jsxs(R.motion.div,{className:"nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",animate:{x:0},transition:{duration:.25,ease:"easeOut"},children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx(R.motion.div,{className:"nav-icon-wrapper flex items-center justify-center flex-shrink-0",animate:{scale:l?1.05:1},transition:{duration:.25,ease:"easeOut"},children:typeof a.icon=="function"?a.icon({size:24,className:k("nav-icon transition-colors duration-250 ease-out",l?"text-primary-default-default":"text-neutral-default-default group-hover:text-white-prometeo")}):null}),f.jsx("span",{className:"nav-label whitespace-nowrap text-sm font-semibold ",children:a.title})]}),t&&a.count&&a.count>0&&t(a.count)]})]})]},o)})}),Pa=({count:i,maxCount:e=9,className:t="",size:r="medium",variant:n="primary",showZero:s=!1})=>{const a=i,o=a>e?`+${e}`:a;if(a===0&&!s)return null;const l={small:"w-4 h-4 text-xs",medium:"w-5 h-5 text-xs",large:"w-6 h-6 text-sm"},u={primary:"bg-primary-default-default text-neutral-strong-default",secondary:"bg-neutral-medium-default text-neutral-strong-default",success:"bg-green-500 text-white",warning:"bg-yellow-500 text-black",danger:"bg-red-500 text-white"};return f.jsx("div",{className:k("rounded-full flex items-center justify-center font-medium",l[r],u[n],t),children:f.jsx("span",{children:o})})},ka=({isActiveModalNotification:i,setIsActiveModalNotification:e})=>({handleNotificationClick:()=>{e(!0)},isActiveModalNotification:i}),Na=i=>{const e=L.useRef(null);return{isCollapsed:i,navbarRef:e}},Ea=({isCollapsed:i,onToggle:e})=>f.jsx("div",{className:"p-4 flex justify-end",children:f.jsx("button",{onClick:e,title:i?"Expandir Navbar":"Contraer Navbar","aria-label":i?"Expandir Navbar":"Contraer Navbar",className:"cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",children:i?f.jsx(we.CloseNavBarDesktop,{size:24,className:"rotate-180 transition-transform duration-300"}):f.jsx(we.CloseNavBarDesktop,{size:24,className:"rotate-0 transition-transform duration-300"})})}),Aa=({logoUrl:i,companyName:e})=>f.jsx("div",{className:"w-full flex justify-center items-center p-2 h-20",children:f.jsx("img",{src:i,className:"h-2/3 rounded-full",alt:e??""})}),Ra=(i,e=!0)=>{const t=L.useRef(null);return L.useEffect(()=>{if(!e)return;const r=n=>{t.current&&!t.current.contains(n.target)&&i()};return document.addEventListener("mousedown",r,{capture:!0}),document.addEventListener("touchstart",r,{capture:!0}),()=>{document.removeEventListener("mousedown",r,{capture:!0}),document.removeEventListener("touchstart",r,{capture:!0})}},[i,e]),t};A.Avatar=is,A.Badge=Pa,A.Button=Ni,A.CompanyLogo=Aa,A.Icons=we,A.Input=es,A.LayoutGeneric=os,A.Menu=rs,A.NavbarCollapseButton=Ea,A.NavbarLinks=Sa,A.NavigationLink=qa,A.Pagination=ns,A.ProfileSection=Ca,A.Select=as,A.Sidebar=Oa,A.Spinner=nr,A.UserProfile=Kr,A.useActionsNavbar=ka,A.useClickOutside=Ra,A.useNavbarCollapse=Na,A.useSidebar=ir,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));