@salla.sa/twilight-components 2.14.453 → 2.14.455

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 (335) hide show
  1. package/dist/cjs/{filepond-CI66KMVO.js → filepond-CASXTVVn.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CBGq8ES2.js → filepond-plugin-file-poster-NwV0t9zF.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Hsu_GUsE.js → filepond-plugin-file-validate-size-S-_ZCnL0.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CSvG7Q9E.js → filepond-plugin-file-validate-type-8fAsih_V.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-DmkDmRS0.js → filepond-plugin-image-edit-BdKPXtEG.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-GPV7AlAH.js → filepond-plugin-image-exif-orientation-iTp4daNS.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CnaFJEOv.js → filepond-plugin-image-preview-D5CX6xww.js} +1 -1
  8. package/dist/cjs/{functions-Bqin1z7b.js → functions-BlV_viZ0.js} +36 -8
  9. package/dist/cjs/{index-BZVIkGyK.js → index-BANBu7pv.js} +1 -1
  10. package/dist/cjs/{index-gD7UGzCL.js → index-CXqniRSt.js} +3 -3
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +68 -6
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +7 -3
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +2 -2
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +3 -3
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +32 -10
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +4 -4
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +11 -5
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  50. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-reward-action_4.cjs.entry.js +14 -11
  83. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  98. package/dist/cjs/{tracked-promise-D-r7wmoZ.js → tracked-promise-TlVxYBIU.js} +1 -1
  99. package/dist/cjs/{translations-DMwpLvqi.js → translations-BHyDCj-Y.js} +12 -0
  100. package/dist/cjs/twilight.cjs.js +1 -1
  101. package/dist/cjs/{vanilla-picker-Bls8gs8C.js → vanilla-picker-B3HS631p.js} +1 -1
  102. package/dist/collection/components/salla-bought-together/salla-bought-together.js +67 -5
  103. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +6 -2
  104. package/dist/collection/components/salla-loyalty-program/functions.js +22 -7
  105. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +31 -9
  106. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +7 -1
  107. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  108. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +4 -1
  109. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  110. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  111. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  112. package/dist/collection/components/salla-loyalty-program/translations.js +12 -0
  113. package/dist/components/functions.js +35 -8
  114. package/dist/components/index.js +3 -3
  115. package/dist/components/salla-bought-together.js +67 -5
  116. package/dist/components/salla-bullet-delivery.js +6 -2
  117. package/dist/components/salla-loyalty-point2.js +31 -9
  118. package/dist/components/salla-loyalty-program.js +7 -1
  119. package/dist/components/salla-loyalty-reward.js +2 -2
  120. package/dist/components/salla-reward-action2.js +4 -1
  121. package/dist/components/salla-reward-card2.js +1 -1
  122. package/dist/components/salla-reward-details2.js +3 -3
  123. package/dist/components/salla-reward-exchange2.js +3 -3
  124. package/dist/components/translations.js +12 -0
  125. package/dist/esm/{filepond-CA-bRwmz.js → filepond-HUxLccYt.js} +1 -1
  126. package/dist/esm/{filepond-plugin-file-poster-CGF3FiKD.js → filepond-plugin-file-poster-CKU5WMer.js} +1 -1
  127. package/dist/esm/{filepond-plugin-file-validate-size-83VtyXAg.js → filepond-plugin-file-validate-size-BJ7uOb2z.js} +1 -1
  128. package/dist/esm/{filepond-plugin-file-validate-type-DK5fI0Pp.js → filepond-plugin-file-validate-type-ZilEA2CP.js} +1 -1
  129. package/dist/esm/{filepond-plugin-image-edit-DiW845Zb.js → filepond-plugin-image-edit-k3H2LHPc.js} +1 -1
  130. package/dist/esm/{filepond-plugin-image-exif-orientation-DuJRdepD.js → filepond-plugin-image-exif-orientation-C1fWSMsF.js} +1 -1
  131. package/dist/esm/{filepond-plugin-image-preview-CE3Z4l9U.js → filepond-plugin-image-preview-CBiR7yYc.js} +1 -1
  132. package/dist/esm/{functions-ByUw56nX.js → functions-BUK_6AVv.js} +36 -9
  133. package/dist/esm/{index-DuhQONDF.js → index-B27mc3DA.js} +3 -3
  134. package/dist/esm/{index-CDZKvBjs.js → index-B8tvf2Er.js} +1 -1
  135. package/dist/esm/loader.js +2 -2
  136. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  137. package/dist/esm/salla-accordion_6.entry.js +1 -1
  138. package/dist/esm/salla-add-product-button_5.entry.js +68 -6
  139. package/dist/esm/salla-advertisement.entry.js +1 -1
  140. package/dist/esm/salla-alert_2.entry.js +1 -1
  141. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  142. package/dist/esm/salla-apps-icons.entry.js +1 -1
  143. package/dist/esm/salla-badge.entry.js +1 -1
  144. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  145. package/dist/esm/salla-bullet-delivery_2.entry.js +7 -3
  146. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  147. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  148. package/dist/esm/salla-cashback-banner.entry.js +2 -2
  149. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  150. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  151. package/dist/esm/salla-contacts.entry.js +1 -1
  152. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  153. package/dist/esm/salla-count-down.entry.js +1 -1
  154. package/dist/esm/salla-custom-fields.entry.js +1 -1
  155. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  156. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  157. package/dist/esm/salla-filters-widget.entry.js +1 -1
  158. package/dist/esm/salla-filters.entry.js +1 -1
  159. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  160. package/dist/esm/salla-gifting.entry.js +1 -1
  161. package/dist/esm/salla-hook.entry.js +1 -1
  162. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  163. package/dist/esm/salla-installment.entry.js +1 -1
  164. package/dist/esm/salla-list-tile.entry.js +1 -1
  165. package/dist/esm/salla-localization-modal.entry.js +1 -1
  166. package/dist/esm/salla-login-modal.entry.js +1 -1
  167. package/dist/esm/salla-loyalty-banner.entry.js +3 -3
  168. package/dist/esm/salla-loyalty-hero_2.entry.js +32 -10
  169. package/dist/esm/salla-loyalty-panel.entry.js +4 -4
  170. package/dist/esm/salla-loyalty-points-banner.entry.js +2 -2
  171. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  172. package/dist/esm/salla-loyalty-program.entry.js +11 -5
  173. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  174. package/dist/esm/salla-loyalty.entry.js +1 -1
  175. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  176. package/dist/esm/salla-map.entry.js +1 -1
  177. package/dist/esm/salla-menu.entry.js +1 -1
  178. package/dist/esm/salla-metadata.entry.js +1 -1
  179. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  180. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  181. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  182. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  183. package/dist/esm/salla-notification-item.entry.js +1 -1
  184. package/dist/esm/salla-notifications.entry.js +1 -1
  185. package/dist/esm/salla-offer-modal.entry.js +1 -1
  186. package/dist/esm/salla-offer.entry.js +1 -1
  187. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  188. package/dist/esm/salla-order-details-options.entry.js +1 -1
  189. package/dist/esm/salla-order-details.entry.js +1 -1
  190. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  191. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  192. package/dist/esm/salla-order-edit.entry.js +1 -1
  193. package/dist/esm/salla-order-summary.entry.js +1 -1
  194. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  195. package/dist/esm/salla-orders.entry.js +1 -1
  196. package/dist/esm/salla-payments.entry.js +1 -1
  197. package/dist/esm/salla-placeholder.entry.js +1 -1
  198. package/dist/esm/salla-price-range.entry.js +1 -1
  199. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  200. package/dist/esm/salla-product-card_2.entry.js +1 -1
  201. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  202. package/dist/esm/salla-products-list.entry.js +1 -1
  203. package/dist/esm/salla-progress-bar.entry.js +1 -1
  204. package/dist/esm/salla-quick-order.entry.js +1 -1
  205. package/dist/esm/salla-rating-modal.entry.js +1 -1
  206. package/dist/esm/salla-reward-action_4.entry.js +14 -11
  207. package/dist/esm/salla-scopes.entry.js +1 -1
  208. package/dist/esm/salla-search.entry.js +1 -1
  209. package/dist/esm/salla-skeleton.entry.js +1 -1
  210. package/dist/esm/salla-slider.entry.js +1 -1
  211. package/dist/esm/salla-social-share.entry.js +1 -1
  212. package/dist/esm/salla-social.entry.js +1 -1
  213. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  214. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  215. package/dist/esm/salla-tooltip.entry.js +1 -1
  216. package/dist/esm/salla-trust-badges.entry.js +1 -1
  217. package/dist/esm/salla-user-menu.entry.js +1 -1
  218. package/dist/esm/salla-user-profile.entry.js +1 -1
  219. package/dist/esm/salla-user-settings.entry.js +1 -1
  220. package/dist/esm/salla-verify.entry.js +1 -1
  221. package/dist/esm/salla-wallet.entry.js +1 -1
  222. package/dist/esm/{tracked-promise-D8BEggEx.js → tracked-promise-BhMK_w_-.js} +1 -1
  223. package/dist/esm/{translations-B-Rj6b9M.js → translations-dn_hTofo.js} +12 -0
  224. package/dist/esm/twilight.js +2 -2
  225. package/dist/esm/{vanilla-picker-rczekglZ.js → vanilla-picker-CqDptb8B.js} +1 -1
  226. package/dist/twilight/{p-759d043a.entry.js → p-0154dd29.entry.js} +1 -1
  227. package/dist/twilight/{p-0372d190.entry.js → p-01fd4f64.entry.js} +1 -1
  228. package/dist/twilight/{p-372157de.entry.js → p-025899d4.entry.js} +1 -1
  229. package/dist/twilight/{p-ff6e1a63.entry.js → p-02c191cb.entry.js} +1 -1
  230. package/dist/twilight/{p-3cbaa7f2.entry.js → p-033a25d9.entry.js} +1 -1
  231. package/dist/twilight/{p-c0ad861a.entry.js → p-04555243.entry.js} +1 -1
  232. package/dist/twilight/{p-59171f9a.entry.js → p-099511cb.entry.js} +1 -1
  233. package/dist/twilight/{p-4304d8dc.entry.js → p-09fa0a96.entry.js} +1 -1
  234. package/dist/twilight/{p-86c591e2.entry.js → p-0a5bffbb.entry.js} +1 -1
  235. package/dist/twilight/{p-d647e29f.entry.js → p-0c369b88.entry.js} +1 -1
  236. package/dist/twilight/{p-8abe7b8f.entry.js → p-0cce3436.entry.js} +1 -1
  237. package/dist/twilight/{p-38a6f460.entry.js → p-0d42f5f7.entry.js} +1 -1
  238. package/dist/twilight/{p-e3736f87.entry.js → p-0d733ece.entry.js} +1 -1
  239. package/dist/twilight/{p-58fdeedc.entry.js → p-14ca613a.entry.js} +1 -1
  240. package/dist/twilight/{p-08b7f768.entry.js → p-1952dfe2.entry.js} +1 -1
  241. package/dist/twilight/{p-cefb9ceb.entry.js → p-1c717064.entry.js} +1 -1
  242. package/dist/twilight/{p-799f30e2.entry.js → p-1eadcb01.entry.js} +1 -1
  243. package/dist/twilight/{p-a652277b.entry.js → p-224aeae6.entry.js} +1 -1
  244. package/dist/twilight/{p-34f6ae6d.entry.js → p-22cdee08.entry.js} +1 -1
  245. package/dist/twilight/{p-83e6fef8.entry.js → p-27c704c4.entry.js} +1 -1
  246. package/dist/twilight/{p-11747cf8.entry.js → p-28880d56.entry.js} +1 -1
  247. package/dist/twilight/p-295ed7eb.entry.js +4 -0
  248. package/dist/twilight/{p-0a4586ca.entry.js → p-2ad70328.entry.js} +1 -1
  249. package/dist/twilight/{p-18c8c629.entry.js → p-2f2d596c.entry.js} +1 -1
  250. package/dist/twilight/{p-2fbde35a.entry.js → p-3194b8f1.entry.js} +1 -1
  251. package/dist/twilight/{p-c826dc76.entry.js → p-349723b8.entry.js} +1 -1
  252. package/dist/twilight/{p-54fb9654.entry.js → p-37fa2c33.entry.js} +1 -1
  253. package/dist/twilight/{p-528b8028.entry.js → p-3869c01a.entry.js} +1 -1
  254. package/dist/twilight/{p-a4541cb8.entry.js → p-39521cc9.entry.js} +1 -1
  255. package/dist/twilight/{p-2170acb4.entry.js → p-3a824c45.entry.js} +1 -1
  256. package/dist/twilight/{p-5d611546.entry.js → p-3ce0ec88.entry.js} +1 -1
  257. package/dist/twilight/{p-ae0bdaad.entry.js → p-3dcf296d.entry.js} +1 -1
  258. package/dist/twilight/{p-4d951693.entry.js → p-3fe0b0d9.entry.js} +1 -1
  259. package/dist/twilight/{p-71970ff4.entry.js → p-4365ccdf.entry.js} +1 -1
  260. package/dist/twilight/{p-60816f61.entry.js → p-45e86a35.entry.js} +1 -1
  261. package/dist/twilight/{p-b7756fec.entry.js → p-496b138e.entry.js} +1 -1
  262. package/dist/twilight/{p-a91f1358.entry.js → p-4cc417ec.entry.js} +1 -1
  263. package/dist/twilight/{p-f96e2074.entry.js → p-4e340653.entry.js} +1 -1
  264. package/dist/twilight/{p-f2748268.entry.js → p-52dccf8f.entry.js} +1 -1
  265. package/dist/twilight/{p-6fc8780f.entry.js → p-5414f877.entry.js} +1 -1
  266. package/dist/twilight/{p-d3976258.entry.js → p-583fbeac.entry.js} +1 -1
  267. package/dist/twilight/{p-47a3ce29.entry.js → p-63453993.entry.js} +1 -1
  268. package/dist/twilight/{p-f0012532.entry.js → p-7054b12e.entry.js} +1 -1
  269. package/dist/twilight/{p-5c918928.entry.js → p-708c9d55.entry.js} +1 -1
  270. package/dist/twilight/{p-15682643.entry.js → p-716fa631.entry.js} +1 -1
  271. package/dist/twilight/{p-453e4a72.entry.js → p-7170bbe5.entry.js} +1 -1
  272. package/dist/twilight/{p-a0d7c935.entry.js → p-731ddff8.entry.js} +1 -1
  273. package/dist/twilight/{p-67cc7166.entry.js → p-77adb9d5.entry.js} +1 -1
  274. package/dist/twilight/{p-5f11aa48.entry.js → p-7d79041c.entry.js} +1 -1
  275. package/dist/twilight/{p-b06aab6f.entry.js → p-8610d773.entry.js} +1 -1
  276. package/dist/twilight/{p-26d213c4.entry.js → p-873b3598.entry.js} +1 -1
  277. package/dist/twilight/{p-e19fe246.entry.js → p-87691e20.entry.js} +1 -1
  278. package/dist/twilight/{p-9ac8a7ac.entry.js → p-88309e40.entry.js} +1 -1
  279. package/dist/twilight/{p-1017e250.entry.js → p-8a07799b.entry.js} +1 -1
  280. package/dist/twilight/{p-40951b40.entry.js → p-8b775b6c.entry.js} +1 -1
  281. package/dist/twilight/{p-6ff0931f.entry.js → p-8cc38fe2.entry.js} +1 -1
  282. package/dist/twilight/{p-37f80d28.entry.js → p-8ebc59c6.entry.js} +1 -1
  283. package/dist/twilight/{p-2a6c1741.entry.js → p-9608cb48.entry.js} +1 -1
  284. package/dist/twilight/p-9856394d.entry.js +4 -0
  285. package/dist/twilight/{p-f8a71d06.entry.js → p-9ac73546.entry.js} +1 -1
  286. package/dist/twilight/{p-576644de.entry.js → p-9ada1f3d.entry.js} +1 -1
  287. package/dist/twilight/{p-DuhQONDF.js → p-B27mc3DA.js} +2 -2
  288. package/dist/twilight/{p-BKFpjRDB.js → p-BDVAyd15.js} +1 -1
  289. package/dist/twilight/{p-BsgWQKc7.js → p-BUeUpASK.js} +1 -1
  290. package/dist/twilight/{p-B3G9rfPC.js → p-C8a5AE0g.js} +1 -1
  291. package/dist/twilight/{p-bJly2Q9f.js → p-CJxdBsuY.js} +1 -1
  292. package/dist/twilight/{p-5g_iyHqw.js → p-D6ttjw8h.js} +1 -1
  293. package/dist/twilight/{p-CGfi0Jw5.js → p-DNVKaOjC.js} +1 -1
  294. package/dist/twilight/{p-Dl_ZiF1l.js → p-DXVnxhxo.js} +1 -1
  295. package/dist/twilight/p-Tj_9K_OT.js +4 -0
  296. package/dist/twilight/{p-7538d1ca.entry.js → p-a3fb3aa0.entry.js} +1 -1
  297. package/dist/twilight/{p-cacf40b0.entry.js → p-a5b876da.entry.js} +1 -1
  298. package/dist/twilight/{p-69d44de0.entry.js → p-a74c0330.entry.js} +1 -1
  299. package/dist/twilight/{p-b6f8c8c1.entry.js → p-a9200d8b.entry.js} +1 -1
  300. package/dist/twilight/{p-f7d53109.entry.js → p-acf1d397.entry.js} +1 -1
  301. package/dist/twilight/{p-a66afb4d.entry.js → p-af896a9c.entry.js} +1 -1
  302. package/dist/twilight/{p-c95c6d89.entry.js → p-b151943e.entry.js} +1 -1
  303. package/dist/twilight/{p-3d099804.entry.js → p-bc2df32d.entry.js} +1 -1
  304. package/dist/twilight/{p-f96e6132.entry.js → p-c014a283.entry.js} +1 -1
  305. package/dist/twilight/{p-2786dded.entry.js → p-c151d43a.entry.js} +1 -1
  306. package/dist/twilight/p-c6d833e5.entry.js +4 -0
  307. package/dist/twilight/p-caa938d4.entry.js +4 -0
  308. package/dist/twilight/{p-9ab434b1.entry.js → p-cc5f66f2.entry.js} +1 -1
  309. package/dist/twilight/{p-67c261a1.entry.js → p-df76f90f.entry.js} +1 -1
  310. package/dist/twilight/p-dn_hTofo.js +4 -0
  311. package/dist/twilight/{p-ca4473c0.entry.js → p-e0810a73.entry.js} +6 -6
  312. package/dist/twilight/{p-dcbd726f.entry.js → p-e0d55016.entry.js} +1 -1
  313. package/dist/twilight/{p-1aee25ae.entry.js → p-e9b8ac57.entry.js} +1 -1
  314. package/dist/twilight/{p-4f12e7c1.entry.js → p-eb395203.entry.js} +1 -1
  315. package/dist/twilight/{p-e0e40938.entry.js → p-ef2fbf89.entry.js} +1 -1
  316. package/dist/twilight/{p-45cd6429.entry.js → p-f1c1c640.entry.js} +1 -1
  317. package/dist/twilight/{p-795a49f3.entry.js → p-f1c253a9.entry.js} +1 -1
  318. package/dist/twilight/{p-88b678c5.entry.js → p-f7139cc6.entry.js} +1 -1
  319. package/dist/twilight/{p-2007425d.entry.js → p-f762c572.entry.js} +1 -1
  320. package/dist/twilight/{p-f7adbf64.entry.js → p-f8f54860.entry.js} +1 -1
  321. package/dist/twilight/{p-2c2939d4.entry.js → p-ffe3256d.entry.js} +1 -1
  322. package/dist/twilight/{p-C4dBxoYB.js → p-kzSVkHK7.js} +1 -1
  323. package/dist/twilight/{p-D6K__xxx.js → p-oKl48ETd.js} +1 -1
  324. package/dist/twilight/{p-Cy7YnDlp.js → p-twQLVtaI.js} +1 -1
  325. package/dist/twilight/twilight.esm.js +1 -1
  326. package/dist/types/components/salla-bought-together/salla-bought-together.d.ts +9 -0
  327. package/dist/types/components/salla-loyalty-program/functions.d.ts +3 -1
  328. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +3 -0
  329. package/package.json +5 -5
  330. package/dist/twilight/p-273d6a6e.entry.js +0 -4
  331. package/dist/twilight/p-4de3236d.entry.js +0 -4
  332. package/dist/twilight/p-6a0cf220.entry.js +0 -4
  333. package/dist/twilight/p-B-Rj6b9M.js +0 -4
  334. package/dist/twilight/p-DmbvyZsW.js +0 -4
  335. package/dist/twilight/p-ac41b9ff.entry.js +0 -4
