PageSourceSearch

https://eventive.org/_next/static/chunks/8-3d989eec41699909.js

js eventive.org collected 2026-09-24 08:26:57 UTC 107,988 bytes, 20 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8],{4465:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r,i=/^((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)-.*))$/,o=(r={},function(t){return void 0===r[t]&&(r[t]=i.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&91>t.charCodeAt(2)),r[t]})},4441:function(t,e,n){"use strict";n.d(e,{M:function(){return AnimatePresence}});
1var r=n(2888),i=n(7294),o=n(6717),s=n(8626),u=n(5930),l=0;function getPresenceId(){var t=l;return l++,t}var PresenceChild=function(t){var e=t.children,n=t.initial,r=t.isPresent,o=t.onExitComplete,l=t.custom,f=t.presenceAffectsLayout,d=(0,u.h)(newChildrenMap),p=(0,u.h)(getPresenceId),m=(0,i.useMemo)(function(){return{id:p,initial:n,isPresent:r,custom:l,onExitComplete:function(t){d.set(t,!0);var e=!0;d.forEach(function(t){t||(e=!1)}),e&&(null==o||o())},register:function(t){return d.set(t,!1),function(){return d.delete(t)}}}},f?void 0:[r]);return(0,i.useMemo)(function(){d.forEach(function(t,e){return d.set(e,!1)})},[r]),i.useEffect(function(){r||d.size||null==o||o()},[r]),i.createElement(s.O.Provider,{value:m},e)};function newChildrenMap(){return new Map}var f=n(2134);function getChildKey(t){return t.key||""}var AnimatePresence=function(t){var e,n,s,u,l,d=t.children,p=t.custom,m=t.initial,v=void 0===m||m,g=t.onExitComplete,h=t.exitBeforeEnter,y=t.presenceAffectsLayout,x=void 0===y||y,P=(e=(0,i.useRef)(!1),s=(n=(0,r.CR)((0,i.useState)(0),2))[0],u=n[1],(0,o.z)(function(){return e.current=!0}),(0,i.useCallback)(function(){e.current||u(s+1)},[s])),T=(0,i.useContext)(f.WH);(0,f.Md)(T)&&(P=T.forceUpdate);var A=(0,i.useRef)(!0),V=(l=[],i.Children.forEach(d,function(t){(0,i.isValidElement)(t)&&l.push(t)}),l),C=(0,i.useRef)(V),E=(0,i.useRef)(new Map).current,S=(0,i.useRef)(new Set).current;if(!function(t,e){t.forEach(function(t){var n=getChildKey(t);e.set(n,t)})}(V,E),A.current)return A.current=!1,i.createElement(i.Fragment,null,V.map(function(t){return i.createElement(PresenceChild,{key:getChildKey(t),isPresent:!0,initial:!!v&&void 0,presenceAffectsLayout:x},t)}));for(var M=(0,r.ev)([],(0,r.CR)(V)),w=C.current.map(getChildKey),D=V.map(getChildKey),L=w.length,_=0;_<L;_++){var R=w[_];-1===D.indexOf(R)?S.add(R):S.delete(R)}return h&&S.size&&(M=[]),S.forEach(function(t){if(-1===D.indexOf(t)){var e=E.get(t);if(e){var n=w.indexOf(t);M.splice(n,0,i.createElement(PresenceChild,{key:getChildKey(e),isPresent:!1,onExitComplete:function(){E.delete(t),S.delete(t);var e=C.current.findIndex(function(e){return e.key===t});C.current.splice(e,1),!S.size&&(C.current=V,P(),g&&g())},custom:p,presenceAffectsLayout:x},e))}}}),M=M.map(function(t){var e=t.key;return S.has(e)?t:i.createElement(PresenceChild,{key:getChildKey(t),isPresent:!0,presenceAffectsLayout:x},t)}),C.current=M,i.createElement(i.Fragment,null,S.size?M:M.map(function(t){return(0,i.cloneElement)(t)}))}},7646:function(t,e,n){"use strict";var r,i,o,s;n.d(e,{c:function(){return i},z:function(){return r}}),(o=r||(r={}))[o.Entering=0]="Entering",o[o.Present=1]="Present",o[o.Exiting=2]="Exiting",(s=i||(i={}))[s.Hide=0]="Hide",s[s.Show=1]="Show"},8626:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var r=(0,n(7294).createContext)(null)},2134:function(t,e,n){"use strict";n.d(e,{bg:function(){return m},WH:function(){return p},Md:function(){return isSharedLayout}});var r=n(7294),i=n(2888),o=n(1706),s=n(8839),u=n(7565),l=n(519),f=n(7646),d={layoutReady:function(t){return t.notifyLayoutReady()}};function createBatcher(){var t=new Set;return{add:function(e){return t.add(e)},flush:function(e){var n=void 0===e?d:e,r=n.layoutReady,p=n.parent;(0,u.U)(function(e,n){var u=Array.from(t).sort(l._),d=p?(0,s.kv)(p):[];n(function(){(0,i.ev)((0,i.ev)([],(0,i.CR)(d)),(0,i.CR)(u)).forEach(function(t){return t.resetTransform()})}),e(function(){u.forEach(s.de)}),n(function(){d.forEach(function(t){return t.restoreTransform()}),u.forEach(r)}),e(function(){u.forEach(function(t){t.isPresent&&(t.presence=f.z.Present)})}),n(function(){o.iW.preRender(),o.iW.render()}),e(function(){o.ZP.postRender(function(){return u.forEach(assignProjectionToSnapshot)}),t.clear()})}),(0,u.R)()}}}function assignProjectionToSnapshot(t){t.prevViewportBox=t.projection.target}var p=(0,r.createContext)(createBatcher()),m=(0,r.createContext)(createBatcher());function isSharedLayout(t){return!!t.forceUpdate}},6466:function(t,e,n){"use strict";n.d(e,{E:function(){return eP}});var r,i,o,s,u,l,f=n(2888),d=n(7294),createDefinition=function(t){return{isEnabled:function(e){return t.some(function(t){return!!e[t]})}}},p={measureLayout:createDefinition(["layout","layoutId","drag","_layoutRe
1setTransform"]),animation:createDefinition(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag"]),exit:createDefinition(["exit"]),drag:createDefinition(["drag","dragControls"]),focus:createDefinition(["whileFocus"]),hover:createDefinition(["whileHover","onHoverStart","onHoverEnd"]),tap:createDefinition(["whileTap","onTap","onTapStart","onTapCancel"]),pan:createDefinition(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),layoutAnimation:createDefinition(["layout","layoutId"])},m=(0,d.createContext)({strict:!1}),v=Object.keys(p),g=v.length,h=(0,d.createContext)({transformPagePoint:function(t){return t},isStatic:!1}),y=(0,d.createContext)({}),x=n(8626),P=n(5930);function usePresence(){var t=(0,d.useContext)(x.O);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=useUniqueId();return(0,d.useEffect)(function(){return r(i)},[]),!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}var T=0,incrementId=function(){return T++},useUniqueId=function(){return(0,P.h)(incrementId)},A=(0,d.createContext)(null),V="undefined"!=typeof window,C=V?d.useLayoutEffect:d.useEffect;function isRefObject(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function isVariantLabels(t){return Array.isArray(t)}function isVariantLabel(t){return"string"==typeof t||isVariantLabels(t)}function resolveVariantFromProps(t,e,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"string"==typeof e&&(e=null===(o=t.variants)||void 0===o?void 0:o[e]),"function"==typeof e?e(null!=n?n:t.custom,r,i):e}function resolveVariant(t,e,n){var r,i,o=t.getProps();return resolveVariantFromProps(o,e,null!=n?n:o.custom,(r={},t.forEachValue(function(t,e){return r[e]=t.get()}),r),(i={},t.forEachValue(function(t,e){return i[e]=t.getVelocity()}),i))}function checkIfControllingVariants(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||isVariantLabel(t.initial)||isVariantLabel(t.animate)||isVariantLabel(t.whileHover)||isVariantLabel(t.whileDrag)||isVariantLabel(t.whileTap)||isVariantLabel(t.whileFocus)||isVariantLabel(t.exit)}function checkIfVariantNode(t){return!!(checkIfControllingVariants(t)||t.variants)}function variantLabelsAsDependency(t){return Array.isArray(t)?t.join(" "):t}var E=["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 isSVGComponent(t){if("string"!=typeof t||t.includes("-"));else if(E.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var S={},M=["","X","Y","Z"],w=["transformPerspective","x","y","z"];function sortTransformProps(t,e){return w.indexOf(t)-w.indexOf(e)}["translate","scale","rotate","skew"].forEach(function(t){return M.forEach(function(e){return w.push(t+e)})});var D=new Set(w);function isTransformProp(t){return D.has(t)}var L=new Set(["originX","originY","originZ"]);function isForcedMotionValue(t,e){var n=e.layout,r=e.layoutId;return isTransformProp(t)||L.has(t)||(n||void 0!==r)&&(!!S[t]||"opacity"===t)}var isMotionValue=function(t){return null!==t&&"object"==typeof t&&t.getVelocity},_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function isCSSVariable(t){return t.startsWith("--")}var __assign=function(){return(__assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},clamp=function(t,e){return function(n){return Math.max(Math.min(n,e),t)}},sanitize=function(t){return t%1?Number(t.toFixed(5)):t},R=/(-)?([\d]*\.?[\d])+/g,k=/(#[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,O=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function isString(t){return"string"==typeof t}var createUnitType=function(t){return{test:function(e){return isString(e)&&e.endsWith(t)&&1===e.split(" ").length},parse:parseFloat,transform:function(e){return""+e+t}}},B=createUnitType("deg"),j=createUnitType("%"),I=createUnitType("px"),F=createUnitType("vh"),U=createUnitType("vw"),H=__assign(__assign({},j),{parse:function(t){return j.parse(t)/100},transform:function(t){return j.transform(100*t)}}),N={test:function(t){return"number"==typeof t},parse:parseFloat,transform:function(t){return t}},z=__assign(__assign({},N),{transform:clamp(0,1)}),Z=__assign(__assign({},N),{default:1}),Y=(0,f.pi)((0,f.pi)({},N),{transform:Math.round}),q={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,radius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,size:I,top:I,right:I,bottom:I,left:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,rotate:B,rotateX:B,rotateY:B,rotateZ:B,scale:Z,scaleX:Z,scaleY:Z,scaleZ:Z,skew:B,skewX:B,skewY:B,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:z,originX:H,originY:H,originZ:I,zIndex:Y,fillOpacity:z,strokeOpacity:z,numOctaves:Y};function buildHTMLStyles(t,e,n,r,i,o,s,u){var l,f,d,p,m=t.style,v=t.vars,g=t.transform,h=t.transformKeys,y=t.transformOrigin;h.length=0;var x=!1,P=!1,T=!0;for(var A in e){var V=e[A];if(isCSSVariable(A)){v[A]=V;continue}var C=q[A],E=C&&"number"==typeof V?C.transform(V):V;
1if(isTransformProp(A)){if(x=!0,g[A]=E,h.push(A),!T)continue;V!==(null!==(p=C.default)&&void 0!==p?p:0)&&(T=!1)}else if(L.has(A))y[A]=E,P=!0;else if((null==n?void 0:n.isHydrated)&&(null==r?void 0:r.isHydrated)&&S[A]){var M=S[A].process(V,r,n),w=S[A].applyTo;if(w)for(var D=w.length,R=0;R<D;R++)m[w[R]]=M;else m[A]=M}else m[A]=E}r&&n&&s&&u?(m.transform=s(r.deltaFinal,r.treeScale,x?g:void 0),o&&(m.transform=o(g,m.transform)),m.transformOrigin=u(r)):(x&&(m.transform=function(t,e,n,r){var i=t.transform,o=t.transformKeys,s=e.enableHardwareAcceleration,u=e.allowTransformNone,l="";o.sort(sortTransformProps);for(var f=!1,d=o.length,p=0;p<d;p++){var m=o[p];l+=(_[m]||m)+"("+i[m]+") ","z"===m&&(f=!0)}return!f&&(void 0===s||s)?l+="translateZ(0)":l=l.trim(),r?l=r(i,n?"":l):(void 0===u||u)&&n&&(l="none"),l}(t,i,T,o)),P&&(m.transformOrigin=(void 0===(l=y.originX)?"50%":l)+" "+(void 0===(f=y.originY)?"50%":f)+" "+(void 0===(d=y.originZ)?0:d)))}var createHtmlRenderState=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function copyRawValuesOnly(t,e,n){for(var r in e)isMotionValue(e[r])||isForcedMotionValue(r,n)||(t[r]=e[r])}var X=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 isValidMotionProp(t){return X.has(t)}var shouldForward=function(t){return!isValidMotionProp(t)};try{var W=n(4465).Z;shouldForward=function(t){return t.startsWith("on")?!isValidMotionProp(t):W(t)}}catch(t){}function calcOrigin(t,e,n){return"string"==typeof t?t:I.transform(e+n*t)}var progressToPixels=function(t,e){return I.transform(t*e)},G={offset:"stroke-dashoffset",array:"stroke-dasharray"},K={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGAttrs(t,e,n,r,i,o,s,u){var l,d,p,m,v,g,h,y,x=e.attrX,P=e.attrY,T=e.originX,A=e.originY,V=e.pathLength,C=e.pathSpacing,E=e.pathOffset;buildHTMLStyles(t,(0,f._T)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r,i,o,s,u),t.attrs=t.style,t.style={};var S=t.attrs,M=t.style,w=t.dimensions,D=t.totalPathLength;S.transform&&(w&&(M.transform=S.transform),delete S.transform),w&&(void 0!==T||void 0!==A||M.transform)&&(M.transformOrigin=(l=void 0!==T?T:.5,d=void 0!==A?A:.5,calcOrigin(l,w.x,w.width)+" "+calcOrigin(d,w.y,w.height))),void 0!==x&&(S.x=x),void 0!==P&&(S.y=P),void 0!==D&&void 0!==V&&(v=!1,void 0===(p=void 0===C?1:C)&&(p=1),void 0===(m=void 0===E?0:E)&&(m=0),void 0===v&&(v=!0),S[(g=v?G:K).offset]=progressToPixels(-m,D),h=progressToPixels(V,D),y=progressToPixels(p,D),S[g.array]=h+" "+y)}var createSvgRenderState=function(){return(0,f.pi)((0,f.pi)({},createHtmlRenderState()),{attrs:{}})},$=/([a-z])([A-Z])/g,camelToDash=function(t){return t.replace($,"$1-$2").toLowerCase()};function renderHTML(t,e){var n=e.style,r=e.vars;for(var i in Object.assign(t.style,n),r)t.style.setProperty(i,r[i])}var J=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform"]);
1function renderSVG(t,e){for(var n in renderHTML(t,e),e.attrs)t.setAttribute(J.has(n)?n:camelToDash(n),e.attrs[n])}function scrapeMotionValuesFromProps(t){var e=t.style,n={};for(var r in e)(isMotionValue(e[r])||isForcedMotionValue(r,t))&&(n[r]=e[r]);return n}function scrape_motion_values_scrapeMotionValuesFromProps(t){var e=scrapeMotionValuesFromProps(t);for(var n in t)isMotionValue(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}function isAnimationControls(t){return"object"==typeof t&&"function"==typeof t.start}var isKeyframesTarget=function(t){return Array.isArray(t)};function makeState(t,e,n,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,s=t.onMount,u={latestValues:function(t,e,n,r){var i={},o=(null==n?void 0:n.initial)===!1,s=r(t);for(var u in s)i[u]=function(t){var e=isMotionValue(t)?t.get():t;return e&&"object"==typeof e&&e.mix&&e.toValue?e.toValue():e}(s[u]);var l=t.initial,d=t.animate,p=checkIfControllingVariants(t),m=checkIfVariantNode(t);e&&m&&!p&&!1!==t.inherit&&(null!=l||(l=e.initial),null!=d||(d=e.animate));var v=o||!1===l?d:l;return v&&"boolean"!=typeof v&&!isAnimationControls(v)&&(Array.isArray(v)?v:[v]).forEach(function(e){var n=resolveVariantFromProps(t,e);if(n){var r=n.transitionEnd;n.transition;var o=(0,f._T)(n,["transitionEnd","transition"]);for(var s in o)i[s]=o[s];for(var s in r)i[s]=r[s]}}),i}(e,n,r,i),renderState:o()};return s&&(u.mount=function(t){return s(e,t,u)}),u}var makeUseVisualState=function(t){return function(e,n){var r=(0,d.useContext)(y),i=(0,d.useContext)(x.O);return n?makeState(t,e,r,i):(0,P.h)(function(){return makeState(t,e,r,i)})}},Q={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:scrape_motion_values_scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}"path"===e.tagName&&(r.totalPathLength=e.getTotalLength()),buildSVGAttrs(r,i,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),renderSVG(e,r)}})},tt={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:scrapeMotionValuesFromProps,createRenderState:createHtmlRenderState})};function addDomEvent(t,e,n,r){return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function useDomEvent(t,e,n,r){(0,d.useEffect)(function(){var i=t.current;if(n&&i)return addDomEvent(i,e,n,r)},[t,e,n,r])}function isMouseEvent(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}(r=s||(s={})).Animate="animate",r.Hover="whileHover",r.Tap="whileTap",r.Drag="whileDrag",r.Focus="whileFocus",r.Exit="exit";var te={pageX:0,pageY:0};function extractEventInfo(t,e){var n,r,i;return void 0===e&&(e="page"),{point:t.touches?(void 0===(n=e)&&(n="page"),{x:(r=t.touches[0]||t.changedTouches[0]||te)[n+"X"],y:r[n+"Y"]}):(void 0===(i=e)&&(i="page"),{x:t[i+"X"],y:t[i+"Y"]})}}var wrapHandler=function(t,e){void 0===e&&(e=!1);var listener=function(e){return t(e,extractEventInfo(e))};return e?function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&listener(t)}:listener},tn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tr={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function getPointerEventName(t){if(V&&null===window.onpointerdown);else if(V&&null===window.ontouchstart)return tr[t];else if(V&&null===window.onmousedown)return tn[t];return t}function addPointerEvent(t,e,n,r){return addDomEvent(t,getPointerEventName(e),wrapHandler(n,"pointerdown"===e),r)}function usePointerEvent(t,e,n,r){return useDomEvent(t,getPointerEventName(e),n&&wrapHandler(n,"pointerdown"===e),r)}function createLock(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var ti=createLock("dragHorizontal"),to=createLock("dragVertical");function getGlobalLock(t){var e=!1;if("y"===t)e=to();else if("x"===t)e=ti();else{var n=ti(),r=to();n&&r?e=function(){n(),r()}
1:(n&&n(),r&&r())}return e}function isDragActive(){var t=getGlobalLock(!0);return!t||(t(),!1)}function createHoverEvent(t,e,n){return function(r,i){var o;!isMouseEvent(r)||isDragActive()||(null==n||n(r,i),null===(o=t.animationState)||void 0===o||o.setActive(s.Hover,e))}}var isNodeOrChild=function(t,e){return!!e&&(t===e||isNodeOrChild(t,e.parentElement))},ta=n(6717),combineFunctions=function(t,e){return function(n){return e(t(n))}},pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.reduce(combineFunctions)},makeRenderlessComponent=function(t){return function(e){return t(e),null}},ts={tap:makeRenderlessComponent(function(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,i=t.whileTap,o=t.visualElement,u=e||n||r||i,l=(0,d.useRef)(!1),f=(0,d.useRef)(null);function removePointerEndListener(){var t;null===(t=f.current)||void 0===t||t.call(f),f.current=null}function checkPointerEnd(){var t;return removePointerEndListener(),l.current=!1,null===(t=o.animationState)||void 0===t||t.setActive(s.Tap,!1),!isDragActive()}function onPointerUp(t,n){checkPointerEnd()&&(isNodeOrChild(o.getInstance(),t.target)?null==e||e(t,n):null==r||r(t,n))}function onPointerCancel(t,e){checkPointerEnd()&&(null==r||r(t,e))}usePointerEvent(o,"pointerdown",u?function(t,e){var r;removePointerEndListener(),l.current||(l.current=!0,f.current=pipe(addPointerEvent(window,"pointerup",onPointerUp),addPointerEvent(window,"pointercancel",onPointerCancel)),null==n||n(t,e),null===(r=o.animationState)||void 0===r||r.setActive(s.Tap,!0))}:void 0),(0,ta.z)(removePointerEndListener)}),focus:makeRenderlessComponent(function(t){var e=t.whileFocus,n=t.visualElement;useDomEvent(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(s.Focus,!0)}:void 0),useDomEvent(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(s.Focus,!1)}:void 0)}),hover:makeRenderlessComponent(function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;usePointerEvent(i,"pointerenter",e||r?createHoverEvent(i,!0,e):void 0),usePointerEvent(i,"pointerleave",n||r?createHoverEvent(i,!1,n):void 0)})};function shallowCompare(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var tslib_es6_assign=function(){return(tslib_es6_assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function tslib_es6_rest(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}var warning=function(){},invariant=function(){},clamp_clamp=function(t,e,n){return Math.min(Math.max(n,t),e)};function calcAngularFreq(t,e){return t*Math.sqrt(1-e*e)}var tu=["duration","bounce"],tl=["stiffness","damping","mass"];function isSpringType(t,e){return e.some(function(e){return void 0!==t[e]})}function spring(t){var e=t.from,n=void 0===e?0:e,r=t.to,i=void 0===r?1:r,o=t.restSpeed,s=void 0===o?2:o,u=t.restDelta,l=tslib_es6_rest(t,["from","to","restSpeed","restDelta"]),f={done:!1,value:n},d=function(t){var e=tslib_es6_assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!isSpringType(t,tl)&&isSpringType(t,tu)){var n=function(t){var e,n,r=t.duration,i=void 0===r?800:r,o=t.bounce,s=t.velocity,u=void 0===s?0:s,l=t.mass,f=void 0===l?1:l;warning(i<=1e4,"Spring duration must be 10 seconds or less");var d=1-(void 0===o?.25:o);d=clamp_clamp(.05,1,d),i=clamp_clamp(.01,10,i/1e3),d<1?(e=function(t){var e=t*d,n=e*i;return .001-(e-u)/calcAngularFreq(t,d)*Math.exp(-n)},n=function(t){var n=t*d*i,r=Math.pow(d,2)*Math.pow(t,2)*i,o=calcAngularFreq(Math.pow(t,2),d);return(-e(t)+.001>0?-1:1)*((n*u+u-r)*Math.exp(-n))/o}):(e=function(t){return -.001+Math.exp(-t*i)*((t-u)*i+1)},n=function(t){return Math.exp(-t*i)*((u-t)*(i*i))});var p=function(t,e,n){for(var r=n,i=1;i<12;i++)r-=t(r)/e(r);return r}(e,n,5/i);if(i*=1e3,isNaN(p))return{stiffness:100,damping:10,duration:i};var m=Math.pow(p,2)*f;return{stiffness:m,damping:2*d*Math.sqrt(f*m),duration:i}}(t);(e=tslib_es6_assign(tslib_es6_assign(tslib_es6_assign({},e),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(l),p=d.stiffness,m=d.damping,v=d.mass,g=d.velocity,h=d.duration,y=d.isResolvedFromDuration,x=zero,P=zero;function createSpring(){var t=g?-(g/1e3):0,e=i-n,r=m/(2*Math.sqrt(p*v)),o=Math.sqrt(p/v)/1e3;if(null!=u||(u=1>=Math.abs(i-n)?.01:.4),r<1){var s=calcAngularFreq(o,r);x=function(n){return i-Math.exp(-r*o*n)*((t+r*o*e)/s*Math.sin(s*n)+e*Math.cos(s*n))},P=function(n){var i=Math.exp(-r*o*n);return r*o*i*(Math.sin(s*n)*(t+r*o*e)/s+e*Math.cos(s*n))-i*(Math.cos(s*n)*(t+r*o*e)-s*e*Math.sin(s*n))}}else if(1===r)x=function(n){return i-Math.exp(-o*n)*(e+(t+o*e)*n)};else{var l=o*Math.sqrt(r*r-1);x=function(n){var s=Math.exp(-r*o*n),u=Math.min(l*n,300);return i-s*((t+r*o*e)*Math.sinh(u)+l*e*Math.cosh(u))/l}}}return createSpring(),{next:function(t){var e=x(t);if(y)f.done=t>=h;else{var n=1e3*P(t),r=Math.abs(i-e)<=u;f.done=Math.abs(n)<=s&&r}return f.value=f.done?i:e,f},flipTarget:function(){var t;g=-g,n=(t=[i,n])[0],i=t[1],createSpring()}}}spring.needsInterpolation=function(t,e){return"string"==typeof t||"string"==typeof e};var zero=function(t){return 0},progress=function(t,e,n){var r=e-t;return 0===r?1:(n-t)/r},mix=function(t,e,n){return-n*t+n*e+t},isColorString=function(t,e){return function(n){return!!(isString(n)&&O.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e))}},splitColor=function(t,e,n){return function(r){if(!isString(r))return r;var i,o=r.match(R),s=o[0],u=o[1],l=o[2],f=o[3];return(i={})[t]=parseFloat(s),i[e]=parseFloat(u),i[n]=parseFloat(l),i.alpha=void 0!==f?parseFloat(f):1,i}},tc=clamp(0,255),tf=__assign(__assign({},N),{transform:function(t){return Math.round(tc(t))}}),td={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:function(t){var e=t.red,n=t.green,r=t.blue,i=t.alpha,o=void 0===i?1:i;return"rgba("+tf.transform(e)+", "+tf.transform(n)+", "+tf.transform(r)+", "+sanitize(z.transform(o))+")"}},tp={test:isColorString("#"),parse:function(t){var e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}},transform:td.transform},tm={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:function(t){var e=t.hue,n=t.saturation,r=t.lightness,i=t.alpha,o=void 0===i?1:i;return"hsla("+Math.round(e)+", "+j.transform(sanitize(n))+", "+j.transform(sanitize(r))+", "+sanitize(z.transform(o))+")"}},mixLinearColor=function(t,e,n){var r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},tv=[tp,td,tm],getColorType=function(t){return tv.find(function(e){return e.test(t)})},notAnimatable=function(t){return"'"+t+"' is not an animatable color. Use the equivalent color code instead."},mixColor=function(t,e){var n=getColorType(t),r=getColorType(e);invariant(!!n,notAnimatable(t)),invariant(!!r,notAnimatable(e)),invariant(n.transform===r.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var i=n.parse(t),o=r.parse(e),s=tslib_es6_assign({},i),u=n===tm?mix:mixLinearColor;return function(t){for(var e in s)"alpha"!==e&&(s[e]=u(i[e],o[e],t));return s.alpha=mix(i.alpha,o.alpha,t),n.transform(s)}},tg={test:function(t){return td.test(t)||tp.test(t)||tm.test(t)},parse:function(t){return td.test(t)?td.parse(t):tm.test(t)?tm.parse(t):tp.parse(t)},transform:function(t){return isString(t)?t:t.hasOwnProperty("red")?td.transform(t):tm.transform(t)}},th="${c}",ty="${n}";function analyse(t){var e=[],n=0,r=t.match(k);r&&(n=r.length,t=t.replace(k,th),e.push.apply(e,r.map(tg.parse)));var i=t.match(R);return i&&(t=t.replace(R,ty),e.push.apply(e,i.map(N.parse))),{values:e,numColors:n,tokenised:t}}function parse(t){return analyse(t).values}function createTransformer(t){var e=analyse(t),n=e.values,r=e.numColors,i=e.tokenised,o=n.length;return function(t){for(var e=i,n=0;n<o;n++)e=e.replace(n<r?th:ty,n<r?tg.transform(t[n]):sanitize(t[n]));return e}}var convertNumbersToZero=function(t){return"number"==typeof t?0:t},tx={test:function(t){var e,n,r,i;return isNaN(t)&&isString(t)&&(null!==(n=null===(e=t.match(R))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(k))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:parse,createTransformer:createTransformer,getAnimatableNone:function(t){var e=parse(t);return createTransformer(t)(e.map(convertNumbersToZero))}},isNum=function(t){return"number"==typeof t};function getMixer(t,e){return isNum(t)?function(n){return mix(t,e,n)}:tg.test(t)?mixColor(t,e):mixComplex(t,e)}var mixArray=function(t,e){var n=function(t,e,n){if(2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}([],t),r=n.length,i=t.map(function(t,n){return getMixer(t,e[n])});return function(t){for(var e=0;e<r;e++)n[e]=i[e](t);return n}},mixObject=function(t,e){var n=tslib_es6_assign(tslib_es6_assign({},t),e),r={};for(var i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=getMixer(t[i],e[i]));return function(t){for(var e in r)n[e]=r[e](t);return n}};function mix_complex_analyse(t){for(var e=tx.parse(t),n=e.length,r=0,i=0,o=0,s=0;s<n;s++)r||"number"==typeof e[s]?r++:void 0!==e[s].hue?o++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:o}}var mixComplex=function(t,e){var n=tx.createTransformer(e),r=mix_complex_analyse(t),i=mix_complex_analyse(e);return invariant(r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers,"Complex values '"+t+"' and '"+e+"' too different to mix. Ensure all colors are of the same type."),pipe(mixArray(r.parsed,i.parsed),n)},mixNumber=function(t,e){return function(n){return mix(t,e,n)}};function interpolate(t,e,n){var r,i,o,s,u,l,f,d=void 0===n?{}:n,p=d.clamp,m=d.ease,v=d.mixer,g=t.length;invariant(g===e.length,"Both input and output ranges must be the same length"),invariant(!m||!Array.isArray(m)||m.length===g-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[g-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());var h=function(t,e,n){for(var r,i=[],o=n||("number"==typeof(r=t[0])?mixNumber:"string"==typeof r?tg.test(r)?mixColor:mixComplex:Array.isArray(r)?mixArray:"object"==typeof r?mixObject:void 0),s=t.length-1,u=0;u<s;u++){var l=o(t[u],t[u+1]);e&&(l=pipe(Array.isArray(e)?e[u]:e,l)),i.push(l)}return i}(e,m,v),y=2===g?(i=(r=t)[0],o=r[1],s=h[0],function(t){return s(progress(i,o,t))}):(f=(l=(u=t).length)-1,function(t){var e=0,n=!1;if(t<=u[0]?n=!0:t>=u[f]&&(e=f-1,n=!0),!n){for(var r=1;r<l&&!(u[r]>t)&&r!==f;r++);e=r-1}var i=progress(u[e],u[e+1],t);return h[e](i)});return void 0===p||p?function(e){return y(clamp_clamp(t[0],t[g-1],e))}:y}var reverseEasing=function(t){return function(e){return 1-t(1-e)}},mirrorEasing=function(t){return function(e){return e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2}},createBackIn=function(t){return function(e){return e*e*((t+1)*e-t)}},tb=4/11,tP=8/11,linear=function(t){return t},easeIn=function(t){return Math.pow(t,2)},tT=reverseEasing(easeIn),tA=mirrorEasing(easeIn),circIn=function(t){return 1-Math.sin(Math.acos(t))},tV=reverseEasing(circIn),tC=mirrorEasing(tV),tE=createBackIn(1.525),tS=reverseEasing(tE),tM=mirrorEasing(tE),tw=(i=createBackIn(1.525),function(t){return(t*=2)<1?.5*i(t):.5*(2-Math.pow(2,-10*(t-1)))}),tD=4356/361,tL=35442/1805,t_=16061/1805,bounceOut=function(t){if(1===t||0===t)return t;var e=t*t;return t<tb?7.5625*e:t<tP?9.075*e-9.9*t+3.4:t<.9?tD*e-tL*t+t_:10.8*t*t-20.52*t+10.72},tR=reverseEasing(bounceOut);function keyframes(t){var e,n=t.from,r=void 0===n?0:n,i=t.to,o=void 0===i?1:i,s=t.ease,u=t.offset,l=t.duration,f=void 0===l?300:l,d={done:!1,value:r},p=Array.isArray(o)?o:[r,o],m=(u&&u.length===p.length?u:(e=p.length,p.map(function(t,n){return 0!==n?n
1/(e-1):0}))).map(function(t){return t*f});function createInterpolator(){return interpolate(m,p,{ease:Array.isArray(s)?s:p.map(function(){return s||tA}).splice(0,p.length-1)})}var v=createInterpolator();return{next:function(t){return d.value=v(t),d.done=t>=f,d},flipTarget:function(){p.reverse(),v=createInterpolator()}}}var tk={keyframes:keyframes,spring:spring,decay:function(t){var e=t.velocity,n=t.from,r=void 0===n?0:n,i=t.power,o=t.timeConstant,s=void 0===o?350:o,u=t.restDelta,l=void 0===u?.5:u,f=t.modifyTarget,d={done:!1,value:r},p=(void 0===i?.8:i)*(void 0===e?0:e),m=r+p,v=void 0===f?m:f(m);return v!==m&&(p=v-r),{next:function(t){var e=-p*Math.exp(-t/s);return d.done=!(e>l||e<-l),d.value=d.done?v:v+e,d},flipTarget:function(){}}}},tO=n(1706);function loopElapsed(t,e,n){return void 0===n&&(n=0),t-e-n}var framesync=function(t){var passTimestamp=function(e){return t(e.delta)};return{start:function(){return tO.ZP.update(passTimestamp,!0)},stop:function(){return tO.qY.update(passTimestamp)}}};function animate(t){var e,n,r,i,o=t.from,s=t.autoplay,u=t.driver,l=t.elapsed,f=void 0===l?0:l,d=t.repeat,p=void 0===d?0:d,m=t.repeatType,v=void 0===m?"loop":m,g=t.repeatDelay,h=void 0===g?0:g,y=t.onPlay,x=t.onStop,P=t.onComplete,T=t.onRepeat,A=t.onUpdate,V=tslib_es6_rest(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),C=V.to,E=0,S=V.duration,M=!1,w=!0,D=function(t){if(Array.isArray(t.to))return keyframes;if(tk[t.type])return tk[t.type];var e=new Set(Object.keys(t));if(e.has("ease")||e.has("duration")&&!e.has("dampingRatio"));else if(e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta"))return spring;return keyframes}(V);(null===(e=D.needsInterpolation)||void 0===e?void 0:e.call(D,o,C))&&(i=interpolate([0,100],[o,C],{clamp:!1}),o=0,C=100);var L=D(tslib_es6_assign(tslib_es6_assign({},V),{from:o,to:C}));return(void 0===s||s)&&(null==y||y(),(n=(void 0===u?framesync:u)(function(t){if(w||(t=-t),f+=t,!M){var e,o,s=L.next(Math.max(0,f));r=s.value,i&&(r=i(r)),M=w?s.done:f<=0}null==A||A(r),M&&((0===E&&(null!=S||(S=f)),E<p)?(e=f,o=S,(w?e>=o+h:e<=-h)&&function(){if(E++,"reverse"===v){var t,e,n,r;w=E%2==0,t=f,e=S,void 0===(n=h)&&(n=0),void 0===(r=w)&&(r=!0),f=r?loopElapsed(e+-t,e,n):e-(t-e)+n}else f=loopElapsed(f,S,h),"mirror"===v&&L.flipTarget();M=!1,T&&T()}()):(n.stop(),P&&P()))})).start()),{stop:function(){null==x||x(),n.stop()}}}var secondsToMilliseconds=function(t){return 1e3*t},a=function(t,e){return 1-3*e+3*t},b=function(t,e){return 3*e-6*t},c=function(t){return 3*t},calcBezier=function(t,e,n){return((a(e,n)*t+b(e,n))*t+c(e))*t},getSlope=function(t,e,n){return 3*a(e,n)*t*t+2*b(e,n)*t+c(e)},tB={linear:linear,easeIn:easeIn,easeInOut:tA,easeOut:tT,circIn:circIn,circInOut:tC,circOut:tV,backIn:tE,backInOut:tM,backOut:tS,anticipate:tw,bounceIn:tR,bounceInOut:function(t){return t<.5?.5*(1-bounceOut(1-2*t)):.5*bounceOut(2*t-1)+.5},bounceOut:bounceOut},easingDefinitionToFunction=function(t){if(Array.isArray(t)){invariant(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,f.CR)(t,4);return function(t,e,n,r){if(t===e&&n===r)return linear;for(var i=new Float32Array(11),o=0;o<11;++o)i[o]=calcBezier(.1*o,t,n);return function(o){return 0===o||1===o?o:calcBezier(function(e){for(var r=0,o=1;10!==o&&i[o]<=e;++o)r+=.1;var s=r+(e-i[--o])/(i[o+1]-i[o])*.1,u=getSlope(s,t,n);return u>=.001?function(t,e,n,r){for(var i=0;i<8;++i){var o=getSlope(e,n,r);if(0===o)break;var s=calcBezier(e,n,r)-t;e-=s/o}return e}(e,s,t,n):0===u?s:function(t,e,n,r,i){var o,s,u=0;do(o=calcBezier(s=e+(n-e)/2,r,i)-t)>0?n=s:e=s;while(Math.abs(o)>1e-7&&++u<10);return s}(e,r,r+.1,t,n)}(o),e,r)}}(e[0],e[1],e[2],e[3])}return"string"==typeof t?(invariant(void 0!==tB[t],"Invalid easing type '"+t+"'"),tB[t]):t},isAnimatable=function(t,e){return"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&tx.test(e)&&!e.startsWith("url("))},underDampedSpring=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},criticallyDampedSpring=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}},linearTween=function(){return{type:"keyframes",ease:"linear",duration:.3}},default_transitions_keyframes=function(t){return{type:"keyframes",duration:.8,values:t}},tj={x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,opacity:linearTween,backgroundColor:linearTween,color:linearTween,default:criticallyDampedSpring},getDefaultTransition=function(t,e){var n;return n=isKeyframesTarget(e)?default_transitions_keyframes:tj[t]||tj.default,(0,f.pi)({to:e},n(e))},tI=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(t){var e=t.slice(0,-1).split("("),n=e[0],r=e[1];if("drop-shadow"===n)return t;var i=(r.match(R)||[])[0];if(!i)return t;var o=r.replace(i,""),s=tI.has(n)?1:0;return i!==r&&(s*=100),n+"("+s+o+")"}var tF=/([a-z-]*)\(.*?\)/g,tU=__assign(__assign({},tx),{getAnimatableNone:function(t){var e=t.match(tF);return e?e.map(applyDefaultFilter).join(" "):t}}),tH=(0,f.pi)((0,f.pi)({},q),{color:tg,backgroundColor:tg,outlineColor:tg,fill:tg,stroke:tg,borderColor:tg,borderTopColor:tg,borderRightColor:tg,borderBottomColor:tg,borderLeftColor:tg,filter:tU,WebkitFilter:tU}),getDefaultValueType=function(t){return tH[t]};function animatable_none_getAnimatableNone(t,e){var n,r=getDefaultValueType(t);return r!==tU&&(r=tx),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var tN=!1;function isZero(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function getZeroUnit(t){return"number"==typeof t?0:animatable_none_getAnimatableNone("",t)}function getValueTransition(t,e){return t[e]||t.default||t}function startAnimation(t,e,n,r){return void 0===r&&(r={}),e.start(function(i){var o,s,u,l,d,p,m,v,g,h=(s=n,d=null!==(u=(l=getValueTransition(r,t)).from)&&void 0!==u?u:e.get(),p=isAnimatable(t,s),"none"===d&&p&&"string"==typeof s?d=animatable_none_getAnimatableNone(t,s):isZero(d)&&"string"==typeof s?d=getZeroUnit(s):!Array.isArray(s)&&isZero(s)&&"string"==typeof d&&(s=getZeroUnit(d)),warning((m=isAnimatable(t,d))===p,"You are trying to animate "+t+' from "'+d+'" to "'+s+'". '+d+" is not an animatable value - to enable this animation set "+d+" to a value animatable to "+s+" via the `style` property."),m&&p&&!1!==l.type?function(){var n,r,o,u,p,m,v,g,h,y,x,P,T,A={from:d,to:s,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===l.type||"decay"===l.type?function(t){var e=t.from,n=void 0===e?0:e,r=t.velocity,i=void 0===r?0:r,o=t.min,s=t.max,u=t.power,l=void 0===u?.8:u,f=t.timeConstant,d=t.bounceStiffness,p=void 0===d?500:d,m=t.bounceDamping,v=void 0===m?10:m,g=t.restDelta,h=void 0===g?1:g,y=t.modifyTarget,x=t.driver,P=t.onUpdate,T=t.onComplete;function isOutOfBounds(t){return void 0!==o&&t<o||void 0!==s&&t>s}function boundaryNearest(t){return void 0===o?s:void 0===s?o:Math.abs(o-t)<Math.abs(s-t)?o:s}function startAnimation(t){null==A||A.stop(),A=animate(tslib_es6_assign(tslib_es6_assign({}
1,t),{driver:x,onUpdate:function(e){var n;null==P||P(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:T}))}function startSpring(t){startAnimation(tslib_es6_assign({type:"spring",stiffness:p,damping:v,restDelta:h},t))}if(isOutOfBounds(n))startSpring({from:n,velocity:i,to:boundaryNearest(n)});else{var A,V,C,E=l*i+n;void 0!==y&&(E=y(E));var S=boundaryNearest(E),M=S===o?-1:1;startAnimation({type:"decay",from:n,velocity:i,timeConstant:void 0===f?750:f,power:l,restDelta:h,modifyTarget:y,onUpdate:isOutOfBounds(E)?function(t){var e;V=C,C=t,i=(e=(0,tO.$B)().delta)?(t-V)*(1e3/e):0,(1===M&&t>S||-1===M&&t<S)&&startSpring({from:t,to:S,velocity:i})}:void 0})}return{stop:function(){return null==A?void 0:A.stop()}}}((0,f.pi)((0,f.pi)({},A),l)):animate((0,f.pi)((0,f.pi)({},(n=l,r=A,o=t,Array.isArray(r.to)&&(null!==(u=n.duration)&&void 0!==u||(n.duration=.8)),Array.isArray(r.to)&&null===r.to[0]&&(r.to=(0,f.ev)([],(0,f.CR)(r.to)),r.to[0]=r.from),(p=n).when,p.delay,p.delayChildren,p.staggerChildren,p.staggerDirection,p.repeat,p.repeatType,p.repeatDelay,p.from,Object.keys((0,f._T)(p,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(n=(0,f.pi)((0,f.pi)({},n),getDefaultTransition(o,r.to))),(0,f.pi)((0,f.pi)({},r),(v=(m=n).ease,g=m.times,h=m.yoyo,y=m.flip,x=m.loop,P=(0,f._T)(m,["ease","times","yoyo","flip","loop"]),T=(0,f.pi)({},P),g&&(T.offset=g),P.duration&&(T.duration=secondsToMilliseconds(P.duration)),P.repeatDelay&&(T.repeatDelay=secondsToMilliseconds(P.repeatDelay)),v&&(T.ease=Array.isArray(v)&&"number"!=typeof v[0]?v.map(easingDefinitionToFunction):easingDefinitionToFunction(v)),"tween"===P.type&&(T.type="keyframes"),(h||x||y)&&(warning(!tN,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),tN=!0,h?T.repeatType="reverse":x?T.repeatType="loop":y&&(T.repeatType="mirror"),T.repeat=x||h||y||P.repeat),"spring"!==P.type&&(T.type="keyframes"),T)))),{onUpdate:function(t){var e;A.onUpdate(t),null===(e=l.onUpdate)||void 0===e||e.call(l,t)},onComplete:function(){var t;A.onComplete(),null===(t=l.onComplete)||void 0===t||t.call(l)}}))}:function(){var t;return e.set(s),i(),null===(t=null==l?void 0:l.onComplete)||void 0===t||t.call(l),{stop:function(){}}}),y=null!==(o=(getValueTransition(r,t)||{}).delay)&&void 0!==o?o:0,start=function(){return g=h()};return y?v=setTimeout(start,secondsToMilliseconds(y)):start(),function(){clearTimeout(v),null==g||g.stop()}})}function addUniqueItem(t,e){-1===t.indexOf(e)&&t.push(e)}function removeItem(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var tz=function(){function SubscriptionManager(){this.subscriptions=[]}return SubscriptionManager.prototype.add=function(t){var e=this;return addUniqueItem(this.subscriptions,t),function(){return removeItem(e.subscriptions,t)}},SubscriptionManager.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}}},SubscriptionManager.prototype.getSize=function(){return this.subscriptions.length},SubscriptionManager.prototype.clear=function(){this.subscriptions.length=0},SubscriptionManager}(),tZ=function(){function MotionValue(t){var e=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new tz,this.velocityUpdateSubscribers=new tz,this.renderSubscribers=new tz,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=(0,tO.$B)(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,tO.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 tO.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=!isNaN(parseFloat(this.current))}return MotionValue.prototype.onChange=function(t){return this.updateSubscribers.add(t)},MotionValue.prototype.clearListeners=function(){this.updateSubscribers.clear()},MotionValue.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},MotionValue.prototype.attach=function(t){this.passiveEffect=t},MotionValue.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},MotionValue.prototype.get=function(){return this.current},MotionValue.prototype.getPrevious=function(){return this.prev},MotionValue.prototype.getVelocity=function(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?t*(1e3/e):0):0},MotionValue.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},MotionValue.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},MotionValue.prototype.isAnimating=function(){return!!this.stopAnimation},MotionValue.prototype.clearAnimation=function(){this.stopAnimation=null},MotionValue.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},MotionValue}();function motionValue(t){return new tZ(t)}var testValueType=function(t){return function(e){return e.test(t)}},tY=[N,I,j,B,U,F,{test:function(t){return"auto"===t},parse:function(t){return t}}],findDimensionValueType=function(t){return tY.find(testValueType(t))},tq=(0,f.ev)((0,f.ev)([],(0,f.CR)(tY)),[tg,tx]);function animateVariant(t,e,n){void 0===n&&(n={});var r,i=resolveVariant(t,e,n.custom),o=(i||{}).transition,s=void 0===o?t.getDefaultTransition()||{}:o;n.transitionOverride&&(s=n.transitionOverride);var u=i?function(){return animateTarget(t,i,n)}:function(){return Promise.resolve()},l=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i,o,u,l,d,p,m,v=s.delayChildren;return i=(void 0===v?0:v)+r,o=s.staggerChildren,u=s.staggerDirection,l=n,void 0===i&&(i=0),void 0===o&&(o=0),void 0===u&&(u=1),d=[],p=(t.variantChildren.size-1)*o,m=1===u?function(t){return void 0===t&&(t=0),t*o}:function(t){return void 0===t&&(t=0),p-t*o},Array.from(t.variantChildren).sort(sortByTreeOrder).forEach(function(t,n){d.push(animateVariant(t,e,(0,f.pi)((0,f.pi)({},l),{delay:i+m(n)})).then(function(){return t.notifyAnimationComplete(e)}))}),Promise.all(d)}:function(){return Promise.resolve()},d=s.when;if(!d)return Promise.all([u(),l(n.delay)]);var p=(0,f.CR)("beforeChildren"===d?[u,l]:[l,u],2),m=p[0],v=p[1];return m().then(v)}function animateTarget(t,e,n){var r,i=void 0===n?{}:n,o=i.delay,s=void 0===o?0:o,u=i.transitionOverride,l=i.type,d=t.makeTargetAnimatable(e),p=d.transition,m=void 0===p?t.getDefaultTransition():p,v=d.transitionEnd,g=(0,f._T)(d,["transition","transitionEnd"]);u&&(m=u);var h=[],y=l&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[l]);for(var x in g){var P=t.getValue(x),T=g[x];if(!(!P||void 0===T||y&&function(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}(y,x))){var A=startAnimation(x,P,T,(0,f.pi)({delay:s},m));h.push(A)}}return Promise.all(h).then(function(){v&&function(t,e){var n=resolveVariant(t,e),r=n?t.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,o=void 0===i?{}:i;r.transition;var s=(0,f._T)(r,["transitionEnd","transition"]);for(var u in s=(0,f.pi)((0,f.pi)({},s),o)){var l,d=isKeyframesTarget(l=s[u])?l[l.length-1]||0:l;t.hasValue(u)?t.getValue(u).set(d):t.addValue(u,motionValue(d))}}(t,v)})}function sortByTreeOrder(t,e){return t.sortNodePosition(e)}var tX=[s.Animate,s.Hover,s.Tap,s.Drag,s.Focus,s.Exit],tW=(0,f.ev)([],(0,f.CR)(tX)).reverse(),tG=tX.length;function createTypeState(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}
1var tK={animation:makeRenderlessComponent(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=function(t){var e,animate=function(e){return Promise.all(e.map(function(e){return function(t,e,n){if(void 0===n&&(n={}),t.notifyAnimationStart(),Array.isArray(e)){var r;r=Promise.all(e.map(function(e){return animateVariant(t,e,n)}))}else if("string"==typeof e)r=animateVariant(t,e,n);else{var i="function"==typeof e?resolveVariant(t,e,n.custom):e;r=animateTarget(t,i,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}(t,e.animation,e.options)}))},n=((e={})[s.Animate]=createTypeState(!0),e[s.Hover]=createTypeState(),e[s.Tap]=createTypeState(),e[s.Drag]=createTypeState(),e[s.Focus]=createTypeState(),e[s.Exit]=createTypeState(),e),r={},i=!0,buildResolvedTypeValues=function(e,n){var r=resolveVariant(t,n);if(r){r.transition;var i=r.transitionEnd,o=(0,f._T)(r,["transition","transitionEnd"]);e=(0,f.pi)((0,f.pi)((0,f.pi)({},e),o),i)}return e};function animateChanges(e,o){for(var s,u=t.getProps(),l=t.getVariantContext(!0)||{},d=[],p=new Set,m={},v=1/0,g=0;g<tG;g++)!function(r){var g,h=tW[r],y=n[h],x=null!==(s=u[h])&&void 0!==s?s:l[h],P=isVariantLabel(x),T=h===o?y.isActive:null;!1===T&&(v=r);var A=x===l[h]&&x!==u[h]&&P;if(A&&i&&t.manuallyAnimateOnMount&&(A=!1),y.protectedKeys=(0,f.pi)({},m),!(!y.isActive&&null===T||!x&&!y.prevProp||isAnimationControls(x))&&"boolean"!=typeof x){var V=(g=y.prevProp,("string"==typeof x?x!==g:!!isVariantLabels(x)&&!shallowCompare(x,g))||h===o&&y.isActive&&!A&&P||r>v&&P),C=Array.isArray(x)?x:[x],E=C.reduce(buildResolvedTypeValues,{});!1===T&&(E={});var S=y.prevResolvedValues,M=void 0===S?{}:S,w=(0,f.pi)((0,f.pi)({},M),E),markToAnimate=function(t){V=!0,p.delete(t),y.needsAnimating[t]=!0};for(var D in w){var L=E[D],_=M[D];m.hasOwnProperty(D)||(L!==_?isKeyframesTarget(L)&&isKeyframesTarget(_)?shallowCompare(L,_)?y.protectedKeys[D]=!0:markToAnimate(D):void 0!==L?markToAnimate(D):p.add(D):void 0!==L&&p.has(D)?markToAnimate(D):y.protectedKeys[D]=!0)}y.prevProp=x,y.prevResolvedValues=E,y.isActive&&(m=(0,f.pi)((0,f.pi)({},m),E)),i&&t.blockInitialAnimation&&(V=!1),V&&!A&&d.push.apply(d,(0,f.ev)([],(0,f.CR)(C.map(function(t){return{animation:t,options:(0,f.pi)({type:h},e)}}))))}}(g);if(r=(0,f.pi)({},m),p.size){var h={};p.forEach(function(e){var n=t.getBaseTarget(e);void 0!==n&&(h[e]=n)}),d.push({animation:h})}var y=!!d.length;return i&&!1===u.initial&&!t.manuallyAnimateOnMount&&(y=!1),i=!1,y?animate(d):Promise.resolve()}return{isAnimated:function(t){return void 0!==r[t]},animateChanges:animateChanges,setActive:function(e,r,i){var o;return n[e].isActive===r?Promise.resolve():(null===(o=t.variantChildren)||void 0===o||o.forEach(function(t){var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)}),n[e].isActive=r,animateChanges(i,e))},setAnimateFunction:function(e){animate=e(t)},getState:function(){return n}}}(e)),isAnimationControls(n)&&(0,d.useEffect)(function(){return n.subscribe(e)},[n])}),exit:makeRenderlessComponent(function(t){var e=t.custom,n=t.visualElement,r=(0,f.CR)(usePresence(),2),i=r[0],o=r[1],u=(0,d.useContext)(x.O);(0,d.useEffect)(function(){var t,r,l=null===(t=n.animationState)||void 0===t?void 0:t.setActive(s.Exit,!i,{custom:null!==(r=null==u?void 0:u.custom)&&void 0!==r?r:e});i||null==l||l.then(o)},[i])})},isPoint=function(t){return t.hasOwnProperty("x")&&t.hasOwnProperty("y")},isPoint3D=function(t){return isPoint(t)&&t.hasOwnProperty("z")},distance1D=function(t,e){return Math.abs(t-e)};function distance(t,e){return isNum(t)&&isNum(e)?distance1D(t,e):isPoint(t)&&isPoint(e)?Math.sqrt(Math.pow(distance1D(t.x,e.x),2)+Math.pow(distance1D(t.y,e.y),2)+Math.pow(isPoint3D(t)&&isPoint3D(e)?distance1D(t.z,e.z):0,2)):void 0}var t$=function(){function PanSession(t,e,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=getPanInfo(r.lastMoveEventInfo,r.history),e=null!==r.startEvent,n=distance(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,o=(0,tO.$B)().timestamp;r.history.push((0,f.pi)((0,f.pi)({},i),{timestamp:o}));var s=r.handlers,u=s.onStart,l=s.onMove;e||(u&&u(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){if(r.lastMoveEvent=t,r.lastMoveEventInfo=transformPoint(e,r.transformPagePoint),isMouseEvent(t)&&0===t.buttons){r.handlePointerUp(t,e);return}tO.ZP.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,s=getPanInfo(transformPoint(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,s),o&&o(t,s)},!t.touches||!(t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var o=transformPoint(extractEventInfo(t),this.transformPagePoint),s=o.point,u=(0,tO.$B)().timestamp;this.history=[(0,f.pi)((0,f.pi)({},s),{timestamp:u})];var l=e.onSessionStart;l&&l(t,getPanInfo(o,this.history)),this.removeListeners=pipe(addPointerEvent(window,"pointermove",this.handlePointerMove),addPointerEvent(window,"pointerup",this.handlePointerUp),addPointerEvent(window,"pointercancel",this.handlePointerUp))}}return PanSession.prototype.updateHandlers=function(t){this.handlers=t},PanSession.prototype.end=function(){this.removeListeners&&this.removeListeners(),tO.qY.update(this.updatePoint)},PanSession}();function transformPoint(t,e){return e?{point:e(t.point)}:t}function subtractPoint(t,e){return{x:t.x-e.x,y:t.y-e.y}}function getPanInfo(t,e){var n=t.point;return{point:n,delta:subtractPoint(n,lastDevicePoint(e)),offset:subtractPoint(n,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=lastDevicePoint(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>secondsToMilliseconds(.1)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,0)}}function lastDevicePoint(t){return t[t.length-1]}var tJ=n(9058);function eachAxis(t){return[t("x"),t("y")]}function applyConstraints(t,e,n){var r=e.min,i=e.max;return void 0!==r&&t<r?t=n?mix(r,t,n.min):Math.max(t,r):void 0!==i&&t>i&&(t=n?mix(i,t,n.max):Math.min(t,i)),t}function calcRelativeAxisConstraints(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function calcViewportAxisConstraints(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=(0,f.CR)([i,r],2))[0],i=n[1]),{min:t.min+r,max:t.min+i}}function resolveAxisElastic(t,e,n){return{min:resolvePointElastic(t,e),max:resolvePointElastic(t,n)}}function resolvePointElastic(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function getBoundingBox(t,e){var n=t.getBoundingClientRect();return(0,tJ.RX)((0,tJ.dV)(n,e))}function isNear(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),distance(t,e)<n}function calcLength(t){return t.max-t.min}function updateAxisDelta(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=mix(e.min,e.max,t.origin),t.scale=calcLength(n)/calcLength(e),isNear(t.scale,1,1e-4)&&(t.scale=1),t.translate=mix(n.min,n.max,t.origin)-t.originPoint,isNear(t.translate)&&(t.translate=0)}function updateBoxDelta(t,e,n,r){updateAxisDelta(t.x,e.x,n.x,defaultOrigin(r.originX)),updateAxisDelta(t.y,e.y,n.y,defaultOrigin(r.originY))}function defaultOrigin(t){return"number"==typeof t?t:.5}function calcRelativeAxis(t,e,n){t.min=n.min+e.min,t.max=t.min+calcLength(e)}var tQ=n(8839);function calcRelativeOffsetAxis(t,e){return{min:e.min-t.min,max:e.max-t.min}}function calcRelativeOffset(t,e){return{x:calcRelativeOffsetAxis(t.x,e.x),y:calcRelativeOffsetAxis(t.y,e.y)}}function isDraggable(t){var e=t.getProps(),n=e.drag,r=e._dragX;return n&&!r}function resetAxis(t,e){t.min=e.min,t.max=e.max}function applyPointDelta(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function applyAxisDelta(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=applyPointDelta(t.min,e,n,r,i),t.max=applyPointDelta(t.max,e,n,r,i)}function applyAxisTransforms(t,e,n,r){var i=(0,f.CR)(r,3),o=i[0],s=i[1],u=i[2];t.min=e.min,t.max=e.max;var l=void 0!==n[u]?n[u]:.5,d=mix(e.min,e.max,l);applyAxisDelta(t,n[o],n[s],d,n.scale)}
1var t0=["x","scaleX","originX"],t1=["y","scaleY","originY"];function applyBoxTransforms(t,e,n){applyAxisTransforms(t.x,e.x,n,t0),applyAxisTransforms(t.y,e.y,n,t1)}function removePointDelta(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function removeAxisTransforms(t,e,n){var r,i,o,s,u,l=(0,f.CR)(n,3),d=l[0],p=l[1],m=l[2];r=e[d],i=e[p],o=e[m],s=e.scale,void 0===r&&(r=0),void 0===i&&(i=1),void 0===o&&(o=.5),u=mix(t.min,t.max,o)-r,t.min=removePointDelta(t.min,r,i,u,s),t.max=removePointDelta(t.max,r,i,u,s)}function removeBoxTransforms(t,e){removeAxisTransforms(t.x,e,t0),removeAxisTransforms(t.y,e,t1)}var t2=n(7565),t5=new WeakMap,t3=function(){function VisualElementDragControls(t){var e=t.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.elastic=(0,tJ.VZ)(),this.props={},this.hasMutatedConstraints=!1,this.cursorProgress={x:.5,y:.5},this.originPoint={},this.openGlobalLock=null,this.panSession=null,this.visualElement=e,this.visualElement.enableLayoutProjection(),t5.set(e,this)}return VisualElementDragControls.prototype.start=function(t,e){var n=this,r=void 0===e?{}:e,i=r.snapToCursor,o=void 0!==i&&i,l=r.cursorProgress,d=this.props.transformPagePoint;this.panSession=new t$(t,{onSessionStart:function(t){n.stopMotion();var e,r=extractEventInfo(t,"client").point;null===(e=n.cancelLayout)||void 0===e||e.call(n),n.cancelLayout=(0,t2.U)(function(t,e){var i=(0,tQ.kv)(n.visualElement),s=(0,tQ.e3)(n.visualElement),u=(0,f.ev)((0,f.ev)([],(0,f.CR)(i)),(0,f.CR)(s)),d=!1;n.isLayoutDrag()&&n.visualElement.lockProjectionTarget(),e(function(){u.forEach(function(t){return t.resetTransform()})}),t(function(){(0,tQ.de)(n.visualElement),s.forEach(tQ.de)}),e(function(){u.forEach(function(t){return t.restoreTransform()}),o&&(d=n.snapToCursor(r))}),t(function(){n.getAxisMotionValue("x")&&!n.isExternalDrag()||n.visualElement.rebaseProjectionTarget(!0,n.visualElement.measureViewportBox(!1)),n.visualElement.scheduleUpdateLayoutProjection();var t=n.visualElement.projection;eachAxis(function(e){if(!d){var i=t.target[e],o=i.min,s=i.max;n.cursorProgress[e]=l?l[e]:progress(o,s,r[e])}var u=n.getAxisMotionValue(e);u&&(n.originPoint[e]=u.get())})}),e(function(){tO.iW.update(),tO.iW.preRender(),tO.iW.render(),tO.iW.postRender()}),t(function(){return n.resolveDragConstraints()})})},onStart:function(t,e){var r,i,o,u=n.props,l=u.drag,f=u.dragPropagation;(!l||f||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=getGlobalLock(l),n.openGlobalLock))&&((0,t2.R)(),n.isDragging=!0,n.currentDirection=null,null===(i=(r=n.props).onDragStart)||void 0===i||i.call(r,t,e),null===(o=n.visualElement.animationState)||void 0===o||o.setActive(s.Drag,!0))},onMove:function(t,e){var r,i,o,s,l=n.props,f=l.dragPropagation,d=l.dragDirectionLock;if(f||n.openGlobalLock){var p,m,v=e.offset;if(d&&null===n.currentDirection){n.currentDirection=(void 0===p&&(p=10),m=null,Math.abs(v.y)>p?m="y":Math.abs(v.x)>p&&(m="x"),m),null!==n.currentDirection&&(null===(i=(r=n.props).onDirectionLock)||void 0===i||i.call(r,n.currentDirection));return}n.updateAxis("x",e.point,v),n.updateAxis("y",e.point,v),null===(s=(o=n.props).onDrag)||void 0===s||s.call(o,t,e),u=t}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:d})},VisualElementDragControls.prototype.resolveDragConstraints=function(){var t,e,n,r,i,o=this,s=this.props,u=s.dragConstraints,l=s.dragElastic,f=this.visualElement.getLayoutState().layoutCorrected;u?this.constraints=isRefObject(u)?this.resolveRefConstraints(f,u):(t=u.top,e=u.left,n=u.bottom,r=u.right,{x:calcRelativeAxisConstraints(f.x,e,r),y:calcRelativeAxisConstraints(f.y,t,n)}):this.constraints=!1,this.elastic=(!1===(i=l)?i=0:!0===i&&(i=.35),{x:resolveAxisElastic(i,"left","right"),y:resolveAxisElastic(i,"top","bottom")}),this.constraints&&!this.hasMutatedConstraints&&eachAxis(function(t){if(o.getAxisMotionValue(t)){var e,n,r;o.constraints[t]=(e=f[t],n=o.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r)}})},VisualElementDragControls.prototype.resolveRefConstraints=function(t,e){var n,r=this.props,i=r.onMeasureDragConstraints,o=r.transformPagePoint,s=e.current;invariant(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=getBoundingBox(s,o);var u=(n=this.constraintsBox,{x:calcViewportAxisConstraints(t.x,n.x),y:calcViewportAxisConstraints(t.y,n.y)});if(i){var l=i((0,tJ._6)(u));this.hasMutatedConstraints=!!l,l&&(u=(0,tJ.RX)(l))}return u},VisualElementDragControls.prototype.cancelDrag=function(){var t,e;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===(e=this.visualElement.animationState)||void 0===e||e.setActive(s.Drag,!1)},VisualElementDragControls.prototype.stop=function(t,e){null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var n,r,i,o=this.isDragging;if(this.cancelDrag(),o){var s=e.velocity;this.animateDragEnd(s),null===(i=(r=this.props).onDragEnd)||void 0===i||i.call(r,t,e)}},VisualElementDragControls.prototype.snapToCursor=function(t){var e=this;return eachAxis(function(n){if(shouldDrag(n,e.props.drag,e.currentDirection)){var r=e.getAxisMotionValue(n);if(!r)return e.cursorProgress[n]=.5,!0;var i=e.visualElement.getLayoutState().layout,o=i[n].max-i[n].min,s=i[n].min+o/2,u=t[n]-s;e.originPoint[n]=t[n],r.set(u)}}).includes(!0)},VisualElementDragControls.prototype.updateAxis=function(t,e,n){if(shouldDrag(t,this.props.drag,this.currentDirection))return this.getAxisMotionValue(t)?this.updateAxisMotionValue(t,n):this.updateVisualElementAxis(t,e)},VisualElementDragControls.prototype.updateAxisMotionValue=function(t,e){var n=this.getAxisMotionValue(t);if(e&&n){var r=this.originPoint[t]+e[t],i=this.constraints?applyConstraints(r,this.constraints[t],this.elastic[t]):r;n.set(i)}},VisualElementDragControls.prototype.updateVisualElementAxis=function(t,e){var n,r,i,o,s,u=this.visualElement.getLayoutState().layout[t],l=u.max-u.min,f=this.cursorProgress[t],d=(n=e[t],r=null===(s=this.constraints)||void 0===s?void 0:s[t],i=this.elastic[t],o=n-l*f,r?applyConstraints(o,r,i):o);this.visualElement.setProjectionTargetAxis(t,d,d+l)},VisualElementDragControls.prototype.setProps=function(t){var e=t.drag,n=t.dragDirectionLock,r=t.dragPropagation,i=t.dragConstraints,o=t.dragElastic,s=t.dragMomentum,u=(0,f._T)(t,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=(0,f.pi)({drag:void 0!==e&&e,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==i&&i,dragElastic:void 0===o?.35:o,dragMomentum:void 0===s||s},u)},VisualElementDragControls.prototype.getAxisMotionValue=function(t){var e=this.props,n=e.layout,r=e.layoutId,i="_drag"+t.toUpperCase();return this.props[i]?this.props[i]:n||void 0!==r?void 0:this.visualElement.getValue(t,0)},VisualElementDragControls.prototype.isLayoutDrag=function(){return!this.getAxisMotionValue("x")},VisualElementDragControls.prototype.isExternalDrag=function(){var t=this.props,e=t._dragX,n=t._dragY;return e||n},VisualElementDragControls.prototype.animateDragEnd=function(t){var e,n,r,i,o=this,s=this.props,u=s.drag,l=s.dragMomentum,d=s.dragElastic,p=s.dragTransition,m=(e=this.visualElement,void 0===(n=this.isLayoutDrag()&&!this.isExternalDrag())&&
1(n=!0),!!(i=e.getProjectionParent())&&(n?removeBoxTransforms(r=calcRelativeOffset(i.projection.target,e.projection.target),i.getLatestValues()):r=calcRelativeOffset(i.getLayoutState().layout,e.getLayoutState().layout),eachAxis(function(t){return e.setProjectionTargetAxis(t,r[t].min,r[t].max,!0)}),!0)),v=this.constraints||{};if(m&&Object.keys(v).length&&this.isLayoutDrag()){var g=this.visualElement.getProjectionParent();if(g){var h=calcRelativeOffset(g.projection.targetFinal,v);eachAxis(function(t){var e=h[t],n=e.min,r=e.max;v[t]={min:isNaN(n)?void 0:n,max:isNaN(r)?void 0:r}})}}return Promise.all(eachAxis(function(e){if(shouldDrag(e,u,o.currentDirection)){var n,r=null!==(n=null==v?void 0:v[e])&&void 0!==n?n:{},i=(0,f.pi)((0,f.pi)({type:"inertia",velocity:l?t[e]:0,bounceStiffness:d?200:1e6,bounceDamping:d?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},p),r);return o.getAxisMotionValue(e)?o.startAxisValueAnimation(e,i):o.visualElement.startLayoutAnimation(e,i,m)}})).then(function(){var t,e;null===(e=(t=o.props).onDragTransitionEnd)||void 0===e||e.call(t)})},VisualElementDragControls.prototype.stopMotion=function(){var t=this;eachAxis(function(e){var n=t.getAxisMotionValue(e);n?n.stop():t.visualElement.stopLayoutAnimation()})},VisualElementDragControls.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);if(n){var r=n.get();return n.set(r),n.set(r),startAnimation(t,n,0,e)}},VisualElementDragControls.prototype.scalePoint=function(){var t=this,e=this.props,n=e.drag;if(isRefObject(e.dragConstraints)&&this.constraintsBox){this.stopMotion();var r={x:0,y:0};eachAxis(function(e){var n,i,o,s,u;r[e]=(n=t.visualElement.projection.target[e],i=t.constraintsBox[e],o=.5,s=calcLength(n),(u=calcLength(i))>s?o=progress(i.min,i.max-s,n.min):s>u&&(o=progress(n.min,n.max-u,i.min)),clamp_clamp(0,1,o))}),this.updateConstraints(function(){eachAxis(function(e){if(shouldDrag(e,n,null)){var i,o,s,u,l,f=(i=t.visualElement.projection.target[e],o=t.constraintsBox[e],s=r[e],u=i.max-i.min,{min:l=mix(o.min,o.max-u,s),max:l+u}),d=f.min,p=f.max;t.visualElement.setProjectionTargetAxis(e,d,p)}})}),setTimeout(t2.R,1)}},VisualElementDragControls.prototype.updateConstraints=function(t){var e=this;this.cancelLayout=(0,t2.U)(function(n,r){var i=(0,tQ.kv)(e.visualElement);r(function(){return i.forEach(function(t){return t.resetTransform()})}),n(function(){return(0,tQ.de)(e.visualElement)}),r(function(){return i.forEach(function(t){return t.restoreTransform()})}),n(function(){e.resolveDragConstraints()}),t&&r(t)})},VisualElementDragControls.prototype.mount=function(t){var e=this,n=addPointerEvent(t.getInstance(),"pointerdown",function(t){var n=e.props,r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)}),r=addDomEvent(window,"resize",function(){e.scalePoint()}),i=t.onLayoutUpdate(function(){e.isDragging&&e.resolveDragConstraints()}),o=t.prevDragCursor;return o&&this.start(u,{cursorProgress:o}),function(){null==n||n(),null==r||r(),null==i||i(),e.cancelDrag()}},VisualElementDragControls}();function shouldDrag(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var t6={pan:makeRenderlessComponent(function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,o=t.visualElement,s=e||n||r||i,u=(0,d.useRef)(null),l=(0,d.useContext)(h).transformPagePoint,f={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){u.current=null,r&&r(t,e)}};(0,d.useEffect)(function(){null!==u.current&&u.current.updateHandlers(f)}),usePointerEvent(o,"pointerdown",s&&function(t){u.current=new t$(t,f,{transformPagePoint:l})}),(0,ta.z)(function(){return u.current&&u.current.end()})}),drag:makeRenderlessComponent(function(t){var e=t.dragControls,n=t.visualElement,r=(0,d.useContext)(h).transformPagePoint,i=(0,P.h)(function(){return new t3({visualElement:n})});i.setProps((0,f.pi)((0,f.pi)({},t),{transformPagePoint:r})),(0,d.useEffect)(function(){return e&&e.subscribe(i)},[i]),(0,d.useEffect)(function(){return i.mount(n)},[])})},t4=n(7646);function css_variables_conversion_isCSSVariable(t){return"string"==typeof t&&t.startsWith("var(--")}var t8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function getVariableValue(t,e,n){void 0===n&&(n=1),invariant(n<=4,'Max CSS variable fallback depth detected in property "'+t+'". This may indicate a circular fallback dependency.');var r=(0,f.CR)(function(t){var e=t8.exec(t);if(!e)return[,];var n=(0,f.CR)(e,3);return[n[1],n[2]]}(t),2),i=r[0],o=r[1];if(i){var s=window.getComputedStyle(e).getPropertyValue(i);return s?s.trim():css_variables_conversion_isCSSVariable(o)?getVariableValue(o,e,n+1):o}}function pixelsToPercent(t,e){return t/(e.max-e.min)*100}var t7="_$css",t9={process:function(t,e,n){var r=n.target;if("string"==typeof t){if(!I.test(t))return t;t=parseFloat(t)}
1return pixelsToPercent(t,r.x)+"% "+pixelsToPercent(t,r.y)+"%"}},et={borderRadius:(0,f.pi)((0,f.pi)({},t9),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:t9,borderTopRightRadius:t9,borderBottomLeftRadius:t9,borderBottomRightRadius:t9,boxShadow:{process:function(t,e){var n=e.delta,r=e.treeScale,i=t,o=t.includes("var("),s=[];o&&(t=t.replace(t8,function(t){return s.push(t),t7}));var u=tx.parse(t);if(u.length>5)return i;var l=tx.createTransformer(t),f="number"!=typeof u[0]?1:0,d=n.x.scale*r.x,p=n.y.scale*r.y;u[0+f]/=d,u[1+f]/=p;var m=mix(d,p,.5);"number"==typeof u[2+f]&&(u[2+f]/=m),"number"==typeof u[3+f]&&(u[3+f]/=m);var v=l(u);if(o){var g=0;v=v.replace(t7,function(){var t=s[g];return g++,t})}return v}}},ee=function(t){function Animate(){var e=null!==t&&t.apply(this,arguments)||this;return e.frameTarget=(0,tJ.VZ)(),e.currentAnimationTarget=(0,tJ.VZ)(),e.isAnimating={x:!1,y:!1},e.stopAxisAnimation={x:void 0,y:void 0},e.isAnimatingTree=!1,e.animate=function(t,n,r){void 0===r&&(r={});var i=r.originBox,o=r.targetBox,s=r.visibilityAction,u=r.shouldStackAnimate,l=r.onComplete,d=r.prevParent,p=(0,f._T)(r,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),m=e.props,v=m.visualElement,g=m.layout;if(!1===u)return e.isAnimatingTree=!1,e.safeToRemove();if(!e.isAnimatingTree||!0===u){u&&(e.isAnimatingTree=!0),n=i||n,t=o||t;var h,y,x=!1,P=v.getProjectionParent();if(P){var T,A=P.prevViewportBox,V=P.getLayoutState().layout;d&&(o&&(V=d.getLayoutState().layout),i&&d.getLayoutId()===(T=P.getLayoutId())&&(void 0!==T||d===P)&&d.prevViewportBox&&(A=d.prevViewportBox)),A&&(d||!d&&!(i||o))&&(x=!0,n=calcRelativeOffset(A,n),t=calcRelativeOffset(V,t))}var C=(h=n,y=t,!isZeroBox(h)&&!isZeroBox(y)&&(!axisIsEqual(h.x,y.x)||!axisIsEqual(h.y,y.y))),E=eachAxis(function(r){var i,o;if("position"===g){var u=t[r].max-t[r].min;n[r].max=n[r].min+u}if(!v.projection.isTargetLocked){if(void 0!==s)v.setVisibility(s===t4.c.Show);else if(C)return e.animateAxis(r,t[r],n[r],(0,f.pi)((0,f.pi)({},p),{isRelative:x}));else return null===(o=(i=e.stopAxisAnimation)[r])||void 0===o||o.call(i),v.setProjectionTargetAxis(r,t[r].min,t[r].max,x)}});return v.syncRender(),Promise.all(E).then(function(){e.isAnimatingTree=!1,l&&l(),v.notifyLayoutAnimationComplete()})}},e}return(0,f.ZT)(Animate,t),Animate.prototype.componentDidMount=function(){var t=this,e=this.props.visualElement;e.animateMotionValue=startAnimation,e.enableLayoutProjection(),this.unsubLayoutReady=e.onLayoutUpdate(this.animate),e.layoutSafeToRemove=function(){return t.safeToRemove()},function(t){for(var e in t)S[e]=t[e]}(et)},Animate.prototype.componentWillUnmount=function(){var t=this;this.unsubLayoutReady(),eachAxis(function(e){var n,r;return null===(r=(n=t.stopAxisAnimation)[e])||void 0===r?void 0:r.call(n)})},Animate.prototype.animateAxis=function(t,e,n,r){var i,o,s=this,u=void 0===r?{}:r,l=u.transition,f=u.isRelative;if(!(this.isAnimating[t]&&axisIsEqual(e,this.currentAnimationTarget[t]))){null===(o=(i=this.stopAxisAnimation)[t])||void 0===o||o.call(i),this.isAnimating[t]=!0;var d=this.props.visualElement,p=this.frameTarget[t],m=d.getProjectionAnimationProgress()[t];m.clearListeners(),m.set(0),m.set(0);var frame=function(){var r=m.get()/1e3;p.min=mix(n.min,e.min,r),p.max=mix(n.max,e.max,r),d.setProjectionTargetAxis(t,p.min,p.max,f)};frame();var v=m.onChange(frame);this.stopAxisAnimation[t]=function(){s.isAnimating[t]=!1,m.stop(),v()},this.currentAnimationTarget[t]=e;var g=l||d.getDefaultTransition()||er;return startAnimation("x"===t?"layoutX":"layoutY",m,1e3,g&&getValueTransition(g,"layout")).then(this.stopAxisAnimation[t])}},Animate.prototype.safeToRemove=function(){var t,e;null===(e=(t=this.props).safeToRemove)||void 0===e||e.call(t)},Animate.prototype.render=function(){return null},Animate}(d.Component),en={min:0,max:0};function isZeroBox(t){return axisIsEqual(t.x,en)&&axisIsEqual(t.y,en)}function axisIsEqual(t,e){return t.min===e.min&&t.max===e.max}var er={duration:.45,ease:[.4,0,.1,1]},ei=n(2134),eo=function(t){function Measure(){return null!==t&&t.apply(this,arguments)||this}return(0,f.ZT)(Measure,t),Measure.prototype.componentDidMount=function(){var t=this.props,e=t.syncLayout,n=t.framerSyncLayout,r=t.visualElement;(0,ei.Md)(e)&&e.register(r),(0,ei.Md)(n)&&n.register(r),r.onUnmount(function(){(0,ei.Md)(e)&&e.remove(r),(0,ei.Md)(n)&&n.remove(r)})},Measure.prototype.getSnapshotBeforeUpdate=function(){var t=this.props,e=t.syncLayout,n=t.visualElement;return(0,ei.Md)(e)?e.syncUpdate():((0,tQ.x7)(n),e.add(n)),null},Measure.prototype.componentDidUpdate=function(){var t=this.props.syncLayout;(0,ei.Md)(t)||t.flush()},Measure.prototype.render=function(){return null},Measure}(d.Component);function createLayoutState(){return{isHydrated:!1,layout:(0,tJ.VZ)(),layoutCorrected:(0,tJ.VZ)(),treeScale:{x:1,y:1},delta:(0,tJ.pY)(),deltaFinal:(0,tJ.pY)(),deltaTransform:""}}var ea=createLayoutState();function buildLayoutProjectionTransform(t,e,n){var r=t.x,i=t.y,o="translate3d("+r.translate/e.x+"px, "+i.translate/e.y+"px, 0) ";if(n){var s=n.rotate,u=n.rotateX,l=n.rotateY;s&&(o+="rotate("+s+") "),u&&(o+="rotateX("+u+") "),l&&(o+="rotateY("+l+") ")}return o+="scale("+r.scale+", "+i.scale+")",n||o!==es?o:""}function buildLayoutProjectionTransformOrigin(t){var e=t.deltaFinal;return 100*e.x.origin+"% "+100*e.y.origin+"% 0"}var es=buildLayoutProjectionTransform(ea.delta,ea.treeScale,{x:1,y:1}),eu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"],el=n(519),ec=function(){function FlatTree(){this.children=[],this.isDirty=!1}return FlatTree.prototype.add=function(t){addUniqueItem(this.children,t),this.isDirty=!0},FlatTree.prototype.remove=function(t){removeItem(this.children,t),this.isDirty=!0},FlatTree.prototype.forEach=function(t){this.isDirty&&this.children.sort(el._),this.isDirty=!1,this.children.forEac
1h(t)},FlatTree}(),visualElement=function(t){var e=t.treeType,n=void 0===e?"":e,r=t.build,i=t.getBaseTarget,o=t.makeTargetAnimatable,s=t.measureViewportBox,u=t.render,l=t.readValueFromInstance,d=t.resetTransform,p=t.restoreTransform,m=t.removeValueFromRenderState,v=t.sortNodePosition,g=t.scrapeMotionValuesFromProps;return function(t,e){var h,y,x,P,T,A,V,C,E,S=t.parent,M=t.props,w=t.presenceId,D=t.blockInitialAnimation,L=t.visualState;void 0===e&&(e={});var _=L.latestValues,R=L.renderState,k=(h=eu.map(function(){return new tz}),y={},x={clearAllListeners:function(){return h.forEach(function(t){return t.clear()})},updatePropListeners:function(t){return eu.forEach(function(e){null===(n=y[e])||void 0===n||n.call(y);var n,r="on"+e,i=t[r];i&&(y[e]=x[r](i))})}},h.forEach(function(t,e){x["on"+eu[e]]=function(e){return t.add(e)},x["notify"+eu[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,f.ev)([],(0,f.CR)(e)))}}),x),O={isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:(0,tJ.VZ)(),targetFinal:(0,tJ.VZ)()},B=O,j=_,I=createLayoutState(),F=!1,U=new Map,H=new Map,N={},z=(0,f.pi)({},_);function render(){P&&(G.isProjectionReady()&&(applyBoxTransforms(B.targetFinal,B.target,j),updateBoxDelta(I.deltaFinal,I.layoutCorrected,B.targetFinal,_)),triggerBuild(),u(P,R))}function triggerBuild(){var t=_;if(V&&V.isActive()){var n=V.getCrossfadeState(G);n&&(t=n)}r(G,R,t,B,I,e,M)}function update(){k.notifyUpdate(_)}function updateTreeLayoutProjection(){G.layoutTree.forEach(fireUpdateLayoutProjection)}var Z=g(M);for(var Y in Z){var q=Z[Y];void 0!==_[Y]&&isMotionValue(q)&&q.set(_[Y],!1)}var X=checkIfControllingVariants(M),W=checkIfVariantNode(M),G=(0,f.pi)((0,f.pi)({treeType:n,current:null,depth:S?S.depth+1:0,parent:S,children:new Set,path:S?(0,f.ev)((0,f.ev)([],(0,f.CR)(S.path)),[S]):[],layoutTree:S?S.layoutTree:new ec,presenceId:w,projection:O,variantChildren:W?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==S?void 0:S.isMounted()),blockInitialAnimation:D,isMounted:function(){return!!P},mount:function(t){P=G.current=t,G.pointTo(G),W&&S&&!X&&(E=null==S?void 0:S.addVariantChild(G)),null==S||S.children.add(G)},unmount:function(){tO.qY.update(update),tO.qY.render(render),tO.qY.preRender(G.updateLayoutProjection),H.forEach(function(t){return t()}),G.stopLayoutAnimation(),G.layoutTree.remove(G),null==E||E(),null==S||S.children.delete(G),null==A||A(),k.clearAllListeners()},addVariantChild:function(t){var e,n=G.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return v&&n===t.treeType?v(G.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return W?G:null==S?void 0:S.getClosestVariantNode()},scheduleUpdateLayoutProjection:S?S.scheduleUpdateLayoutProjection:function(){return tO.ZP.preRender(G.updateTreeLayoutProjection,!1,!0)},getLayoutId:function(){return M.layoutId},getInstance:function(){return P},getStaticValue:function(t){return _[t]},setStaticValue:function(t,e){return _[t]=e},getLatestValues:function(){return _},setVisibility:function(t){G.isVisible!==t&&(G.isVisible=t,G.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),o(G,t,M,e)},addValue:function(t,e){var n,r;G.hasValue(t)&&G.removeValue(t),U.set(t,e),_[t]=e.get(),n=e.onChange(function(e){_[t]=e,M.onUpdate&&tO.ZP.update(update,!1,!0)}),r=e.onRenderRequest(G.scheduleRender),H.set(t,function(){n(),r()})},removeValue:function(t){var e;U.delete(t),null===(e=H.get(t))||void 0===e||e(),H.delete(t),delete _[t],m(t,R)},hasValue:function(t){return U.has(t)},getValue:function(t,e){var n=U.get(t);return void 0===n&&void 0!==e&&(n=motionValue(e),G.addValue(t,n)),n},forEachValue:function(t){return U.forEach(t)},readValue:function(t){var n;return null!==(n=_[t])&&void 0!==n?n:l(P,t,e)},setBaseTarget:function(t,e){z[t]=e},getBaseTarget:function(t){if(i){var e=i(M,t);if(void 0!==e&&!isMotionValue(e))return e}return z[t]}},k),{build:function(){return triggerBuild(),R},scheduleRender:function(){tO.ZP.render(render,!1,!0)},syncRender:render,setProps:function(t){M=t,k.updatePropListeners(t),N=function(t,e,n){var r;for(var i in e){var o=e[i],s=n[i];if(isMotionValue(o))t.addValue(i,o);else if(isMotionValue(s))t.addValue(i,motionValue(o));else if(s!==o){if(t.hasValue(i)){var u=t.getValue(i);u.hasAnimated||u.set(o)}else t.addValue(i,motionValue(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(G,g(M),N)},getProps:function(){return M},getVariant:function(t){var e;return null===(e=M.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return M.transition},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==S?void 0:S.getVariantContext();if(!X){var e=(null==S?void 0:S.getVariantContext())||{};return void 0!==M.initial&&(e.initial=M.initial),e}for(var n={},r=0;r<ed;r++){var i=ef[r],o=M[i];(isVariantLabel(o)||!1===o)&&(n[i]=o)}return n},enableLayoutProjection:function(){O.isEnabled=!0,G.layoutTree.add(G)},lockProjectionTarget:function(){O.isTargetLocked=!0},unlockProjectionTarget:function(){G.stopLayoutAnimation(),O.isTargetLocked=!1},getLayoutState:function(){return I},setCrossfader:function(t){V=t},isProjectionReady:function(){return O.isEnabled&&O.isHydrated&&I.isHydrated},startLayoutAnimation:function(t,e,n){void 0===n&&(n=!1);var r=G.getProjectionAnimationProgress()[t],i=n?O.relativeTarget[t]:O.target[t],o=i.min,s=i.max-o;return r.clearListeners(),r.set(o),r.set(o),r.onChange(function(e){G.setProjectionTargetAxis(t,e,e+s,n)}),G.animateMotionValue(t,r,0,e)},stopLayoutAnimation:function(){eachAxis(function(t){return G.getProjectionAnimationProgress()[t].stop()})},measureViewportBox:function(t){void 0===t&&(t=!0);var n=s(P,e);return t||removeBoxTransforms(n,_),n},getProjectionAnimationProgress:function(){return C||(C={x:motionValue(0),y:motionValue(0)}),C},setProjectionTargetAxis:function(t,e,n,r){var i;void 0===r&&(r=!1),r?(O.relativeTarget||(O.relativeTarget=(0,tJ.VZ)()),i=O.relativeTarget[t]):(O.relativeTarget=void 0,i=O.target[t]),O.isHydrated=!0,i.min=e,i.max=n,F=!0,k.notifySetAxisTarget()},rebaseProjectionTarget:function(t,e){void 0===e&&(e=I.layout);var n=G.getProjectionAnimationProgress(),r=n.x,i=n.y,o=!O.relativeTarget&&!O.isTargetLocked&&!r.isAnimating()&&!i.isAnimating();(t||o)&&eachAxis(function(t){var n=e[t],r=n.min,i=n.max;G.setProjectionTargetAxis(t,r,i)})},notifyLayoutReady:function(t){!function(t){var e=t.getProjectionParent();if(!e){t.rebaseProjectionTarget();return}var n=calcRelativeOffset(e.getLayoutState().layout,t.getLayoutState().layout);eachAxis(function(e){t.setProjectionTargetAxis(e,n[e].min,n[e].max,!0)})}(G),G.notifyLayoutUpdate(I.layout,G.prevViewportBox||I.layout,t)},resetTransform:function(){return d(G,P,M)},restoreTransform:function(){return p(P,R)},updateLayoutProjection:function(){if(G.isProjectionReady()){var t,e,n,r,i,o,s,u=I.delta,l=I.treeScale,f=l.x,d=l.y,p=I.deltaTransform;t=B,e=G.path,n=I.delta,r=I.layout,i=I.layoutCorrected,o=I.treeScale,s=t.target,resetAxis(i.x,r.x),resetAxis(i.y,r.y),function(t,e,n){var r,i,o=n.length;if(o){e.x=e.y=1;for(var s=0;s<o;s++)i=(r=n[s]).getLayoutState().delta,e.x*=i.x.scale,e.y*=i.y.scale,function(t,e){var n=e.x,r=e.y;applyAxisDelta(t.x,n.translate,n.scale,n.originPoint),applyAxisDelta(t.y,r.translate,r.scale,r.originPoint)}(t,i),isDraggable(r)&&applyBoxTransforms(t,t,r.getLatestValues())}}(i,o,e),updateBoxDelta(n,i,s,_),F&&G.notifyViewportBoxUpdate(B.target,u),F=!1;var m=buildLayoutProjectionTransform(u,l);(m!==p||f!==l.x||d!==l.y)&&G.scheduleRender(),I.deltaTransform=m}},updateTreeLayoutProjection:function(){G.layoutTree.forEach(fireResolveRelativeTargetBox),tO.ZP.preRender(updateTreeLayoutProjection,!1,!0)},getProjectionParent:function(){if(void 0===T){for(var t=!1,e=G.path.length-1;e>=0;e--){var n=G.path[e];if(n.projection.isEnabled){t=n;break}}T=t}return T},resolveRelativeTargetBox:function(){var t,e=G.getProjectionParent();if(O.relativeTarget&&e&&(t=e.projection,calcRelativeAxis(O.target.x,O.relativeTarget.x,t.target.x),calcRelativeAxis(O.target.y,O.relativeTarget.y,t.target.y),isDraggable(e))){var n=O.target;applyBoxTransforms(n,n,e.getLatestValues())}}
1,shouldResetTransform:function(){return!!M._layoutResetTransform},pointTo:function(t){B=t.projection,j=t.getLatestValues(),null==A||A(),A=pipe(t.onSetAxisTarget(G.scheduleUpdateLayoutProjection),t.onLayoutAnimationComplete(function(){var t;G.isPresent?G.presence=t4.z.Present:null===(t=G.layoutSafeToRemove)||void 0===t||t.call(G)}))},isPresent:!0,presence:t4.z.Entering});return G}};function fireResolveRelativeTargetBox(t){t.resolveRelativeTargetBox()}function fireUpdateLayoutProjection(t){t.updateLayoutProjection()}var ef=(0,f.ev)(["initial"],(0,f.CR)(tX)),ed=ef.length,ep=new Set(["width","height","top","left","right","bottom","x","y"]),isPositionalKey=function(t){return ep.has(t)},setAndResetVelocity=function(t,e){t.set(e,!1),t.set(e)},isNumOrPxType=function(t){return t===N||t===I};(o=l||(l={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";var getPosFromMatrix=function(t,e){return parseFloat(t.split(", ")[e])},getTranslateFromMatrix=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return getPosFromMatrix(o[1],e);var s=i.match(/^matrix\((.+)\)$/);return s?getPosFromMatrix(s[1],t):0}},em=new Set(["x","y","z"]),ev=w.filter(function(t){return!em.has(t)}),eg={width:function(t){var e=t.x;return e.max-e.min},height:function(t){var e=t.y;return e.max-e.min},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)},convertChangedValueTypes=function(t,e,n){var r=e.measureViewportBox(),i=e.getInstance(),o=getComputedStyle(i),s=o.display,u={top:o.top,left:o.left,bottom:o.bottom,right:o.right,transform:o.transform};"none"===s&&e.setStaticValue("display",t.display||"block"),e.syncRender();var l=e.measureViewportBox();return n.forEach(function(n){setAndResetVelocity(e.getValue(n),eg[n](r,u)),t[n]=eg[n](l,o)}),t},checkAndConvertChangedValueTypes=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r={}),e=(0,f.pi)({},e),r=(0,f.pi)({},r);var i=Object.keys(e).filter(isPositionalKey),o=[],s=!1,u=[];if(i.forEach(function(i){var l,f=t.getValue(i);if(t.hasValue(i)){var d=n[i],p=e[i],m=findDimensionValueType(d);if(isKeyframesTarget(p))for(var v=p.length,g=null===p[0]?1:0;g<v;g++)l?invariant(findDimensionValueType(p[g])===l,"All keyframes must be of the same type"):invariant((l=findDimensionValueType(p[g]))===m||isNumOrPxType(m)&&isNumOrPxType(l),"Keyframes must be of the same dimension as the current value");else l=findDimensionValueType(p);if(m!==l){if(isNumOrPxType(m)&&isNumOrPxType(l)){var h,y=f.get();"string"==typeof y&&f.set(parseFloat(y)),"string"==typeof p?e[i]=parseFloat(p):Array.isArray(p)&&l===I&&(e[i]=p.map(parseFloat))}else(null==m?void 0:m.transform)&&(null==l?void 0:l.transform)&&(0===d||0===p)?0===d?f.set(l.transform(d)):e[i]=m.transform(p):(s||(h=[],ev.forEach(function(e){var n=t.getValue(e);void 0!==n&&(h.push([e,n.get()]),n.set(e.startsWith("scale")?1:0))}),h.length&&t.syncRender(),o=h,s=!0),u.push(i),r[i]=void 0!==r[i]?r[i]:e[i],setAndResetVelocity(f,p))}}}),!u.length)return{target:e,transitionEnd:r};var l=convertChangedValueTypes(e,t,u);return o.length&&o.forEach(function(e){var n=(0,f.CR)(e,2),r=n[0],i=n[1];t.getValue(r).set(i)}),t.syncRender(),{target:l,transitionEnd:r}},parseDomVariant=function(t,e,n,r){var i,o,s=function(t,e,n){var r,i=(0,f._T)(e,[]),o=t.getInstance();if(!(o instanceof HTMLElement))return{target:i,transitionEnd:n};for(var s in n&&(n=(0,f.pi)({},n)),t.forEachValue(function(t){var e=t.get();if(css_variables_conversion_isCSSVariable(e)){var n=getVariableValue(e,o);n&&t.set(n)}}),i){var u=i[s];if(css_variables_conversion_isCSSVariable(u)){var l=getVariableValue(u,o);l&&(i[s]=l,n&&(null!==(r=n[s])&&void 0!==r||(n[s]=u)))}}return{target:i,transitionEnd:n}}(t,e,r);return i=e=s.target,o=r=s.transitionEnd,Object.keys(i).some(isPositionalKey)?checkAndConvertChangedValueTypes(t,i,n,o):{target:i,transitionEnd:o}},eh={treeType:"dom",readValueFromInstance:function(t,e){if(isTransformProp(e)){var n=getDefaultValueType(e);return n&&n.default||0}var r=window.getComputedStyle(t);return(isCSSVariable(e)?r.getPropertyValue(e):r[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return getBoundingBox(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var i=n.transformValues;void 0===r&&(r=!0);var o=e.transition,s=e.transitionEnd,u=(0,f._T)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,i,o={};for(var s in t)o[s]=null!==(r=function(t,e){if(e)return(e[t]||e.default||e).from}(s,e))&&void 0!==r?r:null===(i=n.getValue(s))||void 0===i?void 0:i.get();return o}(u,o||{},t);if(i&&(s&&(s=i(s)),u&&(u=i(u)),l&&(l=i(l))),r){!function(t,e,n){var r,i,o,s=Object.keys(e).filter(function(e){return!t.hasValue(e)}),u=s.length;if(u)for(var l=0;l<u;l++){var f,d,p=s[l],m=e[p],v=null;Array.isArray(m)&&(v=m[0]),null===v&&(v=null!==(i=null!==(r=n[p])&&void 0!==r?r:t.readValue(p))&&void 0!==i?i:e[p]),null!=v&&("string"==typeof v&&(f=v,/^\-?\d*\.?\d+$/.test(f))?v=parseFloat(v):(d=v,!tq.find(testValueType(d))&&tx.test(m)&&(v=animatable_none_getAnimatableNone(p,m))),t.addValue(p,motionValue(v)),null!==(o=n[p])&&void 0!==o||(n[p]=v),t.setBaseTarget(p,v))}}(t,u,l);var d=parseDomVariant(t,u,l,s);s=d.transitionEnd,u=d.target}return(0,f.pi)({transition:o,transitionEnd:s},u)},scrapeMotionValuesFromProps:scrapeMotionValuesFromProps,build:function(t,e,n,r,i,o,s){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden");var u=r.isEnabled&&i.isHydrated;buildHTMLStyles(e,n,r,i,o,s.transformTemplate,u?buildLayoutProjectionTransform:void 0,u?buildLayoutProjectionTransformOrigin:void 0)},render:renderHTML},ey=visualElement(eh),ex=visualElement((0,f.pi)((0,f.pi)({},eh),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return isTransformProp(e)?(null===(n=getDefaultValueType(e))||void 0===n?void 0:n.default)||0:(e=J.has(e)?e:camelToDash(e),t.getAttribute(e))},scrapeMotionValuesFromProps:scrape_motion_values_scrapeMotionValuesFromProps,build:function(t,e,n,r,i,o,s){var u=r.isEnabled&&i.isHydrated;buildSVGAttrs(e,n,r,i,o,s.transformTemplate,u?buildLayoutProjectionTransform:void 0,u?buildLayoutProjectionTransformOrigin:void 0)},render:renderSVG})),create_visual_element_createDomVisualElement=function(t,e){return isSVGComponent(t)?ex(e,{enableHardwareAcceleration:!1}):ey(e,{enableHardwareAcceleration:!0})},eb=(0,f.pi)((0,f.pi)((0,f.pi)((0,f.pi)({},tK),ts),t6),{measureLayout:function(t){var e=(0,d.useContext)(ei.WH),n=(0,d.useContext)(ei.bg);return d.createElement(eo,(0,f.pi)({},t,{syncLayout:e,framerSyncLayout:n}))},layoutAnimation:function(t){var e=(0,f.CR)(usePresence(),2)[1];return d.createElement(ee,(0,f.pi)({},t,{safeToRemove:e}))}}),eP=function(t){function custom(e,n){var r,i,o,s,u,l;return void 0===n&&(n={}),i=(r=t(e,n)).preloadedFeatures,o=r.createVisualElement,s=r.useRender,u=r.useVisualState,l=r.Component,i&&function(t){for(var e in t){var n=t[e];null!==n&&(p[e].Component=n)}}(i),(0,d.forwardRef)(function(t,e){var n,r,i,P,T,E,S,M,w,D,L,_,R,k,O=(0,d.useContext)(h).isStatic,B=null,j=(_=(L=function(t,e){if(checkIfControllingVariants(t)){var n=t.initial,r=t.animate;return{initial:!1===n||isVariantLabel(n)?n:void 0,animate:isVariantLabel(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,d.useContext)(y))).initial,R=L.animate,(0,d.useMemo)(function(){return{initial:_,animate:R}},O?[variantLabelsAsDependency(_),variantLabelsAsDependency(R)]:[])),I=u(t,O);return!O&&V&&(j.visualElement=(n=o,P=(0,d.useContext)(h),T=(0,d.useContext)(m),E=(0,d.useContext)(y).visualElement,S=(0,d.useContext)(x.O),r=t.layoutId,M=(i=(0,d.useContext)(A))&&void 0!==r?i+"-"+r:r,w=(0,d.useRef)(void 0),n||(n=T.renderer),!w.current&&n&&(w.current=n(l,{visualState:I,parent:E,props:(0,f.pi)((0,f.pi)({},t),{layoutId:M}),presenceId:null==S?void 0:S.id,blockInitialAnimation:(null==S?void 0:S.initial)===!1}
1)),D=w.current,C(function(){D&&(D.setProps((0,f.pi)((0,f.pi)((0,f.pi)({},P),t),{layoutId:M})),D.isPresent=null===S||S.isPresent,D.isPresenceRoot=!E||E.presenceId!==(null==S?void 0:S.id),D.syncRender())}),(0,d.useEffect)(function(){var t;D&&(null===(t=D.animationState)||void 0===t||t.animateChanges())}),C(function(){return function(){return null==D?void 0:D.notifyUnmount()}},[]),D),B=function(t,e,n){var r=[];if((0,d.useContext)(m),!e)return null;for(var i=0;i<g;i++){var o=v[i],s=p[o],u=s.isEnabled,l=s.Component;u(t)&&l&&r.push(d.createElement(l,(0,f.pi)({key:o},t,{visualElement:e})))}return r}(t,j.visualElement,0)),d.createElement(d.Fragment,null,d.createElement(y.Provider,{value:j},s(l,t,(k=j.visualElement,(0,d.useCallback)(function(t){var n;t&&(null===(n=I.mount)||void 0===n||n.call(I,t)),k&&(t?k.mount(t):k.unmount()),e&&("function"==typeof e?e(t):isRefObject(e)&&(e.current=t))},[k])),I,O)),B)})}var e=new Map;return new Proxy(custom,{get:function(t,n){return e.has(n)||e.set(n,custom(n)),e.get(n)}})}(function(t,e){var n,r,i,o;return r=void 0!==(n=e.forwardMotionProps)&&n,i=isSVGComponent(t)?Q:tt,(0,f.pi)((0,f.pi)({},i),{preloadedFeatures:eb,useRender:(void 0===(o=r)&&(o=!1),function(t,e,n,r,i){var s=r.latestValues,u=(isSVGComponent(t)?function(t,e){var n=(0,d.useMemo)(function(){var n=createSvgRenderState();return buildSVGAttrs(n,e,void 0,void 0,{enableHardwareAcceleration:!1},t.transformTemplate),(0,f.pi)((0,f.pi)({},n.attrs),{style:(0,f.pi)({},n.style)})},[e]);if(t.style){var r={};copyRawValuesOnly(r,t.style,t),n.style=(0,f.pi)((0,f.pi)({},r),n.style)}return n}:function(t,e,n){var r,i,o={},s=(copyRawValuesOnly(r={},t.style||{},t),Object.assign(r,(i=t.transformTemplate,(0,d.useMemo)(function(){var t=createHtmlRenderState();buildHTMLStyles(t,e,void 0,void 0,{enableHardwareAcceleration:!n},i);var r=t.vars,o=t.style;return(0,f.pi)((0,f.pi)({},r),o)},[e]))),t.transformValues&&(r=t.transformValues(r)),r);return t.drag&&(o.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),o.style=s,o})(e,s,i),l=function(t,e,n){var r={};for(var i in t)(shouldForward(i)||!0===n&&isValidMotionProp(i)||!e&&!isValidMotionProp(i))&&(r[i]=t[i]);return r}(e,"string"==typeof t,o),p=(0,f.pi)((0,f.pi)((0,f.pi)({},l),u),{ref:n});return(0,d.createElement)(t,p)}),createVisualElement:create_visual_element_createDomVisualElement,Component:t})})},8839:function(t,e,n){"use strict";n.d(e,{de:function(){return updateLayoutMeasurement},e3:function(){return collectProjectingChildren},kv:function(){return function collectProjectingAncestors(t,e){void 0===e&&(e=[]);var n=t.parent;return n&&collectProjectingAncestors(n,e),isProjecting(t)&&e.push(t),e}},x7:function(){return snapshotViewportBox}});var r=n(1706),i=n(9058),o=n(519);function isProjecting(t){return t.projection.isEnabled||t.shouldResetTransform()}function collectProjectingChildren(t){var e=[],addChild=function(t){isProjecting(t)&&e.push(t),t.children.forEach(addChild)};return t.children.forEach(addChild),e.sort(o._)}function updateLayoutMeasurement(t){if(!t.shouldResetTransform()){var e=t.getLayoutState();t.notifyBeforeLayoutMeasure(e.layout),e.isHydrated=!0,e.layout=t.measureViewportBox(),e.layoutCorrected=(0,i.nP)(e.layout),t.notifyLayoutMeasure(e.layout,t.prevViewportBox||e.layout),r.ZP.update(function(){return t.rebaseProjectionTarget()})}}function snapshotViewportBox(t){t.shouldResetTransform()||(t.prevViewportBox=t.measureViewportBox(!1),t.rebaseProjectionTarget(!1,t.prevViewportBox))}},7565:function(t,e,n){"use strict";n.d(e,{R:function(){return flushLayout},U:function(){return batchLayout}});var r=new Set;function pushJob(t,e,n){t[n]||(t[n]=[]),t[n].push(e)}function batchLayout(t){return r.add(t),function(){return r.delete(t)}}function flushLayout(){if(r.size){var t=0,e=[[]],n=[],setRead=function(n){return pushJob(e,n,t)},setWrite=function(e){pushJob(n,e,t),t++};r.forEach(function(e){e(setRead,setWrite),t=0}),r.clear();for(var i=n.length,o=0;o<=i;o++)e[o]&&e[o].forEach(executeJob),n[o]&&n[o].forEach(executeJob)}}var executeJob=function(t){return t()}},519:function(t,e,n){"use strict";n.d(e,{_:function(){return compareByDepth}});var compareByDepth=function(t,e){return t.depth-e.depth}},9058:function(t,e,n){"use strict";n.d(e,{VZ:function(){return axisBox},_6:function(){return convertAxisBoxToBoundingBox},RX:function(){return convertBoundingBoxToAxisBox},nP:function(){return copyAxisBox},pY:function(){return delta},dV:function(){return transformBoundingBox}});var r=n(2888);function noop(t){return t}function convertBoundingBoxToAxisBox(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function convertAxisBoxToBoundingBox(t){var e=t.x,n=t.y;return{top:n.min,bottom:n.max,left:e.min,right:e.max}}function transformBoundingBox(t,e){var n=t.top,r=t.left,i=t.bottom,o=t.right;void 0===e&&(e=noop);var s=e({x:r,y:n}),u=e({x:o,y:i});return{top:s.y,left:s.x,bottom:u.y,right:u.x}}function axisBox(){return{x:{min:0,max:1},y:{min:0,max:1}}}function copyAxisBox(t){return{x:(0,r.pi)({},t.x),y:(0,r.pi)({},t.y)}}var i={translate:0,scale:1,origin:0,originPoint:0};function delta(){return{x:(0,r.pi)({},i),y:(0,r.pi)({},i)}}},5930:function(t,e,n){"use strict";n.d(e,{h:function(){return useConstant}});var r=n(7294);function useConstant(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},6717:function(t,e,n){"use strict";n.d(e,{z:function(){return useUnmountEffect}});var r=n(7294);function useUnmountEffect(t){return(0,r.useEffect)(function(){return function(){return t()}},[])}},1706:function(t,e,n){"use strict";n.d(e,{qY:function(){return v},ZP:function(){return h},iW:function(){return g},$B:function(){return getFrameData}});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)},s=!0,u=!1,l=!1,f={delta:0,timestamp:0},d=["read","update","preRender","render","postRender"],p=d.reduce(function(t,e){var n,r,i,o,s,l;return t[e]=(n=[],r=[],i=0,o=!1,s=new WeakSet,l={schedule:function(t,e,u){void 0===e&&(e=!1),void 0===u&&(u=!1);var l=u&&o,f=l?n:r;return e&&s.add(t),-1===f.indexOf(t)&&(f.push(t),l&&o&&(i=n.length)),t},cancel:function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1),s.delete(t)},process:function(t){var e;if(o=!0,n=(e=[r,n])[0],(r=e[1]).length=0,i=n.length)for(var f=0;f<i;f++){var d=n[f];d(t),s.has(d)&&(l.schedule(d),u=!0)}o=!1}}),t},{}),m=d.reduce(function(t,e){var n=p[e];return t[e]=function(t,e,r){return void 0===e&&(e=!1),void 0===r&&(r=!1),u||startLoop(),n.schedule(t,e,r)},t},{}),v=d.reduce(function(t,e){return t[e]=p[e].cancel,t},{}),g=d.reduce(function(t,e){return t[e]=function(){return p[e].process(f)},t},{}),processStep=function(t){return p[t].process(f)},processFrame=function(t){u=!1,f.delta=s?r:Math.max(Math.min(t-f.timestamp,40),1),f.timestamp=t,l=!0,d.forEach(processStep),l=!1,u&&(s=!1,o(processFrame))},startLoop=function(){u=!0,s=!0,l||o(processFrame)},getFrameData=function(){return f},h=m}
1,1342:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{noSSR:function(){return noSSR},default:function(){return dynamic}});let r=n(8754),i=(n(7294),r._(n(4304)));function convertModule(t){return{default:(null==t?void 0:t.default)||t}}function noSSR(t,e){return delete e.webpack,delete e.modules,t(e)}function dynamic(t,e){let n=i.default,r={loading:t=>{let{error:e,isLoading:n,pastDelay:r}=t;return null}};t instanceof Promise?r.loader=()=>t:"function"==typeof t?r.loader=t:"object"==typeof t&&(r={...r,...t}),r={...r,...e};let o=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=o?o().then(convertModule):Promise.resolve(convertModule(()=>null))}):(delete r.webpack,delete r.modules,noSSR(n,r))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},43:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return o}});let r=n(8754),i=r._(n(7294)),o=i.default.createContext(null)},4304:function(t,e,n){"use strict";/**
2@copyright (c) 2017-present James Kyle <[email protected]>
3 MIT License
4 Permission is hereby granted, free of charge, to any person obtaining
5a copy of this software and associated documentation files (the
6"Software"), to deal in the Software without restriction, including
7without limitation the rights to use, copy, modify, merge, publish,
8distribute, sublicense, and/or sell copies of the Software, and to
9permit persons to whom the Software is furnished to do so, subject to
10the following conditions:
11 The above copyright notice and this permission notice shall be
12included in all copies or substantial portions of the Software.
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
20*/Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});let r=n(8754),i=r._(n(7294)),o=n(43),s=[],u=[],l=!1;function load(t){let e=t(),n={loading:!0,loaded:null,error:null};return n.promise=e.then(t=>(n.loading=!1,n.loaded=t,t)).catch(t=>{throw n.loading=!1,n.error=t,t}),n}let LoadableSubscription=class LoadableSubscription{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:t,_opts:e}=this;t.loading&&("number"==typeof e.delay&&(0===e.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},e.delay)),"number"==typeof e.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},e.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(t=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(t){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...t},this._callbacks.forEach(t=>t())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(t){return this._callbacks.add(t),()=>{this._callbacks.delete(t)}}constructor(t,e){this._loadFn=t,this._opts=e,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}};function Loadable(t){return function(t,e){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e),r=null;function init(){if(!r){let e=new LoadableSubscription(t,n);r={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return r.promise()}if(!l){let t=n.webpack?n.webpack():n.modules;t&&u.push(e=>{for(let n of t)if(e.includes(n))return init()})}
20function LoadableComponent(t,e){!function(){init();let t=i.default.useContext(o.LoadableContext);t&&Array.isArray(n.modules)&&n.modules.forEach(e=>{t(e)})}();let s=i.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return i.default.useImperativeHandle(e,()=>({retry:r.retry}),[]),i.default.useMemo(()=>{var e;return s.loading||s.error?i.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?i.default.createElement((e=s.loaded)&&e.default?e.default:e,t):null},[t,s])}return LoadableComponent.preload=()=>init(),LoadableComponent.displayName="LoadableComponent",i.default.forwardRef(LoadableComponent)}(load,t)}function flushInitializers(t,e){let n=[];for(;t.length;){let r=t.pop();n.push(r(e))}return Promise.all(n).then(()=>{if(t.length)return flushInitializers(t,e)})}Loadable.preloadAll=()=>new Promise((t,e)=>{flushInitializers(s).then(t,e)}),Loadable.preloadReady=t=>(void 0===t&&(t=[]),new Promise(e=>{let res=()=>(l=!0,e());flushInitializers(u,t).then(res,res)})),window.__NEXT_PRELOADREADY=Loadable.preloadReady;let f=Loadable},5152:function(t,e,n){t.exports=n(1342)},2888:function(t,e,n){"use strict";n.d(e,{CR:function(){return __read},ZT:function(){return __extends},_T:function(){return __rest},ev:function(){return __spreadArray},pi:function(){return __assign}});var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function __extends(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function __(){this.constructor=t}extendStatics(t,e),t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function __rest(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function __read(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function __spreadArray(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}}}]);

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