@loczer/storefront-sdk 0.216.0 → 0.218.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/dist/chunks/_virtual/_rolldown/{runtime-CkxIErRK.js → runtime-B5ovbsoX.js} +12 -5
  2. package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm-6voMhWrN.js +11 -0
  3. package/dist/chunks/node_modules/@emotion/memoize/dist/emotion-memoize.esm-CbcNHeNh.js +12 -0
  4. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild-DVb6X_PO.js +61 -0
  5. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild-DyihLa7p.js +53 -0
  6. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js +60 -0
  7. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence-Cig9mH3B.js +20 -0
  8. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/utils-MuK80fQc.js +11 -0
  9. package/dist/chunks/node_modules/framer-motion/dist/es/context/LayoutGroupContext-CppToMHP.js +6 -0
  10. package/dist/chunks/node_modules/framer-motion/dist/es/context/LazyContext-pz7xXPnk.js +6 -0
  11. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionConfigContext-CoJIbMbt.js +10 -0
  12. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/create-Bn_I3YGX.js +17 -0
  13. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/index-B9obK4sO.js +6 -0
  14. package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/utils-ByjX9df_.js +15 -0
  15. package/dist/chunks/node_modules/framer-motion/dist/es/context/PresenceContext-Cj2bJFe0.js +6 -0
  16. package/dist/chunks/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-DhUxGAwV.js +6 -0
  17. package/dist/chunks/node_modules/framer-motion/dist/es/events/add-pointer-event-CHKBre-7.js +8 -0
  18. package/dist/chunks/node_modules/framer-motion/dist/es/events/event-info-CIMY2v27.js +11 -0
  19. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls-BP560JFy.js +258 -0
  20. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/index-DH25rbJs.js +22 -0
  21. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints-uATfUwby.js +59 -0
  22. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/focus-D5PGq15I.js +27 -0
  23. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/hover-BSuPivdx.js +20 -0
  24. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/PanSession-DQk2Dv3G.js +138 -0
  25. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/index-CSmtHc88.js +42 -0
  26. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/press-jh5KkKLw.js +26 -0
  27. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/exit-C4vmhIuU.js +39 -0
  28. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/index-BxVBcgYs.js +25 -0
  29. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animations-D8nAGh1h.js +9 -0
  30. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/definitions-D5AEjfKY.js +51 -0
  31. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/drag-Ilu0wLsZ.js +15 -0
  32. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/gestures-NOCelRjM.js +13 -0
  33. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout-CiUIGE9r.js +61 -0
  34. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout-B_FwT4yv.js +9 -0
  35. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/load-features-BzH6YCRU.js +13 -0
  36. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/index-CulwEMSa.js +46 -0
  37. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/observers-x2xlB0Om.js +24 -0
  38. package/dist/chunks/node_modules/framer-motion/dist/es/motion/index-Nj9omPyM.js +70 -0
  39. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/symbol-BaRQvk9k.js +4 -0
  40. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref-B42kEDKi.js +21 -0
  41. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-element-CG31NdKM.js +58 -0
  42. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-state-C3wTD2F4.js +50 -0
  43. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/valid-prop-B-V3c3JM.js +7 -0
  44. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/create-proxy-CkstUqll.js +10 -0
  45. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle-DUpS38r2.js +13 -0
  46. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js +7 -0
  47. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/create-visual-element-Da4IYVeR.js +8 -0
  48. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/use-render-vjqx3wpA.js +21 -0
  49. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-8AWb0Fmy.js +19 -0
  50. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component-Dfh-TmXQ.js +7 -0
  51. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-html-visual-state-B0BxPJ3u.js +11 -0
  52. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-props-D5zID_2s.js +26 -0
  53. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/utils/create-render-state-dth6BoLB.js +9 -0
  54. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/lowercase-elements-C04v53NG.js +30 -0
  55. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-props-MZrwg07L.js +26 -0
  56. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state-pJSuuPIs.js +11 -0
  57. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state-b0r4UXLU.js +8 -0
  58. package/dist/chunks/node_modules/framer-motion/dist/es/utils/distance-DcZpIXTw.js +8 -0
  59. package/dist/chunks/node_modules/framer-motion/dist/es/utils/get-context-window-pYdCDRbN.js +4 -0
  60. package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-browser-DaKd-mJB.js +4 -0
  61. package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-ref-object-DfJ8Lr_g.js +6 -0
  62. package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-composed-ref-EoyZU9bo.js +25 -0
  63. package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-constant-B5X65PZe.js +9 -0
  64. package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect-D1bPqOsw.js +7 -0
  65. package/dist/chunks/node_modules/mapbox-gl/dist/{mapbox-gl-C3ih7CyM.js → mapbox-gl-C3MzR-4r.js} +1 -1
  66. package/dist/chunks/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation-CaTU1DM6.js +107 -0
  67. package/dist/chunks/node_modules/motion-dom/dist/es/animation/JSAnimation-zfqrUSXR.js +129 -0
  68. package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimation-CfiXAYmD.js +84 -0
  69. package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended-BKiHRnbh.js +28 -0
  70. package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/single-value-66TFY3Ue.js +10 -0
  71. package/dist/chunks/node_modules/motion-dom/dist/es/animation/drivers/frame-C46tnJcG.js +13 -0
  72. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/inertia-CSs70-4B.js +32 -0
  73. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/keyframes-B8KsYraP.js +22 -0
  74. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/spring-CEJsZ0ds.js +166 -0
  75. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration-N3fRuYmx.js +9 -0
  76. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing-CNVBTdyB.js +16 -0
  77. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator-CeGXg0jv.js +6 -0
  78. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/velocity-NngCxIQM.js +9 -0
  79. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/motion-value-Dpez8dQD.js +45 -0
  80. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-DZ-rOn58.js +21 -0
  81. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target-C0xS2WGG.js +57 -0
  82. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant-B35oZvml.js +26 -0
  83. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver-_h9E3nwl.js +61 -0
  84. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver-BxwoVKip.js +67 -0
  85. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/get-final-BQVKjyPS.js +8 -0
  86. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default-DW_NtU-K.js +8 -0
  87. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill-D-JxRntL.js +12 -0
  88. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time-BCh-zgvS.js +6 -0
  89. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards-Dasqyq5W.js +6 -0
  90. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none-Boi7nzNq.js +7 -0
  91. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable-DZ2uKxwT.js +18 -0
  92. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-CZVviGe6.js +36 -0
  93. package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id-DKf-WdGO.js +5 -0
  94. package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id-B3ocRUEp.js +7 -0
  95. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/WithPromise-Df7bJffn.js +22 -0
  96. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger-Zf1BbESP.js +7 -0
  97. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/can-animate-8-JdOSKl.js +18 -0
  98. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion-DbIMqS6o.js +25 -0
  99. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/default-transitions-DVnwrMKg.js +27 -0
  100. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/get-value-transition-5a_kRob8.js +8 -0
  101. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-animatable-C5hoiztj.js +5 -0
  102. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-css-variable-CyNVJBsm.js +7 -0
  103. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined-C1rwuBUy.js +19 -0
  104. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant-COWEl80Q.js +6 -0
  105. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type-BMiDtDGg.js +16 -0
  106. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/resolve-transition-BTqjVzCB.js +13 -0
  107. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier-J2lt5jeZ.js +4 -0
  108. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing-BD7Y9jJG.js +11 -0
  109. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/supported-Cz-WgHfd.js +35 -0
  110. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation-ClEsx3cW.js +19 -0
  111. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi-DOBuuHlt.js +24 -0
  112. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values-D6fGw6G9.js +10 -0
  113. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator-BP_nJDar.js +8 -0
  114. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color-DlLrfl3t.js +8 -0
  115. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/linear-CfxAW4iV.js +8 -0
  116. package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing-CXVzjJ-M.js +17 -0
  117. package/dist/chunks/node_modules/motion-dom/dist/es/events/add-dom-event-CWEtxeZQ.js +6 -0
  118. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/batcher-DfPEJ0tV.js +30 -0
  119. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/frame-CKZTADU1.js +6 -0
  120. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/microtask-C0-dBzym.js +5 -0
  121. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/order-CHyaH5qN.js +13 -0
  122. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/render-step-CdDpWyF_.js +32 -0
  123. package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/sync-time-C_QyRCNd.js +15 -0
  124. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/is-active-CVvtbTCK.js +10 -0
  125. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/set-active-CDl0txXn.js +11 -0
  126. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/hover-rZyMySKA.js +36 -0
  127. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/index-CdNLBeeX.js +36 -0
  128. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible-DVnEOolg.js +21 -0
  129. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard-OEdF2Pgl.js +28 -0
  130. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/state-Ebi7SIjG.js +4 -0
  131. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child-Bpzb9pAt.js +4 -0
  132. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer-CiELcwyf.js +4 -0
  133. package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/setup-51FdPiwb.js +16 -0
  134. package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/mix-values-CI36Bvu8.js +25 -0
  135. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/conversion-C53fTUL0.js +39 -0
  136. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/copy-DLOE8cY-.js +12 -0
  137. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-apply-D_7fQFIs.js +43 -0
  138. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-calc-CnWZkKos.js +30 -0
  139. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-remove-BVg-RIJ5.js +29 -0
  140. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/models-d7gxmOp4.js +18 -0
  141. package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/utils-DB_aXUBK.js +28 -0
  142. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode-DO5yRSLp.js +13 -0
  143. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode-DPNJVDRP.js +22 -0
  144. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/create-projection-node-23wDIc4D.js +584 -0
  145. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/state-DB-DwaXn.js +7 -0
  146. package/dist/chunks/node_modules/motion-dom/dist/es/projection/shared/stack-tv0ZE6-p.js +51 -0
  147. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius-o5vW8fHp.js +13 -0
  148. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow-BhjA57xW.js +13 -0
  149. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-correction-Dqs0DG_x.js +17 -0
  150. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/transform-NKB2cwBd.js +12 -0
  151. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth-D4ki-lbA.js +4 -0
  152. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/each-axis-Bvmvr7Z2.js +6 -0
  153. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/flat-tree-DoVrrxxY.js +19 -0
  154. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/has-transform-MC2xCktm.js +18 -0
  155. package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/measure-9EHDTj-Q.js +12 -0
  156. package/dist/chunks/node_modules/motion-dom/dist/es/render/Feature-BO-74BEK.js +9 -0
  157. package/dist/chunks/node_modules/motion-dom/dist/es/render/VisualElement-Q2WcJv6t.js +204 -0
  158. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement-C0PGIt5i.js +28 -0
  159. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/is-css-var-Dp_b3naF.js +4 -0
  160. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/parse-transform-BhriW6XO.js +56 -0
  161. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/style-set-rv8o9V7z.js +7 -0
  162. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash-DkTMivH-.js +6 -0
  163. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement-BlmAcWaG.js +39 -0
  164. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-styles-d8t31XT-.js +28 -0
  165. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-transform-ses8bYxd.js +36 -0
  166. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/render-D0WyK2kl.js +8 -0
  167. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values-Dnanh7Pq.js +11 -0
  168. package/dist/chunks/node_modules/motion-dom/dist/es/render/store-BtTKq2jY.js +4 -0
  169. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement-CQOmrr3k.js +40 -0
  170. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs-CfRsHEuP.js +22 -0
  171. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs-eLNLAV8t.js +28 -0
  172. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag-DmzYEr13.js +4 -0
  173. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/path-DrGKJJG-.js +15 -0
  174. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/render--nKPYECx.js +10 -0
  175. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values-BZpmWNaV.js +14 -0
  176. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/animation-state-DDMO-7FQ.js +135 -0
  177. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/get-variant-context-qR057mHU.js +19 -0
  178. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-animation-controls-B7ktiywN.js +6 -0
  179. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants-BTh61RuJ.js +12 -0
  180. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value-DJbn-QIQ.js +8 -0
  181. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target-BjHS8PGf.js +4 -0
  182. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-variant-label-CVoIfHaT.js +6 -0
  183. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-position-6KzA4Ufp.js +13 -0
  184. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-transform-D89O3jUI.js +22 -0
  185. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/motion-values-BofpGQv9.js +21 -0
  186. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index-CBQsVFcz.js +11 -0
  187. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state-ClY5PInV.js +4 -0
  188. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants-CctcYJsO.js +8 -0
  189. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-variants-YRQnmPS8.js +20 -0
  190. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/setters-CAm56hbR.js +20 -0
  191. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/shallow-compare-D_Ag1Ugh.js +10 -0
  192. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/variant-props-wnjnGla7.js +12 -0
  193. package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-element-C0cdHgCp.js +37 -0
  194. package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-window-CYcfJ-yc.js +22 -0
  195. package/dist/chunks/node_modules/motion-dom/dist/es/resize/index-BxIqM2kA.js +8 -0
  196. package/dist/chunks/node_modules/motion-dom/dist/es/stats/buffer-Ddx-OwOh.js +7 -0
  197. package/dist/chunks/node_modules/motion-dom/dist/es/utils/border-radius-BzX2eyPO.js +9 -0
  198. package/dist/chunks/node_modules/motion-dom/dist/es/utils/delay-CHrWJUrg.js +12 -0
  199. package/dist/chunks/node_modules/motion-dom/dist/es/utils/interpolate-CzC1L8ZO.js +33 -0
  200. package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-html-element-C0nwVk_b.js +7 -0
  201. package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-element-DBzZMKGK.js +7 -0
  202. package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-svg-element-Ckc3gGsT.js +7 -0
  203. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/color-DWwiDYZb.js +30 -0
  204. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/complex-BHS_05I4.js +52 -0
  205. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/immediate-BKaWg21K.js +6 -0
  206. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/index-BRygSkxI.js +8 -0
  207. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/number-BQSwMPU1.js +4 -0
  208. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/visibility-Cskd_oLV.js +7 -0
  209. package/dist/chunks/node_modules/motion-dom/dist/es/utils/resolve-elements-Dtu6Z_Ty.js +14 -0
  210. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/flags-BurPNJ34.js +4 -0
  211. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/linear-easing-Pzz4ZlUa.js +12 -0
  212. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/memo-DC0cOD0o.js +9 -0
  213. package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline-rru9B6Gb.js +5 -0
  214. package/dist/chunks/node_modules/motion-dom/dist/es/value/index-Bwg0vVXH.js +92 -0
  215. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/auto-koixlyde.js +7 -0
  216. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hex-D_nQPreB.js +19 -0
  217. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-UmYS8wgv.js +12 -0
  218. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba-DcyRElEM.js +21 -0
  219. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/index-N7DJKOLI.js +15 -0
  220. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/rgba-CdLIc-3D.js +15 -0
  221. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/utils-MnexfjLY.js +16 -0
  222. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/filter-ClIAXOZw.js +26 -0
  223. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/index-grhmCqMW.js +52 -0
  224. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/mask-BwJciot3.js +14 -0
  225. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/dimensions-DiF9rgiq.js +16 -0
  226. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/int-CXf2V5s3.js +8 -0
  227. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/defaults-CUGdDi7c.js +24 -0
  228. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/number-CbCxH6Jz.js +64 -0
  229. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/transform-KMLgKYda.js +32 -0
  230. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/index-DYQnrXRf.js +15 -0
  231. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/units-Cl3LhAl3.js +12 -0
  232. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/test-BkLtGGhq.js +4 -0
  233. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/animatable-none-48Tgfh--.js +12 -0
  234. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/color-regex-C3uB4EIr.js +4 -0
  235. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/find-DcyXW-Sp.js +12 -0
  236. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/float-regex-DjWNXroL.js +4 -0
  237. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/get-as-type-D-jDTeib.js +4 -0
  238. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-CqG_su_i.js +6 -0
  239. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/sanitize-CHpVppHV.js +4 -0
  240. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-B5zaDk0y.js +4 -0
  241. package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/is-motion-value-DjNWSbJA.js +4 -0
  242. package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value-B_1ESd5B.js +7 -0
  243. package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/add-will-change-DBvewpY4.js +13 -0
  244. package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/is-T16fSSX5.js +7 -0
  245. package/dist/chunks/node_modules/motion-utils/dist/es/array-BBGK1j1b.js +10 -0
  246. package/dist/chunks/node_modules/motion-utils/dist/es/clamp-B15uFKIC.js +4 -0
  247. package/dist/chunks/node_modules/motion-utils/dist/es/easing/anticipate-CGu5JxBr.js +5 -0
  248. package/dist/chunks/node_modules/motion-utils/dist/es/easing/back-Dx4ysBOm.js +7 -0
  249. package/dist/chunks/node_modules/motion-utils/dist/es/easing/circ-BQFsYAQF.js +6 -0
  250. package/dist/chunks/node_modules/motion-utils/dist/es/easing/cubic-bezier-ChP-yr8D.js +18 -0
  251. package/dist/chunks/node_modules/motion-utils/dist/es/easing/ease-aj5zpqzD.js +5 -0
  252. package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/mirror-DK1HENQt.js +4 -0
  253. package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/reverse-SiUI2DwA.js +4 -0
  254. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition-c8Afth9n.js +4 -0
  255. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-easing-array-5MLjLjPK.js +4 -0
  256. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/map-ldz_Xg06.js +31 -0
  257. package/dist/chunks/node_modules/motion-utils/dist/es/errors-zYMa5JTQ.js +10 -0
  258. package/dist/chunks/node_modules/motion-utils/dist/es/format-error-message-Dbn0S6vS.js +6 -0
  259. package/dist/chunks/node_modules/motion-utils/dist/es/global-config-BqV2nflf.js +4 -0
  260. package/dist/chunks/node_modules/motion-utils/dist/es/is-numerical-string-CiTQN66D.js +4 -0
  261. package/dist/chunks/node_modules/motion-utils/dist/es/is-object-QQQynvgM.js +4 -0
  262. package/dist/chunks/node_modules/motion-utils/dist/es/is-zero-value-string-Bss1UzBi.js +4 -0
  263. package/dist/chunks/node_modules/motion-utils/dist/es/memo-CwaXJmzB.js +8 -0
  264. package/dist/chunks/node_modules/motion-utils/dist/es/noop-DF4YCrc8.js +4 -0
  265. package/dist/chunks/node_modules/motion-utils/dist/es/pipe-BweOLNhL.js +4 -0
  266. package/dist/chunks/node_modules/motion-utils/dist/es/progress-B3YfSCwx.js +7 -0
  267. package/dist/chunks/node_modules/motion-utils/dist/es/subscription-manager-B1v5ik_R.js +26 -0
  268. package/dist/chunks/node_modules/motion-utils/dist/es/time-conversion-WGVLVIZI.js +4 -0
  269. package/dist/chunks/node_modules/motion-utils/dist/es/velocity-per-second-Hq_yU5RD.js +4 -0
  270. package/dist/chunks/node_modules/motion-utils/dist/es/warn-once-CNQIsdRh.js +8 -0
  271. package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js +71 -0
  272. package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-BhIOL2rP.js +23 -0
  273. package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-C9kJFMIu.js +69 -0
  274. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-BJHQLX8t.js → base-product-Bde9lJQD.js} +2 -1
  275. package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js +74 -0
  276. package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-CPeHsTss.js → insurance-DXc34Bzy.js} +20 -19
  277. package/dist/chunks/pkg/booking-engine/dist/schemas/product-id--yyUTH1Y.js +5 -0
  278. package/dist/chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js +15 -0
  279. package/dist/chunks/pkg/ui/dist/Map/{MapContent-TzYCv8ji.js → MapContent-BgCi-wZr.js} +2 -2
  280. package/dist/chunks/pkg/ui/dist/{Map-ZM-ZOU9P.js → Map-DCNW_9J_.js} +1 -1
  281. package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-DOH1GYVR.js → MorphingModalWizard-j1CgFGLe.js} +0 -1
  282. package/dist/components/BookingBikeQuickAddCard/index.js +37 -36
  283. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
  284. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  285. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
  286. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  287. package/dist/components/Footer/BusinessHours.d.ts +2 -9
  288. package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
  289. package/dist/components/Footer/BusinessHours.js +48 -91
  290. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts +11 -0
  291. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts.map +1 -0
  292. package/dist/components/Footer/BusinessHoursOverviewDialog.js +161 -0
  293. package/dist/components/Footer/businessHoursUtils.d.ts +37 -1
  294. package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -1
  295. package/dist/components/Footer/businessHoursUtils.js +112 -15
  296. package/dist/components/Footer/index.d.ts.map +1 -1
  297. package/dist/components/Footer/index.js +78 -94
  298. package/dist/components/Map/index.js +1 -1
  299. package/dist/i18n/en.d.ts +5 -0
  300. package/dist/i18n/en.d.ts.map +1 -1
  301. package/dist/i18n/en.js +5 -0
  302. package/dist/i18n/fr.d.ts +5 -0
  303. package/dist/i18n/fr.d.ts.map +1 -1
  304. package/dist/i18n/fr.js +5 -0
  305. package/dist/index.d.ts +13 -0
  306. package/dist/index.js +80 -79
  307. package/dist/lib/booking-period.js +1 -1
  308. package/dist/lib/booking.js +2 -2
  309. package/dist/lib/checkoutSubmit.js +3 -3
  310. package/dist/pages/HomePage.d.ts.map +1 -1
  311. package/dist/pages/HomePage.js +250 -205
  312. package/dist/storefront.css +1 -1
  313. package/dist/storefrontSchemas.js +1 -1
  314. package/package.json +1 -2
  315. package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js +0 -70
  316. package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js +0 -22
  317. package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js +0 -68
  318. package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js +0 -72
  319. package/dist/chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js +0 -14
