@loczer/storefront-sdk 0.217.0 → 0.219.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 (347) 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/BookingFlowPageLayout/index.d.ts +13 -0
  284. package/dist/components/BookingFlowPageLayout/index.d.ts.map +1 -0
  285. package/dist/components/BookingFlowPageLayout/index.js +35 -0
  286. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -1
  287. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +11 -34
  288. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  289. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -1
  290. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +2 -5
  291. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  292. package/dist/components/BookingPeriodSelector/index.d.ts +1 -1
  293. package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -1
  294. package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts +0 -5
  295. package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -1
  296. package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +150 -159
  297. package/dist/components/Footer/BusinessHours.d.ts +2 -1
  298. package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
  299. package/dist/components/Footer/BusinessHours.js +19 -18
  300. package/dist/components/Footer/businessHoursStatus.d.ts +25 -0
  301. package/dist/components/Footer/businessHoursStatus.d.ts.map +1 -0
  302. package/dist/components/Footer/businessHoursStatus.js +99 -0
  303. package/dist/components/Footer/businessHoursUtils.d.ts +2 -1
  304. package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -1
  305. package/dist/components/Footer/businessHoursUtils.js +52 -45
  306. package/dist/components/Footer/index.d.ts +2 -1
  307. package/dist/components/Footer/index.d.ts.map +1 -1
  308. package/dist/components/Footer/index.js +26 -25
  309. package/dist/components/Layout/index.d.ts.map +1 -1
  310. package/dist/components/Layout/index.js +2 -1
  311. package/dist/components/Map/index.js +1 -1
  312. package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -1
  313. package/dist/components/StorefrontCancellationPolicyNotice/index.js +89 -86
  314. package/dist/components/StorefrontCartPanel/index.js +4 -4
  315. package/dist/components/StorefrontInsuranceNotice/index.d.ts +2 -1
  316. package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
  317. package/dist/components/StorefrontInsuranceNotice/index.js +155 -162
  318. package/dist/i18n/en.d.ts +7 -1
  319. package/dist/i18n/en.d.ts.map +1 -1
  320. package/dist/i18n/en.js +8 -2
  321. package/dist/i18n/fr.d.ts +7 -1
  322. package/dist/i18n/fr.d.ts.map +1 -1
  323. package/dist/i18n/fr.js +8 -2
  324. package/dist/index.d.ts +27 -9
  325. package/dist/index.js +80 -79
  326. package/dist/lib/booking-period.js +1 -1
  327. package/dist/lib/booking.js +2 -2
  328. package/dist/lib/checkoutSubmit.js +3 -3
  329. package/dist/lib/pricing.d.ts.map +1 -1
  330. package/dist/lib/pricing.js +3 -1
  331. package/dist/lib/products.d.ts +6 -0
  332. package/dist/lib/products.d.ts.map +1 -1
  333. package/dist/lib/products.js +36 -32
  334. package/dist/pages/BookingPage.d.ts.map +1 -1
  335. package/dist/pages/BookingPage.js +306 -335
  336. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  337. package/dist/pages/CheckoutPage.js +154 -168
  338. package/dist/pages/HomePage.d.ts.map +1 -1
  339. package/dist/pages/HomePage.js +435 -378
  340. package/dist/storefront.css +1 -1
  341. package/dist/storefrontSchemas.js +1 -1
  342. package/package.json +1 -2
  343. package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js +0 -70
  344. package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js +0 -22
  345. package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js +0 -68
  346. package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js +0 -72
  347. package/dist/chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js +0 -14
