-
Notifications
You must be signed in to change notification settings - Fork 5
/
component---src-pages-index-js-871ee3faae4c2c70877a.js
2 lines (2 loc) · 92.6 KB
/
component---src-pages-index-js-871ee3faae4c2c70877a.js
1
2
"use strict";(self.webpackChunkmy_gatsby_site=self.webpackChunkmy_gatsby_site||[]).push([[678],{2432:function(t,n,e){var r=e(7294),o=e(2184);n.Z=function(t){var n=t.label,e=t.onClick;return r.createElement(o.O,{onClick:e},n)}},2184:function(t,n,e){e.d(n,{o:function(){return o},O:function(){return i}});var r=e(979),o=(0,r.css)(["font-family:",";font-size:24px;margin:12px;border:none;cursor:pointer;transition:filter 0.2s;&:hover{filter:brightness(0.95);}&:active{filter:brightness(0.9);}"],(function(t){return t.theme.fonts.roboto})),i=r.default.button.withConfig({displayName:"styled__ButtonStyled",componentId:"sc-1rugd49-0"})(["",";background:",";color:",";width:fit-content;border-radius:6px;padding:0.6rem 1.8rem;"],o,(function(t){return t.theme.colors.secondary.light}),(function(t){return t.theme.colors.white}))},559:function(t,n,e){e.r(n),e.d(n,{default:function(){return tu}});var r=e(7294),o=e(5186),i=e(979),a=e(1534),u=i.default.section.withConfig({displayName:"styled__HighlightWrapper",componentId:"sc-gsl7e7-0"})(["background-color:#03b85d;padding:74px 0;"]),s=i.default.article.withConfig({displayName:"styled__HighlightContainer",componentId:"sc-gsl7e7-1"})(["",""],(function(t){return t.theme.utils.container})),l=(0,i.default)(a.Z).withConfig({displayName:"styled__HighlightTitle",componentId:"sc-gsl7e7-2"})(["max-width:644px;"]),c=(0,i.default)(a.Z).withConfig({displayName:"styled__HighlightDescription",componentId:"sc-gsl7e7-3"})(["max-width:1244px;margin-top:3.2rem;strong{font-weight:600;}a{color:#fff;font-weight:500;}"]),f=function(t){var n,e=t.title,o=t.children;return r.createElement(u,null,r.createElement(s,null,r.createElement(l,{color:"white",weight:"bold",variant:"h2"},e),r.createElement(c,((n={weight:400,color:"white",paragraph:!0,variant:"h3"}).weight="400",n),o)))},d=function(){return r.createElement("svg",{width:"22",height:"19",viewBox:"0 0 22 19",fill:"none"},r.createElement("path",{d:"M0 9.5H20M20 9.5L11.5 1M20 9.5L11.5 18",stroke:"#00D76B","stroke-width":"2"}))},v=e(2432),p=e(2184),m=i.default.section.withConfig({displayName:"styled__LiveWrapper",componentId:"sc-71khwe-0"})(["min-height:calc(100vh - 20rem);display:flex;align-items:center;margin:224px 0;"]),h=i.default.article.withConfig({displayName:"styled__LiveContainer",componentId:"sc-71khwe-1"})([""," text-align:center;text-align:-webkit-center;"],(function(t){return t.theme.utils.container})),g=i.default.div.withConfig({displayName:"styled__ImageContainer",componentId:"sc-71khwe-2"})(["margin:2.8rem 0px;max-width:46rem;img{width:30%;}"]),y=(0,i.default)(a.Z).withConfig({displayName:"styled__LiveTitle",componentId:"sc-71khwe-3"})(["max-width:763px;color:",";span{color:",";}"],(function(t){return t.theme.colors.primary}),(function(t){return t.theme.colors.secondary.dark})),x=i.default.div.withConfig({displayName:"styled__ButtonWrapper",componentId:"sc-71khwe-4"})(["width:100%;max-width:1092px;"]),b=i.default.a.withConfig({displayName:"styled__OutlineButton",componentId:"sc-71khwe-5"})(["",";background:none;color:",";border-bottom:1px solid;border-color:",";text-decoration:none;"],p.o,(function(t){return t.theme.colors.secondary.dark}),(function(t){return t.theme.colors.secondary.dark})),w=i.default.div.withConfig({displayName:"styled__OutlineWrapper",componentId:"sc-71khwe-6"})(["display:flex;align-items:center;justify-content:center;margin-top:2rem;"]),E=function(){var t=(0,r.useState)(""),n=t[0],e=t[1];return r.createElement(m,null,r.createElement(h,null,r.createElement(y,{variant:"h2",forwardAs:"h2",weight:400},r.createElement("span",null,"Live")," Exemples"),r.createElement(g,null,r.createElement("img",{src:"https://i.ibb.co/23ZSKd0/all-animation-1.png",alt:"animation",class:n})),r.createElement(x,null,r.createElement(v.Z,{label:"a-dance",onClick:function(){return e("a-dance")}}),r.createElement(v.Z,{label:"a-journal",onClick:function(){return e("a-journal")}}),r.createElement(v.Z,{label:"a-pulse",onClick:function(){return e("a-pulse")}}),r.createElement(v.Z,{label:"a-jello-vertical",onClick:function(){return e("a-jello-vertical")}}),r.createElement(v.Z,{label:"a-jello-horizontal",onClick:function(){return e("a-jello-horizontal")}})),r.createElement(x,null,r.createElement(v.Z,{label:"a-pulse-slow",onClick:function(){return e("a-pulse-slow")}}),r.createElement(v.Z,{label:"a-enter up bounce",onClick:function(){return e("a-enter-up-bounce")}}),r.createElement(v.Z,{label:"a-enter down bounce",onClick:function(){return e("a-enter-down-bounce")}}),r.createElement(v.Z,{label:"a-enter right bounce",onClick:function(){return e("a-enter-right-bounce")}})),r.createElement(x,null,r.createElement(v.Z,{label:"a-jamp",onClick:function(){return e("a-jamp")}}),r.createElement(v.Z,{label:"a-four rock",onClick:function(){return e("a-four-rock")}}),r.createElement(v.Z,{label:"a-jump bounce",onClick:function(){return e("a-jump-bounce")}}),r.createElement(v.Z,{label:"a-scale bounce",onClick:function(){return e("a-scale-bounce")}})),r.createElement(w,null,r.createElement(b,{href:"/animations"},"View all animations"),r.createElement(d,null))))},A=function(t,n){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},A(t,n)};function P(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}A(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}var C=function(){return C=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},C.apply(this,arguments)};function T(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]])}return e}Object.create;function S(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),a=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return a}function M(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))}Object.create;var V=function(t){return{isEnabled:function(n){return t.some((function(t){return!!n[t]}))}}},k={measureLayout:V(["layout","layoutId","drag","_layoutResetTransform"]),animation:V(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:V(["exit"]),drag:V(["drag","dragControls"]),focus:V(["whileFocus"]),hover:V(["whileHover","onHoverStart","onHoverEnd"]),tap:V(["whileTap","onTap","onTapStart","onTapCancel"]),pan:V(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:V(["layout","layoutId"])};var L=(0,r.createContext)({strict:!1}),R=Object.keys(k),D=R.length;var j=(0,r.createContext)({transformPagePoint:function(t){return t},isStatic:!1}),O=(0,r.createContext)({});var B=(0,r.createContext)(null);function I(t){var n=(0,r.useRef)(null);return null===n.current&&(n.current=t()),n.current}function F(){var t=(0,r.useContext)(B);if(null===t)return[!0,null];var n=t.isPresent,e=t.onExitComplete,o=t.register,i=N();(0,r.useEffect)((function(){return o(i)}),[]);return!n&&e?[!1,function(){return null==e?void 0:e(i)}]:[!0]}function _(t){return null===t||t.isPresent}var U=0,H=function(){return U++},N=function(){return I(H)},X=(0,r.createContext)(null),Z="undefined"!=typeof window,z=Z?r.useLayoutEffect:r.useEffect;function Y(t,n,e,o){var i=(0,r.useContext)(j),a=(0,r.useContext)(L),u=(0,r.useContext)(O).visualElement,s=(0,r.useContext)(B),l=function(t){var n=t.layoutId,e=(0,r.useContext)(X);return e&&void 0!==n?e+"-"+n:n}(e),c=(0,r.useRef)(void 0);o||(o=a.renderer),!c.current&&o&&(c.current=o(t,{visualState:n,parent:u,props:C(C({},e),{layoutId:l}),presenceId:null==s?void 0:s.id,blockInitialAnimation:!1===(null==s?void 0:s.initial)}));var f=c.current;return z((function(){f&&(f.setProps(C(C(C({},i),e),{layoutId:l})),f.isPresent=_(s),f.isPresenceRoot=!u||u.presenceId!==(null==s?void 0:s.id),f.syncRender())})),(0,r.useEffect)((function(){var t;f&&(null===(t=f.animationState)||void 0===t||t.animateChanges())})),z((function(){return function(){return null==f?void 0:f.notifyUnmount()}}),[]),f}function W(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function q(t){return Array.isArray(t)}function G(t){return"string"==typeof t||q(t)}function K(t,n,e,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"string"==typeof n&&(n=null===(i=t.variants)||void 0===i?void 0:i[n]),"function"==typeof n?n(null!=e?e:t.custom,r,o):n}function $(t,n,e){var r=t.getProps();return K(r,n,null!=e?e:r.custom,function(t){var n={};return t.forEachValue((function(t,e){return n[e]=t.get()})),n}(t),function(t){var n={};return t.forEachValue((function(t,e){return n[e]=t.getVelocity()})),n}(t))}function J(t){var n;return"function"==typeof(null===(n=t.animate)||void 0===n?void 0:n.start)||G(t.initial)||G(t.animate)||G(t.whileHover)||G(t.whileDrag)||G(t.whileTap)||G(t.whileFocus)||G(t.exit)}function Q(t){return Boolean(J(t)||t.variants)}function tt(t,n){var e=function(t,n){if(J(t)){var e=t.initial,r=t.animate;return{initial:!1===e||G(e)?e:void 0,animate:G(r)?r:void 0}}return!1!==t.inherit?n:{}}(t,(0,r.useContext)(O)),o=e.initial,i=e.animate;return(0,r.useMemo)((function(){return{initial:o,animate:i}}),n?[nt(o),nt(i)]:[])}function nt(t){return Array.isArray(t)?t.join(" "):t}function et(t){var n=t.preloadedFeatures,e=t.createVisualElement,o=t.useRender,i=t.useVisualState,a=t.Component;return n&&function(t){for(var n in t){var e=t[n];null!==e&&(k[n].Component=e)}}(n),(0,r.forwardRef)((function(t,n){var u=(0,r.useContext)(j).isStatic,s=null,l=tt(t,u),c=i(t,u);return!u&&Z&&(l.visualElement=Y(a,c,t,e),s=function(t,n,e){var o=[];if((0,r.useContext)(L),!n)return null;for(var i=0;i<D;i++){var a=R[i],u=k[a],s=u.isEnabled,l=u.Component;s(t)&&l&&o.push(r.createElement(l,C({key:a},t,{visualElement:n})))}return o}(t,l.visualElement)),r.createElement(r.Fragment,null,r.createElement(O.Provider,{value:l},o(a,t,function(t,n,e){return(0,r.useCallback)((function(r){var o;r&&(null===(o=t.mount)||void 0===o||o.call(t,r)),n&&(r?n.mount(r):n.unmount()),e&&("function"==typeof e?e(r):W(e)&&(e.current=r))}),[n])}(c,l.visualElement,n),c,u)),s)}))}function rt(t){function n(n,e){return void 0===e&&(e={}),et(t(n,e))}var e=new Map;return new Proxy(n,{get:function(t,r){return e.has(r)||e.set(r,n(r)),e.get(r)}})}var ot=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function it(t){return"string"==typeof t&&!t.includes("-")&&!!(ot.indexOf(t)>-1||/[A-Z]/.test(t))}var at={};var ut=["","X","Y","Z"],st=["transformPerspective","x","y","z"];function lt(t,n){return st.indexOf(t)-st.indexOf(n)}["translate","scale","rotate","skew"].forEach((function(t){return ut.forEach((function(n){return st.push(t+n)}))}));var ct=new Set(st);function ft(t){return ct.has(t)}var dt=new Set(["originX","originY","originZ"]);function vt(t){return dt.has(t)}function pt(t,n){var e=n.layout,r=n.layoutId;return ft(t)||vt(t)||(e||void 0!==r)&&(!!at[t]||"opacity"===t)}var mt=function(t){return null!==t&&"object"==typeof t&&t.getVelocity},ht={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function gt(t){return t.startsWith("--")}var yt=function(t,n){return n&&"number"==typeof t?n.transform(t):t},xt=function(t,n){return function(e){return Math.max(Math.min(e,n),t)}},bt=function(t){return t%1?Number(t.toFixed(5)):t},wt=/(-)?([\d]*\.?[\d])+/g,Et=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,At=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Pt(t){return"string"==typeof t}var Ct=function(t){return{test:function(n){return Pt(n)&&n.endsWith(t)&&1===n.split(" ").length},parse:parseFloat,transform:function(n){return""+n+t}}},Tt=Ct("deg"),St=Ct("%"),Mt=Ct("px"),Vt=Ct("vh"),kt=Ct("vw"),Lt=C(C({},St),{parse:function(t){return St.parse(t)/100},transform:function(t){return St.transform(100*t)}}),Rt={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},Dt=C(C({},Rt),{transform:xt(0,1)}),jt=C(C({},Rt),{default:1}),Ot=C(C({},Rt),{transform:Math.round}),Bt={borderWidth:Mt,borderTopWidth:Mt,borderRightWidth:Mt,borderBottomWidth:Mt,borderLeftWidth:Mt,borderRadius:Mt,radius:Mt,borderTopLeftRadius:Mt,borderTopRightRadius:Mt,borderBottomRightRadius:Mt,borderBottomLeftRadius:Mt,width:Mt,maxWidth:Mt,height:Mt,maxHeight:Mt,size:Mt,top:Mt,right:Mt,bottom:Mt,left:Mt,padding:Mt,paddingTop:Mt,paddingRight:Mt,paddingBottom:Mt,paddingLeft:Mt,margin:Mt,marginTop:Mt,marginRight:Mt,marginBottom:Mt,marginLeft:Mt,rotate:Tt,rotateX:Tt,rotateY:Tt,rotateZ:Tt,scale:jt,scaleX:jt,scaleY:jt,scaleZ:jt,skew:Tt,skewX:Tt,skewY:Tt,distance:Mt,translateX:Mt,translateY:Mt,translateZ:Mt,x:Mt,y:Mt,z:Mt,perspective:Mt,transformPerspective:Mt,opacity:Dt,originX:Lt,originY:Lt,originZ:Mt,zIndex:Ot,fillOpacity:Dt,strokeOpacity:Dt,numOctaves:Ot};function It(t,n,e,r,o,i,a,u){var s,l=t.style,c=t.vars,f=t.transform,d=t.transformKeys,v=t.transformOrigin;d.length=0;var p=!1,m=!1,h=!0;for(var g in n){var y=n[g];if(gt(g))c[g]=y;else{var x=Bt[g],b=yt(y,x);if(ft(g)){if(p=!0,f[g]=b,d.push(g),!h)continue;y!==(null!==(s=x.default)&&void 0!==s?s:0)&&(h=!1)}else if(vt(g))v[g]=b,m=!0;else if((null==e?void 0:e.isHydrated)&&(null==r?void 0:r.isHydrated)&&at[g]){var w=at[g].process(y,r,e),E=at[g].applyTo;if(E)for(var A=E.length,P=0;P<A;P++)l[E[P]]=w;else l[g]=w}else l[g]=b}}r&&e&&a&&u?(l.transform=a(r.deltaFinal,r.treeScale,p?f:void 0),i&&(l.transform=i(f,l.transform)),l.transformOrigin=u(r)):(p&&(l.transform=function(t,n,e,r){var o=t.transform,i=t.transformKeys,a=n.enableHardwareAcceleration,u=void 0===a||a,s=n.allowTransformNone,l=void 0===s||s,c="";i.sort(lt);for(var f=!1,d=i.length,v=0;v<d;v++){var p=i[v];c+=(ht[p]||p)+"("+o[p]+") ","z"===p&&(f=!0)}return!f&&u?c+="translateZ(0)":c=c.trim(),r?c=r(o,e?"":c):l&&e&&(c="none"),c}(t,o,h,i)),m&&(l.transformOrigin=function(t){var n=t.originX,e=void 0===n?"50%":n,r=t.originY,o=void 0===r?"50%":r,i=t.originZ;return e+" "+o+" "+(void 0===i?0:i)}(v)))}var Ft=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function _t(t,n,e){for(var r in n)mt(n[r])||pt(r,e)||(t[r]=n[r])}function Ut(t,n,e){var o={};return _t(o,t.style||{},t),Object.assign(o,function(t,n,e){var o=t.transformTemplate;return(0,r.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};It(t,n,void 0,void 0,{enableHardwareAcceleration:!e},o);var r=t.style;return C(C({},t.vars),r)}),[n])}(t,n,e)),t.transformValues&&(o=t.transformValues(o)),o}function Ht(t,n,e){var r={},o=Ut(t,n,e);return Boolean(t.drag)&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),r.style=o,r}var Nt=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","_layoutResetTransform","onLayoutAnimationComplete","onViewportBoxUpdate","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover"]);function Xt(t){return Nt.has(t)}var Zt=function(t){return!Xt(t)};try{var zt=e(5169).Z;Zt=function(t){return t.startsWith("on")?!Xt(t):zt(t)}}catch(nu){}function Yt(t,n,e){return"string"==typeof t?t:Mt.transform(n+e*t)}var Wt=function(t,n){return Mt.transform(t*n)},qt={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gt={offset:"strokeDashoffset",array:"strokeDasharray"};function Kt(t,n,e,r,o,i,a,u){var s=n.attrX,l=n.attrY,c=n.originX,f=n.originY,d=n.pathLength,v=n.pathSpacing,p=void 0===v?1:v,m=n.pathOffset,h=void 0===m?0:m;It(t,T(n,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),e,r,o,i,a,u),t.attrs=t.style,t.style={};var g=t.attrs,y=t.style,x=t.dimensions,b=t.totalPathLength;g.transform&&(x&&(y.transform=g.transform),delete g.transform),x&&(void 0!==c||void 0!==f||y.transform)&&(y.transformOrigin=function(t,n,e){return Yt(n,t.x,t.width)+" "+Yt(e,t.y,t.height)}(x,void 0!==c?c:.5,void 0!==f?f:.5)),void 0!==s&&(g.x=s),void 0!==l&&(g.y=l),void 0!==b&&void 0!==d&&function(t,n,e,r,o,i){void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=!0);var a=i?qt:Gt;t[a.offset]=Wt(-o,n);var u=Wt(e,n),s=Wt(r,n);t[a.array]=u+" "+s}(g,b,d,p,h,!1)}var $t=function(){return C(C({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Jt(t,n){var e=(0,r.useMemo)((function(){var e=$t();return Kt(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),C(C({},e.attrs),{style:C({},e.style)})}),[n]);if(t.style){var o={};_t(o,t.style,t),e.style=C(C({},o),e.style)}return e}function Qt(t){void 0===t&&(t=!1);return function(n,e,o,i,a){var u=i.latestValues,s=(it(n)?Jt:Ht)(e,u,a),l=function(t,n,e){var r={};for(var o in t)(Zt(o)||!0===e&&Xt(o)||!n&&!Xt(o))&&(r[o]=t[o]);return r}(e,"string"==typeof n,t),c=C(C(C({},l),s),{ref:o});return(0,r.createElement)(n,c)}}var tn=/([a-z])([A-Z])/g,nn=function(t){return t.replace(tn,"$1-$2").toLowerCase()};function en(t,n){var e=n.style,r=n.vars;for(var o in Object.assign(t.style,e),r)t.style.setProperty(o,r[o])}var rn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function on(t,n){for(var e in en(t,n),n.attrs)t.setAttribute(rn.has(e)?e:nn(e),n.attrs[e])}function an(t){var n=t.style,e={};for(var r in n)(mt(n[r])||pt(r,t))&&(e[r]=n[r]);return e}function un(t){var n=an(t);for(var e in t){if(mt(t[e]))n["x"===e||"y"===e?"attr"+e.toUpperCase():e]=t[e]}return n}function sn(t){return"object"==typeof t&&"function"==typeof t.start}var ln=function(t){return Array.isArray(t)};function cn(t){var n,e=mt(t)?t.get():t;return n=e,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?e.toValue():e}function fn(t,n,e,r){var o=t.scrapeMotionValuesFromProps,i=t.createRenderState,a=t.onMount,u={latestValues:vn(n,e,r,o),renderState:i()};return a&&(u.mount=function(t){return a(n,t,u)}),u}var dn=function(t){return function(n,e){var o=(0,r.useContext)(O),i=(0,r.useContext)(B);return e?fn(t,n,o,i):I((function(){return fn(t,n,o,i)}))}};function vn(t,n,e,r){var o={},i=!1===(null==e?void 0:e.initial),a=r(t);for(var u in a)o[u]=cn(a[u]);var s=t.initial,l=t.animate,c=J(t),f=Q(t);n&&f&&!c&&!1!==t.inherit&&(null!=s||(s=n.initial),null!=l||(l=n.animate));var d=i||!1===s?l:s;d&&"boolean"!=typeof d&&!sn(d)&&(Array.isArray(d)?d:[d]).forEach((function(n){var e=K(t,n);if(e){var r=e.transitionEnd;e.transition;var i=T(e,["transitionEnd","transition"]);for(var a in i)o[a]=i[a];for(var a in r)o[a]=r[a]}}));return o}var pn={useVisualState:dn({scrapeMotionValuesFromProps:un,createRenderState:$t,onMount:function(t,n,e){var r=e.renderState,o=e.latestValues;try{r.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}"path"===n.tagName&&(r.totalPathLength=n.getTotalLength()),Kt(r,o,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),on(n,r)}})};var mn,hn={useVisualState:dn({scrapeMotionValuesFromProps:an,createRenderState:Ft})};function gn(t,n,e,r){return t.addEventListener(n,e,r),function(){return t.removeEventListener(n,e,r)}}function yn(t,n,e,o){(0,r.useEffect)((function(){var r=t.current;if(e&&r)return gn(r,n,e,o)}),[t,n,e,o])}function xn(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function bn(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.Exit="exit"}(mn||(mn={}));var wn={pageX:0,pageY:0};function En(t,n){void 0===n&&(n="page");var e=t.touches[0]||t.changedTouches[0]||wn;return{x:e[n+"X"],y:e[n+"Y"]}}function An(t,n){return void 0===n&&(n="page"),{x:t[n+"X"],y:t[n+"Y"]}}function Pn(t,n){return void 0===n&&(n="page"),{point:bn(t)?En(t,n):An(t,n)}}var Cn=function(t,n){void 0===n&&(n=!1);var e,r=function(n){return t(n,Pn(n))};return n?(e=r,function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}):r},Tn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Sn={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Mn(t){return Z&&null===window.onpointerdown?t:Z&&null===window.ontouchstart?Sn[t]:Z&&null===window.onmousedown?Tn[t]:t}function Vn(t,n,e,r){return gn(t,Mn(n),Cn(e,"pointerdown"===n),r)}function kn(t,n,e,r){return yn(t,Mn(n),e&&Cn(e,"pointerdown"===n),r)}function Ln(t){var n=null;return function(){return null===n&&(n=t,function(){n=null})}}var Rn=Ln("dragHorizontal"),Dn=Ln("dragVertical");function jn(t){var n=!1;if("y"===t)n=Dn();else if("x"===t)n=Rn();else{var e=Rn(),r=Dn();e&&r?n=function(){e(),r()}:(e&&e(),r&&r())}return n}function On(){var t=jn(!0);return!t||(t(),!1)}function Bn(t,n,e){return function(r,o){var i;xn(r)&&!On()&&(null==e||e(r,o),null===(i=t.animationState)||void 0===i||i.setActive(mn.Hover,n))}}var In=function t(n,e){return!!e&&(n===e||t(n,e.parentElement))};function Fn(t){return(0,r.useEffect)((function(){return function(){return t()}}),[])}var _n=function(t,n){return function(e){return n(t(e))}},Un=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.reduce(_n)};var Hn=function(t){return function(n){return t(n),null}},Nn={tap:Hn((function(t){var n=t.onTap,e=t.onTapStart,o=t.onTapCancel,i=t.whileTap,a=t.visualElement,u=n||e||o||i,s=(0,r.useRef)(!1),l=(0,r.useRef)(null);function c(){var t;null===(t=l.current)||void 0===t||t.call(l),l.current=null}function f(){var t;return c(),s.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(mn.Tap,!1),!On()}function d(t,e){f()&&(In(a.getInstance(),t.target)?null==n||n(t,e):null==o||o(t,e))}function v(t,n){f()&&(null==o||o(t,n))}kn(a,"pointerdown",u?function(t,n){var r;c(),s.current||(s.current=!0,l.current=Un(Vn(window,"pointerup",d),Vn(window,"pointercancel",v)),null==e||e(t,n),null===(r=a.animationState)||void 0===r||r.setActive(mn.Tap,!0))}:void 0),Fn(c)})),focus:Hn((function(t){var n=t.whileFocus,e=t.visualElement;yn(e,"focus",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(mn.Focus,!0)}:void 0),yn(e,"blur",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(mn.Focus,!1)}:void 0)})),hover:Hn((function(t){var n=t.onHoverStart,e=t.onHoverEnd,r=t.whileHover,o=t.visualElement;kn(o,"pointerenter",n||r?Bn(o,!0,n):void 0),kn(o,"pointerleave",e||r?Bn(o,!1,e):void 0)}))};function Xn(t,n){if(!Array.isArray(n))return!1;var e=n.length;if(e!==t.length)return!1;for(var r=0;r<e;r++)if(n[r]!==t[r])return!1;return!0}var Zn=function(t,n,e){return Math.min(Math.max(e,t),n)},zn=.001;function Yn(t){var n,e,r=t.duration,o=void 0===r?800:r,i=t.bounce,a=void 0===i?.25:i,u=t.velocity,s=void 0===u?0:u,l=t.mass,c=void 0===l?1:l,f=1-a;f=Zn(.05,1,f),o=Zn(.01,10,o/1e3),f<1?(n=function(t){var n=t*f,e=n*o,r=n-s,i=Wn(t,f),a=Math.exp(-e);return zn-r/i*a},e=function(t){var e=t*f*o,r=e*s+s,i=Math.pow(f,2)*Math.pow(t,2)*o,a=Math.exp(-e),u=Wn(Math.pow(t,2),f);return(-n(t)+zn>0?-1:1)*((r-i)*a)/u}):(n=function(t){return Math.exp(-t*o)*((t-s)*o+1)-.001},e=function(t){return Math.exp(-t*o)*(o*o*(s-t))});var d=function(t,n,e){for(var r=e,o=1;o<12;o++)r-=t(r)/n(r);return r}(n,e,5/o);if(o*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:o};var v=Math.pow(d,2)*c;return{stiffness:v,damping:2*f*Math.sqrt(c*v),duration:o}}function Wn(t,n){return t*Math.sqrt(1-n*n)}var qn=["duration","bounce"],Gn=["stiffness","damping","mass"];function Kn(t,n){return n.some((function(n){return void 0!==t[n]}))}function $n(t){var n=t.from,e=void 0===n?0:n,r=t.to,o=void 0===r?1:r,i=t.restSpeed,a=void 0===i?2:i,u=t.restDelta,s=T(t,["from","to","restSpeed","restDelta"]),l={done:!1,value:e},c=function(t){var n=C({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Kn(t,Gn)&&Kn(t,qn)){var e=Yn(t);(n=C(C(C({},n),e),{velocity:0,mass:1})).isResolvedFromDuration=!0}return n}(s),f=c.stiffness,d=c.damping,v=c.mass,p=c.velocity,m=c.duration,h=c.isResolvedFromDuration,g=Jn,y=Jn;function x(){var t=p?-p/1e3:0,n=o-e,r=d/(2*Math.sqrt(f*v)),i=Math.sqrt(f/v)/1e3;if(null!=u||(u=Math.abs(o-e)<=1?.01:.4),r<1){var a=Wn(i,r);g=function(e){var u=Math.exp(-r*i*e);return o-u*((t+r*i*n)/a*Math.sin(a*e)+n*Math.cos(a*e))},y=function(e){var o=Math.exp(-r*i*e);return r*i*o*(Math.sin(a*e)*(t+r*i*n)/a+n*Math.cos(a*e))-o*(Math.cos(a*e)*(t+r*i*n)-a*n*Math.sin(a*e))}}else if(1===r)g=function(e){return o-Math.exp(-i*e)*(n+(t+i*n)*e)};else{var s=i*Math.sqrt(r*r-1);g=function(e){var a=Math.exp(-r*i*e),u=Math.min(s*e,300);return o-a*((t+r*i*n)*Math.sinh(u)+s*n*Math.cosh(u))/s}}}return x(),{next:function(t){var n=g(t);if(h)l.done=t>=m;else{var e=1e3*y(t),r=Math.abs(e)<=a,i=Math.abs(o-n)<=u;l.done=r&&i}return l.value=l.done?o:n,l},flipTarget:function(){var t;p=-p,e=(t=[o,e])[0],o=t[1],x()}}}$n.needsInterpolation=function(t,n){return"string"==typeof t||"string"==typeof n};var Jn=function(t){return 0},Qn=function(t,n,e){var r=n-t;return 0===r?1:(e-t)/r},te=function(t,n,e){return-e*t+e*n+t},ne=function(t,n){return function(e){return Boolean(Pt(e)&&At.test(e)&&e.startsWith(t)||n&&Object.prototype.hasOwnProperty.call(e,n))}},ee=function(t,n,e){return function(r){var o;if(!Pt(r))return r;var i=r.match(wt),a=i[0],u=i[1],s=i[2],l=i[3];return(o={})[t]=parseFloat(a),o[n]=parseFloat(u),o[e]=parseFloat(s),o.alpha=void 0!==l?parseFloat(l):1,o}},re=xt(0,255),oe=C(C({},Rt),{transform:function(t){return Math.round(re(t))}}),ie={test:ne("rgb","red"),parse:ee("red","green","blue"),transform:function(t){var n=t.red,e=t.green,r=t.blue,o=t.alpha,i=void 0===o?1:o;return"rgba("+oe.transform(n)+", "+oe.transform(e)+", "+oe.transform(r)+", "+bt(Dt.transform(i))+")"}};var ae={test:ne("#"),parse:function(t){var n="",e="",r="",o="";return t.length>5?(n=t.substr(1,2),e=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(n=t.substr(1,1),e=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),n+=n,e+=e,r+=r,o+=o),{red:parseInt(n,16),green:parseInt(e,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:ie.transform},ue={test:ne("hsl","hue"),parse:ee("hue","saturation","lightness"),transform:function(t){var n=t.hue,e=t.saturation,r=t.lightness,o=t.alpha,i=void 0===o?1:o;return"hsla("+Math.round(n)+", "+St.transform(bt(e))+", "+St.transform(bt(r))+", "+bt(Dt.transform(i))+")"}},se=function(t,n,e){var r=t*t,o=n*n;return Math.sqrt(Math.max(0,e*(o-r)+r))},le=[ae,ie,ue],ce=function(t){return le.find((function(n){return n.test(t)}))},fe=function(t){return"'"+t+"' is not an animatable color. Use the equivalent color code instead."},de=function(t,n){var e=ce(t),r=ce(n);fe(t),fe(n),e.transform,r.transform;var o=e.parse(t),i=r.parse(n),a=C({},o),u=e===ue?te:se;return function(t){for(var n in a)"alpha"!==n&&(a[n]=u(o[n],i[n],t));return a.alpha=te(o.alpha,i.alpha,t),e.transform(a)}},ve={test:function(t){return ie.test(t)||ae.test(t)||ue.test(t)},parse:function(t){return ie.test(t)?ie.parse(t):ue.test(t)?ue.parse(t):ae.parse(t)},transform:function(t){return Pt(t)?t:t.hasOwnProperty("red")?ie.transform(t):ue.transform(t)}},pe="${c}",me="${n}";function he(t){var n=[],e=0,r=t.match(Et);r&&(e=r.length,t=t.replace(Et,pe),n.push.apply(n,r.map(ve.parse)));var o=t.match(wt);return o&&(t=t.replace(wt,me),n.push.apply(n,o.map(Rt.parse))),{values:n,numColors:e,tokenised:t}}function ge(t){return he(t).values}function ye(t){var n=he(t),e=n.values,r=n.numColors,o=n.tokenised,i=e.length;return function(t){for(var n=o,e=0;e<i;e++)n=n.replace(e<r?pe:me,e<r?ve.transform(t[e]):bt(t[e]));return n}}var xe=function(t){return"number"==typeof t?0:t};var be={test:function(t){var n,e,r,o;return isNaN(t)&&Pt(t)&&(null!==(e=null===(n=t.match(wt))||void 0===n?void 0:n.length)&&void 0!==e?e:0)+(null!==(o=null===(r=t.match(Et))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:ge,createTransformer:ye,getAnimatableNone:function(t){var n=ge(t);return ye(t)(n.map(xe))}},we=function(t){return"number"==typeof t};function Ee(t,n){return we(t)?function(e){return te(t,n,e)}:ve.test(t)?de(t,n):Te(t,n)}var Ae=function(t,n){var e=M([],t),r=e.length,o=t.map((function(t,e){return Ee(t,n[e])}));return function(t){for(var n=0;n<r;n++)e[n]=o[n](t);return e}},Pe=function(t,n){var e=C(C({},t),n),r={};for(var o in e)void 0!==t[o]&&void 0!==n[o]&&(r[o]=Ee(t[o],n[o]));return function(t){for(var n in r)e[n]=r[n](t);return e}};function Ce(t){for(var n=be.parse(t),e=n.length,r=0,o=0,i=0,a=0;a<e;a++)r||"number"==typeof n[a]?r++:void 0!==n[a].hue?i++:o++;return{parsed:n,numNumbers:r,numRGB:o,numHSL:i}}var Te=function(t,n){var e=be.createTransformer(n),r=Ce(t),o=Ce(n);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&(r.numNumbers,o.numNumbers),Un(Ae(r.parsed,o.parsed),e)},Se=function(t,n){return function(e){return te(t,n,e)}};function Me(t,n,e){for(var r,o=[],i=e||("number"==typeof(r=t[0])?Se:"string"==typeof r?ve.test(r)?de:Te:Array.isArray(r)?Ae:"object"==typeof r?Pe:void 0),a=t.length-1,u=0;u<a;u++){var s=i(t[u],t[u+1]);if(n){var l=Array.isArray(n)?n[u]:n;s=Un(l,s)}o.push(s)}return o}function Ve(t,n,e){var r=void 0===e?{}:e,o=r.clamp,i=void 0===o||o,a=r.ease,u=r.mixer,s=t.length;n.length,!a||!Array.isArray(a)||a.length,t[0]>t[s-1]&&(t=[].concat(t),n=[].concat(n),t.reverse(),n.reverse());var l=Me(n,a,u),c=2===s?function(t,n){var e=t[0],r=t[1],o=n[0];return function(t){return o(Qn(e,r,t))}}(t,l):function(t,n){var e=t.length,r=e-1;return function(o){var i=0,a=!1;if(o<=t[0]?a=!0:o>=t[r]&&(i=r-1,a=!0),!a){for(var u=1;u<e&&!(t[u]>o||u===r);u++);i=u-1}var s=Qn(t[i],t[i+1],o);return n[i](s)}}(t,l);return i?function(n){return c(Zn(t[0],t[s-1],n))}:c}var ke,Le=function(t){return function(n){return 1-t(1-n)}},Re=function(t){return function(n){return n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2}},De=function(t){return function(n){return n*n*((t+1)*n-t)}},je=function(t){return t},Oe=(ke=2,function(t){return Math.pow(t,ke)}),Be=Le(Oe),Ie=Re(Oe),Fe=function(t){return 1-Math.sin(Math.acos(t))},_e=Le(Fe),Ue=Re(_e),He=De(1.525),Ne=Le(He),Xe=Re(He),Ze=function(t){var n=De(t);return function(t){return(t*=2)<1?.5*n(t):.5*(2-Math.pow(2,-10*(t-1)))}}(1.525),ze=function(t){if(1===t||0===t)return t;var n=t*t;return t<.36363636363636365?7.5625*n:t<.7272727272727273?9.075*n-9.9*t+3.4:t<.9?12.066481994459833*n-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},Ye=Le(ze);function We(t,n){return t.map((function(){return n||Ie})).splice(0,t.length-1)}function qe(t){var n=t.from,e=void 0===n?0:n,r=t.to,o=void 0===r?1:r,i=t.ease,a=t.offset,u=t.duration,s=void 0===u?300:u,l={done:!1,value:e},c=Array.isArray(o)?o:[e,o],f=function(t,n){return t.map((function(t){return t*n}))}(a&&a.length===c.length?a:function(t){var n=t.length;return t.map((function(t,e){return 0!==e?e/(n-1):0}))}(c),s);function d(){return Ve(f,c,{ease:Array.isArray(i)?i:We(c,i)})}var v=d();return{next:function(t){return l.value=v(t),l.done=t>=s,l},flipTarget:function(){c.reverse(),v=d()}}}var Ge={keyframes:qe,spring:$n,decay:function(t){var n=t.velocity,e=void 0===n?0:n,r=t.from,o=void 0===r?0:r,i=t.power,a=void 0===i?.8:i,u=t.timeConstant,s=void 0===u?350:u,l=t.restDelta,c=void 0===l?.5:l,f=t.modifyTarget,d={done:!1,value:o},v=a*e,p=o+v,m=void 0===f?p:f(p);return m!==p&&(v=m-o),{next:function(t){var n=-v*Math.exp(-t/s);return d.done=!(n>c||n<-c),d.value=d.done?m:m+n,d},flipTarget:function(){}}}};var Ke=1/60*1e3,$e="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},Je="undefined"!=typeof window?function(t){return window.requestAnimationFrame(t)}:function(t){return setTimeout((function(){return t($e())}),Ke)};var Qe=!0,tr=!1,nr=!1,er={delta:0,timestamp:0},rr=["read","update","preRender","render","postRender"],or=rr.reduce((function(t,n){return t[n]=function(t){var n=[],e=[],r=0,o=!1,i=new WeakSet,a={schedule:function(t,a,u){void 0===a&&(a=!1),void 0===u&&(u=!1);var s=u&&o,l=s?n:e;return a&&i.add(t),-1===l.indexOf(t)&&(l.push(t),s&&o&&(r=n.length)),t},cancel:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),i.delete(t)},process:function(u){var s;if(o=!0,n=(s=[e,n])[0],(e=s[1]).length=0,r=n.length)for(var l=0;l<r;l++){var c=n[l];c(u),i.has(c)&&(a.schedule(c),t())}o=!1}};return a}((function(){return tr=!0})),t}),{}),ir=rr.reduce((function(t,n){var e=or[n];return t[n]=function(t,n,r){return void 0===n&&(n=!1),void 0===r&&(r=!1),tr||cr(),e.schedule(t,n,r)},t}),{}),ar=rr.reduce((function(t,n){return t[n]=or[n].cancel,t}),{}),ur=rr.reduce((function(t,n){return t[n]=function(){return or[n].process(er)},t}),{}),sr=function(t){return or[t].process(er)},lr=function t(n){tr=!1,er.delta=Qe?Ke:Math.max(Math.min(n-er.timestamp,40),1),er.timestamp=n,nr=!0,rr.forEach(sr),nr=!1,tr&&(Qe=!1,Je(t))},cr=function(){tr=!0,Qe=!0,nr||Je(lr)},fr=function(){return er},dr=ir;function vr(t,n,e){return void 0===e&&(e=0),t-n-e}var pr=function(t){var n=function(n){var e=n.delta;return t(e)};return{start:function(){return dr.update(n,!0)},stop:function(){return ar.update(n)}}};function mr(t){var n,e,r,o,i,a=t.from,u=t.autoplay,s=void 0===u||u,l=t.driver,c=void 0===l?pr:l,f=t.elapsed,d=void 0===f?0:f,v=t.repeat,p=void 0===v?0:v,m=t.repeatType,h=void 0===m?"loop":m,g=t.repeatDelay,y=void 0===g?0:g,x=t.onPlay,b=t.onStop,w=t.onComplete,E=t.onRepeat,A=t.onUpdate,P=T(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),S=P.to,M=0,V=P.duration,k=!1,L=!0,R=function(t){if(Array.isArray(t.to))return qe;if(Ge[t.type])return Ge[t.type];var n=new Set(Object.keys(t));return n.has("ease")||n.has("duration")&&!n.has("dampingRatio")?qe:n.has("dampingRatio")||n.has("stiffness")||n.has("mass")||n.has("damping")||n.has("restSpeed")||n.has("restDelta")?$n:qe}(P);(null===(e=(n=R).needsInterpolation)||void 0===e?void 0:e.call(n,a,S))&&(i=Ve([0,100],[a,S],{clamp:!1}),a=0,S=100);var D=R(C(C({},P),{from:a,to:S}));function j(){M++,"reverse"===h?d=function(t,n,e,r){return void 0===e&&(e=0),void 0===r&&(r=!0),r?vr(n+-t,n,e):n-(t-n)+e}(d,V,y,L=M%2==0):(d=vr(d,V,y),"mirror"===h&&D.flipTarget()),k=!1,E&&E()}function O(t){if(L||(t=-t),d+=t,!k){var n=D.next(Math.max(0,d));o=n.value,i&&(o=i(o)),k=L?n.done:d<=0}null==A||A(o),k&&(0===M&&(null!=V||(V=d)),M<p?function(t,n,e,r){return r?t>=n+e:t<=-e}(d,V,y,L)&&j():(r.stop(),w&&w()))}return s&&(null==x||x(),(r=c(O)).start()),{stop:function(){null==b||b(),r.stop()}}}function hr(t,n){return n?t*(1e3/n):0}var gr=function(t){return 1e3*t},yr=function(t,n){return 1-3*n+3*t},xr=function(t,n){return 3*n-6*t},br=function(t){return 3*t},wr=function(t,n,e){return((yr(n,e)*t+xr(n,e))*t+br(n))*t},Er=function(t,n,e){return 3*yr(n,e)*t*t+2*xr(n,e)*t+br(n)};var Ar=.1;function Pr(t,n,e,r){if(t===n&&e===r)return je;for(var o=new Float32Array(11),i=0;i<11;++i)o[i]=wr(i*Ar,t,e);function a(n){for(var r=0,i=1;10!==i&&o[i]<=n;++i)r+=Ar;--i;var a=r+(n-o[i])/(o[i+1]-o[i])*Ar,u=Er(a,t,e);return u>=.001?function(t,n,e,r){for(var o=0;o<8;++o){var i=Er(n,e,r);if(0===i)return n;n-=(wr(n,e,r)-t)/i}return n}(n,a,t,e):0===u?a:function(t,n,e,r,o){var i,a,u=0;do{(i=wr(a=n+(e-n)/2,r,o)-t)>0?e=a:n=a}while(Math.abs(i)>1e-7&&++u<10);return a}(n,r,r+Ar,t,e)}return function(t){return 0===t||1===t?t:wr(a(t),n,r)}}var Cr={linear:je,easeIn:Oe,easeInOut:Ie,easeOut:Be,circIn:Fe,circInOut:Ue,circOut:_e,backIn:He,backInOut:Xe,backOut:Ne,anticipate:Ze,bounceIn:Ye,bounceInOut:function(t){return t<.5?.5*(1-ze(1-2*t)):.5*ze(2*t-1)+.5},bounceOut:ze},Tr=function(t){if(Array.isArray(t)){t.length;var n=S(t,4);return Pr(n[0],n[1],n[2],n[3])}return"string"==typeof t?Cr[t]:t},Sr=function(t,n){return"zIndex"!==t&&(!("number"!=typeof n&&!Array.isArray(n))||!("string"!=typeof n||!be.test(n)||n.startsWith("url(")))},Mr=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Vr=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},kr=function(){return{type:"keyframes",ease:"linear",duration:.3}},Lr=function(t){return{type:"keyframes",duration:.8,values:t}},Rr={x:Mr,y:Mr,z:Mr,rotate:Mr,rotateX:Mr,rotateY:Mr,rotateZ:Mr,scaleX:Vr,scaleY:Vr,scale:Vr,opacity:kr,backgroundColor:kr,color:kr,default:Vr},Dr=new Set(["brightness","contrast","saturate","opacity"]);function jr(t){var n=t.slice(0,-1).split("("),e=n[0],r=n[1];if("drop-shadow"===e)return t;var o=(r.match(wt)||[])[0];if(!o)return t;var i=r.replace(o,""),a=Dr.has(e)?1:0;return o!==r&&(a*=100),e+"("+a+i+")"}var Or=/([a-z-]*)\(.*?\)/g,Br=C(C({},be),{getAnimatableNone:function(t){var n=t.match(Or);return n?n.map(jr).join(" "):t}}),Ir=C(C({},Bt),{color:ve,backgroundColor:ve,outlineColor:ve,fill:ve,stroke:ve,borderColor:ve,borderTopColor:ve,borderRightColor:ve,borderBottomColor:ve,borderLeftColor:ve,filter:Br,WebkitFilter:Br}),Fr=function(t){return Ir[t]};function _r(t,n){var e,r=Fr(t);return r!==Br&&(r=be),null===(e=r.getAnimatableNone)||void 0===e?void 0:e.call(r,n)}function Ur(t){var n=t.ease,e=t.times,r=t.yoyo,o=t.flip,i=t.loop,a=T(t,["ease","times","yoyo","flip","loop"]),u=C({},a);return e&&(u.offset=e),a.duration&&(u.duration=gr(a.duration)),a.repeatDelay&&(u.repeatDelay=gr(a.repeatDelay)),n&&(u.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(n)?n.map(Tr):Tr(n)),"tween"===a.type&&(u.type="keyframes"),(r||i||o)&&(!0,r?u.repeatType="reverse":i?u.repeatType="loop":o&&(u.repeatType="mirror"),u.repeat=i||r||o||a.repeat),"spring"!==a.type&&(u.type="keyframes"),u}function Hr(t,n,e){var r,o,i,a;return Array.isArray(n.to)&&(null!==(r=t.duration)&&void 0!==r||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=M([],S(t.to)),t.to[0]=t.from)}(n),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var n=T(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(n).length}(t)||(t=C(C({},t),(o=e,i=n.to,a=ln(i)?Lr:Rr[o]||Rr.default,C({to:i},a(i))))),C(C({},n),Ur(t))}function Nr(t,n,e,r,o){var i,a=zr(r,t),u=null!==(i=a.from)&&void 0!==i?i:n.get(),s=Sr(t,e);"none"===u&&s&&"string"==typeof e?u=_r(t,e):Xr(u)&&"string"==typeof e?u=Zr(e):!Array.isArray(e)&&Xr(e)&&"string"==typeof u&&(e=Zr(u));var l=Sr(t,u);return l&&s&&!1!==a.type?function(){var r={from:u,to:e,velocity:n.getVelocity(),onComplete:o,onUpdate:function(t){return n.set(t)}};return"inertia"===a.type||"decay"===a.type?function(t){var n,e=t.from,r=void 0===e?0:e,o=t.velocity,i=void 0===o?0:o,a=t.min,u=t.max,s=t.power,l=void 0===s?.8:s,c=t.timeConstant,f=void 0===c?750:c,d=t.bounceStiffness,v=void 0===d?500:d,p=t.bounceDamping,m=void 0===p?10:p,h=t.restDelta,g=void 0===h?1:h,y=t.modifyTarget,x=t.driver,b=t.onUpdate,w=t.onComplete;function E(t){return void 0!==a&&t<a||void 0!==u&&t>u}function A(t){return void 0===a?u:void 0===u||Math.abs(a-t)<Math.abs(u-t)?a:u}function P(t){null==n||n.stop(),n=mr(C(C({},t),{driver:x,onUpdate:function(n){var e;null==b||b(n),null===(e=t.onUpdate)||void 0===e||e.call(t,n)},onComplete:w}))}function T(t){P(C({type:"spring",stiffness:v,damping:m,restDelta:g},t))}if(E(r))T({from:r,velocity:i,to:A(r)});else{var S=l*i+r;void 0!==y&&(S=y(S));var M,V,k=A(S),L=k===a?-1:1;P({type:"decay",from:r,velocity:i,timeConstant:f,power:l,restDelta:g,modifyTarget:y,onUpdate:E(S)?function(t){M=V,V=t,i=hr(t-M,fr().delta),(1===L&&t>k||-1===L&&t<k)&&T({from:t,to:k,velocity:i})}:void 0})}return{stop:function(){return null==n?void 0:n.stop()}}}(C(C({},r),a)):mr(C(C({},Hr(a,r,t)),{onUpdate:function(t){var n;r.onUpdate(t),null===(n=a.onUpdate)||void 0===n||n.call(a,t)},onComplete:function(){var t;r.onComplete(),null===(t=a.onComplete)||void 0===t||t.call(a)}}))}:function(){var t;return n.set(e),o(),null===(t=null==a?void 0:a.onComplete)||void 0===t||t.call(a),{stop:function(){}}}}function Xr(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function Zr(t){return"number"==typeof t?0:_r("",t)}function zr(t,n){return t[n]||t.default||t}function Yr(t,n,e,r){return void 0===r&&(r={}),n.start((function(o){var i,a,u=Nr(t,n,e,r,o),s=function(t,n){var e;return null!==(e=(zr(t,n)||{}).delay)&&void 0!==e?e:0}(r,t),l=function(){return a=u()};return s?i=setTimeout(l,gr(s)):l(),function(){clearTimeout(i),null==a||a.stop()}}))}function Wr(t,n){-1===t.indexOf(n)&&t.push(n)}function qr(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var Gr=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var n=this;return Wr(this.subscriptions,t),function(){return qr(n.subscriptions,t)}},t.prototype.notify=function(t,n,e){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,n,e);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(t,n,e)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),Kr=function(){function t(t){var n,e=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Gr,this.velocityUpdateSubscribers=new Gr,this.renderSubscribers=new Gr,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=fr(),o=r.delta,i=r.timestamp;e.lastUpdated!==i&&(e.timeDelta=o,e.lastUpdated=i,dr.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.updateSubscribers.notify(e.current),e.velocityUpdateSubscribers.getSize()&&e.velocityUpdateSubscribers.notify(e.getVelocity()),n&&e.renderSubscribers.notify(e.current)},this.scheduleVelocityCheck=function(){return dr.postRender(e.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==e.lastUpdated&&(e.prev=e.current,e.velocityUpdateSubscribers.notify(e.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(n=this.current,!isNaN(parseFloat(n)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,n){void 0===n&&(n=!0),n&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,n)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?hr(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var n=this;return this.stop(),new Promise((function(e){n.hasAnimated=!0,n.stopAnimation=t(e)})).then((function(){return n.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function $r(t){return new Kr(t)}var Jr=function(t){return function(n){return n.test(t)}},Qr=[Rt,Mt,St,Tt,kt,Vt,{test:function(t){return"auto"===t},parse:function(t){return t}}],to=function(t){return Qr.find(Jr(t))},no=M(M([],S(Qr)),[ve,be]),eo=function(t){return no.find(Jr(t))};function ro(t,n,e){t.hasValue(n)?t.getValue(n).set(e):t.addValue(n,$r(e))}function oo(t,n){var e=$(t,n),r=e?t.makeTargetAnimatable(e,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a,u=T(r,["transitionEnd","transition"]);for(var s in u=C(C({},u),i)){ro(t,s,(a=u[s],ln(a)?a[a.length-1]||0:a))}}function io(t,n){if(n)return(n[t]||n.default||n).from}function ao(t,n,e){var r;void 0===e&&(e={});var o=$(t,n,e.custom),i=(o||{}).transition,a=void 0===i?t.getDefaultTransition()||{}:i;e.transitionOverride&&(a=e.transitionOverride);var u=o?function(){return uo(t,o,e)}:function(){return Promise.resolve()},s=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,u=a.staggerChildren,s=a.staggerDirection;return function(t,n,e,r,o,i){void 0===e&&(e=0);void 0===r&&(r=0);void 0===o&&(o=1);var a=[],u=(t.variantChildren.size-1)*r,s=1===o?function(t){return void 0===t&&(t=0),t*r}:function(t){return void 0===t&&(t=0),u-t*r};return Array.from(t.variantChildren).sort(so).forEach((function(t,r){a.push(ao(t,n,C(C({},i),{delay:e+s(r)})).then((function(){return t.notifyAnimationComplete(n)})))})),Promise.all(a)}(t,n,i+r,u,s,e)}:function(){return Promise.resolve()},l=a.when;if(l){var c=S("beforeChildren"===l?[u,s]:[s,u],2),f=c[0],d=c[1];return f().then(d)}return Promise.all([u(),s(e.delay)])}function uo(t,n,e){var r,o=void 0===e?{}:e,i=o.delay,a=void 0===i?0:i,u=o.transitionOverride,s=o.type,l=t.makeTargetAnimatable(n),c=l.transition,f=void 0===c?t.getDefaultTransition():c,d=l.transitionEnd,v=T(l,["transition","transitionEnd"]);u&&(f=u);var p=[],m=s&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[s]);for(var h in v){var g=t.getValue(h),y=v[h];if(!(!g||void 0===y||m&&lo(m,h))){var x=Yr(h,g,y,C({delay:a},f));p.push(x)}}return Promise.all(p).then((function(){d&&oo(t,d)}))}function so(t,n){return t.sortNodePosition(n)}function lo(t,n){var e=t.protectedKeys,r=t.needsAnimating,o=e.hasOwnProperty(n)&&!0!==r[n];return r[n]=!1,o}var co=[mn.Animate,mn.Hover,mn.Tap,mn.Drag,mn.Focus,mn.Exit],fo=M([],S(co)).reverse(),vo=co.length;function po(t){return function(n){return Promise.all(n.map((function(n){var e=n.animation,r=n.options;return function(t,n,e){var r;if(void 0===e&&(e={}),t.notifyAnimationStart(),Array.isArray(n)){var o=n.map((function(n){return ao(t,n,e)}));r=Promise.all(o)}else if("string"==typeof n)r=ao(t,n,e);else{var i="function"==typeof n?$(t,n,e.custom):n;r=uo(t,i,e)}return r.then((function(){return t.notifyAnimationComplete(n)}))}(t,e,r)})))}}function mo(t){var n,e=po(t),r=((n={})[mn.Animate]=ho(!0),n[mn.Hover]=ho(),n[mn.Tap]=ho(),n[mn.Drag]=ho(),n[mn.Focus]=ho(),n[mn.Exit]=ho(),n),o={},i=!0,a=function(n,e){var r=$(t,e);if(r){r.transition;var o=r.transitionEnd,i=T(r,["transition","transitionEnd"]);n=C(C(C({},n),i),o)}return n};function u(n,u){for(var s,l=t.getProps(),c=t.getVariantContext(!0)||{},f=[],d=new Set,v={},p=1/0,m=function(e){var o=fo[e],m=r[o],h=null!==(s=l[o])&&void 0!==s?s:c[o],g=G(h),y=o===u?m.isActive:null;!1===y&&(p=e);var x=h===c[o]&&h!==l[o]&&g;if(x&&i&&t.manuallyAnimateOnMount&&(x=!1),m.protectedKeys=C({},v),!m.isActive&&null===y||!h&&!m.prevProp||sn(h)||"boolean"==typeof h)return"continue";var b=function(t,n){if("string"==typeof n)return n!==t;if(q(n))return!Xn(n,t);return!1}(m.prevProp,h)||o===u&&m.isActive&&!x&&g||e>p&&g,w=Array.isArray(h)?h:[h],E=w.reduce(a,{});!1===y&&(E={});var A=m.prevResolvedValues,P=void 0===A?{}:A,T=C(C({},P),E),V=function(t){b=!0,d.delete(t),m.needsAnimating[t]=!0};for(var k in T){var L=E[k],R=P[k];v.hasOwnProperty(k)||(L!==R?ln(L)&&ln(R)?Xn(L,R)?m.protectedKeys[k]=!0:V(k):void 0!==L?V(k):d.add(k):void 0!==L&&d.has(k)?V(k):m.protectedKeys[k]=!0)}m.prevProp=h,m.prevResolvedValues=E,m.isActive&&(v=C(C({},v),E)),i&&t.blockInitialAnimation&&(b=!1),b&&!x&&f.push.apply(f,M([],S(w.map((function(t){return{animation:t,options:C({type:o},n)}})))))},h=0;h<vo;h++)m(h);if(o=C({},v),d.size){var g={};d.forEach((function(n){var e=t.getBaseTarget(n);void 0!==e&&(g[n]=e)})),f.push({animation:g})}var y=Boolean(f.length);return i&&!1===l.initial&&!t.manuallyAnimateOnMount&&(y=!1),i=!1,y?e(f):Promise.resolve()}return{isAnimated:function(t){return void 0!==o[t]},animateChanges:u,setActive:function(n,e,o){var i;return r[n].isActive===e?Promise.resolve():(null===(i=t.variantChildren)||void 0===i||i.forEach((function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(n,e)})),r[n].isActive=e,u(o,n))},setAnimateFunction:function(n){e=n(t)},getState:function(){return r}}}function ho(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var go={animation:Hn((function(t){var n=t.visualElement,e=t.animate;n.animationState||(n.animationState=mo(n)),sn(e)&&(0,r.useEffect)((function(){return e.subscribe(n)}),[e])})),exit:Hn((function(t){var n=t.custom,e=t.visualElement,o=S(F(),2),i=o[0],a=o[1],u=(0,r.useContext)(B);(0,r.useEffect)((function(){var t,r,o=null===(t=e.animationState)||void 0===t?void 0:t.setActive(mn.Exit,!i,{custom:null!==(r=null==u?void 0:u.custom)&&void 0!==r?r:n});!i&&(null==o||o.then(a))}),[i])}))},yo=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},xo=function(t){return yo(t)&&t.hasOwnProperty("z")},bo=function(t,n){return Math.abs(t-n)};function wo(t,n){if(we(t)&&we(n))return bo(t,n);if(yo(t)&&yo(n)){var e=bo(t.x,n.x),r=bo(t.y,n.y),o=xo(t)&&xo(n)?bo(t.z,n.z):0;return Math.sqrt(Math.pow(e,2)+Math.pow(r,2)+Math.pow(o,2))}}var Eo=function(){function t(t,n,e){var r=this,o=(void 0===e?{}:e).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=Co(r.lastMoveEventInfo,r.history),n=null!==r.startEvent,e=wo(t.offset,{x:0,y:0})>=3;if(n||e){var o=t.point,i=fr().timestamp;r.history.push(C(C({},o),{timestamp:i}));var a=r.handlers,u=a.onStart,s=a.onMove;n||(u&&u(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,n){r.lastMoveEvent=t,r.lastMoveEventInfo=Ao(n,r.transformPagePoint),xn(t)&&0===t.buttons?r.handlePointerUp(t,n):dr.update(r.updatePoint,!0)},this.handlePointerUp=function(t,n){r.end();var e=r.handlers,o=e.onEnd,i=e.onSessionEnd,a=Co(Ao(n,r.transformPagePoint),r.history);r.startEvent&&o&&o(t,a),i&&i(t,a)},!(bn(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=o;var i=Ao(Pn(t),this.transformPagePoint),a=i.point,u=fr().timestamp;this.history=[C(C({},a),{timestamp:u})];var s=n.onSessionStart;s&&s(t,Co(i,this.history)),this.removeListeners=Un(Vn(window,"pointermove",this.handlePointerMove),Vn(window,"pointerup",this.handlePointerUp),Vn(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),ar.update(this.updatePoint)},t}();function Ao(t,n){return n?{point:n(t.point)}:t}function Po(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Co(t,n){var e=t.point;return{point:e,delta:Po(e,So(n)),offset:Po(e,To(n)),velocity:Mo(n,.1)}}function To(t){return t[0]}function So(t){return t[t.length-1]}function Mo(t,n){if(t.length<2)return{x:0,y:0};for(var e=t.length-1,r=null,o=So(t);e>=0&&(r=t[e],!(o.timestamp-r.timestamp>gr(n)));)e--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Vo(t){return t}function ko(t){var n=t.top;return{x:{min:t.left,max:t.right},y:{min:n,max:t.bottom}}}var Lo={translate:0,scale:1,origin:0,originPoint:0};function Ro(){return{x:C({},Lo),y:C({},Lo)}}function Do(t){return[t("x"),t("y")]}function jo(t,n,e){var r=n.min,o=n.max;return void 0!==r&&t<r?t=e?te(r,t,e.min):Math.max(t,r):void 0!==o&&t>o&&(t=e?te(o,t,e.max):Math.min(t,o)),t}function Oo(t,n,e){return{min:void 0!==n?t.min+n:void 0,max:void 0!==e?t.max+e-(t.max-t.min):void 0}}function Bo(t,n){var e,r=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&(r=(e=S([o,r],2))[0],o=e[1]),{min:t.min+r,max:t.min+o}}function Io(t,n,e){return{min:Fo(t,n),max:Fo(t,e)}}function Fo(t,n){var e;return"number"==typeof t?t:null!==(e=t[n])&&void 0!==e?e:0}function _o(t,n){return ko(function(t,n){var e=t.top,r=t.left,o=t.bottom,i=t.right;void 0===n&&(n=Vo);var a=n({x:r,y:e}),u=n({x:i,y:o});return{top:a.y,left:a.x,bottom:u.y,right:u.x}}(t.getBoundingClientRect(),n))}function Uo(t,n,e){return void 0===n&&(n=0),void 0===e&&(e=.01),wo(t,n)<e}function Ho(t){return t.max-t.min}function No(t,n){var e=.5,r=Ho(t),o=Ho(n);return o>r?e=Qn(n.min,n.max-r,t.min):r>o&&(e=Qn(t.min,t.max-o,n.min)),Zn(0,1,e)}function Xo(t,n,e,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=te(n.min,n.max,t.origin),t.scale=Ho(e)/Ho(n),Uo(t.scale,1,1e-4)&&(t.scale=1),t.translate=te(e.min,e.max,t.origin)-t.originPoint,Uo(t.translate)&&(t.translate=0)}function Zo(t,n,e,r){Xo(t.x,n.x,e.x,zo(r.originX)),Xo(t.y,n.y,e.y,zo(r.originY))}function zo(t){return"number"==typeof t?t:.5}function Yo(t,n,e){t.min=e.min+n.min,t.max=t.min+Ho(n)}var Wo=function(t,n){return t.depth-n.depth};function qo(t){return t.projection.isEnabled||t.shouldResetTransform()}function Go(t,n){void 0===n&&(n=[]);var e=t.parent;return e&&Go(e,n),qo(t)&&n.push(t),n}function Ko(t){if(!t.shouldResetTransform()){var n,e=t.getLayoutState();t.notifyBeforeLayoutMeasure(e.layout),e.isHydrated=!0,e.layout=t.measureViewportBox(),e.layoutCorrected=(n=e.layout,{x:C({},n.x),y:C({},n.y)}),t.notifyLayoutMeasure(e.layout,t.prevViewportBox||e.layout),dr.update((function(){return t.rebaseProjectionTarget()}))}}function $o(t,n){return{min:n.min-t.min,max:n.max-t.min}}function Jo(t,n){return{x:$o(t.x,n.x),y:$o(t.y,n.y)}}function Qo(t,n){var e=t.getLayoutId(),r=n.getLayoutId();return e!==r||void 0===r&&t!==n}function ti(t){var n=t.getProps(),e=n.drag,r=n._dragX;return e&&!r}function ni(t,n){t.min=n.min,t.max=n.max}function ei(t,n,e){return e+n*(t-e)}function ri(t,n,e,r,o){return void 0!==o&&(t=ei(t,o,r)),ei(t,e,r)+n}function oi(t,n,e,r,o){void 0===n&&(n=0),void 0===e&&(e=1),t.min=ri(t.min,n,e,r,o),t.max=ri(t.max,n,e,r,o)}function ii(t,n){var e=n.x,r=n.y;oi(t.x,e.translate,e.scale,e.originPoint),oi(t.y,r.translate,r.scale,r.originPoint)}function ai(t,n,e,r){var o=S(r,3),i=o[0],a=o[1],u=o[2];t.min=n.min,t.max=n.max;var s=void 0!==e[u]?e[u]:.5,l=te(n.min,n.max,s);oi(t,e[i],e[a],l,e.scale)}var ui=["x","scaleX","originX"],si=["y","scaleY","originY"];function li(t,n,e){ai(t.x,n.x,e,ui),ai(t.y,n.y,e,si)}function ci(t,n,e,r,o){return t=ei(t-=n,1/e,r),void 0!==o&&(t=ei(t,1/o,r)),t}function fi(t,n,e){var r=S(e,3),o=r[0],i=r[1],a=r[2];!function(t,n,e,r,o){void 0===n&&(n=0),void 0===e&&(e=1),void 0===r&&(r=.5);var i=te(t.min,t.max,r)-n;t.min=ci(t.min,n,e,i,o),t.max=ci(t.max,n,e,i,o)}(t,n[o],n[i],n[a],n.scale)}function di(t,n){fi(t.x,n,ui),fi(t.y,n,si)}var vi=new Set;function pi(t,n,e){t[e]||(t[e]=[]),t[e].push(n)}function mi(t){return vi.add(t),function(){return vi.delete(t)}}function hi(){if(vi.size){var t=0,n=[[]],e=[],r=function(e){return pi(n,e,t)},o=function(n){pi(e,n,t),t++};vi.forEach((function(n){n(r,o),t=0})),vi.clear();for(var i=e.length,a=0;a<=i;a++)n[a]&&n[a].forEach(yi),e[a]&&e[a].forEach(yi)}}var gi,yi=function(t){return t()},xi=new WeakMap,bi=function(){function t(t){var n=t.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic={x:{min:0,max:1},y:{min:0,max:1}},this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=n,this.visualElement.enableLayoutProjection(),xi.set(n,this)}return t.prototype.start=function(t,n){var e=this,r=void 0===n?{}:n,o=r.snapToCursor,i=void 0!==o&&o,a=r.cursorProgress,u=this.props.transformPagePoint;this.panSession=new Eo(t,{onSessionStart:function(t){var n;e.stopMotion();var r=function(t){return Pn(t,"client")}(t).point;null===(n=e.cancelLayout)||void 0===n||n.call(e),e.cancelLayout=mi((function(t,n){var o=Go(e.visualElement),u=function(t){var n=[];return t.children.forEach((function t(e){qo(e)&&n.push(e),e.children.forEach(t)})),n.sort(Wo)}(e.visualElement),s=M(M([],S(o)),S(u)),l=!1;e.isLayoutDrag()&&e.visualElement.lockProjectionTarget(),n((function(){s.forEach((function(t){return t.resetTransform()}))})),t((function(){Ko(e.visualElement),u.forEach(Ko)})),n((function(){s.forEach((function(t){return t.restoreTransform()})),i&&(l=e.snapToCursor(r))})),t((function(){Boolean(e.getAxisMotionValue("x")&&!e.isExternalDrag())||e.visualElement.rebaseProjectionTarget(!0,e.visualElement.measureViewportBox(!1)),e.visualElement.scheduleUpdateLayoutProjection();var t=e.visualElement.projection;Do((function(n){if(!l){var o=t.target[n],i=o.min,u=o.max;e.cursorProgress[n]=a?a[n]:Qn(i,u,r[n])}var s=e.getAxisMotionValue(n);s&&(e.originPoint[n]=s.get())}))})),n((function(){ur.update(),ur.preRender(),ur.render(),ur.postRender()})),t((function(){return e.resolveDragConstraints()}))}))},onStart:function(t,n){var r,o,i,a=e.props,u=a.drag,s=a.dragPropagation;(!u||s||(e.openGlobalLock&&e.openGlobalLock(),e.openGlobalLock=jn(u),e.openGlobalLock))&&(hi(),e.isDragging=!0,e.currentDirection=null,null===(o=(r=e.props).onDragStart)||void 0===o||o.call(r,t,n),null===(i=e.visualElement.animationState)||void 0===i||i.setActive(mn.Drag,!0))},onMove:function(t,n){var r,o,i,a,u=e.props,s=u.dragPropagation,l=u.dragDirectionLock;if(s||e.openGlobalLock){var c=n.offset;if(l&&null===e.currentDirection)return e.currentDirection=function(t,n){void 0===n&&(n=10);var e=null;Math.abs(t.y)>n?e="y":Math.abs(t.x)>n&&(e="x");return e}(c),void(null!==e.currentDirection&&(null===(o=(r=e.props).onDirectionLock)||void 0===o||o.call(r,e.currentDirection)));e.updateAxis("x",n.point,c),e.updateAxis("y",n.point,c),null===(a=(i=e.props).onDrag)||void 0===a||a.call(i,t,n),gi=t}},onSessionEnd:function(t,n){return e.stop(t,n)}},{transformPagePoint:u})},t.prototype.resolveDragConstraints=function(){var t=this,n=this.props,e=n.dragConstraints,r=n.dragElastic,o=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!e&&(W(e)?this.resolveRefConstraints(o,e):function(t,n){var e=n.top,r=n.left,o=n.bottom,i=n.right;return{x:Oo(t.x,r,i),y:Oo(t.y,e,o)}}(o,e)),this.elastic=function(t){return!1===t?t=0:!0===t&&(t=.35),{x:Io(t,"left","right"),y:Io(t,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Do((function(n){t.getAxisMotionValue(n)&&(t.constraints[n]=function(t,n){var e={};return void 0!==n.min&&(e.min=n.min-t.min),void 0!==n.max&&(e.max=n.max-t.min),e}(o[n],t.constraints[n]))}))},t.prototype.resolveRefConstraints=function(t,n){var e=this.props,r=e.onMeasureDragConstraints,o=e.transformPagePoint,i=n.current;this.constraintsBox=_o(i,o);var a=function(t,n){return{x:Bo(t.x,n.x),y:Bo(t.y,n.y)}}(t,this.constraintsBox);if(r){var u=r(function(t){var n=t.x,e=t.y;return{top:e.min,bottom:e.max,left:n.min,right:n.max}}(a));this.hasMutatedConstraints=!!u,u&&(a=ko(u))}return a},t.prototype.cancelDrag=function(){var t,n;this.visualElement.unlockProjectionTarget(),null===(t=this.cancelLayout)||void 0===t||t.call(this),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(mn.Drag,!1)},t.prototype.stop=function(t,n){var e,r,o;null===(e=this.panSession)||void 0===e||e.end(),this.panSession=null;var i=this.isDragging;if(this.cancelDrag(),i){var a=n.velocity;this.animateDragEnd(a),null===(o=(r=this.props).onDragEnd)||void 0===o||o.call(r,t,n)}},t.prototype.snapToCursor=function(t){var n=this;return Do((function(e){if(wi(e,n.props.drag,n.currentDirection)){var r=n.getAxisMotionValue(e);if(!r)return n.cursorProgress[e]=.5,!0;var o=n.visualElement.getLayoutState().layout,i=o[e].max-o[e].min,a=o[e].min+i/2,u=t[e]-a;n.originPoint[e]=t[e],r.set(u)}})).includes(!0)},t.prototype.updateAxis=function(t,n,e){if(wi(t,this.props.drag,this.currentDirection))return this.getAxisMotionValue(t)?this.updateAxisMotionValue(t,e):this.updateVisualElementAxis(t,n)},t.prototype.updateAxisMotionValue=function(t,n){var e=this.getAxisMotionValue(t);if(n&&e){var r=this.originPoint[t]+n[t],o=this.constraints?jo(r,this.constraints[t],this.elastic[t]):r;e.set(o)}},t.prototype.updateVisualElementAxis=function(t,n){var e,r=this.visualElement.getLayoutState().layout[t],o=r.max-r.min,i=this.cursorProgress[t],a=function(t,n,e,r,o){var i=t-n*e;return r?jo(i,r,o):i}(n[t],o,i,null===(e=this.constraints)||void 0===e?void 0:e[t],this.elastic[t]);this.visualElement.setProjectionTargetAxis(t,a,a+o)},t.prototype.setProps=function(t){var n=t.drag,e=void 0!==n&&n,r=t.dragDirectionLock,o=void 0!==r&&r,i=t.dragPropagation,a=void 0!==i&&i,u=t.dragConstraints,s=void 0!==u&&u,l=t.dragElastic,c=void 0===l?.35:l,f=t.dragMomentum,d=void 0===f||f,v=T(t,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=C({drag:e,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:d},v)},t.prototype.getAxisMotionValue=function(t){var n=this.props,e=n.layout,r=n.layoutId,o="_drag"+t.toUpperCase();return this.props[o]?this.props[o]:e||void 0!==r?void 0:this.visualElement.getValue(t,0)},t.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},t.prototype.isExternalDrag=function(){var t=this.props,n=t._dragX,e=t._dragY;return n||e},t.prototype.animateDragEnd=function(t){var n=this,e=this.props,r=e.drag,o=e.dragMomentum,i=e.dragElastic,a=e.dragTransition,u=function(t,n){void 0===n&&(n=!0);var e,r=t.getProjectionParent();return!!r&&(n?di(e=Jo(r.projection.target,t.projection.target),r.getLatestValues()):e=Jo(r.getLayoutState().layout,t.getLayoutState().layout),Do((function(n){return t.setProjectionTargetAxis(n,e[n].min,e[n].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),s=this.constraints||{};if(u&&Object.keys(s).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var c=Jo(l.projection.targetFinal,s);Do((function(t){var n=c[t],e=n.min,r=n.max;s[t]={min:isNaN(e)?void 0:e,max:isNaN(r)?void 0:r}}))}}var f=Do((function(e){var l;if(wi(e,r,n.currentDirection)){var c=null!==(l=null==s?void 0:s[e])&&void 0!==l?l:{},f=i?200:1e6,d=i?40:1e7,v=C(C({type:"inertia",velocity:o?t[e]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},a),c);return n.getAxisMotionValue(e)?n.startAxisValueAnimation(e,v):n.visualElement.startLayoutAnimation(e,v,u)}}));return Promise.all(f).then((function(){var t,e;null===(e=(t=n.props).onDragTransitionEnd)||void 0===e||e.call(t)}))},t.prototype.stopMotion=function(){var t=this;Do((function(n){var e=t.getAxisMotionValue(n);e?e.stop():t.visualElement.stopLayoutAnimation()}))},t.prototype.startAxisValueAnimation=function(t,n){var e=this.getAxisMotionValue(t);if(e){var r=e.get();return e.set(r),e.set(r),Yr(t,e,0,n)}},t.prototype.scalePoint=function(){var t=this,n=this.props,e=n.drag;if(W(n.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Do((function(n){r[n]=No(t.visualElement.projection.target[n],t.constraintsBox[n])})),this.updateConstraints((function(){Do((function(n){if(wi(n,e,null)){var o=function(t,n,e){var r=t.max-t.min,o=te(n.min,n.max-r,e);return{min:o,max:o+r}}(t.visualElement.projection.target[n],t.constraintsBox[n],r[n]),i=o.min,a=o.max;t.visualElement.setProjectionTargetAxis(n,i,a)}}))})),setTimeout(hi,1)}},t.prototype.updateConstraints=function(t){var n=this;this.cancelLayout=mi((function(e,r){var o=Go(n.visualElement);r((function(){return o.forEach((function(t){return t.resetTransform()}))})),e((function(){return Ko(n.visualElement)})),r((function(){return o.forEach((function(t){return t.restoreTransform()}))})),e((function(){n.resolveDragConstraints()})),t&&r(t)}))},t.prototype.mount=function(t){var n=this,e=Vn(t.getInstance(),"pointerdown",(function(t){var e=n.props,r=e.drag,o=e.dragListener;r&&(void 0===o||o)&&n.start(t)})),r=gn(window,"resize",(function(){n.scalePoint()})),o=t.onLayoutUpdate((function(){n.isDragging&&n.resolveDragConstraints()})),i=t.prevDragCursor;return i&&this.start(gi,{cursorProgress:i}),function(){null==e||e(),null==r||r(),null==o||o(),n.cancelDrag()}},t}();function wi(t,n,e){return!(!0!==n&&n!==t||null!==e&&e!==t)}var Ei,Ai,Pi={pan:Hn((function(t){var n=t.onPan,e=t.onPanStart,o=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,u=n||e||o||i,s=(0,r.useRef)(null),l=(0,r.useContext)(j).transformPagePoint,c={onSessionStart:i,onStart:e,onMove:n,onEnd:function(t,n){s.current=null,o&&o(t,n)}};(0,r.useEffect)((function(){null!==s.current&&s.current.updateHandlers(c)})),kn(a,"pointerdown",u&&function(t){s.current=new Eo(t,c,{transformPagePoint:l})}),Fn((function(){return s.current&&s.current.end()}))})),drag:Hn((function(t){var n=t.dragControls,e=t.visualElement,o=(0,r.useContext)(j).transformPagePoint,i=I((function(){return new bi({visualElement:e})}));i.setProps(C(C({},t),{transformPagePoint:o})),(0,r.useEffect)((function(){return n&&n.subscribe(i)}),[i]),(0,r.useEffect)((function(){return i.mount(e)}),[])}))};function Ci(t){return"string"==typeof t&&t.startsWith("var(--")}!function(t){t[t.Entering=0]="Entering",t[t.Present=1]="Present",t[t.Exiting=2]="Exiting"}(Ei||(Ei={})),function(t){t[t.Hide=0]="Hide",t[t.Show=1]="Show"}(Ai||(Ai={}));var Ti=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Si(t,n,e){void 0===e&&(e=1);var r=S(function(t){var n=Ti.exec(t);if(!n)return[,];var e=S(n,3);return[e[1],e[2]]}(t),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(n).getPropertyValue(o);return a?a.trim():Ci(i)?Si(i,n,e+1):i}}function Mi(t,n){return t/(n.max-n.min)*100}var Vi="_$css";var ki={process:function(t,n,e){var r=e.target;if("string"==typeof t){if(!Mt.test(t))return t;t=parseFloat(t)}return Mi(t,r.x)+"% "+Mi(t,r.y)+"%"}},Li={borderRadius:C(C({},ki),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ki,borderTopRightRadius:ki,borderBottomLeftRadius:ki,borderBottomRightRadius:ki,boxShadow:{process:function(t,n){var e=n.delta,r=n.treeScale,o=t,i=t.includes("var("),a=[];i&&(t=t.replace(Ti,(function(t){return a.push(t),Vi})));var u=be.parse(t);if(u.length>5)return o;var s=be.createTransformer(t),l="number"!=typeof u[0]?1:0,c=e.x.scale*r.x,f=e.y.scale*r.y;u[0+l]/=c,u[1+l]/=f;var d=te(c,f,.5);"number"==typeof u[2+l]&&(u[2+l]/=d),"number"==typeof u[3+l]&&(u[3+l]/=d);var v=s(u);if(i){var p=0;v=v.replace(Vi,(function(){var t=a[p];return p++,t}))}return v}}},Ri=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.frameTarget={x:{min:0,max:1},y:{min:0,max:1}},n.currentAnimationTarget={x:{min:0,max:1},y:{min:0,max:1}},n.isAnimating={x:!1,y:!1},n.stopAxisAnimation={x:void 0,y:void 0},n.isAnimatingTree=!1,n.animate=function(t,e,r){void 0===r&&(r={});var o=r.originBox,i=r.targetBox,a=r.visibilityAction,u=r.shouldStackAnimate,s=r.onComplete,l=r.prevParent,c=T(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),f=n.props,d=f.visualElement,v=f.layout;if(!1===u)return n.isAnimatingTree=!1,n.safeToRemove();if(!n.isAnimatingTree||!0===u){u&&(n.isAnimatingTree=!0),e=o||e,t=i||t;var p=!1,m=d.getProjectionParent();if(m){var h=m.prevViewportBox,g=m.getLayoutState().layout;l&&(i&&(g=l.getLayoutState().layout),o&&!Qo(l,m)&&l.prevViewportBox&&(h=l.prevViewportBox)),h&&Fi(l,o,i)&&(p=!0,e=Jo(h,e),t=Jo(g,t))}var y=Di(e,t),x=Do((function(r){var o,i;if("position"===v){var u=t[r].max-t[r].min;e[r].max=e[r].min+u}if(!d.projection.isTargetLocked)return void 0===a?y?n.animateAxis(r,t[r],e[r],C(C({},c),{isRelative:p})):(null===(i=(o=n.stopAxisAnimation)[r])||void 0===i||i.call(o),d.setProjectionTargetAxis(r,t[r].min,t[r].max,p)):void d.setVisibility(a===Ai.Show)}));return d.syncRender(),Promise.all(x).then((function(){n.isAnimatingTree=!1,s&&s(),d.notifyLayoutAnimationComplete()}))}},n}return P(n,t),n.prototype.componentDidMount=function(){var t=this,n=this.props.visualElement;n.animateMotionValue=Yr,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return t.safeToRemove()},function(t){for(var n in t)at[n]=t[n]}(Li)},n.prototype.componentWillUnmount=function(){var t=this;this.unsubLayoutReady(),Do((function(n){var e,r;return null===(r=(e=t.stopAxisAnimation)[n])||void 0===r?void 0:r.call(e)}))},n.prototype.animateAxis=function(t,n,e,r){var o,i,a=this,u=void 0===r?{}:r,s=u.transition,l=u.isRelative;if(!this.isAnimating[t]||!Bi(n,this.currentAnimationTarget[t])){null===(i=(o=this.stopAxisAnimation)[t])||void 0===i||i.call(o),this.isAnimating[t]=!0;var c=this.props.visualElement,f=this.frameTarget[t],d=c.getProjectionAnimationProgress()[t];d.clearListeners(),d.set(0),d.set(0);var v=function(){var r=d.get()/1e3;!function(t,n,e,r){t.min=te(n.min,e.min,r),t.max=te(n.max,e.max,r)}(f,e,n,r),c.setProjectionTargetAxis(t,f.min,f.max,l)};v();var p=d.onChange(v);this.stopAxisAnimation[t]=function(){a.isAnimating[t]=!1,d.stop(),p()},this.currentAnimationTarget[t]=n;var m=s||c.getDefaultTransition()||Ii;return Yr("x"===t?"layoutX":"layoutY",d,1e3,m&&zr(m,"layout")).then(this.stopAxisAnimation[t])}},n.prototype.safeToRemove=function(){var t,n;null===(n=(t=this.props).safeToRemove)||void 0===n||n.call(t)},n.prototype.render=function(){return null},n}(r.Component);function Di(t,n){return!(Oi(t)||Oi(n)||Bi(t.x,n.x)&&Bi(t.y,n.y))}var ji={min:0,max:0};function Oi(t){return Bi(t.x,ji)&&Bi(t.y,ji)}function Bi(t,n){return t.min===n.min&&t.max===n.max}var Ii={duration:.45,ease:[.4,0,.1,1]};function Fi(t,n,e){return t||!t&&!(n||e)}var _i={layoutReady:function(t){return t.notifyLayoutReady()}};function Ui(){var t=new Set;return{add:function(n){return t.add(n)},flush:function(n){var e=void 0===n?_i:n,r=e.layoutReady,o=e.parent;mi((function(n,e){var i=Array.from(t).sort(Wo),a=o?Go(o):[];e((function(){M(M([],S(a)),S(i)).forEach((function(t){return t.resetTransform()}))})),n((function(){i.forEach(Ko)})),e((function(){a.forEach((function(t){return t.restoreTransform()})),i.forEach(r)})),n((function(){i.forEach((function(t){t.isPresent&&(t.presence=Ei.Present)}))})),e((function(){ur.preRender(),ur.render()})),n((function(){dr.postRender((function(){return i.forEach(Hi)})),t.clear()}))})),hi()}}}function Hi(t){t.prevViewportBox=t.projection.target}var Ni=(0,r.createContext)(Ui()),Xi=(0,r.createContext)(Ui());function Zi(t){return!!t.forceUpdate}var zi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return P(n,t),n.prototype.componentDidMount=function(){var t=this.props,n=t.syncLayout,e=t.framerSyncLayout,r=t.visualElement;Zi(n)&&n.register(r),Zi(e)&&e.register(r),r.onUnmount((function(){Zi(n)&&n.remove(r),Zi(e)&&e.remove(r)}))},n.prototype.getSnapshotBeforeUpdate=function(){var t=this.props,n=t.syncLayout,e=t.visualElement;return Zi(n)?n.syncUpdate():(!function(t){t.shouldResetTransform()||(t.prevViewportBox=t.measureViewportBox(!1),t.rebaseProjectionTarget(!1,t.prevViewportBox))}(e),n.add(e)),null},n.prototype.componentDidUpdate=function(){var t=this.props.syncLayout;Zi(t)||t.flush()},n.prototype.render=function(){return null},n}(r.Component);var Yi={measureLayout:function(t){var n=(0,r.useContext)(Ni),e=(0,r.useContext)(Xi);return r.createElement(zi,C({},t,{syncLayout:n,framerSyncLayout:e}))},layoutAnimation:function(t){var n=S(F(),2)[1];return r.createElement(Ri,C({},t,{safeToRemove:n}))}};function Wi(){return{isHydrated:!1,layout:{x:{min:0,max:1},y:{min:0,max:1}},layoutCorrected:{x:{min:0,max:1},y:{min:0,max:1}},treeScale:{x:1,y:1},delta:Ro(),deltaFinal:Ro(),deltaTransform:""}}var qi=Wi();function Gi(t,n,e){var r=t.x,o=t.y,i="translate3d("+r.translate/n.x+"px, "+o.translate/n.y+"px, 0) ";if(e){var a=e.rotate,u=e.rotateX,s=e.rotateY;a&&(i+="rotate("+a+") "),u&&(i+="rotateX("+u+") "),s&&(i+="rotateY("+s+") ")}return i+="scale("+r.scale+", "+o.scale+")",e||i!==$i?i:""}function Ki(t){var n=t.deltaFinal;return 100*n.x.origin+"% "+100*n.y.origin+"% 0"}var $i=Gi(qi.delta,qi.treeScale,{x:1,y:1}),Ji=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Qi(t,n,e,r){var o,i,a=t.delta,u=t.layout,s=t.layoutCorrected,l=t.treeScale,c=n.target;i=u,ni((o=s).x,i.x),ni(o.y,i.y),function(t,n,e){var r=e.length;if(r){var o,i;n.x=n.y=1;for(var a=0;a<r;a++)i=(o=e[a]).getLayoutState().delta,n.x*=i.x.scale,n.y*=i.y.scale,ii(t,i),ti(o)&&li(t,t,o.getLatestValues())}}(s,l,e),Zo(a,s,c,r)}var ta=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){Wr(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){qr(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(Wo),this.isDirty=!1,this.children.forEach(t)},t}();var na=function(t){var n=t.treeType,e=void 0===n?"":n,r=t.build,o=t.getBaseTarget,i=t.makeTargetAnimatable,a=t.measureViewportBox,u=t.render,s=t.readValueFromInstance,l=t.resetTransform,c=t.restoreTransform,f=t.removeValueFromRenderState,d=t.sortNodePosition,v=t.scrapeMotionValuesFromProps;return function(t,n){var p=t.parent,m=t.props,h=t.presenceId,g=t.blockInitialAnimation,y=t.visualState;void 0===n&&(n={});var x,b,w,E,A,P,T=y.latestValues,V=y.renderState,k=function(){var t=Ji.map((function(){return new Gr})),n={},e={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){return Ji.forEach((function(r){var o;null===(o=n[r])||void 0===o||o.call(n);var i="on"+r,a=t[i];a&&(n[r]=e[i](a))}))}};return t.forEach((function(t,n){e["on"+Ji[n]]=function(n){return t.add(n)},e["notify"+Ji[n]]=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.notify.apply(t,M([],S(n)))}})),e}(),L={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:{x:{min:0,max:1},y:{min:0,max:1}},targetFinal:{x:{min:0,max:1},y:{min:0,max:1}}},R=L,D=T,j=Wi(),O=!1,B=new Map,I=new Map,F={},_=C({},T);function U(){x&&(K.isProjectionReady()&&(li(R.targetFinal,R.target,D),Zo(j.deltaFinal,j.layoutCorrected,R.targetFinal,T)),H(),u(x,V))}function H(){var t=T;if(E&&E.isActive()){var e=E.getCrossfadeState(K);e&&(t=e)}r(K,V,t,R,j,n,m)}function N(){k.notifyUpdate(T)}function X(){K.layoutTree.forEach(ra)}var Z=v(m);for(var z in Z){var Y=Z[z];void 0!==T[z]&&mt(Y)&&Y.set(T[z],!1)}var W=J(m),q=Q(m),K=C(C({treeType:e,current:null,depth:p?p.depth+1:0,parent:p,children:new Set,path:p?M(M([],S(p.path)),[p]):[],layoutTree:p?p.layoutTree:new ta,presenceId:h,projection:L,variantChildren:q?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==p?void 0:p.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(x)},mount:function(t){x=K.current=t,K.pointTo(K),q&&p&&!W&&(P=null==p?void 0:p.addVariantChild(K)),null==p||p.children.add(K)},unmount:function(){ar.update(N),ar.render(U),ar.preRender(K.updateLayoutProjection),I.forEach((function(t){return t()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==P||P(),null==p||p.children.delete(K),null==w||w(),k.clearAllListeners()},addVariantChild:function(t){var n,e=K.getClosestVariantNode();if(e)return null===(n=e.variantChildren)||void 0===n||n.add(t),function(){return e.variantChildren.delete(t)}},sortNodePosition:function(t){return d&&e===t.treeType?d(K.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return q?K:null==p?void 0:p.getClosestVariantNode()},scheduleUpdateLayoutProjection:p?p.scheduleUpdateLayoutProjection:function(){return dr.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return m.layoutId},getInstance:function(){return x},getStaticValue:function(t){return T[t]},setStaticValue:function(t,n){return T[t]=n},getLatestValues:function(){return T},setVisibility:function(t){K.isVisible!==t&&(K.isVisible=t,K.scheduleRender())},makeTargetAnimatable:function(t,n){return void 0===n&&(n=!0),i(K,t,m,n)},addValue:function(t,n){K.hasValue(t)&&K.removeValue(t),B.set(t,n),T[t]=n.get(),function(t,n){var e=n.onChange((function(n){T[t]=n,m.onUpdate&&dr.update(N,!1,!0)})),r=n.onRenderRequest(K.scheduleRender);I.set(t,(function(){e(),r()}))}(t,n)},removeValue:function(t){var n;B.delete(t),null===(n=I.get(t))||void 0===n||n(),I.delete(t),delete T[t],f(t,V)},hasValue:function(t){return B.has(t)},getValue:function(t,n){var e=B.get(t);return void 0===e&&void 0!==n&&(e=$r(n),K.addValue(t,e)),e},forEachValue:function(t){return B.forEach(t)},readValue:function(t){var e;return null!==(e=T[t])&&void 0!==e?e:s(x,t,n)},setBaseTarget:function(t,n){_[t]=n},getBaseTarget:function(t){if(o){var n=o(m,t);if(void 0!==n&&!mt(n))return n}return _[t]}},k),{build:function(){return H(),V},scheduleRender:function(){dr.render(U,!1,!0)},syncRender:U,setProps:function(t){m=t,k.updatePropListeners(t),F=function(t,n,e){var r;for(var o in n){var i=n[o],a=e[o];if(mt(i))t.addValue(o,i);else if(mt(a))t.addValue(o,$r(i));else if(a!==i)if(t.hasValue(o)){var u=t.getValue(o);!u.hasAnimated&&u.set(i)}else t.addValue(o,$r(null!==(r=t.getStaticValue(o))&&void 0!==r?r:i))}for(var o in e)void 0===n[o]&&t.removeValue(o);return n}(K,v(m),F)},getProps:function(){return m},getVariant:function(t){var n;return null===(n=m.variants)||void 0===n?void 0:n[t]},getDefaultTransition:function(){return m.transition},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==p?void 0:p.getVariantContext();if(!W){var n=(null==p?void 0:p.getVariantContext())||{};return void 0!==m.initial&&(n.initial=m.initial),n}for(var e={},r=0;r<aa;r++){var o=ia[r],i=m[o];(G(i)||!1===i)&&(e[o]=i)}return e},enableLayoutProjection:function(){L.isEnabled=!0,K.layoutTree.add(K)},lockProjectionTarget:function(){L.isTargetLocked=!0},unlockProjectionTarget:function(){K.stopLayoutAnimation(),L.isTargetLocked=!1},getLayoutState:function(){return j},setCrossfader:function(t){E=t},isProjectionReady:function(){return L.isEnabled&&L.isHydrated&&j.isHydrated},startLayoutAnimation:function(t,n,e){void 0===e&&(e=!1);var r=K.getProjectionAnimationProgress()[t],o=e?L.relativeTarget[t]:L.target[t],i=o.min,a=o.max-i;return r.clearListeners(),r.set(i),r.set(i),r.onChange((function(n){K.setProjectionTargetAxis(t,n,n+a,e)})),K.animateMotionValue(t,r,0,n)},stopLayoutAnimation:function(){Do((function(t){return K.getProjectionAnimationProgress()[t].stop()}))},measureViewportBox:function(t){void 0===t&&(t=!0);var e=a(x,n);return t||di(e,T),e},getProjectionAnimationProgress:function(){return A||(A={x:$r(0),y:$r(0)}),A},setProjectionTargetAxis:function(t,n,e,r){var o;void 0===r&&(r=!1),r?(L.relativeTarget||(L.relativeTarget={x:{min:0,max:1},y:{min:0,max:1}}),o=L.relativeTarget[t]):(L.relativeTarget=void 0,o=L.target[t]),L.isHydrated=!0,o.min=n,o.max=e,O=!0,k.notifySetAxisTarget()},rebaseProjectionTarget:function(t,n){void 0===n&&(n=j.layout);var e=K.getProjectionAnimationProgress(),r=e.x,o=e.y,i=!(L.relativeTarget||L.isTargetLocked||r.isAnimating()||o.isAnimating());(t||i)&&Do((function(t){var e=n[t],r=e.min,o=e.max;K.setProjectionTargetAxis(t,r,o)}))},notifyLayoutReady:function(t){!function(t){var n=t.getProjectionParent();if(n){var e=Jo(n.getLayoutState().layout,t.getLayoutState().layout);Do((function(n){t.setProjectionTargetAxis(n,e[n].min,e[n].max,!0)}))}else t.rebaseProjectionTarget()}(K),K.notifyLayoutUpdate(j.layout,K.prevViewportBox||j.layout,t)},resetTransform:function(){return l(K,x,m)},restoreTransform:function(){return c(x,V)},updateLayoutProjection:function(){if(K.isProjectionReady()){var t=j.delta,n=j.treeScale,e=n.x,r=n.y,o=j.deltaTransform;Qi(j,R,K.path,T),O&&K.notifyViewportBoxUpdate(R.target,t),O=!1;var i=Gi(t,n);i===o&&e===n.x&&r===n.y||K.scheduleRender(),j.deltaTransform=i}},updateTreeLayoutProjection:function(){K.layoutTree.forEach(ea),dr.preRender(X,!1,!0)},getProjectionParent:function(){if(void 0===b){for(var t=!1,n=K.path.length-1;n>=0;n--){var e=K.path[n];if(e.projection.isEnabled){t=e;break}}b=t}return b},resolveRelativeTargetBox:function(){var t=K.getProjectionParent();if(L.relativeTarget&&t&&(function(t,n){Yo(t.target.x,t.relativeTarget.x,n.target.x),Yo(t.target.y,t.relativeTarget.y,n.target.y)}(L,t.projection),ti(t))){var n=L.target;li(n,n,t.getLatestValues())}},shouldResetTransform:function(){return Boolean(m._layoutResetTransform)},pointTo:function(t){R=t.projection,D=t.getLatestValues(),null==w||w(),w=Un(t.onSetAxisTarget(K.scheduleUpdateLayoutProjection),t.onLayoutAnimationComplete((function(){var t;K.isPresent?K.presence=Ei.Present:null===(t=K.layoutSafeToRemove)||void 0===t||t.call(K)})))},isPresent:!0,presence:Ei.Entering});return K}};function ea(t){t.resolveRelativeTargetBox()}function ra(t){t.updateLayoutProjection()}var oa,ia=M(["initial"],S(co)),aa=ia.length,ua=new Set(["width","height","top","left","right","bottom","x","y"]),sa=function(t){return ua.has(t)},la=function(t,n){t.set(n,!1),t.set(n)},ca=function(t){return t===Rt||t===Mt};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(oa||(oa={}));var fa=function(t,n){return parseFloat(t.split(", ")[n])},da=function(t,n){return function(e,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return fa(i[1],n);var a=o.match(/^matrix\((.+)\)$/);return a?fa(a[1],t):0}},va=new Set(["x","y","z"]),pa=st.filter((function(t){return!va.has(t)}));var ma={width:function(t){var n=t.x;return n.max-n.min},height:function(t){var n=t.y;return n.max-n.min},top:function(t,n){var e=n.top;return parseFloat(e)},left:function(t,n){var e=n.left;return parseFloat(e)},bottom:function(t,n){var e=t.y,r=n.top;return parseFloat(r)+(e.max-e.min)},right:function(t,n){var e=t.x,r=n.left;return parseFloat(r)+(e.max-e.min)},x:da(4,13),y:da(5,14)},ha=function(t,n,e,r){void 0===e&&(e={}),void 0===r&&(r={}),n=C({},n),r=C({},r);var o=Object.keys(n).filter(sa),i=[],a=!1,u=[];if(o.forEach((function(o){var s=t.getValue(o);if(t.hasValue(o)){var l,c=e[o],f=n[o],d=to(c);if(ln(f))for(var v=f.length,p=null===f[0]?1:0;p<v;p++)l?to(f[p]):(l=to(f[p]))===d||ca(d)&&ca(l);else l=to(f);if(d!==l)if(ca(d)&&ca(l)){var m=s.get();"string"==typeof m&&s.set(parseFloat(m)),"string"==typeof f?n[o]=parseFloat(f):Array.isArray(f)&&l===Mt&&(n[o]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===f)?0===c?s.set(l.transform(c)):n[o]=d.transform(f):(a||(i=function(t){var n=[];return pa.forEach((function(e){var r=t.getValue(e);void 0!==r&&(n.push([e,r.get()]),r.set(e.startsWith("scale")?1:0))})),n.length&&t.syncRender(),n}(t),a=!0),u.push(o),r[o]=void 0!==r[o]?r[o]:n[o],la(s,f))}})),u.length){var s=function(t,n,e){var r=n.measureViewportBox(),o=n.getInstance(),i=getComputedStyle(o),a=i.display,u={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===a&&n.setStaticValue("display",t.display||"block"),n.syncRender();var s=n.measureViewportBox();return e.forEach((function(e){var o=n.getValue(e);la(o,ma[e](r,u)),t[e]=ma[e](s,i)})),t}(n,t,u);return i.length&&i.forEach((function(n){var e=S(n,2),r=e[0],o=e[1];t.getValue(r).set(o)})),t.syncRender(),{target:s,transitionEnd:r}}return{target:n,transitionEnd:r}};function ga(t,n,e,r){return function(t){return Object.keys(t).some(sa)}(n)?ha(t,n,e,r):{target:n,transitionEnd:r}}var ya=function(t,n,e,r){var o=function(t,n,e){var r,o=T(n,[]),i=t.getInstance();if(!(i instanceof HTMLElement))return{target:o,transitionEnd:e};for(var a in e&&(e=C({},e)),t.forEachValue((function(t){var n=t.get();if(Ci(n)){var e=Si(n,i);e&&t.set(e)}})),o){var u=o[a];if(Ci(u)){var s=Si(u,i);s&&(o[a]=s,e&&(null!==(r=e[a])&&void 0!==r||(e[a]=u)))}}return{target:o,transitionEnd:e}}(t,n,r);return ga(t,n=o.target,e,r=o.transitionEnd)};var xa={treeType:"dom",readValueFromInstance:function(t,n){if(ft(n)){var e=Fr(n);return e&&e.default||0}var r,o=(r=t,window.getComputedStyle(r));return(gt(n)?o.getPropertyValue(n):o[n])||0},sortNodePosition:function(t,n){return 2&t.compareDocumentPosition(n)?1:-1},getBaseTarget:function(t,n){var e;return null===(e=t.style)||void 0===e?void 0:e[n]},measureViewportBox:function(t,n){return _o(t,n.transformPagePoint)},resetTransform:function(t,n,e){var r=e.transformTemplate;n.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,n){t.style.transform=n.style.transform},removeValueFromRenderState:function(t,n){var e=n.vars,r=n.style;delete e[t],delete r[t]},makeTargetAnimatable:function(t,n,e,r){var o=e.transformValues;void 0===r&&(r=!0);var i=n.transition,a=n.transitionEnd,u=T(n,["transition","transitionEnd"]),s=function(t,n,e){var r,o,i={};for(var a in t)i[a]=null!==(r=io(a,n))&&void 0!==r?r:null===(o=e.getValue(a))||void 0===o?void 0:o.get();return i}(u,i||{},t);if(o&&(a&&(a=o(a)),u&&(u=o(u)),s&&(s=o(s))),r){!function(t,n,e){var r,o,i,a,u=Object.keys(n).filter((function(n){return!t.hasValue(n)})),s=u.length;if(s)for(var l=0;l<s;l++){var c=u[l],f=n[c],d=null;Array.isArray(f)&&(d=f[0]),null===d&&(d=null!==(o=null!==(r=e[c])&&void 0!==r?r:t.readValue(c))&&void 0!==o?o:n[c]),null!=d&&("string"==typeof d&&/^\-?\d*\.?\d+$/.test(d)?d=parseFloat(d):!eo(d)&&be.test(f)&&(d=_r(c,f)),t.addValue(c,$r(d)),null!==(i=(a=e)[c])&&void 0!==i||(a[c]=d),t.setBaseTarget(c,d))}}(t,u,s);var l=ya(t,u,s,a);a=l.transitionEnd,u=l.target}return C({transition:i,transitionEnd:a},u)},scrapeMotionValuesFromProps:an,build:function(t,n,e,r,o,i,a){void 0!==t.isVisible&&(n.style.visibility=t.isVisible?"visible":"hidden");var u=r.isEnabled&&o.isHydrated;It(n,e,r,o,i,a.transformTemplate,u?Gi:void 0,u?Ki:void 0)},render:en},ba=na(xa),wa=na(C(C({},xa),{getBaseTarget:function(t,n){return t[n]},readValueFromInstance:function(t,n){var e;return ft(n)?(null===(e=Fr(n))||void 0===e?void 0:e.default)||0:(n=rn.has(n)?n:nn(n),t.getAttribute(n))},scrapeMotionValuesFromProps:un,build:function(t,n,e,r,o,i,a){var u=r.isEnabled&&o.isHydrated;Kt(n,e,r,o,i,a.transformTemplate,u?Gi:void 0,u?Ki:void 0)},render:on})),Ea=function(t,n){return it(t)?wa(n,{enableHardwareAcceleration:!1}):ba(n,{enableHardwareAcceleration:!0})},Aa=C(C(C(C({},go),Nn),Pi),Yi),Pa=rt((function(t,n){return function(t,n,e,r){var o=n.forwardMotionProps,i=void 0!==o&&o,a=it(t)?pn:hn;return C(C({},a),{preloadedFeatures:e,useRender:Qt(i),createVisualElement:r,Component:t})}(t,n,Aa,Ea)}));var Ca,Ta,Sa=(0,i.keyframes)(["0%,40%{transform:translateY(0px);height:88px;}60%,100%{transform:translateY(4px);height:80px;}"]),Ma=(0,i.keyframes)(["0%,40%{transform:translateX(0px);}60%,100%{transform:translateX(100px);}"]),Va=(0,i.css)(["display:block;background:",";border-radius:100%;"],(function(t){return t.theme.colors.secondary.light})),ka=(0,i.default)(Pa.div).withConfig({displayName:"Sky__SkyMotion",componentId:"sc-1wy6rem-0"})(["position:absolute;"," "," "," ",""],(function(t){var n=t.top;return n&&"top: "+n+";"}),(function(t){var n=t.right;return n&&"right: "+n+";"}),(function(t){var n=t.left;return n&&"left: "+n+";"}),(function(t){var n=t.bottom;return n&&"bottom: "+n+";"})),La=i.default.figure.withConfig({displayName:"Sky",componentId:"sc-1wy6rem-1"})([""," position:relative;width:179px;height:53px;animation:",";animation-name:",";"," &:before{",' position:absolute;top:-20px;left:50%;content:"";width:58px;height:88px;margin-left:-31px;animation:'," 2s ease-out infinite alternate;","}"],Va,(function(t){return t.speed+"s ease-in-out infinite alternate"}),Ma,(function(t){var n=t.delay;return n&&"animation-delay: "+n+"s;"}),Va,Sa,(function(t){var n=t.delay;return n&&"animation-delay: "+n+"s;"})),Ra=e(1880),Da=(0,i.css)(["width:0;height:0;border:solid 13rem transparent;border-top-width:0;"]),ja=i.default.section.withConfig({displayName:"styled__PresentationWrapper",componentId:"sc-10fz3lr-0"})(["position:relative;height:calc(100vh - 78px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;"," ",""],(function(t){return t.theme.utils.container}),(function(t){return t.theme.utils.media.phone(Ca||(Ca=(0,Ra.Z)(["\n div {\n display: none;\n }\n "])))})),Oa=(0,i.default)(a.Z).withConfig({displayName:"styled__PresentationTitle",componentId:"sc-10fz3lr-1"})(["max-width:581px;position:relative;z-index:2;color:#1e1e1e;"]),Ba=(0,i.default)(a.Z).withConfig({displayName:"styled__PresentationDescription",componentId:"sc-10fz3lr-2"})(["max-width:930px;position:relative;z-index:2;"]),Ia=(0,i.default)(Pa.div).withConfig({displayName:"styled__TriangleMotion",componentId:"sc-10fz3lr-3"})(["position:absolute;bottom:0;left:50%;",""],(function(t){var n=t.index;return n&&"z-index: "+n+";"})),Fa=i.default.div.withConfig({displayName:"styled__BigTriangle",componentId:"sc-10fz3lr-4"})([""," border-bottom-color:#00D76B;border-right-width:0rem;border-left-width:9rem;transform:skewX(-9deg);margin-left:-10rem;position:relative;&:before{",' border-bottom-color:#2dff96;border-left-width:2rem;border-right-width:11rem;transform:translateX(-17px) skewX(8.2deg);content:"";position:absolute;top:0;}'],Da,Da),_a=i.default.div.withConfig({displayName:"styled__SmallTriangle",componentId:"sc-10fz3lr-5"})(['width:0;height:0;border:solid 8rem transparent;border-top-width:0;border-bottom-color:#2dff96;border-left-width:3rem;border-right-width:8rem;position:relative;margin-left:173px;&:before{content:"";width:0;height:0;border:solid 119px transparent;border-top-width:0;border-bottom-color:#00d76b;border-left-width:28px;border-right-width:67px;position:absolute;top:-6px;transform:rotateZ(50deg);left:-80px;}']);function Ua(t,n,e){e.set(t&&n?t/n:0)}function Ha(){return{xOffset:window.pageXOffset,yOffset:window.pageYOffset,xMaxOffset:document.body.clientWidth-window.innerWidth,yMaxOffset:document.body.clientHeight-window.innerHeight}}var Na=!1;function Xa(){if(Na=!0,"undefined"!=typeof window){var t,n,e,r=(t=Ta,n=Ha,(e=function(){var e=n(),r=e.xOffset,o=e.yOffset,i=e.xMaxOffset,a=e.yMaxOffset;t.scrollX.set(r),t.scrollY.set(o),Ua(r,i,t.scrollXProgress),Ua(o,a,t.scrollYProgress)})(),e);gn(window,"scroll",r,{passive:!0}),gn(window,"resize",r)}}function Za(){return Ta||(Ta={scrollX:$r(0),scrollY:$r(0),scrollXProgress:$r(0),scrollYProgress:$r(0)}),z((function(){!Na&&Xa()}),[]),Ta}var za=function(t){return function(t){return"object"==typeof t&&t.mix}(t)?t.mix:void 0};function Ya(t){var n=I((function(){return $r(t)}));if((0,r.useContext)(j).isStatic){var e=S((0,r.useState)(t),2)[1];(0,r.useEffect)((function(){return n.onChange(e)}),[])}return n}function Wa(t,n){var e=Ya(n()),o=function(){return e.set(n())};return o(),function(t,n){(0,r.useEffect)((function(){var e=t.map((function(t){return t.onChange(n)}));return function(){return e.forEach((function(t){return t()}))}}))}(t,(function(){return dr.update(o,!1,!0)})),e}function qa(t,n,e,r){var o="function"==typeof n?n:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=!Array.isArray(t[0]),r=e?0:-1,o=t[0+r],i=t[1+r],a=t[2+r],u=t[3+r],s=Ve(i,a,C({mixer:za(a[0])},u));return e?s(o):s}(n,e,r);return Array.isArray(t)?Ga(t,o):Ga([t],(function(t){var n=S(t,1)[0];return o(n)}))}function Ga(t,n){var e=I((function(){return[]}));return Wa(t,(function(){e.length=0;for(var r=t.length,o=0;o<r;o++)e[o]=t[o].get();return n(e)}))}function Ka(t,n){void 0===n&&(n={});var e=(0,r.useContext)(j).isStatic,o=(0,r.useRef)(null),i=Ya(mt(t)?t.get():t);return(0,r.useMemo)((function(){return i.attach((function(t,r){return e?r(t):(o.current&&o.current.stop(),o.current=mr(C(C({from:i.get(),to:t,velocity:i.getVelocity()},n),{onUpdate:r})),i.get())}))}),Object.values(n)),function(t,n){(0,r.useEffect)((function(){if(mt(t))return t.onChange(n)}),[n])}(t,(function(t){return i.set(parseFloat(t))})),i}var $a=function(){var t=Za().scrollYProgress,n=qa(t,[0,1],[0,300]),e=qa(t,[0,1],[0,50]),o=qa(t,[0,1],[0,-100]),i=qa(t,[0,1],[0,200]),a=qa(t,[0,1],[0,100]),u=qa(t,[0,1],[0,150]),s=Ka(n,{stiffness:400,damping:90}),l=Ka(e,{stiffness:400,damping:90}),c=Ka(o,{stiffness:400,damping:90}),f=Ka(i,{stiffness:400,damping:90}),d=Ka(a,{stiffness:400,damping:90}),v=Ka(u,{stiffness:400,damping:90});return r.createElement(ja,null,r.createElement(Oa,{paragraph:!0,variant:"h1",weight:400},"V",r.createElement("span",null,"3.0")," is now live!"),r.createElement(Ba,{italic:!0,variant:"h3",weight:400},"All animation css is a set of css animations that will bring life to your project."),r.createElement(Ia,{index:1,style:{translateY:d}},r.createElement(Fa,null)),r.createElement(Ia,{index:1,style:{translateY:v}},r.createElement(_a,null)),r.createElement(ka,{top:"5rem",right:"40%",style:{translateX:s}},r.createElement(La,{delay:.5,speed:5})),r.createElement(ka,{top:"10rem",right:"13%",style:{translateX:l}},r.createElement(La,{delay:1.5,speed:7})),r.createElement(ka,{top:"16rem",right:"30%",style:{translateX:c}},r.createElement(La,{delay:5,speed:6})),r.createElement(ka,{top:"25rem",left:"15%",style:{translateX:f}},r.createElement(La,{delay:2,speed:10})))},Ja=e(4937);var Qa=function(){var t=(0,Ja.Z)(),n=t.title,e=t.description;return r.createElement(r.Fragment,null,r.createElement(o.q,null,r.createElement("title",null,n),r.createElement("meta",{name:"description",content:e}),r.createElement("meta",{property:"og:title",content:n}),r.createElement("meta",{property:"og:description",content:e})),r.createElement($a,null),r.createElement(f,{title:"All Animation styled is comming soon"},"We are very welcome to suggestions, and use ",r.createElement("b",null,"github")," as version control so if you want to suggest something, please create an issue in there or in case of contribution, please check the"," ",r.createElement("a",{href:"http://github.com/all-animation/all-animation-styled"},"all-animation/styled")," ","repository on ",r.createElement("a",{href:"http://github.com/all-animation"},"github"),"."),r.createElement(E,null))},tu=function(){return r.createElement(Qa,null)}}}]);
//# sourceMappingURL=component---src-pages-index-js-871ee3faae4c2c70877a.js.map