@@ -0,0 +1,584 @@
1
+ import { clamp as e } from "../../../../../motion-utils/dist/es/clamp-B15uFKIC.js";
2
+ import { noop as t } from "../../../../../motion-utils/dist/es/noop-DF4YCrc8.js";
3
+ import { SubscriptionManager as n } from "../../../../../motion-utils/dist/es/subscription-manager-B1v5ik_R.js";
4
+ import { cancelFrame as r, frame as i, frameData as a, frameSteps as o } from "../../frameloop/frame-CKZTADU1.js";
5
+ import { time as s } from "../../frameloop/sync-time-C_QyRCNd.js";
6
+ import { mixNumber as c } from "../../utils/mix/number-BQSwMPU1.js";
7
+ import { motionValue as l } from "../../value/index-Bwg0vVXH.js";
8
+ import { getValueTransition as u } from "../../animation/utils/get-value-transition-5a_kRob8.js";
9
+ import { getOptimisedAppearId as d } from "../../animation/optimized-appear/get-appear-id-B3ocRUEp.js";
10
+ import { microtask as f } from "../../frameloop/microtask-C0-dBzym.js";
11
+ import { isSVGElement as p } from "../../utils/is-svg-element-DBzZMKGK.js";
12
+ import { statsBuffer as m } from "../../stats/buffer-Ddx-OwOh.js";
13
+ import { isSVGSVGElement as ee } from "../../utils/is-svg-svg-element-Ckc3gGsT.js";
14
+ import { createBox as h, createDelta as g } from "../geometry/models-d7gxmOp4.js";
15
+ import { has2DTranslate as te, hasScale as _, hasTransform as v } from "../utils/has-transform-MC2xCktm.js";
16
+ import { applyBoxDelta as ne, applyTreeDeltas as re, transformBox as y, translateAxis as b } from "../geometry/delta-apply-D_7fQFIs.js";
17
+ import { scaleCorrectors as x } from "../styles/scale-correction-Dqs0DG_x.js";
18
+ import { copyAxisDeltaInto as S, copyAxisInto as C, copyBoxInto as w } from "../geometry/copy-DLOE8cY-.js";
19
+ import { calcBoxDelta as T, calcLength as E, calcRelativeBox as ie, calcRelativePosition as D, isNear as O } from "../geometry/delta-calc-CnWZkKos.js";
20
+ import { removeBoxTransforms as k } from "../geometry/delta-remove-BVg-RIJ5.js";
21
+ import { aspectRatio as A, axisDeltaEquals as j, boxEquals as ae, boxEqualsRounded as M, isDeltaZero as N } from "../geometry/utils-DB_aXUBK.js";
22
+ import { eachAxis as P } from "../utils/each-axis-Bvmvr7Z2.js";
23
+ import { buildProjectionTransform as oe } from "../styles/transform-NKB2cwBd.js";
24
+ import { mixValues as se } from "../animation/mix-values-CI36Bvu8.js";
25
+ import { animateSingleValue as ce } from "../../animation/animate/single-value-66TFY3Ue.js";
26
+ import { FlatTree as le } from "../utils/flat-tree-DoVrrxxY.js";
27
+ import { delay as ue } from "../../utils/delay-CHrWJUrg.js";
28
+ import { resolveMotionValue as F } from "../../value/utils/resolve-motion-value-B_1ESd5B.js";
29
+ import { NodeStack as de } from "../shared/stack-tv0ZE6-p.js";
30
+ import { globalProjectionState as I } from "./state-DB-DwaXn.js";
31
+ //#region ../../node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs
32
+ var L = {
33
+ nodes: 0,
34
+ calculatedTargetDeltas: 0,
35
+ calculatedProjections: 0
36
+ }, R = [
37
+ "",
38
+ "X",
39
+ "Y",
40
+ "Z"
41
+ ], fe = 1e3, pe = 0;
42
+ function z(e, t, n, r) {
43
+ let { latestValues: i } = t;
44
+ i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
45
+ }
46
+ function B(e) {
47
+ if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
48
+ let { visualElement: t } = e.options;
49
+ if (!t) return;
50
+ let n = d(t);
51
+ if (window.MotionHasOptimisedAnimation(n, "transform")) {
52
+ let { layout: t, layoutId: r } = e.options;
53
+ window.MotionCancelOptimisedAnimation(n, "transform", i, !(t || r));
54
+ }
55
+ let { parent: r } = e;
56
+ r && !r.hasCheckedOptimisedAppear && B(r);
57
+ }
58
+ function me({ attachResizeListener: t, defaultParent: d, measureScroll: C, checkIsScrollRoot: O, resetTransform: A }) {
59
+ return class {
60
+ constructor(e = {}, t = d?.()) {
61
+ this.id = pe++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
62
+ x: 1,
63
+ y: 1
64
+ }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
65
+ this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
66
+ }, this.updateProjection = () => {
67
+ this.projectionUpdateScheduled = !1, m.value && (L.nodes = L.calculatedTargetDeltas = L.calculatedProjections = 0), this.nodes.forEach(V), this.nodes.forEach(xe), this.nodes.forEach(Se), this.nodes.forEach(H), m.addProjectionMetrics && m.addProjectionMetrics(L);
68
+ }, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = t ? t.root || t : this, this.path = t ? [...t.path, t] : [], this.parent = t, this.depth = t ? t.depth + 1 : 0;
69
+ for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
70
+ this.root === this && (this.nodes = new le());
71
+ }
72
+ addEventListener(e, t) {
73
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new n()), this.eventHandlers.get(e).add(t);
74
+ }
75
+ notifyListeners(e, ...t) {
76
+ let n = this.eventHandlers.get(e);
77
+ n && n.notify(...t);
78
+ }
79
+ hasListeners(e) {
80
+ return this.eventHandlers.has(e);
81
+ }
82
+ mount(e) {
83
+ if (this.instance) return;
84
+ this.isSVG = p(e) && !ee(e), this.instance = e;
85
+ let { layoutId: n, layout: r, visualElement: a } = this.options;
86
+ if (a && !a.current && a.mount(e), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), t) {
87
+ let n, r = 0, a = () => this.root.updateBlockedByResize = !1;
88
+ i.read(() => {
89
+ r = window.innerWidth;
90
+ }), t(e, () => {
91
+ let e = window.innerWidth;
92
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ue(a, 250), I.hasAnimatedSinceResize && (I.hasAnimatedSinceResize = !1, this.nodes.forEach(G)));
93
+ });
94
+ }
95
+ n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && a && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
96
+ if (this.isTreeAnimationBlocked()) {
97
+ this.target = void 0, this.relativeTarget = void 0;
98
+ return;
99
+ }
100
+ let i = this.options.transition || a.getDefaultTransition() || Te, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = a.getProps(), c = !this.targetLayout || !M(this.targetLayout, r), l = !t && n;
101
+ if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
102
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
103
+ let t = {
104
+ ...u(i, "layout"),
105
+ onPlay: o,
106
+ onComplete: s
107
+ };
108
+ (a.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
109
+ } else t || G(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
110
+ this.targetLayout = r;
111
+ });
112
+ }
113
+ unmount() {
114
+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
115
+ let e = this.getStack();
116
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), r(this.updateProjection);
117
+ }
118
+ blockUpdate() {
119
+ this.updateManuallyBlocked = !0;
120
+ }
121
+ unblockUpdate() {
122
+ this.updateManuallyBlocked = !1;
123
+ }
124
+ isUpdateBlocked() {
125
+ return this.updateManuallyBlocked || this.updateBlockedByResize;
126
+ }
127
+ isTreeAnimationBlocked() {
128
+ return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
129
+ }
130
+ startUpdate() {
131
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Ce), this.animationId++);
132
+ }
133
+ getTransformTemplate() {
134
+ let { visualElement: e } = this.options;
135
+ return e && e.getProps().transformTemplate;
136
+ }
137
+ willUpdate(e = !0) {
138
+ if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {
139
+ this.options.onExitComplete && this.options.onExitComplete();
140
+ return;
141
+ }
142
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && B(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
143
+ this.isLayoutDirty = !0;
144
+ for (let e = 0; e < this.path.length; e++) {
145
+ let t = this.path[e];
146
+ t.shouldResetTransform = !0, (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1);
147
+ }
148
+ let { layoutId: t, layout: n } = this.options;
149
+ if (t === void 0 && !n) return;
150
+ let r = this.getTransformTemplate();
151
+ this.prevTransformTemplateValue = r ? r(this.latestValues, "") : void 0, this.updateSnapshot(), e && this.notifyListeners("willUpdate");
152
+ }
153
+ update() {
154
+ if (this.updateScheduled = !1, this.isUpdateBlocked()) {
155
+ let e = this.updateBlockedByResize;
156
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(ve), this.nodes.forEach(U);
157
+ return;
158
+ }
159
+ if (this.animationId <= this.animationCommitId) {
160
+ this.nodes.forEach(W);
161
+ return;
162
+ }
163
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ye), this.nodes.forEach(be), this.nodes.forEach(he), this.nodes.forEach(ge)) : this.nodes.forEach(W), this.clearAllSnapshots();
164
+ let t = s.now();
165
+ a.delta = e(0, 1e3 / 60, t - a.timestamp), a.timestamp = t, a.isProcessing = !0, o.update.process(a), o.preRender.process(a), o.render.process(a), a.isProcessing = !1;
166
+ }
167
+ didUpdate() {
168
+ this.updateScheduled || (this.updateScheduled = !0, f.read(this.scheduleUpdate));
169
+ }
170
+ clearAllSnapshots() {
171
+ this.nodes.forEach(_e), this.sharedNodes.forEach(we);
172
+ }
173
+ scheduleUpdateProjection() {
174
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, i.preRender(this.updateProjection, !1, !0));
175
+ }
176
+ scheduleCheckAfterUnmount() {
177
+ i.postRender(() => {
178
+ this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
179
+ });
180
+ }
181
+ updateSnapshot() {
182
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !E(this.snapshot.measuredBox.x) && !E(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
183
+ }
184
+ updateLayout() {
185
+ if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
186
+ if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
187
+ let e = this.layout;
188
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= h(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
189
+ let { visualElement: t } = this.options;
190
+ t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
191
+ }
192
+ updateScroll(e = "measure") {
193
+ let t = !!(this.options.layoutScroll && this.instance);
194
+ if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === e && (t = !1), t && this.instance) {
195
+ let t = O(this.instance);
196
+ this.scroll = {
197
+ animationId: this.root.animationId,
198
+ phase: e,
199
+ isRoot: t,
200
+ offset: C(this.instance),
201
+ wasRoot: this.scroll ? this.scroll.isRoot : t
202
+ };
203
+ }
204
+ }
205
+ resetTransform() {
206
+ if (!A) return;
207
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !N(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, i = r !== this.prevTransformTemplateValue;
208
+ e && this.instance && (t || v(this.latestValues) || i) && (A(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
209
+ }
210
+ measure(e = !0) {
211
+ let t = this.measurePageBox(), n = this.removeElementScroll(t);
212
+ return e && (n = this.removeTransform(n)), Ee(n), {
213
+ animationId: this.root.animationId,
214
+ measuredBox: t,
215
+ layoutBox: n,
216
+ latestValues: {},
217
+ source: this.id
218
+ };
219
+ }
220
+ measurePageBox() {
221
+ let { visualElement: e } = this.options;
222
+ if (!e) return h();
223
+ let t = e.measureViewportBox();
224
+ if (!(this.scroll?.wasRoot || this.path.some(De))) {
225
+ let { scroll: e } = this.root;
226
+ e && (b(t.x, e.offset.x), b(t.y, e.offset.y));
227
+ }
228
+ return t;
229
+ }
230
+ removeElementScroll(e) {
231
+ let t = h();
232
+ if (w(t, e), this.scroll?.wasRoot) return t;
233
+ for (let n = 0; n < this.path.length; n++) {
234
+ let r = this.path[n], { scroll: i, options: a } = r;
235
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && w(t, e), b(t.x, i.offset.x), b(t.y, i.offset.y));
236
+ }
237
+ return t;
238
+ }
239
+ applyTransform(e, t = !1, n) {
240
+ let r = n || h();
241
+ w(r, e);
242
+ for (let e = 0; e < this.path.length; e++) {
243
+ let n = this.path[e];
244
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (b(r.x, -n.scroll.offset.x), b(r.y, -n.scroll.offset.y)), v(n.latestValues) && y(r, n.latestValues, n.layout?.layoutBox);
245
+ }
246
+ return v(this.latestValues) && y(r, this.latestValues, this.layout?.layoutBox), r;
247
+ }
248
+ removeTransform(e) {
249
+ let t = h();
250
+ w(t, e);
251
+ for (let e = 0; e < this.path.length; e++) {
252
+ let n = this.path[e];
253
+ if (!v(n.latestValues)) continue;
254
+ let r;
255
+ n.instance && (_(n.latestValues) && n.updateSnapshot(), r = h(), w(r, n.measurePageBox())), k(t, n.latestValues, n.snapshot?.layoutBox, r);
256
+ }
257
+ return v(this.latestValues) && k(t, this.latestValues), t;
258
+ }
259
+ setTargetDelta(e) {
260
+ this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
261
+ }
262
+ setOptions(e) {
263
+ this.options = {
264
+ ...this.options,
265
+ ...e,
266
+ crossfade: e.crossfade === void 0 || e.crossfade
267
+ };
268
+ }
269
+ clearMeasurements() {
270
+ this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
271
+ }
272
+ forceRelativeParentToResolveTarget() {
273
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== a.timestamp && this.relativeParent.resolveTargetDelta(!0);
274
+ }
275
+ resolveTargetDelta(e = !1) {
276
+ let t = this.getLead();
277
+ this.isProjectionDirty ||= t.isProjectionDirty, this.isTransformDirty ||= t.isTransformDirty, this.isSharedProjectionDirty ||= t.isSharedProjectionDirty;
278
+ let n = !!this.resumingFrom || this !== t;
279
+ if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
280
+ let { layout: r, layoutId: i } = this.options;
281
+ if (!this.layout || !(r || i)) return;
282
+ this.resolvedRelativeTargetAt = a.timestamp;
283
+ let o = this.getClosestProjectingParent();
284
+ o && this.linkedParentVersion !== o.layoutVersion && !o.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && o && o.layout ? this.createRelativeTarget(o, this.layout.layoutBox, o.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = h(), this.targetWithTransforms = h()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), ie(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : w(this.target, this.layout.layoutBox), ne(this.target, this.targetDelta)) : w(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && o && !!o.resumingFrom == !!this.resumingFrom && !o.options.layoutScroll && o.target && this.animationProgress !== 1 ? this.createRelativeTarget(o, this.target, o.target) : this.relativeParent = this.relativeTarget = void 0), m.value && L.calculatedTargetDeltas++);
285
+ }
286
+ getClosestProjectingParent() {
287
+ if (!(!this.parent || _(this.parent.latestValues) || te(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
288
+ }
289
+ isProjecting() {
290
+ return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
291
+ }
292
+ createRelativeTarget(e, t, n) {
293
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = h(), this.relativeTargetOrigin = h(), D(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), w(this.relativeTarget, this.relativeTargetOrigin);
294
+ }
295
+ removeRelativeTarget() {
296
+ this.relativeParent = this.relativeTarget = void 0;
297
+ }
298
+ calcProjection() {
299
+ let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
300
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === a.timestamp && (n = !1), n) return;
301
+ let { layout: r, layoutId: i } = this.options;
302
+ if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
303
+ w(this.layoutCorrected, this.layout.layoutBox);
304
+ let o = this.treeScale.x, s = this.treeScale.y;
305
+ re(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = h());
306
+ let { target: c } = e;
307
+ if (!c) {
308
+ this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
309
+ return;
310
+ }
311
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (S(this.prevProjectionDelta.x, this.projectionDelta.x), S(this.prevProjectionDelta.y, this.projectionDelta.y)), T(this.projectionDelta, this.layoutCorrected, c, this.latestValues), (this.treeScale.x !== o || this.treeScale.y !== s || !j(this.projectionDelta.x, this.prevProjectionDelta.x) || !j(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c)), m.value && L.calculatedProjections++;
312
+ }
313
+ hide() {
314
+ this.isVisible = !1;
315
+ }
316
+ show() {
317
+ this.isVisible = !0;
318
+ }
319
+ scheduleRender(e = !0) {
320
+ if (this.options.visualElement?.scheduleRender(), e) {
321
+ let e = this.getStack();
322
+ e && e.scheduleRender();
323
+ }
324
+ this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
325
+ }
326
+ createProjectionDeltas() {
327
+ this.prevProjectionDelta = g(), this.projectionDelta = g(), this.projectionDeltaWithTransform = g();
328
+ }
329
+ setAnimationOrigin(e, t = !1, n) {
330
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = g();
331
+ (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
332
+ let s = h(), l = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), u = this.getStack(), d = !u || u.members.length <= 1, f = !!(l && !d && this.options.crossfade === !0 && !this.path.some(Y));
333
+ this.animationProgress = 0;
334
+ let p, m = n?.interpolateProjection(e);
335
+ this.mixTargetDelta = (t) => {
336
+ let n = t / 1e3, r = m?.(n);
337
+ r ? (o.x.translate = r.x, o.x.scale = c(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = c(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (K(o.x, e.x, n), K(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (D(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), J(this.relativeTarget, this.relativeTargetOrigin, s, n), p && ae(this.relativeTarget, p) && (this.isProjectionDirty = !1), p ||= h(), w(p, this.relativeTarget)), l && (this.animationValues = a, se(a, i, this.latestValues, n, f, d)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
338
+ }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
339
+ }
340
+ startAnimation(e) {
341
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (r(this.pendingAnimation), void 0), this.pendingAnimation = i.update(() => {
342
+ I.hasAnimatedSinceResize = !0, this.motionValue ||= l(0), this.motionValue.jump(0, !1), this.currentAnimation = ce(this.motionValue, [0, 1e3], {
343
+ ...e,
344
+ velocity: 0,
345
+ isSync: !0,
346
+ onUpdate: (t) => {
347
+ this.mixTargetDelta(t), e.onUpdate && e.onUpdate(t);
348
+ },
349
+ onComplete: () => {
350
+ e.onComplete && e.onComplete(), this.completeAnimation();
351
+ }
352
+ }), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
353
+ });
354
+ }
355
+ completeAnimation() {
356
+ this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);
357
+ let e = this.getStack();
358
+ e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
359
+ }
360
+ finishAnimation() {
361
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(fe), this.currentAnimation.stop()), this.completeAnimation();
362
+ }
363
+ applyTransformsToTarget() {
364
+ let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
365
+ if (!(!t || !n || !r)) {
366
+ if (this !== e && this.layout && r && $(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
367
+ n = this.target || h();
368
+ let t = E(this.layout.layoutBox.x);
369
+ n.x.min = e.target.x.min, n.x.max = n.x.min + t;
370
+ let r = E(this.layout.layoutBox.y);
371
+ n.y.min = e.target.y.min, n.y.max = n.y.min + r;
372
+ }
373
+ w(t, n), y(t, i), T(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
374
+ }
375
+ }
376
+ registerSharedNode(e, t) {
377
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new de()), this.sharedNodes.get(e).add(t);
378
+ let n = t.options.initialPromotionConfig;
379
+ t.promote({
380
+ transition: n ? n.transition : void 0,
381
+ preserveFollowOpacity: n && n.shouldPreserveFollowOpacity ? n.shouldPreserveFollowOpacity(t) : void 0
382
+ });
383
+ }
384
+ isLead() {
385
+ let e = this.getStack();
386
+ return !e || e.lead === this;
387
+ }
388
+ getLead() {
389
+ let { layoutId: e } = this.options;
390
+ return e && this.getStack()?.lead || this;
391
+ }
392
+ getPrevLead() {
393
+ let { layoutId: e } = this.options;
394
+ return e ? this.getStack()?.prevLead : void 0;
395
+ }
396
+ getStack() {
397
+ let { layoutId: e } = this.options;
398
+ if (e) return this.root.sharedNodes.get(e);
399
+ }
400
+ promote({ needsReset: e, transition: t, preserveFollowOpacity: n } = {}) {
401
+ let r = this.getStack();
402
+ r && r.promote(this, n), e && (this.projectionDelta = void 0, this.needsReset = !0), t && this.setOptions({ transition: t });
403
+ }
404
+ relegate() {
405
+ let e = this.getStack();
406
+ return e ? e.relegate(this) : !1;
407
+ }
408
+ resetSkewAndRotation() {
409
+ let { visualElement: e } = this.options;
410
+ if (!e) return;
411
+ let t = !1, { latestValues: n } = e;
412
+ if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
413
+ let r = {};
414
+ n.z && z("z", e, r, this.animationValues);
415
+ for (let t = 0; t < R.length; t++) z(`rotate${R[t]}`, e, r, this.animationValues), z(`skew${R[t]}`, e, r, this.animationValues);
416
+ e.render();
417
+ for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
418
+ e.scheduleRender();
419
+ }
420
+ applyProjectionStyles(e, t) {
421
+ if (!this.instance || this.isSVG) return;
422
+ if (!this.isVisible) {
423
+ e.visibility = "hidden";
424
+ return;
425
+ }
426
+ let n = this.getTransformTemplate();
427
+ if (this.needsReset) {
428
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = F(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
429
+ return;
430
+ }
431
+ let r = this.getLead();
432
+ if (!this.projectionDelta || !this.layout || !r.target) {
433
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = F(t?.pointerEvents) || ""), this.hasProjected && !v(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
434
+ return;
435
+ }
436
+ e.visibility = "";
437
+ let i = r.animationValues || r.latestValues;
438
+ this.applyTransformsToTarget();
439
+ let a = oe(this.projectionDeltaWithTransform, this.treeScale, i);
440
+ n && (a = n(i, a)), e.transform = a;
441
+ let { x: o, y: s } = this.projectionDelta;
442
+ e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, r.animationValues ? e.opacity = r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : e.opacity = r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
443
+ for (let t in x) {
444
+ if (i[t] === void 0) continue;
445
+ let { correct: n, applyTo: o, isCSSVariable: s } = x[t], c = a === "none" ? i[t] : n(i[t], r);
446
+ if (o) {
447
+ let t = o.length;
448
+ for (let n = 0; n < t; n++) e[o[n]] = c;
449
+ } else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
450
+ }
451
+ this.options.layoutId && (e.pointerEvents = r === this ? F(t?.pointerEvents) || "" : "none");
452
+ }
453
+ clearSnapshot() {
454
+ this.resumeFrom = this.snapshot = void 0;
455
+ }
456
+ resetTree() {
457
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(U), this.root.sharedNodes.clear();
458
+ }
459
+ };
460
+ }
461
+ function he(e) {
462
+ e.updateLayout();
463
+ }
464
+ function ge(e) {
465
+ let t = e.resumeFrom?.snapshot || e.snapshot;
466
+ if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
467
+ let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
468
+ if (i === "size") P((e) => {
469
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = E(r);
470
+ r.min = n[e].min, r.max = r.min + i;
471
+ });
472
+ else if (i === "x" || i === "y") {
473
+ let e = i === "x" ? "y" : "x";
474
+ C(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
475
+ } else $(i, t.layoutBox, n) && P((r) => {
476
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = E(n[r]);
477
+ i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
478
+ });
479
+ let o = g();
480
+ T(o, n, t.layoutBox);
481
+ let s = g();
482
+ a ? T(s, e.applyTransform(r, !0), t.measuredBox) : T(s, n, t.layoutBox);
483
+ let c = !N(o), l = !1;
484
+ if (!e.resumeFrom) {
485
+ let r = e.getClosestProjectingParent();
486
+ if (r && !r.resumeFrom) {
487
+ let { snapshot: i, layout: a } = r;
488
+ if (i && a) {
489
+ let o = e.options.layoutAnchor || void 0, s = h();
490
+ D(s, t.layoutBox, i.layoutBox, o);
491
+ let c = h();
492
+ D(c, n, a.layoutBox, o), M(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
493
+ }
494
+ }
495
+ }
496
+ e.notifyListeners("didUpdate", {
497
+ layout: n,
498
+ snapshot: t,
499
+ delta: s,
500
+ layoutDelta: o,
501
+ hasLayoutChanged: c,
502
+ hasRelativeLayoutChanged: l
503
+ });
504
+ } else if (e.isLead()) {
505
+ let { onExitComplete: t } = e.options;
506
+ t && t();
507
+ }
508
+ e.options.transition = void 0;
509
+ }
510
+ function V(e) {
511
+ m.value && L.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
512
+ }
513
+ function H(e) {
514
+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
515
+ }
516
+ function _e(e) {
517
+ e.clearSnapshot();
518
+ }
519
+ function U(e) {
520
+ e.clearMeasurements();
521
+ }
522
+ function ve(e) {
523
+ e.isLayoutDirty = !0, e.updateLayout();
524
+ }
525
+ function W(e) {
526
+ e.isLayoutDirty = !1;
527
+ }
528
+ function ye(e) {
529
+ e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
530
+ }
531
+ function be(e) {
532
+ let { visualElement: t } = e.options;
533
+ t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
534
+ }
535
+ function G(e) {
536
+ e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
537
+ }
538
+ function xe(e) {
539
+ e.resolveTargetDelta();
540
+ }
541
+ function Se(e) {
542
+ e.calcProjection();
543
+ }
544
+ function Ce(e) {
545
+ e.resetSkewAndRotation();
546
+ }
547
+ function we(e) {
548
+ e.removeLeadSnapshot();
549
+ }
550
+ function K(e, t, n) {
551
+ e.translate = c(t.translate, 0, n), e.scale = c(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
552
+ }
553
+ function q(e, t, n, r) {
554
+ e.min = c(t.min, n.min, r), e.max = c(t.max, n.max, r);
555
+ }
556
+ function J(e, t, n, r) {
557
+ q(e.x, t.x, n.x, r), q(e.y, t.y, n.y, r);
558
+ }
559
+ function Y(e) {
560
+ return e.animationValues && e.animationValues.opacityExit !== void 0;
561
+ }
562
+ var Te = {
563
+ duration: .45,
564
+ ease: [
565
+ .4,
566
+ 0,
567
+ .1,
568
+ 1
569
+ ]
570
+ }, X = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Z = X("applewebkit/") && !X("chrome/") ? Math.round : t;
571
+ function Q(e) {
572
+ e.min = Z(e.min), e.max = Z(e.max);
573
+ }
574
+ function Ee(e) {
575
+ Q(e.x), Q(e.y);
576
+ }
577
+ function $(e, t, n) {
578
+ return e === "position" || e === "preserve-aspect" && !O(A(t), A(n), .2);
579
+ }
580
+ function De(e) {
581
+ return e !== e.root && e.scroll?.wasRoot;
582
+ }
583
+ //#endregion
584
+ export { H as cleanDirtyNodes, me as createProjectionNode, q as mixAxis, J as mixBox, V as propagateDirtyNodes };
@@ -0,0 +1,7 @@
1
+ //#region ../../node_modules/motion-dom/dist/es/projection/node/state.mjs
2
+ var e = {
3
+ hasAnimatedSinceResize: !0,
4
+ hasEverUpdated: !1
5
+ };
6
+ //#endregion
7
+ export { e as globalProjectionState };
@@ -0,0 +1,51 @@
1
+ import { addUniqueItem as e, removeItem as t } from "../../../../../motion-utils/dist/es/array-BBGK1j1b.js";
2
+ //#region ../../node_modules/motion-dom/dist/es/projection/shared/stack.mjs
3
+ var n = class {
4
+ constructor() {
5
+ this.members = [];
6
+ }
7
+ add(n) {
8
+ e(this.members, n);
9
+ for (let e = this.members.length - 1; e >= 0; e--) {
10
+ let r = this.members[e];
11
+ if (r === n || r === this.lead || r === this.prevLead) continue;
12
+ let i = r.instance;
13
+ (!i || i.isConnected === !1) && !r.snapshot && (t(this.members, r), r.unmount());
14
+ }
15
+ n.scheduleRender();
16
+ }
17
+ remove(e) {
18
+ if (t(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
19
+ let e = this.members[this.members.length - 1];
20
+ e && this.promote(e);
21
+ }
22
+ }
23
+ relegate(e) {
24
+ for (let t = this.members.indexOf(e) - 1; t >= 0; t--) {
25
+ let e = this.members[t];
26
+ if (e.isPresent !== !1 && e.instance?.isConnected !== !1) return this.promote(e), !0;
27
+ }
28
+ return !1;
29
+ }
30
+ promote(e, t) {
31
+ let n = this.lead;
32
+ if (e !== n && (this.prevLead = n, this.lead = e, e.show(), n)) {
33
+ n.updateSnapshot(), e.scheduleRender();
34
+ let { layoutDependency: r } = n.options, { layoutDependency: i } = e.options;
35
+ (r === void 0 || r !== i) && (e.resumeFrom = n, t && (n.preserveOpacity = !0), n.snapshot && (e.snapshot = n.snapshot, e.snapshot.latestValues = n.animationValues || n.latestValues), e.root?.isUpdating && (e.isLayoutDirty = !0)), e.options.crossfade === !1 && n.hide();
36
+ }
37
+ }
38
+ exitAnimationComplete() {
39
+ this.members.forEach((e) => {
40
+ e.options.onExitComplete?.(), e.resumingFrom?.options.onExitComplete?.();
41
+ });
42
+ }
43
+ scheduleRender() {
44
+ this.members.forEach((e) => e.instance && e.scheduleRender(!1));
45
+ }
46
+ removeLeadSnapshot() {
47
+ this.lead?.snapshot && (this.lead.snapshot = void 0);
48
+ }
49
+ };
50
+ //#endregion
51
+ export { n as NodeStack };
@@ -0,0 +1,13 @@
1
+ import { px as e } from "../../value/types/numbers/units-Cl3LhAl3.js";
2
+ //#region ../../node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
3
+ function t(e, t) {
4
+ return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
5
+ }
6
+ var n = { correct: (n, r) => {
7
+ if (!r.target) return n;
8
+ if (typeof n == "string") if (e.test(n)) n = parseFloat(n);
9
+ else return n;
10
+ return `${t(n, r.target.x)}% ${t(n, r.target.y)}%`;
11
+ } };
12
+ //#endregion
13
+ export { n as correctBorderRadius, t as pixelsToPercent };
@@ -0,0 +1,13 @@
1
+ import { complex as e } from "../../value/types/complex/index-grhmCqMW.js";
2
+ import { mixNumber as t } from "../../utils/mix/number-BQSwMPU1.js";
3
+ //#region ../../node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs
4
+ var n = { correct: (n, { treeScale: r, projectionDelta: i }) => {
5
+ let a = n, o = e.parse(n);
6
+ if (o.length > 5) return a;
7
+ let s = e.createTransformer(n), c = typeof o[0] == "number" ? 0 : 1, l = i.x.scale * r.x, u = i.y.scale * r.y;
8
+ o[0 + c] /= l, o[1 + c] /= u;
9
+ let d = t(l, u, .5);
10
+ return typeof o[2 + c] == "number" && (o[2 + c] /= d), typeof o[3 + c] == "number" && (o[3 + c] /= d), s(o);
11
+ } };
12
+ //#endregion
13
+ export { n as correctBoxShadow };