@@ -3,10 +3,9 @@ import { ResponsiveDialog as t, ResponsiveDialogContent as n, ResponsiveDialogDe
3
3
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
4
4
  import { useSearchParams as l } from "@rpcbase/router";
5
5
  import { useTranslation as u } from "react-i18next";
6
- import { cn as d } from "@rpcbase/ui";
7
- import { CheckCircle2 as f, Info as p } from "lucide-react";
6
+ import { CheckCircle2 as d, Info as f } from "lucide-react";
8
7
  //#region src/components/StorefrontCancellationPolicyNotice/index.tsx
9
- var m = .95, h = "show_cancellation_policy_modal", g = (e) => e.tiers.length === 0 ? [] : [...e.tiers].sort((e, t) => e.upToHours - t.upToHours), _ = (e) => g(e).find((e) => e.refundPercentage >= m) ?? null, v = (e, t) => {
8
+ var p = .95, m = "show_cancellation_policy_modal", h = (e) => e.tiers.length === 0 ? [] : [...e.tiers].sort((e, t) => e.upToHours - t.upToHours), g = (e) => h(e).find((e) => e.refundPercentage >= p) ?? null, _ = (e, t) => {
10
9
  try {
11
10
  return new Intl.NumberFormat(t, {
12
11
  style: "percent",
@@ -16,108 +15,112 @@ var m = .95, h = "show_cancellation_policy_modal", g = (e) => e.tiers.length ===
16
15
  return `${Number.parseFloat((e * 100).toFixed(2))}%`;
17
16
  }
18
17
  };
19
- function y({ policy: m, className: y }) {
20
- let { t: b, i18n: x } = u(), [S, C] = l(), w = S.get(h) === "true", T = g(m), E = _(m), D = (e) => {
21
- let t = new URLSearchParams(S);
22
- e ? t.set(h, "true") : t.delete(h), C(t, { replace: !0 });
18
+ function v({ policy: p, className: v }) {
19
+ let { t: y, i18n: b } = u(), [x, S] = l(), C = x.get(m) === "true", w = h(p), T = g(p), E = (e) => {
20
+ let t = new URLSearchParams(x);
21
+ e ? t.set(m, "true") : t.delete(m), S(t, { replace: !0 });
23
22
  };
24
- if (!E) return null;
25
- let O = (e) => {
23
+ if (!T) return null;
24
+ let D = (e) => {
26
25
  let t = Math.max(1, Math.round(e));
27
- return t >= 72 && t % 24 == 0 ? b("cancellation_policy_duration_days", { count: t / 24 }) : b("cancellation_policy_duration_hours", { count: t });
26
+ return t >= 72 && t % 24 == 0 ? y("cancellation_policy_duration_days", { count: t / 24 }) : y("cancellation_policy_duration_hours", { count: t });
28
27
  };
29
28
  return /* @__PURE__ */ c("li", {
30
- className: d("flex items-start gap-3", y),
29
+ className: v,
31
30
  "data-testid": "storefront-cancellation-policy-notice",
32
- children: [
33
- /* @__PURE__ */ s(f, {
31
+ children: [/* @__PURE__ */ c("button", {
32
+ type: "button",
33
+ className: "group flex w-full cursor-pointer items-start gap-3 rounded-md text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2",
34
+ "aria-label": y("cancellation_policy_info_aria_label"),
35
+ "aria-haspopup": "dialog",
36
+ "aria-expanded": C,
37
+ onClick: () => E(!0),
38
+ children: [/* @__PURE__ */ s(d, {
34
39
  className: "mt-0.5 h-5 w-5 shrink-0 text-success",
35
40
  "aria-hidden": "true"
36
- }),
37
- /* @__PURE__ */ c("div", {
41
+ }), /* @__PURE__ */ c("span", {
38
42
  className: "min-w-0 flex-1",
39
- children: [/* @__PURE__ */ c("div", {
43
+ children: [/* @__PURE__ */ c("span", {
40
44
  className: "flex min-w-0 items-start gap-1.5",
41
- children: [/* @__PURE__ */ s("p", {
45
+ children: [/* @__PURE__ */ s("span", {
42
46
  className: "min-w-0 text-sm font-medium text-slate-950",
43
- children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_teaser", { duration: O(E.upToHours) }) })
44
- }), /* @__PURE__ */ s("button", {
45
- type: "button",
46
- className: "mt-[-1px] inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-slate-500 transition hover:bg-slate-100 hover:text-slate-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2",
47
- "aria-label": b("cancellation_policy_info_aria_label"),
48
- onClick: () => D(!0),
49
- children: /* @__PURE__ */ s(p, {
47
+ children: y("cancellation_policy_teaser", { duration: D(T.upToHours) })
48
+ }), /* @__PURE__ */ s("span", {
49
+ className: "mt-[-1px] inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-slate-500 transition group-hover:bg-slate-100 group-hover:text-slate-950 group-focus-visible:bg-slate-100 group-focus-visible:text-slate-950",
50
+ children: /* @__PURE__ */ s(f, {
50
51
  className: "h-3.5 w-3.5",
51
52
  "aria-hidden": "true"
52
53
  })
53
54
  })]
54
- }), /* @__PURE__ */ s("p", {
55
- className: "text-xs text-slate-600",
56
- children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_teaser_description", { duration: O(E.upToHours) }) })
55
+ }), /* @__PURE__ */ s("span", {
56
+ className: "block text-xs text-slate-600",
57
+ children: y("cancellation_policy_teaser_description", { duration: D(T.upToHours) })
57
58
  })]
58
- }),
59
- /* @__PURE__ */ s(t, {
60
- open: w,
61
- onOpenChange: D,
62
- children: /* @__PURE__ */ s(n, {
63
- "data-testid": "storefront-cancellation-policy-modal",
64
- className: "overflow-hidden border-slate-200 bg-white p-0",
65
- desktopClassName: "max-w-lg gap-0",
66
- mobileClassName: "max-h-[92dvh] gap-0",
67
- children: /* @__PURE__ */ c("div", {
68
- className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
69
- children: [
70
- /* @__PURE__ */ s(a, {
71
- className: "border-b border-slate-200 px-5 py-4 text-left sm:px-6",
72
- children: /* @__PURE__ */ c("div", {
73
- className: "flex items-start gap-3",
74
- children: [/* @__PURE__ */ s(p, {
75
- className: "mt-0.5 h-5 w-5 shrink-0 text-success",
76
- "aria-hidden": "true"
77
- }), /* @__PURE__ */ c("span", {
78
- className: "min-w-0 space-y-1",
79
- children: [/* @__PURE__ */ s(o, {
80
- className: "text-left text-lg font-semibold leading-6 text-slate-950",
81
- children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_modal_title") })
82
- }), /* @__PURE__ */ s(r, {
83
- className: "text-left text-sm text-slate-600",
84
- children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_modal_description") })
85
- })]
59
+ })]
60
+ }), /* @__PURE__ */ s(t, {
61
+ open: C,
62
+ onOpenChange: E,
63
+ children: /* @__PURE__ */ s(n, {
64
+ "data-testid": "storefront-cancellation-policy-modal",
65
+ className: "overflow-hidden border-slate-200 bg-white p-0",
66
+ desktopClassName: "max-w-lg gap-0",
67
+ mobileClassName: "max-h-[92dvh] gap-0",
68
+ children: /* @__PURE__ */ c("div", {
69
+ className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
70
+ children: [
71
+ /* @__PURE__ */ s(a, {
72
+ className: "border-b border-slate-200 px-5 py-4 text-left sm:px-6",
73
+ children: /* @__PURE__ */ c("div", {
74
+ className: "flex items-start gap-3",
75
+ children: [/* @__PURE__ */ s(f, {
76
+ className: "mt-0.5 h-5 w-5 shrink-0 text-success",
77
+ "aria-hidden": "true"
78
+ }), /* @__PURE__ */ c("span", {
79
+ className: "min-w-0 space-y-1",
80
+ children: [/* @__PURE__ */ s(o, {
81
+ className: "text-left text-lg font-semibold leading-6 text-slate-950",
82
+ children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_title") })
83
+ }), /* @__PURE__ */ s(r, {
84
+ className: "text-left text-sm text-slate-600",
85
+ children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_description") })
86
86
  })]
87
- })
88
- }),
89
- /* @__PURE__ */ s("div", {
90
- className: "overflow-y-auto px-5 py-5 sm:px-6",
91
- children: /* @__PURE__ */ s("dl", {
92
- className: "grid gap-3",
93
- children: T.map((e) => /* @__PURE__ */ c("div", {
94
- className: "rounded-lg border border-slate-200 bg-slate-50 px-4 py-3",
95
- children: [/* @__PURE__ */ s("dt", {
96
- className: "text-sm font-medium text-slate-950",
97
- children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_modal_tier_deadline", { duration: O(e.upToHours) }) })
98
- }), /* @__PURE__ */ s("dd", {
99
- className: "mt-1 text-sm text-slate-600",
100
- children: /* @__PURE__ */ s("span", { children: b("cancellation_policy_modal_tier_refund", { percentage: v(e.refundPercentage, x.language) }) })
101
- })]
102
- }, `${e.upToHours}-${e.refundPercentage}`))
103
- })
104
- }),
105
- /* @__PURE__ */ s(i, {
106
- className: "border-t border-slate-200 px-5 py-4 sm:px-6",
107
- children: /* @__PURE__ */ s(e, {
108
- type: "button",
109
- variant: "outline",
110
- className: "h-11 w-full rounded-xl sm:w-auto",
111
- onClick: () => D(!1),
112
- children: /* @__PURE__ */ s("span", { children: b("close_modal") })
113
- })
87
+ })]
114
88
  })
115
- ]
116
- })
89
+ }),
90
+ /* @__PURE__ */ c("div", {
91
+ className: "overflow-y-auto",
92
+ children: [/* @__PURE__ */ s("dl", {
93
+ className: "divide-y divide-slate-200 border-b border-slate-200 bg-slate-50",
94
+ children: w.map((e) => /* @__PURE__ */ c("div", {
95
+ className: "px-5 py-4 sm:px-6",
96
+ children: [/* @__PURE__ */ s("dt", {
97
+ className: "text-sm font-medium text-slate-950",
98
+ children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_tier_deadline", { duration: D(e.upToHours) }) })
99
+ }), /* @__PURE__ */ s("dd", {
100
+ className: "mt-1 text-sm text-slate-600",
101
+ children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_tier_refund", { percentage: _(e.refundPercentage, b.language) }) })
102
+ })]
103
+ }, `${e.upToHours}-${e.refundPercentage}`))
104
+ }), /* @__PURE__ */ s("p", {
105
+ className: "px-5 py-4 text-base leading-6 text-slate-500 sm:px-6",
106
+ children: /* @__PURE__ */ s("span", { children: y("cancellation_policy_modal_disclaimer") })
107
+ })]
108
+ }),
109
+ /* @__PURE__ */ s(i, {
110
+ className: "border-t border-slate-200 px-5 py-4 sm:px-6",
111
+ children: /* @__PURE__ */ s(e, {
112
+ type: "button",
113
+ variant: "outline",
114
+ className: "h-11 w-full rounded-xl sm:w-auto",
115
+ onClick: () => E(!1),
116
+ children: /* @__PURE__ */ s("span", { children: y("close_modal") })
117
+ })
118
+ })
119
+ ]
117
120
  })
118
121
  })
119
- ]
122
+ })]
120
123
  });
121
124
  }
122
125
  //#endregion
123
- export { y as StorefrontCancellationPolicyNotice, _ as resolveStorefrontCancellationPolicyTeaserTier };
126
+ export { v as StorefrontCancellationPolicyNotice, g as resolveStorefrontCancellationPolicyTeaserTier };
@@ -36,12 +36,12 @@ function m({ lines: m, itemCount: h, totalPerBaseUnitMinor: g, baseUnitLabel: _,
36
36
  m.length === 0 ? /* @__PURE__ */ s("p", {
37
37
  className: "text-sm text-slate-600",
38
38
  children: /* @__PURE__ */ s("span", { children: F("cart_empty") })
39
- }) : /* @__PURE__ */ s("div", {
40
- className: "grid gap-3",
39
+ }) : /* @__PURE__ */ s("ul", {
40
+ className: "divide-y divide-slate-200",
41
41
  children: m.map((i) => {
42
42
  let o = e(i.unitPriceMinor, I.language), l = i.insufficientCapacity === !0, u = i.availabilityIssue === "quantity_unavailable" ? F("availability_quantity_unavailable") : F("availability_out_of_stock");
43
- return /* @__PURE__ */ c("div", {
44
- className: "flex items-start justify-between gap-3 rounded-xl border border-slate-200 p-3",
43
+ return /* @__PURE__ */ c("li", {
44
+ className: "flex items-start justify-between gap-3 py-4 first:pt-0 last:pb-0",
45
45
  children: [/* @__PURE__ */ c("div", {
46
46
  className: "flex min-w-0 flex-1 flex-col gap-1",
47
47
  children: [
@@ -2,8 +2,9 @@ import { BikeProduct } from '../../lib/products';
2
2
  type StorefrontInsuranceNoticeProps = {
3
3
  bikes: BikeProduct[];
4
4
  currency: string;
5
+ fallbackLanguage?: string;
5
6
  className?: string;
6
7
  };
7
- export declare function StorefrontInsuranceNotice({ bikes, currency, className, }: StorefrontInsuranceNoticeProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function StorefrontInsuranceNotice({ bikes, currency, fallbackLanguage, className, }: StorefrontInsuranceNoticeProps): import("react/jsx-runtime").JSX.Element;
8
9
  export {};
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontInsuranceNotice/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAOrD,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAWD,wBAAgB,yBAAyB,CAAC,EACxC,KAAK,EACL,QAAQ,EACR,SAAS,GACV,EAAE,8BAA8B,2CA+KhC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontInsuranceNotice/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAsC,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAOzF,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,SAAS,GACV,EAAE,8BAA8B,2CA2KhC"}
@@ -1,187 +1,180 @@
1
- import { formatStorefrontPriceMinor as e } from "../../lib/pricing.js";
2
- import { Button as t } from "../../ui/button.js";
3
- import { ResponsiveDialog as n, ResponsiveDialogContent as r, ResponsiveDialogDescription as i, ResponsiveDialogFooter as a, ResponsiveDialogHeader as o, ResponsiveDialogTitle as s } from "../../chunks/pkg/ui/dist/ResponsiveDialog-BJ0RG6gh.js";
4
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
- import { useSearchParams as u } from "@rpcbase/router";
6
- import { useTranslation as d } from "react-i18next";
7
- import { cn as f } from "@rpcbase/ui";
8
- import { CheckCircle2 as p, Info as m, Umbrella as h } from "lucide-react";
1
+ import { getLocalizedValue as e } from "../../localization.js";
2
+ import { findStorefrontInsurancePricingBike as t } from "../../lib/products.js";
3
+ import { formatStorefrontPriceMinor as n } from "../../lib/pricing.js";
4
+ import { Button as r } from "../../ui/button.js";
5
+ import { ResponsiveDialog as i, ResponsiveDialogContent as a, ResponsiveDialogDescription as o, ResponsiveDialogFooter as s, ResponsiveDialogHeader as c, ResponsiveDialogTitle as l } from "../../chunks/pkg/ui/dist/ResponsiveDialog-BJ0RG6gh.js";
6
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
+ import { useSearchParams as f } from "@rpcbase/router";
8
+ import { useTranslation as p } from "react-i18next";
9
+ import { CheckCircle2 as m, Info as h, Umbrella as g } from "lucide-react";
9
10
  //#region src/components/StorefrontInsuranceNotice/index.tsx
10
- var g = "show_insurance_modal", _ = (e, t) => {
11
- let n = e.filter((e) => e.kind === t && e.insurance?.enabled).map((e) => e.insurance?.pricePerDayMinor).filter((e) => typeof e == "number");
12
- return [...new Set(n)].sort((e, t) => e - t);
13
- };
14
- function v({ bikes: v, currency: y, className: b }) {
15
- let { t: x, i18n: S } = d(), [C, w] = u(), T = C.get(g) === "true", E = (e) => {
16
- let t = new URLSearchParams(C);
17
- e ? t.set(g, "true") : t.delete(g), w(t, { replace: !0 });
18
- }, D = (t) => {
19
- let n = _(v, t);
20
- if (n.length === 0) return x("insurance_modal_price_unavailable");
21
- let r = n[0], i = n[n.length - 1], a = e(r, S.language, { currency: y });
22
- return r === i ? x("insurance_modal_price_per_day", { price: a }) : x("insurance_modal_price_range_per_day", {
23
- minimum_price: a,
24
- maximum_price: e(i, S.language, { currency: y })
25
- });
26
- }, O = [{
27
- kind: "bike",
28
- label: x("insurance_modal_muscular_bike"),
29
- price: D("bike")
30
- }, {
31
- kind: "e-bike",
32
- label: x("insurance_modal_electric_bike"),
33
- price: D("e-bike")
34
- }];
35
- return /* @__PURE__ */ l("li", {
36
- className: f("flex items-start gap-3", b),
11
+ var _ = "show_insurance_modal";
12
+ function v({ bikes: v, currency: y, fallbackLanguage: b, className: x }) {
13
+ let { t: S, i18n: C } = p(), [w, T] = f(), E = w.get(_) === "true", D = (e) => {
14
+ let t = new URLSearchParams(w);
15
+ e ? t.set(_, "true") : t.delete(_), T(t, { replace: !0 });
16
+ }, O = (r, i) => {
17
+ let a = t(v, r), o = a?.insurance?.pricePerDayMinor;
18
+ return {
19
+ kind: r,
20
+ label: (a ? e(a.name, C.language, b).trim() : "") || i,
21
+ price: typeof o == "number" ? S("insurance_modal_price_per_day", { price: n(o, C.language, { currency: y }) }) : S("insurance_modal_price_unavailable")
22
+ };
23
+ }, k = [O("bike", S("insurance_modal_muscular_bike")), O("e-bike", S("insurance_modal_electric_bike"))];
24
+ return /* @__PURE__ */ d("li", {
25
+ className: x,
37
26
  "data-testid": "storefront-insurance-notice",
38
- children: [
39
- /* @__PURE__ */ c(h, {
27
+ children: [/* @__PURE__ */ d("button", {
28
+ type: "button",
29
+ className: "group flex w-full cursor-pointer items-start gap-3 rounded-md text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2",
30
+ "aria-label": S("insurance_info_aria_label"),
31
+ "aria-haspopup": "dialog",
32
+ "aria-expanded": E,
33
+ onClick: () => D(!0),
34
+ children: [/* @__PURE__ */ u(g, {
40
35
  className: "mt-0.5 h-5 w-5 shrink-0 text-success",
41
36
  "aria-hidden": "true"
42
- }),
43
- /* @__PURE__ */ l("div", {
37
+ }), /* @__PURE__ */ d("span", {
44
38
  className: "min-w-0 flex-1",
45
- children: [/* @__PURE__ */ l("div", {
39
+ children: [/* @__PURE__ */ d("span", {
46
40
  className: "flex min-w-0 items-start gap-1.5",
47
- children: [/* @__PURE__ */ c("p", {
41
+ children: [/* @__PURE__ */ u("span", {
48
42
  className: "min-w-0 text-sm font-medium text-slate-950",
49
- children: /* @__PURE__ */ c("span", { children: x("feature_guarantee_insurance_title") })
50
- }), /* @__PURE__ */ c("button", {
51
- type: "button",
52
- className: "mt-[-1px] inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-slate-500 transition hover:bg-slate-100 hover:text-slate-950 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-950 focus-visible:ring-offset-2",
53
- "aria-label": x("insurance_info_aria_label"),
54
- onClick: () => E(!0),
55
- children: /* @__PURE__ */ c(m, {
43
+ children: S("feature_guarantee_insurance_title")
44
+ }), /* @__PURE__ */ u("span", {
45
+ className: "mt-[-1px] inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-slate-500 transition group-hover:bg-slate-100 group-hover:text-slate-950 group-focus-visible:bg-slate-100 group-focus-visible:text-slate-950",
46
+ children: /* @__PURE__ */ u(h, {
56
47
  className: "h-3.5 w-3.5",
57
48
  "aria-hidden": "true"
58
49
  })
59
50
  })]
60
- }), /* @__PURE__ */ c("p", {
61
- className: "text-xs text-slate-600",
62
- children: /* @__PURE__ */ c("span", { children: x("feature_guarantee_insurance_description") })
51
+ }), /* @__PURE__ */ u("span", {
52
+ className: "block text-xs text-slate-600",
53
+ children: S("feature_guarantee_insurance_description")
63
54
  })]
64
- }),
65
- /* @__PURE__ */ c(n, {
66
- open: T,
67
- onOpenChange: E,
68
- children: /* @__PURE__ */ c(r, {
69
- "data-testid": "storefront-insurance-modal",
70
- className: "overflow-hidden border-slate-200 bg-white p-0",
71
- desktopClassName: "max-w-xl gap-0",
72
- mobileClassName: "max-h-[92dvh] gap-0",
73
- children: /* @__PURE__ */ l("div", {
74
- className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
75
- children: [
76
- /* @__PURE__ */ c(o, {
77
- className: "border-b border-slate-200 px-5 py-4 text-left sm:px-6",
78
- children: /* @__PURE__ */ l("div", {
79
- className: "flex items-start gap-3",
80
- children: [/* @__PURE__ */ c(m, {
81
- className: "mt-0.5 h-5 w-5 shrink-0 text-success",
82
- "aria-hidden": "true"
83
- }), /* @__PURE__ */ l("span", {
84
- className: "min-w-0 space-y-1",
85
- children: [/* @__PURE__ */ c(s, {
86
- className: "text-left text-lg font-semibold leading-6 text-slate-950",
87
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_title") })
88
- }), /* @__PURE__ */ c(i, {
89
- className: "text-left text-sm text-slate-600",
90
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_description") })
91
- })]
55
+ })]
56
+ }), /* @__PURE__ */ u(i, {
57
+ open: E,
58
+ onOpenChange: D,
59
+ children: /* @__PURE__ */ u(a, {
60
+ "data-testid": "storefront-insurance-modal",
61
+ className: "overflow-hidden border-slate-200 bg-white p-0",
62
+ desktopClassName: "max-w-xl gap-0",
63
+ mobileClassName: "max-h-[92dvh] gap-0",
64
+ children: /* @__PURE__ */ d("div", {
65
+ className: "flex max-h-[90dvh] w-full min-w-0 flex-col",
66
+ children: [
67
+ /* @__PURE__ */ u(c, {
68
+ className: "border-b border-slate-200 px-5 py-4 text-left sm:px-6",
69
+ children: /* @__PURE__ */ d("div", {
70
+ className: "flex items-start gap-3",
71
+ children: [/* @__PURE__ */ u(h, {
72
+ className: "mt-0.5 h-5 w-5 shrink-0 text-success",
73
+ "aria-hidden": "true"
74
+ }), /* @__PURE__ */ d("span", {
75
+ className: "min-w-0 space-y-1",
76
+ children: [/* @__PURE__ */ u(l, {
77
+ className: "text-left text-lg font-semibold leading-6 text-slate-950",
78
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_title") })
79
+ }), /* @__PURE__ */ u(o, {
80
+ className: "text-left text-sm text-slate-600",
81
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_description") })
92
82
  })]
93
- })
94
- }),
95
- /* @__PURE__ */ l("div", {
96
- className: "overflow-y-auto px-5 py-5 sm:px-6",
97
- children: [
98
- /* @__PURE__ */ l("section", { children: [
99
- /* @__PURE__ */ c("h3", {
100
- className: "text-sm font-semibold text-slate-950",
101
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_pricing_title") })
102
- }),
103
- /* @__PURE__ */ c("p", {
83
+ })]
84
+ })
85
+ }),
86
+ /* @__PURE__ */ d("div", {
87
+ className: "overflow-y-auto",
88
+ children: [
89
+ /* @__PURE__ */ d("section", {
90
+ className: "border-b border-slate-200 bg-slate-50",
91
+ "data-testid": "storefront-insurance-pricing-section",
92
+ children: [/* @__PURE__ */ d("div", {
93
+ className: "px-5 py-4 sm:px-6",
94
+ children: [/* @__PURE__ */ u("h3", {
95
+ className: "text-base font-semibold text-slate-950",
96
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_pricing_title") })
97
+ }), /* @__PURE__ */ u("p", {
104
98
  className: "mt-1 text-sm text-slate-600",
105
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_pricing_description") })
106
- }),
107
- /* @__PURE__ */ c("dl", {
108
- className: "mt-3 grid gap-3 sm:grid-cols-2",
109
- children: O.map((e) => /* @__PURE__ */ l("div", {
110
- className: "rounded-lg border border-slate-200 bg-slate-50 px-4 py-3",
111
- "data-testid": `storefront-insurance-price-${e.kind}`,
112
- children: [/* @__PURE__ */ c("dt", {
113
- className: "text-sm font-medium text-slate-950",
114
- children: /* @__PURE__ */ c("span", { children: e.label })
115
- }), /* @__PURE__ */ c("dd", {
116
- className: "mt-1 text-sm text-slate-600",
117
- children: /* @__PURE__ */ c("span", { children: e.price })
118
- })]
119
- }, e.kind))
120
- })
121
- ] }),
122
- /* @__PURE__ */ l("section", {
123
- className: "mt-5",
124
- children: [/* @__PURE__ */ c("h3", {
125
- className: "text-sm font-semibold text-slate-950",
126
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_coverage_title") })
127
- }), /* @__PURE__ */ c("ul", {
128
- className: "mt-2 grid gap-2",
129
- children: [
130
- x("insurance_modal_coverage_accidental_damage"),
131
- x("insurance_modal_coverage_assault_or_break_in"),
132
- x("insurance_modal_coverage_secured_bike_theft")
133
- ].map((e) => /* @__PURE__ */ l("li", {
134
- className: "flex items-start gap-2 text-sm text-slate-600",
135
- children: [/* @__PURE__ */ c(p, {
136
- className: "mt-0.5 h-4 w-4 shrink-0 text-success",
137
- "aria-hidden": "true"
138
- }), /* @__PURE__ */ c("span", { children: e })]
139
- }, e))
99
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_pricing_description") })
140
100
  })]
141
- }),
142
- /* @__PURE__ */ l("div", {
143
- className: "mt-5 grid gap-4 sm:grid-cols-2",
144
- children: [/* @__PURE__ */ l("section", {
145
- className: "rounded-lg border border-slate-200 px-4 py-3",
146
- children: [/* @__PURE__ */ c("h3", {
147
- className: "text-sm font-semibold text-slate-950",
148
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_claim_title") })
149
- }), /* @__PURE__ */ c("p", {
150
- className: "mt-1 text-sm text-slate-600",
151
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_claim_description") })
152
- })]
153
- }), /* @__PURE__ */ l("section", {
154
- className: "rounded-lg border border-slate-200 px-4 py-3",
155
- children: [/* @__PURE__ */ c("h3", {
156
- className: "text-sm font-semibold text-slate-950",
157
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_exclusions_title") })
158
- }), /* @__PURE__ */ c("p", {
101
+ }), /* @__PURE__ */ u("dl", {
102
+ className: "grid divide-y divide-slate-200 border-t border-slate-200 sm:grid-cols-2 sm:divide-x sm:divide-y-0",
103
+ children: k.map((e) => /* @__PURE__ */ d("div", {
104
+ className: "px-5 py-4 sm:px-6",
105
+ "data-testid": `storefront-insurance-price-${e.kind}`,
106
+ children: [/* @__PURE__ */ u("dt", {
107
+ className: "text-sm font-medium text-slate-950",
108
+ children: /* @__PURE__ */ u("span", { children: e.label })
109
+ }), /* @__PURE__ */ u("dd", {
159
110
  className: "mt-1 text-sm text-slate-600",
160
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_exclusions_description") })
111
+ children: /* @__PURE__ */ u("span", { children: e.price })
161
112
  })]
113
+ }, e.kind))
114
+ })]
115
+ }),
116
+ /* @__PURE__ */ d("section", {
117
+ className: "border-b border-slate-200 px-5 py-5 sm:px-6",
118
+ children: [/* @__PURE__ */ u("h3", {
119
+ className: "text-base font-semibold text-slate-950",
120
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_coverage_title") })
121
+ }), /* @__PURE__ */ u("ul", {
122
+ className: "mt-3 grid gap-2.5",
123
+ children: [
124
+ S("insurance_modal_coverage_accidental_damage"),
125
+ S("insurance_modal_coverage_assault_or_break_in"),
126
+ S("insurance_modal_coverage_secured_bike_theft")
127
+ ].map((e) => /* @__PURE__ */ d("li", {
128
+ className: "flex items-start gap-2 text-sm leading-5 text-slate-600",
129
+ children: [/* @__PURE__ */ u(m, {
130
+ className: "mt-0.5 h-4 w-4 shrink-0 text-success",
131
+ "aria-hidden": "true"
132
+ }), /* @__PURE__ */ u("span", { children: e })]
133
+ }, e))
134
+ })]
135
+ }),
136
+ /* @__PURE__ */ d("div", {
137
+ className: "grid divide-y divide-slate-200 border-b border-slate-200 sm:grid-cols-2 sm:divide-x sm:divide-y-0",
138
+ children: [/* @__PURE__ */ d("section", {
139
+ className: "px-5 py-5 sm:px-6",
140
+ children: [/* @__PURE__ */ u("h3", {
141
+ className: "text-base font-semibold text-slate-950",
142
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_claim_title") })
143
+ }), /* @__PURE__ */ u("p", {
144
+ className: "mt-2 text-sm leading-5 text-slate-600",
145
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_claim_description") })
146
+ })]
147
+ }), /* @__PURE__ */ d("section", {
148
+ className: "px-5 py-5 sm:px-6",
149
+ children: [/* @__PURE__ */ u("h3", {
150
+ className: "text-base font-semibold text-slate-950",
151
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_exclusions_title") })
152
+ }), /* @__PURE__ */ u("p", {
153
+ className: "mt-2 text-sm leading-5 text-slate-600",
154
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_exclusions_description") })
162
155
  })]
163
- }),
164
- /* @__PURE__ */ c("p", {
165
- className: "mt-4 rounded-lg bg-slate-100 px-4 py-3 text-xs leading-5 text-slate-600",
166
- children: /* @__PURE__ */ c("span", { children: x("insurance_modal_terms_note") })
167
- })
168
- ]
169
- }),
170
- /* @__PURE__ */ c(a, {
171
- className: "border-t border-slate-200 px-5 py-4 sm:px-6",
172
- children: /* @__PURE__ */ c(t, {
173
- type: "button",
174
- variant: "outline",
175
- className: "h-11 w-full rounded-xl sm:w-auto",
176
- onClick: () => E(!1),
177
- children: /* @__PURE__ */ c("span", { children: x("close_modal") })
156
+ })]
157
+ }),
158
+ /* @__PURE__ */ u("p", {
159
+ className: "bg-slate-50 px-5 py-4 text-base leading-6 text-slate-600 sm:px-6",
160
+ children: /* @__PURE__ */ u("span", { children: S("insurance_modal_terms_note") })
178
161
  })
162
+ ]
163
+ }),
164
+ /* @__PURE__ */ u(s, {
165
+ className: "border-t border-slate-200 px-5 py-4 sm:px-6",
166
+ children: /* @__PURE__ */ u(r, {
167
+ type: "button",
168
+ variant: "outline",
169
+ className: "h-11 w-full rounded-xl sm:w-auto",
170
+ onClick: () => D(!1),
171
+ children: /* @__PURE__ */ u("span", { children: S("close_modal") })
179
172
  })
180
- ]
181
- })
173
+ })
174
+ ]
182
175
  })
183
176
  })
184
- ]
177
+ })]
185
178
  });
186
179
  }
187
180
  //#endregion
package/dist/i18n/en.d.ts CHANGED
@@ -19,6 +19,12 @@ export declare const storefront: {
19
19
  checkout_button: string;
20
20
  storefront_popup_title_fallback: string;
21
21
  status_open: string;
22
+ status_closed: string;
23
+ status_hours_unavailable: string;
24
+ status_opens_at: string;
25
+ status_opens_at_tomorrow: string;
26
+ status_opens_on: string;
27
+ status_opens_on_date: string;
22
28
  business_hours_modal_title: string;
23
29
  business_hours_modal_description: string;
24
30
  business_hours_google_maps_note: string;
@@ -40,7 +46,6 @@ export declare const storefront: {
40
46
  insurance_modal_muscular_bike: string;
41
47
  insurance_modal_electric_bike: string;
42
48
  insurance_modal_price_per_day: string;
43
- insurance_modal_price_range_per_day: string;
44
49
  insurance_modal_price_unavailable: string;
45
50
  insurance_modal_coverage_title: string;
46
51
  insurance_modal_coverage_accidental_damage: string;
@@ -58,6 +63,7 @@ export declare const storefront: {
58
63
  cancellation_policy_modal_description: string;
59
64
  cancellation_policy_modal_tier_deadline: string;
60
65
  cancellation_policy_modal_tier_refund: string;
66
+ cancellation_policy_modal_disclaimer: string;
61
67
  cancellation_policy_duration_hours_one: string;
62
68
  cancellation_policy_duration_hours_other: string;
63
69
  cancellation_policy_duration_days_one: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6ftB,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmgBtB,CAAA"}