@loczer/storefront-sdk 0.217.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.
- package/dist/chunks/_virtual/_rolldown/{runtime-CkxIErRK.js → runtime-B5ovbsoX.js} +12 -5
- package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm-6voMhWrN.js +11 -0
- package/dist/chunks/node_modules/@emotion/memoize/dist/emotion-memoize.esm-CbcNHeNh.js +12 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild-DVb6X_PO.js +61 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild-DyihLa7p.js +53 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js +60 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence-Cig9mH3B.js +20 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/utils-MuK80fQc.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/LayoutGroupContext-CppToMHP.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/LazyContext-pz7xXPnk.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionConfigContext-CoJIbMbt.js +10 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/create-Bn_I3YGX.js +17 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/index-B9obK4sO.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/utils-ByjX9df_.js +15 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/PresenceContext-Cj2bJFe0.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-DhUxGAwV.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/events/add-pointer-event-CHKBre-7.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/events/event-info-CIMY2v27.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls-BP560JFy.js +258 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/index-DH25rbJs.js +22 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints-uATfUwby.js +59 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/focus-D5PGq15I.js +27 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/hover-BSuPivdx.js +20 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/PanSession-DQk2Dv3G.js +138 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/index-CSmtHc88.js +42 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/press-jh5KkKLw.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/exit-C4vmhIuU.js +39 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/index-BxVBcgYs.js +25 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animations-D8nAGh1h.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/definitions-D5AEjfKY.js +51 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/drag-Ilu0wLsZ.js +15 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/gestures-NOCelRjM.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout-CiUIGE9r.js +61 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout-B_FwT4yv.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/load-features-BzH6YCRU.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/index-CulwEMSa.js +46 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/observers-x2xlB0Om.js +24 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/index-Nj9omPyM.js +70 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/symbol-BaRQvk9k.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref-B42kEDKi.js +21 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-element-CG31NdKM.js +58 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-state-C3wTD2F4.js +50 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/valid-prop-B-V3c3JM.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/create-proxy-CkstUqll.js +10 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle-DUpS38r2.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/create-visual-element-Da4IYVeR.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/use-render-vjqx3wpA.js +21 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-8AWb0Fmy.js +19 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component-Dfh-TmXQ.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-html-visual-state-B0BxPJ3u.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-props-D5zID_2s.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/utils/create-render-state-dth6BoLB.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/lowercase-elements-C04v53NG.js +30 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-props-MZrwg07L.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state-pJSuuPIs.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state-b0r4UXLU.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/distance-DcZpIXTw.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/get-context-window-pYdCDRbN.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-browser-DaKd-mJB.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-ref-object-DfJ8Lr_g.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-composed-ref-EoyZU9bo.js +25 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-constant-B5X65PZe.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect-D1bPqOsw.js +7 -0
- package/dist/chunks/node_modules/mapbox-gl/dist/{mapbox-gl-C3ih7CyM.js → mapbox-gl-C3MzR-4r.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation-CaTU1DM6.js +107 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/JSAnimation-zfqrUSXR.js +129 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimation-CfiXAYmD.js +84 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended-BKiHRnbh.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/single-value-66TFY3Ue.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/drivers/frame-C46tnJcG.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/inertia-CSs70-4B.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/keyframes-B8KsYraP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/spring-CEJsZ0ds.js +166 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration-N3fRuYmx.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing-CNVBTdyB.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator-CeGXg0jv.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/velocity-NngCxIQM.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/motion-value-Dpez8dQD.js +45 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-DZ-rOn58.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target-C0xS2WGG.js +57 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant-B35oZvml.js +26 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver-_h9E3nwl.js +61 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver-BxwoVKip.js +67 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/get-final-BQVKjyPS.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default-DW_NtU-K.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill-D-JxRntL.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time-BCh-zgvS.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards-Dasqyq5W.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none-Boi7nzNq.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable-DZ2uKxwT.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-CZVviGe6.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id-DKf-WdGO.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id-B3ocRUEp.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/WithPromise-Df7bJffn.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger-Zf1BbESP.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/can-animate-8-JdOSKl.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion-DbIMqS6o.js +25 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/default-transitions-DVnwrMKg.js +27 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/get-value-transition-5a_kRob8.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-animatable-C5hoiztj.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-css-variable-CyNVJBsm.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined-C1rwuBUy.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant-COWEl80Q.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type-BMiDtDGg.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/resolve-transition-BTqjVzCB.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier-J2lt5jeZ.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing-BD7Y9jJG.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/supported-Cz-WgHfd.js +35 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation-ClEsx3cW.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi-DOBuuHlt.js +24 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values-D6fGw6G9.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator-BP_nJDar.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color-DlLrfl3t.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/linear-CfxAW4iV.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing-CXVzjJ-M.js +17 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/events/add-dom-event-CWEtxeZQ.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/batcher-DfPEJ0tV.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/frame-CKZTADU1.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/microtask-C0-dBzym.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/order-CHyaH5qN.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/render-step-CdDpWyF_.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/sync-time-C_QyRCNd.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/is-active-CVvtbTCK.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/set-active-CDl0txXn.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/hover-rZyMySKA.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/index-CdNLBeeX.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible-DVnEOolg.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard-OEdF2Pgl.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/state-Ebi7SIjG.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child-Bpzb9pAt.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer-CiELcwyf.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/setup-51FdPiwb.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/mix-values-CI36Bvu8.js +25 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/conversion-C53fTUL0.js +39 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/copy-DLOE8cY-.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-apply-D_7fQFIs.js +43 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-calc-CnWZkKos.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-remove-BVg-RIJ5.js +29 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/models-d7gxmOp4.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/utils-DB_aXUBK.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode-DO5yRSLp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode-DPNJVDRP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/create-projection-node-23wDIc4D.js +584 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/state-DB-DwaXn.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/shared/stack-tv0ZE6-p.js +51 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius-o5vW8fHp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow-BhjA57xW.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-correction-Dqs0DG_x.js +17 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/transform-NKB2cwBd.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth-D4ki-lbA.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/each-axis-Bvmvr7Z2.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/flat-tree-DoVrrxxY.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/has-transform-MC2xCktm.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/measure-9EHDTj-Q.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/Feature-BO-74BEK.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/VisualElement-Q2WcJv6t.js +204 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement-C0PGIt5i.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/is-css-var-Dp_b3naF.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/parse-transform-BhriW6XO.js +56 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/style-set-rv8o9V7z.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash-DkTMivH-.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement-BlmAcWaG.js +39 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-styles-d8t31XT-.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-transform-ses8bYxd.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/render-D0WyK2kl.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values-Dnanh7Pq.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/store-BtTKq2jY.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement-CQOmrr3k.js +40 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs-CfRsHEuP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs-eLNLAV8t.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag-DmzYEr13.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/path-DrGKJJG-.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/render--nKPYECx.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values-BZpmWNaV.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/animation-state-DDMO-7FQ.js +135 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/get-variant-context-qR057mHU.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-animation-controls-B7ktiywN.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants-BTh61RuJ.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value-DJbn-QIQ.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target-BjHS8PGf.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-variant-label-CVoIfHaT.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-position-6KzA4Ufp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-transform-D89O3jUI.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/motion-values-BofpGQv9.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index-CBQsVFcz.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state-ClY5PInV.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants-CctcYJsO.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-variants-YRQnmPS8.js +20 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/setters-CAm56hbR.js +20 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/shallow-compare-D_Ag1Ugh.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/variant-props-wnjnGla7.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-element-C0cdHgCp.js +37 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-window-CYcfJ-yc.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/index-BxIqM2kA.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/stats/buffer-Ddx-OwOh.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/border-radius-BzX2eyPO.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/delay-CHrWJUrg.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/interpolate-CzC1L8ZO.js +33 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-html-element-C0nwVk_b.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-element-DBzZMKGK.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-svg-element-Ckc3gGsT.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/color-DWwiDYZb.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/complex-BHS_05I4.js +52 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/immediate-BKaWg21K.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/index-BRygSkxI.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/number-BQSwMPU1.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/visibility-Cskd_oLV.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/resolve-elements-Dtu6Z_Ty.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/flags-BurPNJ34.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/linear-easing-Pzz4ZlUa.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/memo-DC0cOD0o.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline-rru9B6Gb.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/index-Bwg0vVXH.js +92 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/auto-koixlyde.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hex-D_nQPreB.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-UmYS8wgv.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba-DcyRElEM.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/index-N7DJKOLI.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/rgba-CdLIc-3D.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/utils-MnexfjLY.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/filter-ClIAXOZw.js +26 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/index-grhmCqMW.js +52 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/mask-BwJciot3.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/dimensions-DiF9rgiq.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/int-CXf2V5s3.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/defaults-CUGdDi7c.js +24 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/number-CbCxH6Jz.js +64 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/transform-KMLgKYda.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/index-DYQnrXRf.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/units-Cl3LhAl3.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/test-BkLtGGhq.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/animatable-none-48Tgfh--.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/color-regex-C3uB4EIr.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/find-DcyXW-Sp.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/float-regex-DjWNXroL.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/get-as-type-D-jDTeib.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-CqG_su_i.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/sanitize-CHpVppHV.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-B5zaDk0y.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/is-motion-value-DjNWSbJA.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value-B_1ESd5B.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/add-will-change-DBvewpY4.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/is-T16fSSX5.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/array-BBGK1j1b.js +10 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/clamp-B15uFKIC.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/anticipate-CGu5JxBr.js +5 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/back-Dx4ysBOm.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/circ-BQFsYAQF.js +6 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/cubic-bezier-ChP-yr8D.js +18 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/ease-aj5zpqzD.js +5 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/mirror-DK1HENQt.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/reverse-SiUI2DwA.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition-c8Afth9n.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-easing-array-5MLjLjPK.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/map-ldz_Xg06.js +31 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/errors-zYMa5JTQ.js +10 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/format-error-message-Dbn0S6vS.js +6 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/global-config-BqV2nflf.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-numerical-string-CiTQN66D.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-object-QQQynvgM.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-zero-value-string-Bss1UzBi.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/memo-CwaXJmzB.js +8 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/noop-DF4YCrc8.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/pipe-BweOLNhL.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/progress-B3YfSCwx.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/subscription-manager-B1v5ik_R.js +26 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/time-conversion-WGVLVIZI.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/velocity-per-second-Hq_yU5RD.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/warn-once-CNQIsdRh.js +8 -0
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js +71 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-BhIOL2rP.js +23 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-C9kJFMIu.js +69 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-BJHQLX8t.js → base-product-Bde9lJQD.js} +2 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js +74 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-CPeHsTss.js → insurance-DXc34Bzy.js} +20 -19
- package/dist/chunks/pkg/booking-engine/dist/schemas/product-id--yyUTH1Y.js +5 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js +15 -0
- package/dist/chunks/pkg/ui/dist/Map/{MapContent-TzYCv8ji.js → MapContent-BgCi-wZr.js} +2 -2
- package/dist/chunks/pkg/ui/dist/{Map-ZM-ZOU9P.js → Map-DCNW_9J_.js} +1 -1
- package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-DOH1GYVR.js → MorphingModalWizard-j1CgFGLe.js} +0 -1
- package/dist/components/BookingBikeQuickAddCard/index.js +37 -36
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +80 -79
- package/dist/lib/booking-period.js +1 -1
- package/dist/lib/booking.js +2 -2
- package/dist/lib/checkoutSubmit.js +3 -3
- package/dist/storefrontSchemas.js +1 -1
- package/package.json +1 -2
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js +0 -70
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js +0 -22
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js +0 -68
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js +0 -72
- package/dist/chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js +0 -14
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config-BqV2nflf.js";
|
|
2
|
+
import { stepsOrder as t } from "./order-CHyaH5qN.js";
|
|
3
|
+
import { createRenderStep as n } from "./render-step-CdDpWyF_.js";
|
|
4
|
+
//#region ../../node_modules/motion-dom/dist/es/frameloop/batcher.mjs
|
|
5
|
+
var r = 40;
|
|
6
|
+
function i(i, a) {
|
|
7
|
+
let o = !1, s = !0, c = {
|
|
8
|
+
delta: 0,
|
|
9
|
+
timestamp: 0,
|
|
10
|
+
isProcessing: !1
|
|
11
|
+
}, l = () => o = !0, u = t.reduce((e, t) => (e[t] = n(l), e), {}), { setup: d, read: f, resolveKeyframes: p, preUpdate: m, update: h, preRender: g, render: _, postRender: v } = u, y = () => {
|
|
12
|
+
let t = e.useManualTiming, n = t ? c.timestamp : performance.now();
|
|
13
|
+
o = !1, t || (c.delta = s ? 1e3 / 60 : Math.max(Math.min(n - c.timestamp, r), 1)), c.timestamp = n, c.isProcessing = !0, d.process(c), f.process(c), p.process(c), m.process(c), h.process(c), g.process(c), _.process(c), v.process(c), c.isProcessing = !1, o && a && (s = !1, i(y));
|
|
14
|
+
}, b = () => {
|
|
15
|
+
o = !0, s = !0, c.isProcessing || i(y);
|
|
16
|
+
};
|
|
17
|
+
return {
|
|
18
|
+
schedule: t.reduce((e, t) => {
|
|
19
|
+
let n = u[t];
|
|
20
|
+
return e[t] = (e, t = !1, r = !1) => (o || b(), n.schedule(e, t, r)), e;
|
|
21
|
+
}, {}),
|
|
22
|
+
cancel: (e) => {
|
|
23
|
+
for (let n = 0; n < t.length; n++) u[t[n]].cancel(e);
|
|
24
|
+
},
|
|
25
|
+
state: c,
|
|
26
|
+
steps: u
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { i as createRenderBatcher };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { noop as e } from "../../../../motion-utils/dist/es/noop-DF4YCrc8.js";
|
|
2
|
+
import { createRenderBatcher as t } from "./batcher-DfPEJ0tV.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/frameloop/frame.mjs
|
|
4
|
+
var { schedule: n, cancel: r, state: i, steps: a } = /* @__PURE__ */ t(typeof requestAnimationFrame < "u" ? requestAnimationFrame : e, !0);
|
|
5
|
+
//#endregion
|
|
6
|
+
export { r as cancelFrame, n as frame, i as frameData, a as frameSteps };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/frameloop/render-step.mjs
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
|
|
4
|
+
delta: 0,
|
|
5
|
+
timestamp: 0,
|
|
6
|
+
isProcessing: !1
|
|
7
|
+
};
|
|
8
|
+
function s(t) {
|
|
9
|
+
a.has(t) && (c.schedule(t), e()), t(o);
|
|
10
|
+
}
|
|
11
|
+
let c = {
|
|
12
|
+
schedule: (e, i = !1, o = !1) => {
|
|
13
|
+
let s = o && r ? t : n;
|
|
14
|
+
return i && a.add(e), s.add(e), e;
|
|
15
|
+
},
|
|
16
|
+
cancel: (e) => {
|
|
17
|
+
n.delete(e), a.delete(e);
|
|
18
|
+
},
|
|
19
|
+
process: (e) => {
|
|
20
|
+
if (o = e, r) {
|
|
21
|
+
i = !0;
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
r = !0;
|
|
25
|
+
let a = t;
|
|
26
|
+
t = n, n = a, t.forEach(s), t.clear(), r = !1, i && (i = !1, c.process(e));
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
return c;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { e as createRenderStep };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MotionGlobalConfig as e } from "../../../../motion-utils/dist/es/global-config-BqV2nflf.js";
|
|
2
|
+
import { frameData as t } from "./frame-CKZTADU1.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/frameloop/sync-time.mjs
|
|
4
|
+
var n;
|
|
5
|
+
function r() {
|
|
6
|
+
n = void 0;
|
|
7
|
+
}
|
|
8
|
+
var i = {
|
|
9
|
+
now: () => (n === void 0 && i.set(t.isProcessing || e.useManualTiming ? t.timestamp : performance.now()), n),
|
|
10
|
+
set: (e) => {
|
|
11
|
+
n = e, queueMicrotask(r);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { i as time };
|
package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/set-active-CDl0txXn.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { isDragging as e } from "./is-active-CVvtbTCK.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
|
|
3
|
+
function t(t) {
|
|
4
|
+
return t === "x" || t === "y" ? e[t] ? null : (e[t] = !0, () => {
|
|
5
|
+
e[t] = !1;
|
|
6
|
+
}) : e.x || e.y ? null : (e.x = e.y = !0, () => {
|
|
7
|
+
e.x = e.y = !1;
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as setDragLock };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { isDragActive as e } from "./drag/state/is-active-CVvtbTCK.js";
|
|
2
|
+
import { setupGesture as t } from "./utils/setup-51FdPiwb.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/gestures/hover.mjs
|
|
4
|
+
function n(t) {
|
|
5
|
+
return !(t.pointerType === "touch" || e());
|
|
6
|
+
}
|
|
7
|
+
function r(e, r, i = {}) {
|
|
8
|
+
let [a, o, s] = t(e, i);
|
|
9
|
+
return a.forEach((e) => {
|
|
10
|
+
let t = !1, i = !1, a, s = () => {
|
|
11
|
+
e.removeEventListener("pointerleave", d);
|
|
12
|
+
}, c = (e) => {
|
|
13
|
+
a &&= (a(e), void 0), s();
|
|
14
|
+
}, l = (e) => {
|
|
15
|
+
t = !1, window.removeEventListener("pointerup", l), window.removeEventListener("pointercancel", l), i && (i = !1, c(e));
|
|
16
|
+
}, u = () => {
|
|
17
|
+
t = !0, window.addEventListener("pointerup", l, o), window.addEventListener("pointercancel", l, o);
|
|
18
|
+
}, d = (e) => {
|
|
19
|
+
if (e.pointerType !== "touch") {
|
|
20
|
+
if (t) {
|
|
21
|
+
i = !0;
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
c(e);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
e.addEventListener("pointerenter", (t) => {
|
|
28
|
+
if (!n(t)) return;
|
|
29
|
+
i = !1;
|
|
30
|
+
let s = r(e, t);
|
|
31
|
+
typeof s == "function" && (a = s, e.addEventListener("pointerleave", d, o));
|
|
32
|
+
}, o), e.addEventListener("pointerdown", u, o);
|
|
33
|
+
}), s;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { r as hover };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { isHTMLElement as e } from "../../utils/is-html-element-C0nwVk_b.js";
|
|
2
|
+
import { isDragActive as t } from "../drag/state/is-active-CVvtbTCK.js";
|
|
3
|
+
import { setupGesture as n } from "../utils/setup-51FdPiwb.js";
|
|
4
|
+
import { isNodeOrChild as r } from "../utils/is-node-or-child-Bpzb9pAt.js";
|
|
5
|
+
import { isPrimaryPointer as i } from "../utils/is-primary-pointer-CiELcwyf.js";
|
|
6
|
+
import { isElementKeyboardAccessible as a } from "./utils/is-keyboard-accessible-DVnEOolg.js";
|
|
7
|
+
import { isPressing as o } from "./utils/state-Ebi7SIjG.js";
|
|
8
|
+
import { enableKeyboardPress as s } from "./utils/keyboard-OEdF2Pgl.js";
|
|
9
|
+
//#region ../../node_modules/motion-dom/dist/es/gestures/press/index.mjs
|
|
10
|
+
function c(e) {
|
|
11
|
+
return i(e) && !t();
|
|
12
|
+
}
|
|
13
|
+
var l = /* @__PURE__ */ new WeakSet();
|
|
14
|
+
function u(t, i, u = {}) {
|
|
15
|
+
let [d, f, p] = n(t, u), m = (e) => {
|
|
16
|
+
let t = e.currentTarget;
|
|
17
|
+
if (!c(e) || l.has(e)) return;
|
|
18
|
+
o.add(t), u.stopPropagation && l.add(e);
|
|
19
|
+
let n = i(t, e), a = {
|
|
20
|
+
...f,
|
|
21
|
+
capture: !0
|
|
22
|
+
}, s = (e, r) => {
|
|
23
|
+
window.removeEventListener("pointerup", d, a), window.removeEventListener("pointercancel", p, a), o.has(t) && o.delete(t), c(e) && typeof n == "function" && n(e, { success: r });
|
|
24
|
+
}, d = (e) => {
|
|
25
|
+
s(e, t === window || t === document || u.useGlobalTarget || r(t, e.target));
|
|
26
|
+
}, p = (e) => {
|
|
27
|
+
s(e, !1);
|
|
28
|
+
};
|
|
29
|
+
window.addEventListener("pointerup", d, a), window.addEventListener("pointercancel", p, a);
|
|
30
|
+
};
|
|
31
|
+
return d.forEach((t) => {
|
|
32
|
+
(u.useGlobalTarget ? window : t).addEventListener("pointerdown", m, f), e(t) && (t.addEventListener("focus", (e) => s(e, f)), !a(t) && !t.hasAttribute("tabindex") && (t.tabIndex = 0));
|
|
33
|
+
}), p;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { u as press };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs
|
|
2
|
+
var e = /* @__PURE__ */ new Set([
|
|
3
|
+
"BUTTON",
|
|
4
|
+
"INPUT",
|
|
5
|
+
"SELECT",
|
|
6
|
+
"TEXTAREA",
|
|
7
|
+
"A"
|
|
8
|
+
]);
|
|
9
|
+
function t(t) {
|
|
10
|
+
return e.has(t.tagName) || t.isContentEditable === !0;
|
|
11
|
+
}
|
|
12
|
+
var n = /* @__PURE__ */ new Set([
|
|
13
|
+
"INPUT",
|
|
14
|
+
"SELECT",
|
|
15
|
+
"TEXTAREA"
|
|
16
|
+
]);
|
|
17
|
+
function r(e) {
|
|
18
|
+
return n.has(e.tagName) || e.isContentEditable === !0;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { t as isElementKeyboardAccessible, r as isElementTextInput };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { isPressing as e } from "./state-Ebi7SIjG.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
|
|
3
|
+
function t(e) {
|
|
4
|
+
return (t) => {
|
|
5
|
+
t.key === "Enter" && e(t);
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
function n(e, t) {
|
|
9
|
+
e.dispatchEvent(new PointerEvent("pointer" + t, {
|
|
10
|
+
isPrimary: !0,
|
|
11
|
+
bubbles: !0
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
var r = (r, i) => {
|
|
15
|
+
let a = r.currentTarget;
|
|
16
|
+
if (!a) return;
|
|
17
|
+
let o = t(() => {
|
|
18
|
+
if (e.has(a)) return;
|
|
19
|
+
n(a, "down");
|
|
20
|
+
let r = t(() => {
|
|
21
|
+
n(a, "up");
|
|
22
|
+
});
|
|
23
|
+
a.addEventListener("keyup", r, i), a.addEventListener("blur", () => n(a, "cancel"), i);
|
|
24
|
+
});
|
|
25
|
+
a.addEventListener("keydown", o, i), a.addEventListener("blur", () => a.removeEventListener("keydown", o), i);
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { r as enableKeyboardPress };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { resolveElements as e } from "../../utils/resolve-elements-Dtu6Z_Ty.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
let r = e(t), i = new AbortController();
|
|
5
|
+
return [
|
|
6
|
+
r,
|
|
7
|
+
{
|
|
8
|
+
passive: !0,
|
|
9
|
+
...n,
|
|
10
|
+
signal: i.signal
|
|
11
|
+
},
|
|
12
|
+
() => i.abort()
|
|
13
|
+
];
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as setupGesture };
|
package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/mix-values-CI36Bvu8.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { noop as e } from "../../../../../motion-utils/dist/es/noop-DF4YCrc8.js";
|
|
2
|
+
import { progress as t } from "../../../../../motion-utils/dist/es/progress-B3YfSCwx.js";
|
|
3
|
+
import { circOut as n } from "../../../../../motion-utils/dist/es/easing/circ-BQFsYAQF.js";
|
|
4
|
+
import { percent as r, px as i } from "../../value/types/numbers/units-Cl3LhAl3.js";
|
|
5
|
+
import { mixNumber as a } from "../../utils/mix/number-BQSwMPU1.js";
|
|
6
|
+
import { cornerRadiusProps as o } from "../../utils/border-radius-BzX2eyPO.js";
|
|
7
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
|
|
8
|
+
var s = o.length, c = (e) => typeof e == "string" ? parseFloat(e) : e, l = (e) => typeof e == "number" || i.test(e);
|
|
9
|
+
function u(e, t, n, i, u, m) {
|
|
10
|
+
u ? (e.opacity = a(0, n.opacity ?? 1, f(i)), e.opacityExit = a(t.opacity ?? 1, 0, p(i))) : m && (e.opacity = a(t.opacity ?? 1, n.opacity ?? 1, i));
|
|
11
|
+
for (let u = 0; u < s; u++) {
|
|
12
|
+
let s = o[u], f = d(t, s), p = d(n, s);
|
|
13
|
+
f === void 0 && p === void 0 || (f ||= 0, p ||= 0, f === 0 || p === 0 || l(f) === l(p) ? (e[s] = Math.max(a(c(f), c(p), i), 0), (r.test(p) || r.test(f)) && (e[s] += "%")) : e[s] = p);
|
|
14
|
+
}
|
|
15
|
+
(t.rotate || n.rotate) && (e.rotate = a(t.rotate || 0, n.rotate || 0, i));
|
|
16
|
+
}
|
|
17
|
+
function d(e, t) {
|
|
18
|
+
return e[t] === void 0 ? e.borderRadius : e[t];
|
|
19
|
+
}
|
|
20
|
+
var f = /*@__PURE__*/ m(0, .5, n), p = /*@__PURE__*/ m(.5, .95, e);
|
|
21
|
+
function m(e, n, r) {
|
|
22
|
+
return (i) => i < e ? 0 : i > n ? 1 : r(t(e, n, i));
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { u as mixValues };
|
package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/conversion-C53fTUL0.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
|
|
2
|
+
function e({ top: e, left: t, right: n, bottom: r }) {
|
|
3
|
+
return {
|
|
4
|
+
x: {
|
|
5
|
+
min: t,
|
|
6
|
+
max: n
|
|
7
|
+
},
|
|
8
|
+
y: {
|
|
9
|
+
min: e,
|
|
10
|
+
max: r
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function t({ x: e, y: t }) {
|
|
15
|
+
return {
|
|
16
|
+
top: t.min,
|
|
17
|
+
right: e.max,
|
|
18
|
+
bottom: t.max,
|
|
19
|
+
left: e.min
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function n(e, t) {
|
|
23
|
+
if (!t) return e;
|
|
24
|
+
let n = t({
|
|
25
|
+
x: e.left,
|
|
26
|
+
y: e.top
|
|
27
|
+
}), r = t({
|
|
28
|
+
x: e.right,
|
|
29
|
+
y: e.bottom
|
|
30
|
+
});
|
|
31
|
+
return {
|
|
32
|
+
top: n.y,
|
|
33
|
+
left: n.x,
|
|
34
|
+
bottom: r.y,
|
|
35
|
+
right: r.x
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { e as convertBoundingBoxToBox, t as convertBoxToBoundingBox, n as transformBoxPoints };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
e.min = t.min, e.max = t.max;
|
|
4
|
+
}
|
|
5
|
+
function t(t, n) {
|
|
6
|
+
e(t.x, n.x), e(t.y, n.y);
|
|
7
|
+
}
|
|
8
|
+
function n(e, t) {
|
|
9
|
+
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as copyAxisDeltaInto, e as copyAxisInto, t as copyBoxInto };
|
package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-apply-D_7fQFIs.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { mixNumber as e } from "../../utils/mix/number-BQSwMPU1.js";
|
|
2
|
+
import { hasTransform as t } from "../utils/has-transform-MC2xCktm.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
|
|
4
|
+
function n(e, t, n) {
|
|
5
|
+
return n + t * (e - n);
|
|
6
|
+
}
|
|
7
|
+
function r(e, t, r, i, a) {
|
|
8
|
+
return a !== void 0 && (e = n(e, a, i)), n(e, r, i) + t;
|
|
9
|
+
}
|
|
10
|
+
function i(e, t = 0, n = 1, i, a) {
|
|
11
|
+
e.min = r(e.min, t, n, i, a), e.max = r(e.max, t, n, i, a);
|
|
12
|
+
}
|
|
13
|
+
function a(e, { x: t, y: n }) {
|
|
14
|
+
i(e.x, t.translate, t.scale, t.originPoint), i(e.y, n.translate, n.scale, n.originPoint);
|
|
15
|
+
}
|
|
16
|
+
var o = .999999999999, s = 1.0000000000001;
|
|
17
|
+
function c(e, n, r, i = !1) {
|
|
18
|
+
let c = r.length;
|
|
19
|
+
if (!c) return;
|
|
20
|
+
n.x = n.y = 1;
|
|
21
|
+
let u, d;
|
|
22
|
+
for (let o = 0; o < c; o++) {
|
|
23
|
+
u = r[o], d = u.projectionDelta;
|
|
24
|
+
let { visualElement: s } = u.options;
|
|
25
|
+
s && s.props.style && s.props.style.display === "contents" || (i && u.options.layoutScroll && u.scroll && u !== u.root && (l(e.x, -u.scroll.offset.x), l(e.y, -u.scroll.offset.y)), d && (n.x *= d.x.scale, n.y *= d.y.scale, a(e, d)), i && t(u.latestValues) && f(e, u.latestValues, u.layout?.layoutBox));
|
|
26
|
+
}
|
|
27
|
+
n.x < s && n.x > o && (n.x = 1), n.y < s && n.y > o && (n.y = 1);
|
|
28
|
+
}
|
|
29
|
+
function l(e, t) {
|
|
30
|
+
e.min += t, e.max += t;
|
|
31
|
+
}
|
|
32
|
+
function u(t, n, r, a, o = .5) {
|
|
33
|
+
i(t, n, r, e(t.min, t.max, o), a);
|
|
34
|
+
}
|
|
35
|
+
function d(e, t) {
|
|
36
|
+
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
|
|
37
|
+
}
|
|
38
|
+
function f(e, t, n) {
|
|
39
|
+
let r = n ?? e;
|
|
40
|
+
u(e.x, d(t.x, r.x), t.scaleX, t.scale, t.originX), u(e.y, d(t.y, r.y), t.scaleY, t.scale, t.originY);
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
export { i as applyAxisDelta, a as applyBoxDelta, r as applyPointDelta, c as applyTreeDeltas, n as scalePoint, u as transformAxis, f as transformBox, l as translateAxis };
|
package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-calc-CnWZkKos.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { mixNumber as e } from "../../utils/mix/number-BQSwMPU1.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
|
|
3
|
+
var t = .9999, n = 1.0001, r = -.01, i = .01;
|
|
4
|
+
function a(e) {
|
|
5
|
+
return e.max - e.min;
|
|
6
|
+
}
|
|
7
|
+
function o(e, t, n) {
|
|
8
|
+
return Math.abs(e - t) <= n;
|
|
9
|
+
}
|
|
10
|
+
function s(o, s, c, l = .5) {
|
|
11
|
+
o.origin = l, o.originPoint = e(s.min, s.max, o.origin), o.scale = a(c) / a(s), o.translate = e(c.min, c.max, o.origin) - o.originPoint, (o.scale >= t && o.scale <= n || isNaN(o.scale)) && (o.scale = 1), (o.translate >= r && o.translate <= i || isNaN(o.translate)) && (o.translate = 0);
|
|
12
|
+
}
|
|
13
|
+
function c(e, t, n, r) {
|
|
14
|
+
s(e.x, t.x, n.x, r ? r.originX : void 0), s(e.y, t.y, n.y, r ? r.originY : void 0);
|
|
15
|
+
}
|
|
16
|
+
function l(t, n, r, i = 0) {
|
|
17
|
+
t.min = (i ? e(r.min, r.max, i) : r.min) + n.min, t.max = t.min + a(n);
|
|
18
|
+
}
|
|
19
|
+
function u(e, t, n, r) {
|
|
20
|
+
l(e.x, t.x, n.x, r?.x), l(e.y, t.y, n.y, r?.y);
|
|
21
|
+
}
|
|
22
|
+
function d(t, n, r, i = 0) {
|
|
23
|
+
let o = i ? e(r.min, r.max, i) : r.min;
|
|
24
|
+
t.min = n.min - o, t.max = t.min + a(n);
|
|
25
|
+
}
|
|
26
|
+
function f(e, t, n, r) {
|
|
27
|
+
d(e.x, t.x, n.x, r?.x), d(e.y, t.y, n.y, r?.y);
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { s as calcAxisDelta, c as calcBoxDelta, a as calcLength, l as calcRelativeAxis, d as calcRelativeAxisPosition, u as calcRelativeBox, f as calcRelativePosition, o as isNear };
|
package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-remove-BVg-RIJ5.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { percent as e } from "../../value/types/numbers/units-Cl3LhAl3.js";
|
|
2
|
+
import { mixNumber as t } from "../../utils/mix/number-BQSwMPU1.js";
|
|
3
|
+
import { scalePoint as n } from "./delta-apply-D_7fQFIs.js";
|
|
4
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
|
|
5
|
+
function r(e, t, r, i, a) {
|
|
6
|
+
return e -= t, e = n(e, 1 / r, i), a !== void 0 && (e = n(e, 1 / a, i)), e;
|
|
7
|
+
}
|
|
8
|
+
function i(n, i = 0, a = 1, o = .5, s, c = n, l = n) {
|
|
9
|
+
if (e.test(i) && (i = parseFloat(i), i = t(l.min, l.max, i / 100) - l.min), typeof i != "number") return;
|
|
10
|
+
let u = t(c.min, c.max, o);
|
|
11
|
+
n === c && (u -= i), n.min = r(n.min, i, a, u, s), n.max = r(n.max, i, a, u, s);
|
|
12
|
+
}
|
|
13
|
+
function a(e, t, [n, r, a], o, s) {
|
|
14
|
+
i(e, t[n], t[r], t[a], t.scale, o, s);
|
|
15
|
+
}
|
|
16
|
+
var o = [
|
|
17
|
+
"x",
|
|
18
|
+
"scaleX",
|
|
19
|
+
"originX"
|
|
20
|
+
], s = [
|
|
21
|
+
"y",
|
|
22
|
+
"scaleY",
|
|
23
|
+
"originY"
|
|
24
|
+
];
|
|
25
|
+
function c(e, t, n, r) {
|
|
26
|
+
a(e.x, t, o, n ? n.x : void 0, r ? r.x : void 0), a(e.y, t, s, n ? n.y : void 0, r ? r.y : void 0);
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { i as removeAxisDelta, a as removeAxisTransforms, c as removeBoxTransforms, r as removePointDelta };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/models.mjs
|
|
2
|
+
var e = () => ({
|
|
3
|
+
translate: 0,
|
|
4
|
+
scale: 1,
|
|
5
|
+
origin: 0,
|
|
6
|
+
originPoint: 0
|
|
7
|
+
}), t = () => ({
|
|
8
|
+
x: e(),
|
|
9
|
+
y: e()
|
|
10
|
+
}), n = () => ({
|
|
11
|
+
min: 0,
|
|
12
|
+
max: 0
|
|
13
|
+
}), r = () => ({
|
|
14
|
+
x: n(),
|
|
15
|
+
y: n()
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n as createAxis, e as createAxisDelta, r as createBox, t as createDelta };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { calcLength as e } from "./delta-calc-CnWZkKos.js";
|
|
2
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
|
|
3
|
+
function t(e) {
|
|
4
|
+
return e.translate === 0 && e.scale === 1;
|
|
5
|
+
}
|
|
6
|
+
function n(e) {
|
|
7
|
+
return t(e.x) && t(e.y);
|
|
8
|
+
}
|
|
9
|
+
function r(e, t) {
|
|
10
|
+
return e.min === t.min && e.max === t.max;
|
|
11
|
+
}
|
|
12
|
+
function i(e, t) {
|
|
13
|
+
return r(e.x, t.x) && r(e.y, t.y);
|
|
14
|
+
}
|
|
15
|
+
function a(e, t) {
|
|
16
|
+
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
|
|
17
|
+
}
|
|
18
|
+
function o(e, t) {
|
|
19
|
+
return a(e.x, t.x) && a(e.y, t.y);
|
|
20
|
+
}
|
|
21
|
+
function s(t) {
|
|
22
|
+
return e(t.x) / e(t.y);
|
|
23
|
+
}
|
|
24
|
+
function c(e, t) {
|
|
25
|
+
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { s as aspectRatio, c as axisDeltaEquals, r as axisEquals, a as axisEqualsRounded, i as boxEquals, o as boxEqualsRounded, n as isDeltaZero };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { addDomEvent as e } from "../../events/add-dom-event-CWEtxeZQ.js";
|
|
2
|
+
import { createProjectionNode as t } from "./create-projection-node-23wDIc4D.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
|
|
4
|
+
var n = t({
|
|
5
|
+
attachResizeListener: (t, n) => e(t, "resize", n),
|
|
6
|
+
measureScroll: () => ({
|
|
7
|
+
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
|
|
8
|
+
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
|
|
9
|
+
}),
|
|
10
|
+
checkIsScrollRoot: () => !0
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as DocumentProjectionNode };
|
package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode-DPNJVDRP.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createProjectionNode as e } from "./create-projection-node-23wDIc4D.js";
|
|
2
|
+
import { DocumentProjectionNode as t } from "./DocumentProjectionNode-DO5yRSLp.js";
|
|
3
|
+
//#region ../../node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs
|
|
4
|
+
var n = { current: void 0 }, r = e({
|
|
5
|
+
measureScroll: (e) => ({
|
|
6
|
+
x: e.scrollLeft,
|
|
7
|
+
y: e.scrollTop
|
|
8
|
+
}),
|
|
9
|
+
defaultParent: () => {
|
|
10
|
+
if (!n.current) {
|
|
11
|
+
let e = new t({});
|
|
12
|
+
e.mount(window), e.setOptions({ layoutScroll: !0 }), n.current = e;
|
|
13
|
+
}
|
|
14
|
+
return n.current;
|
|
15
|
+
},
|
|
16
|
+
resetTransform: (e, t) => {
|
|
17
|
+
e.style.transform = t === void 0 ? "none" : t;
|
|
18
|
+
},
|
|
19
|
+
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { r as HTMLProjectionNode, n as rootProjectionNode };
|