PageSourceSearch

https://www.facets.cloud/_next/static/chunks/84066-b3e8e56607d8c73a.js?dpl=dpl_2K8Xh2dGKDwUTzW28ncdavxxXLRg

js facets.cloud collected 2026-10-02 17:16:14 UTC 197,354 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84066],{1180:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(63662);function r(t){return(0,n.G)(t)&&"offsetHeight"in t}},1235:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(63662);function r(t){return(0,n.G)(t)&&"ownerSVGElement"in t}},2703:(t,e,i)=>{i.d(e,{E:()=>a});var n=i(88275),r=i(63592),s=i(42537);let o={decay:n.B,inertia:n.B,tween:r.i,keyframes:r.i,spring:s.o};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},2854:(t,e,i)=>{i.d(e,{N:()=>y});var n=i(66477),r=i(50905),s=i(59196),o=i(35572),a=i(98325),l=i(73322),u=i(1180),h=i(81731);class c extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,n=this.props.sizeRef.current;n.height=e.offsetHeight||0,n.width=e.offsetWidth||0,n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:e,anchorX:i,root:s}){let o=(0,r.useId)(),a=(0,r.useRef)(null),l=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=(0,r.useContext)(h.Q);return(0,r.useInsertionEffect)(()=>{let{width:t,height:n,top:r,left:h,right:c}=l.current;if(e||!a.current||!t||!n)return;let d="left"===i?`left: ${h}`:`right: ${c}`;a.current.dataset.motionPopId=o;let p=document.createElement("style");u&&(p.nonce=u);let f=s??document.head;return f.appendChild(p),p.sheet&&p.sheet.insertRule(`
2          [data-motion-pop-id="${o}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${n}px !important;
6            ${d}px !important;
7            top: ${r}px !important;
8          }
9        `),()=>{f.contains(p)&&f.removeChild(p)}},[e]),(0,n.jsx)(c,{isPresent:e,childRef:a,sizeRef:l,children:r.cloneElement(t,{ref:a})})}let p=({children:t,initial:e,isPresent:i,onExitComplete:s,custom:a,presenceAffectsLayout:u,mode:h,anchorX:c,root:p})=>{let m=(0,o.M)(f),g=(0,r.useId)(),v=!0,y=(0,r.useMemo)(()=>(v=!1,{id:g,initial:e,isPresent:i,custom:a,onExitComplete:t=>
9{for(let e of(m.set(t,!0),m.values()))if(!e)return;s&&s()},register:t=>(m.set(t,!1),()=>m.delete(t))}),[i,m,s]);return u&&v&&(y={...y}),(0,r.useMemo)(()=>{m.forEach((t,e)=>m.set(e,!1))},[i]),r.useEffect(()=>{i||m.size||!s||s()},[i]),"popLayout"===h&&(t=(0,n.jsx)(d,{isPresent:i,anchorX:c,root:p,children:t})),(0,n.jsx)(l.t.Provider,{value:y,children:t})};function f(){return new Map}var m=i(40557);let g=t=>t.key||"";function v(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let y=({children:t,custom:e,initial:i=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:d="left",root:f})=>{let[y,x]=(0,m.xQ)(c),w=(0,r.useMemo)(()=>v(t),[t]),b=c&&!y?[]:w.map(g),T=(0,r.useRef)(!0),P=(0,r.useRef)(w),S=(0,o.M)(()=>new Map),[E,M]=(0,r.useState)(w),[k,A]=(0,r.useState)(w);(0,a.E)(()=>{T.current=!1,P.current=w;for(let t=0;t<k.length;t++){let e=g(k[t]);b.includes(e)?S.delete(e):!0!==S.get(e)&&S.set(e,!1)}},[k,b.length,b.join("-")]);let C=[];if(w!==E){let t=[...w];for(let e=0;e<k.length;e++){let i=k[e],n=g(i);b.includes(n)||(t.splice(e,0,i),C.push(i))}return"wait"===h&&C.length&&(t=C),A(v(t)),M(w),null}let{forceRender:D}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:k.map(t=>{let r=g(t),s=(!c||!!y)&&(w===k||b.includes(r));return(0,n.jsx)(p,{isPresent:s,initial:(!T.current||!!i)&&void 0,custom:e,presenceAffectsLayout:u,mode:h,root:f,onExitComplete:s?void 0:()=>{if(!S.has(r))return;S.set(r,!0);let t=!0;S.forEach(e=>{e||(t=!1)}),t&&(D?.(),A(P.current),c&&x?.(),l&&l())},anchorX:d,children:t},r)})})}},2917:(t,e,i)=>{i.d(e,{OQ:()=>u,bt:()=>a});var n=i(8445),r=i(45106),s=i(8866),o=i(52084);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},4590:(t,e,i)=>{i.d(e,{s:()=>tK});var n,r,s,o,a,l,u,h,c,d="transform",p=d+"Origin",f=function(t){var e=t.ownerDocument||t;for(!(d in t.style)&&("msTransform"in t.style)&&(p=(d="msTransform")+"Origin");e.parentNode&&(e=e.parentNode););if(r=window,u=new S,e){n=e,s=e.documentElement,o=e.body,(h=n.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),a=e.createElement("div"),l=e&&(e.body||e.firstElementChild);l&&l.appendChild&&(l.appendChild(i),i.appendChild(a),i.setAttribute("style","position:static;
9transform:translate3d(0,0,1px)"),c=a.offsetParent!==i,l.removeChild(i))}return e},m=function(t){for(var e,i;t&&t!==o;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e},g=[],v=[],y=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},x=function t(e,i){if(e.parentNode&&(n||f(e))){var r=y(e),s=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=r?i?"rect":"g":"div",u=100*(2===i),h=100*(3===i),c="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",d=n.createElementNS?n.createElementNS(s.replace(/^https/,"http"),o):n.createElement(o);return i&&(r?(l||(l=t(e)),d.setAttribute("width",.01),d.setAttribute("height",.01),d.setAttribute("transform","translate("+u+","+h+")"),l.appendChild(d)):(a||((a=t(e)).style.cssText=c),d.style.cssText=c+"width:0.1px;height:0.1px;top:"+h+"px;left:"+u+"px",a.appendChild(d))),d}throw"Need document and parent."},w=function(t){for(var e=new S,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e},b=function(t){var e,i=t.getCTM();return i||(e=t.style[d],t.style[d]="none",t.appendChild(h),i=h.getCTM(),t.removeChild(h),e?t.style[d]=e:t.style.removeProperty(d.replace(/([A-Z])/g,"-$1").toLowerCase())),i||u.clone()},T=function(t,e){var i,n,s,o,h,f,m=y(t),T=t===m,P=m?g:v,E=t.parentNode,M=E&&!m&&E.shadowRoot&&E.shadowRoot.appendChild?E.shadowRoot:E;if(t===r)return t;if(P.length||P.push(x(t,1),x(t,2),x(t,3)),i=m?l:a,m)T?(o=-(s=b(t)).e/s.a,h=-s.f/s.d,n=u):t.getBBox?(s=t.getBBox(),o=(n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?n.numberOfItems>1?w(n):n.getItem(0).matrix:u).a*s.x+n.c*s.y,h=n.b*s.x+n.d*s.y):(n=new S,o=h=0),e&&"g"===t.tagName.toLowerCase()&&(o=h=0),(T?m:E).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+o)+","+(n.f+h)+")");else{if(o=h=0,c)for(n=t.offsetParent,s=t;s&&(s=s.parentNode)&&s!==n&&s.parentNode;)(r.getComputedStyle(s)[d]+"").length>4&&(o=s.offsetLeft,h=s.offsetTop,s=0);if("absolute"!==(f=r.getComputedStyle(t)).position&&"fixed"!==f.position)for(n=t.offsetParent;E&&E!==n;)o+=E.scrollLeft||0,h+=E.scrollTop||0,E=E.parentNode;(s=i.style).top=t.offsetTop-h+"px",s.left=t.offsetLeft-o+"px",s[d]=f[d],s[p]=f[p],s.position="fixed"===f.position?"fixed":"absolute",M.appendChild(i)}return i},P=function(t,e,i,n,r,s,o){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=s,t.f=o,t},S=function(){function t(t,e,i,n,r,s){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===s&&(s=0),P(this,t,e,i,n,r,s)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,s=this.f,o=t*n-e*i||1e-10;return P(this,n/o,-e/o,-i/o,t/o,(i*s-n*r)/o,-(t*s-e*r)/o)},e.multiply=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,s=this.e,o=this.f,a=t.a,l=t.c,u=t.b,h=t.d,c=t.e,d=t.f;return P(this,a*e+u*n,a*i+u*r,l*e+h*n,l*i+h*r,s+c*e+d*n,o+c*i+d*r)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,i=this.b,n=this.c,r=this.d,s=this.e,o=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&s===t.e&&o===t.f},e.apply=function(t,e){void 0===e&&(e={});var i=t.x,n=t.y,r=this.a,s=this.b,o=this.c,a=this.d,l=this.e,u=this.f;return e.x=i*r+n*o+l||0,e.y=i*s+n*a+u||0,e},t}();function E(t,e,i,a){if(!t||!t.parentNode||(n||f(t)).documentElement===t)return new S;var l=m(t),u=y(t)?g:v,h=T(t,i),c=u[0].getBoundingClientRect(),d=u[1].getBoundingClientRect(),p=u[2].getBoundingClientRect(),x=h.parentNode,w=!a&&function t(e){return"fixed"===r.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)}(t),b=new S((d.left-c.left)/100,(d.top-c.top)/100,(p.left-c.left)/100,(p.top-c.top)/100,c.left+(w?0:r.pageXOffset||n.scrollLeft||s.scrollLeft||o.scrollLeft||0),c.top+(w?0:r.pageYOffset||n.scrollTop||s.scrollTop||o.scrollTop||0));if(x.removeChild(h),l)for(c=l.length;c--;)(d=l[c]).scaleX=d.scaleY=0,d.renderTransform(1,d);return e?b.inverse():b}function M(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var k,A,C,D,V,R,L,O,B,F,_,j,I,N,X,Y,W,U,H,z,$,q,G=0,K=function(){return"u">typeof window},Q=function(){return k||K()&&(k=window.gsap)&&k.registerPlugin&&k},Z=function(t){return"function"==typeof t},J=function(t){return"object"==typeof t},tt=function(t){return void 0===t},te=function(){return!1},ti="transform",tn="transformOrigin",tr=function(t){return Math.round(1e4*t)/1e4},ts=Array.isArray,to=function(t,e){var i=C.createElementNS?C.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):C.createElement(t);return i.style?i:C.createElement(t)},ta=180/Math.PI,tl=new S,tu=Date.now||function(){return new Date().getTime()},th=[],tc={},td=0,tp=/^(?:a|input|textarea|button|select)$/i,tf=0,tm={},tg={},tv=function(t,e){var i,n={};
9for(i in t)n[i]=e?t[i]*e:t[i];return n},ty=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},tx=function t(e,i){for(var n,r=e.length;r--;)i?e[r].style.touchAction=i:e[r].style.removeProperty("touch-action"),(n=e[r].children)&&n.length&&t(n,i)},tw=function(){return th.forEach(function(t){return t()})},tb=function(t){th.push(t),1===th.length&&k.ticker.add(tw)},tT=function(){return!th.length&&k.ticker.remove(tw)},tP=function(t){for(var e=th.length;e--;)th[e]===t&&th.splice(e,1);k.to(tT,{overwrite:!0,delay:15,duration:0,onComplete:tT,data:"_draggable"})},tS=function(t,e,i,n){if(t.addEventListener){var r=I[e];n=n||(_?{passive:!1}:null),t.addEventListener(r||e,i,n),r&&e!==r&&t.addEventListener(e,i,n)}},tE=function(t,e,i,n){if(t.removeEventListener){var r=I[e];t.removeEventListener(r||e,i,n),r&&e!==r&&t.removeEventListener(e,i,n)}},tM=function(t){t.preventDefault&&t.preventDefault(),t.preventManipulation&&t.preventManipulation()},tk=function(t,e){for(var i=t.length;i--;)if(t[i].identifier===e)return!0},tA=function t(e){N=e.touches&&G<e.touches.length,tE(e.target,"touchend",t)},tC=function(t){N=t.touches&&G<t.touches.length,tS(t.target,"touchend",tA)},tD=function(t){return A.pageYOffset||t.scrollTop||t.documentElement.scrollTop||t.body.scrollTop||0},tV=function(t){return A.pageXOffset||t.scrollLeft||t.documentElement.scrollLeft||t.body.scrollLeft||0},tR=function t(e,i){tS(e,"scroll",i),tO(e.parentNode)||t(e.parentNode,i)},tL=function t(e,i){tE(e,"scroll",i),tO(e.parentNode)||t(e.parentNode,i)},tO=function(t){return!!(!t||t===D||9===t.nodeType||t===C.body||t===A||!t.nodeType||!t.parentNode)},tB=function(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,r="client"+i;return Math.max(0,tO(t)?Math.max(D[n],V[n])-(A["inner"+i]||D[r]||V[r]):t[n]-t[r])},tF=function t(e,i){var n=tB(e,"x"),r=tB(e,"y");tO(e)?e=tg:t(e.parentNode,i),e._gsMaxScrollX=n,e._gsMaxScrollY=r,i||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0)},t_=function(t,e,i){var n=t.style;n&&(tt(n[e])&&(e=B(e,t)||e),null==i?n.removeProperty&&n.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):n[e]=i)},tj=function(t){return A.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t)},tI={},tN=function(t){if(t===A)return tI.left=tI.top=0,tI.width=tI.right=D.clientWidth||t.innerWidth||V.clientWidth||0,tI.height=tI.bottom=(t.innerHeight||0)-20<D.clientHeight?D.clientHeight:t.innerHeight||V.clientHeight||0,tI;var e=t.ownerDocument||C,i=tt(t.pageX)?t.nodeType||tt(t.left)||tt(t.top)?F(t)[0].getBoundingClientRect():t:{left:t.pageX-tV(e),top:t.pageY-tD(e),right:t.pageX-tV(e)+1,bottom:t.pageY-tD(e)+1};return tt(i.right)&&!tt(i.width)?(i.right=i.left+i.width,i.bottom=i.top+i.height):tt(i.width)&&(i={width:i.right-i.left,height:i.bottom-i.top,right:i.right,left:i.left,bottom:i.bottom,top:i.top}),i},tX=function(t,e,i){var n,r=t.vars,s=r[i],o=t._listeners[e];return Z(s)&&(n=s.apply(r.callbackScope||t,r[i+"Params"]||[t.pointerEvent])),o&&!1===t.dispatchEvent(e)&&(n=!1),n},tY=function(t,e){var i,n,r,s=F(t)[0];return s.nodeType||s===A?tU(s,e):tt(t.left)?{left:n=t.min||t.minX||t.minRotation||0,top:i=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-n,height:(t.max||t.maxY||0)-i}:(r={x:0,y:0},{left:t.left-r.x,top:t.top-r.y,width:t.width,height:t.height})},tW={},tU=function(t,e){e=F(e)[0];var i,n,r,s,o,a,l,u,h,c,d,p,f,m=t.getBBox&&t.ownerSVGElement,g=t.ownerDocument||C;if(t===A)r=tD(g),n=(i=tV(g))+(g.documentElement.clientWidth||t.innerWidth||g.body.clientWidth||0),s=r+((t.innerHeight||0)-20<g.documentElement.clientHeight?g.documentElement.clientHeight:t.innerHeight||g.body.clientHeight||0);else{if(e===A||tt(e))return t.getBoundingClientRect();i=r=0,m?(d=(c=t.getBBox()).width,p=c.height):(t.viewBox&&(c=t.viewBox.baseVal)&&(i=c.x||0,r=c.y||0,d=c.width,p=c.height),d||(c="border-box"===(f=tj(t)).boxSizing,d=(parseFloat(f.width)||t.clientWidth||0)+(c?0:parseFloat(f.borderLeftWidth)+parseFloat(f.borderRightWidth)),p=(parseFloat(f.height)||t.clientHeight||0)+(c?0:parseFloat(f.borderTopWidth)+parseFloat(f.borderBottomWidth)))),n=d,s=p}return t===e?{left:i,top:r,width:n-i,height:s-r}:(a=(o=E(e,!0).multiply(E(t))).apply({x:i,y:r}),l=o.apply({x:n,y:r}),u=o.apply({x:n,y:s}),h=o.apply({x:i,y:s}),{left:i=Math.min(a.x,l.x,u.x,h.x),top:r=Math.min(a.y,l.y,u.y,h.y),width:Math.max(a.x,l.x,u.x,h.x)-i,height:Math.max(a.y,l.y,u.y,h.y)-r})}
9,tH=function(t,e,i,n,r,s){var o,a,l,u={};if(e)if(1!==r&&e instanceof Array){if(u.end=o=[],l=e.length,J(e[0]))for(a=0;a<l;a++)o[a]=tv(e[a],r);else for(a=0;a<l;a++)o[a]=e[a]*r;i+=1.1,n-=1.1}else Z(e)?u.end=function(i){var n,s,o=e.call(t,i);if(1!==r)if(J(o)){for(s in n={},o)n[s]=o[s]*r;o=n}else o*=r;return o}:u.end=e;return(i||0===i)&&(u.max=i),(n||0===n)&&(u.min=n),s&&(u.velocity=0),u},tz=function t(e){var i;return!!e&&!!e.getAttribute&&e!==V&&(!!("true"===(i=e.getAttribute("data-clickable"))||"false"!==i&&(tp.test(e.nodeName+"")||"true"===e.getAttribute("contentEditable")))||t(e.parentNode))},t$=function(t,e){for(var i,n=t.length;n--;)(i=t[n]).ondragstart=i.onselectstart=e?null:te,k.set(i,{lazy:!0,userSelect:e?"text":"none"})},tq=function(t,e){t=k.utils.toArray(t)[0],e=e||{};var i,n,r,s,o,a,l=document.createElement("div"),u=l.style,h=t.firstChild,c=0,d=0,p=t.scrollTop,f=t.scrollLeft,m=t.scrollWidth,g=t.scrollHeight,v=0,y=0,x=0;$&&!1!==e.force3D?(o="translate3d(",a="px,0px)"):ti&&(o="translate(",a="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(i,n){if(!arguments.length)return-(t.scrollLeft+d);var r=t.scrollLeft-f,s=d;if((r>2||r<-2)&&!n){f=t.scrollLeft,k.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-f),e.onKill&&e.onKill();return}(i=-i)<0?(d=i-.5|0,i=0):i>y?(d=i-y|0,i=y):d=0,(d||s)&&(this._skip||(u[ti]=o+-d+"px,"+-c+a),d+v>=0&&(u.paddingRight=d+v+"px")),t.scrollLeft=0|i,f=t.scrollLeft},this.top=function(i,n){if(!arguments.length)return-(t.scrollTop+c);var r=t.scrollTop-p,s=c;if((r>2||r<-2)&&!n){p=t.scrollTop,k.killTweensOf(this,{top:1,scrollTop:1}),this.top(-p),e.onKill&&e.onKill();return}(i=-i)<0?(c=i-.5|0,i=0):i>x?(c=i-x|0,i=x):c=0,(c||s)&&!this._skip&&(u[ti]=o+-d+"px,"+-c+a),t.scrollTop=0|i,p=t.scrollTop},this.maxScrollTop=function(){return x},this.maxScrollLeft=function(){return y},this.disable=function(){for(h=l.firstChild;h;)s=h.nextSibling,t.appendChild(h),h=s;t===l.parentNode&&t.removeChild(l)},this.enable=function(){if((h=t.firstChild)!==l){for(;h;)s=h.nextSibling,l.appendChild(h),h=s;t.appendChild(l),this.calibrate()}},this.calibrate=function(e){var s,o,a,h=t.clientWidth===i;p=t.scrollTop,f=t.scrollLeft,(!h||t.clientHeight!==n||l.offsetHeight!==r||m!==t.scrollWidth||g!==t.scrollHeight||e)&&((c||d)&&(o=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),s=tj(t),(!h||e)&&(u.display="block",u.width="auto",u.paddingRight="0px",(v=Math.max(0,t.scrollWidth-t.clientWidth))&&(v+=parseFloat(s.paddingLeft)+(q?parseFloat(s.paddingRight):0))),u.display="inline-block",u.position="relative",u.overflow="visible",u.verticalAlign="top",u.boxSizing="content-box",u.width="100%",u.paddingRight=v+"px",q&&(u.paddingBottom=s.paddingBottom),i=t.clientWidth,n=t.clientHeight,m=t.scrollWidth,g=t.scrollHeight,y=t.scrollWidth-i,x=t.scrollHeight-n,r=l.offsetHeight,u.display="block",(o||a)&&(this.left(o),this.top(a)))},this.content=l,this.element=t,this._skip=!1,this.enable()},tG=function(t){if(K()&&document.body){var e,i,n,r,s,o=window&&window.navigator;A=window,D=(C=document).documentElement,V=C.body,R=to("div"),U=!!window.PointerEvent,(L=to("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",W="grab"===L.style.cursor?"grab":"move",X=o&&-1!==o.userAgent.toLowerCase().indexOf("android"),j="ontouchstart"in D&&"orientation"in A||o&&(o.MaxTouchPoints>0||o.msMaxTouchPoints>0),i=to("div"),r=(n=to("div")).style,s=V,r.display="inline-block",r.position="relative",i.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",i.appendChild(n),s.appendChild(i),e=n.offsetHeight+18>i.scrollHeight,s.removeChild(i),q=e,I=function(t){for(var e=t.split(","),i=(("onpointerdown"in R)?"pointerdown,pointermove,pointerup,pointercancel":("onmspointerdown"in R)?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),n={},r=4;--r>-1;)n[e[r]]=i[r],n[i[r]]=e[r];try{D.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){_=1}}))}catch(t){}return n}("touchstart,touchmove,touchend,touchcancel"),tS(C,"touchcancel",te),tS(A,"touchmove",te),V&&V.addEventListener("touchstart",te),tS(C,"contextmenu",function(){for(var t in tc)tc[t].isPressed&&tc[t].endDrag(
9)}),k=O=Q()}k?(Y=k.plugins.inertia,H=k.core.context||function(){},ti=(B=k.utils.checkPrefix)(ti),tn=B(tn),F=k.utils.toArray,z=k.core.getStyleSaver,$=!!B("perspective")):t&&console.warn("Please gsap.registerPlugin(Draggable)")},tK=function(t){function e(i,n){r=t.call(this)||this,O||tG(1),i=F(i)[0],r.styles=z&&z(i,"transform,left,top"),Y||(Y=k.plugins.inertia),r.vars=n=tv(n||{}),r.target=i,r.x=r.y=r.rotation=0,r.dragResistance=parseFloat(n.dragResistance)||0,r.edgeResistance=isNaN(n.edgeResistance)?1:parseFloat(n.edgeResistance)||0,r.lockAxis=n.lockAxis,r.autoScroll=n.autoScroll||0,r.lockedAxis=null,r.allowEventDefault=!!n.allowEventDefault,k.getProperty(i,"x");var r,s,o,a,l,u,h,c,d,p,f,m,g,v,y,x,w,b,T,P,V,R,B,_,$,q,K,Q,te,ti,to,th,tp,tw,tT=(n.type||"x,y").toLowerCase(),tA=~tT.indexOf("x")||~tT.indexOf("y"),tB=-1!==tT.indexOf("rotation"),tI=tB?"rotation":tA?"x":"left",tU=tA?"y":"top",tK=!!(~tT.indexOf("x")||~tT.indexOf("left")||"scroll"===tT),tQ=!!(~tT.indexOf("y")||~tT.indexOf("top")||"scroll"===tT),tZ=n.minimumMovement||2,tJ=M(r),t0=F(n.trigger||n.handle||i),t1={},t2=0,t5=!1,t3=n.autoScrollMarginTop||40,t4=n.autoScrollMarginRight||40,t8=n.autoScrollMarginBottom||40,t9=n.autoScrollMarginLeft||40,t6=n.clickableTest||tz,t7=0,et=i._gsap||k.core.getCache(i),ee=function t(e){return"fixed"===tj(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)}(i),ei=function(t,e){return parseFloat(et.get(i,t,e))},en=i.ownerDocument||C,er=function(t){return tM(t),t.stopImmediatePropagation&&t.stopImmediatePropagation(),!1},es=function t(e){if(tJ.autoScroll&&tJ.isDragging&&(t5||b)){var n,r,s,a,l,u,h,c,p=i,f=15*tJ.autoScroll;for(t5=!1,tg.scrollTop=null!=A.pageYOffset?A.pageYOffset:null!=en.documentElement.scrollTop?en.documentElement.scrollTop:en.body.scrollTop,tg.scrollLeft=null!=A.pageXOffset?A.pageXOffset:null!=en.documentElement.scrollLeft?en.documentElement.scrollLeft:en.body.scrollLeft,a=tJ.pointerX-tg.scrollLeft,l=tJ.pointerY-tg.scrollTop;p&&!r;)n=(r=tO(p.parentNode))?tg:p.parentNode,s=r?{bottom:Math.max(D.clientHeight,A.innerHeight||0),right:Math.max(D.clientWidth,A.innerWidth||0),left:0,top:0}:n.getBoundingClientRect(),u=h=0,tQ&&((c=n._gsMaxScrollY-n.scrollTop)<0?h=c:l>s.bottom-t8&&c?(t5=!0,h=Math.min(c,f*(1-Math.max(0,s.bottom-l)/t8)|0)):l<s.top+t3&&n.scrollTop&&(t5=!0,h=-Math.min(n.scrollTop,f*(1-Math.max(0,l-s.top)/t3)|0)),h&&(n.scrollTop+=h)),tK&&((c=n._gsMaxScrollX-n.scrollLeft)<0?u=c:a>s.right-t4&&c?(t5=!0,u=Math.min(c,f*(1-Math.max(0,s.right-a)/t4)|0)):a<s.left+t9&&n.scrollLeft&&(t5=!0,u=-Math.min(n.scrollLeft,f*(1-Math.max(0,a-s.left)/t9)|0)),u&&(n.scrollLeft+=u)),r&&(u||h)&&(A.scrollTo(n.scrollLeft,n.scrollTop),ey(tJ.pointerX+u,tJ.pointerY+h)),p=n}if(b){var m=tJ.x,g=tJ.y;tB?(tJ.deltaX=m-parseFloat(et.rotation),tJ.rotation=m,et.rotation=m+"deg",et.renderTransform(1,et)):o?(tQ&&(tJ.deltaY=g-o.top(),o.top(g)),tK&&(tJ.deltaX=m-o.left(),o.left(m))):tA?(tQ&&(tJ.deltaY=g-parseFloat(et.y),et.y=g+"px"),tK&&(tJ.deltaX=m-parseFloat(et.x),et.x=m+"px"),et.renderTransform(1,et)):(tQ&&(tJ.deltaY=g-parseFloat(i.style.top||0),i.style.top=g+"px"),tK&&(tJ.deltaX=m-parseFloat(i.style.left||0),i.style.left=m+"px")),!d||e||te||(te=!0,!1===tX(tJ,"drag","onDrag")&&(tK&&(tJ.x-=tJ.deltaX),tQ&&(tJ.y-=tJ.deltaY),t(!0)),te=!1)}b=!1},eo=function(t,e){var n,r,s=tJ.x,a=tJ.y;i._gsap||(et=k.core.getCache(i)),et.uncache&&k.getProperty(i,"x"),tA?(tJ.x=parseFloat(et.x),tJ.y=parseFloat(et.y)):tB?tJ.x=tJ.rotation=parseFloat(et.rotation):o?(tJ.y=o.top(),tJ.x=o.left()):(tJ.y=parseFloat(i.style.top||(r=tj(i))&&r.top)||0,tJ.x=parseFloat(i.style.left||(r||{}).left)||0),(P||V||R)&&!e&&(tJ.isDragging||tJ.isThrowing)&&(R&&(tm.x=tJ.x,tm.y=tJ.y,(n=R(tm)).x!==tJ.x&&(tJ.x=n.x,b=!0),n.y!==tJ.y&&(tJ.y=n.y,b=!0)),P&&(n=P(tJ.x))!==tJ.x&&(tJ.x=n,tB&&(tJ.rotation=n),b=!0),V&&((n=V(tJ.y))!==tJ.y&&(tJ.y=n),b=!0)),b&&es(!0),t||(tJ.deltaX=tJ.x-s,tJ.deltaY=tJ.y-a,tX(tJ,"throwupdate","onThrowUpdate"))},ea=function(t,e,i,n){return(null==e&&(e=-1e20),null==i&&(i=1e20),Z(t))?function(r){var s=tJ.isPressed?1-tJ.edgeResistance:1;return t.call(tJ,(r>i?i+(r-i)*s:r<e?e+(r-e)*s:r)*n)*n}:ts(t)?function(n){for(var r,s,o=t.length,a=0,l=1e20;--o>-1;)(s=(r=t[o])-n)<0&&(s=-s),s<l&&r>=e&&r<=i&&(a=o,l=s);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*n}},el=function(){var t,e,r,s,a,l,u,h,d,p,y;c=!1,o?(o.calibrate(),tJ.minX=m=-o.maxScrollLeft(),tJ.minY=v=-o.maxScrollTop(),tJ.maxX=f=tJ.maxY=g=0,c=!0):n.bounds&&(t=tY(n.bounds,i.parentNode),tB?(tJ.minX=m=t.left,tJ.maxX=f=t.left+t.width,tJ.minY=v=tJ.maxY=g=0):tt(n.bounds.maxX)&&tt(n.bounds.maxY)?(e=tY(i,i.parentNode),tJ.minX=m=Math.round(ei(tI,"px")+t.left-e.left),tJ.minY=v=Math.round(ei(tU,"px")+t.top-e.top),tJ.maxX=f=Math.round(m+(t.width-e.width)),tJ.maxY=g=Math.round(v+(t.height-e.height))):(tJ.minX=m=(t=n.bounds).minX,tJ.minY=v=t.minY,tJ.maxX=f=t.maxX,tJ.maxY=g=t.maxY),m>f&&(tJ.minX=f,tJ.maxX=f=m,m=tJ.minX),v>g&&(tJ.minY=g,tJ.maxY=g=v,v=tJ.minY),tB&&(tJ.minRotation=m,tJ.maxRotation=f),c=!0),n.liveSnap&&((s=ts(r=!0===n.liveSnap?n.snap||{}:n.liveSnap)||Z(r),tB)?(P=ea(s?r:r.rotation,m,f,1),V=null):r.points?(a=s?r:r.points,l=m,u=f,h=v,d=g,p=r.radius,y=o?-1:1,p=p&&p<1e20?p*p:1e20,R=Z(a)?function(t){var e,i,n,r=tJ.isPressed?1-tJ.edgeResistance:1,s=t.x,o=t.y;return t.x=s=s>u?u+(s-u)*r:s<l?l+(s-l)*r:s,t.y=o=o>
9d?d+(o-d)*r:o<h?h+(o-h)*r:o,(e=a.call(tJ,t))!==t&&(t.x=e.x,t.y=e.y),1!==y&&(t.x*=y,t.y*=y),p<1e20&&(i=t.x-s)*i+(n=t.y-o)*n>p&&(t.x=s,t.y=o),t}:ts(a)?function(t){for(var e,i,n,r,s=a.length,o=0,l=1e20;--s>-1;)(r=(e=(n=a[s]).x-t.x)*e+(i=n.y-t.y)*i)<l&&(o=s,l=r);return l<=p?a[o]:t}:function(t){return t}):(tK&&(P=ea(s?r:r.x||r.left||r.scrollLeft,m,f,o?-1:1)),tQ&&(V=ea(s?r:r.y||r.top||r.scrollTop,v,g,o?-1:1))))},eu=function(){tJ.isThrowing=!1,tX(tJ,"throwcomplete","onThrowComplete")},eh=function(){tJ.isThrowing=!1},ec=function(t,e){var r,s,a,l;t&&Y?(!0===t&&(s=ts(r=n.snap||n.liveSnap||{})||Z(r),t={resistance:(n.throwResistance||n.resistance||1e3)/(tB?10:1)},tB?t.rotation=tH(tJ,s?r:r.rotation,f,m,1,e):(tK&&(t[tI]=tH(tJ,s?r:r.points||r.x||r.left,f,m,o?-1:1,e||"x"===tJ.lockedAxis)),tQ&&(t[tU]=tH(tJ,s?r:r.points||r.y||r.top,g,v,o?-1:1,e||"y"===tJ.lockedAxis)),(r.points||ts(r)&&J(r[0]))&&(t.linkedProps=tI+","+tU,t.radius=r.radius))),tJ.isThrowing=!0,l=isNaN(n.overshootTolerance)?1===n.edgeResistance?0:1-tJ.edgeResistance+.2:n.overshootTolerance,t.duration||(t.duration={max:Math.max(n.minDuration||0,"maxDuration"in n?n.maxDuration:2),min:isNaN(n.minDuration)?0===l||J(t)&&t.resistance>1e3?0:.5:n.minDuration,overshoot:l}),tJ.tween=a=k.to(o||i,{inertia:t,data:"_draggable",inherit:!1,onComplete:eu,onInterrupt:eh,onUpdate:n.fastMode?tX:eo,onUpdateParams:n.fastMode?[tJ,"onthrowupdate","onThrowUpdate"]:r&&r.radius?[!1,!0]:[]}),!n.fastMode&&(o&&(o._skip=!0),a.render(1e9,!0,!0),eo(!0,!0),tJ.endX=tJ.x,tJ.endY=tJ.y,tB&&(tJ.endRotation=tJ.x),a.play(0),eo(!0,!0),o&&(o._skip=!1))):c&&tJ.applyBounds()},ed=function(t){var e,n=$;$=E(i.parentNode,!0),t&&tJ.isPressed&&!$.equals(n||new S)&&(e=n.inverse().apply({x:a,y:l}),$.apply(e,e),a=e.x,l=e.y),$.equals(tl)&&($=null)},ep=function(){var t,e,n,r=1-tJ.edgeResistance,s=ee?tV(en):0,d=ee?tD(en):0;tA&&(et.x=ei(tI,"px")+"px",et.y=ei(tU,"px")+"px",et.renderTransform()),ed(!1),tW.x=tJ.pointerX-s,tW.y=tJ.pointerY-d,$&&$.apply(tW,tW),a=tW.x,l=tW.y,b&&(ey(tJ.pointerX,tJ.pointerY),es(!0)),tp=E(i),o?(el(),h=o.top(),u=o.left()):(ef()?(eo(!0,!0),el()):tJ.applyBounds(),tB?(t=i.ownerSVGElement?[et.xOrigin-i.getBBox().x,et.yOrigin-i.getBBox().y]:(tj(i)[tn]||"0 0").split(" "),w=tJ.rotationOrigin=E(i).apply({x:parseFloat(t[0])||0,y:parseFloat(t[1])||0}),eo(!0,!0),e=tJ.pointerX-w.x-s,n=w.y-tJ.pointerY+d,u=tJ.x,h=tJ.y=Math.atan2(n,e)*ta):(h=ei(tU,"px"),u=ei(tI,"px"))),c&&r&&(u>f?u=f+(u-f)/r:u<m&&(u=m-(m-u)/r),!tB&&(h>g?h=g+(h-g)/r:h<v&&(h=v-(v-h)/r))),tJ.startX=u=tr(u),tJ.startY=h=tr(h)},ef=function(){return tJ.tween&&tJ.tween.isActive()},em=function(){!L.parentNode||ef()||tJ.isDragging||L.parentNode.removeChild(L)},eg=function(t,r){var u;if(!s||tJ.isPressed||!t||("mousedown"===t.type||"pointerdown"===t.type)&&!r&&tu()-t7<30&&I[tJ.pointerEvent.type]){th&&t&&s&&tM(t);return}if(q=ef(),tw=!1,tJ.pointerEvent=t,I[t.type]?(tS(_=~t.type.indexOf("touch")?t.currentTarget||t.target:en,"touchend",ex),tS(_,"touchmove",ev),tS(_,"touchcancel",ex),tS(en,"touchstart",tC)):(_=null,tS(en,"mousemove",ev)),Q=null,(!U||!_)&&(tS(en,"mouseup",ex),t&&t.target&&tS(t.target,"mouseup",ex)),B=t6.call(tJ,t.target)&&!1===n.dragClickables&&!r){tS(t.target,"change",ex),tX(tJ,"pressInit","onPressInit"),tX(tJ,"press","onPress"),t$(t0,!0),th=!1;return}if((th=!(K=!!_&&tK!==tQ&&!1!==tJ.vars.allowNativeTouchScrolling&&(!tJ.vars.allowContextMenu||!t||!t.ctrlKey&&!(t.which>2))&&(tK?"y":"x"))&&!tJ.allowEventDefault)&&(tM(t),tS(A,"touchforcechange",tM)),t.changedTouches?x=(t=y=t.changedTouches[0]).identifier:t.pointerId?x=t.pointerId:y=x=null,G++,tb(es),l=tJ.pointerY=t.pageY,a=tJ.pointerX=t.pageX,tX(tJ,"pressInit","onPressInit"),(K||tJ.autoScroll)&&tF(i.parentNode),!i.parentNode||!tJ.autoScroll||o||tB||!i.parentNode._gsMaxScrollX||L.parentNode||i.getBBox||(L.style.width=i.parentNode.scrollWidth+"px",i.parentNode.appendChild(L)),ep(),tJ.tween&&tJ.tween.kill(),tJ.isThrowing=!1,k.killTweensOf(o||i,t1,!0),o&&k.killTweensOf(i,{scrollTo:1},!0),tJ.tween=tJ.lockedAxis=null,!n.zIndexBoost&&(tB||o||!1===n.zIndexBoost)||(i.style.zIndex=e.zIndex++),tJ.isPressed=!0,d=!!(n.onDrag||tJ._listeners.drag),p=!!(n.onMove||tJ._listeners.move),!1!==n.cursor||n.activeCursor)for(u=t0.length;--u>-1;)k.set(t0[u],{cursor:n.activeCursor||n.cursor||("grab"===W?"grabbing":W)});tX(tJ,"press","onPress")},ev=function(t){var e,n,r,o,u,h,c=t;if(!s||N||!tJ.isPressed||!t){th&&t&&s&&tM(t);return}if(tJ.pointerEvent=t,e=t.changedTouches){if((t=e[0])!==y&&t.identifier!==x){for(o=e.length;--o>-1&&(t=e[o]).identifier!==x&&t.target!==i;);if(o<0)return}}else if(t.pointerId&&x&&t.pointerId!==x)return;_&&K&&!Q&&(tW.x=t.pageX-(ee?tV(en):0),tW.y=t.pageY-(ee?tD(en):0),$&&$.apply(tW,tW),n=tW.x,r=tW.y,(u=Math.abs(n-a))!==(h=Math.abs(r-l))&&(u>tZ||h>tZ)||X&&K===Q)&&(Q=u>h&&tK?"x":"y",K&&Q!==K&&tS(A,"touchforcechange",tM),!1!==tJ.vars.lockAxisOnTouchScroll&&tK&&tQ&&(tJ.lockedAxis="x"===Q?"y":"x",Z(tJ.vars.onLockAxis)&&tJ.vars.onLockAxis.call(tJ,c)),X&&K===Q)?ex(c):(tJ.allowEventDefault||K&&(!Q||K===Q)||!1===c.cancelable?th&&(th=!1):(tM(c),th=!0),tJ.autoScroll&&(t5=!0),ey(t.pageX,t.pageY,p))}
9,ey=function(t,e,i){var n,r,s,o,d,p,y=1-tJ.dragResistance,x=1-tJ.edgeResistance,T=tJ.pointerX,S=tJ.pointerY,E=h,M=tJ.x,k=tJ.y,A=tJ.endX,C=tJ.endY,D=tJ.endRotation,L=b;tJ.pointerX=t,tJ.pointerY=e,ee&&(t-=tV(en),e-=tD(en)),tB?(o=Math.atan2(w.y-e,t-w.x)*ta,(d=tJ.y-o)>180?(h-=360,tJ.y=o):d<-180&&(h+=360,tJ.y=o),tJ.x!==u||Math.max(Math.abs(a-t),Math.abs(l-e))>tZ?(tJ.y=o,s=u+(h-o)*y):s=u):($&&(p=t*$.a+e*$.c+$.e,e=t*$.b+e*$.d+$.f,t=p),(r=e-l)<tZ&&r>-tZ&&(r=0),(n=t-a)<tZ&&n>-tZ&&(n=0),(tJ.lockAxis||tJ.lockedAxis)&&(n||r)&&(!(p=tJ.lockedAxis)&&(tJ.lockedAxis=p=tK&&Math.abs(n)>Math.abs(r)?"y":tQ?"x":null,p&&Z(tJ.vars.onLockAxis)&&tJ.vars.onLockAxis.call(tJ,tJ.pointerEvent)),"y"===p?r=0:"x"===p&&(n=0)),s=tr(u+n*y),o=tr(h+r*y)),(P||V||R)&&(tJ.x!==s||tJ.y!==o&&!tB)&&(R&&(tm.x=s,tm.y=o,s=tr((p=R(tm)).x),o=tr(p.y)),P&&(s=tr(P(s))),V&&(o=tr(V(o)))),c&&(s>f?s=f+Math.round((s-f)*x):s<m&&(s=m+Math.round((s-m)*x)),!tB&&(o>g?o=Math.round(g+(o-g)*x):o<v&&(o=Math.round(v+(o-v)*x)))),tJ.x===s&&(tJ.y===o||tB)||(tB?(tJ.endRotation=tJ.x=tJ.endX=s,b=!0):(tQ&&(tJ.y=tJ.endY=o,b=!0),tK&&(tJ.x=tJ.endX=s,b=!0)),i&&!1===tX(tJ,"move","onMove")?(tJ.pointerX=T,tJ.pointerY=S,h=E,tJ.x=M,tJ.y=k,tJ.endX=A,tJ.endY=C,tJ.endRotation=D,b=L):!tJ.isDragging&&tJ.isPressed&&(tJ.isDragging=tw=!0,tX(tJ,"dragstart","onDragStart")))},ex=function t(e,r){if(!s||!tJ.isPressed||e&&null!=x&&!r&&(e.pointerId&&e.pointerId!==x&&e.target!==i||e.changedTouches&&!tk(e.changedTouches,x))){th&&e&&s&&tM(e);return}tJ.isPressed=!1;var o,a,l,u,h=e,c=tJ.isDragging,d=tJ.vars.allowContextMenu&&e&&(e.ctrlKey||e.which>2),p=k.delayedCall(.001,em);if(_?(tE(_,"touchend",t),tE(_,"touchmove",ev),tE(_,"touchcancel",t),tE(en,"touchstart",tC)):tE(en,"mousemove",ev),tE(A,"touchforcechange",tM),(!U||!_)&&(tE(en,"mouseup",t),e&&e.target&&tE(e.target,"mouseup",t)),b=!1,c&&(t2=tf=tu(),tJ.isDragging=!1),tP(es),B&&!d){e&&(tE(e.target,"change",t),tJ.pointerEvent=h),t$(t0,!1),tX(tJ,"release","onRelease"),tX(tJ,"click","onClick"),B=!1;return}for(a=t0.length;--a>-1;)t_(t0[a],"cursor",n.cursor||(!1!==n.cursor?W:null));if(G--,e){if((o=e.changedTouches)&&(e=o[0])!==y&&e.identifier!==x){for(a=o.length;--a>-1&&(e=o[a]).identifier!==x&&e.target!==i;);if(a<0&&!r)return}tJ.pointerEvent=h,tJ.pointerX=e.pageX,tJ.pointerY=e.pageY}return d&&h?(tM(h),th=!0,tX(tJ,"release","onRelease")):h&&!c?(th=!1,q&&(n.snap||n.bounds)&&ec(n.inertia||n.throwProps),tX(tJ,"release","onRelease"),(!X||"touchmove"!==h.type)&&-1===h.type.indexOf("cancel")&&(tX(tJ,"click","onClick"),tu()-t7<300&&tX(tJ,"doubleclick","onDoubleClick"),u=h.target||i,t7=tu(),X||h.defaultPrevented||k.delayedCall(.05,function(){t7!==ti&&tJ.enabled()&&!tJ.isPressed&&!h.defaultPrevented&&(u.click?u.click():en.createEvent&&((l=en.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,A,1,tJ.pointerEvent.screenX,tJ.pointerEvent.screenY,tJ.pointerX,tJ.pointerY,!1,!1,!1,!1,0,null),u.dispatchEvent(l)))}))):(ec(n.inertia||n.throwProps),!tJ.allowEventDefault&&h&&(!1!==n.dragClickables||
9!t6.call(tJ,h.target))&&c&&(!K||Q&&K===Q)&&!1!==h.cancelable?(th=!0,tM(h)):th=!1,tX(tJ,"release","onRelease")),ef()&&p.duration(tJ.tween.duration()),c&&tX(tJ,"dragend","onDragEnd"),!0},ew=function(t){if(t&&tJ.isDragging&&!o){var e=t.target||i.parentNode,n=e.scrollLeft-e._gsScrollX,r=e.scrollTop-e._gsScrollY;(n||r)&&($?(a-=n*$.a+r*$.c,l-=r*$.d+n*$.b):(a-=n,l-=r),e._gsScrollX+=n,e._gsScrollY+=r,ey(tJ.pointerX,tJ.pointerY))}},eb=function(t){var e=tu(),i=e-t7<100,n=e-t2<50,r=i&&ti===t7,s=tJ.pointerEvent&&tJ.pointerEvent.defaultPrevented,o=i&&to===t7,a=t.isTrusted||null==t.isTrusted&&i&&r;if((r||n&&!1!==tJ.vars.suppressClickOnDrag)&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),i&&!(tJ.pointerEvent&&tJ.pointerEvent.defaultPrevented)&&(!r||a&&!o)){a&&r&&(to=t7),ti=t7;return}(tJ.isPressed||n||i)&&(!a||!t.detail||!i||s)&&tM(t),i||n||tw||(t&&t.target&&(tJ.pointerEvent=t),tX(tJ,"click","onClick"))},eT=function(t){return $?{x:t.x*$.a+t.y*$.c+$.e,y:t.x*$.b+t.y*$.d+$.f}:{x:t.x,y:t.y}};return(T=e.get(i))&&T.kill(),r.startDrag=function(t,e){var n,r,s,o;eg(t||tJ.pointerEvent,!0),e&&!tJ.hitTest(t||tJ.pointerEvent)&&(n=tN(t||tJ.pointerEvent),r=tN(i),s=eT({x:n.left+n.width/2,y:n.top+n.height/2}),o=eT({x:r.left+r.width/2,y:r.top+r.height/2}),a-=s.x-o.x,l-=s.y-o.y),tJ.isDragging||(tJ.isDragging=tw=!0,tX(tJ,"dragstart","onDragStart"))},r.drag=ev,r.endDrag=function(t){return ex(t||tJ.pointerEvent,!0)},r.timeSinceDrag=function(){return tJ.isDragging?0:(tu()-t2)/1e3},r.timeSinceClick=function(){return(tu()-t7)/1e3},r.hitTest=function(t,i){return e.hitTest(tJ.target,t,i)},r.getDirection=function(t,e){var n,r,s,o,a,l,c="velocity"===t&&Y?t:J(t)&&!tB?"element":"start";return("element"===c&&(a=tN(tJ.target),l=tN(t)),n="start"===c?tJ.x-u:"velocity"===c?Y.getVelocity(i,tI):a.left+a.width/2-(l.left+l.width/2),tB)?n<0?"counter-clockwise":"clockwise":(e=e||2,o=(s=Math.abs(n/(r="start"===c?tJ.y-h:"velocity"===c?Y.getVelocity(i,tU):a.top+a.height/2-(l.top+l.height/2))))<1/e?"":n<0?"left":"right",s<e&&(""!==o&&(o+="-"),o+=r<0?"up":"down"),o)},r.applyBounds=function(t,e){var r,s,o,a,l,u;if(t&&n.bounds!==t)return n.bounds=t,tJ.update(!0,e);if(eo(!0),el(),c&&!ef()){if(r=tJ.x,s=tJ.y,r>f?r=f:r<m&&(r=m),s>g?s=g:s<v&&(s=v),(tJ.x!==r||tJ.y!==s)&&(o=!0,tJ.x=tJ.endX=r,tB?tJ.endRotation=r:tJ.y=tJ.endY=s,b=!0,es(!0),tJ.autoScroll&&!tJ.isDragging))for(tF(i.parentNode),a=i,tg.scrollTop=null!=A.pageYOffset?A.pageYOffset:null!=en.documentElement.scrollTop?en.documentElement.scrollTop:en.body.scrollTop,tg.scrollLeft=null!=A.pageXOffset?A.pageXOffset:null!=en.documentElement.scrollLeft?en.documentElement.scrollLeft:en.body.scrollLeft;a&&!u;)l=(u=tO(a.parentNode))?tg:a.parentNode,tQ&&l.scrollTop>l._gsMaxScrollY&&(l.scrollTop=l._gsMaxScrollY),tK&&l.scrollLeft>l._gsMaxScrollX&&(l.scrollLeft=l._gsMaxScrollX),a=l;tJ.isThrowing&&(o||tJ.endX>f||tJ.endX<m||tJ.endY>g||tJ.endY<v)&&ec(n.inertia||n.throwProps,o)}return tJ},r.update=function(t,e,n){if(e&&tJ.isPressed){var r=E(i),s=tp.apply({x:tJ.x-u,y:tJ.y-h}),o=E(i.parentNode,!0);o.apply({x:r.e-s.x,y:r.f-s.y},s),tJ.x-=s.x-o.e,tJ.y-=s.y-o.f,es(!0),ep()}var a=tJ.x,l=tJ.y;return ed(!e),t?tJ.applyBounds():(b&&n&&es(!0),eo(!0)),e&&(ey(tJ.pointerX,tJ.pointerY),b&&es(!0)),tJ.isPressed&&!e&&(tK&&Math.abs(a-tJ.x)>.01||tQ&&Math.abs(l-tJ.y)>.01&&!tB)&&ep(),tJ.autoScroll&&(tF(i.parentNode,tJ.isDragging),t5=tJ.isDragging,es(!0),tL(i,ew),tR(i,ew)),tJ},r.enable=function(t){var e,r,a,l={lazy:!0};if(!1!==n.cursor&&(l.cursor=n.cursor||W),k.utils.checkPrefix("touchCallout")&&(l.touchCallout="none"),"soft"!==t){for(tx(t0,tK===tQ?"none":n.allowNativeTouchScrolling&&i.scrollHeight===i.clientHeight==(i.scrollWidth===i.clientHeight)||n.allowEventDefault?"manipulation":tK?"pan-y":"pan-x"),r=t0.length;--r>-1;)a=t0[r],U||tS(a,"mousedown",eg),tS(a,"touchstart",eg),tS(a,"click",eb,!0),k.set(a,l),a.getBBox&&a.ownerSVGElement&&tK!==tQ&&k.set(a.ownerSVGElement,{touchAction:n.allowNativeTouchScrolling||n.allowEventDefault?"manipulation":tK?"pan-y":"pan-x"}),n.allowContextMenu||tS(a,"contextmenu",er);t$(t0,!1)}return tR(i,ew),s=!0,Y&&"soft"!==t&&Y.track(o||i,tA?"x,y":tB?"rotation":"top,left"),i._gsDragID=e=i._gsDragID||"d"+td++,tc[e]=tJ,o&&(o.enable(),o.element._gsDragID=e),(n.bounds||tB)&&ep(),n.bounds&&tJ.applyBounds(),tJ}
9,r.disable=function(t){for(var e,n=tJ.isDragging,r=t0.length;--r>-1;)t_(t0[r],"cursor",null);if("soft"!==t){for(tx(t0,null),r=t0.length;--r>-1;)t_(e=t0[r],"touchCallout",null),tE(e,"mousedown",eg),tE(e,"touchstart",eg),tE(e,"click",eb,!0),tE(e,"contextmenu",er);t$(t0,!0),_&&(tE(_,"touchcancel",ex),tE(_,"touchend",ex),tE(_,"touchmove",ev)),tE(en,"mouseup",ex),tE(en,"mousemove",ev)}return tL(i,ew),s=!1,Y&&"soft"!==t&&(Y.untrack(o||i,tA?"x,y":tB?"rotation":"top,left"),tJ.tween&&tJ.tween.kill()),o&&o.disable(),tP(es),tJ.isDragging=tJ.isPressed=B=!1,n&&tX(tJ,"dragend","onDragEnd"),tJ},r.enabled=function(t,e){return arguments.length?t?tJ.enable(e):tJ.disable(e):s},r.kill=function(){return tJ.isThrowing=!1,tJ.tween&&tJ.tween.kill(),tJ.disable(),k.set(t0,{clearProps:"userSelect"}),delete tc[i._gsDragID],tJ},r.revert=function(){this.kill(),this.styles&&this.styles.revert()},~tT.indexOf("scroll")&&(o=r.scrollProxy=new tq(i,ty({onKill:function(){tJ.isPressed&&ex(null)}},n)),i.style.overflowY=tQ&&!j?"auto":"hidden",i.style.overflowX=tK&&!j?"auto":"hidden",i=o.content),tB?t1.rotation=1:(tK&&(t1[tI]=1),tQ&&(t1[tU]=1)),et.force3D=!("force3D"in n)||n.force3D,H(M(r)),r.enable(),r}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t,e.register=function(t){k=t,tG()},e.create=function(t,i){return O||tG(!0),F(t).map(function(t){return new e(t,i)})},e.get=function(t){return tc[(F(t)[0]||{})._gsDragID]},e.timeSinceDrag=function(){return(tu()-tf)/1e3},e.hitTest=function(t,e,i){if(t===e)return!1;var n,r,s,o=tN(t),a=tN(e),l=o.top,u=o.left,h=o.right,c=o.bottom,d=o.width,p=o.height,f=a.left>h||a.right<u||a.top>c||a.bottom<l;return f||!i?!f:(s=-1!==(i+"").indexOf("%"),i=parseFloat(i)||0,(n={left:Math.max(u,a.left),top:Math.max(l,a.top)}).width=Math.min(h,a.right)-n.left,n.height=Math.min(c,a.bottom)-n.top,!(n.width<0)&&!(n.height<0)&&(s?(i*=.01,(r=n.width*n.height)>=d*p*i||r>=a.width*a.height*i):n.width>i&&n.height>i))},e}(function(){function t(t){this._listeners={},this.target=t||this}var e=t.prototype;return e.addEventListener=function(t,e){var i=this._listeners[t]||(this._listeners[t]=[]);~i.indexOf(e)||i.push(e)},e.removeEventListener=function(t,e){var i=this._listeners[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},e.dispatchEvent=function(t){var e,i=this;return(this._listeners[t]||[]).forEach(function(n){return!1===n.call(i,{type:t,target:i.target})&&(e=!1)}),e},t}());!function(t,e){for(var i in e)i in t||(t[i]=e[i])}(tK.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),tK.zIndex=1e3,tK.version="3.13.0",Q()&&k.registerPlugin(tK)},5681:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(82551),r=i(86784),s=i(55576),o=i(60251);let a={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},8445:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(54769);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},8866:(t,e,i)=>{let n;i.d(e,{k:()=>a});var r=i(48594),s=i(52084);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}},12005:(t,e,i)=>{i.d(e,{V:()=>a});var n=i(86784),r=i(35881),s=i(55576),o=i(60251);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(o))+")"}},16179:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(42696).A)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},19300:(t,e,i)=>{let n;i.d(e,{P:()=>rt});var r,s,o=i(50905);let a=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l=new Set(a
9),u=t=>180*t/Math.PI,h=t=>d(u(Math.atan2(t[1],t[0]))),c={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:h,rotateZ:h,skewX:t=>u(Math.atan(t[1])),skewY:t=>u(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},d=t=>((t%=360)<0&&(t+=360),t),p=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),m={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:p,scaleY:f,scale:t=>(p(t)+f(t))/2,rotateX:t=>d(u(Math.atan2(t[6],t[5]))),rotateY:t=>d(u(Math.atan2(-t[2],t[0]))),rotateZ:h,rotate:h,skewX:t=>u(Math.atan(t[4])),skewY:t=>u(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function g(t){return+!!t.includes("scale")}function v(t,e){let i,n;if(!t||"none"===t)return g(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=m,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=c,n=e}if(!n)return g(e);let s=i[e],o=n[1].split(",").map(y);return"function"==typeof s?s(o):o[s]}function y(t){return parseFloat(t.trim())}var x=i(44549);function w({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}var b=i(97727);function T(t){return void 0===t||1===t}function P({scale:t,scaleX:e,scaleY:i}){return!T(t)||!T(e)||!T(i)}function S(t){return P(t)||E(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function E(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function M(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function k(t,e=0,i=1,n,r){t.min=M(t.min,e,i,n,r),t.max=M(t.max,e,i,n,r)}function A(t,{x:e,y:i}){k(t.x,e.translate,e.scale,e.originPoint),k(t.y,i.translate,i.scale,i.originPoint)}function C(t,e){t.min=t.min+e,t.max=t.max+e}function D(t,e,i,n,r=.5){let s=(0,b.k)(t.min,t.max,r);k(t,e,i,s,n)}function V(t,e){D(t.x,e.x,e.scaleX,e.scale,e.originX),D(t.y,e.y,e.scaleY,e.scale,e.originY)}function R(t,e){return w(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}let L=new Set(["width","height","top","left","right","bottom",...a]);var O=i(86784),B=i(35881);let F=t=>e=>e.test(t),_=[O.ai,B.px,B.KN,B.uj,B.vw,B.vh,{test:t=>"auto"===t,parse:t=>t}],j=t=>_.find(F(t));var I=i(40721);let N=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,X=t=>t===O.ai||t===B.px,Y=new Set(["x","y","z"]),W=a.filter(t=>!Y.has(t)),U={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>v(e,"x"),y:(t,{transform:e})=>v(e,"y")};U.translateX=U.x,U.translateY=U.y;var H=i(52084);let z=new Set,$=!1,q=!1,G=!1;function K(){if(q){let t=Array.from(z).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],W.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}q=!1,$=!1,z.forEach(t=>t.complete(G)),z.clear()}function Q(){z.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(q=!0)})}class Z{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(z.add(this),$||($=!0,H.Gt.read(Q),H.Gt.resolveKeyframes(K))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),z.delete(this)}cancel(){"scheduled"===this.state&&(z.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}var J=i(48055),tt=i(43901);let te=new Set(["brightness","contrast","saturate","opacity"]);function ti(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tt.S)||[];if(!n)return t;let r=i.replace(n,""),s=+!!te.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let tn=/\b([a-z-]*)\(.*?\)/gu,tr={...J.f,getAnimatableNone:t=>{let e=t.match(tn);return e?e.map(ti).join(" "):t}};var ts=i(64007);let to={...O.ai,transform:Math.round},ta={rotate:B.uj,rotateX:B.uj,rotateY:B.uj,rotateZ:B.uj,scale:O.hs,scaleX:O.hs,scaleY:O.hs,scaleZ:O.hs,skew:B.uj,skewX:B.uj,skewY:B.uj,distance:B.px,translateX:B.px,translateY:B.px,translateZ:B.px,x:B.px,y:B.px,z:B.px,perspective:B.px,transformPerspective:B.px,opacity:O.X4,originX:B.gQ,originY:B.gQ,originZ:B.px},tl={borderWidth:B.px,borderTopWidth:B.px,borderRightWidth:B.px,borderBottomWidth:B.px,borderLeftWidth:B.px,borderRadius:B.px,radius:B.px,borderTopLeftRadius:B.px,borderTopRightRadius:B.px,borderBottomRightRadius:B.px,borderBottomLeftRadius:B.px,width:B.px,maxWidth:B.px,height:B.px,maxHeight:B.px,top:B.px,right:B.px,bottom:B.px,left:B.px,padding:B.px,paddingTop:B.px,paddingRight:B.px,paddingBottom:B.px,paddingLeft:B.px,margin:B.px,marginTop:B.px,marginRight:B.px,marginBottom:B.px,marginLeft:B.px,backgroundPositionX:B.px,backgroundPositionY:B.px,...ta,zIndex:to,fillOpacity:O.X4,strokeOpacity:O.X4,numOctaves:to},tu={...tl,color:ts.y,backgroundColor:ts.y,outlineColor:ts.y,fill:ts.y,stroke:ts.y,borderColor:ts.y,borderTopColor:ts.y,borderRightColor:ts.y,borderBottomColor:ts.y,borderLeftColor:ts.y,filter:tr,WebkitFilter:tr},th=t=>tu[t];function tc(t,e){let i=th(t);return i!==tr&&(i=J.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
9let td=new Set(["auto","none","0"]);class tp extends Z{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,x.p)(n))){let r=function t(e,i,n=1){(0,I.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=N.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,x.p)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!L.has(i)||2!==t.length)return;let[n,r]=t,s=j(n),o=j(r);if(s!==o)if(X(s)&&X(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else U[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!td.has(e)&&(0,J.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tc(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=U[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=U[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
9h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var tf=i(72388),tm=i(8866),tg=i(2917);let tv=[..._,ts.y,J.f],{schedule:ty}=(0,i(38744).I)(queueMicrotask,!1);var tx=i(8445);let tw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},tb={};for(let t in tw)tb[t]={isEnabled:e=>tw[t].some(t=>!!e[t])};let tT=()=>({translate:0,scale:1,origin:0,originPoint:0}),tP=()=>({x:tT(),y:tT()}),tS=()=>({min:0,max:0}),tE=()=>({x:tS(),y:tS()});var tM=i(37853);let tk={current:null},tA={current:!1},tC=new WeakMap;function tD(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tV(t){return"string"==typeof t||Array.isArray(t)}let tR=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tL=["initial",...tR];function tO(t){return tD(t.animate)||tL.some(e=>tV(t[e]))}function tB(t){return!!(tO(t)||t.variants)}function tF(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function t_(t,e,i,n){if("function"==typeof e){let[r,s]=tF(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=tF(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let tj=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tI{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Z,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tm.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,H.Gt.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=tO(e),this.isVariantNode=tB(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==a[t]&&(0,tf.S)(e)&&e.set(a[t])}}mount(t){this.current=t,tC.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),tA.current||function(){if(tA.current=!0,tM.B)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tk.current=t.matches;t.addEventListener("change",e),e()}else tk.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tk.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,H.WG)(this.notifyUpdate),(0,H.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=l.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&H.Gt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tb){let e=tb[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
9e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tE()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<tj.length;e++){let i=tj[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,tf.S)(r))t.addValue(n,r);else if((0,tf.S)(s))t.addValue(n,(0,tg.OQ)(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,tg.OQ)(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,tg.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!tv.find(F(n))&&J.f.test(e)&&(i=tc(t,e))}this.setBaseTarget(t,(0,tf.S)(i)?i.get():i)}return(0,tf.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=t_(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,tf.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tx.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){ty.render(this.render)}}class tN extends tI{constructor(){super(...arguments),this.KeyframeResolver=tp}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,tf.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let tX=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tW=a.length;function tU(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,o=!1,u=!1;for(let t in e){let i=e[t];if(l.has(t)){o=!0;continue}if((0,x.j)(t)){r[t]=i;continue}{let e=tX(i,tl[t]);t.startsWith("origin")?(u=!0,s[t]=e):n[t]=e}}
9if(!e.transform&&(o||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<tW;s++){let o=a[s],l=t[o];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!o.startsWith("scale"):0===parseFloat(l))||i){let t=tX(l,tl[o]);if(!u){r=!1;let e=tY[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}function tH(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}let tz={};function t$(t,{layout:e,layoutId:i}){return l.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!tz[t]||"opacity"===t)}function tq(t,e,i){let{style:n}=t,r={};for(let s in n)((0,tf.S)(n[s])||e.style&&(0,tf.S)(e.style[s])||t$(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(r[s]=n[s]);return r}class tG extends tN{constructor(){super(...arguments),this.type="html",this.renderInstance=tH}readValueFromInstance(t,e){if(l.has(e))return this.projection?.isProjecting?g(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return v(i,e)})(t,e);{let i=window.getComputedStyle(t),n=((0,x.j)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return R(t,e)}build(t,e,i){tU(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return tq(t,e,i)}}let tK=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tQ={offset:"stroke-dashoffset",array:"stroke-dasharray"},tZ={offset:"strokeDashoffset",array:"strokeDasharray"};function tJ(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(tU(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?tQ:tZ;t[s.offset]=B.px.transform(-n);let o=B.px.transform(e),a=B.px.transform(i);t[s.array]=`${o} ${a}`}(c,r,s,o,!1)}let t0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),t1=t=>"string"==typeof t&&"svg"===t.toLowerCase();function t2(t,e,i){let n=tq(t,e,i);for(let i in t)((0,tf.S)(t[i])||(0,tf.S)(e[i]))&&(n[-1!==a.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class t5 extends tN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tE}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(l.has(e)){let t=th(e);return t&&t.default||0}return e=t0.has(e)?e:tK(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return t2(t,e,i)}build(t,e,i){tJ(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in tH(t,e,void 0,n),e.attrs)t.setAttribute(t0.has(i)?i:tK(i),e.attrs[i])}mount(t){this.isSVGTag=t1(t.tagName),super.mount(t)}}let t3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function t4(t){if("string"!=typeof t||t.includes("-"));else if(t3.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var t8=i(66477),t9=i(59196);let t6=(0,o.createContext)({strict:!1});var t7=i(81731);let et=(0,o.createContext)({});function ee(t){return Array.isArray(t)?t.join(" "):t}let ei=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function en(t,e,i){for(let n in e)(0,tf.S)(e[n])||t$(n,i)||(t[n]=e[n])}let er=()=>({...ei(),attrs:{}}),es=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function eo(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||es.has(t)}let ea=t=>!eo(t);try{r=require("@emotion/is-prop-valid").default,"function"==typeof r&&(ea=t=>t.startsWith("on")?!eo(t):r(t))}catch{}var el=i(73322),eu=i(35572);function eh(t){return(0,tf.S)(t)?t.get():t}let ec=t=>(e,i)=>{let n=(0,o.useContext)(et),r=(0,o.useContext)(el.t),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e}
9,i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eh(s[t]);let{initial:o,animate:a}=t,l=tO(t),u=tB(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!tD(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=t_(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():(0,eu.M)(s)},ed=ec({scrapeMotionValuesFromProps:tq,createRenderState:ei}),ep=ec({scrapeMotionValuesFromProps:t2,createRenderState:er}),ef=Symbol.for("motionComponentSymbol");function em(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let eg="data-"+tK("framerAppearId"),ev=(0,o.createContext)({});var ey=i(98325);function ex(t,{forwardMotionProps:e=!1}={},i,n){i&&function(t){for(let e in t)tb[e]={...tb[e],...t[e]}}(i);let r=t4(t)?ep:ed;function s(i,s){var a;let l,u={...(0,o.useContext)(t7.Q),...i,layoutId:function({layoutId:t}){let e=(0,o.useContext)(t9.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(tO(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tV(e)?e:void 0,animate:tV(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(et));return(0,o.useMemo)(()=>({initial:e,animate:i}),[ee(e),ee(i)])}(i),d=r(i,h);if(!h&&tM.B){(0,o.useContext)(t6).strict;let e=function(t){let{drag:e,layout:i}=tb;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);l=e.MeasureLayout,c.visualElement=function(t,e,i,n,r){let{visualElement:s}=(0,o.useContext)(et),a=(0,o.useContext)(t6),l=(0,o.useContext)(el.t),u=(0,o.useContext)(t7.Q).reducedMotion,h=(0,o.useRef)(null);n=n||a.renderer,!h.current&&n&&(h.current=n(t,{visualState:e,parent:s,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let c=h.current,d=(0,o.useContext)(ev);c&&!c.projection&&r&&("html"===c.type||"svg"===c.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&em(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(h.current,i,r,d);let p=(0,o.useRef)(!1);(0,o.useInsertionEffect)(()=>{c&&p.current&&c.update(i,l)});let f=i[eg],m=(0,o.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return(0,ey.E)(()=>{c&&(p.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),m.current&&c.animationState&&c.animationState.animateChanges())}),(0,o.useEffect)(()=>{c&&(!m.current&&c.animationState&&c.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),m.current=!1),c.enteringChildren=void 0)}),c}(t,d,u,n,e.ProjectionNode)}return(0,t8.jsxs)(et.Provider,{value:c,children:[l&&c.visualElement?(0,t8.jsx)(l,{visualElement:c.visualElement,...u}):null,function(t,e,i,{latestValues:n},r,s=!1){let a=(t4(t)?function(t,e,i,n){let r=(0,o.useMemo)(()=>{let i=er();return tJ(i,e,t1(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};en(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},s=(i=t.style||{},en(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,o.useMemo)(()=>{let i=ei();return tU(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r}
9)(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(ea(r)||!0===i&&eo(r)||!e&&!eo(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),u=t!==o.Fragment?{...l,...a,ref:i}:{},{children:h}=e,c=(0,o.useMemo)(()=>(0,tf.S)(h)?h.get():h,[h]);return(0,o.createElement)(t,{...u,children:c})}(t,i,(a=c.visualElement,(0,o.useCallback)(t=>{t&&d.onMount&&d.onMount(t),a&&(t?a.mount(t):a.unmount()),s&&("function"==typeof s?s(t):em(s)&&(s.current=t))},[a,s])),d,h,e)]})}s.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let a=(0,o.forwardRef)(s);return a[ef]=t,a}function ew(t,e,i){let n=t.getProps();return t_(n,e,void 0!==i?i:n.custom,t)}function eb(t,e){return t?.[e]??t?.default??t}let eT=t=>Array.isArray(t);var eP=i(48594);function eS(t,e){let i=t.getValue("willChange");if((0,tf.S)(i)&&i.add)return i.add(e);if(!i&&eP.W.WillChange){let i=new eP.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function eE(t){t.duration=0,t.type}var eM=i(66685),ek=i(86972),eA=i(88265),eC=i(43026),eD=i(28777),eV=i(74017),eR=i(92891),eL=i(28149),eO=i(98140),eB=i(72522);let eF={},e_=(s=()=>{try{document.createElement("div").animate({opacity:0}
9,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},n=(0,eB.p)(s),()=>eF.linearEasing??n());var ej=i(45984);let eI=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,eN={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eI([0,.65,.55,1]),circOut:eI([.55,0,1,.45]),backIn:eI([.31,.01,.66,-.59]),backOut:eI([.33,1.53,.69,.99])};function eX(t){return"function"==typeof t&&"applyToOptions"in t}class eY extends eV.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,(0,I.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return eX(t)&&e_()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?e_()?(0,ej.K)(e,i):"ease-out":(0,eO.D)(e)?eI(e):Array.isArray(e)?e.map(e=>t(e,i)||eN.easeOut):eN[e]}(a,r);Array.isArray(c)&&(h.easing=c),eL.Q.value&&eR.q.waapi++;let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return eL.Q.value&&p.finished.finally(()=>{eR.q.waapi--}),p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=(0,eA.X)(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,eC.X)(Number(t))}get time(){return(0,eC.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,eC.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,eD.J)())?(this.animation.timeline=t,ek.l):e(this)}}var eW=i(2703),eU=i(68232),eH=i(23141),ez=i(86121);let e$={anticipate:eU.b,backInOut:eH.ZZ,circInOut:ez.tn};class eq extends eY{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in e$&&(t.ease=e$[t.ease])}(t),(0,eW.E)(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new eM.s({...s,autoplay:!1}),a=(0,eC.f)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let eG=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(J.f.test(t)||"0"===t)&&!t.startsWith("url(")),eK=new Set(["opacity","clipPath","filter","transform"]),eQ=(0,eB.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eZ extends eV.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tm.k.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||Z;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;
9this.resolvedAt=tm.k.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=eG(r,e),a=eG(s,e);return(0,I.$)(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||eX(i))&&n)}(t,r,s,o)&&((eP.W.instantAnimations||!a)&&u?.((0,eA.X)(t,i,e)),t[0]=t[t.length-1],eE(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return eQ()&&i&&eK.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(h)?new eq({...h,element:h.motionValue.owner.current}):new eM.s(h);c.finished.then(()=>this.notifyFinished()).catch(ek.l),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),G=!0,Q(),K(),G=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let eJ=t=>null!==t,e0={type:"spring",stiffness:500,damping:25,restSpeed:10},e1={type:"keyframes",duration:.8},e2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e5=(t,e,i,n={},r,s)=>o=>{let a=eb(n,t)||{},u=a.delay||n.delay||0,{elapsed:h=0}=n;h-=(0,eC.f)(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-h,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?e1:l.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:e0:e2)(t,c)),c.duration&&(c.duration=(0,eC.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,eC.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(eE(c),0===c.delay&&(d=!0)),(eP.W.instantAnimations||eP.W.skipAnimations)&&(d=!0,eE(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"}){let n=t.filter(eJ),r=e&&"loop"!==i&&e%2==1?0:n.length-1;return n[r]}(c.keyframes,a);if(void 0!==t)return void H.Gt.update(()=>{c.onUpdate(t),c.onComplete()})}return a.isSync?new eM.s(c):new eZ(c)};function e3(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;n&&(s=n);let l=[],u=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||u&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(u,e))continue;let o={delay:i,...eb(s||{},e)},h=n.get();if(void 0!==h&&!n.isAnimating&&!Array.isArray(r)&&r===h&&!o.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let i=t.props[eg];if(i){let t=window.MotionHandoffAnimation(i,e,H.Gt);null!==t&&(o.startTime=t,c=!0)}}eS(t,e),n.start(e5(e,n,r,t.shouldReduceMotion&&L.has(e)?{type:!1}:o,t,c));let d=n.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{H.Gt.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=ew(t,e)||{};for(let e in r={...r,...i}){var s;let i=eT(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,tg.OQ)(i))}}(t,o)})}),l}function e4(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function e8(t,e,i={}){let n=ew(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(e3(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;
9return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(e8(l,e,{...o,delay:i+("function"==typeof n?0:n)+e4(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}function e9(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let e6=tL.length,e7=[...tR].reverse(),it=tR.length;function ie(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ii(){return{animate:ie(!0),whileInView:ie(),whileHover:ie(),whileTap:ie(),whileDrag:ie(),whileFocus:ie(),exit:ie()}}class ir{constructor(t){this.isMounted=!1,this.node=t}update(){}}class is extends ir{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>e8(t,e,i)));else if("string"==typeof e)n=e8(t,e,i);else{let r="function"==typeof e?ew(t,e,i.custom):e;n=Promise.all(e3(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ii(),n=!0,r=e=>(i,n)=>{let r=ew(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<e6;t++){let n=tL[t],r=e.props[n];(tV(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<it;e++){var d,p;let f=e7[e],m=i[f],g=void 0!==o[f]?o[f]:a[f],v=tV(g),y=f===s?m.isActive:null;!1===y&&(c=e);let x=g===a[f]&&g!==o[f]&&v;if(x&&n&&t.manuallyAnimateOnMount&&(x=!1),m.protectedKeys={...h},!m.isActive&&null===y||!g&&!m.prevProp||tD(g)||"boolean"==typeof g)continue;let w=(d=m.prevProp,"string"==typeof(p=g)?p!==d:!!Array.isArray(p)&&!e9(p,d)),b=w||f===s&&m.isActive&&!x&&v||e>c&&v,T=!1,P=Array.isArray(g)?g:[g],S=P.reduce(r(f),{});!1===y&&(S={});let{prevResolvedValues:E={}}=m,M={...E,...S},k=e=>{b=!0,u.has(e)&&(T=!0,u.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in M){let e=S[t],i=E[t];if(!h.hasOwnProperty(t))(eT(e)&&eT(i)?e9(e,i):e===i)?void 0!==e&&u.has(t)?k(t):m.protectedKeys[t]=!0:null!=e?k(t):u.add(t)}m.prevProp=g,m.prevResolvedValues=S,m.isActive&&(h={...h,...S}),n&&t.blockInitialAnimation&&(b=!1);let A=x&&w,C=!A||T;b&&C&&l.push(...P.map(e=>{let i={type:f};if("string"==typeof e&&n&&!A&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=ew(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=e4(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=ew(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let f=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ii(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tD(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let io=0;class ia extends ir{constructor(){super(...arguments),this.id=io++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
9{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let il={x:!1,y:!1};function iu(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let ih=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function ic(t){return{point:{x:t.pageX,y:t.pageY}}}function id(t,e,i,n){return iu(t,e,t=>ih(t)&&i(t,ic(t)),n)}function ip(t){return t.max-t.min}function im(t,e,i,n=.5){t.origin=n,t.originPoint=(0,b.k)(e.min,e.max,t.origin),t.scale=ip(i)/ip(e),t.translate=(0,b.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ig(t,e,i,n){im(t.x,e.x,i.x,n?n.originX:void 0),im(t.y,e.y,i.y,n?n.originY:void 0)}function iv(t,e,i){t.min=i.min+e.min,t.max=t.min+ip(e)}function iy(t,e,i){t.min=e.min-i.min,t.max=t.min+ip(e)}function ix(t,e,i){iy(t.x,e.x,i.x),iy(t.y,e.y,i.y)}function iw(t){return[t("x"),t("y")]}let ib=({current:t})=>t?t.ownerDocument.defaultView:null;var iT=i(98784);let iP=(t,e)=>Math.abs(t-e);class iS{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=ik(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(iP(t.x,e.x)**2+iP(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=H.uv;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iE(e,this.transformPagePoint),H.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ik("pointercancel"===t.type?this.lastMoveEventInfo:iE(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!ih(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const o=iE(ic(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=H.uv;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,ik(o,this.history)),this.removeListeners=(0,iT.F)(id(this.contextWindow,"pointermove",this.handlePointerMove),id(this.contextWindow,"pointerup",this.handlePointerUp),id(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,H.WG)(this.updatePoint)}}function iE(t,e){return e?{point:e(t.point)}:t}function iM(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ik({point:t},e){return{point:t,delta:iM(t,iA(e)),offset:iM(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=iA(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,eC.f)(.1)));)e--;if(!i)return{x:0,y:0};let r=(0,eC.X)(n.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function iA(t){return t[t.length-1]}var iC=i(53105),iD=i(82551);function iV(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function iR(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function iL(t,e,i){return{min:iO(t,e),max:iO(t,i)}}function iO(t,e){return"number"==typeof t?t:t[e]||0}let iB=new WeakMap;class iF{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tE(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ic(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(il[t])return null;else return il[t]=!0,()=>{il[t]=!1};return il.x||il.y?null:(il.x=il.y=!0,()=>{il.x=il.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iw(t=>{let e=this.getAxisMotionValue(t).get()||0;if(B.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
9n&&(e=ip(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&H.Gt.postRender(()=>r(t,e)),eS(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>iw(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new iS(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:ib(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&H.Gt.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!i_(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,b.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,b.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&em(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:iV(t.x,i,r),y:iV(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iL(t,"left","right"),y:iL(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&iw(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!em(e))return!1;let n=e.current;(0,I.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,i){let n=R(t,i),{scroll:r}=e;return r&&(C(n.x,r.offset.x),C(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:iR(t.x,s.x),y:iR(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=w(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iw(o=>{if(!i_(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return eS(this.visualElement,t),i.start(e5(t,i,0,e,this.visualElement,!1))}stopAnimation(){iw(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iw(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iw(e=>{let{drag:i}=this.getProps();if(!i_(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,b.k)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!em(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};iw(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,o,a,l=e.get();n[t]=(i={min:l,max:l},r=this.constraints[t],s=.5,o=ip(i),(a=ip(r))>o?s=(0,iC.q)(r.min,r.max-o,i.min):o>a&&(s=(0,iC.q)(i.min,i.max-a,r.min)),(0,iD.q)(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iw(e=>{if(!i_(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,b.k)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;iB.set(this.visualElement,this);let t=id(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();em(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),H.Gt.read(e);let r=iu(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iw(e=>{let i=this.getAxisMotionValue(e);
9i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function i_(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ij extends ir{constructor(t){super(t),this.removeGroupControls=ek.l,this.removeListeners=ek.l,this.controls=new iF(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ek.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let iI=t=>(e,i)=>{t&&H.Gt.postRender(()=>t(e,i))};class iN extends ir{constructor(){super(...arguments),this.removePointerDownListener=ek.l}onPointerDown(t){this.session=new iS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ib(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:iI(t),onStart:iI(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&H.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=id(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var iX=i(40557);let iY={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function iW(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let iU={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!B.px.test(t))return t;else t=parseFloat(t);let i=iW(t,e.target.x),n=iW(t,e.target.y);return`${i}% ${n}%`}},iH=!1;class iz extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;for(let t in iq)tz[t]=iq[t],(0,x.j)(t)&&(tz[t].isCSSVariable=!0);r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),iH&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),iY.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,iH=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||H.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ty.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;iH=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function i$(t){let[e,i]=(0,iX.xQ)(),n=(0,o.useContext)(t9.L);return(0,t8.jsx)(iz,{...t,layoutGroup:n,switchLayoutGroup:(0,o.useContext)(ev),isPresent:e,safeToRemove:i})}let iq={borderRadius:{...iU,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iU,borderTopRightRadius:iU,borderBottomLeftRadius:iU,borderBottomRightRadius:iU,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=J.f.parse(t);if(n.length>5)return t;let r=J.f.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,b.k)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var iG=i(1235),iK=i(54769);let iQ=(t,e)=>t.depth-e.depth;class iZ{constructor(){this.children=[],this.isDirty=!1}add(t){(0,iK.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,iK.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(iQ),this.isDirty=!1,this.children.forEac
9h(t)}}let iJ=["TopLeft","TopRight","BottomLeft","BottomRight"],i0=iJ.length,i1=t=>"string"==typeof t?parseFloat(t):t,i2=t=>"number"==typeof t||B.px.test(t);function i5(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let i3=i8(0,.5,ez.yT),i4=i8(.5,.95,ek.l);function i8(t,e,i){return n=>n<t?0:n>e?1:i((0,iC.q)(t,e,n))}function i9(t,e){t.min=e.min,t.max=e.max}function i6(t,e){i9(t.x,e.x),i9(t.y,e.y)}function i7(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nt(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function ne(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(B.KN.test(e)&&(e=parseFloat(e),e=(0,b.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,b.k)(s.min,s.max,n);t===s&&(a-=e),t.min=nt(t.min,e,i,a,r),t.max=nt(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let ni=["x","scaleX","originX"],nn=["y","scaleY","originY"];function nr(t,e,i,n){ne(t.x,e,ni,i?i.x:void 0,n?n.x:void 0),ne(t.y,e,nn,i?i.y:void 0,n?n.y:void 0)}function ns(t){return 0===t.translate&&1===t.scale}function no(t){return ns(t.x)&&ns(t.y)}function na(t,e){return t.min===e.min&&t.max===e.max}function nl(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nu(t,e){return nl(t.x,e.x)&&nl(t.y,e.y)}function nh(t){return ip(t.x)/ip(t.y)}function nc(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nd{constructor(){this.members=[]}add(t){(0,iK.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,iK.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let np={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nf=["","X","Y","Z"],nm=0;function ng(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function nv({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=nm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eL.Q.value&&(np.nodes=np.calculatedTargetDeltas=np.calculatedProjections=0),this.nodes.forEach(nw),this.nodes.forEach(nk),this.nodes.forEach(nA),this.nodes.forEach(nb),eL.Q.addProjectionMetrics&&eL.Q.addProjectionMetrics(np)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new iZ)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tx.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,iG.x)(e)&&(!(0,iG.x)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;H.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=tm.k.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&((0,H.WG)(s),r(i-250))},H.Gt.setup(s,!0),i=()=>(0,H.WG)(s),iY.hasAnimatedSinceResize&&(iY.hasAnimatedSinceResize=!1,this.nodes.forEac
9h(nM))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||nO,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!nu(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...eb(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||nM(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,H.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(nC),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[eg];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",H.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nP);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nS);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nE),this.nodes.forEach(ny),this.nodes.forEach(nx)):this.nodes.forEach(nS),this.clearAllSnapshots();let t=tm.k.now();H.uv.delta=(0,iD.q)(0,1e3/60,t-H.uv.timestamp),H.uv.timestamp=t,H.uv.isProcessing=!0,H.PP.update.process(H.uv),H.PP.preRender.process(H.uv),H.PP.render.process(H.uv),H.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ty.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nT),this.sharedNodes.forEach(nD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,H.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){H.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||ip(this.snapshot.measuredBox.x)||ip(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tE(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!no(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||S(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),n_((e=n).x),n_(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tE();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nI))){let{scroll:t}=this.root;t&&(C(e.x,t.offset.x),C(e.y,t.offset.y))}return e}removeElementScroll(t){let e=tE();if(i6(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&i6(e,t),C(e.x,r.offset.x),C(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=tE();i6(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&V(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),S(n.latestValues)&&V(i,n.latestValues)}return S(this.latestValues)&&V(i,this.latestValues),i}removeTransform(t){let e=tE();i6(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!S(i.latestValues))continue;P(i.latestValues)&&i.updateSnapshot();let n=tE();i6(n,i.measurePageBox()),nr(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return S(this.latestValues)&&nr(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==H.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(this.layout&&(n||r)){if(this.resolvedRelativeTargetAt=H.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tE(),this.relativeTargetOrigin=tE(),ix(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),i6(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=tE(),this.targetWithTransforms=tE()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,iv(s.x,o.x,a.x),iv(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):i6(this.target,this.layout.layoutBox),A(this.target,this.targetDelta)):i6(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tE(),this.relativeTargetOrigin=tE(),ix(this.relativeTargetOrigin,this.target,t.target),i6(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}eL.Q.value&&np.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||P(this.parent.latestValues)||E(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
9if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===H.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;i6(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&V(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,A(t,s)),n&&S(r.latestValues)&&V(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=tE());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(i7(this.prevProjectionDelta.x,this.projectionDelta.x),i7(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ig(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nc(this.projectionDelta.x,this.prevProjectionDelta.x)&&nc(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),eL.Q.value&&np.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tP(),this.projectionDelta=tP(),this.projectionDeltaWithTransform=tP()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=tP();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=tE(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(nL));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(nV(o.x,t.x,n),nV(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,g;ix(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=n,nR(p.x,f.x,m.x,g),nR(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,d=i,na(u.x,d.x)&&na(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=tE()),i6(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,b.k)(0,i.opacity??1,i3(n)),t.opacityExit=(0,b.k)(e.opacity??1,0,i4(n))):s&&(t.opacity=(0,b.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<i0;r++){let s=`border${iJ[r]}Radius`,o=i5(e,s),a=i5(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||i2(o)===i2(a)?(t[s]=Math.max((0,b.k)(i1(o),i1(a),n),0),(B.KN.test(a)||B.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,b.k)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,H.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=H.Gt.update(()=>{var e,i,n;let r;iY.hasAnimatedSinceResize=!0,eR.q.layout++,this.motionValue||(this.motionValue=(0,tg.OQ)(0)),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{eR.q.layout--},onComplete:()=>{eR.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=(0,tf.S)(e)?e:(0,tg.OQ)(e)).start(e5("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&nj(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||tE();let e=ip(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=ip(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}i6(e,i),V(e,r),ig(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nd),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
9return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&ng("z",t,n,this.animationValues);for(let e=0;e<nf.length;e++)ng(`rotate${nf[e]}`,t,n,this.animationValues),ng(`skew${nf[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eh(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eh(e?.pointerEvents)||""),this.hasProjected&&!S(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,tz){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tz[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?eh(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nP),this.root.sharedNodes.clear()}}}function ny(t){t.updateLayout()}function nx(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?iw(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=ip(n);n.min=i[t].min,n.max=n.min+r}):nj(r,e.layoutBox,i)&&iw(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=ip(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=tP();ig(o,i,e.layoutBox);let a=tP();s?ig(a,t.applyTransform(n,!0),e.measuredBox):ig(a,i,e.layoutBox);let l=!no(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=tE();ix(o,e.layoutBox,r.layoutBox);let a=tE();ix(a,i,s.layoutBox),nu(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nw(t){eL.Q.value&&np.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
9isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nb(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nT(t){t.clearSnapshot()}function nP(t){t.clearMeasurements()}function nS(t){t.isLayoutDirty=!1}function nE(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nM(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nk(t){t.resolveTargetDelta()}function nA(t){t.calcProjection()}function nC(t){t.resetSkewAndRotation()}function nD(t){t.removeLeadSnapshot()}function nV(t,e,i){t.translate=(0,b.k)(e.translate,0,i),t.scale=(0,b.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nR(t,e,i,n){t.min=(0,b.k)(e.min,i.min,n),t.max=(0,b.k)(e.max,i.max,n)}function nL(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nO={duration:.45,ease:[.4,0,.1,1]},nB=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nF=nB("applewebkit/")&&!nB("chrome/")?Math.round:ek.l;function n_(t){t.min=nF(t.min),t.max=nF(t.max)}function nj(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nh(e)-nh(i)))}function nI(t){return t!==t.root&&t.scroll?.wasRoot}let nN=nv({attachResizeListener:(t,e)=>iu(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nX={current:void 0},nY=nv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nX.current){let t=new nN({});t.mount(window),t.setOptions({layoutScroll:!0}),nX.current=t}return nX.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var nW=i(87151);function nU(t,e){let i=(0,nW.K)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function nH(t){return!("touch"===t.pointerType||il.x||il.y)}function nz(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&H.Gt.postRender(()=>r(e,ic(e)))}class n$ extends ir{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=nU(t,i),o=t=>{if(!nH(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{nH(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,(t,e)=>(nz(this.node,e,"Start"),t=>nz(this.node,t,"End"))))}unmount(){}}class nq extends ir{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,iT.F)(iu(this.node.current,"focus",()=>this.onFocus()),iu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var nG=i(1180);let nK=(t,e)=>!!e&&(t===e||nK(t,e.parentElement)),nQ=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nZ=new WeakSet;function nJ(t){return e=>{"Enter"===e.key&&t(e)}}function n0(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function n1(t){return ih(t)&&!(il.x||il.y)}function n2(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&H.Gt.postRender(()=>r(e,ic(e)))}class n5 extends ir{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=nU(t,i),o=t=>{let n=t.currentTarget;if(!n1(t))return;nZ.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),nZ.has(n)&&nZ.delete(n),n1(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||nK(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};
9return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),(0,nG.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=nJ(()=>{if(nZ.has(i))return;n0(i,"down");let t=nJ(()=>{n0(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>n0(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),nQ.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(n2(this.node,e,"Start"),(t,{success:e})=>n2(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let n3=new WeakMap,n4=new WeakMap,n8=t=>{let e=n3.get(t.target);e&&e(t)},n9=t=>{t.forEach(n8)},n6={some:0,all:1};class n7 extends ir{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:n6[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;n4.has(i)||n4.set(i,{});let n=n4.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(n9,{root:t,...e})),n[r]}(a),n3.set(t,l),e.observe(t),()=>{n3.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let rt=function(t,e){if("u"<typeof Proxy)return ex;let i=new Map,n=(i,n)=>ex(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,ex(s,void 0,t,e)),i.get(s))})}({animation:{Feature:is},exit:{Feature:ia},inView:{Feature:n7},tap:{Feature:n5},focus:{Feature:nq},hover:{Feature:n$},pan:{Feature:iN},drag:{Feature:ij,ProjectionNode:nY,MeasureLayout:i$},layout:{ProjectionNode:nY,MeasureLayout:i$}},(t,e)=>t4(t)?new t5(e):new tG(e,{allowProjection:t!==o.Fragment}))},21998:(t,e,i)=>{i.d(e,{u:()=>e1});var n,r,s,o,a,l,u,h,c,d,p,f,m,g=function(){return n||"u">typeof window&&(n=window.gsap)&&n.registerPlugin&&n},v=1,y=[],x=[],w=[],b=Date.now,T=function(t,e){return e},P=function(){var t=c.core,e=t.bridge||{},i=t._scrollers,n=t._proxies;i.push.apply(i,x),n.push.apply(n,w),x=i,w=n,T=function(t,i){return e[t](i)}},S=function(t,e){return~w.indexOf(t)&&w[w.indexOf(t)+1][e]},E=function(t){return!!~d.indexOf(t)},M=function(t,e,i,n,r){return t.addEventListener(e,i,{passive:!1!==n,capture:!!r})},k=function(t,e,i,n){return t.removeEventListener(e,i,!!n)},A="scrollLeft",C="scrollTop",D=function(){return p&&p.isPressed||x.cache++},V=function(t,e){var i=function i(n){if(n||0===n){v&&(s.history.scrollRestoration="manual");var r=p&&p.isPressed;t(n=i.v=Math.round(n)||(p&&p.iOS?1:0)),i.cacheID=x.cache,r&&T("ss",n)}else(e||x.cache!==i.cacheID||T("ref"))&&(i.cacheID=x.cache,i.v=t());return i.v+i.offset};return i.offset=0,t&&i},R={s:A,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:V(function(t){return arguments.length?s.scrollTo(t,L.sc()):s.pageXOffset||o[A]||a[A]||l[A]||0})},L={s:C,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:R,sc:V(function(t){return arguments.length?s.scrollTo(R.sc(),t):s.pageYOffset||o[C]||a[C]||l[C]||0})},O=function(t,e){return(e&&e._ctx&&e._ctx.selector||n.utils.toArray)(t)[0]||("string"==typeof t&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",t):null)},B=function(t,e){for(var i=e.length;i--;)if(e[i]===t||e[i].contains(t))return!0;return!1},F=function(t,e){var i=e.s,r=e.sc;E(t)&&(t=o.scrollingElement||a);var s=x.indexOf(t),l=r===L.sc?1:2;~s||(s=x.push(t)-1),x[s+l]||M(t,"scroll",D);var u=x[s+l],h=u||(x[s+l]=V(S(t,i),!0)||(E(t)?r:V(function(e){return arguments.length?t[i]=e:t[i]})));return h.target=t,u||(h.smooth="smooth"===n.getProperty(t,"scrollBehavior")),h}
vendor: 5,851 bytes, line 9
9,_=function(t,e,i){var n=t,r=t,s=b(),o=s,a=e||50,l=Math.max(500,3*a),u=function(t,e){var l=b();e||l-s>a?(r=n,n=t,o=s,s=l):i?n+=t:n=r+(t-r)/(l-o)*(s-o)};return{update:u,reset:function(){r=n=i?0:n,o=s=0},getVelocity:function(t){var e=o,a=r,h=b();return(t||0===t)&&t!==n&&u(t),s===o||h-o>l?0:(n+(i?a:-a))/((i?h:s)-e)*1e3}}},j=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},I=function(t){var e=Math.max.apply(Math,t),i=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(i)?e:i},N=function(){(c=n.core.globals().ScrollTrigger)&&c.core&&P()},X=function(t){return n=t||g(),!r&&n&&"u">typeof document&&document.body&&(s=window,a=(o=document).documentElement,l=o.body,d=[s,o,a,l],n.utils.clamp,m=n.core.context||function(){},h="onpointerenter"in l?"pointer":"mouse",u=Y.isTouch=s.matchMedia&&s.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in s||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),f=Y.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in a)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return v=0},500),N(),r=1),r};R.op=L,x.cache=0;var Y=function(){var t;function e(t){this.init(t)}return e.prototype.init=function(t){r||X(n)||console.warn("Please gsap.registerPlugin(Observer)"),c||N();var e=t.tolerance,i=t.dragMinimum,d=t.type,g=t.target,v=t.lineHeight,x=t.debounce,w=t.preventDefault,T=t.onStop,P=t.onStopDelay,S=t.ignore,A=t.wheelSpeed,C=t.event,V=t.onDragStart,Y=t.onDragEnd,W=t.onDrag,U=t.onPress,H=t.onRelease,z=t.onRight,$=t.onLeft,q=t.onUp,G=t.onDown,K=t.onChangeX,Q=t.onChangeY,Z=t.onChange,J=t.onToggleX,tt=t.onToggleY,te=t.onHover,ti=t.onHoverEnd,tn=t.onMove,tr=t.ignoreCheck,ts=t.isNormalizer,to=t.onGestureStart,ta=t.onGestureEnd,tl=t.onWheel,tu=t.onEnable,th=t.onDisable,tc=t.onClick,td=t.scrollSpeed,tp=t.capture,tf=t.allowClicks,tm=t.lockAxis,tg=t.onLockAxis;this.target=g=O(g)||a,this.vars=t,S&&(S=n.utils.toArray(S)),e=e||1e-9,i=i||0,A=A||1,td=td||1,d=d||"wheel,touch,pointer",x=!1!==x,v||(v=parseFloat(s.getComputedStyle(l).lineHeight)||22);var tv,ty,tx,tw,tb,tT,tP,tS=this,tE=0,tM=0,tk=t.passive||!w&&!1!==t.passive,tA=F(g,R),tC=F(g,L),tD=tA(),tV=tC(),tR=~d.indexOf("touch")&&!~d.indexOf("pointer")&&"pointerdown"===f[0],tL=E(g),tO=g.ownerDocument||o,tB=[0,0,0],tF=[0,0,0],t_=0,tj=function(){return t_=b()},tI=function(t,e){return(tS.event=t)&&S&&B(t.target,S)||e&&tR&&"touch"!==t.pointerType||tr&&tr(t,e)},tN=function(){var t=tS.deltaX=I(tB),i=tS.deltaY=I(tF),n=Math.abs(t)>=e,r=Math.abs(i)>=e;Z&&(n||r)&&Z(tS,t,i,tB,tF),n&&(z&&tS.deltaX>0&&z(tS),$&&tS.deltaX<0&&$(tS),K&&K(tS),J&&tS.deltaX<0!=tE<0&&J(tS),tE=tS.deltaX,tB[0]=tB[1]=tB[2]=0),r&&(G&&tS.deltaY>0&&G(tS),q&&tS.deltaY<0&&q(tS),Q&&Q(tS),tt&&tS.deltaY<0!=tM<0&&tt(tS),tM=tS.deltaY,tF[0]=tF[1]=tF[2]=0),(tw||tx)&&(tn&&tn(tS),tx&&(V&&1===tx&&V(tS),W&&W(tS),tx=0),tw=!1),tT&&(tT=!1,1)&&tg&&tg(tS),tb&&(tl(tS),tb=!1),tv=0},tX=function(t,e,i){tB[i]+=t,tF[i]+=e,tS._vx.update(t),tS._vy.update(e),x?tv||(tv=requestAnimationFrame(tN)):tN()},tY=function(t,e){tm&&!tP&&(tS.axis=tP=Math.abs(t)>Math.abs(e)?"x":"y",tT=!0),"y"!==tP&&(tB[2]+=t,tS._vx.update(t,!0)),"x"!==tP&&(tF[2]+=e,tS._vy.update(e,!0)),x?tv||(tv=requestAnimationFrame(tN)):tN()},tW=function(t){if(!tI(t,1)){var e=(t=j(t,w)).clientX,n=t.clientY,r=e-tS.x,s=n-tS.y,o=tS.isDragging;tS.x=e,tS.y=n,(o||(r||s)&&(Math.abs(tS.startX-e)>=i||Math.abs(tS.startY-n)>=i))&&(tx=o?2:1,o||(tS.isDragging=!0),tY(r,s))}},tU=tS.onPress=function(t){tI(t,1)||t&&t.button||(tS.axis=tP=null,ty.pause(),tS.isPressed=!0,t=j(t),tE=tM=0,tS.startX=tS.x=t.clientX,tS.startY=tS.y=t.clientY,tS._vx.reset(),tS._vy.reset(),M(ts?g:tO,f[1],tW,tk,!0),tS.deltaX=tS.deltaY=0,U&&U(tS))},tH=tS.onRelease=function(t){if(!tI(t,1)){k(ts?g:tO,f[1],tW,!0);var e=!isNaN(tS.y-tS.startY),i=tS.isDragging,r=i&&(Math.abs(tS.x-tS.startX)>3||Math.abs(tS.y-tS.startY)>3),o=j(t);!r&&e&&(tS._vx.reset(),tS._vy.reset(),w&&tf&&n.delayedCall(.08,function(){if(b()-t_>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(tO.createEvent){var e=tO.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,s,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),tS.isDragging=tS.isGesturing=tS.isPressed=!1,T&&i&&!ts&&ty.restart(!0),tx&&tN(),Y&&i&&Y(tS),H&&H(tS,r)}},tz=function(t){return t.touches&&t.touches.length>1&&(tS.isGesturing=!0)&&to(t,tS.isDragging)},t$=function(){return tS.isGesturing=!1,ta(tS)},tq=function(t){if(!tI(t)){var e=tA(),i=tC();tX((e-tD)*td,(i-tV)*td,1),tD=e,tV=i,T&&ty.restart(!0)}},tG=function(t){if(!tI(t)){t=j(t,w),tl&&(tb=!0);var e=(1===t.deltaMode?v:2===t.deltaMode?s.innerHeight:1)*A;tX(t.deltaX*e,t.deltaY*e,0),T&&!ts&&ty.restart(!0)}},tK=function(t){if(!tI(t)){var e=t.clientX,i=t.clientY,n=e-tS.x,r=i-tS.y;tS.x=e,tS.y=i,tw=!0,T&&ty.restart(!0),(n||r)&&tY(n,r)}},tQ=function(t){tS.event=t,te(tS)},tZ=function(t){tS.event=t,ti(tS)},tJ=function(t){return tI(t)||j(t,w)&&tc(tS)};ty=tS._dc=n.delayedCall(P||.25,function(){tS._vx.reset(),tS._vy.reset(),ty.pause(),T&&T(tS)}).pause(),tS.deltaX=tS.deltaY=0,tS._vx=_(0,50,!0),tS._vy=_(0,50,!0),tS.scrollX=tA,tS.scrollY=tC,tS.isDragging=tS.isGesturing=tS.isPressed=!1,m(this),tS.enable=function(t){return!tS.isEnabled&&(M(tL?tO:g,"scroll",D),d.indexOf("scroll")>=0&&M(tL?tO:g,"scroll",tq,tk,tp),d.indexOf("wheel")>=0&&M(g,"wheel",tG,tk,tp),(d.indexOf("touch")>=0&&u||d.indexOf("pointer")>=0)&&(M(g,f[0],tU,tk,tp),M(tO,f[2],tH),M(tO,f[3],tH),tf&&M(g,"click",tj,!0,!0),tc&&M(g,"click",tJ),to&&M(tO,"gesturestart",tz),ta&&M(tO,"gestureend",t$),te&&M(g,h+"enter",tQ),ti&&M(g,h+"leave",tZ),tn&&M(g,h+"move",tK)),tS.isEnabled=!0,tS.isDragging=tS.isGesturing=tS.isPressed=tw=tx=!1,tS._vx.reset(),tS._vy.reset(),tD=tA(),tV=tC(),t&&t.type&&t
9U(t),tu&&tu(tS)),tS},tS.disable=function(){tS.isEnabled&&(y.filter(function(t){return t!==tS&&E(t.target)}).length||k(tL?tO:g,"scroll",D),tS.isPressed&&(tS._vx.reset(),tS._vy.reset(),k(ts?g:tO,f[1],tW,!0)),k(tL?tO:g,"scroll",tq,tp),k(g,"wheel",tG,tp),k(g,f[0],tU,tp),k(tO,f[2],tH),k(tO,f[3],tH),k(g,"click",tj,!0),k(g,"click",tJ),k(tO,"gesturestart",tz),k(tO,"gestureend",t$),k(g,h+"enter",tQ),k(g,h+"leave",tZ),k(g,h+"move",tK),tS.isEnabled=tS.isPressed=tS.isDragging=!1,th&&th(tS))},tS.kill=tS.revert=function(){tS.disable();var t=y.indexOf(tS);t>=0&&y.splice(t,1),p===tS&&(p=0)},y.push(tS),ts&&E(g)&&(p=tS),tS.enable(C)},t=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,t),e}();Y.version="3.13.0",Y.create=function(t){return new Y(t)},Y.register=X,Y.getAll=function(){return y.slice()},Y.getById=function(t){return y.filter(function(e){return e.vars.id===t})[0]},g()&&n.registerPlugin(Y);var W,U,H,z,$,q,G,K,Q,Z,J,tt,te,ti,tn,tr,ts,to,ta,tl,tu,th,tc,td,tp,tf,tm,tg,tv,ty,tx,tw,tb,tT,tP,tS,tE,tM,tk=1,tA=Date.now,tC=tA(),tD=0,tV=0,tR=function(t,e,i){var n=tz(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return i["_"+e+"Clamp"]=n,n?t.substr(6,t.length-7):t},tL=function(t,e){return e&&(!tz(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},tO=function(){return ti=1},tB=function(){return ti=0},tF=function(t){return t},t_=function(t){return Math.round(1e5*t)/1e5||0},tj=function(){return"u">typeof window},tI=function(){return W||tj()&&(W=window.gsap)&&W.registerPlugin&&W},tN=function(t){return!!~G.indexOf(t)},tX=function(t){return("Height"===t?tx:H["inner"+t])||$["client"+t]||q["client"+t]},tY=function(t){return S(t,"getBoundingClientRect")||(tN(t)?function(){return eq.width=H.innerWidth,eq.height=tx,eq}:function(){return er(t)})},tW=function(t,e,i){var n=i.d,r=i.d2,s=i.a;return(s=S(t,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(e?tX(r):t["client"+r])||0}},tU=function(t,e){var i=e.s,n=e.d2,r=e.d,s=e.a;return Math.max(0,(s=S(t,i="scroll"+n))?s()-tY(t)()[r]:tN(t)?($[i]||q[i])-tX(n):t[i]-t["offset"+n])},tH=function(t,e){for(var i=0;i<ta.length;i+=3)(!e||~e.indexOf(ta[i+1]))&&t(ta[i],ta[i+1],ta[i+2])},tz=function(t){return"string"==typeof t},t$=function(t){return"function"==typeof t},tq=function(t){return"number"==typeof t},tG=function(t){return"object"==typeof t},tK=function(t,e,i){return t&&t.progress(+!e)&&i&&t.pause()},tQ=function(t,e){if(t.enabled){var i=t._ctx?t._ctx.add(function(){return e(t)}):e(t);i&&i.totalTime&&(t.callbackAnimation=i)}},tZ=Math.abs,tJ="left",t0="right",t1="bottom",t2="width",t5="height",t3="Right",t4="Left",t8="Bottom",t9="padding",t6="margin",t7="Width",et="Height",ee=function(t){return H.getComputedStyle(t)},ei=function(t){var e=ee(t).position;t.style.position="absolute"===e||"fixed"===e?e:"relative"},en=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},er=function(t,e){var i=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ee(t)[tn]&&W.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=t.getBoundingClientRect();return i&&i.progress(0).kill(),n},es=function(t,e){var i=e.d2;return t["offset"+i]||t["client"+i]||0},eo=function(t){var e,i=[],n=t.labels,r=t.duration();for(e in n)i.push(n[e]/r);return i},ea=function(t){var e=W.utils.snap(t),i=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return i?function(t,n,r){var s;if(void 0===r&&(r=.001),!n)return e(t);if(n>0){for(t-=r,s=0;s<i.length;s++)if(i[s]>=t)return i[s];return i[s-1]}for(s=i.length,t+=r;s--;)if(i[s]<=t)return i[s];return i[0]}:function(i,n,r){void 0===r&&(r=.001);var s=e(i);return!n||Math.abs(s-i)<r||s-i<0==n<0?s:e(n<0?i-t:i+t)}},el=function(t,e,i,n){return i.split(",").forEach(function(i){return t(e,i,n)})},eu=function(t,e,i,n,r){return t.addEventListener(e,i,{passive:!n,capture:!!r})},eh=function(t,e,i,n){return t.removeEventListener(e,i,!!n)}
vendor: 4,780 bytes, line 9
9,ec=function(t,e,i){(i=i&&i.wheelHandler)&&(t(e,"wheel",i),t(e,"touchmove",i))},ed={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ep={toggleActions:"play",anticipatePin:0},ef={top:0,left:0,center:.5,bottom:1,right:1},em=function(t,e){if(tz(t)){var i=t.indexOf("="),n=~i?(t.charAt(i-1)+1)*parseFloat(t.substr(i+1)):0;~i&&(t.indexOf("%")>i&&(n*=e/100),t=t.substr(0,i-1)),t=n+(t in ef?ef[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},eg=function(t,e,i,n,r,s,o,a){var l=r.startColor,u=r.endColor,h=r.fontSize,c=r.indent,d=r.fontWeight,p=z.createElement("div"),f=tN(i)||"fixed"===S(i,"pinType"),m=-1!==t.indexOf("scroller"),g=f?q:i,v=-1!==t.indexOf("start"),y=v?l:u,x="border-color:"+y+";font-size:"+h+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((m||a)&&f?"fixed;":"absolute;"),(m||a||!f)&&(x+=(n===L?t0:t1)+":"+(s+parseFloat(c))+"px;"),o&&(x+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=x,p.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+n.op.d2],ev(p,0,n,v),p},ev=function(t,e,i,n){var r={display:"block"},s=i[n?"os2":"p2"],o=i[n?"p2":"os2"];t._isFlipped=n,r[i.a+"Percent"]=n?-100:0,r[i.a]=n?"1px":0,r["border"+s+t7]=1,r["border"+o+t7]=0,r[i.p]=e+"px",W.set(t,r)},ey=[],ex={},ew=function(){return tA()-tD>34&&(tP||(tP=requestAnimationFrame(eI)))},eb=function(){tc&&tc.isPressed&&!(tc.startX>q.clientWidth)||(x.cache++,tc?tP||(tP=requestAnimationFrame(eI)):eI(),tD||ek("scrollStart"),tD=tA())},eT=function(){tf=H.innerWidth,tp=H.innerHeight},eP=function(t){x.cache++,(!0===t||!te&&!th&&!z.fullscreenElement&&!z.webkitFullscreenElement&&(!td||tf!==H.innerWidth||Math.abs(H.innerHeight-tp)>.25*H.innerHeight))&&K.restart(!0)},eS={},eE=[],eM=function t(){return eh(e1,"scrollEnd",t)||eF(!0)},ek=function(t){return eS[t]&&eS[t].map(function(t){return t()})||eE},eA=[],eC=function(t){for(var e=0;e<eA.length;e+=5)(!t||eA[e+4]&&eA[e+4].query===t)&&(eA[e].style.cssText=eA[e+1],eA[e].getBBox&&eA[e].setAttribute("transform",eA[e+2]||""),eA[e+3].uncache=1)},eD=function(t,e){var i;for(tr=0;tr<ey.length;tr++)(i=ey[tr])&&(!e||i._ctx===e)&&(t?i.kill(1):i.revert(!0,!0));tw=!0,e&&eC(e),e||ek("revert")},eV=function(t,e){x.cache++,(e||!tS)&&x.forEach(function(t){return t$(t)&&t.cacheID++&&(t.rec=0)}),tz(t)&&(H.history.scrollRestoration=tv=t)},eR=0,eL=function(){if(tE!==eR){var t=tE=eR;requestAnimationFrame(function(){return t===eR&&eF(!0)})}},eO=function(){q.appendChild(ty),tx=!tc&&ty.offsetHeight||H.innerHeight,q.removeChild(ty)},eB=function(t){return Q(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},eF=function(t,e){if($=z.documentElement,q=z.body,G=[H,z,$,q],tD&&!t&&!tw)return void eu(e1,"scrollEnd",eM);eO(),tS=e1.isRefreshing=!0,x.forEach(function(t){return t$(t)&&++t.cacheID&&(t.rec=t())});var i=ek("refreshInit");tl&&e1.sort(),e||eD(),x.forEach(function(t){t$(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),ey.slice(0).forEach(function(t){return t.refresh()}),tw=!1,ey.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",i=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-i),t.refresh()}}),tb=1,eB(!0),ey.forEach(function(t){var e=tU(t.scroller,t._dir),i="max"===t.vars.end||t._endClamp&&t.end>e,n=t._startClamp&&t.start>=e;(i||n)&&t.setPositions(n?e-1:t.start,i?Math.max(n?e:t.start+1,e):t.end,!0)}),eB(!1),tb=0,i.forEach(function(t){return t&&t.render&&t.render(-1)}),x.forEach(function(t){t$(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),eV(tv,1),K.pause(),eR++,tS=2,eI(2),ey.forEach(function(t){return t$(t.vars.onRefresh)&&t.vars.onRefresh(t)}),tS=e1.isRefreshing=!1,ek("refresh")},e_=0,ej=1,eI=function(t){if(2===t||!tS&&!tw){e1.isUpdating=!0,tM&&tM.update(0);var e=ey.length,i=tA(),n=i-tC>=50,r=e&&ey[0].scroll();if(ej=e_>r?-1:1,tS||(e_=r),n&&(tD&&!ti&&i-tD>200&&(tD=0,ek("scrollEnd")),J=tC,tC=i),ej<0){for(tr=e;tr-- >0;)ey[tr]&&ey[tr].update(0,n);ej=1}else for(tr=0;tr<e;tr++)ey[tr]&&ey[tr].update(0,n);e1.isUpdating=!1}tP=0},eN=[tJ,"top",t1,t0,t6+t8,t6+t3,t6+"Top",t6+t4,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],eX=eN.concat([t2,t5,"boxSizing","max"+t7,"max"+et,"position",t6,t9,t9+"Top",t9+t3,t9+t8,t9+t4]),eY=function(t,e,
9i){eH(i);var n=t._gsap;if(n.spacerIsNative)eH(n.spacerState);else if(t._gsap.swappedIn){var r=e.parentNode;r&&(r.insertBefore(t,e),r.removeChild(e))}t._gsap.swappedIn=!1},eW=function(t,e,i,n){if(!t._gsap.swappedIn){for(var r,s=eN.length,o=e.style,a=t.style;s--;)o[r=eN[s]]=i[r];o.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(o.display="inline-block"),a[t1]=a[t0]="auto",o.flexBasis=i.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[t2]=es(t,R)+"px",o[t5]=es(t,L)+"px",o[t9]=a[t6]=a.top=a[tJ]="0",eH(n),a[t2]=a["max"+t7]=i[t2],a[t5]=a["max"+et]=i[t5],a[t9]=i[t9],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},eU=/([A-Z])/g,eH=function(t){if(t){var e,i,n=t.t.style,r=t.length,s=0;for((t.t._gsap||W.core.getCache(t.t)).uncache=1;s<r;s+=2)i=t[s+1],e=t[s],i?n[e]=i:n[e]&&n.removeProperty(e.replace(eU,"-$1").toLowerCase())}},ez=function(t){for(var e=eX.length,i=t.style,n=[],r=0;r<e;r++)n.push(eX[r],i[eX[r]]);return n.t=t,n},e$=function(t,e,i){for(var n,r=[],s=t.length,o=8*!!i;o<s;o+=2)n=t[o],r.push(n,n in e?e[n]:t[o+1]);return r.t=t.t,r},eq={left:0,top:0},eG=function(t,e,i,n,r,s,o,a,l,u,h,c,d,p){t$(t)&&(t=t(a)),tz(t)&&"max"===t.substr(0,3)&&(t=c+("="===t.charAt(4)?em("0"+t.substr(3),i):0));var f,m,g,v=d?d.time():0;if(d&&d.seek(0),isNaN(t)||(t*=1),tq(t))d&&(t=W.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,c,t)),o&&ev(o,i,n,!0);else{t$(e)&&(e=e(a));var y,x,w,b,T=(t||"0").split(" ");(y=er(g=O(e,a)||q)||{}).left||y.top||"none"!==ee(g).display||(b=g.style.display,g.style.display="block",y=er(g),b?g.style.display=b:g.style.removeProperty("display")),x=em(T[0],y[n.d]),w=em(T[1]||"0",i),t=y[n.p]-l[n.p]-u+x+r-w,o&&ev(o,w,n,i-w<20||o._isStart&&w>20),i-=i-w}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var P=t+i,S=s._isStart;f="scroll"+n.d2,ev(s,P,n,S&&P>20||!S&&(h?Math.max(q[f],$[f]):s.parentNode[f])<=P+1),h&&(l=er(o),h&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+"px"))}return d&&g&&(f=er(g),d.seek(c),m=er(g),d._caScrollDist=f[n.p]-m[n.p],t=t/d._caScrollDist*c),d&&d.seek(v),d?t:Math.round(t)},eK=/(webkit|moz|length|cssText|inset)/i,eQ=function(t,e,i,n){if(t.parentNode!==e){var r,s,o=t.style;if(e===q){for(r in t._stOrig=o.cssText,s=ee(t))+r||eK.test(r)||!s[r]||"string"!=typeof o[r]||"0"===r||(o[r]=s[r]);o.top=i,o.left=n}else o.cssText=t._stOrig;W.core.getCache(t).uncache=1,e.appendChild(t)}},eZ=function(t,e,i){var n=e,r=n;return function(e){var s=Math.round(t());return s!==n&&s!==r&&Math.abs(s-n)>3&&Math.abs(s-r)>3&&(e=s,i&&i()),r=n,n=Math.round(e)}},eJ=function(t,e,i){var n={};n[e.p]="+="+i,W.set(t,n)},e0=function(t,e){var i=F(t,e),n="_scroll"+e.p2,r=function e(r,s,o,a,l){var u=e.tween,h=s.onComplete,c={};o=o||i();var d=eZ(i,o,function(){u.kill(),e.tween=0});return l=a&&l||0,a=a||r-o,u&&u.kill(),s[n]=r,s.inherit=!1,s.modifiers=c,c[n]=function(){return d(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){x.cache++,e.tween&&eI()},s.onComplete=function(){e.tween=0,h&&h.call(u)},u=e.tween=W.to(t,s)};return t[n]=i,i.wheelHandler=function(){return r.tween&&r.tween.kill()&&(r.tween=0)},eu(t,"wheel",i.wheelHandler),e1.isTouch&&eu(t,"touchmove",i.wheelHandler),r},e1=function(){function t(e,i){U||t.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),tg(this),this.init(e,i)}return t.prototype.init=function(e,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!tV){this.update=this.refresh=this.kill=tF;return}var n,r,s,o,a,l,u,h,c,d,p,f,m,g,v,y,b,T,P,E,M,k,A,C,D,V,B,_,j,I,N,X,Y,U,G,K,tt,tn,ts,to,ta,th=e=en(tz(e)||tq(e)||e.nodeType?{trigger:e}:e,ep),tc=th.onUpdate,td=th.toggleClass,tp=th.id,tf=th.onToggle,tm=th.onRefresh,tg=th.scrub,tv=th.trigger,ty=th.pin,tx=th.pinSpacing,tw=th.invalidateOnRefresh,tP=th.anticipatePin,tE=th.onScrubComplete,tC=th.onSnapComplete,tO=th.once,tB=th.snap,tj=th.pinReparent,tI=th.pinSpacer,tX=th.containerAnimation,tH=th.fastScrollEnd,tJ=th.preventOverlaps,t0=e.horizontal||e.containerAnimation&&!1!==e.horizontal?R:L,t1=!tg&&0!==tg,el=O(e.scroller||H),ec=W.core.getCache(el),ef=tN(el),ev=("pinType"in e?e.pinType:S(el,"pinType")||ef&&"fixed")==="fixed",ew=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],eT=t1&&e.toggleActions.split(" "),eS="markers"in e?e.markers:ep.markers,eE=ef?0:parseFloat(ee(el)["border"+t0.p2+t7])||0,ek=this,eA=e.onRefreshInit&&function(){return e.onRefreshInit(ek)},eC=tW(el,ef,t0),eD=!ef||~w.indexOf(el)?tY(el):function(){return eq},eV=0,eR=0,eO=0,eB=F(el,t0);if(ek._startClamp=ek._endClamp=!1,ek._dir=t0,tP*=45,ek.scroller=el,ek.scroll=tX?tX.time.bind(tX):eB,l=eB(),ek.vars=e,i=i||e.animation,"refreshPriority"in e&&(tl=1,-9999===e.refreshPriority&&(tM=ek)),ec.tweenScroll=ec.tweenScroll||{top:e0(el,L),left
9:e0(el,R)},ek.tweenTo=s=ec.tweenScroll[t0.p],ek.scrubDuration=function(t){(G=tq(t)&&t)?U?U.duration(t):U=W.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:G,paused:!0,onComplete:function(){return tE&&tE(ek)}}):(U&&U.progress(1).kill(),U=0)},i&&(i.vars.lazy=!1,i._initted&&!ek.isReverted||!1!==i.vars.immediateRender&&!1!==e.immediateRender&&i.duration()&&i.render(0,!0,!0),ek.animation=i.pause(),i.scrollTrigger=ek,ek.scrubDuration(tg),X=0,tp||(tp=i.vars.id)),tB&&((!tG(tB)||tB.push)&&(tB={snapTo:tB}),"scrollBehavior"in q.style&&W.set(ef?[q,$]:el,{scrollBehavior:"auto"}),x.forEach(function(t){return t$(t)&&t.target===(ef?z.scrollingElement||$:el)&&(t.smooth=!1)}),a=t$(tB.snapTo)?tB.snapTo:"labels"===tB.snapTo?(n=i,function(t){return W.utils.snap(eo(n),t)}):"labelsDirectional"===tB.snapTo?(r=i,function(t,e){return ea(eo(r))(t,e.direction)}):!1!==tB.directional?function(t,e){return ea(tB.snapTo)(t,tA()-eR<500?0:e.direction)}:W.utils.snap(tB.snapTo),K=tG(K=tB.duration||{min:.1,max:2})?Z(K.min,K.max):Z(K,K),tt=W.delayedCall(tB.delay||G/2||.1,function(){var t=eB(),e=tA()-eR<500,n=s.tween;if((e||10>Math.abs(ek.getVelocity()))&&!n&&!ti&&eV!==t){var r,o,l=(t-h)/y,u=i&&!t1?i.totalProgress():l,d=e?0:(u-Y)/(tA()-J)*1e3||0,p=W.utils.clamp(-l,1-l,tZ(d/2)*d/.185),f=l+(!1===tB.inertia?0:p),m=tB,g=m.onStart,v=m.onInterrupt,x=m.onComplete;if(tq(r=a(f,ek))||(r=f),o=Math.max(0,Math.round(h+r*y)),t<=c&&t>=h&&o!==t){if(n&&!n._initted&&n.data<=tZ(o-t))return;!1===tB.inertia&&(p=r-l),s(o,{duration:K(tZ(.185*Math.max(tZ(f-u),tZ(r-u))/d/.05||0)),ease:tB.ease||"power3",data:tZ(o-t),onInterrupt:function(){return tt.restart(!0)&&v&&v(ek)},onComplete:function(){ek.update(),eV=eB(),i&&!t1&&(U?U.resetTo("totalProgress",r,i._tTime/i._tDur):i.progress(r)),X=Y=i&&!t1?i.totalProgress():ek.progress,tC&&tC(ek),x&&x(ek)}},t,p*y,o-t-p*y),g&&g(ek,s.tween)}}else ek.isActive&&eV!==t&&tt.restart(!0)}).pause()),tp&&(ex[tp]=ek),(ta=(tv=ek.trigger=O(tv||!0!==ty&&ty))&&tv._gsap&&tv._gsap.stRevert)&&(ta=ta(ek)),ty=!0===ty?tv:O(ty),tz(td)&&(td={targets:tv,className:td}),ty&&(!1===tx||tx===t6||(tx=(!!tx||!ty.parentNode||!ty.parentNode.style||"flex"!==ee(ty.parentNode).display)&&t9),ek.pin=ty,(o=W.core.getCache(ty)).spacer?b=o.pinState:(tI&&((tI=O(tI))&&!tI.nodeType&&(tI=tI.current||tI.nativeElement),o.spacerIsNative=!!tI,tI&&(o.spacerState=ez(tI))),o.spacer=E=tI||z.createElement("div"),E.classList.add("pin-spacer"),tp&&E.classList.add("pin-spacer-"+tp),o.pinState=b=ez(ty)),!1!==e.force3D&&W.set(ty,{force3D:!0}),ek.spacer=E=o.spacer,V=(N=ee(ty))[tx+t0.os2],k=W.getProperty(ty),A=W.quickSetter(ty,t0.a,"px"),eW(ty,E,N),P=ez(ty)),eS){g=tG(eS)?en(eS,ed):ed,f=eg("scroller-start",tp,el,t0,g,0),m=eg("scroller-end",tp,el,t0,g,0,f),M=f["offset"+t0.op.d2];var eF=O(S(el,"content")||el);d=this.markerStart=eg("start",tp,eF,t0,g,M,0,tX),p=this.markerEnd=eg("end",tp,eF,t0,g,M,0,tX),tX&&(to=W.quickSetter([d,p],t0.a,"px")),ev||w.length&&!0===S(el,"fixedMarkers")||(ei(ef?q:el),W.set([f,m],{force3D:!0}),_=W.quickSetter(f,t0.a,"px"),I=W.quickSetter(m,t0.a,"px"))}if(tX){var e_=tX.vars.onUpdate,eI=tX.vars.onUpdateParams;tX.eventCallback("onUpdate",function(){ek.update(0,0,1),e_&&e_.apply(tX,eI||[])})}if(ek.previous=function(){return ey[ey.indexOf(ek)-1]},ek.next=function(){return ey[ey.indexOf(ek)+1]},ek.revert=function(t,e){if(!e)return ek.kill(!0);var n=!1!==t||!ek.enabled,r=te;n!==ek.isReverted&&(n&&(tn=Math.max(eB(),ek.scroll.rec||0),eO=ek.progress,ts=i&&i.progress()),d&&[d,p,f,m].forEach(function(t){return t.style.display=n?"none":"block"}),n&&(te=ek,ek.update(n)),!ty||tj&&ek.isActive||(n?eY(ty,E,b):eW(ty,E,ee(ty),B)),n||ek.update(n),te=r,ek.isReverted=n)},ek.refresh=function(n,r,o,a){if(!te&&ek.enabled||r){if(ty&&n&&tD)return void eu(t,"scrollEnd",eM);!tS&&eA&&eA(ek),te=ek,s.tween&&!o&&(s.tween.kill(),s.tween=0),U&&U.pause(),tw&&i&&(i.revert({kill:!1}).invalidate(),i.getChildren&&i.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)})),ek.isReverted||ek.revert(!0,!0),ek._subPinOffset=!1;var g,x,w,S,M,A,V,_,I,N,X,Y,H,G=eC(),K=eD(),Q=tX?tX.duration():tU(el,t0),Z=y<=.01||!y,J=0,ti=a||0,tr=tG(o)?o.end:e.end,to=e.endTrigger||tv,ta=tG(o)?o.start:e.start||(0!==e.start&&tv?ty?"0 0":"0 100%":0),tl=ek.pinnedContainer=e.pinnedContainer&&O(e.pinnedContainer,ek),th=tv&&Math.max(0,ey.indexOf(ek))||0,tc=th;for(eS&&tG(o)&&(Y=W.getProperty(f,t0.p),H=W.getProperty(m,t0.p));tc-- >0;)(A=ey[tc]).end||A.refresh(0,1)||(te=ek),(V=A.pin)&&(V===tv||V===ty||V===tl)&&!A.isReverted&&(N||(N=[]),N.unshift(A),A.revert(!0,!0)),A!==ey[tc]&&(th--,tc--);for(t$(ta)&&(ta=ta(ek)),h=eG(ta=tR(ta,"start",ek),tv,G,t0,eB(),d,f,ek,K,eE,ev,Q,tX,ek._startClamp&&"_startClamp")||(ty?-.001:0),t$(tr)&&(tr=tr(ek)),tz(tr)&&!tr.indexOf("+=")&&(~tr.indexOf(" ")?tr=(tz(ta)?ta.split(" ")[0]:"")+tr:(J=em(tr.substr(2),G),tr=tz(ta)?ta:(tX?W.utils.mapRange(0,tX.duration(),tX.scrollTrigger.start,tX.scrollTrigger.end,h):h)+J,to=tv)),tr=tR(tr,"end",ek),c=Math.max(h,eG(tr||(to?"100% 0":Q),to,G,t0,eB()+J,p,m,ek,K,eE,ev,Q,tX,ek._endClamp&&"_endClamp"))||-.001,J=0,tc=th;tc--;)(V=(A=ey[tc]).pin)&&A.start-A._pinPush<=h&&!tX&&A.end>0&&(g=A.end-(ek._startClamp?Math.max(0,A.start):A.start),(V===tv&&A.start-A._pinPush<h||V===tl)&&isNaN(ta)&&(J+=g*(1-A.progress)),V===ty&&(ti+=g));if(h+=J,c+=J,ek._startClamp&&(ek._startClamp+=J),ek._endClamp&&!tS&&(ek._endClamp=c||-.001,c=Math.min(c,tU(el,t0))),y=c-h||(h-=.01)&&.001,Z&&(eO=W.utils.clamp(0,1,W.utils.normalize(h,c,tn))),ek._pinPush=ti,d&&J&&((g={})[t0.a]="+="+J,tl&&(g[t0.p]="-="+eB()),W.set([d,p],g)),ty&&!(tb&&ek.end>=tU(el,t0)))g=ee(ty),S=t0===L,w=eB(),C=parseFloat(k(t0.a))+ti,!Q&&c>1&&(X={style:X=(ef?z.scrollingElement||$:el).style,value:X["overflow"+t0.a.toUpperCase()]},ef&&"scroll"!==ee(q)["overflow"+t0.a.toUpperCase()]&&(X.style["overflow"+t0.a.toUpperCase()]="scroll")),eW(ty,E,g),P=ez(ty),x=er(ty,!0),_=ev&&F(el,S?R:L)(),tx?((B=[tx+t0.os2,y+ti+"px"]).t=E,(tc=tx===t9?es(ty,t0)+y+ti:0)&&(B.push(t0.d,tc+"px"),"auto"!==E.style.flexBasis&&(E.style.flexBasis=tc+"px")),eH(B),tl&&ey.forEac
9h(function(t){t.pin===tl&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),ev&&eB(tn)):(tc=es(ty,t0))&&"auto"!==E.style.flexBasis&&(E.style.flexBasis=tc+"px"),ev&&((M={top:x.top+(S?w-h:_)+"px",left:x.left+(S?_:w-h)+"px",boxSizing:"border-box",position:"fixed"})[t2]=M["max"+t7]=Math.ceil(x.width)+"px",M[t5]=M["max"+et]=Math.ceil(x.height)+"px",M[t6]=M[t6+"Top"]=M[t6+t3]=M[t6+t8]=M[t6+t4]="0",M[t9]=g[t9],M[t9+"Top"]=g[t9+"Top"],M[t9+t3]=g[t9+t3],M[t9+t8]=g[t9+t8],M[t9+t4]=g[t9+t4],T=e$(b,M,tj),tS&&eB(0)),i?(I=i._initted,tu(1),i.render(i.duration(),!0,!0),D=k(t0.a)-C+y+ti,j=Math.abs(y-D)>1,ev&&j&&T.splice(T.length-2,2),i.render(0,!0,!0),I||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),tu(0)):D=y,X&&(X.value?X.style["overflow"+t0.a.toUpperCase()]=X.value:X.style.removeProperty("overflow-"+t0.a));else if(tv&&eB()&&!tX)for(x=tv.parentNode;x&&x!==q;)x._pinOffset&&(h-=x._pinOffset,c-=x._pinOffset),x=x.parentNode;N&&N.forEach(function(t){return t.revert(!1,!0)}),ek.start=h,ek.end=c,l=u=tS?tn:eB(),tX||tS||(l<tn&&eB(tn),ek.scroll.rec=0),ek.revert(!1,!0),eR=tA(),tt&&(eV=-1,tt.restart(!0)),te=0,i&&t1&&(i._initted||ts)&&i.progress()!==ts&&i.progress(ts||0,!0).render(i.time(),!0,!0),(Z||eO!==ek.progress||tX||tw||i&&!i._initted)&&(i&&!t1&&(i._initted||eO||!1!==i.vars.immediateRender)&&i.totalProgress(tX&&h<-.001&&!eO?W.utils.normalize(h,c,0):eO,!0),ek.progress=Z||(l-h)/y===eO?0:eO),ty&&tx&&(E._pinOffset=Math.round(ek.progress*D)),U&&U.invalidate(),isNaN(Y)||(Y-=W.getProperty(f,t0.p),H-=W.getProperty(m,t0.p),eJ(f,t0,Y),eJ(d,t0,Y-(a||0)),eJ(m,t0,H),eJ(p,t0,H-(a||0))),Z&&!tS&&ek.update(),!tm||tS||v||(v=!0,tm(ek),v=!1)}},ek.getVelocity=function(){return(eB()-u)/(tA()-J)*1e3||0},ek.endAnimation=function(){tK(ek.callbackAnimation),i&&(U?U.progress(1):i.paused()?t1||tK(i,ek.direction<0,1):tK(i,i.reversed()))},ek.labelToScroll=function(t){return i&&i.labels&&(h||ek.refresh()||h)+i.labels[t]/i.duration()*y||0},ek.getTrailing=function(t){var e=ey.indexOf(ek),i=ek.direction>0?ey.slice(0,e).reverse():ey.slice(e+1);return(tz(t)?i.filter(function(e){return e.vars.preventOverlaps===t}):i).filter(function(t){return ek.direction>0?t.end<=h:t.start>=c})},ek.update=function(t,e,n){if(!tX||n||t){var r,o,a,d,p,m,g,v=!0===tS?tn:ek.scroll(),x=t?0:(v-h)/y,w=x<0?0:x>1?1:x||0,b=ek.progress;if(e&&(u=l,l=tX?eB():v,tB&&(Y=X,X=i&&!t1?i.totalProgress():w)),tP&&ty&&!te&&!tk&&tD&&(!w&&h<v+(v-u)/(tA()-J)*tP?w=1e-4:1===w&&c>v+(v-u)/(tA()-J)*tP&&(w=.9999)),w!==b&&ek.enabled){if(d=(p=(r=ek.isActive=!!w&&w<1)!=(!!b&&b<1))||!!w!=!!b,ek.direction=w>b?1:-1,ek.progress=w,d&&!te&&(o=w&&!b?0:1===w?1:1===b?2:3,t1&&(a=!p&&"none"!==eT[o+1]&&eT[o+1]||eT[o],g=i&&("complete"===a||"reset"===a||a in i))),tJ&&(p||g)&&(g||tg||!i)&&(t$(tJ)?tJ(ek):ek.getTrailing(tJ).forEach(function(t){return t.endAnimation()})),!t1&&(!U||te||tk?i&&i.totalProgress(w,!!(te&&(eR||t))):(U._dp._time-U._start!==U._time&&U.render(U._dp._time-U._start),U.resetTo?U.resetTo("totalProgress",w,i._tTime/i._tDur):(U.vars.totalProgress=w,U.invalidate().restart()))),ty)if(t&&tx&&(E.style[tx+t0.os2]=V),ev){if(d){if(m=!t&&w>b&&c+1>v&&v+1>=tU(el,t0),tj)if(!t&&(r||m)){var S=er(ty,!0),M=v-h;eQ(ty,q,S.top+(t0===L?M:0)+"px",S.left+(t0===L?0:M)+"px")}else eQ(ty,E);eH(r||m?T:P),j&&w<1&&r||A(C+(1!==w||m?0:D))}}else A(t_(C+D*w));!tB||s.tween||te||tk||tt.restart(!0),td&&(p||tO&&w&&(w<1||!tT))&&Q(td.targets).forEach(function(t){return t.classList[r||tO?"add":"remove"](td.className)}),!tc||t1||t||tc(ek),d&&!te?(t1&&(g&&("complete"===a?i.pause().totalProgress(1):"reset"===a?i.restart(!0).pause():"restart"===a?i.restart(!0):i[a]()),tc&&tc(ek)),(p||!tT)&&(tf&&p&&tQ(ek,tf),ew[o]&&tQ(ek,ew[o]),tO&&(1===w?ek.kill(!1,1):ew[o]=0),!p&&ew[o=1===w?1:3]&&tQ(ek,ew[o])),tH&&!r&&Math.abs(ek.getVelocity())>(tq(tH)?tH:2500)&&(tK(ek.callbackAnimation),U?U.progress(1):tK(i,"reverse"===a?1:!w,1))):t1&&tc&&!te&&tc(ek)}if(I){var k=tX?v/tX.duration()*(tX._caScrollDist||0):v;_(k+ +!!f._isFlipped),I(k)}to&&to(-v/tX.duration()*(tX._caScrollDist||0))}},ek.enable=function(e,i){ek.enabled||(ek.enabled=!0,eu(el,"resize",eP),ef||eu(el,"scroll",eb),eA&&eu(t,"refreshInit",eA),!1!==e&&(ek.progress=eO=0,l=u=eV=eB()),!1!==i&&ek.refresh())},ek.getTween=function(t){return t&&s?s.tween:U}
vendor: 9,052 bytes, line 9
9,ek.setPositions=function(t,e,i,n){if(tX){var r=tX.scrollTrigger,s=tX.duration(),o=r.end-r.start;t=r.start+o*t/s,e=r.start+o*e/s}ek.refresh(!1,!1,{start:tL(t,i&&!!ek._startClamp),end:tL(e,i&&!!ek._endClamp)},n),ek.update()},ek.adjustPinSpacing=function(t){if(B&&t){var e=B.indexOf(t0.d)+1;B[e]=parseFloat(B[e])+t+"px",B[1]=parseFloat(B[1])+t+"px",eH(B)}},ek.disable=function(e,i){if(ek.enabled&&(!1!==e&&ek.revert(!0,!0),ek.enabled=ek.isActive=!1,i||U&&U.pause(),tn=0,o&&(o.uncache=1),eA&&eh(t,"refreshInit",eA),tt&&(tt.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!ef)){for(var n=ey.length;n--;)if(ey[n].scroller===el&&ey[n]!==ek)return;eh(el,"resize",eP),ef||eh(el,"scroll",eb)}},ek.kill=function(t,n){ek.disable(t,n),U&&!n&&U.kill(),tp&&delete ex[tp];var r=ey.indexOf(ek);r>=0&&ey.splice(r,1),r===tr&&ej>0&&tr--,r=0,ey.forEach(function(t){return t.scroller===ek.scroller&&(r=1)}),r||tS||(ek.scroll.rec=0),i&&(i.scrollTrigger=null,t&&i.revert({kill:!1}),n||i.kill()),d&&[d,p,f,m].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),tM===ek&&(tM=0),ty&&(o&&(o.uncache=1),r=0,ey.forEach(function(t){return t.pin===ty&&r++}),r||(o.spacer=0)),e.onKill&&e.onKill(ek)},ey.push(ek),ek.enable(!1,!1),ta&&ta(ek),i&&i.add&&!y){var eN=ek.update;ek.update=function(){ek.update=eN,x.cache++,h||c||ek.refresh()},W.delayedCall(.01,ek.update),y=.01,h=c=0}else ek.refresh();ty&&eL()},t.register=function(e){return U||(W=e||tI(),tj()&&window.document&&t.enable(),U=tV),U},t.defaults=function(t){if(t)for(var e in t)ep[e]=t[e];return ep},t.disable=function(t,e){tV=0,ey.forEach(function(i){return i[e?"kill":"disable"](t)}),eh(H,"wheel",eb),eh(z,"scroll",eb),clearInterval(tt),eh(z,"touchcancel",tF),eh(q,"touchstart",tF),el(eh,z,"pointerdown,touchstart,mousedown",tO),el(eh,z,"pointerup,touchend,mouseup",tB),K.kill(),tH(eh);for(var i=0;i<x.length;i+=3)ec(eh,x[i],x[i+1]),ec(eh,x[i],x[i+2])},t.enable=function(){if(H=window,$=(z=document).documentElement,q=z.body,W&&(Q=W.utils.toArray,Z=W.utils.clamp,tg=W.core.context||tF,tu=W.core.suppressOverwrites||tF,tv=H.history.scrollRestoration||"auto",e_=H.pageYOffset||0,W.core.globals("ScrollTrigger",t),q)){tV=1,(ty=document.createElement("div")).style.height="100vh",ty.style.position="absolute",eO(),function t(){return tV&&requestAnimationFrame(t)}(),Y.register(W),t.isTouch=Y.isTouch,tm=Y.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),td=1===Y.isTouch,eu(H,"wheel",eb),G=[H,z,$,q],W.matchMedia?(t.matchMedia=function(t){var e,i=W.matchMedia();for(e in t)i.add(e,t[e]);return i},W.addEventListener("matchMediaInit",function(){return eD()}),W.addEventListener("matchMediaRevert",function(){return eC()}),W.addEventListener("matchMedia",function(){eF(0,1),ek("matchMedia")}),W.matchMedia().add("(orientation: portrait)",function(){return eT(),eT})):console.warn("Requires GSAP 3.11.0 or later"),eT(),eu(z,"scroll",eb);var e,i,n=q.hasAttribute("style"),r=q.style,s=r.borderTopStyle,o=W.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),r.borderTopStyle="solid",L.m=Math.round((e=er(q)).top+L.sc())||0,R.m=Math.round(e.left+R.sc())||0,s?r.borderTopStyle=s:r.removeProperty("border-top-style"),n||(q.setAttribute("style",""),q.removeAttribute("style")),tt=setInterval(ew,250),W.delayedCall(.5,function(){return tk=0}),eu(z,"touchcancel",tF),eu(q,"touchstart",tF),el(eu,z,"pointerdown,touchstart,mousedown",tO),el(eu,z,"pointerup,touchend,mouseup",tB),tn=W.utils.checkPrefix("transform"),eX.push(tn),U=tA(),K=W.delayedCall(.2,eF).pause(),ta=[z,"visibilitychange",function(){var t=H.innerWidth,e=H.innerHeight;z.hidden?(ts=t,to=e):(ts!==t||to!==e)&&eP()},z,"DOMContentLoaded",eF,H,"load",eF,H,"resize",eP],tH(eu),ey.forEach(function(t){return t.enable(0,1)}),i=0;i<x.length;i+=3)ec(eh,x[i],x[i+1]),ec(eh,x[i],x[i+2])}},t.config=function(e){"limitCallbacks"in e&&(tT=!!e.limitCallbacks);var i=e.syncInterval;i&&clearInterval(tt)||(tt=i)&&setInterval(ew,i),"ignoreMobileResize"in e&&(td=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(tH(eh)||tH(eu,e.autoRefreshEvents||"none"),th=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var i=O(t),n=x.indexOf(i),r=tN(i);~n&&x.splice(n,r?6:2),e&&(r?w.unshift(H,e,q,e,$,e):w.unshift(i,e))},t.clearMatchMedia=function(t){ey.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,i){var n=(tz(t)?O(t):t).getBoundingClientRect(),r=n[i?t2:t5]*e||0;return i?n.right-r>0&&n.left+r<H.innerWidth:n.bottom-r>0&&n.top+r<H.innerHeight},t.positionInViewport=function(t,e,i){tz(t)&&(t=O(t));var n=t.getBoundingClientRect(),r=n[i?t2:t5],s=null==e?r/2:e in ef?ef[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0;return i?(n.left+s)/H.innerWidth:(n.top+s)/H.innerHeight},t.killAll=function(t){if(ey.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=eS.killAll||[];eS={},e.forEach(function(t){return t()})}},t}();e1.version="3.13.0",e1.saveStyles=function(t){return t?Q(t).forEach(function(t){if(t&&t.style){var e=eA.indexOf(t);e>=0&&eA.splice(e,5),eA.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),W.core.getCache(t),tg())}}):eA},e1.revert=function(t,e){return eD(!t,e)},e1.create=function(t,e){return new e1(t,e)},e1.refresh=function(t){return t?eP(!0):(U||e1.register())&&eF(!0)},e1.update=function(t){return++x.cache&&eI(2*(!0===t))},e1.clearScrollMemory=eV,e1.maxScroll=function(t,e){return tU(t,e?R:L)},e1.getScrollFunc=function(t,e){return F(O(t),e?R:L)},e1.getById=function(t){return ex[t]},e1.getAll=function(){return ey.filter(function(t){return"ScrollSmoother"!==t.vars.id})},e1.isScrolling=function(){return!!tD},e1.snapDirectional=ea,e1.addEventListener=function(t,e){var i=eS[t]||(eS[t]=[]);~i.indexOf(e)||i.push(e)},e1.removeEventListener=function(t,e){var i=eS[t],n=i&&i.indexOf(e);n>=0&&i.splice(n,1)},e1.batch=function(t,e){var i,n=[],r={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var i=[],n=[],r=W.delayedCall(s,function(){e(i,n),i=[],n=[]}).pause();return function(t){i.length||r.restart(!0),i.push(t.trigger),n.push(t),o<=i.length&&r.progress(1)}};for(i in e)r[i]="on"===i.substr(0,2)&&t$(e[i])&&"onRefreshInit"!==i?a(i,e[i]):e[i];return t$(o)&&(o=o(),eu(e1,"refresh",function(){return o=e.batchMax()})),Q(t).forEach(function(t){var e={};for(i in r)e[i]=r[i];e.trigger=t,n.push(e1.create(e))}),n};var e2,e5=function(t,e,i,n){return e>n?t(n):e<0&&t(0),i>n?(n-e)/(i-e):i<0?e/(e-i):1},e3=function t(e,i){!0===i?e.style.removeProperty("touch-action"):e.style.touchAction=!0===i?"auto":i?"pan-"+i+(Y.isTouch?" pinch-zoom":""):"none",e===$&&t(q,i)},e4={auto:1,scroll:1},e8=function(t){var e,i=t.event,n=t.target,r=t.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,o=s._gsap||W.core.getCache(s),a=tA();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==q&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(e4[(e=ee(s)).overflowY]||e4[e.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==n&&!tN(s)&&(e4[(e=ee(s)).overflowY]||e4[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===r)&&(i.stopPropagation(),i._gsapAllow=!0)},e9=function(t,e,i,n){return Y.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:n=n&&e8,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&eu(z,Y.eventTypes[0],e7,!1,!0)},onDisable:function(){return eh(z,Y.eventTypes[0],e7,!0)}})},e6=/(input|label|select|textarea)/i,e7=function(t){var e=e6.test(t.target.tagName);(e||e2)&&(t._gsapAllow=!0,e2=e)},it=function(t){tG(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,i,n,r,s,o,a,l,u=t,h=u.normalizeScrollX,c=u.momentum,d=u.allowNestedScroll,p=u.onRelease,f=O(t.target)||$,m=W.core.globals().ScrollSmoother,g=m&&m.get(),v=tm&&(t.content&&O(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),y=F(f,L),w=F(f,R),b=1,T=(Y.isTouch&&H.visualViewport?H.visualViewport.scale*H.visualViewport.width:H.outerWidth)/H.innerWidth,P=0,S=t$(c)?function(){return c(e)}:function(){return c||2.8},E=e9(f,t.type,!0,d),M=function(){return r=!1},k=tF,A=tF,C=function(){i=tU(f,L),A=Z(+!!tm,i),h&&(k=Z(0,tU(f,R))),n=eR},D=function(){v._gsap.y=t_(parseFloat(v._gsap.y)+y.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},V=function(){if(r){requestAnimationFrame(M);var t=t_(e.deltaY/2),i=A(y.v-t);if(v&&i!==y.v+y.offset){y.offset=i-y.v;var n=t_((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",v._gsap.y=n+"px",y.cacheID=x.cache,eI()}return!0}y.offset&&D(),r=!0},B=function(){C(),s.isActive()&&s.vars.scrollY>i&&(y()>i?s.progress(1)&&y(i):s.resetTo("scrollY",i))};return v&&W.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return tm&&"touchmove"===t.type&&V(t)||b>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){r=!1;var t=b;
9b=t_((H.visualViewport&&H.visualViewport.scale||1)/T),s.pause(),t!==b&&e3(f,b>1.01||!h&&"x"),o=w(),a=y(),C(),n=eR},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&D(),e){x.cache++;var n,r,o=S();h&&(r=(n=w())+-(.05*o*t.velocityX)/.227,o*=e5(w,n,r,tU(f,R)),s.vars.scrollX=k(r)),r=(n=y())+-(.05*o*t.velocityY)/.227,o*=e5(y,n,r,tU(f,L)),s.vars.scrollY=A(r),s.invalidate().duration(o).play(.01),(tm&&s.vars.scrollY>=i||n>=i-1)&&W.to({},{onUpdate:B,duration:o})}else l.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),tA()-P>1e3&&(n=0,P=tA())},t.onChange=function(t,e,i,r,s){if(eR!==n&&C(),e&&h&&w(k(r[2]===e?o+(t.startX-t.x):w()+e-r[1])),i){y.offset&&D();var l=s[2]===i,u=l?a+t.startY-t.y:y()+i-s[1],c=A(u);l&&u!==c&&(a+=c-u),y(c)}(i||e)&&eI()},t.onEnable=function(){e3(f,!h&&"x"),e1.addEventListener("refresh",B),eu(H,"resize",B),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=w.smooth=!1),E.enable()},t.onDisable=function(){e3(f,!0),eh(H,"resize",B),e1.removeEventListener("refresh",B),E.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Y(t)).iOS=tm,tm&&!y()&&y(1),tm&&W.ticker.add(tF),l=e._dc,s=W.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:h?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:eZ(y,y(),function(){return s.pause()})},onUpdate:eI,onComplete:l.vars.onComplete}),e};e1.sort=function(t){if(t$(t))return ey.sort(t);var e=H.pageYOffset||0;return e1.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+H.innerHeight}),ey.sort(t||function(t,e){return -1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},e1.observe=function(t){return new Y(t)},e1.normalizeScroll=function(t){if(void 0===t)return tc;if(!0===t&&tc)return tc.enable();if(!1===t){tc&&tc.kill(),tc=t;return}var e=t instanceof Y?t:it(t);return tc&&tc.target===e.target&&tc.kill(),tN(e.target)&&(tc=e),e},e1.core={_getVelocityProp:_,_inputObserver:e9,_scrollers:x,_proxies:w,bridge:{ss:function(){tD||ek("scrollStart"),tD=tA()},ref:function(){return te}}},tI()&&W.registerPlugin(e1)},23141:(t,e,i)=>{i.d(e,{Sz:()=>o,ZZ:()=>l,dg:()=>a});var n=i(81678),r=i(46116),s=i(70839);let o=(0,n.A)(.33,1.53,.69,.99),a=(0,s.G)(o),l=(0,r.V)(a)},28149:(t,e,i)=>{i.d(e,{Q:()=>n});let n={value:null,addProjectionMetrics:null}},28777:(t,e,i)=>{i.d(e,{J:()=>n});let n=(0,i(72522).p)(()=>void 0!==window.ScrollTimeline)},29630:(t,e,i)=>{i.d(e,{Y:()=>r});var n=i(45106);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.f)(i-t(r),e-r)}},30040:(t,e,i)=>{i.d(e,{G:()=>h});var n=i(48594),r=i(86972),s=i(98784),o=i(40721),a=i(53105),l=i(82551),u=i(35250);function h(t,e,{clamp:i=!0,ease:c,mixer:d}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let f=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,i){let o=[],a=i||n.W.mix||u.j,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}o.push(n)}return o}(e,c,d),g=m.length,v=i=>{if(f&&i<t[0])return e[0];let n=0;if(g>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.q)(t[n],t[n+1],i);return m[n](r)};return i?e=>v((0,l.q)(t[0],t[p-1],e)):v}},34047:(t,e,i)=>{i.d(e,{Y:()=>n,t:()=>r});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},35250:(t,e,i)=>{i.d(e,{j:()=>S});var n=i(98784),r=i(40721),s=i(44549),o=i(64007),a=i(48055),l=i(55500),u=i(12005);function h(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var c=i(5681);function d(t,e){return i=>i>0?e:t}var p=i(97727);let f=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},m=[l.u,c.B,u.V];function g(t){let e=m.find(e=>e.test(t));if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===u.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=h(a,n,t+1/3),s=h(a,n,t),o=h(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let v=(t,e)=>{let i=g(t),n=g(e);if(!i||!n)return d(t,e);let r={...i};return t=>(r.red=f(i.red,n.red,t),r.green=f(i.green,n.green,t),r.blue=f(i.blue,n.blue,t),r.alpha=(0,p.k)(i.alpha,n.alpha,t),c.B.transform(r))},y=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.p)(t)?d:o.y.test(t)?v:P:Array.isArray(t)?b:"object"==typeof t?o.y.test(t)?v:T:d}function b(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function T(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let P=(t,e)=>{let i=a.f.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);if(!(s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length))return(0,r.$)(!0,`Complex values '${t}' and '${e}
9' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),d(t,e);if(y.has(t)&&!o.values.length||y.has(e)&&!s.values.length)return y.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,n.F)(b(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(s,o),o.values),i)};function S(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},35572:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(50905);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},35881:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>r,vh:()=>a,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},37853:(t,e,i)=>{i.d(e,{B:()=>n});let n="u">typeof window},38744:(t,e,i)=>{i.d(e,{I:()=>o});var n=i(48594);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(28149);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,i.clear(),r=!1,o&&(o=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:p,update:f,preRender:m,render:g,postRender:v}=u,y=()=>{let r=n.W.useManualTiming?a.timestamp:performance.now();i=!1,n.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),p.process(a),f.process(a),m.process(a),g.process(a),v.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(y))};return{schedule:r.reduce((e,n)=>{let r=u[n];return e[n]=(e,n=!1,s=!1)=>(!i&&(i=!0,o=!0,a.isProcessing||t(y)),r.schedule(e,n,s)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}},40557:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(50905),r=i(73322);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(l)},[t]);let u=(0,n.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,u]:[!0]}},40721:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r});let n=()=>{},r=()=>{}},42537:(t,e,i)=>{i.d(e,{o:()=>v});var n=i(82551),r=i(43026),s=i(45984),o=i(34047),a=i(29630);let l=.01,u=2,h=.005,c=.5;var d=i(40721);function p(t,e){return t*Math.sqrt(1-e*e)}let f=["duration","bounce"],m=["stiffness","damping","mass"];function g(t,e){return e.some(e=>void 0!==t[e])}function v(t=.3,e=.3){let i,y="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:x,restDelta:w}=y,b=y.keyframes[0],T=y.keyframes[y.keyframes.length-1],P={done:!1,value:b},{stiffness:S,damping:E,mass:M,duration:k,velocity:A,isResolvedFromDuration:C}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!g(t,m)&&g(t,f))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let o,a;(0,d.$)(t<=(0,r.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=(0,n.q)(.05,1,l),t=(0,n.q)(.01,10,(0,r.X)(t)),l<1?(o=e=>{let n=e*l,r=n*t;return .001-(n-i)/p(e,l)*Math.exp(-r)},a=e=>{let n=e*l*t,r=Math.pow(l,2)*Math.pow(e,2)*t,s=Math.exp(-n),a=p(Math.pow(e,2),l);return(n*i+i-r)*s*(-o(e)+.001>0?-1:1)/a}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));
9let u=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(o,a,5/t);if(t=(0,r.f)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*s;return{stiffness:e,damping:2*l*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...y,velocity:-(0,r.X)(y.velocity||0)}),D=A||0,V=E/(2*Math.sqrt(S*M)),R=T-b,L=(0,r.X)(Math.sqrt(S/M)),O=5>Math.abs(R);if(x||(x=O?l:u),w||(w=O?h:c),V<1){let t=p(L,V);i=e=>T-Math.exp(-V*L*e)*((D+V*L*R)/t*Math.sin(t*e)+R*Math.cos(t*e))}else if(1===V)i=t=>T-Math.exp(-L*t)*(R+(D+L*R)*t);else{let t=L*Math.sqrt(V*V-1);i=e=>{let i=Math.exp(-V*L*e),n=Math.min(t*e,300);return T-i*((D+V*L*R)*Math.sinh(n)+t*R*Math.cosh(n))/t}}let B={calculatedDuration:C&&k||null,next:t=>{let e=i(t);if(C)P.done=t>=k;else{let n=0===t?D:0;V<1&&(n=0===t?(0,r.f)(D):(0,a.Y)(i,t,e));let s=Math.abs(T-e)<=w;P.done=Math.abs(n)<=x&&s}return P.value=P.done?T:e,P},toString:()=>{let t=Math.min((0,o.t)(B),o.Y),e=(0,s.K)(e=>B.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return B}v.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min((0,o.t)(n),o.Y);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,r.X)(s)}}(t,100,v);return t.ease=e.ease,t.duration=(0,r.f)(e.duration),t.type="keyframes",t}}
9,43026:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},43901:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},44549:(t,e,i)=>{i.d(e,{j:()=>r,p:()=>o});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},44962:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(42696).A)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},45106:(t,e,i)=>{i.d(e,{f:()=>n});function n(t,e){return e?1e3/e*t:0}},45984:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},46116:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},46604:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(42696).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},48055:(t,e,i)=>{i.d(e,{V:()=>h,f:()=>f});var n=i(64007);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(43901),o=i(55576);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.y.test(t)?(r.color.push(o),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=n.y.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t,f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},48594:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},50550:(t,e,i)=>{i.d(e,{Z:()=>s});var n=i(53105),r=i(97727);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.q)(0,e,s);t.push((0,r.k)(i,1,o))}}(e,t.length-1),e}},52084:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>a,WG:()=>s,uv:()=>o});var n=i(86972);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(38744).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},53105:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},54769:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>r,Kq:()=>n})},55500:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(5681);let r={test:(0,i(60251).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},55576:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},59196:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(50905).createContext)({})},60251:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>o});var n=i(43901);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},63592:(t,e,i)=>{i.d(e,{i:()=>v});var n=i(81678);
9let r=(0,n.A)(.42,0,1,1),s=(0,n.A)(0,0,.58,1),o=(0,n.A)(.42,0,.58,1);var a=i(40721),l=i(86972),u=i(68232),h=i(23141),c=i(86121),d=i(98140);let p={linear:l.l,easeIn:r,easeInOut:o,easeOut:s,circIn:c.po,circInOut:c.tn,circOut:c.yT,backIn:h.dg,backInOut:h.ZZ,backOut:h.Sz,anticipate:u.b},f=t=>{if((0,d.D)(t)){(0,a.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n.A)(e,i,r,s)}return"string"==typeof t?((0,a.V)(void 0!==p[t],`Invalid easing type '${t}'`,"invalid-easing-type"),p[t]):t};var m=i(30040),g=i(50550);function v({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(f):f(n),a={done:!1,value:e[0]},l=(r=i&&i.length===e.length?i:(0,g.Z)(e),r.map(e=>e*t)),u=(0,m.G)(l,e,{ease:Array.isArray(s)?s:e.map(()=>s||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=u(e),a.done=e>=t,a)}}},63662:(t,e,i)=>{i.d(e,{G:()=>n});function n(t){return"object"==typeof t&&null!==t}},64007:(t,e,i)=>{i.d(e,{y:()=>o});var n=i(55500),r=i(12005),s=i(5681);let o={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},66685:(t,e,i)=>{i.d(e,{s:()=>y});var n=i(98784),r=i(82551),s=i(43026),o=i(8866),a=i(92891),l=i(35250),u=i(52084);let h=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>u.Gt.update(e,t),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:o.k.now()}};var c=i(88275),d=i(63592),p=i(34047),f=i(88265),m=i(2703),g=i(74017);let v=t=>t/100;class y extends g.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==o.k.now()&&this.tick(o.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},a.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,m.E)(t);let{type:e=d.i,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=t,{keyframes:a}=t,u=e||d.i;u!==d.i&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,n.F)(v,(0,l.j)(a[0],a[1])),a=[0,100]);let h=u({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=u({...t,keyframes:[...a].reverse(),velocity:-o})),null===h.calculatedDuration&&(h.calculatedDuration=(0,p.t)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:p,repeatDelay:m,type:g,onUpdate:v,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?x<0:x>n;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,T=i;if(d){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/a)):"mirror"===p&&(T=o)),b=(0,r.q)(0,1,i)*a}let P=w?{done:!1,value:h[0]}:T.next(b);s&&(P.value=s(P.value));let{done:S}=P;w||null===l||(S=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return E&&g!==c.B&&(P.value=(0,f.X)(h,this.options,y,this.speed)),v&&v(P.value),E&&this.finish(),P}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(o.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=h,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(o.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,a.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}},68232:(t,e,i)=>{i.d(e,{b:()=>r});var n=i(23141);let r=t=>(t*=2)<1?.5*(0,n.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},70839:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},72388:(t,e,i)=>{i.d(e,{S:()=>n});let n=t=>!!(t&&t.getVelocity)},72522:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},73322:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(50905).createContext)(null)}
9,74017:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},74096:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(42696).A)("move",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]])},81678:(t,e,i)=>{i.d(e,{A:()=>s});var n=i(86972);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?n.l:n=>0===n||1===n?n:r(function(t,e,i,n,s){let o,a,l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a}(n,0,1,t,i),e,s)}},81731:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(50905).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},82551:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},86121:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var n=i(46116),r=i(70839);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.G)(s),a=(0,n.V)(s)},86784:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>o});var n=i(82551);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},o={...r,default:1}},86972:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},87151:(t,e,i)=>{i.d(e,{K:()=>n});function n(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t)}},88265:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,o=1){let a=t.filter(n),l=o<0||e&&"loop"!==i&&e%2==1?0:a.length-1;return l&&void 0!==s?s:a[l]}},88275:(t,e,i)=>{i.d(e,{B:()=>s});var n=i(42537),r=i(29630);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:u,min:h,max:c,restDelta:d=.5,restSpeed:p}){let f,m,g=t[0],v={done:!1,value:g},y=i*e,x=g+y,w=void 0===u?x:u(x);w!==x&&(y=w-g);let b=t=>-y*Math.exp(-t/o),T=t=>w+b(t),P=t=>{let e=b(t),i=T(t);v.done=Math.abs(e)<=d,v.value=v.done?w:i},S=t=>{let e;if(e=v.value,void 0!==h&&e<h||void 0!==c&&e>c){var i;f=t,m=(0,n.o)({keyframes:[v.value,(i=v.value,void 0===h?c:void 0===c||Math.abs(h-i)<Math.abs(c-i)?h:c)],velocity:(0,r.Y)(T,t,v.value),damping:a,stiffness:l,restDelta:d,restSpeed:p})}};return S(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==f||(e=!0,P(t),S(t)),void 0!==f&&t>=f)?m.next(t-f):(e||P(t),v)}}}},92891:(t,e,i)=>{i.d(e,{q:()=>n});let n={layout:0,mainThread:0,waapi:0}},97727:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},98140:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},98325:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(50905);let r=i(37853).B?n.useLayoutEffect:n.useEffect},98784:(t,e,i)=>{i.d(e,{F:()=>r});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.