@@ -1,11 +1,12 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-ByUw56nX.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
+ import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-BUK_6AVv.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
8
8
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
9
+ import { S as SITag } from './tag-cgSL_BIo.js';
9
10
  import { S as SIMail } from './mail-DLNIOD9t.js';
10
11
  import { S as SICalendar } from './calendar-BkmanTR_.js';
11
12
  import { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
@@ -79,11 +80,16 @@ const sallaLoyaltyProgramCss = "";
79
80
  * pos - sicon-store
80
81
  * fill profile - sicon-user-add
81
82
  */
83
+ const c = (...args) => args.map(i => 's-loyalty-program-' + i).join(' ');
82
84
  const sicons = {
83
85
  'FIRST_ORDER_STORE_FOR_UNIT': h("span", { innerHTML: SICart2 }),
86
+ 'FIRST_ORDER_STORE_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
84
87
  'FIRST_ORDER_STORE_FIX_AMOUNT': h("span", { innerHTML: SICart2 }),
88
+ 'FIRST_ORDER_STORE_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
85
89
  'ORDER_FROM_APP_FOR_UNIT': h("span", { innerHTML: SICart2 }),
90
+ 'ORDER_FROM_APP_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
86
91
  'ORDER_FROM_APP_FIX_AMOUNT': h("span", { innerHTML: SICart2 }),
92
+ 'ORDER_FROM_APP_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
87
93
  'CONDITION_RATING_SHIPPING_STORE': h("span", { innerHTML: SIStore }),
88
94
  'CONDITION_RATING_PRODUCT': h("span", { innerHTML: SIChatConversationAlt }),
89
95
  'CONDITION_RATING_SHIPPING_COMPANY': h("span", { innerHTML: SIShipping }),
@@ -92,13 +98,17 @@ const sicons = {
92
98
  'CONDITION_COMPLETE_PERSONAL_INFORMATION_MOBILE': h("span", { innerHTML: SIiPhoneX }),
93
99
  'CONDITION_COMPLETE_PERSONAL_INFORMATION_GENDER': h("span", { innerHTML: SIUser }),
94
100
  'CONDITION_BUY_FROM_STORE_FOR_UNIT': h("span", { innerHTML: SICart2 }),
101
+ 'CONDITION_BUY_FROM_STORE_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
95
102
  'CONDITION_BUY_FROM_STORE_FIX_AMOUNT': h("span", { innerHTML: SICart2 }),
103
+ 'CONDITION_BUY_FROM_STORE_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
96
104
  'order_from_pos_1': h("span", { innerHTML: SIiPhoneX }),
97
105
  'order_from_pos_2': h("span", { innerHTML: Location }),
98
106
  'buy_from_pos_1': h("span", { innerHTML: SIMapLocation }),
99
107
  'buy_from_pos_2': h("span", { innerHTML: SIiPhoneX }),
100
108
  'CONDITION_BUY_FROM_POS_FOR_UNIT': h("span", { innerHTML: SIiPhoneX }),
109
+ 'CONDITION_BUY_FROM_POS_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SIiPhoneX }),
101
110
  'CONDITION_BUY_FROM_POS_FIX_AMOUNT': h("span", { innerHTML: SIiPhoneX }),
111
+ 'CONDITION_BUY_FROM_POS_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SIiPhoneX }),
102
112
  'affiliate_link_1': h("span", { innerHTML: SILink1 }),
103
113
  'affiliate_link_2': h("span", { innerHTML: SIUserAdd }),
104
114
  'affiliate_link_3': h("span", { innerHTML: SICart2 }),
@@ -194,6 +204,22 @@ const SallaLoyaltyPoint = class {
194
204
  return '';
195
205
  }
196
206
  }
207
+ getSteps(point) {
208
+ if (!!point.steps.length) {
209
+ return (h("div", { class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { class: "s-loyalty-program-points-chain-list" }, this.point.steps.map((step, idx) => h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), h("p", { class: "s-loyalty-program-points-chain-description" }, salla.lang.get(`pages.loyalty_program.${step.key}`, { points: this.point.points }))))))));
210
+ }
211
+ return '';
212
+ }
213
+ getDetails(point) {
214
+ if (point.conditions.filter(c => c.key.endsWith('_BY_CATEGORIES')).length > 0) {
215
+ return (h("div", null, h("div", { class: "s-loyalty-program-point-subheading" }, h("h2", null, salla.lang.get('pages.loyalty_program.how_to_use')), h("p", null, salla.lang.get('pages.loyalty_program.how_to_use_steps'))), h("div", { class: "s-loyalty-program-points-modal-details" }, point.conditions.map((condition) => h("div", { class: "s-loyalty-program-points-chains-wrapper mt-5 mb-5" }, h("div", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key])), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points, isUnitOrder(point))), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name), h("div", null, this.getCategoriesJsx(condition.value)))))))));
216
+ }
217
+ return (h("div", { class: "s-loyalty-program-points-modal-details" }, h("div", { class: "s-loyalty-program-points-chains-wrapper mt-5 mb-5" }, h("ul", { class: "s-loyalty-program-points-chain-list" }, this.point.conditions.map((condition) => h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key]), h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points, isUnitOrder(point), condition.value != null)), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name))))))));
218
+ }
219
+ getCategoriesJsx(categories) {
220
+ return !categories.length ? '' :
221
+ h("ul", { class: c('reward-details-categories-list') }, categories.map((category) => (h("li", null, h("a", { href: category.url, class: c('reward-details-categories-item') }, h("span", { innerHTML: SITag }), h("span", { class: c('reward-details-categories-item-content') }, category.name))))));
222
+ }
197
223
  getTrailingContent(point) {
198
224
  switch (point.type) {
199
225
  case 'first_order':
@@ -204,7 +230,7 @@ const SallaLoyaltyPoint = class {
204
230
  }
205
231
  }
206
232
  render() {
207
- return (h("div", { key: '1a96a88716d9fa2b3e8aac4864a025824c48d36a' }, h("div", { key: '13bc00fa473bfb16b272d751b45ad7384db0fc43', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'a7d6d5f9692c7454d6bd9aa350c4934ec1704002', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '2e26922099bbc8d1d46d48d807f09b195868a262', class: this.point.icon })), h("div", { key: 'ea7c80d9fd595d1e319fb9840cfa7dc439ad2bbb', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '76c01bd0380e5729989ae4b748d7e59f334b40b8', size: "xs", bg: "transparent" }, h("span", { key: 'b459db33b3926952415e2ac6a9b383a53467bc7f', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: '528f5f6e1c36c637b69684d95ec304f9c129400e', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '9360900b49e9b122c3de07ad08de0cc0e8eccec4', size: "sm", bg: "transparent" }, h("span", { key: '7786c402cb6b946f9fd6402e1d066ad58ae4c0d4', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'e6e4e93f0cdbd7dfd0dc39f279cac0bbb9ca4fa8', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
233
+ return (h("div", { key: 'da9f8ed073dad418e72c05c54b0362dbd35f3935' }, h("div", { key: '884b4463371c9e806c5a0b050eb977628b46c800', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'eb992d3f22972cd1bcfd475f35652a99887450c0', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '449c106f8babe36f6cc9b2273886aa4e2b81fe15', class: this.point.icon })), h("div", { key: 'e52de07a850e0e46799aba2f031f492d8f18dcb3', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '4174dd5fa7c2e60725d53b3e9d7868a5f450f7ba', size: "xs", bg: "transparent" }, h("span", { key: 'a8ff60258c58e6901d7438c239296ce2563cafd2', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: '2196dee1a40e48a2cb7e53038e7e42a39863ad72', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: 'fd3ccf58c671317ceffdd0615c443671354a31de', size: "sm", bg: "transparent" }, h("span", { key: 'f21842a6f380f20d4de80df057852cbd48befa4e', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: '7593ae79293d532ec6c3e6456c3434fc5b2beb29', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
208
234
  h("a", { class: {
209
235
  's-loyalty-program-points-action': true,
210
236
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -214,16 +240,12 @@ const SallaLoyaltyPoint = class {
214
240
  's-loyalty-program-points-action': true,
215
241
  's-loyalty-program-points-action-completed': this.point.is_completed,
216
242
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
217
- } }, this.point.description)), h("salla-modal", { key: '1b4bbdf4a31b15a05de6e82eaba7e41623bb7926', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: 'dd47de6d728d0e242ba907df2ad5efac90eca3bc', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '5b683091ac479ada36a8a653379973399ef7a9e9', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '76a05aedcc3b13f44709e369bf16c9c992689406', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'a71c0eb9f39a103728974e687dfcb9be5d8d9be7', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'de83e494131791cae7df3782489be5f1d2ffcb4d', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '2c8faf8db0b4984d0c9319e18343e41d9a6d0d26', class: this.point.icon })), h("salla-badge", { key: 'b29e2f350840663bb36dff05124aa58a3c774640', size: "sm", bg: "light" }, h("span", { key: '0d6cc163f3b14710bca60c5e4fb9c602ff8416a1', innerHTML: SIGift }), h("span", { key: 'a9ddb1a5ed1c69e0c2017691f67d360f189d4b37', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), h("div", { key: '3327f05f80fec2ddceed0e6f230f0a99020445cc', class: "s-loyalty-program-points-modal-details" }, h("div", { key: 'd5505b3ab399f5d0b668c02bbf441eee33b4a1b2', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: 'dc9b64ad5795e87a12ffd104c5d6bbbade1c2a2e', class: "s-loyalty-program-points-chain-list" }, !!this.point.steps && Object.keys(this.point.steps).length > 0
218
- ? Object.values(this.point.steps).map((step, idx) => {
243
+ } }, this.point.description)), h("salla-modal", { key: '90be47d92f0ae74242c304c3b8d5c12c5a0a4649', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: '00afe4584f14da0fd383f7e3109486541ca157f7', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'd6af2b363b64fa2490bcaf1039f7128e63df6121', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: 'e3cf11bcab3be81bfa63f03a75f2d655c38fc95e', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'ce0a574cbcaabd7ac589e1e3be33708e664dbc08', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'c974151e5162d8dd0ab2bc75bae20966efb268f1', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '81d369d4f8d7ee6650cef1b55ce740c64716b2bd', class: this.point.icon })), h("salla-badge", { key: '0146ac225e7d54d14bcf5e53ba6c5325e0da260f', size: "sm", bg: "light" }, h("span", { key: '0653cb7799ed999c61cd7d5b6d350bcbaf7a5d95', innerHTML: SIGift }), h("span", { key: '67a397aabbc889ceff3cdcf1e37ecc2614702369', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
244
+ h("div", { key: '3d270563818b923112c889b291ad72ef6a15b9bc', class: "s-loyalty-program-points-modal-details" }, h("div", { key: '0157d2d96b4b7dac9c687cef58af87fdb4871fc1', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '469624383bad345a97ca9b74980d2a1499aa1b6a', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
219
245
  const stepsArray = Object.values(this.point.steps);
220
246
  const isLastItem = idx === stepsArray.length - 1;
221
247
  return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), h("p", { class: "s-loyalty-program-points-chain-description" }, step.title || step.name))));
222
- })
223
- : this.point.conditions?.map((condition, idx) => {
224
- const isLastItem = idx === this.point.conditions.length - 1;
225
- return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points ?? 0)), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name))));
226
- }))), this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: '685d0de853bd3becf1c10529768a5952b6365517', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '806543e483c0872139ee395ee9ba2dbe27061564', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
248
+ })))), this.getDetails(this.point), h("div", { key: 'bba31447df26e2a50a28cb6af922d49ec52a854b', class: "s-loyalty-program-points-modal-details" }, this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: 'c6c84d25fddc848235682d14cc0e4755e91deb95', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '1f7fbf431f89bb0d08e531ea4e6fb41109cad50e', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
227
249
  's-loyalty-program-points-action': true,
228
250
  's-loyalty-program-points-action-completed': this.point.is_completed,
229
251
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DuhQONDF.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-ByUw56nX.js';
4
+ import { h, r as registerInstance } from './index-B27mc3DA.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-BUK_6AVv.js';
7
7
  import { S as Star } from './star2-D4oPi1Ov.js';
8
8
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
9
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
10
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
11
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-D8BEggEx.js';
12
+ import { T as TrackedPromise } from './tracked-promise-BhMK_w_-.js';
13
13
 
14
14
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
15
15
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
6
 
7
7
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
8
8
  <path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DuhQONDF.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-ByUw56nX.js';
4
+ import { h, r as registerInstance } from './index-B27mc3DA.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-BUK_6AVv.js';
7
7
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
8
8
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
9
9
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
10
10
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
11
11
  import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
12
12
  import { S as SIGift } from './gift-CXRKXFgT.js';
13
- import { T as TrackedPromise } from './tracked-promise-D8BEggEx.js';
13
+ import { T as TrackedPromise } from './tracked-promise-BhMK_w_-.js';
14
14
  import { a as anime } from './anime.es-CgtvEd63.js';
15
15
 
16
16
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -98,7 +98,13 @@ const SallaLoyaltyProgram = class {
98
98
  ? h("span", null, salla.lang.get('pages.loyalty_program.show_more'), "\u00A0\u00A0", h("span", { style: { fontSize: '1.2rem', fontWeight: '300' } }, "+"))
99
99
  : h("span", null, salla.lang.get('pages.loyalty_program.show_less'), "\u00A0\u00A0", h("span", { style: { fontSize: '1.2rem', fontWeight: '300' } }, "-"))))), this.program.status !== 'success' ? '' : h("div", { class: "s-loyalty-program-rewards-container s-loyalty-program-slider-arrows-edges" }, h("section", { class: {
100
100
  's-loyalty-program-tabs-hider': prizesGroups.length <= 2 || prizesCount <= 4,
101
- } }, h("h1", { class: "s-loyalty-program-rewards-heading-mobile" }, salla.lang.get('pages.loyalty_program.rewards')), h("salla-tabs", null, h("div", { slot: "header", class: "s-loyalty-program-rewards-tab-items" }, prizesGroups.map((group) => (h("salla-tab-header", { slot: "header", name: group.type }, sicons[group.type], h("span", null, group.title))))), h("h1", { slot: "header", class: "s-loyalty-program-rewards-heading-desktop" }, salla.lang.get('pages.loyalty_program.rewards')), prizesGroups.map((group) => (h("salla-tab-content", { slot: "content", name: group.type }, h("salla-slider", { id: group.type, type: "default", "slider-config": '{"loop":false,"slidesPerView":"auto","freeMode":true,"spaceBetween":12,"breakpoints":{"768":{"slidesPerView":4,"spaceBetween":24,"freeMode":false,"speed":300}}}' }, h("div", { slot: "items" }, group.items.map((prize) => h("salla-reward-card", { prize: prize, onAreaClick: () => { this.currentPrize = prize; closeModals(() => this.detailsModal.open()); }, onActionClick: () => { this.currentPrize = prize; closeModals(() => this.detailsModal.open()); } })))))))), h("salla-modal", { ref: modal => this.detailsModal = modal, class: "s-loyalty-program-modal", width: "md", noPadding: true }, !this.currentPrize ? '' : h("salla-reward-details", { onActionClick: () => closeModals(() => this.exchangeModal.open()), prize: this.currentPrize })), h("salla-modal", { ref: modal => this.exchangeModal = modal, class: "s-loyalty-program-modal", width: "sm" }, !this.currentPrize ? '' : h("salla-reward-exchange", { prize: this.currentPrize }))))));
101
+ } }, h("h1", { class: "s-loyalty-program-rewards-heading-mobile" }, salla.lang.get('pages.loyalty_program.rewards')), h("salla-tabs", null, h("div", { slot: "header", class: "s-loyalty-program-rewards-tab-items" }, prizesGroups.map((group) => (h("salla-tab-header", { slot: "header", name: group.type }, sicons[group.type], h("span", null, group.title))))), h("h1", { slot: "header", class: "s-loyalty-program-rewards-heading-desktop" }, salla.lang.get('pages.loyalty_program.rewards')), prizesGroups.map((group) => (h("salla-tab-content", { slot: "content", name: group.type }, h("salla-slider", { id: group.type, type: "default", "slider-config": '{"loop":false,"slidesPerView":"auto","freeMode":true,"spaceBetween":12,"breakpoints":{"768":{"slidesPerView":4,"spaceBetween":24,"freeMode":false,"speed":300}}}' }, h("div", { slot: "items" }, group.items.map((prize) => h("salla-reward-card", { prize: prize, onAreaClick: () => {
102
+ this.currentPrize = prize;
103
+ closeModals(() => this.detailsModal.open());
104
+ }, onActionClick: () => {
105
+ this.currentPrize = prize;
106
+ closeModals(() => this.detailsModal.open());
107
+ } })))))))), h("salla-modal", { ref: modal => this.detailsModal = modal, class: "s-loyalty-program-modal", width: "md", noPadding: true }, !this.currentPrize ? '' : h("salla-reward-details", { onActionClick: () => closeModals(() => this.exchangeModal.open()), prize: this.currentPrize })), h("salla-modal", { ref: modal => this.exchangeModal = modal, class: "s-loyalty-program-modal", width: "sm" }, !this.currentPrize ? '' : h("salla-reward-exchange", { prize: this.currentPrize }))))));
102
108
  }
