@salla.sa/twilight-components 2.14.419 → 2.14.421

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 (301) hide show
  1. package/dist/cjs/{filepond-BiRMqsJc.js → filepond-DZq6rMpU.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-LU25G59n.js → filepond-plugin-file-poster-bfKXAWda.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-J3-riOvN.js → filepond-plugin-file-validate-size-Q7fD5HS8.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DMawm6j5.js → filepond-plugin-file-validate-type-B3IiM9Bk.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-QXtHYcEz.js → filepond-plugin-image-edit-BIoXePuj.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-C0VBHQjd.js → filepond-plugin-image-exif-orientation-BZnWr0Hm.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-xG9m-vgD.js → filepond-plugin-image-preview-CFBJltLk.js} +1 -1
  8. package/dist/cjs/{functions-CZrHAX2r.js → functions-BRkBgcI0.js} +1 -1
  9. package/dist/cjs/{index-Ce-Twd7-.js → index-DDYWBzxi.js} +2 -2
  10. package/dist/cjs/{index-DE1iYzD2.js → index-fXg1FwER.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  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 +1 -1
  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.cjs.entry.js +1 -1
  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-comment-form_8.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +8 -6
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +14 -3
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-reward-action_4.cjs.entry.js +15 -8
  79. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  94. package/dist/cjs/{tracked-promise-DChUtH5B.js → tracked-promise-DzZoxrcZ.js} +1 -1
  95. package/dist/cjs/twilight.cjs.js +2 -2
  96. package/dist/cjs/{vanilla-picker-ivACsPLJ.js → vanilla-picker-BVAoSLKh.js} +1 -1
  97. package/dist/collection/components/salla-loyalty/salla-loyalty.js +24 -2
  98. package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +5 -3
  99. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +12 -5
  100. package/dist/components/index.js +2 -2
  101. package/dist/components/salla-loyalty-panel.js +5 -3
  102. package/dist/components/salla-loyalty.js +16 -3
  103. package/dist/components/salla-reward-details2.js +12 -5
  104. package/dist/esm/{filepond-0Pvy36B6.js → filepond-BkG7zRNW.js} +1 -1
  105. package/dist/esm/{filepond-plugin-file-poster-DV7OW1XJ.js → filepond-plugin-file-poster-BBohUknW.js} +1 -1
  106. package/dist/esm/{filepond-plugin-file-validate-size-DEya24r_.js → filepond-plugin-file-validate-size-CWM6JwDZ.js} +1 -1
  107. package/dist/esm/{filepond-plugin-file-validate-type-DiFvVzC6.js → filepond-plugin-file-validate-type-D9vBlpjh.js} +1 -1
  108. package/dist/esm/{filepond-plugin-image-edit-DGBw5KRt.js → filepond-plugin-image-edit-BwGogzgJ.js} +1 -1
  109. package/dist/esm/{filepond-plugin-image-exif-orientation-BbpZAlI-.js → filepond-plugin-image-exif-orientation-DNFa2Zgg.js} +1 -1
  110. package/dist/esm/{filepond-plugin-image-preview-CjRkn0jY.js → filepond-plugin-image-preview-DrbIi9ph.js} +1 -1
  111. package/dist/esm/{functions-BcJ4xDKw.js → functions-7e80w1OB.js} +1 -1
  112. package/dist/esm/{index-313k5SuU.js → index-DWiN6nE9.js} +1 -1
  113. package/dist/esm/{index-CfaNNoM2.js → index-DbC46u_V.js} +2 -2
  114. package/dist/esm/loader.js +3 -3
  115. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  116. package/dist/esm/salla-accordion_6.entry.js +1 -1
  117. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  118. package/dist/esm/salla-advertisement.entry.js +1 -1
  119. package/dist/esm/salla-alert_2.entry.js +1 -1
  120. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  121. package/dist/esm/salla-apps-icons.entry.js +1 -1
  122. package/dist/esm/salla-badge.entry.js +1 -1
  123. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  124. package/dist/esm/salla-bullet-delivery.entry.js +1 -1
  125. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  126. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  127. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  128. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  129. package/dist/esm/salla-contacts.entry.js +1 -1
  130. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  131. package/dist/esm/salla-count-down.entry.js +1 -1
  132. package/dist/esm/salla-custom-fields.entry.js +1 -1
  133. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  134. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  135. package/dist/esm/salla-filters-widget.entry.js +1 -1
  136. package/dist/esm/salla-filters.entry.js +1 -1
  137. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  138. package/dist/esm/salla-gifting.entry.js +1 -1
  139. package/dist/esm/salla-hook.entry.js +1 -1
  140. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  141. package/dist/esm/salla-installment.entry.js +1 -1
  142. package/dist/esm/salla-list-tile.entry.js +1 -1
  143. package/dist/esm/salla-localization-modal.entry.js +1 -1
  144. package/dist/esm/salla-login-modal.entry.js +1 -1
  145. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  146. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  147. package/dist/esm/salla-loyalty-panel.entry.js +8 -6
  148. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  149. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  150. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  151. package/dist/esm/salla-loyalty.entry.js +14 -3
  152. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  153. package/dist/esm/salla-map.entry.js +1 -1
  154. package/dist/esm/salla-menu.entry.js +1 -1
  155. package/dist/esm/salla-metadata.entry.js +1 -1
  156. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  157. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  158. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  159. package/dist/esm/salla-notification-item.entry.js +1 -1
  160. package/dist/esm/salla-notifications.entry.js +1 -1
  161. package/dist/esm/salla-offer-modal.entry.js +1 -1
  162. package/dist/esm/salla-offer.entry.js +1 -1
  163. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  164. package/dist/esm/salla-order-details-options.entry.js +1 -1
  165. package/dist/esm/salla-order-details.entry.js +1 -1
  166. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  167. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  168. package/dist/esm/salla-order-edit.entry.js +1 -1
  169. package/dist/esm/salla-order-summary.entry.js +1 -1
  170. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  171. package/dist/esm/salla-orders.entry.js +1 -1
  172. package/dist/esm/salla-payments.entry.js +1 -1
  173. package/dist/esm/salla-placeholder.entry.js +1 -1
  174. package/dist/esm/salla-price-range.entry.js +1 -1
  175. package/dist/esm/salla-product-card_2.entry.js +1 -1
  176. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  177. package/dist/esm/salla-products-list.entry.js +1 -1
  178. package/dist/esm/salla-progress-bar.entry.js +1 -1
  179. package/dist/esm/salla-quick-order.entry.js +1 -1
  180. package/dist/esm/salla-rating-modal.entry.js +1 -1
  181. package/dist/esm/salla-reward-action_4.entry.js +15 -8
  182. package/dist/esm/salla-scopes.entry.js +1 -1
  183. package/dist/esm/salla-search.entry.js +1 -1
  184. package/dist/esm/salla-skeleton.entry.js +1 -1
  185. package/dist/esm/salla-slider.entry.js +1 -1
  186. package/dist/esm/salla-social-share.entry.js +1 -1
  187. package/dist/esm/salla-social.entry.js +1 -1
  188. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  189. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  190. package/dist/esm/salla-tooltip.entry.js +1 -1
  191. package/dist/esm/salla-trust-badges.entry.js +1 -1
  192. package/dist/esm/salla-user-menu.entry.js +1 -1
  193. package/dist/esm/salla-user-profile.entry.js +1 -1
  194. package/dist/esm/salla-user-settings.entry.js +1 -1
  195. package/dist/esm/salla-verify.entry.js +1 -1
  196. package/dist/esm/salla-wallet.entry.js +1 -1
  197. package/dist/esm/{tracked-promise-xD-AZOwt.js → tracked-promise-BoMxGtXb.js} +1 -1
  198. package/dist/esm/twilight.js +3 -3
  199. package/dist/esm/{vanilla-picker-Bu8PG2Le.js → vanilla-picker-BoNPoxF7.js} +1 -1
  200. package/dist/twilight/{p-fdd2d95e.entry.js → p-03cbc25a.entry.js} +1 -1
  201. package/dist/twilight/{p-02600ee1.entry.js → p-04336d38.entry.js} +1 -1
  202. package/dist/twilight/{p-7ce1dff1.entry.js → p-06196216.entry.js} +1 -1
  203. package/dist/twilight/{p-654b9857.entry.js → p-07b48592.entry.js} +1 -1
  204. package/dist/twilight/{p-adf1ff1f.entry.js → p-087c9bdc.entry.js} +1 -1
  205. package/dist/twilight/{p-43c4c857.entry.js → p-09ef1bfd.entry.js} +1 -1
  206. package/dist/twilight/{p-b075bdd3.entry.js → p-0d56ce44.entry.js} +1 -1
  207. package/dist/twilight/{p-8bdd9c9b.entry.js → p-0daa4d70.entry.js} +1 -1
  208. package/dist/twilight/{p-ff0d8f2b.entry.js → p-0e5c5cc9.entry.js} +1 -1
  209. package/dist/twilight/{p-d95fad47.entry.js → p-0f68b304.entry.js} +1 -1
  210. package/dist/twilight/{p-65ff0bf4.entry.js → p-11c2fdd8.entry.js} +1 -1
  211. package/dist/twilight/{p-22d12f28.entry.js → p-17371658.entry.js} +1 -1
  212. package/dist/twilight/{p-0d4afc4b.entry.js → p-18cdd8f5.entry.js} +1 -1
  213. package/dist/twilight/{p-b6446ed0.entry.js → p-1a0b4f94.entry.js} +1 -1
  214. package/dist/twilight/{p-02608fcd.entry.js → p-1a14ddaf.entry.js} +1 -1
  215. package/dist/twilight/{p-6b02b118.entry.js → p-1d7a48d5.entry.js} +1 -1
  216. package/dist/twilight/{p-ee5afe29.entry.js → p-1ec3c41a.entry.js} +1 -1
  217. package/dist/twilight/p-22e5882c.entry.js +4 -0
  218. package/dist/twilight/{p-75f26291.entry.js → p-26e8e86d.entry.js} +1 -1
  219. package/dist/twilight/{p-49e28ca2.entry.js → p-29353f6d.entry.js} +1 -1
  220. package/dist/twilight/{p-11da9c5a.entry.js → p-298c1c9e.entry.js} +1 -1
  221. package/dist/twilight/{p-073536c3.entry.js → p-29d3dd5f.entry.js} +1 -1
  222. package/dist/twilight/{p-53e63007.entry.js → p-2da1ab0d.entry.js} +1 -1
  223. package/dist/twilight/{p-9dcc291b.entry.js → p-30b20068.entry.js} +1 -1
  224. package/dist/twilight/{p-e15ceaae.entry.js → p-30dc117d.entry.js} +1 -1
  225. package/dist/twilight/{p-7d08def1.entry.js → p-30e87289.entry.js} +1 -1
  226. package/dist/twilight/{p-2bb796b3.entry.js → p-33df683c.entry.js} +1 -1
  227. package/dist/twilight/{p-625218f7.entry.js → p-34064c35.entry.js} +1 -1
  228. package/dist/twilight/{p-d737a90e.entry.js → p-3ff5e879.entry.js} +1 -1
  229. package/dist/twilight/{p-3bda095b.entry.js → p-40d6f65f.entry.js} +1 -1
  230. package/dist/twilight/{p-4a7cbe49.entry.js → p-41743733.entry.js} +1 -1
  231. package/dist/twilight/{p-d7e404d1.entry.js → p-449ffdea.entry.js} +1 -1
  232. package/dist/twilight/{p-a132e9dc.entry.js → p-458b78f1.entry.js} +1 -1
  233. package/dist/twilight/{p-e692fd88.entry.js → p-4839e7b8.entry.js} +1 -1
  234. package/dist/twilight/{p-48aba4cd.entry.js → p-51898257.entry.js} +1 -1
  235. package/dist/twilight/{p-5f174a3e.entry.js → p-55d18399.entry.js} +1 -1
  236. package/dist/twilight/{p-654a0990.entry.js → p-563aaf0e.entry.js} +1 -1
  237. package/dist/twilight/{p-2afe64d1.entry.js → p-5694334c.entry.js} +1 -1
  238. package/dist/twilight/{p-410f0149.entry.js → p-5695e345.entry.js} +1 -1
  239. package/dist/twilight/{p-3d286589.entry.js → p-58f092bc.entry.js} +1 -1
  240. package/dist/twilight/{p-ab922196.entry.js → p-59d30e13.entry.js} +1 -1
  241. package/dist/twilight/{p-f248ce38.entry.js → p-5a30b7be.entry.js} +1 -1
  242. package/dist/twilight/{p-13f019f5.entry.js → p-62252d95.entry.js} +1 -1
  243. package/dist/twilight/{p-dacc7681.entry.js → p-68c9066c.entry.js} +1 -1
  244. package/dist/twilight/{p-944b02ec.entry.js → p-69d25f66.entry.js} +1 -1
  245. package/dist/twilight/{p-665aa4d1.entry.js → p-6f9a2d6f.entry.js} +1 -1
  246. package/dist/twilight/{p-4752dc2c.entry.js → p-71393aad.entry.js} +1 -1
  247. package/dist/twilight/p-77bcab66.entry.js +4 -0
  248. package/dist/twilight/{p-c0a96a41.entry.js → p-7816b794.entry.js} +1 -1
  249. package/dist/twilight/{p-cef8dfa8.entry.js → p-79d1120e.entry.js} +1 -1
  250. package/dist/twilight/{p-82d776ae.entry.js → p-850570b7.entry.js} +1 -1
  251. package/dist/twilight/{p-a22ab12e.entry.js → p-8f808e77.entry.js} +1 -1
  252. package/dist/twilight/{p-69bec0e3.entry.js → p-90d5b4d3.entry.js} +1 -1
  253. package/dist/twilight/{p-ce4823e8.entry.js → p-91e115ee.entry.js} +1 -1
  254. package/dist/twilight/{p-74cd506d.entry.js → p-935cff30.entry.js} +1 -1
  255. package/dist/twilight/{p-C1ReTfKT.js → p-B4aouEym.js} +1 -1
  256. package/dist/twilight/{p-nj3fF7xi.js → p-BfBD_dZY.js} +1 -1
  257. package/dist/twilight/{p-BCWPIsso.js → p-C4GWkh-f.js} +1 -1
  258. package/dist/twilight/{p-Bu7ZSFM5.js → p-C52jz7Qy.js} +1 -1
  259. package/dist/twilight/{p-B6bkY5-l.js → p-Ck_RfmRo.js} +1 -1
  260. package/dist/twilight/{p-P9Uquv6J.js → p-D70co0Me.js} +1 -1
  261. package/dist/twilight/{p-BN2EOPT0.js → p-DRrArHhd.js} +1 -1
  262. package/dist/twilight/{p-CX1cQxmm.js → p-DXvleSvk.js} +1 -1
  263. package/dist/twilight/{p-CfaNNoM2.js → p-DbC46u_V.js} +1 -1
  264. package/dist/twilight/{p-C0UBM1r0.js → p-DpyekdaY.js} +2 -2
  265. package/dist/twilight/{p-BeZ-z3uX.js → p-Dr1FS7by.js} +1 -1
  266. package/dist/twilight/p-Lt3b2USq.js +4 -0
  267. package/dist/twilight/p-a86695b3.entry.js +4 -0
  268. package/dist/twilight/{p-51252013.entry.js → p-a9be6107.entry.js} +1 -1
  269. package/dist/twilight/{p-57a4f3d2.entry.js → p-ab69d680.entry.js} +1 -1
  270. package/dist/twilight/{p-f9e89a30.entry.js → p-ad033d91.entry.js} +1 -1
  271. package/dist/twilight/{p-5dd75357.entry.js → p-ad519098.entry.js} +1 -1
  272. package/dist/twilight/{p-1fe827c7.entry.js → p-b2aa7372.entry.js} +1 -1
  273. package/dist/twilight/{p-5dbb89d5.entry.js → p-b88f28ed.entry.js} +1 -1
  274. package/dist/twilight/{p-8d0b4049.entry.js → p-b8eeb61e.entry.js} +1 -1
  275. package/dist/twilight/{p-c0da03a4.entry.js → p-bfae823f.entry.js} +1 -1
  276. package/dist/twilight/{p-7f6c6d8a.entry.js → p-c02a2fcd.entry.js} +1 -1
  277. package/dist/twilight/{p-42bf8cc1.entry.js → p-c22dbb9a.entry.js} +1 -1
  278. package/dist/twilight/{p-5dd07559.entry.js → p-c3762539.entry.js} +1 -1
  279. package/dist/twilight/{p-13b1dae0.entry.js → p-c3a53221.entry.js} +1 -1
  280. package/dist/twilight/{p-a5483eab.entry.js → p-d2b8c827.entry.js} +1 -1
  281. package/dist/twilight/{p-8dbff2c8.entry.js → p-d3a14c1b.entry.js} +1 -1
  282. package/dist/twilight/{p-029f9bfd.entry.js → p-d70f0f18.entry.js} +1 -1
  283. package/dist/twilight/{p-9693310b.entry.js → p-d88a136d.entry.js} +1 -1
  284. package/dist/twilight/{p-15be9e7a.entry.js → p-e12a5af8.entry.js} +1 -1
  285. package/dist/twilight/{p-4550de2d.entry.js → p-e1dd834e.entry.js} +1 -1
  286. package/dist/twilight/{p-2f1cb6da.entry.js → p-ed50975c.entry.js} +1 -1
  287. package/dist/twilight/{p-1bce06bf.entry.js → p-efe216ac.entry.js} +1 -1
  288. package/dist/twilight/{p-a5093858.entry.js → p-f1aa34f0.entry.js} +1 -1
  289. package/dist/twilight/{p-891e4b61.entry.js → p-f5b9e709.entry.js} +1 -1
  290. package/dist/twilight/p-f66b17b4.entry.js +4 -0
  291. package/dist/twilight/{p-72d4121c.entry.js → p-f68ac4e6.entry.js} +1 -1
  292. package/dist/twilight/{p-3252277a.entry.js → p-fb818de2.entry.js} +1 -1
  293. package/dist/twilight/{p-87e78adc.entry.js → p-fbdbc033.entry.js} +1 -1
  294. package/dist/twilight/twilight.esm.js +1 -1
  295. package/dist/types/components/salla-loyalty/salla-loyalty.d.ts +3 -0
  296. package/package.json +5 -5
  297. package/dist/twilight/p-3539d2a1.entry.js +0 -4
  298. package/dist/twilight/p-5e4e45be.entry.js +0 -4
  299. package/dist/twilight/p-BLehGhpL.js +0 -4
  300. package/dist/twilight/p-bd29fa58.entry.js +0 -4
  301. package/dist/twilight/p-f6468e0f.entry.js +0 -4
@@ -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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-CfaNNoM2.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DbC46u_V.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-xD-AZOwt.js';
7
+ import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10
 
@@ -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-CfaNNoM2.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-BcJ4xDKw.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.js';
5
+ import { c as closeModals, f as formattedPointsJsx } from './functions-7e80w1OB.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';
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-CfaNNoM2.js';
4
+ import { h, r as registerInstance } from './index-DbC46u_V.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-BcJ4xDKw.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-7e80w1OB.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-xD-AZOwt.js';
12
+ import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.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
 
@@ -62,17 +62,19 @@ const SallaLoyaltyPanel = class {
62
62
  render() {
63
63
  const prizesGroups = this.program.data.prizes;
64
64
  const prizesCount = this.program.data.prizes_count;
65
- const isLoadingPoints = this.points.status === 'pending' && this.points.data === null && !this.customerPoints;
66
- const customerPoints = isLoadingPoints ? '---' : (this.points.data ?? this.customerPoints ?? 0);
65
+ const customerPoints = (this.points.data ?? this.customerPoints ?? 0);
67
66
  if (this.prizeTitle && this.prizePoints) {
68
67
  return (h("div", { class: "s-loyalty-program-panel-exchange-wrapper" }, h("salla-list-tile", { class: "s-loyalty-program-after-exchange" }, h("div", { slot: "title", class: "s-loyalty-program-after-exchange-title" }, this.prizeTitle, " \u00A0 - \u00A0 ", this.prizePoints, " ", salla.lang.get('pages.loyalty_program.point')), h("div", { slot: "action", class: "s-loyalty-program-after-exchange-action" }, h("salla-button", { class: "s-loyalty-program-after-exchange-reset", shape: "icon", fill: 'outline', color: "danger", size: "small", onClick: () => salla.loyalty.reset() }, h("span", { innerHTML: SICancel }))))));
69
68
  }
69
+ if (!customerPoints || customerPoints === 0) {
70
+ return null;
71
+ }
70
72
  return (h("div", { class: "" }, h("div", { class: "s-loyalty-program-panel-exchange-wrapper" }, h("salla-list-tile", { class: 's-loyalty-program-panel-widget' }, h("div", { slot: "icon", class: "s-loyalty-program-panel-widget-icon", innerHTML: Star }), h("div", { slot: "subtitle" }, salla.lang.get('pages.loyalty_program.cart_total_point_summary', { "balance": customerPoints }), h("salla-button", { shape: "link", color: "primary", onClick: () => {
71
73
  if (['error', 'idle'].includes(this.program.status)) {
72
74
  this.program();
73
75
  }
74
76
  this.rewardsModal.open();
75
- } }, customerPoints !== '---' && customerPoints ? salla.lang.get('pages.loyalty_program.cart_point_exchange_now') : salla.lang.get('blocks.header.login'))))), h("salla-modal", { id: "loyalty-rewards-modal", isLoading: this.program.status === 'pending', ref: modal => this.rewardsModal = modal, class: "s-loyalty-program-rewards-cart s-loyalty-program-modal", width: "lg", noPadding: true }, h("div", { slot: "loading" }, h("salla-loading", null)), this.program.status === 'success' ? h("div", { class: "s-loyalty-program-rewards-container-cart" }, h("div", { class: "s-loyalty-program-rewards-cart-header" }, h("div", { innerHTML: PrizeImage }), h("div", { class: "s-loyalty-program-panel-content" }, h("h1", null, this.program.data.prize_promotion_title), h("p", null, this.program.data.prize_promotion_description))), h("div", { class: {
77
+ } }, salla.lang.get('pages.loyalty_program.cart_point_exchange_now'))))), h("salla-modal", { id: "loyalty-rewards-modal", isLoading: this.program.status === 'pending', ref: modal => this.rewardsModal = modal, class: "s-loyalty-program-rewards-cart s-loyalty-program-modal", width: "lg", noPadding: true }, h("div", { slot: "loading" }, h("salla-loading", null)), this.program.status === 'success' ? h("div", { class: "s-loyalty-program-rewards-container-cart" }, h("div", { class: "s-loyalty-program-rewards-cart-header" }, h("div", { innerHTML: PrizeImage }), h("div", { class: "s-loyalty-program-panel-content" }, h("h1", null, this.program.data.prize_promotion_title), h("p", null, this.program.data.prize_promotion_description))), h("div", { class: {
76
78
  's-loyalty-program-slider-arrows': true,
77
79
  's-loyalty-program-tabs-hider': prizesGroups.length < 2 || prizesCount < 2,
78
80
  } }, h("salla-tabs", null, prizesGroups.map((group) => (h("salla-tab-header", { slot: "header", name: group.type }, sicons[group.type], h("span", null, group.title)))), 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":3,"spaceBetween":24,"freeMode":false,"speed":300}}}' }, h("div", { slot: "items" }, group.items.map((prize) => h("salla-reward-card", { prize: prize, onAreaClick: () => {
@@ -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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { h, r as registerInstance } from './index-DbC46u_V.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-BcJ4xDKw.js';
6
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-7e80w1OB.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-xD-AZOwt.js';
13
+ import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.js';
14
14
  import { a as anime } from './anime.es-CgtvEd63.js';
15
15
 
16
16
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -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-CfaNNoM2.js';
5
- import { c as closeModals } from './functions-BcJ4xDKw.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-DbC46u_V.js';
5
+ import { c as closeModals } from './functions-7e80w1OB.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-CfaNNoM2.js';
4
+ import { r as registerInstance, h } from './index-DbC46u_V.js';
5
5
  import { S as Star } from './star2-D4oPi1Ov.js';
6
6
  import { S as SICancel } from './cancel-8Tsmrwno.js';
7
7
 
@@ -62,6 +62,8 @@ const sallaLoyaltyCss = "";
62
62
  const SallaLoyalty = class {
63
63
  constructor(hostRef) {
64
64
  registerInstance(this, hostRef);
65
+ this.activeTabType = '';
66
+ this.tabsKey = 0;
65
67
  this.selectedItem = undefined;
66
68
  /**
67
69
  * Does the merchant allow to login using email
@@ -92,6 +94,11 @@ const SallaLoyalty = class {
92
94
  this.customerPoints = cart.loyalty.customer_points || this.customerPoints;
93
95
  });
94
96
  }
97
+ onTabSelected(event) {
98
+ const prize = this.loyaltyProgram?.prizes.find(p => p.title === event.detail?.name);
99
+ if (prize)
100
+ this.activeTabType = prize.type;
101
+ }
95
102
  setSelectedPrizeItem(item) {
96
103
  if (!this.selectedItem || this.selectedItem?.id != item.id) {
97
104
  this.selectedItem = item;
@@ -132,6 +139,8 @@ const SallaLoyalty = class {
132
139
  return await salla.loyalty.getProgram()
133
140
  .then(response => {
134
141
  this.loyaltyProgram = response.data;
142
+ this.activeTabType = this.loyaltyProgram.prizes[0]?.type || '';
143
+ this.tabsKey++;
135
144
  })
136
145
  .catch(e => {
137
146
  this.hasError = true;
@@ -197,8 +206,10 @@ const SallaLoyalty = class {
197
206
  h("salla-modal", { isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, h("div", { slot: "loading" }, h("div", { class: "s-loyalty-skeleton" }, h("salla-list-tile", { class: "s-loyalty-header" }, h("div", { slot: "icon", class: "s-loyalty-header-icon" }, h("salla-skeleton", { type: "circle", height: '6rem', width: '6rem' })), h("div", { slot: "title", class: "s-loyalty-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-loyalty-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-loyalty-skeleton-cards" }, [...Array(3)].map(() => h("div", { class: "s-loyalty-prize-item swiper-slide" }, h("salla-skeleton", { height: '9rem' }), h("div", { class: "s-loyalty-prize-item-title" }, h("salla-skeleton", { height: '15px', width: '75%' })), h("div", { class: "s-loyalty-prize-item-subtitle" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-loyalty-prize-item-points" }, h("salla-skeleton", { height: '15px', width: '100px' }), h("div", { class: "s-loyalty-prize-item-check" }, h("salla-skeleton", { height: '1rem', width: '1rem', type: 'circle' })))))))), !this.hasError && !!this.loyaltyProgram ?
198
207
  [
199
208
  h("salla-list-tile", { id: 's-loyalty-header', class: "s-loyalty-header" }, h("div", { slot: "icon", class: "s-loyalty-header-icon", innerHTML: GiftImg }), h("div", { slot: "title", class: "s-loyalty-header-title" }, this.loyaltyProgram.prize_promotion_title), h("div", { slot: "subtitle", class: "s-loyalty-header-subtitle" }, this.loyaltyProgram.prize_promotion_description)),
200
- h("salla-tabs", null, this.loyaltyProgram.prizes.map((prize) => h("salla-tab-header", { slot: "header", name: prize.title }, h("span", null, prize.title))), this.loyaltyProgram.prizes.map((prize, index) => h("salla-tab-content", { slot: "content", name: prize.title }, h("salla-slider", { class: "s-loyalty-slider", loop: false, "controls-outer": true, id: 'loyalty-popup-slider-' + index, type: "carousel" }, h("div", { slot: 'items' }, prize.items.map((item) => this.prizeItem(item))))))),
201
- h("salla-button", { disabled: !this.selectedItem, width: "wide", class: "s-loyalty-program-redeem-btn", onClick: () => this.openConfirmation() }, salla.lang.get('pages.loyalty_program.exchange_points')),
209
+ h("salla-tabs", { key: this.tabsKey }, this.loyaltyProgram.prizes.map((prize) => h("salla-tab-header", { slot: "header", name: prize.title }, h("span", null, prize.title))), this.loyaltyProgram.prizes.map((prize, index) => h("salla-tab-content", { slot: "content", name: prize.title }, h("salla-slider", { class: "s-loyalty-slider", loop: false, "controls-outer": true, id: 'loyalty-popup-slider-' + index, type: "carousel" }, h("div", { slot: 'items' }, prize.items.map((item) => this.prizeItem(item))))))),
210
+ this.activeTabType?.toUpperCase() === 'FREE_PRODUCT' && (salla.config.get('store.features') || []).includes('loyalty-system-v2')
211
+ ? h("a", { href: salla.url.get(''), class: "s-loyalty-program-redeem-btn s-button-element s-button-btn s-button-solid s-button-wide s-button-primary s-button-wrap" }, salla.lang.get('pages.loyalty_program.shop_now'))
212
+ : h("salla-button", { disabled: !this.selectedItem, width: "wide", class: "s-loyalty-program-redeem-btn", onClick: () => this.openConfirmation() }, salla.lang.get('pages.loyalty_program.exchange_points')),
202
213
  ]
203
214
  : h("salla-placeholder", { class: "s-loyalty-placeholder", alignment: "center" }, !!this.errorMessage ? h("span", { slot: "description" }, this.errorMessage) : '')),
204
215
  ];
@@ -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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, F as Fragment } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, F as Fragment, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h } from './index-DbC46u_V.js';
5
5
  import { S as SICheck } from './check-BZp0rKEO.js';
6
6
 
7
7
  var iconFileArchive = `<!-- 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 } from './index-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DbC46u_V.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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DbC46u_V.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';
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-CfaNNoM2.js';
5
- import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-BcJ4xDKw.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DbC46u_V.js';
5
+ import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-7e80w1OB.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SITag } from './tag-cgSL_BIo.js';
8
8
  import { S as SICheck } from './check-BZp0rKEO.js';
9
9
  import { S as SICancel } from './cancel-8Tsmrwno.js';
10
- import { T as TrackedPromise } from './tracked-promise-xD-AZOwt.js';
10
+ import { T as TrackedPromise } from './tracked-promise-BoMxGtXb.js';
11
11
 
12
12
  const sallaLoyaltyProgramCss$3 = "";
13
13
 
@@ -108,10 +108,17 @@ const SallaRewardDetails = class {
108
108
  return [];
109
109
  const brands = this.brand.data;
110
110
  const categories = this.category.data;
111
- return brands.concat(categories).filter(i => ids.includes(i.id));
111
+ // id_ is the numeric ID from the API (e.g. 740744759); id is a string hash (e.g. "zEVZGx"). included_category_ids/included_brand_ids are number[], so id_ is correct here.
112
+ return brands.concat(categories).filter(i => ids.includes(i.id_));
112
113
  }
113
114
  getIncludedItems(items, ids) {
114
- return items?.length ? items : this.findItems(ids);
115
+ if (items?.length) {
116
+ return items;
117
+ }
118
+ if (ids?.length) {
119
+ return this.findItems(ids);
120
+ }
121
+ return [];
115
122
  }
116
123
  getProductIds(ids) {
117
124
  return ids || [];
@@ -155,11 +162,11 @@ const SallaRewardDetails = class {
155
162
  }
156
163
  render() {
157
164
  const termsAndConditions = this.getTermsAndConditions();
158
- return (h("div", { key: '3140551c4bcc64429a2f820ae9f915f19f6d3a77', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'b193833caee8153c71b6c9f6af95358503afa103', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '0567985c10193a8eba6570bda8abf4aefa75657a', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
165
+ return (h("div", { key: '17b29a9098873643557786c9d9515b6245e2d773', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'bd5411918a07a8e2dc1eb8ef7b1e06e82403d280', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '9e6d884e3e70c0ff3dbb005f61d48c1d1fa2ee65', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
159
166
  : h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
160
167
  'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
161
168
  'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
162
- } })), this.prize.name)), h("div", { key: '66bb25eadb6c640b4c661b6b3e227b4b8ef4f40d', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '1cc1c1c121240fab3ccd32bce176deec378ef3fd', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '81f43a0c61ed0889810efa2cf4447477c2b08094', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'eb09214a175e8484dfc6c870492e49e3e28cbe42', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: '2ce3001371ab69c73453957f6dfb066710d88edd', size: "sm", bg: "light" }, h("span", { key: '459b58a09e6f59314c83f7d1a5baf6c559f02bd1', innerHTML: SIGift }), h("span", { key: '1cd0a85c1d2b9cdf1430e90bd12bbe83f1b05813', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: 'a25d46f6a961844efd8f920bf5e4e1fd836cb460', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '4cf3e9e123993f6be8fb67df243156996b2a6fdd', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: 'd658e9aea4384bc89a7a4cae956e90844092894a', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
169
+ } })), this.prize.name)), h("div", { key: '09d716d984701a251a3a759acbf112883fd0cf8f', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'f7e2c8d017ba4dab380d08e0c7a5f1e49416b1f4', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '369bb4e9a1b8d8dde62de1236b4d836fd3d6841f', class: "s-loyalty-program-aspect-container" }, h("img", { key: '3ed20feecdcd1c7433ec465364ae62639824ee6d', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: '2bba4702e75d05622b719fa796efccda0520ce69', size: "sm", bg: "light" }, h("span", { key: '837afff2bdf9a390e8ca373f31dddbd84d7c6a91', innerHTML: SIGift }), h("span", { key: 'c3631a877062d69947928b1beee2ae4932910eec', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: '872bfd776acf67910a5cdeafdb48e2c7afd5d71c', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '253e6f58946e911ba2b74ef18ebcee0eae0bb514', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: 'ce4b30fab9f1fae89fd956ae3eb20e5750fcea09', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
163
170
  h("salla-tab-header", { slot: "header", name: "included", style: {
164
171
  display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
165
172
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICheck }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
@@ -169,7 +176,7 @@ const SallaRewardDetails = class {
169
176
  display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
170
177
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
171
178
  h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
172
- ]))), h("salla-reward-action", { key: '3b355609aa30f12d0fae5a95681d19b62193113d', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
179
+ ]))), h("salla-reward-action", { key: '4055a99cf9dd6a30448848544d302e929afb5f06', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
173
180
  }
174
181
  static get watchers() { return {
175
182
  "prize": ["handlePrizeChange"]
@@ -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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
 
7
7
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -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-CfaNNoM2.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DbC46u_V.js';
5
5
  import { S as Search } from './search-BscTeWDc.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, H as Host } from './index-CfaNNoM2.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DbC46u_V.js';
5
5
 
6
6
  const sallaSkeletonCss = ":host{display:block}";
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-CfaNNoM2.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DbC46u_V.js';
5
5
  import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  /**