-
Notifications
You must be signed in to change notification settings - Fork 0
/
57dbd49da6d9e76eaf55c492e0929b816a379a12-41f8884bf7c6553e2f5c.js
2 lines (2 loc) · 85.4 KB
/
57dbd49da6d9e76eaf55c492e0929b816a379a12-41f8884bf7c6553e2f5c.js
1
2
"use strict";(self.webpackChunklubycon_home=self.webpackChunklubycon_home||[]).push([[58],{8894:function(t,n,e){var r,i;e.d(n,{z:function(){return r},c:function(){return i}}),function(t){t[t.Entering=0]="Entering",t[t.Present=1]="Present",t[t.Exiting=2]="Exiting"}(r||(r={})),function(t){t[t.Hide=0]="Hide",t[t.Show=1]="Show"}(i||(i={}))},2267:function(t,n,e){e.d(n,{O:function(){return r}});var r=(0,e(7294).createContext)(null)},9180:function(t,n,e){e.d(n,{bg:function(){return p},WH:function(){return v},Md:function(){return m}});var r=e(7294),i=e(9900),o=e(1793),a=e(5302),u=e(6090),s=e(4466),c=e(8894),l={layoutReady:function(t){return t.notifyLayoutReady()}};function f(){var t=new Set;return{add:function(n){return t.add(n)},flush:function(n){var e=void 0===n?l:n,r=e.layoutReady,f=e.parent;(0,u.U)((function(n,e){var u=Array.from(t).sort(s._),l=f?(0,a.kv)(f):[];e((function(){(0,i.ev)((0,i.ev)([],(0,i.CR)(l)),(0,i.CR)(u)).forEach((function(t){return t.resetTransform()}))})),n((function(){u.forEach(a.de)})),e((function(){l.forEach((function(t){return t.restoreTransform()})),u.forEach(r)})),n((function(){u.forEach((function(t){t.isPresent&&(t.presence=c.z.Present)}))})),e((function(){o.iW.preRender(),o.iW.render()})),n((function(){o.ZP.postRender((function(){return u.forEach(d)})),t.clear()}))})),(0,u.R)()}}}function d(t){t.prevViewportBox=t.projection.target}var v=(0,r.createContext)(f()),p=(0,r.createContext)(f());function m(t){return!!t.forceUpdate}},4126:function(t,n,e){e.d(n,{E:function(){return To}});var r=e(9900),i=e(7294),o=function(t){return{isEnabled:function(n){return t.some((function(t){return!!n[t]}))}}},a={measureLayout:o(["layout","layoutId","drag","_layoutResetTransform"]),animation:o(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:o(["exit"]),drag:o(["drag","dragControls"]),focus:o(["whileFocus"]),hover:o(["whileHover","onHoverStart","onHoverEnd"]),tap:o(["whileTap","onTap","onTapStart","onTapCancel"]),pan:o(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:o(["layout","layoutId"])};var u=(0,i.createContext)({strict:!1}),s=Object.keys(a),c=s.length;var l=(0,i.createContext)({transformPagePoint:function(t){return t},isStatic:!1}),f=(0,i.createContext)({});var d=e(2267),v=e(9179);function p(){var t=(0,i.useContext)(d.O);if(null===t)return[!0,null];var n=t.isPresent,e=t.onExitComplete,r=t.register,o=y();(0,i.useEffect)((function(){return r(o)}),[]);return!n&&e?[!1,function(){return null==e?void 0:e(o)}]:[!0]}function m(t){return null===t||t.isPresent}var h=0,g=function(){return h++},y=function(){return(0,v.h)(g)},x=(0,i.createContext)(null),b="undefined"!=typeof window,P=b?i.useLayoutEffect:i.useEffect;function A(t,n,e,o){var a=(0,i.useContext)(l),s=(0,i.useContext)(u),c=(0,i.useContext)(f).visualElement,v=(0,i.useContext)(d.O),p=function(t){var n=t.layoutId,e=(0,i.useContext)(x);return e&&void 0!==n?e+"-"+n:n}(e),h=(0,i.useRef)(void 0);o||(o=s.renderer),!h.current&&o&&(h.current=o(t,{visualState:n,parent:c,props:(0,r.pi)((0,r.pi)({},e),{layoutId:p}),presenceId:null==v?void 0:v.id,blockInitialAnimation:!1===(null==v?void 0:v.initial)}));var g=h.current;return P((function(){g&&(g.setProps((0,r.pi)((0,r.pi)((0,r.pi)({},a),e),{layoutId:p})),g.isPresent=m(v),g.isPresenceRoot=!c||c.presenceId!==(null==v?void 0:v.id),g.syncRender())})),(0,i.useEffect)((function(){var t;g&&(null===(t=g.animationState)||void 0===t||t.animateChanges())})),P((function(){return function(){return null==g?void 0:g.notifyUnmount()}}),[]),g}function T(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function E(t){return Array.isArray(t)}function C(t){return"string"==typeof t||E(t)}function w(t,n,e,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"string"==typeof n&&(n=null===(o=t.variants)||void 0===o?void 0:o[n]),"function"==typeof n?n(null!=e?e:t.custom,r,i):n}function S(t,n,e){var r=t.getProps();return w(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 M(t){var n;return"function"==typeof(null===(n=t.animate)||void 0===n?void 0:n.start)||C(t.initial)||C(t.animate)||C(t.whileHover)||C(t.whileDrag)||C(t.whileTap)||C(t.whileFocus)||C(t.exit)}function V(t){return Boolean(M(t)||t.variants)}function R(t,n){var e=function(t,n){if(M(t)){var e=t.initial,r=t.animate;return{initial:!1===e||C(e)?e:void 0,animate:C(r)?r:void 0}}return!1!==t.inherit?n:{}}(t,(0,i.useContext)(f)),r=e.initial,o=e.animate;return(0,i.useMemo)((function(){return{initial:r,animate:o}}),n?[k(r),k(o)]:[])}function k(t){return Array.isArray(t)?t.join(" "):t}function L(t){var n=t.preloadedFeatures,e=t.createVisualElement,o=t.useRender,d=t.useVisualState,v=t.Component;return n&&function(t){for(var n in t){var e=t[n];null!==e&&(a[n].Component=e)}}(n),(0,i.forwardRef)((function(t,n){var p=(0,i.useContext)(l).isStatic,m=null,h=R(t,p),g=d(t,p);return!p&&b&&(h.visualElement=A(v,g,t,e),m=function(t,n,e){var o=[];if((0,i.useContext)(u),!n)return null;for(var l=0;l<c;l++){var f=s[l],d=a[f],v=d.isEnabled,p=d.Component;v(t)&&p&&o.push(i.createElement(p,(0,r.pi)({key:f},t,{visualElement:n})))}return o}(t,h.visualElement)),i.createElement(i.Fragment,null,i.createElement(f.Provider,{value:h},o(v,t,function(t,n,e){return(0,i.useCallback)((function(r){var i;r&&(null===(i=t.mount)||void 0===i||i.call(t,r)),n&&(r?n.mount(r):n.unmount()),e&&("function"==typeof e?e(r):T(e)&&(e.current=r))}),[n])}(g,h.visualElement,n),g,p)),m)}))}function D(t){function n(n,e){return void 0===e&&(e={}),L(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 B=["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 j(t){return"string"==typeof t&&!t.includes("-")&&!!(B.indexOf(t)>-1||/[A-Z]/.test(t))}var O={};var F=["","X","Y","Z"],U=["transformPerspective","x","y","z"];function I(t,n){return U.indexOf(t)-U.indexOf(n)}["translate","scale","rotate","skew"].forEach((function(t){return F.forEach((function(n){return U.push(t+n)}))}));var H=new Set(U);function z(t){return H.has(t)}var Y=new Set(["originX","originY","originZ"]);function Z(t){return Y.has(t)}function X(t,n){var e=n.layout,r=n.layoutId;return z(t)||Z(t)||(e||void 0!==r)&&(!!O[t]||"opacity"===t)}var W=function(t){return null!==t&&"object"==typeof t&&t.getVelocity},N={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function _(t){return t.startsWith("--")}var q=function(t,n){return n&&"number"==typeof t?n.transform(t):t},$=function(t,n){return function(e){return Math.max(Math.min(e,n),t)}},G=function(t){return t%1?Number(t.toFixed(5)):t},K=/(-)?([\d]*\.?[\d])+/g,J=/(#[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,Q=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function tt(t){return"string"==typeof t}var nt=function(t){return{test:function(n){return tt(n)&&n.endsWith(t)&&1===n.split(" ").length},parse:parseFloat,transform:function(n){return""+n+t}}},et=nt("deg"),rt=nt("%"),it=nt("px"),ot=nt("vh"),at=nt("vw"),ut=(0,r.pi)((0,r.pi)({},rt),{parse:function(t){return rt.parse(t)/100},transform:function(t){return rt.transform(100*t)}}),st={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},ct=(0,r.pi)((0,r.pi)({},st),{transform:$(0,1)}),lt=(0,r.pi)((0,r.pi)({},st),{default:1}),ft=(0,r.pi)((0,r.pi)({},st),{transform:Math.round}),dt={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,size:it,top:it,right:it,bottom:it,left:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,rotate:et,rotateX:et,rotateY:et,rotateZ:et,scale:lt,scaleX:lt,scaleY:lt,scaleZ:lt,skew:et,skewX:et,skewY:et,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:ct,originX:ut,originY:ut,originZ:it,zIndex:ft,fillOpacity:ct,strokeOpacity:ct,numOctaves:ft};function vt(t,n,e,r,i,o,a,u){var s,c=t.style,l=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(_(g))l[g]=y;else{var x=dt[g],b=q(y,x);if(z(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(Z(g))v[g]=b,m=!0;else if((null==e?void 0:e.isHydrated)&&(null==r?void 0:r.isHydrated)&&O[g]){var P=O[g].process(y,r,e),A=O[g].applyTo;if(A)for(var T=A.length,E=0;E<T;E++)c[A[E]]=P;else c[g]=P}else c[g]=b}}r&&e&&a&&u?(c.transform=a(r.deltaFinal,r.treeScale,p?f:void 0),o&&(c.transform=o(f,c.transform)),c.transformOrigin=u(r)):(p&&(c.transform=function(t,n,e,r){var i=t.transform,o=t.transformKeys,a=n.enableHardwareAcceleration,u=void 0===a||a,s=n.allowTransformNone,c=void 0===s||s,l="";o.sort(I);for(var f=!1,d=o.length,v=0;v<d;v++){var p=o[v];l+=(N[p]||p)+"("+i[p]+") ","z"===p&&(f=!0)}return!f&&u?l+="translateZ(0)":l=l.trim(),r?l=r(i,e?"":l):c&&e&&(l="none"),l}(t,i,h,o)),m&&(c.transformOrigin=function(t){var n=t.originX,e=void 0===n?"50%":n,r=t.originY,i=void 0===r?"50%":r,o=t.originZ;return e+" "+i+" "+(void 0===o?0:o)}(v)))}var pt=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function mt(t,n,e){for(var r in n)W(n[r])||X(r,e)||(t[r]=n[r])}function ht(t,n,e){var o={};return mt(o,t.style||{},t),Object.assign(o,function(t,n,e){var o=t.transformTemplate;return(0,i.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};vt(t,n,void 0,void 0,{enableHardwareAcceleration:!e},o);var i=t.vars,a=t.style;return(0,r.pi)((0,r.pi)({},i),a)}),[n])}(t,n,e)),t.transformValues&&(o=t.transformValues(o)),o}function gt(t,n,e){var r={},i=ht(t,n,e);return Boolean(t.drag)&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),r.style=i,r}var yt=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 yt.has(t)}var bt=function(t){return!xt(t)};try{var Pt=e(7333).Z;bt=function(t){return t.startsWith("on")?!xt(t):Pt(t)}}catch(Eo){}function At(t,n,e){return"string"==typeof t?t:it.transform(n+e*t)}var Tt=function(t,n){return it.transform(t*n)},Et={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ct={offset:"strokeDashoffset",array:"strokeDasharray"};function wt(t,n,e,i,o,a,u,s){var c=n.attrX,l=n.attrY,f=n.originX,d=n.originY,v=n.pathLength,p=n.pathSpacing,m=void 0===p?1:p,h=n.pathOffset,g=void 0===h?0:h;vt(t,(0,r._T)(n,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),e,i,o,a,u,s),t.attrs=t.style,t.style={};var y=t.attrs,x=t.style,b=t.dimensions,P=t.totalPathLength;y.transform&&(b&&(x.transform=y.transform),delete y.transform),b&&(void 0!==f||void 0!==d||x.transform)&&(x.transformOrigin=function(t,n,e){return At(n,t.x,t.width)+" "+At(e,t.y,t.height)}(b,void 0!==f?f:.5,void 0!==d?d:.5)),void 0!==c&&(y.x=c),void 0!==l&&(y.y=l),void 0!==P&&void 0!==v&&function(t,n,e,r,i,o){void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=!0);var a=o?Et:Ct;t[a.offset]=Tt(-i,n);var u=Tt(e,n),s=Tt(r,n);t[a.array]=u+" "+s}(y,P,v,m,g,!1)}var St=function(){return(0,r.pi)((0,r.pi)({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Mt(t,n){var e=(0,i.useMemo)((function(){var e=St();return wt(e,n,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),(0,r.pi)((0,r.pi)({},e.attrs),{style:(0,r.pi)({},e.style)})}),[n]);if(t.style){var o={};mt(o,t.style,t),e.style=(0,r.pi)((0,r.pi)({},o),e.style)}return e}function Vt(t){void 0===t&&(t=!1);return function(n,e,o,a,u){var s=a.latestValues,c=(j(n)?Mt:gt)(e,s,u),l=function(t,n,e){var r={};for(var i in t)(bt(i)||!0===e&&xt(i)||!n&&!xt(i))&&(r[i]=t[i]);return r}(e,"string"==typeof n,t),f=(0,r.pi)((0,r.pi)((0,r.pi)({},l),c),{ref:o});return(0,i.createElement)(n,f)}}var Rt=/([a-z])([A-Z])/g,kt=function(t){return t.replace(Rt,"$1-$2").toLowerCase()};function Lt(t,n){var e=n.style,r=n.vars;for(var i in Object.assign(t.style,e),r)t.style.setProperty(i,r[i])}var Dt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);function Bt(t,n){for(var e in Lt(t,n),n.attrs)t.setAttribute(Dt.has(e)?e:kt(e),n.attrs[e])}function jt(t){var n=t.style,e={};for(var r in n)(W(n[r])||X(r,t))&&(e[r]=n[r]);return e}function Ot(t){var n=jt(t);for(var e in t){if(W(t[e]))n["x"===e||"y"===e?"attr"+e.toUpperCase():e]=t[e]}return n}function Ft(t){return"object"==typeof t&&"function"==typeof t.start}var Ut=function(t){return Array.isArray(t)};function It(t){var n,e=W(t)?t.get():t;return n=e,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?e.toValue():e}function Ht(t,n,e,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onMount,u={latestValues:Yt(n,e,r,i),renderState:o()};return a&&(u.mount=function(t){return a(n,t,u)}),u}var zt=function(t){return function(n,e){var r=(0,i.useContext)(f),o=(0,i.useContext)(d.O);return e?Ht(t,n,r,o):(0,v.h)((function(){return Ht(t,n,r,o)}))}};function Yt(t,n,e,i){var o={},a=!1===(null==e?void 0:e.initial),u=i(t);for(var s in u)o[s]=It(u[s]);var c=t.initial,l=t.animate,f=M(t),d=V(t);n&&d&&!f&&!1!==t.inherit&&(null!=c||(c=n.initial),null!=l||(l=n.animate));var v=a||!1===c?l:c;v&&"boolean"!=typeof v&&!Ft(v)&&(Array.isArray(v)?v:[v]).forEach((function(n){var e=w(t,n);if(e){var i=e.transitionEnd;e.transition;var a=(0,r._T)(e,["transitionEnd","transition"]);for(var u in a)o[u]=a[u];for(var u in i)o[u]=i[u]}}));return o}var Zt={useVisualState:zt({scrapeMotionValuesFromProps:Ot,createRenderState:St,onMount:function(t,n,e){var r=e.renderState,i=e.latestValues;try{r.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}"path"===n.tagName&&(r.totalPathLength=n.getTotalLength()),wt(r,i,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),Bt(n,r)}})};var Xt,Wt={useVisualState:zt({scrapeMotionValuesFromProps:jt,createRenderState:pt})};function Nt(t,n,e,r){return t.addEventListener(n,e,r),function(){return t.removeEventListener(n,e,r)}}function _t(t,n,e,r){(0,i.useEffect)((function(){var i=t.current;if(e&&i)return Nt(i,n,e,r)}),[t,n,e,r])}function qt(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function $t(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.Exit="exit"}(Xt||(Xt={}));var Gt={pageX:0,pageY:0};function Kt(t,n){void 0===n&&(n="page");var e=t.touches[0]||t.changedTouches[0]||Gt;return{x:e[n+"X"],y:e[n+"Y"]}}function Jt(t,n){return void 0===n&&(n="page"),{x:t[n+"X"],y:t[n+"Y"]}}function Qt(t,n){return void 0===n&&(n="page"),{point:$t(t)?Kt(t,n):Jt(t,n)}}var tn=function(t,n){void 0===n&&(n=!1);var e,r=function(n){return t(n,Qt(n))};return n?(e=r,function(t){var n=t instanceof MouseEvent;(!n||n&&0===t.button)&&e(t)}):r},nn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},en={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function rn(t){return b&&null===window.onpointerdown?t:b&&null===window.ontouchstart?en[t]:b&&null===window.onmousedown?nn[t]:t}function on(t,n,e,r){return Nt(t,rn(n),tn(e,"pointerdown"===n),r)}function an(t,n,e,r){return _t(t,rn(n),e&&tn(e,"pointerdown"===n),r)}function un(t){var n=null;return function(){return null===n&&(n=t,function(){n=null})}}var sn=un("dragHorizontal"),cn=un("dragVertical");function ln(t){var n=!1;if("y"===t)n=cn();else if("x"===t)n=sn();else{var e=sn(),r=cn();e&&r?n=function(){e(),r()}:(e&&e(),r&&r())}return n}function fn(){var t=ln(!0);return!t||(t(),!1)}function dn(t,n,e){return function(r,i){var o;qt(r)&&!fn()&&(null==e||e(r,i),null===(o=t.animationState)||void 0===o||o.setActive(Xt.Hover,n))}}var vn=function t(n,e){return!!e&&(n===e||t(n,e.parentElement))},pn=e(9922),mn=function(t,n){return function(e){return n(t(e))}},hn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.reduce(mn)};var gn=function(t){return function(n){return t(n),null}},yn={tap:gn((function(t){var n=t.onTap,e=t.onTapStart,r=t.onTapCancel,o=t.whileTap,a=t.visualElement,u=n||e||r||o,s=(0,i.useRef)(!1),c=(0,i.useRef)(null);function l(){var t;null===(t=c.current)||void 0===t||t.call(c),c.current=null}function f(){var t;return l(),s.current=!1,null===(t=a.animationState)||void 0===t||t.setActive(Xt.Tap,!1),!fn()}function d(t,e){f()&&(vn(a.getInstance(),t.target)?null==n||n(t,e):null==r||r(t,e))}function v(t,n){f()&&(null==r||r(t,n))}an(a,"pointerdown",u?function(t,n){var r;l(),s.current||(s.current=!0,c.current=hn(on(window,"pointerup",d),on(window,"pointercancel",v)),null==e||e(t,n),null===(r=a.animationState)||void 0===r||r.setActive(Xt.Tap,!0))}:void 0),(0,pn.z)(l)})),focus:gn((function(t){var n=t.whileFocus,e=t.visualElement;_t(e,"focus",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(Xt.Focus,!0)}:void 0),_t(e,"blur",n?function(){var t;null===(t=e.animationState)||void 0===t||t.setActive(Xt.Focus,!1)}:void 0)})),hover:gn((function(t){var n=t.onHoverStart,e=t.onHoverEnd,r=t.whileHover,i=t.visualElement;an(i,"pointerenter",n||r?dn(i,!0,n):void 0),an(i,"pointerleave",e||r?dn(i,!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 bn=function(t,n,e){return Math.min(Math.max(e,t),n)},Pn=.001;function An(t){var n,e,r=t.duration,i=void 0===r?800:r,o=t.bounce,a=void 0===o?.25:o,u=t.velocity,s=void 0===u?0:u,c=t.mass,l=void 0===c?1:c,f=1-a;f=bn(.05,1,f),i=bn(.01,10,i/1e3),f<1?(n=function(t){var n=t*f,e=n*i,r=n-s,o=Tn(t,f),a=Math.exp(-e);return Pn-r/o*a},e=function(t){var e=t*f*i,r=e*s+s,o=Math.pow(f,2)*Math.pow(t,2)*i,a=Math.exp(-e),u=Tn(Math.pow(t,2),f);return(-n(t)+Pn>0?-1:1)*((r-o)*a)/u}):(n=function(t){return Math.exp(-t*i)*((t-s)*i+1)-.001},e=function(t){return Math.exp(-t*i)*(i*i*(s-t))});var d=function(t,n,e){for(var r=e,i=1;i<12;i++)r-=t(r)/n(r);return r}(n,e,5/i);if(i*=1e3,isNaN(d))return{stiffness:100,damping:10,duration:i};var v=Math.pow(d,2)*l;return{stiffness:v,damping:2*f*Math.sqrt(l*v),duration:i}}function Tn(t,n){return t*Math.sqrt(1-n*n)}var En=["duration","bounce"],Cn=["stiffness","damping","mass"];function wn(t,n){return n.some((function(n){return void 0!==t[n]}))}function Sn(t){var n=t.from,e=void 0===n?0:n,i=t.to,o=void 0===i?1:i,a=t.restSpeed,u=void 0===a?2:a,s=t.restDelta,c=(0,r._T)(t,["from","to","restSpeed","restDelta"]),l={done:!1,value:e},f=function(t){var n=(0,r.pi)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!wn(t,Cn)&&wn(t,En)){var e=An(t);(n=(0,r.pi)((0,r.pi)((0,r.pi)({},n),e),{velocity:0,mass:1})).isResolvedFromDuration=!0}return n}(c),d=f.stiffness,v=f.damping,p=f.mass,m=f.velocity,h=f.duration,g=f.isResolvedFromDuration,y=Mn,x=Mn;function b(){var t=m?-m/1e3:0,n=o-e,r=v/(2*Math.sqrt(d*p)),i=Math.sqrt(d/p)/1e3;if(null!=s||(s=Math.abs(o-e)<=1?.01:.4),r<1){var a=Tn(i,r);y=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))},x=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)y=function(e){return o-Math.exp(-i*e)*(n+(t+i*n)*e)};else{var u=i*Math.sqrt(r*r-1);y=function(e){var a=Math.exp(-r*i*e),s=Math.min(u*e,300);return o-a*((t+r*i*n)*Math.sinh(s)+u*n*Math.cosh(s))/u}}}return b(),{next:function(t){var n=y(t);if(g)l.done=t>=h;else{var e=1e3*x(t),r=Math.abs(e)<=u,i=Math.abs(o-n)<=s;l.done=r&&i}return l.value=l.done?o:n,l},flipTarget:function(){var t;m=-m,e=(t=[o,e])[0],o=t[1],b()}}}Sn.needsInterpolation=function(t,n){return"string"==typeof t||"string"==typeof n};var Mn=function(t){return 0},Vn=function(t,n,e){var r=n-t;return 0===r?1:(e-t)/r},Rn=function(t,n,e){return-e*t+e*n+t},kn=function(t,n){return function(e){return Boolean(tt(e)&&Q.test(e)&&e.startsWith(t)||n&&Object.prototype.hasOwnProperty.call(e,n))}},Ln=function(t,n,e){return function(r){var i;if(!tt(r))return r;var o=r.match(K),a=o[0],u=o[1],s=o[2],c=o[3];return(i={})[t]=parseFloat(a),i[n]=parseFloat(u),i[e]=parseFloat(s),i.alpha=void 0!==c?parseFloat(c):1,i}},Dn=$(0,255),Bn=(0,r.pi)((0,r.pi)({},st),{transform:function(t){return Math.round(Dn(t))}}),jn={test:kn("rgb","red"),parse:Ln("red","green","blue"),transform:function(t){var n=t.red,e=t.green,r=t.blue,i=t.alpha,o=void 0===i?1:i;return"rgba("+Bn.transform(n)+", "+Bn.transform(e)+", "+Bn.transform(r)+", "+G(ct.transform(o))+")"}};var On={test:kn("#"),parse:function(t){var n="",e="",r="",i="";return t.length>5?(n=t.substr(1,2),e=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(n=t.substr(1,1),e=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),n+=n,e+=e,r+=r,i+=i),{red:parseInt(n,16),green:parseInt(e,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:jn.transform},Fn={test:kn("hsl","hue"),parse:Ln("hue","saturation","lightness"),transform:function(t){var n=t.hue,e=t.saturation,r=t.lightness,i=t.alpha,o=void 0===i?1:i;return"hsla("+Math.round(n)+", "+rt.transform(G(e))+", "+rt.transform(G(r))+", "+G(ct.transform(o))+")"}},Un=function(t,n,e){var r=t*t,i=n*n;return Math.sqrt(Math.max(0,e*(i-r)+r))},In=[On,jn,Fn],Hn=function(t){return In.find((function(n){return n.test(t)}))},zn=function(t){return"'"+t+"' is not an animatable color. Use the equivalent color code instead."},Yn=function(t,n){var e=Hn(t),i=Hn(n);zn(t),zn(n),e.transform,i.transform;var o=e.parse(t),a=i.parse(n),u=(0,r.pi)({},o),s=e===Fn?Rn:Un;return function(t){for(var n in u)"alpha"!==n&&(u[n]=s(o[n],a[n],t));return u.alpha=Rn(o.alpha,a.alpha,t),e.transform(u)}},Zn={test:function(t){return jn.test(t)||On.test(t)||Fn.test(t)},parse:function(t){return jn.test(t)?jn.parse(t):Fn.test(t)?Fn.parse(t):On.parse(t)},transform:function(t){return tt(t)?t:t.hasOwnProperty("red")?jn.transform(t):Fn.transform(t)}},Xn="${c}",Wn="${n}";function Nn(t){var n=[],e=0,r=t.match(J);r&&(e=r.length,t=t.replace(J,Xn),n.push.apply(n,r.map(Zn.parse)));var i=t.match(K);return i&&(t=t.replace(K,Wn),n.push.apply(n,i.map(st.parse))),{values:n,numColors:e,tokenised:t}}function _n(t){return Nn(t).values}function qn(t){var n=Nn(t),e=n.values,r=n.numColors,i=n.tokenised,o=e.length;return function(t){for(var n=i,e=0;e<o;e++)n=n.replace(e<r?Xn:Wn,e<r?Zn.transform(t[e]):G(t[e]));return n}}var $n=function(t){return"number"==typeof t?0:t};var Gn={test:function(t){var n,e,r,i;return isNaN(t)&&tt(t)&&(null!==(e=null===(n=t.match(K))||void 0===n?void 0:n.length)&&void 0!==e?e:0)+(null!==(i=null===(r=t.match(J))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:_n,createTransformer:qn,getAnimatableNone:function(t){var n=_n(t);return qn(t)(n.map($n))}},Kn=function(t){return"number"==typeof t};function Jn(t,n){return Kn(t)?function(e){return Rn(t,n,e)}:Zn.test(t)?Yn(t,n):ee(t,n)}var Qn=function(t,n){var e=(0,r.ev)([],t),i=e.length,o=t.map((function(t,e){return Jn(t,n[e])}));return function(t){for(var n=0;n<i;n++)e[n]=o[n](t);return e}},te=function(t,n){var e=(0,r.pi)((0,r.pi)({},t),n),i={};for(var o in e)void 0!==t[o]&&void 0!==n[o]&&(i[o]=Jn(t[o],n[o]));return function(t){for(var n in i)e[n]=i[n](t);return e}};function ne(t){for(var n=Gn.parse(t),e=n.length,r=0,i=0,o=0,a=0;a<e;a++)r||"number"==typeof n[a]?r++:void 0!==n[a].hue?o++:i++;return{parsed:n,numNumbers:r,numRGB:i,numHSL:o}}var ee=function(t,n){var e=Gn.createTransformer(n),r=ne(t),i=ne(n);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&(r.numNumbers,i.numNumbers),hn(Qn(r.parsed,i.parsed),e)},re=function(t,n){return function(e){return Rn(t,n,e)}};function ie(t,n,e){for(var r,i=[],o=e||("number"==typeof(r=t[0])?re:"string"==typeof r?Zn.test(r)?Yn:ee:Array.isArray(r)?Qn:"object"==typeof r?te:void 0),a=t.length-1,u=0;u<a;u++){var s=o(t[u],t[u+1]);if(n){var c=Array.isArray(n)?n[u]:n;s=hn(c,s)}i.push(s)}return i}function oe(t,n,e){var r=void 0===e?{}:e,i=r.clamp,o=void 0===i||i,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 c=ie(n,a,u),l=2===s?function(t,n){var e=t[0],r=t[1],i=n[0];return function(t){return i(Vn(e,r,t))}}(t,c):function(t,n){var e=t.length,r=e-1;return function(i){var o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){for(var u=1;u<e&&!(t[u]>i||u===r);u++);o=u-1}var s=Vn(t[o],t[o+1],i);return n[o](s)}}(t,c);return o?function(n){return l(bn(t[0],t[s-1],n))}:l}var ae,ue=function(t){return function(n){return 1-t(1-n)}},se=function(t){return function(n){return n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2}},ce=function(t){return function(n){return n*n*((t+1)*n-t)}},le=function(t){return t},fe=(ae=2,function(t){return Math.pow(t,ae)}),de=ue(fe),ve=se(fe),pe=function(t){return 1-Math.sin(Math.acos(t))},me=ue(pe),he=se(me),ge=ce(1.525),ye=ue(ge),xe=se(ge),be=function(t){var n=ce(t);return function(t){return(t*=2)<1?.5*n(t):.5*(2-Math.pow(2,-10*(t-1)))}}(1.525),Pe=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},Ae=ue(Pe);function Te(t,n){return t.map((function(){return n||ve})).splice(0,t.length-1)}function Ee(t){var n=t.from,e=void 0===n?0:n,r=t.to,i=void 0===r?1:r,o=t.ease,a=t.offset,u=t.duration,s=void 0===u?300:u,c={done:!1,value:e},l=Array.isArray(i)?i:[e,i],f=function(t,n){return t.map((function(t){return t*n}))}(a&&a.length===l.length?a:function(t){var n=t.length;return t.map((function(t,e){return 0!==e?e/(n-1):0}))}(l),s);function d(){return oe(f,l,{ease:Array.isArray(o)?o:Te(l,o)})}var v=d();return{next:function(t){return c.value=v(t),c.done=t>=s,c},flipTarget:function(){l.reverse(),v=d()}}}var Ce={keyframes:Ee,spring:Sn,decay:function(t){var n=t.velocity,e=void 0===n?0:n,r=t.from,i=void 0===r?0:r,o=t.power,a=void 0===o?.8:o,u=t.timeConstant,s=void 0===u?350:u,c=t.restDelta,l=void 0===c?.5:c,f=t.modifyTarget,d={done:!1,value:i},v=a*e,p=i+v,m=void 0===f?p:f(p);return m!==p&&(v=m-i),{next:function(t){var n=-v*Math.exp(-t/s);return d.done=!(n>l||n<-l),d.value=d.done?m:m+n,d},flipTarget:function(){}}}};var we=e(1793);function Se(t,n,e){return void 0===e&&(e=0),t-n-e}var Me=function(t){var n=function(n){var e=n.delta;return t(e)};return{start:function(){return we.ZP.update(n,!0)},stop:function(){return we.qY.update(n)}}};function Ve(t){var n,e,i,o,a,u=t.from,s=t.autoplay,c=void 0===s||s,l=t.driver,f=void 0===l?Me:l,d=t.elapsed,v=void 0===d?0:d,p=t.repeat,m=void 0===p?0:p,h=t.repeatType,g=void 0===h?"loop":h,y=t.repeatDelay,x=void 0===y?0:y,b=t.onPlay,P=t.onStop,A=t.onComplete,T=t.onRepeat,E=t.onUpdate,C=(0,r._T)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),w=C.to,S=0,M=C.duration,V=!1,R=!0,k=function(t){if(Array.isArray(t.to))return Ee;if(Ce[t.type])return Ce[t.type];var n=new Set(Object.keys(t));return n.has("ease")||n.has("duration")&&!n.has("dampingRatio")?Ee:n.has("dampingRatio")||n.has("stiffness")||n.has("mass")||n.has("damping")||n.has("restSpeed")||n.has("restDelta")?Sn:Ee}(C);(null===(e=(n=k).needsInterpolation)||void 0===e?void 0:e.call(n,u,w))&&(a=oe([0,100],[u,w],{clamp:!1}),u=0,w=100);var L=k((0,r.pi)((0,r.pi)({},C),{from:u,to:w}));function D(){S++,"reverse"===g?v=function(t,n,e,r){return void 0===e&&(e=0),void 0===r&&(r=!0),r?Se(n+-t,n,e):n-(t-n)+e}(v,M,x,R=S%2==0):(v=Se(v,M,x),"mirror"===g&&L.flipTarget()),V=!1,T&&T()}function B(t){if(R||(t=-t),v+=t,!V){var n=L.next(Math.max(0,v));o=n.value,a&&(o=a(o)),V=R?n.done:v<=0}null==E||E(o),V&&(0===S&&(null!=M||(M=v)),S<m?function(t,n,e,r){return r?t>=n+e:t<=-e}(v,M,x,R)&&D():(i.stop(),A&&A()))}return c&&(null==b||b(),(i=f(B)).start()),{stop:function(){null==P||P(),i.stop()}}}function Re(t,n){return n?t*(1e3/n):0}var ke=function(t){return 1e3*t},Le=function(t,n){return 1-3*n+3*t},De=function(t,n){return 3*n-6*t},Be=function(t){return 3*t},je=function(t,n,e){return((Le(n,e)*t+De(n,e))*t+Be(n))*t},Oe=function(t,n,e){return 3*Le(n,e)*t*t+2*De(n,e)*t+Be(n)};var Fe=.1;function Ue(t,n,e,r){if(t===n&&e===r)return le;for(var i=new Float32Array(11),o=0;o<11;++o)i[o]=je(o*Fe,t,e);function a(n){for(var r=0,o=1;10!==o&&i[o]<=n;++o)r+=Fe;--o;var a=r+(n-i[o])/(i[o+1]-i[o])*Fe,u=Oe(a,t,e);return u>=.001?function(t,n,e,r){for(var i=0;i<8;++i){var o=Oe(n,e,r);if(0===o)return n;n-=(je(n,e,r)-t)/o}return n}(n,a,t,e):0===u?a:function(t,n,e,r,i){var o,a,u=0;do{(o=je(a=n+(e-n)/2,r,i)-t)>0?e=a:n=a}while(Math.abs(o)>1e-7&&++u<10);return a}(n,r,r+Fe,t,e)}return function(t){return 0===t||1===t?t:je(a(t),n,r)}}var Ie={linear:le,easeIn:fe,easeInOut:ve,easeOut:de,circIn:pe,circInOut:he,circOut:me,backIn:ge,backInOut:xe,backOut:ye,anticipate:be,bounceIn:Ae,bounceInOut:function(t){return t<.5?.5*(1-Pe(1-2*t)):.5*Pe(2*t-1)+.5},bounceOut:Pe},He=function(t){if(Array.isArray(t)){t.length;var n=(0,r.CR)(t,4);return Ue(n[0],n[1],n[2],n[3])}return"string"==typeof t?Ie[t]:t},ze=function(t,n){return"zIndex"!==t&&(!("number"!=typeof n&&!Array.isArray(n))||!("string"!=typeof n||!Gn.test(n)||n.startsWith("url(")))},Ye=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},Ze=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},Xe=function(){return{type:"keyframes",ease:"linear",duration:.3}},We=function(t){return{type:"keyframes",duration:.8,values:t}},Ne={x:Ye,y:Ye,z:Ye,rotate:Ye,rotateX:Ye,rotateY:Ye,rotateZ:Ye,scaleX:Ze,scaleY:Ze,scale:Ze,opacity:Xe,backgroundColor:Xe,color:Xe,default:Ze},_e=new Set(["brightness","contrast","saturate","opacity"]);function qe(t){var n=t.slice(0,-1).split("("),e=n[0],r=n[1];if("drop-shadow"===e)return t;var i=(r.match(K)||[])[0];if(!i)return t;var o=r.replace(i,""),a=_e.has(e)?1:0;return i!==r&&(a*=100),e+"("+a+o+")"}var $e=/([a-z-]*)\(.*?\)/g,Ge=(0,r.pi)((0,r.pi)({},Gn),{getAnimatableNone:function(t){var n=t.match($e);return n?n.map(qe).join(" "):t}}),Ke=(0,r.pi)((0,r.pi)({},dt),{color:Zn,backgroundColor:Zn,outlineColor:Zn,fill:Zn,stroke:Zn,borderColor:Zn,borderTopColor:Zn,borderRightColor:Zn,borderBottomColor:Zn,borderLeftColor:Zn,filter:Ge,WebkitFilter:Ge}),Je=function(t){return Ke[t]};function Qe(t,n){var e,r=Je(t);return r!==Ge&&(r=Gn),null===(e=r.getAnimatableNone)||void 0===e?void 0:e.call(r,n)}function tr(t){var n=t.ease,e=t.times,i=t.yoyo,o=t.flip,a=t.loop,u=(0,r._T)(t,["ease","times","yoyo","flip","loop"]),s=(0,r.pi)({},u);return e&&(s.offset=e),u.duration&&(s.duration=ke(u.duration)),u.repeatDelay&&(s.repeatDelay=ke(u.repeatDelay)),n&&(s.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(n)?n.map(He):He(n)),"tween"===u.type&&(s.type="keyframes"),(i||a||o)&&(!0,i?s.repeatType="reverse":a?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=a||i||o||u.repeat),"spring"!==u.type&&(s.type="keyframes"),s}function nr(t,n,e){var i,o,a,u;return Array.isArray(n.to)&&(null!==(i=t.duration)&&void 0!==i||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,r.ev)([],(0,r.CR)(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=(0,r._T)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(n).length}(t)||(t=(0,r.pi)((0,r.pi)({},t),(o=e,a=n.to,u=Ut(a)?We:Ne[o]||Ne.default,(0,r.pi)({to:a},u(a))))),(0,r.pi)((0,r.pi)({},n),tr(t))}function er(t,n,e,i,o){var a,u=or(i,t),s=null!==(a=u.from)&&void 0!==a?a:n.get(),c=ze(t,e);"none"===s&&c&&"string"==typeof e?s=Qe(t,e):rr(s)&&"string"==typeof e?s=ir(e):!Array.isArray(e)&&rr(e)&&"string"==typeof s&&(e=ir(s));var l=ze(t,s);return l&&c&&!1!==u.type?function(){var i={from:s,to:e,velocity:n.getVelocity(),onComplete:o,onUpdate:function(t){return n.set(t)}};return"inertia"===u.type||"decay"===u.type?function(t){var n,e=t.from,i=void 0===e?0:e,o=t.velocity,a=void 0===o?0:o,u=t.min,s=t.max,c=t.power,l=void 0===c?.8:c,f=t.timeConstant,d=void 0===f?750:f,v=t.bounceStiffness,p=void 0===v?500:v,m=t.bounceDamping,h=void 0===m?10:m,g=t.restDelta,y=void 0===g?1:g,x=t.modifyTarget,b=t.driver,P=t.onUpdate,A=t.onComplete;function T(t){return void 0!==u&&t<u||void 0!==s&&t>s}function E(t){return void 0===u?s:void 0===s||Math.abs(u-t)<Math.abs(s-t)?u:s}function C(t){null==n||n.stop(),n=Ve((0,r.pi)((0,r.pi)({},t),{driver:b,onUpdate:function(n){var e;null==P||P(n),null===(e=t.onUpdate)||void 0===e||e.call(t,n)},onComplete:A}))}function w(t){C((0,r.pi)({type:"spring",stiffness:p,damping:h,restDelta:y},t))}if(T(i))w({from:i,velocity:a,to:E(i)});else{var S=l*a+i;void 0!==x&&(S=x(S));var M,V,R=E(S),k=R===u?-1:1;C({type:"decay",from:i,velocity:a,timeConstant:d,power:l,restDelta:y,modifyTarget:x,onUpdate:T(S)?function(t){M=V,V=t,a=Re(t-M,(0,we.$B)().delta),(1===k&&t>R||-1===k&&t<R)&&w({from:t,to:R,velocity:a})}:void 0})}return{stop:function(){return null==n?void 0:n.stop()}}}((0,r.pi)((0,r.pi)({},i),u)):Ve((0,r.pi)((0,r.pi)({},nr(u,i,t)),{onUpdate:function(t){var n;i.onUpdate(t),null===(n=u.onUpdate)||void 0===n||n.call(u,t)},onComplete:function(){var t;i.onComplete(),null===(t=u.onComplete)||void 0===t||t.call(u)}}))}:function(){var t;return n.set(e),o(),null===(t=null==u?void 0:u.onComplete)||void 0===t||t.call(u),{stop:function(){}}}}function rr(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function ir(t){return"number"==typeof t?0:Qe("",t)}function or(t,n){return t[n]||t.default||t}function ar(t,n,e,r){return void 0===r&&(r={}),n.start((function(i){var o,a,u=er(t,n,e,r,i),s=function(t,n){var e;return null!==(e=(or(t,n)||{}).delay)&&void 0!==e?e:0}(r,t),c=function(){return a=u()};return s?o=setTimeout(c,ke(s)):c(),function(){clearTimeout(o),null==a||a.stop()}}))}function ur(t,n){-1===t.indexOf(n)&&t.push(n)}function sr(t,n){var e=t.indexOf(n);e>-1&&t.splice(e,1)}var cr=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var n=this;return ur(this.subscriptions,t),function(){return sr(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 i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,n,e)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),lr=function(){function t(t){var n,e=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new cr,this.velocityUpdateSubscribers=new cr,this.renderSubscribers=new cr,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=(0,we.$B)(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,we.ZP.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 we.ZP.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?Re(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 fr(t){return new lr(t)}var dr=function(t){return function(n){return n.test(t)}},vr=[st,it,rt,et,at,ot,{test:function(t){return"auto"===t},parse:function(t){return t}}],pr=function(t){return vr.find(dr(t))},mr=(0,r.ev)((0,r.ev)([],(0,r.CR)(vr)),[Zn,Gn]),hr=function(t){return mr.find(dr(t))};function gr(t,n,e){t.hasValue(n)?t.getValue(n).set(e):t.addValue(n,fr(e))}function yr(t,n){var e=S(t,n),i=e?t.makeTargetAnimatable(e,!1):{},o=i.transitionEnd,a=void 0===o?{}:o;i.transition;var u,s=(0,r._T)(i,["transitionEnd","transition"]);for(var c in s=(0,r.pi)((0,r.pi)({},s),a)){gr(t,c,(u=s[c],Ut(u)?u[u.length-1]||0:u))}}function xr(t,n){if(n)return(n[t]||n.default||n).from}function br(t,n,e){var i;void 0===e&&(e={});var o=S(t,n,e.custom),a=(o||{}).transition,u=void 0===a?t.getDefaultTransition()||{}:a;e.transitionOverride&&(u=e.transitionOverride);var s=o?function(){return Pr(t,o,e)}:function(){return Promise.resolve()},c=(null===(i=t.variantChildren)||void 0===i?void 0:i.size)?function(i){void 0===i&&(i=0);var o=u.delayChildren,a=void 0===o?0:o,s=u.staggerChildren,c=u.staggerDirection;return function(t,n,e,i,o,a){void 0===e&&(e=0);void 0===i&&(i=0);void 0===o&&(o=1);var u=[],s=(t.variantChildren.size-1)*i,c=1===o?function(t){return void 0===t&&(t=0),t*i}:function(t){return void 0===t&&(t=0),s-t*i};return Array.from(t.variantChildren).sort(Ar).forEach((function(t,i){u.push(br(t,n,(0,r.pi)((0,r.pi)({},a),{delay:e+c(i)})).then((function(){return t.notifyAnimationComplete(n)})))})),Promise.all(u)}(t,n,a+i,s,c,e)}:function(){return Promise.resolve()},l=u.when;if(l){var f=(0,r.CR)("beforeChildren"===l?[s,c]:[c,s],2),d=f[0],v=f[1];return d().then(v)}return Promise.all([s(),c(e.delay)])}function Pr(t,n,e){var i,o=void 0===e?{}:e,a=o.delay,u=void 0===a?0:a,s=o.transitionOverride,c=o.type,l=t.makeTargetAnimatable(n),f=l.transition,d=void 0===f?t.getDefaultTransition():f,v=l.transitionEnd,p=(0,r._T)(l,["transition","transitionEnd"]);s&&(d=s);var m=[],h=c&&(null===(i=t.animationState)||void 0===i?void 0:i.getState()[c]);for(var g in p){var y=t.getValue(g),x=p[g];if(!(!y||void 0===x||h&&Tr(h,g))){var b=ar(g,y,x,(0,r.pi)({delay:u},d));m.push(b)}}return Promise.all(m).then((function(){v&&yr(t,v)}))}function Ar(t,n){return t.sortNodePosition(n)}function Tr(t,n){var e=t.protectedKeys,r=t.needsAnimating,i=e.hasOwnProperty(n)&&!0!==r[n];return r[n]=!1,i}var Er=[Xt.Animate,Xt.Hover,Xt.Tap,Xt.Drag,Xt.Focus,Xt.Exit],Cr=(0,r.ev)([],(0,r.CR)(Er)).reverse(),wr=Er.length;function Sr(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 i=n.map((function(n){return br(t,n,e)}));r=Promise.all(i)}else if("string"==typeof n)r=br(t,n,e);else{var o="function"==typeof n?S(t,n,e.custom):n;r=Pr(t,o,e)}return r.then((function(){return t.notifyAnimationComplete(n)}))}(t,e,r)})))}}function Mr(t){var n,e=Sr(t),i=((n={})[Xt.Animate]=Vr(!0),n[Xt.Hover]=Vr(),n[Xt.Tap]=Vr(),n[Xt.Drag]=Vr(),n[Xt.Focus]=Vr(),n[Xt.Exit]=Vr(),n),o={},a=!0,u=function(n,e){var i=S(t,e);if(i){i.transition;var o=i.transitionEnd,a=(0,r._T)(i,["transition","transitionEnd"]);n=(0,r.pi)((0,r.pi)((0,r.pi)({},n),a),o)}return n};function s(n,s){for(var c,l=t.getProps(),f=t.getVariantContext(!0)||{},d=[],v=new Set,p={},m=1/0,h=function(e){var o=Cr[e],h=i[o],g=null!==(c=l[o])&&void 0!==c?c:f[o],y=C(g),x=o===s?h.isActive:null;!1===x&&(m=e);var b=g===f[o]&&g!==l[o]&&y;if(b&&a&&t.manuallyAnimateOnMount&&(b=!1),h.protectedKeys=(0,r.pi)({},p),!h.isActive&&null===x||!g&&!h.prevProp||Ft(g)||"boolean"==typeof g)return"continue";var P=function(t,n){if("string"==typeof n)return n!==t;if(E(n))return!xn(n,t);return!1}(h.prevProp,g)||o===s&&h.isActive&&!b&&y||e>m&&y,A=Array.isArray(g)?g:[g],T=A.reduce(u,{});!1===x&&(T={});var w=h.prevResolvedValues,S=void 0===w?{}:w,M=(0,r.pi)((0,r.pi)({},S),T),V=function(t){P=!0,v.delete(t),h.needsAnimating[t]=!0};for(var R in M){var k=T[R],L=S[R];p.hasOwnProperty(R)||(k!==L?Ut(k)&&Ut(L)?xn(k,L)?h.protectedKeys[R]=!0:V(R):void 0!==k?V(R):v.add(R):void 0!==k&&v.has(R)?V(R):h.protectedKeys[R]=!0)}h.prevProp=g,h.prevResolvedValues=T,h.isActive&&(p=(0,r.pi)((0,r.pi)({},p),T)),a&&t.blockInitialAnimation&&(P=!1),P&&!b&&d.push.apply(d,(0,r.ev)([],(0,r.CR)(A.map((function(t){return{animation:t,options:(0,r.pi)({type:o},n)}})))))},g=0;g<wr;g++)h(g);if(o=(0,r.pi)({},p),v.size){var y={};v.forEach((function(n){var e=t.getBaseTarget(n);void 0!==e&&(y[n]=e)})),d.push({animation:y})}var x=Boolean(d.length);return a&&!1===l.initial&&!t.manuallyAnimateOnMount&&(x=!1),a=!1,x?e(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==o[t]},animateChanges:s,setActive:function(n,e,r){var o;return i[n].isActive===e?Promise.resolve():(null===(o=t.variantChildren)||void 0===o||o.forEach((function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(n,e)})),i[n].isActive=e,s(r,n))},setAnimateFunction:function(n){e=n(t)},getState:function(){return i}}}function Vr(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Rr={animation:gn((function(t){var n=t.visualElement,e=t.animate;n.animationState||(n.animationState=Mr(n)),Ft(e)&&(0,i.useEffect)((function(){return e.subscribe(n)}),[e])})),exit:gn((function(t){var n=t.custom,e=t.visualElement,o=(0,r.CR)(p(),2),a=o[0],u=o[1],s=(0,i.useContext)(d.O);(0,i.useEffect)((function(){var t,r,i=null===(t=e.animationState)||void 0===t?void 0:t.setActive(Xt.Exit,!a,{custom:null!==(r=null==s?void 0:s.custom)&&void 0!==r?r:n});!a&&(null==i||i.then(u))}),[a])}))},kr=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},Lr=function(t){return kr(t)&&t.hasOwnProperty("z")},Dr=function(t,n){return Math.abs(t-n)};function Br(t,n){if(Kn(t)&&Kn(n))return Dr(t,n);if(kr(t)&&kr(n)){var e=Dr(t.x,n.x),r=Dr(t.y,n.y),i=Lr(t)&&Lr(n)?Dr(t.z,n.z):0;return Math.sqrt(Math.pow(e,2)+Math.pow(r,2)+Math.pow(i,2))}}var jr=function(){function t(t,n,e){var i=this,o=(void 0===e?{}:e).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(i.lastMoveEvent&&i.lastMoveEventInfo){var t=Ur(i.lastMoveEventInfo,i.history),n=null!==i.startEvent,e=Br(t.offset,{x:0,y:0})>=3;if(n||e){var o=t.point,a=(0,we.$B)().timestamp;i.history.push((0,r.pi)((0,r.pi)({},o),{timestamp:a}));var u=i.handlers,s=u.onStart,c=u.onMove;n||(s&&s(i.lastMoveEvent,t),i.startEvent=i.lastMoveEvent),c&&c(i.lastMoveEvent,t)}}},this.handlePointerMove=function(t,n){i.lastMoveEvent=t,i.lastMoveEventInfo=Or(n,i.transformPagePoint),qt(t)&&0===t.buttons?i.handlePointerUp(t,n):we.ZP.update(i.updatePoint,!0)},this.handlePointerUp=function(t,n){i.end();var e=i.handlers,r=e.onEnd,o=e.onSessionEnd,a=Ur(Or(n,i.transformPagePoint),i.history);i.startEvent&&r&&r(t,a),o&&o(t,a)},!($t(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=o;var a=Or(Qt(t),this.transformPagePoint),u=a.point,s=(0,we.$B)().timestamp;this.history=[(0,r.pi)((0,r.pi)({},u),{timestamp:s})];var c=n.onSessionStart;c&&c(t,Ur(a,this.history)),this.removeListeners=hn(on(window,"pointermove",this.handlePointerMove),on(window,"pointerup",this.handlePointerUp),on(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),we.qY.update(this.updatePoint)},t}();function Or(t,n){return n?{point:n(t.point)}:t}function Fr(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Ur(t,n){var e=t.point;return{point:e,delta:Fr(e,Hr(n)),offset:Fr(e,Ir(n)),velocity:zr(n,.1)}}function Ir(t){return t[0]}function Hr(t){return t[t.length-1]}function zr(t,n){if(t.length<2)return{x:0,y:0};for(var e=t.length-1,r=null,i=Hr(t);e>=0&&(r=t[e],!(i.timestamp-r.timestamp>ke(n)));)e--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var Yr=e(6066);function Zr(t){return[t("x"),t("y")]}function Xr(t,n,e){var r=n.min,i=n.max;return void 0!==r&&t<r?t=e?Rn(r,t,e.min):Math.max(t,r):void 0!==i&&t>i&&(t=e?Rn(i,t,e.max):Math.min(t,i)),t}function Wr(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 Nr(t,n){var e,i=n.min-t.min,o=n.max-t.max;return n.max-n.min<t.max-t.min&&(i=(e=(0,r.CR)([o,i],2))[0],o=e[1]),{min:t.min+i,max:t.min+o}}function _r(t,n,e){return{min:qr(t,n),max:qr(t,e)}}function qr(t,n){var e;return"number"==typeof t?t:null!==(e=t[n])&&void 0!==e?e:0}function $r(t,n){var e=t.getBoundingClientRect();return(0,Yr.RX)((0,Yr.dV)(e,n))}function Gr(t,n,e){return void 0===n&&(n=0),void 0===e&&(e=.01),Br(t,n)<e}function Kr(t){return t.max-t.min}function Jr(t,n){var e=.5,r=Kr(t),i=Kr(n);return i>r?e=Vn(n.min,n.max-r,t.min):r>i&&(e=Vn(t.min,t.max-i,n.min)),bn(0,1,e)}function Qr(t,n,e,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=Rn(n.min,n.max,t.origin),t.scale=Kr(e)/Kr(n),Gr(t.scale,1,1e-4)&&(t.scale=1),t.translate=Rn(e.min,e.max,t.origin)-t.originPoint,Gr(t.translate)&&(t.translate=0)}function ti(t,n,e,r){Qr(t.x,n.x,e.x,ni(r.originX)),Qr(t.y,n.y,e.y,ni(r.originY))}function ni(t){return"number"==typeof t?t:.5}function ei(t,n,e){t.min=e.min+n.min,t.max=t.min+Kr(n)}var ri=e(5302);function ii(t,n){return{min:n.min-t.min,max:n.max-t.min}}function oi(t,n){return{x:ii(t.x,n.x),y:ii(t.y,n.y)}}function ai(t,n){var e=t.getLayoutId(),r=n.getLayoutId();return e!==r||void 0===r&&t!==n}function ui(t){var n=t.getProps(),e=n.drag,r=n._dragX;return e&&!r}function si(t,n){t.min=n.min,t.max=n.max}function ci(t,n,e){return e+n*(t-e)}function li(t,n,e,r,i){return void 0!==i&&(t=ci(t,i,r)),ci(t,e,r)+n}function fi(t,n,e,r,i){void 0===n&&(n=0),void 0===e&&(e=1),t.min=li(t.min,n,e,r,i),t.max=li(t.max,n,e,r,i)}function di(t,n){var e=n.x,r=n.y;fi(t.x,e.translate,e.scale,e.originPoint),fi(t.y,r.translate,r.scale,r.originPoint)}function vi(t,n,e,i){var o=(0,r.CR)(i,3),a=o[0],u=o[1],s=o[2];t.min=n.min,t.max=n.max;var c=void 0!==e[s]?e[s]:.5,l=Rn(n.min,n.max,c);fi(t,e[a],e[u],l,e.scale)}var pi=["x","scaleX","originX"],mi=["y","scaleY","originY"];function hi(t,n,e){vi(t.x,n.x,e,pi),vi(t.y,n.y,e,mi)}function gi(t,n,e,r,i){return t=ci(t-=n,1/e,r),void 0!==i&&(t=ci(t,1/i,r)),t}function yi(t,n,e){var i=(0,r.CR)(e,3),o=i[0],a=i[1],u=i[2];!function(t,n,e,r,i){void 0===n&&(n=0),void 0===e&&(e=1),void 0===r&&(r=.5);var o=Rn(t.min,t.max,r)-n;t.min=gi(t.min,n,e,o,i),t.max=gi(t.max,n,e,o,i)}(t,n[o],n[a],n[u],n.scale)}function xi(t,n){yi(t.x,n,pi),yi(t.y,n,mi)}var bi,Pi=e(6090),Ai=new WeakMap,Ti=function(){function t(t){var n=t.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic=(0,Yr.VZ)(),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(),Ai.set(n,this)}return t.prototype.start=function(t,n){var e=this,i=void 0===n?{}:n,o=i.snapToCursor,a=void 0!==o&&o,u=i.cursorProgress,s=this.props.transformPagePoint;this.panSession=new jr(t,{onSessionStart:function(t){var n;e.stopMotion();var i=function(t){return Qt(t,"client")}(t).point;null===(n=e.cancelLayout)||void 0===n||n.call(e),e.cancelLayout=(0,Pi.U)((function(t,n){var o=(0,ri.kv)(e.visualElement),s=(0,ri.e3)(e.visualElement),c=(0,r.ev)((0,r.ev)([],(0,r.CR)(o)),(0,r.CR)(s)),l=!1;e.isLayoutDrag()&&e.visualElement.lockProjectionTarget(),n((function(){c.forEach((function(t){return t.resetTransform()}))})),t((function(){(0,ri.de)(e.visualElement),s.forEach(ri.de)})),n((function(){c.forEach((function(t){return t.restoreTransform()})),a&&(l=e.snapToCursor(i))})),t((function(){Boolean(e.getAxisMotionValue("x")&&!e.isExternalDrag())||e.visualElement.rebaseProjectionTarget(!0,e.visualElement.measureViewportBox(!1)),e.visualElement.scheduleUpdateLayoutProjection();var t=e.visualElement.projection;Zr((function(n){if(!l){var r=t.target[n],o=r.min,a=r.max;e.cursorProgress[n]=u?u[n]:Vn(o,a,i[n])}var s=e.getAxisMotionValue(n);s&&(e.originPoint[n]=s.get())}))})),n((function(){we.iW.update(),we.iW.preRender(),we.iW.render(),we.iW.postRender()})),t((function(){return e.resolveDragConstraints()}))}))},onStart:function(t,n){var r,i,o,a=e.props,u=a.drag,s=a.dragPropagation;(!u||s||(e.openGlobalLock&&e.openGlobalLock(),e.openGlobalLock=ln(u),e.openGlobalLock))&&((0,Pi.R)(),e.isDragging=!0,e.currentDirection=null,null===(i=(r=e.props).onDragStart)||void 0===i||i.call(r,t,n),null===(o=e.visualElement.animationState)||void 0===o||o.setActive(Xt.Drag,!0))},onMove:function(t,n){var r,i,o,a,u=e.props,s=u.dragPropagation,c=u.dragDirectionLock;if(s||e.openGlobalLock){var l=n.offset;if(c&&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}(l),void(null!==e.currentDirection&&(null===(i=(r=e.props).onDirectionLock)||void 0===i||i.call(r,e.currentDirection)));e.updateAxis("x",n.point,l),e.updateAxis("y",n.point,l),null===(a=(o=e.props).onDrag)||void 0===a||a.call(o,t,n),bi=t}},onSessionEnd:function(t,n){return e.stop(t,n)}},{transformPagePoint:s})},t.prototype.resolveDragConstraints=function(){var t=this,n=this.props,e=n.dragConstraints,r=n.dragElastic,i=this.visualElement.getLayoutState().layoutCorrected;this.constraints=!!e&&(T(e)?this.resolveRefConstraints(i,e):function(t,n){var e=n.top,r=n.left,i=n.bottom,o=n.right;return{x:Wr(t.x,r,o),y:Wr(t.y,e,i)}}(i,e)),this.elastic=function(t){return!1===t?t=0:!0===t&&(t=.35),{x:_r(t,"left","right"),y:_r(t,"top","bottom")}}(r),this.constraints&&!this.hasMutatedConstraints&&Zr((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}(i[n],t.constraints[n]))}))},t.prototype.resolveRefConstraints=function(t,n){var e=this.props,r=e.onMeasureDragConstraints,i=e.transformPagePoint,o=n.current;this.constraintsBox=$r(o,i);var a=function(t,n){return{x:Nr(t.x,n.x),y:Nr(t.y,n.y)}}(t,this.constraintsBox);if(r){var u=r((0,Yr._6)(a));this.hasMutatedConstraints=!!u,u&&(a=(0,Yr.RX)(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(Xt.Drag,!1)},t.prototype.stop=function(t,n){var e,r,i;null===(e=this.panSession)||void 0===e||e.end(),this.panSession=null;var o=this.isDragging;if(this.cancelDrag(),o){var a=n.velocity;this.animateDragEnd(a),null===(i=(r=this.props).onDragEnd)||void 0===i||i.call(r,t,n)}},t.prototype.snapToCursor=function(t){var n=this;return Zr((function(e){if(Ei(e,n.props.drag,n.currentDirection)){var r=n.getAxisMotionValue(e);if(!r)return n.cursorProgress[e]=.5,!0;var i=n.visualElement.getLayoutState().layout,o=i[e].max-i[e].min,a=i[e].min+o/2,u=t[e]-a;n.originPoint[e]=t[e],r.set(u)}})).includes(!0)},t.prototype.updateAxis=function(t,n,e){if(Ei(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],i=this.constraints?Xr(r,this.constraints[t],this.elastic[t]):r;e.set(i)}},t.prototype.updateVisualElementAxis=function(t,n){var e,r=this.visualElement.getLayoutState().layout[t],i=r.max-r.min,o=this.cursorProgress[t],a=function(t,n,e,r,i){var o=t-n*e;return r?Xr(o,r,i):o}(n[t],i,o,null===(e=this.constraints)||void 0===e?void 0:e[t],this.elastic[t]);this.visualElement.setProjectionTargetAxis(t,a,a+i)},t.prototype.setProps=function(t){var n=t.drag,e=void 0!==n&&n,i=t.dragDirectionLock,o=void 0!==i&&i,a=t.dragPropagation,u=void 0!==a&&a,s=t.dragConstraints,c=void 0!==s&&s,l=t.dragElastic,f=void 0===l?.35:l,d=t.dragMomentum,v=void 0===d||d,p=(0,r._T)(t,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=(0,r.pi)({drag:e,dragDirectionLock:o,dragPropagation:u,dragConstraints:c,dragElastic:f,dragMomentum:v},p)},t.prototype.getAxisMotionValue=function(t){var n=this.props,e=n.layout,r=n.layoutId,i="_drag"+t.toUpperCase();return this.props[i]?this.props[i]: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,i=e.drag,o=e.dragMomentum,a=e.dragElastic,u=e.dragTransition,s=function(t,n){void 0===n&&(n=!0);var e,r=t.getProjectionParent();return!!r&&(n?xi(e=oi(r.projection.target,t.projection.target),r.getLatestValues()):e=oi(r.getLayoutState().layout,t.getLayoutState().layout),Zr((function(n){return t.setProjectionTargetAxis(n,e[n].min,e[n].max,!0)})),!0)}(this.visualElement,this.isLayoutDrag()&&!this.isExternalDrag()),c=this.constraints||{};if(s&&Object.keys(c).length&&this.isLayoutDrag()){var l=this.visualElement.getProjectionParent();if(l){var f=oi(l.projection.targetFinal,c);Zr((function(t){var n=f[t],e=n.min,r=n.max;c[t]={min:isNaN(e)?void 0:e,max:isNaN(r)?void 0:r}}))}}var d=Zr((function(e){var l;if(Ei(e,i,n.currentDirection)){var f=null!==(l=null==c?void 0:c[e])&&void 0!==l?l:{},d=a?200:1e6,v=a?40:1e7,p=(0,r.pi)((0,r.pi)({type:"inertia",velocity:o?t[e]:0,bounceStiffness:d,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},u),f);return n.getAxisMotionValue(e)?n.startAxisValueAnimation(e,p):n.visualElement.startLayoutAnimation(e,p,s)}}));return Promise.all(d).then((function(){var t,e;null===(e=(t=n.props).onDragTransitionEnd)||void 0===e||e.call(t)}))},t.prototype.stopMotion=function(){var t=this;Zr((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),ar(t,e,0,n)}},t.prototype.scalePoint=function(){var t=this,n=this.props,e=n.drag;if(T(n.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};Zr((function(n){r[n]=Jr(t.visualElement.projection.target[n],t.constraintsBox[n])})),this.updateConstraints((function(){Zr((function(n){if(Ei(n,e,null)){var i=function(t,n,e){var r=t.max-t.min,i=Rn(n.min,n.max-r,e);return{min:i,max:i+r}}(t.visualElement.projection.target[n],t.constraintsBox[n],r[n]),o=i.min,a=i.max;t.visualElement.setProjectionTargetAxis(n,o,a)}}))})),setTimeout(Pi.R,1)}},t.prototype.updateConstraints=function(t){var n=this;this.cancelLayout=(0,Pi.U)((function(e,r){var i=(0,ri.kv)(n.visualElement);r((function(){return i.forEach((function(t){return t.resetTransform()}))})),e((function(){return(0,ri.de)(n.visualElement)})),r((function(){return i.forEach((function(t){return t.restoreTransform()}))})),e((function(){n.resolveDragConstraints()})),t&&r(t)}))},t.prototype.mount=function(t){var n=this,e=on(t.getInstance(),"pointerdown",(function(t){var e=n.props,r=e.drag,i=e.dragListener;r&&(void 0===i||i)&&n.start(t)})),r=Nt(window,"resize",(function(){n.scalePoint()})),i=t.onLayoutUpdate((function(){n.isDragging&&n.resolveDragConstraints()})),o=t.prevDragCursor;return o&&this.start(bi,{cursorProgress:o}),function(){null==e||e(),null==r||r(),null==i||i(),n.cancelDrag()}},t}();function Ei(t,n,e){return!(!0!==n&&n!==t||null!==e&&e!==t)}var Ci={pan:gn((function(t){var n=t.onPan,e=t.onPanStart,r=t.onPanEnd,o=t.onPanSessionStart,a=t.visualElement,u=n||e||r||o,s=(0,i.useRef)(null),c=(0,i.useContext)(l).transformPagePoint,f={onSessionStart:o,onStart:e,onMove:n,onEnd:function(t,n){s.current=null,r&&r(t,n)}};(0,i.useEffect)((function(){null!==s.current&&s.current.updateHandlers(f)})),an(a,"pointerdown",u&&function(t){s.current=new jr(t,f,{transformPagePoint:c})}),(0,pn.z)((function(){return s.current&&s.current.end()}))})),drag:gn((function(t){var n=t.dragControls,e=t.visualElement,o=(0,i.useContext)(l).transformPagePoint,a=(0,v.h)((function(){return new Ti({visualElement:e})}));a.setProps((0,r.pi)((0,r.pi)({},t),{transformPagePoint:o})),(0,i.useEffect)((function(){return n&&n.subscribe(a)}),[a]),(0,i.useEffect)((function(){return a.mount(e)}),[])}))},wi=e(8894);function Si(t){return"string"==typeof t&&t.startsWith("var(--")}var Mi=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Vi(t,n,e){void 0===e&&(e=1);var i=(0,r.CR)(function(t){var n=Mi.exec(t);if(!n)return[,];var e=(0,r.CR)(n,3);return[e[1],e[2]]}(t),2),o=i[0],a=i[1];if(o){var u=window.getComputedStyle(n).getPropertyValue(o);return u?u.trim():Si(a)?Vi(a,n,e+1):a}}function Ri(t,n){return t/(n.max-n.min)*100}var ki="_$css";var Li={process:function(t,n,e){var r=e.target;if("string"==typeof t){if(!it.test(t))return t;t=parseFloat(t)}return Ri(t,r.x)+"% "+Ri(t,r.y)+"%"}},Di={borderRadius:(0,r.pi)((0,r.pi)({},Li),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Li,borderTopRightRadius:Li,borderBottomLeftRadius:Li,borderBottomRightRadius:Li,boxShadow:{process:function(t,n){var e=n.delta,r=n.treeScale,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(Mi,(function(t){return a.push(t),ki})));var u=Gn.parse(t);if(u.length>5)return i;var s=Gn.createTransformer(t),c="number"!=typeof u[0]?1:0,l=e.x.scale*r.x,f=e.y.scale*r.y;u[0+c]/=l,u[1+c]/=f;var d=Rn(l,f,.5);"number"==typeof u[2+c]&&(u[2+c]/=d),"number"==typeof u[3+c]&&(u[3+c]/=d);var v=s(u);if(o){var p=0;v=v.replace(ki,(function(){var t=a[p];return p++,t}))}return v}}},Bi=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.frameTarget=(0,Yr.VZ)(),n.currentAnimationTarget=(0,Yr.VZ)(),n.isAnimating={x:!1,y:!1},n.stopAxisAnimation={x:void 0,y:void 0},n.isAnimatingTree=!1,n.animate=function(t,e,i){void 0===i&&(i={});var o=i.originBox,a=i.targetBox,u=i.visibilityAction,s=i.shouldStackAnimate,c=i.onComplete,l=i.prevParent,f=(0,r._T)(i,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),d=n.props,v=d.visualElement,p=d.layout;if(!1===s)return n.isAnimatingTree=!1,n.safeToRemove();if(!n.isAnimatingTree||!0===s){s&&(n.isAnimatingTree=!0),e=o||e,t=a||t;var m=!1,h=v.getProjectionParent();if(h){var g=h.prevViewportBox,y=h.getLayoutState().layout;l&&(a&&(y=l.getLayoutState().layout),o&&!ai(l,h)&&l.prevViewportBox&&(g=l.prevViewportBox)),g&&Hi(l,o,a)&&(m=!0,e=oi(g,e),t=oi(y,t))}var x=ji(e,t),b=Zr((function(i){var o,a;if("position"===p){var s=t[i].max-t[i].min;e[i].max=e[i].min+s}if(!v.projection.isTargetLocked)return void 0===u?x?n.animateAxis(i,t[i],e[i],(0,r.pi)((0,r.pi)({},f),{isRelative:m})):(null===(a=(o=n.stopAxisAnimation)[i])||void 0===a||a.call(o),v.setProjectionTargetAxis(i,t[i].min,t[i].max,m)):void v.setVisibility(u===wi.c.Show)}));return v.syncRender(),Promise.all(b).then((function(){n.isAnimatingTree=!1,c&&c(),v.notifyLayoutAnimationComplete()}))}},n}return(0,r.ZT)(n,t),n.prototype.componentDidMount=function(){var t=this,n=this.props.visualElement;n.animateMotionValue=ar,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return t.safeToRemove()},function(t){for(var n in t)O[n]=t[n]}(Di)},n.prototype.componentWillUnmount=function(){var t=this;this.unsubLayoutReady(),Zr((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 i,o,a=this,u=void 0===r?{}:r,s=u.transition,c=u.isRelative;if(!this.isAnimating[t]||!Ui(n,this.currentAnimationTarget[t])){null===(o=(i=this.stopAxisAnimation)[t])||void 0===o||o.call(i),this.isAnimating[t]=!0;var l=this.props.visualElement,f=this.frameTarget[t],d=l.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=Rn(n.min,e.min,r),t.max=Rn(n.max,e.max,r)}(f,e,n,r),l.setProjectionTargetAxis(t,f.min,f.max,c)};v();var p=d.onChange(v);this.stopAxisAnimation[t]=function(){a.isAnimating[t]=!1,d.stop(),p()},this.currentAnimationTarget[t]=n;var m=s||l.getDefaultTransition()||Ii;return ar("x"===t?"layoutX":"layoutY",d,1e3,m&&or(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}(i.Component);function ji(t,n){return!(Fi(t)||Fi(n)||Ui(t.x,n.x)&&Ui(t.y,n.y))}var Oi={min:0,max:0};function Fi(t){return Ui(t.x,Oi)&&Ui(t.y,Oi)}function Ui(t,n){return t.min===n.min&&t.max===n.max}var Ii={duration:.45,ease:[.4,0,.1,1]};function Hi(t,n,e){return t||!t&&!(n||e)}var zi=e(9180),Yi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(n,t),n.prototype.componentDidMount=function(){var t=this.props,n=t.syncLayout,e=t.framerSyncLayout,r=t.visualElement;(0,zi.Md)(n)&&n.register(r),(0,zi.Md)(e)&&e.register(r),r.onUnmount((function(){(0,zi.Md)(n)&&n.remove(r),(0,zi.Md)(e)&&e.remove(r)}))},n.prototype.getSnapshotBeforeUpdate=function(){var t=this.props,n=t.syncLayout,e=t.visualElement;return(0,zi.Md)(n)?n.syncUpdate():((0,ri.x7)(e),n.add(e)),null},n.prototype.componentDidUpdate=function(){var t=this.props.syncLayout;(0,zi.Md)(t)||t.flush()},n.prototype.render=function(){return null},n}(i.Component);var Zi={measureLayout:function(t){var n=(0,i.useContext)(zi.WH),e=(0,i.useContext)(zi.bg);return i.createElement(Yi,(0,r.pi)({},t,{syncLayout:n,framerSyncLayout:e}))},layoutAnimation:function(t){var n=(0,r.CR)(p(),2)[1];return i.createElement(Bi,(0,r.pi)({},t,{safeToRemove:n}))}};function Xi(){return{isHydrated:!1,layout:(0,Yr.VZ)(),layoutCorrected:(0,Yr.VZ)(),treeScale:{x:1,y:1},delta:(0,Yr.pY)(),deltaFinal:(0,Yr.pY)(),deltaTransform:""}}var Wi=Xi();function Ni(t,n,e){var r=t.x,i=t.y,o="translate3d("+r.translate/n.x+"px, "+i.translate/n.y+"px, 0) ";if(e){var a=e.rotate,u=e.rotateX,s=e.rotateY;a&&(o+="rotate("+a+") "),u&&(o+="rotateX("+u+") "),s&&(o+="rotateY("+s+") ")}return o+="scale("+r.scale+", "+i.scale+")",e||o!==qi?o:""}function _i(t){var n=t.deltaFinal;return 100*n.x.origin+"% "+100*n.y.origin+"% 0"}var qi=Ni(Wi.delta,Wi.treeScale,{x:1,y:1}),$i=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function Gi(t,n,e,r){var i,o,a=t.delta,u=t.layout,s=t.layoutCorrected,c=t.treeScale,l=n.target;o=u,si((i=s).x,o.x),si(i.y,o.y),function(t,n,e){var r=e.length;if(r){var i,o;n.x=n.y=1;for(var a=0;a<r;a++)o=(i=e[a]).getLayoutState().delta,n.x*=o.x.scale,n.y*=o.y.scale,di(t,o),ui(i)&&hi(t,t,i.getLatestValues())}}(s,c,e),ti(a,s,l,r)}var Ki=e(4466),Ji=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){ur(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){sr(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(Ki._),this.isDirty=!1,this.children.forEach(t)},t}();var Qi=function(t){var n=t.treeType,e=void 0===n?"":n,i=t.build,o=t.getBaseTarget,a=t.makeTargetAnimatable,u=t.measureViewportBox,s=t.render,c=t.readValueFromInstance,l=t.resetTransform,f=t.restoreTransform,d=t.removeValueFromRenderState,v=t.sortNodePosition,p=t.scrapeMotionValuesFromProps;return function(t,n){var m=t.parent,h=t.props,g=t.presenceId,y=t.blockInitialAnimation,x=t.visualState;void 0===n&&(n={});var b,P,A,T,E,w,S=x.latestValues,R=x.renderState,k=function(){var t=$i.map((function(){return new cr})),n={},e={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){return $i.forEach((function(r){var i;null===(i=n[r])||void 0===i||i.call(n);var o="on"+r,a=t[o];a&&(n[r]=e[o](a))}))}};return t.forEach((function(t,n){e["on"+$i[n]]=function(n){return t.add(n)},e["notify"+$i[n]]=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.notify.apply(t,(0,r.ev)([],(0,r.CR)(n)))}})),e}(),L={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:(0,Yr.VZ)(),targetFinal:(0,Yr.VZ)()},D=L,B=S,j=Xi(),O=!1,F=new Map,U=new Map,I={},H=(0,r.pi)({},S);function z(){b&&(K.isProjectionReady()&&(hi(D.targetFinal,D.target,B),ti(j.deltaFinal,j.layoutCorrected,D.targetFinal,S)),Y(),s(b,R))}function Y(){var t=S;if(T&&T.isActive()){var e=T.getCrossfadeState(K);e&&(t=e)}i(K,R,t,D,j,n,h)}function Z(){k.notifyUpdate(S)}function X(){K.layoutTree.forEach(no)}var N=p(h);for(var _ in N){var q=N[_];void 0!==S[_]&&W(q)&&q.set(S[_],!1)}var $=M(h),G=V(h),K=(0,r.pi)((0,r.pi)({treeType:e,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,path:m?(0,r.ev)((0,r.ev)([],(0,r.CR)(m.path)),[m]):[],layoutTree:m?m.layoutTree:new Ji,presenceId:g,projection:L,variantChildren:G?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==m?void 0:m.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(b)},mount:function(t){b=K.current=t,K.pointTo(K),G&&m&&!$&&(w=null==m?void 0:m.addVariantChild(K)),null==m||m.children.add(K)},unmount:function(){we.qY.update(Z),we.qY.render(z),we.qY.preRender(K.updateLayoutProjection),U.forEach((function(t){return t()})),K.stopLayoutAnimation(),K.layoutTree.remove(K),null==w||w(),null==m||m.children.delete(K),null==A||A(),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 v&&e===t.treeType?v(K.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return G?K:null==m?void 0:m.getClosestVariantNode()},scheduleUpdateLayoutProjection:m?m.scheduleUpdateLayoutProjection:function(){return we.ZP.preRender(K.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return h.layoutId},getInstance:function(){return b},getStaticValue:function(t){return S[t]},setStaticValue:function(t,n){return S[t]=n},getLatestValues:function(){return S},setVisibility:function(t){K.isVisible!==t&&(K.isVisible=t,K.scheduleRender())},makeTargetAnimatable:function(t,n){return void 0===n&&(n=!0),a(K,t,h,n)},addValue:function(t,n){K.hasValue(t)&&K.removeValue(t),F.set(t,n),S[t]=n.get(),function(t,n){var e=n.onChange((function(n){S[t]=n,h.onUpdate&&we.ZP.update(Z,!1,!0)})),r=n.onRenderRequest(K.scheduleRender);U.set(t,(function(){e(),r()}))}(t,n)},removeValue:function(t){var n;F.delete(t),null===(n=U.get(t))||void 0===n||n(),U.delete(t),delete S[t],d(t,R)},hasValue:function(t){return F.has(t)},getValue:function(t,n){var e=F.get(t);return void 0===e&&void 0!==n&&(e=fr(n),K.addValue(t,e)),e},forEachValue:function(t){return F.forEach(t)},readValue:function(t){var e;return null!==(e=S[t])&&void 0!==e?e:c(b,t,n)},setBaseTarget:function(t,n){H[t]=n},getBaseTarget:function(t){if(o){var n=o(h,t);if(void 0!==n&&!W(n))return n}return H[t]}},k),{build:function(){return Y(),R},scheduleRender:function(){we.ZP.render(z,!1,!0)},syncRender:z,setProps:function(t){h=t,k.updatePropListeners(t),I=function(t,n,e){var r;for(var i in n){var o=n[i],a=e[i];if(W(o))t.addValue(i,o);else if(W(a))t.addValue(i,fr(o));else if(a!==o)if(t.hasValue(i)){var u=t.getValue(i);!u.hasAnimated&&u.set(o)}else t.addValue(i,fr(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}for(var i in e)void 0===n[i]&&t.removeValue(i);return n}(K,p(h),I)},getProps:function(){return h},getVariant:function(t){var n;return null===(n=h.variants)||void 0===n?void 0:n[t]},getDefaultTransition:function(){return h.transition},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==m?void 0:m.getVariantContext();if(!$){var n=(null==m?void 0:m.getVariantContext())||{};return void 0!==h.initial&&(n.initial=h.initial),n}for(var e={},r=0;r<io;r++){var i=ro[r],o=h[i];(C(o)||!1===o)&&(e[i]=o)}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){T=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],i=e?L.relativeTarget[t]:L.target[t],o=i.min,a=i.max-o;return r.clearListeners(),r.set(o),r.set(o),r.onChange((function(n){K.setProjectionTargetAxis(t,n,n+a,e)})),K.animateMotionValue(t,r,0,n)},stopLayoutAnimation:function(){Zr((function(t){return K.getProjectionAnimationProgress()[t].stop()}))},measureViewportBox:function(t){void 0===t&&(t=!0);var e=u(b,n);return t||xi(e,S),e},getProjectionAnimationProgress:function(){return E||(E={x:fr(0),y:fr(0)}),E},setProjectionTargetAxis:function(t,n,e,r){var i;void 0===r&&(r=!1),r?(L.relativeTarget||(L.relativeTarget=(0,Yr.VZ)()),i=L.relativeTarget[t]):(L.relativeTarget=void 0,i=L.target[t]),L.isHydrated=!0,i.min=n,i.max=e,O=!0,k.notifySetAxisTarget()},rebaseProjectionTarget:function(t,n){void 0===n&&(n=j.layout);var e=K.getProjectionAnimationProgress(),r=e.x,i=e.y,o=!(L.relativeTarget||L.isTargetLocked||r.isAnimating()||i.isAnimating());(t||o)&&Zr((function(t){var e=n[t],r=e.min,i=e.max;K.setProjectionTargetAxis(t,r,i)}))},notifyLayoutReady:function(t){!function(t){var n=t.getProjectionParent();if(n){var e=oi(n.getLayoutState().layout,t.getLayoutState().layout);Zr((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,b,h)},restoreTransform:function(){return f(b,R)},updateLayoutProjection:function(){if(K.isProjectionReady()){var t=j.delta,n=j.treeScale,e=n.x,r=n.y,i=j.deltaTransform;Gi(j,D,K.path,S),O&&K.notifyViewportBoxUpdate(D.target,t),O=!1;var o=Ni(t,n);o===i&&e===n.x&&r===n.y||K.scheduleRender(),j.deltaTransform=o}},updateTreeLayoutProjection:function(){K.layoutTree.forEach(to),we.ZP.preRender(X,!1,!0)},getProjectionParent:function(){if(void 0===P){for(var t=!1,n=K.path.length-1;n>=0;n--){var e=K.path[n];if(e.projection.isEnabled){t=e;break}}P=t}return P},resolveRelativeTargetBox:function(){var t=K.getProjectionParent();if(L.relativeTarget&&t&&(function(t,n){ei(t.target.x,t.relativeTarget.x,n.target.x),ei(t.target.y,t.relativeTarget.y,n.target.y)}(L,t.projection),ui(t))){var n=L.target;hi(n,n,t.getLatestValues())}},shouldResetTransform:function(){return Boolean(h._layoutResetTransform)},pointTo:function(t){D=t.projection,B=t.getLatestValues(),null==A||A(),A=hn(t.onSetAxisTarget(K.scheduleUpdateLayoutProjection),t.onLayoutAnimationComplete((function(){var t;K.isPresent?K.presence=wi.z.Present:null===(t=K.layoutSafeToRemove)||void 0===t||t.call(K)})))},isPresent:!0,presence:wi.z.Entering});return K}};function to(t){t.resolveRelativeTargetBox()}function no(t){t.updateLayoutProjection()}var eo,ro=(0,r.ev)(["initial"],(0,r.CR)(Er)),io=ro.length,oo=new Set(["width","height","top","left","right","bottom","x","y"]),ao=function(t){return oo.has(t)},uo=function(t,n){t.set(n,!1),t.set(n)},so=function(t){return t===st||t===it};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(eo||(eo={}));var co=function(t,n){return parseFloat(t.split(", ")[n])},lo=function(t,n){return function(e,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return co(o[1],n);var a=i.match(/^matrix\((.+)\)$/);return a?co(a[1],t):0}},fo=new Set(["x","y","z"]),vo=U.filter((function(t){return!fo.has(t)}));var po={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:lo(4,13),y:lo(5,14)},mo=function(t,n,e,i){void 0===e&&(e={}),void 0===i&&(i={}),n=(0,r.pi)({},n),i=(0,r.pi)({},i);var o=Object.keys(n).filter(ao),a=[],u=!1,s=[];if(o.forEach((function(r){var o=t.getValue(r);if(t.hasValue(r)){var c,l=e[r],f=n[r],d=pr(l);if(Ut(f))for(var v=f.length,p=null===f[0]?1:0;p<v;p++)c?pr(f[p]):(c=pr(f[p]))===d||so(d)&&so(c);else c=pr(f);if(d!==c)if(so(d)&&so(c)){var m=o.get();"string"==typeof m&&o.set(parseFloat(m)),"string"==typeof f?n[r]=parseFloat(f):Array.isArray(f)&&c===it&&(n[r]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==c?void 0:c.transform)&&(0===l||0===f)?0===l?o.set(c.transform(l)):n[r]=d.transform(f):(u||(a=function(t){var n=[];return vo.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),u=!0),s.push(r),i[r]=void 0!==i[r]?i[r]:n[r],uo(o,f))}})),s.length){var c=function(t,n,e){var r=n.measureViewportBox(),i=n.getInstance(),o=getComputedStyle(i),a=o.display,u={top:o.top,left:o.left,bottom:o.bottom,right:o.right,transform:o.transform};"none"===a&&n.setStaticValue("display",t.display||"block"),n.syncRender();var s=n.measureViewportBox();return e.forEach((function(e){var i=n.getValue(e);uo(i,po[e](r,u)),t[e]=po[e](s,o)})),t}(n,t,s);return a.length&&a.forEach((function(n){var e=(0,r.CR)(n,2),i=e[0],o=e[1];t.getValue(i).set(o)})),t.syncRender(),{target:c,transitionEnd:i}}return{target:n,transitionEnd:i}};function ho(t,n,e,r){return function(t){return Object.keys(t).some(ao)}(n)?mo(t,n,e,r):{target:n,transitionEnd:r}}var go=function(t,n,e,i){var o=function(t,n,e){var i,o=(0,r._T)(n,[]),a=t.getInstance();if(!(a instanceof HTMLElement))return{target:o,transitionEnd:e};for(var u in e&&(e=(0,r.pi)({},e)),t.forEachValue((function(t){var n=t.get();if(Si(n)){var e=Vi(n,a);e&&t.set(e)}})),o){var s=o[u];if(Si(s)){var c=Vi(s,a);c&&(o[u]=c,e&&(null!==(i=e[u])&&void 0!==i||(e[u]=s)))}}return{target:o,transitionEnd:e}}(t,n,i);return ho(t,n=o.target,e,i=o.transitionEnd)};var yo={treeType:"dom",readValueFromInstance:function(t,n){if(z(n)){var e=Je(n);return e&&e.default||0}var r,i=(r=t,window.getComputedStyle(r));return(_(n)?i.getPropertyValue(n):i[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 $r(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,i){var o=e.transformValues;void 0===i&&(i=!0);var a=n.transition,u=n.transitionEnd,s=(0,r._T)(n,["transition","transitionEnd"]),c=function(t,n,e){var r,i,o={};for(var a in t)o[a]=null!==(r=xr(a,n))&&void 0!==r?r:null===(i=e.getValue(a))||void 0===i?void 0:i.get();return o}(s,a||{},t);if(o&&(u&&(u=o(u)),s&&(s=o(s)),c&&(c=o(c))),i){!function(t,n,e){var r,i,o,a,u=Object.keys(n).filter((function(n){return!t.hasValue(n)})),s=u.length;if(s)for(var c=0;c<s;c++){var l=u[c],f=n[l],d=null;Array.isArray(f)&&(d=f[0]),null===d&&(d=null!==(i=null!==(r=e[l])&&void 0!==r?r:t.readValue(l))&&void 0!==i?i:n[l]),null!=d&&("string"==typeof d&&/^\-?\d*\.?\d+$/.test(d)?d=parseFloat(d):!hr(d)&&Gn.test(f)&&(d=Qe(l,f)),t.addValue(l,fr(d)),null!==(o=(a=e)[l])&&void 0!==o||(a[l]=d),t.setBaseTarget(l,d))}}(t,s,c);var l=go(t,s,c,u);u=l.transitionEnd,s=l.target}return(0,r.pi)({transition:a,transitionEnd:u},s)},scrapeMotionValuesFromProps:jt,build:function(t,n,e,r,i,o,a){void 0!==t.isVisible&&(n.style.visibility=t.isVisible?"visible":"hidden");var u=r.isEnabled&&i.isHydrated;vt(n,e,r,i,o,a.transformTemplate,u?Ni:void 0,u?_i:void 0)},render:Lt},xo=Qi(yo),bo=Qi((0,r.pi)((0,r.pi)({},yo),{getBaseTarget:function(t,n){return t[n]},readValueFromInstance:function(t,n){var e;return z(n)?(null===(e=Je(n))||void 0===e?void 0:e.default)||0:(n=Dt.has(n)?n:kt(n),t.getAttribute(n))},scrapeMotionValuesFromProps:Ot,build:function(t,n,e,r,i,o,a){var u=r.isEnabled&&i.isHydrated;wt(n,e,r,i,o,a.transformTemplate,u?Ni:void 0,u?_i:void 0)},render:Bt})),Po=function(t,n){return j(t)?bo(n,{enableHardwareAcceleration:!1}):xo(n,{enableHardwareAcceleration:!0})},Ao=(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},Rr),yn),Ci),Zi),To=D((function(t,n){return function(t,n,e,i){var o=n.forwardMotionProps,a=void 0!==o&&o,u=j(t)?Zt:Wt;return(0,r.pi)((0,r.pi)({},u),{preloadedFeatures:e,useRender:Vt(a),createVisualElement:i,Component:t})}(t,n,Ao,Po)}))},5302:function(t,n,e){e.d(n,{kv:function(){return u},e3:function(){return s},x7:function(){return l},de:function(){return c}});var r=e(1793),i=e(6066),o=e(4466);function a(t){return t.projection.isEnabled||t.shouldResetTransform()}function u(t,n){void 0===n&&(n=[]);var e=t.parent;return e&&u(e,n),a(t)&&n.push(t),n}function s(t){var n=[];return t.children.forEach((function t(e){a(e)&&n.push(e),e.children.forEach(t)})),n.sort(o._)}function c(t){if(!t.shouldResetTransform()){var n=t.getLayoutState();t.notifyBeforeLayoutMeasure(n.layout),n.isHydrated=!0,n.layout=t.measureViewportBox(),n.layoutCorrected=(0,i.nP)(n.layout),t.notifyLayoutMeasure(n.layout,t.prevViewportBox||n.layout),r.ZP.update((function(){return t.rebaseProjectionTarget()}))}}function l(t){t.shouldResetTransform()||(t.prevViewportBox=t.measureViewportBox(!1),t.rebaseProjectionTarget(!1,t.prevViewportBox))}},6090:function(t,n,e){e.d(n,{U:function(){return o},R:function(){return a}});var r=new Set;function i(t,n,e){t[e]||(t[e]=[]),t[e].push(n)}function o(t){return r.add(t),function(){return r.delete(t)}}function a(){if(r.size){var t=0,n=[[]],e=[],o=function(e){return i(n,e,t)},a=function(n){i(e,n,t),t++};r.forEach((function(n){n(o,a),t=0})),r.clear();for(var s=e.length,c=0;c<=s;c++)n[c]&&n[c].forEach(u),e[c]&&e[c].forEach(u)}}var u=function(t){return t()}},4466:function(t,n,e){e.d(n,{_:function(){return r}});var r=function(t,n){return t.depth-n.depth}},6066:function(t,n,e){e.d(n,{VZ:function(){return s},_6:function(){return a},RX:function(){return o},nP:function(){return c},pY:function(){return f},dV:function(){return u}});var r=e(9900);function i(t){return t}function o(t){var n=t.top;return{x:{min:t.left,max:t.right},y:{min:n,max:t.bottom}}}function a(t){var n=t.x,e=t.y;return{top:e.min,bottom:e.max,left:n.min,right:n.max}}function u(t,n){var e=t.top,r=t.left,o=t.bottom,a=t.right;void 0===n&&(n=i);var u=n({x:r,y:e}),s=n({x:a,y:o});return{top:u.y,left:u.x,bottom:s.y,right:s.x}}function s(){return{x:{min:0,max:1},y:{min:0,max:1}}}function c(t){return{x:(0,r.pi)({},t.x),y:(0,r.pi)({},t.y)}}var l={translate:0,scale:1,origin:0,originPoint:0};function f(){return{x:(0,r.pi)({},l),y:(0,r.pi)({},l)}}},9179:function(t,n,e){e.d(n,{h:function(){return i}});var r=e(7294);function i(t){var n=(0,r.useRef)(null);return null===n.current&&(n.current=t()),n.current}},9922:function(t,n,e){e.d(n,{z:function(){return i}});var r=e(7294);function i(t){return(0,r.useEffect)((function(){return function(){return t()}}),[])}},7333:function(t,n,e){e.d(n,{Z:function(){return i}});var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(t){var n={};return function(e){return void 0===n[e]&&(n[e]=t(e)),n[e]}}((function(t){return r.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}))},1793:function(t,n,e){e.d(n,{qY:function(){return v},ZP:function(){return x},iW:function(){return p},$B:function(){return y}});var r=1/60*1e3,i="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()},o="undefined"!=typeof window?function(t){return window.requestAnimationFrame(t)}:function(t){return setTimeout((function(){return t(i())}),r)};var a=!0,u=!1,s=!1,c={delta:0,timestamp:0},l=["read","update","preRender","render","postRender"],f=l.reduce((function(t,n){return t[n]=function(t){var n=[],e=[],r=0,i=!1,o=new WeakSet,a={schedule:function(t,a,u){void 0===a&&(a=!1),void 0===u&&(u=!1);var s=u&&i,c=s?n:e;return a&&o.add(t),-1===c.indexOf(t)&&(c.push(t),s&&i&&(r=n.length)),t},cancel:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),o.delete(t)},process:function(u){var s;if(i=!0,n=(s=[e,n])[0],(e=s[1]).length=0,r=n.length)for(var c=0;c<r;c++){var l=n[c];l(u),o.has(l)&&(a.schedule(l),t())}i=!1}};return a}((function(){return u=!0})),t}),{}),d=l.reduce((function(t,n){var e=f[n];return t[n]=function(t,n,r){return void 0===n&&(n=!1),void 0===r&&(r=!1),u||g(),e.schedule(t,n,r)},t}),{}),v=l.reduce((function(t,n){return t[n]=f[n].cancel,t}),{}),p=l.reduce((function(t,n){return t[n]=function(){return f[n].process(c)},t}),{}),m=function(t){return f[t].process(c)},h=function t(n){u=!1,c.delta=a?r:Math.max(Math.min(n-c.timestamp,40),1),c.timestamp=n,s=!0,l.forEach(m),s=!1,u&&(a=!1,o(t))},g=function(){u=!0,a=!0,s||o(h)},y=function(){return c},x=d}}]);
//# sourceMappingURL=57dbd49da6d9e76eaf55c492e0929b816a379a12-41f8884bf7c6553e2f5c.js.map