103
109
  };
104
110
  __decorate([
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-DuhQONDF.js';
5
- import { c as closeModals } from './functions-ByUw56nX.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-B27mc3DA.js';
5
+ import { c as closeModals } from './functions-BUK_6AVv.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "";
@@ -37,10 +37,10 @@ const SallaLoyaltyReward = class {
37
37
  };
38
38
  }
39
39
  render() {
40
- return (h("div", { key: 'ba9554fee3ffeb4e64410913c6f78217482eaa9b', class: {
40
+ return (h("div", { key: 'cc64d1446b539fa06a6fea4280992264816fed40', class: {
41
41
  's-loyalty-program-reward-container': true,
42
42
  's-loyalty-program-reward-xs': this.size === 'xs',
43
- } }, h("div", { key: '807e949da96e8b307ed252e32ffafac682835a28', onClick: this.handleActionArea, role: "button" }, h("div", { key: '373862674986def57f35e1d006f41cb6b01b1e75', class: "s-loyalty-program-reward-img" }, h("img", { key: 'b8b072e962519aaf78d19c04759ee1590b0dd6de', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: '9866bf65f0a26c3136b3e345094314c6552bd70e', class: "s-loyalty-program-reward-content" }, h("div", { key: 'ee8455df80b61e1c8d86059725e5da5952dab85a', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '27b8f31d4b71255f1298bfd2c5705520b349db59', size: "xs" }, h("span", { key: 'e94f13b973bf0b5171b3aa1dd075ad5a0ee732c5', innerHTML: SIGift }), h("span", { key: '7776cb3a470b72ca2239fb2c8452711bf5dc59e2', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '03dbed2bca1a462f8e4a13bbbb373d236f2da8ad', class: "s-loyalty-program-reward-title" }, h("span", { key: 'ca64b8c7378baa7e7c4197580290f71ecead8310' }, this.group)), h("div", { key: '3f8e125da5dc4618f82033c2b9e4b9c97760821f', class: "s-loyalty-program-reward-name" }, h("div", { key: 'a2494d8a25a09dd66871d55c762f90a351a54b52', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: 'fe4e03bdab2d95b5adee8b6ae4c51f96186d6016', class: "p-4" }, h("button", { key: '1d33bd0616d4c8e51f2b01cad7bff02c2842d935', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
43
+ } }, h("div", { key: 'c50cc16ceff89288dc0bd4199123e0cfb7816732', onClick: this.handleActionArea, role: "button" }, h("div", { key: '7a68197172329f91e7df1e13ca667062131e14b8', class: "s-loyalty-program-reward-img" }, h("img", { key: 'f1d9dc5fc674095bfdfcb5d167f46d896f9a9b0c', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: 'b443d55df65a1f34fdff14a3beda5b159fe687f8', class: "s-loyalty-program-reward-content" }, h("div", { key: '292dcd5f9997f82fd0695fdd80380180e781b77f', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '083348231855223ff3ffc66b61847af85d274e19', size: "xs" }, h("span", { key: '5939fae8cd6737c98f6cab437cefdb89b0847bbb', innerHTML: SIGift }), h("span", { key: '155ad221e00b1d21db2b16a8c1d394b302897cda', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: 'ab9d0e10acfc7e1bd5464a971cd6ff7eedf90d52', class: "s-loyalty-program-reward-title" }, h("span", { key: '3fcc04b5a81dd29b1b40411c95bebe8805ffb2bb' }, this.group)), h("div", { key: '2ffe9cb9c295cf817224b8d8aab7f1b413893f2f', class: "s-loyalty-program-reward-name" }, h("div", { key: 'e384ac797eb91704951e91f6fadf4863a9e9971c', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: '887bb1eb44d945a66af21a88de60d09275fd5042', class: "p-4" }, h("button", { key: '704b697973f51cdcc67ba62a8b4d806d4abb5461', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
44
44
  's-loyalty-program-rewards-action-base': true,
45
45
  's-loyalty-program-rewards-action-on': this.isActionClickable(this.prize),
46
46
  's-loyalty-program-rewards-action-off': !this.isActionClickable(this.prize),
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h } from './index-B27mc3DA.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { S as SICancel } from './cancel-8Tsmrwno.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { S as SICancel } from './cancel-8Tsmrwno.js';
6
6
 
7
7
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
 
7
7
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaMenuCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaMetadataCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaMultipleBundleProductCartCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaMultipleBundleProductCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h } from './index-B27mc3DA.js';
5
5
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
6
6
  import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaNotificationsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-B27mc3DA.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-B27mc3DA.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SITag } from './tag-cgSL_BIo.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-B27mc3DA.js';
5
5
 
6
6
  var PageType;
7
7
  (function (PageType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaOrderDetailsMultipleBundleProductCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  var copyIcon = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaOrderDetailsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-B27mc3DA.js';
5
5
  import { a as getOrderEditProductMaxQuantity } from './helpers-DR_vlSvU.js';
6
6
  import './interfaces-CoQJOPRz.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaOrderEditProductCardCss = ":host{display:block;min-width:0}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host } from './index-B27mc3DA.js';
5
5
  import { g as getOrderItemSelectedOptions, a as getOrderEditProductMaxQuantity, c as clampOrderEditQuantity, u as updateOrderItems, r as removeOrderItems, m as mergePayloadItems, b as cloneOrderEditProduct, f as findMergeableItem, d as updateAddedPayloadList, e as upsertPayloadUpdateList, h as createAddedOrderItem, i as buildSavePayload } from './helpers-DR_vlSvU.js';
6
6
  import './interfaces-CoQJOPRz.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h } from './index-B27mc3DA.js';
5
5
  import { i as iconCopy } from './swap-stroke-DqDX5na4.js';
6
6
  import { S as SICheck } from './check-BZp0rKEO.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaOrderTotalsCardCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-B27mc3DA.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaPaymentsCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host } from './index-B27mc3DA.js';
5
5
 
6
6
  var Inbox = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-B27mc3DA.js';
5
5
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
6
6
 
7
7
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaProductCardEmbedCss = "@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-B27mc3DA.js';
5
5
 
6
6
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { S as ShoppingBag } from './shopping-bag-DiKTtDW5.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h } from './index-B27mc3DA.js';
5
5
 
6
6
  const sallaProgressBarCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuhQONDF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-B27mc3DA.js';
5
5
  import { W as WishListIcon } from './star-ZT7ehBBk.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';