{"version":3,"sources":["webpack:///./node_modules/framer-motion/dist/es/projection/geometry/delta-apply.mjs","webpack:///./node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs","webpack:///./node_modules/framer-motion/dist/es/value/index.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/shallow-compare.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/is-zero-value-string.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/value-types/test.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/value-types/dimensions.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/value-types/type-auto.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/value-types/find.mjs","webpack:///./node_modules/framer-motion/dist/es/render/utils/setters.mjs","webpack:///./node_modules/framer-motion/dist/es/render/utils/animation.mjs","webpack:///./node_modules/framer-motion/dist/es/render/utils/animation-state.mjs","webpack:///./node_modules/framer-motion/dist/es/motion/features/animations.mjs","webpack:///./node_modules/framer-motion/dist/es/gestures/use-hover-gesture.mjs","webpack:///./node_modules/framer-motion/dist/es/gestures/utils/is-node-or-child.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/warn-once.mjs","webpack:///./node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs","webpack:///./node_modules/framer-motion/dist/es/motion/features/viewport/use-viewport.mjs","webpack:///./node_modules/framer-motion/dist/es/motion/features/gestures.mjs","webpack:///./node_modules/framer-motion/dist/es/gestures/use-tap-gesture.mjs","webpack:///./node_modules/framer-motion/dist/es/gestures/use-focus-gesture.mjs","webpack:///./node_modules/framer-motion/dist/es/render/utils/lifecycles.mjs","webpack:///./node_modules/framer-motion/dist/es/render/index.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs","webpack:///./node_modules/framer-motion/dist/es/render/utils/motion-values.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/utils/parse-dom-variant.mjs","webpack:///./node_modules/framer-motion/dist/es/render/html/visual-element.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/is-numerical-string.mjs","webpack:///./node_modules/framer-motion/dist/es/render/svg/visual-element.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/features-animation.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs","webpack:///./node_modules/framer-motion/dist/es/events/use-pointer-event.mjs","webpack:///./node_modules/framer-motion/dist/es/events/utils.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/use-unmount-effect.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/use-id.mjs","webpack:///./node_modules/framer-motion/dist/es/motion/utils/make-renderless-component.mjs","webpack:///./node_modules/framer-motion/dist/es/projection/utils/has-transform.mjs","webpack:///./node_modules/framer-motion/dist/es/events/use-dom-event.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/array.mjs","webpack:///./node_modules/framer-motion/dist/es/animation/utils/easing.mjs","webpack:///./node_modules/framer-motion/dist/es/animation/utils/is-animatable.mjs","webpack:///./node_modules/framer-motion/dist/es/animation/utils/default-transitions.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/use-instant-transition-state.mjs","webpack:///./node_modules/framer-motion/dist/es/animation/utils/transitions.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/subscription-manager.mjs","webpack:///./node_modules/framer-motion/dist/es/events/event-info.mjs","webpack:///./node_modules/framer-motion/dist/es/gestures/utils/event-type.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/value-types/defaults.mjs","webpack:///./node_modules/framer-motion/dist/es/gestures/drag/utils/lock.mjs","webpack:///./node_modules/framer-motion/dist/es/utils/time-conversion.mjs","webpack:///./node_modules/framer-motion/dist/es/projection/geometry/conversion.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs","webpack:///./node_modules/framer-motion/dist/es/projection/utils/measure.mjs","webpack:///./node_modules/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs","webpack:///./node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs","webpack:///./node_modules/hey-listen/dist/hey-listen.es.js","webpack:///./node_modules/popmotion/dist/popmotion.cjs.js","webpack:///./node_modules/tslib/tslib.es6.js","webpack:///./node_modules/style-value-types/dist/es/utils.mjs","webpack:///./node_modules/style-value-types/dist/es/numbers/index.mjs","webpack:///./node_modules/style-value-types/dist/es/numbers/units.mjs","webpack:///./node_modules/style-value-types/dist/es/color/utils.mjs","webpack:///./node_modules/style-value-types/dist/es/color/hsla.mjs","webpack:///./node_modules/style-value-types/dist/es/color/rgba.mjs","webpack:///./node_modules/style-value-types/dist/es/color/hex.mjs","webpack:///./node_modules/style-value-types/dist/es/color/index.mjs","webpack:///./node_modules/style-value-types/dist/es/complex/index.mjs","webpack:///./node_modules/style-value-types/dist/es/complex/filter.mjs","webpack:///./node_modules/framesync/dist/framesync.cjs.js","webpack:///./node_modules/framesync/dist/es/on-next-frame.mjs","webpack:///./node_modules/framesync/dist/es/index.mjs","webpack:///./node_modules/framesync/dist/es/create-render-step.mjs","webpack:///./node_modules/framer-motion/dist/es/render/utils/types.mjs"],"names":["scalePoint","point","scale","originPoint","applyPointDelta","translate","boxScale","undefined","applyAxisDelta","axis","min","max","applyBoxDelta","box","_a","x","y","applyTreeDeltas","treeScale","treePath","isSharedTransition","_b","treeLength","length","node","delta","i","projectionDelta","instance","style","display","options","layoutScroll","scroll","root","transformBox","hasTransform","latestValues","translateAxis","distance","transformAxis","transforms","__read","key","scaleKey","originKey","axisOrigin","mix","xKeys","yKeys","transform","LazyMotion","children","features","strict","setIsLoaded","useState","isLazyBundle","loadedRenderer","useRef","renderer","loadedFeatures","__rest","current","loadFeatures","useEffect","then","React","LazyContext","Provider","value","MotionValue","init","_this","this","version","timeDelta","lastUpdated","updateSubscribers","SubscriptionManager","velocityUpdateSubscribers","renderSubscribers","canTrackVelocity","updateAndNotify","v","render","prev","getFrameData","timestamp","sync","postRender","scheduleVelocityCheck","notify","getSize","getVelocity","velocityCheck","hasAnimated","isNaN","parseFloat","prototype","onChange","subscription","add","clearListeners","clear","onRenderRequest","get","attach","passiveEffect","set","getPrevious","velocityPerSecond","start","animation","stop","Promise","resolve","stopAnimation","clearAnimation","isAnimating","destroy","motionValue","shallowCompare","next","Array","isArray","prevLength","isZeroValueString","test","testValueType","type","dimensionValueTypes","number","px","percent","degrees","vw","vh","parse","findDimensionValueType","find","valueTypes","__spreadArray","color","complex","findValueType","setMotionValue","visualElement","hasValue","getValue","addValue","setTarget","definition","resolved","resolveVariant","makeTargetAnimatable","transitionEnd","transition","target","__assign","resolveFinalValueInKeyframes","getOriginFromTransition","from","animateVariant","variant","custom","getDefaultTransition","transitionOverride","getAnimation","animateTarget","getChildAnimations","variantChildren","size","forwardDelay","delayChildren","staggerChildren","staggerDirection","animations","maxStaggerDuration","generateStaggerDuration","sort","sortByTreeOrder","forEach","child","push","delay","notifyAnimationComplete","all","animateChildren","when","_c","first","last","_d","_e","_f","animationTypeState","animationState","getState","valueTarget","shouldBlockAnimation","valueTransition","shouldReduceMotion","isTransformProp","startAnimation","a","b","sortNodePosition","protectedKeys","needsAnimating","shouldBlock","hasOwnProperty","variantPriorityOrder","AnimationType","Animate","InView","Focus","Hover","Tap","Drag","Exit","reversePriorityOrder","reverse","numAnimationTypes","animateList","map","notifyAnimationStart","resolvedDefinition","animateVisualElement","createAnimationState","animate","state","createTypeState","allAnimatedKeys","isInitialRender","buildResolvedTypeValues","acc","animateChanges","changedActiveType","props","getProps","context","getVariantContext","removedKeys","Set","encounteredKeys","removedVariantIndex","Infinity","_loop_1","typeState","prop","propIsVariant","isVariantLabel","activeDelta","isActive","isInherited","manuallyAnimateOnMount","prevProp","isAnimationControls","variantDidChange","isVariantLabels","checkVariantsDidChange","shouldAnimateType","definitionList","resolvedValues","reduce","prevResolvedValues","allKeys","markToAnimate","delete","isKeyframesTarget","has","blockInitialAnimation","apply","fallbackAnimation_1","fallbackTarget","getBaseTarget","shouldAnimate","Boolean","initial","isAnimated","setActive","setAnimateFunction","makeAnimator","makeRenderlessComponent","subscribe","exit","usePresence","isPresent","safeToRemove","presenceContext","useContext","PresenceContext","createHoverEvent","callback","event","info","isMouseEvent","isDragActive","isNodeOrChild","parent","parentElement","warned","observerCallbacks","WeakMap","observers","fireObserverCallback","entry","fireAllObserverCallbacks","entries","observeIntersection","element","rootInteresectionObserver","lookupRoot","document","rootObservers","JSON","stringify","IntersectionObserver","initIntersectionObserver","observe","unobserve","thresholdNames","some","useIntersectionObserver","shouldObserve","rootMargin","margin","amount","once","threshold","getInstance","isIntersecting","isInView","hasEnteredView","onViewportEnter","onViewportLeave","useMissingIntersectionObserver","fallback","message","env","console","warn","requestAnimationFrame","gestureAnimations","inView","whileInView","viewport","tap","onTap","onTapStart","onTapCancel","whileTap","hasPressListeners","isPressing","cancelPointerEndListeners","eventOptions","passive","onPointerDown","removePointerEndListener","call","checkPointerEnd","onPointerUp","onPointerCancel","pipe","addPointerEvent","window","usePointerEvent","useUnmountEffect","focus","whileFocus","useDomEvent","hover","onHoverStart","onHoverEnd","whileHover","names","BoundingBoxDimension","treeType","build","measureViewportBox","renderInstance","readValueFromInstance","removeValueFromRenderState","scrapeMotionValuesFromProps","presenceId","visualState","removeFromVariantTree","isMounted","renderState","lifecycles","managers","propSubscriptions","clearAllListeners","manager","updatePropListeners","name","on","propListener","handler","args","_i","arguments","createLifecycles","values","Map","valueSubscriptions","prevMotionValues","baseTarget","triggerBuild","projection","update","notifyUpdate","bindToMotionValue","removeOnChange","latestValue","onUpdate","removeOnRenderRequest","scheduleRender","initialMotionValues","isMotionValue","isControllingVariants","checkIfControllingVariants","isVariantNode","checkIfVariantNode","depth","isVisible","mount","newInstance","addVariantChild","setProps","unmount","cancelSync","remove","closestVariantNode","getClosestVariantNode","other","getLayoutId","layoutId","getStaticValue","setStaticValue","getLatestValues","setVisibility","visibility","canMutate","removeValue","defaultValue","forEachValue","readValue","setBaseTarget","syncRender","newProps","transformTemplate","nextValue","prevValue","existingValue","updateMotionValuesFromProps","getVariant","variants","getTransformPagePoint","transformPagePoint","startAtParent","context_1","numVariantProps","name_1","variantProps","positionalKeys","isPositionalKey","setAndResetVelocity","to","isNumOrPxType","getPosFromMatrix","matrix","pos","split","getTranslateFromMatrix","pos2","pos3","_bbox","matrix3d","match","transformKeys","nonTranslationalTransformKeys","transformProps","filter","positionalValues","width","paddingLeft","paddingRight","height","paddingTop","paddingBottom","top","left","bottom","right","checkAndConvertChangedValueTypes","origin","targetPositionalKeys","Object","keys","removedTransformValues","hasAttemptedToRemoveTransformValues","changedValueTypeKeys","toType","fromType","numKeyframes","fromIndex","invariant","removedTransforms","startsWith","removeNonTranslationalTransform","scrollY_1","indexOf","pageYOffset","convertedTarget","changedKeys","originBbox","elementComputedStyle","getComputedStyle","targetBbox","convertChangedValueTypes","scrollTo","unitConversion","hasPositionalKey","htmlConfig","domElement","defaultType","getDefaultValueType","default","computedStyle","isCSSVariable","getPropertyValue","compareDocumentPosition","resetTransform","restoreTransform","mutableState","vars","transformValues","getOrigin","newValueKeys","numNewValues","targetValue","getAnimatableNone","checkTargetForNewValues","parsed","resolveCSSVariables","parseDomVariant","buildHTMLStyles","renderHTML","htmlVisualElement","svgVisualElement","camelCaseAttributes","camelToDash","getAttribute","_element","buildSVGAttrs","renderSVG","domAnimation","Component","isSVGComponent","enableHardwareAcceleration","mouseEventNames","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","pointerenter","pointerleave","touchEventNames","getPointerEventName","isBrowser","onpointerdown","ontouchstart","onmousedown","eventName","addDomEvent","wrapHandler","ref","counter","incrementId","useId","useConstant","hook","isIdentityScale","hasScale","scaleX","scaleY","hasTranslate","z","rotate","rotateX","rotateY","addEventListener","removeEventListener","addUniqueItem","arr","item","removeItem","index","splice","easingLookup","linear","easeIn","easeInOut","easeOut","circIn","circInOut","circOut","backIn","backInOut","backOut","anticipate","bounceIn","bounceInOut","bounceOut","easingDefinitionToFunction","x1","y1","x2","y2","cubicBezier","concat","isAnimatable","underDampedSpring","stiffness","damping","restSpeed","criticallyDampedSpring","Math","sqrt","linearTween","ease","duration","keyframes","defaultTransitions","rotateZ","opacity","backgroundColor","instantAnimationState","legacyRepeatWarning","convertTransitionToAnimationOptions","times","yoyo","flip","loop","secondsToMilliseconds","repeatDelay","isEasingArray","warning","repeatType","repeat","getPopmotionAnimationOptions","valueKey","transitionFactory","hydrateKeyframes","isTransitionDefined","isZero","getZeroUnit","potentialUnitType","getValueTransition","onComplete","delayTimer","controls","isTargetAnimatable","isOriginAnimatable","velocity","inertia","finalTarget","getDelayFromTransition","setTimeout","clearTimeout","subscriptions","c","numSubscriptions","defaultPagePoint","pageX","pageY","pointFromTouch","e","pointType","touches","changedTouches","pointFromMouse","extractEventInfo","isTouchEvent","shouldFilterPrimaryPointer","eventHandler","listener","MouseEvent","button","PointerEvent","pointerType","defaultValueTypes","numberValueTypes","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","WebkitFilter","createLock","lock","globalHorizontalLock","globalVerticalLock","getGlobalLock","drag","openHorizontal_1","openVertical_1","openGestureLock","seconds","convertBoundingBoxToBox","convertBoxToBoundingBox","transformBoxPoints","transformPoint","topLeft","bottomRight","defaultValueType","getBoundingClientRect","measurePageBox","rootProjectionNode","viewportBox","cssVariableRegex","getVariableValue","exec","parseCSSVariable","token","trim","Element","onExitComplete","register","id","defineProperty","exports","tslib","heyListen","styleValueTypes","_interopDefaultLegacy","sync__default","clamp","findSpring","bounce","mass","envelope","derivative","maxDuration","dampingRatio","undampedFreq","exponentialDecay","calcAngularFreq","exp","d","pow","f","g","initialGuess","result","approximateRoot","durationKeys","physicsKeys","isSpringType","spring","restDelta","done","isResolvedFromDuration","springOptions","assign","derived","getSpringOptions","resolveSpring","zero","resolveVelocity","createSpring","initialVelocity","initialDelta","undampedAngularFreq","abs","angularFreq","t","sin","cos","dampedAngularFreq","freqForT","sinh","cosh","currentVelocity","isBelowVelocityThreshold","isBelowDisplacementThreshold","flipTarget","needsInterpolation","_t","progress","toFromDifference","hueToRgb","p","q","hslaToRgba","hue","saturation","lightness","alpha","red","green","blue","round","mixLinearColor","fromExpo","toExpo","colorTypes","hex","rgba","hsla","getColorType","notAnimatable","mixColor","fromColorType","toColorType","fromColor","toColor","blended","zeroPoint","isNum","combineFunctions","transformers","getMixer","mixComplex","mixArray","output","numValues","blendValue","fromThis","mixObject","analyse","numNumbers","numRGB","numHSL","template","createTransformer","originStats","targetStats","mixNumber","createMixers","customMixer","mixers","mixerFactory","numMixers","mixer","easingFunction","interpolate","input","isClamp","inputLength","interpolator","fastInterpolate","lastInputIndex","mixerIndex","foundMixerIndex","progressInRange","slowInterpolate","reverseEasing","easing","mirrorEasing","createExpoIn","power","createBackIn","createAnticipate","backEasing","acos","p2","defaultEasing","offset","o","convertOffsetToTimes","_value","defaultOffset","createInterpolator","decay","timeConstant","modifyTarget","amplitude","ideal","types","loopElapsed","elapsed","framesync","passTimestamp","autoplay","driver","repeatMax","onPlay","onStop","onRepeat","driverControls","latest","interpolateFromNumber","repeatCount","computedDuration","isComplete","isForwardPlayback","animator","config","detectAnimationFromOptions","reverseElapsed","hasRepeatDelayElapsed","frameDuration","radiansToDegrees","radians","PI","identity","createAttractor","alterDisplacement","constant","displacement","springModifiedDisplacement","attract","attractExpo","degreesToRadians","isPoint","isPoint3D","distance1D","toDecimal","num","precision","smoothFrame","smoothing","a1","a2","calcBezier","getSlope","angle","atan2","applyOffset","hasReceivedFrom","mX1","mY1","mX2","mY2","sampleValues","Float32Array","getTForX","aX","intervalStart","currentSample","kSplineTableSize","guessForT","initialSlope","aGuessT","currentSlope","newtonRaphsonIterate","aA","aB","currentX","currentT","binarySubdivide","xDelta","yDelta","zDelta","bounceStiffness","bounceDamping","currentAnimation","isOutOfBounds","boundaryNearest","startSpring","boundary","heading","checkBoundary","pointFromVector","smooth","strength","previousValue","currentFramestamp","newValue","snap","points","numPoints","lastDistance","steps","direction","expanded","rounded","floor","ceil","velocityPerFrame","xps","wrap","rangeSize","extendStatics","setPrototypeOf","__proto__","__extends","TypeError","String","__","constructor","create","s","n","getOwnPropertySymbols","propertyIsEnumerable","__decorate","decorators","desc","r","getOwnPropertyDescriptor","Reflect","decorate","__param","paramIndex","decorator","__metadata","metadataKey","metadataValue","metadata","__awaiter","thisArg","_arguments","P","generator","reject","fulfilled","step","rejected","__generator","body","_","label","sent","trys","ops","verb","Symbol","iterator","op","pop","__createBinding","m","k","k2","enumerable","__exportStar","__values","ar","error","__spread","__spreadArrays","il","j","jl","pack","l","slice","__await","__asyncGenerator","asyncIterator","resume","fulfill","settle","shift","__asyncDelegator","__asyncValues","__makeTemplateObject","cooked","raw","__setModuleDefault","__importStar","mod","__esModule","__importDefault","__classPrivateFieldGet","receiver","kind","__classPrivateFieldSet","sanitize","Number","toFixed","floatRegex","colorRegex","singleColorRegex","isString","createUnitType","unit","endsWith","progressPercentage","isColorString","testProp","splitColor","aName","bName","cName","alpha$1","clampRgbUnit","rgbUnit","substr","parseInt","numColors","colors","replace","numbers","tokenised","convertNumbersToZero","transformer","maxDefaults","applyDefaultFilter","functionRegex","functions","join","getCurrentTime","performance","now","Date","onNextFrame","useDefaultElapsed","runNextFrame","isProcessing","frame","stepsOrder","toRun","toRunNextFrame","numToRun","flushNextFrame","toKeepAlive","WeakSet","schedule","keepAlive","immediate","addToCurrentFrame","buffer","cancel","process","frameData","createRenderStep","startLoop","flushSync","processStep","stepId","processFrame"],"mappings":"sGAAA,sMAOA,SAASA,EAAWC,EAAOC,EAAOC,GAG9B,OAAOA,EADMD,GADYD,EAAQE,GAOrC,SAASC,EAAgBH,EAAOI,EAAWH,EAAOC,EAAaG,GAI3D,YAHiBC,IAAbD,IACAL,EAAQD,EAAWC,EAAOK,EAAUH,IAEjCH,EAAWC,EAAOC,EAAOC,GAAeE,EAKnD,SAASG,EAAeC,EAAMJ,EAAWH,EAAOC,EAAaG,QACvC,IAAdD,IAAwBA,EAAY,QAC1B,IAAVH,IAAoBA,EAAQ,GAChCO,EAAKC,IAAMN,EAAgBK,EAAKC,IAAKL,EAAWH,EAAOC,EAAaG,G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BnG,EAAK4G,QAAQC,OAIzB,OAAO7G,EDjCI8G,CAAiB,IAAOlB,GAAe,GAC3Cj3B,GACR,IACGnJ,EAAOugC,EAAWv1B,OAAO,CAAC7B,EAAKjM,KACjC,MAAMs9B,EAAO5C,EAAM16B,GAMnB,OALAiM,EAAIjM,GAAO,CAACkkC,EAASL,GAAY,EAAOC,GAAY,KAC3CZ,GACDmB,IACG/G,EAAKsG,SAASM,EAASL,EAAWC,IAEtC73B,GACR,IACGoM,EAAagrB,EAAWv1B,OAAO,CAAC7B,EAAKjM,KACvCiM,EAAIjM,GAAO06B,EAAM16B,GAAKikC,OACfh4B,GACR,IACGq4B,EAAYjB,EAAWv1B,OAAO,CAAC7B,EAAKjM,KACtCiM,EAAIjM,GAAO,IAAM06B,EAAM16B,GAAKkkC,QAAQ,GAC7Bj4B,GACR,IACGs4B,EAAeC,GAAW9J,EAAM8J,GAAQN,QAAQ,GAChDO,EAAgB5hC,IAClBqgC,GAAe,EACf,EAAMpkC,MAAQmkC,ED1CO,EAAI,GAAM,IC4CzBre,KAAK5mB,IAAI4mB,KAAK7mB,IAAI8E,EAAY,EAAMA,UAzC3B,IAyCmD,GAClE,EAAMA,UAAYA,EAClBsgC,GAAe,EACfE,EAAW16B,QAAQ47B,GACnBpB,GAAe,EACXD,IACAD,GAAoB,EACpBD,EAAYyB,KAGdJ,EAAY,KACdnB,GAAe,EACfD,GAAoB,EACfE,GACDH,EAAYyB,IAEd7hC,EAAe,IAAM,EAEZ,a,gCE9Df,IAAI8H,EAAJ,kCACA,SAAWA,GACPA,EAAa,QAAc,UAC3BA,EAAa,MAAY,aACzBA,EAAa,IAAU,WACvBA,EAAa,KAAW,YACxBA,EAAa,MAAY,aACzBA,EAAa,OAAa,cAC1BA,EAAa,KAAW,OAP5B,CAQGA,IAAkBA,EAAgB","file":"4-36184ceefc2580f93c5a.js","sourcesContent":["import { __read } from 'tslib';\nimport { mix } from 'popmotion';\nimport { hasTransform } from '../utils/has-transform.mjs';\n\n/**\n * Scales a point based on a factor and an originPoint\n */\nfunction scalePoint(point, scale, originPoint) {\n var distanceFromOrigin = point - originPoint;\n var scaled = scale * distanceFromOrigin;\n return originPoint + scaled;\n}\n/**\n * Applies a translate/scale delta to a point\n */\nfunction applyPointDelta(point, translate, scale, originPoint, boxScale) {\n if (boxScale !== undefined) {\n point = scalePoint(point, boxScale, originPoint);\n }\n return scalePoint(point, scale, originPoint) + translate;\n}\n/**\n * Applies a translate/scale delta to an axis\n */\nfunction applyAxisDelta(axis, translate, scale, originPoint, boxScale) {\n if (translate === void 0) { translate = 0; }\n if (scale === void 0) { scale = 1; }\n axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);\n axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);\n}\n/**\n * Applies a translate/scale delta to a box\n */\nfunction applyBoxDelta(box, _a) {\n var x = _a.x, y = _a.y;\n applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);\n applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);\n}\n/**\n * Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms\n * in a tree upon our box before then calculating how to project it into our desired viewport-relative box\n *\n * This is the final nested loop within updateLayoutDelta for future refactoring\n */\nfunction applyTreeDeltas(box, treeScale, treePath, isSharedTransition) {\n var _a, _b;\n if (isSharedTransition === void 0) { isSharedTransition = false; }\n var treeLength = treePath.length;\n if (!treeLength)\n return;\n // Reset the treeScale\n treeScale.x = treeScale.y = 1;\n var node;\n var delta;\n for (var i = 0; i < treeLength; i++) {\n node = treePath[i];\n delta = node.projectionDelta;\n if (((_b = (_a = node.instance) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.display) === \"contents\")\n continue;\n if (isSharedTransition &&\n node.options.layoutScroll &&\n node.scroll &&\n node !== node.root) {\n transformBox(box, { x: -node.scroll.x, y: -node.scroll.y });\n }\n if (delta) {\n // Incoporate each ancestor's scale into a culmulative treeScale for this component\n treeScale.x *= delta.x.scale;\n treeScale.y *= delta.y.scale;\n // Apply each ancestor's calculated delta into this component's recorded layout box\n applyBoxDelta(box, delta);\n }\n if (isSharedTransition && hasTransform(node.latestValues)) {\n transformBox(box, node.latestValues);\n }\n }\n}\nfunction translateAxis(axis, distance) {\n axis.min = axis.min + distance;\n axis.max = axis.max + distance;\n}\n/**\n * Apply a transform to an axis from the latest resolved motion values.\n * This function basically acts as a bridge between a flat motion value map\n * and applyAxisDelta\n */\nfunction transformAxis(axis, transforms, _a) {\n var _b = __read(_a, 3), key = _b[0], scaleKey = _b[1], originKey = _b[2];\n var axisOrigin = transforms[originKey] !== undefined ? transforms[originKey] : 0.5;\n var originPoint = mix(axis.min, axis.max, axisOrigin);\n // Apply the axis delta to the final axis\n applyAxisDelta(axis, transforms[key], transforms[scaleKey], originPoint, transforms.scale);\n}\n/**\n * The names of the motion values we want to apply as translation, scale and origin.\n */\nvar xKeys = [\"x\", \"scaleX\", \"originX\"];\nvar yKeys = [\"y\", \"scaleY\", \"originY\"];\n/**\n * Apply a transform to a box from the latest resolved motion values.\n */\nfunction transformBox(box, transform) {\n transformAxis(box.x, transform, xKeys);\n transformAxis(box.y, transform, yKeys);\n}\n\nexport { applyAxisDelta, applyBoxDelta, applyPointDelta, applyTreeDeltas, scalePoint, transformAxis, transformBox, translateAxis };\n","import { __read, __rest } from 'tslib';\nimport * as React from 'react';\nimport { useState, useRef, useEffect } from 'react';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { loadFeatures } from '../../motion/features/definitions.mjs';\n\n/**\n * Used in conjunction with the `m` component to reduce bundle size.\n *\n * `m` is a version of the `motion` component that only loads functionality\n * critical for the initial render.\n *\n * `LazyMotion` can then be used to either synchronously or asynchronously\n * load animation and gesture support.\n *\n * ```jsx\n * // Synchronous loading\n * import { LazyMotion, m, domAnimations } from \"framer-motion\"\n *\n * function App() {\n * return (\n *