@salla.sa/twilight-components 2.14.461 → 2.14.463

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 (439) hide show
  1. package/dist/cjs/{filepond-DDAGSiBu.js → filepond-XQ49P28a.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-nmHjxMAB.js → filepond-plugin-file-poster-BPQxaVwU.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BtQEm835.js → filepond-plugin-file-validate-size-B9ApyJPA.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DZh74oiy.js → filepond-plugin-file-validate-type-Bcpy1-Yx.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CTGzmH1f.js → filepond-plugin-image-edit-DpTpDHd0.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-D851LeUg.js → filepond-plugin-image-exif-orientation-BpFgVfuH.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-BcbCu3xH.js → filepond-plugin-image-preview-Cb8nl-Sk.js} +1 -1
  8. package/dist/cjs/{functions-JSbmlqCR.js → functions-BWxgjDLr.js} +1 -1
  9. package/dist/cjs/{index-B382wYR4.js → index-C8A5Jog8.js} +1 -1
  10. package/dist/cjs/{index-BbEaNgXt.js → index-erFsk7OI.js} +6 -2
  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 +3 -3
  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 +12 -12
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +5 -5
  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 +1 -3
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +4 -4
  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 +2 -4
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +9 -15
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -5
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -3
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +96 -0
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +4 -7
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  77. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  78. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  80. package/dist/cjs/salla-products-list.cjs.entry.js +29 -12
  81. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-reward-action_4.cjs.entry.js +10 -10
  85. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  87. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  88. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  91. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  92. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-menu.cjs.entry.js +6 -7
  96. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  98. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  100. package/dist/cjs/{tracked-promise-B0hsrPu_.js → tracked-promise-CAEeCapf.js} +1 -1
  101. package/dist/cjs/twilight.cjs.js +2 -2
  102. package/dist/cjs/{vanilla-picker-CuSFaj7m.js → vanilla-picker-B9ah_1w1.js} +1 -1
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +0 -2
  105. package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.js +0 -2
  106. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +99 -0
  107. package/dist/collection/components/salla-loyalty-program/salla-loyalty-banner.js +0 -2
  108. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  109. package/dist/collection/components/salla-loyalty-program/salla-loyalty-panel.js +0 -2
  110. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -10
  111. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -4
  112. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  113. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  114. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  115. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  116. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  117. package/dist/collection/components/salla-map/salla-map.js +3 -3
  118. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  119. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  120. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  121. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  122. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  123. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  124. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  125. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  126. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  127. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  128. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  129. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  130. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  131. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  132. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  133. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  134. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  135. package/dist/collection/components/salla-products-list/salla-products-list.js +28 -11
  136. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  137. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  138. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  139. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  140. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  141. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  142. package/dist/collection/components/salla-search/salla-search.js +5 -5
  143. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  144. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  145. package/dist/collection/components/salla-social/salla-social.js +1 -1
  146. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  147. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  148. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  149. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  150. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  151. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  152. package/dist/collection/components/salla-user-menu/salla-user-menu.js +6 -7
  153. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  154. package/dist/components/index.js +2 -2
  155. package/dist/components/salla-cashback-banner.js +0 -2
  156. package/dist/components/salla-loyalty-banner.js +0 -2
  157. package/dist/components/salla-loyalty-hero2.js +3 -3
  158. package/dist/components/salla-loyalty-panel.js +0 -2
  159. package/dist/components/salla-loyalty-point2.js +4 -10
  160. package/dist/components/salla-loyalty-points-banner.js +0 -2
  161. package/dist/components/salla-loyalty-points-history.d.ts +11 -0
  162. package/dist/components/salla-loyalty-points-history.js +129 -0
  163. package/dist/components/salla-loyalty-program.js +1 -4
  164. package/dist/components/salla-loyalty-reward.js +2 -2
  165. package/dist/components/salla-maintenance-alert.js +1 -1
  166. package/dist/components/salla-map2.js +3 -3
  167. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  168. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  169. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  170. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  171. package/dist/components/salla-multiple-bundle-product.js +1 -1
  172. package/dist/components/salla-notification-item2.js +1 -1
  173. package/dist/components/salla-offer-modal.js +1 -1
  174. package/dist/components/salla-order-details.js +1 -1
  175. package/dist/components/salla-order-edit-product-card.js +1 -1
  176. package/dist/components/salla-order-summary.js +1 -1
  177. package/dist/components/salla-payments.js +2 -2
  178. package/dist/components/salla-placeholder2.js +1 -1
  179. package/dist/components/salla-price-range2.js +2 -2
  180. package/dist/components/salla-product-availability2.js +1 -1
  181. package/dist/components/salla-product-card-embed.js +1 -1
  182. package/dist/components/salla-product-card2.js +5 -5
  183. package/dist/components/salla-product-size-guide.js +2 -2
  184. package/dist/components/salla-products-list2.js +28 -11
  185. package/dist/components/salla-quantity-input2.js +1 -1
  186. package/dist/components/salla-quick-buy2.js +1 -1
  187. package/dist/components/salla-review-card2.js +1 -1
  188. package/dist/components/salla-reviews-page.js +1 -1
  189. package/dist/components/salla-reviews.js +1 -1
  190. package/dist/components/salla-reward-card2.js +1 -1
  191. package/dist/components/salla-reward-details2.js +3 -3
  192. package/dist/components/salla-reward-exchange2.js +3 -3
  193. package/dist/components/salla-scopes.js +1 -1
  194. package/dist/components/salla-search.js +5 -5
  195. package/dist/components/salla-searchable-dropdown2.js +4 -4
  196. package/dist/components/salla-skeleton2.js +1 -1
  197. package/dist/components/salla-social-share.js +1 -1
  198. package/dist/components/salla-social.js +1 -1
  199. package/dist/components/salla-tab-content2.js +1 -1
  200. package/dist/components/salla-tab-header2.js +1 -1
  201. package/dist/components/salla-tabs2.js +1 -1
  202. package/dist/components/salla-tel-input2.js +1 -1
  203. package/dist/components/salla-tooltip2.js +1 -1
  204. package/dist/components/salla-user-menu.js +6 -7
  205. package/dist/components/salla-user-settings.js +1 -1
  206. package/dist/esm/{filepond-n7Tk1X1s.js → filepond-AAIlCdAO.js} +1 -1
  207. package/dist/esm/{filepond-plugin-file-poster-BSnp0vvZ.js → filepond-plugin-file-poster-CzcSk93x.js} +1 -1
  208. package/dist/esm/{filepond-plugin-file-validate-size-CoYRMYw6.js → filepond-plugin-file-validate-size-DRV8qwBW.js} +1 -1
  209. package/dist/esm/{filepond-plugin-file-validate-type-qCOXsTrd.js → filepond-plugin-file-validate-type-CelZ69Kz.js} +1 -1
  210. package/dist/esm/{filepond-plugin-image-edit-DXpVwYXm.js → filepond-plugin-image-edit-B-hHZqmA.js} +1 -1
  211. package/dist/esm/{filepond-plugin-image-exif-orientation-BWH5RIuD.js → filepond-plugin-image-exif-orientation-BgxjrMAY.js} +1 -1
  212. package/dist/esm/{filepond-plugin-image-preview-D2-j0VSU.js → filepond-plugin-image-preview-h6BWEU-G.js} +1 -1
  213. package/dist/esm/{functions-C0YAccvF.js → functions-Dg0XXbIV.js} +1 -1
  214. package/dist/esm/{index-CWoBHtob.js → index-BlGD97H6.js} +1 -1
  215. package/dist/esm/{index-DZJfoSMn.js → index-CgKcWLpf.js} +6 -2
  216. package/dist/esm/loader.js +3 -3
  217. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  218. package/dist/esm/salla-accordion_6.entry.js +1 -1
  219. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  220. package/dist/esm/salla-advertisement.entry.js +1 -1
  221. package/dist/esm/salla-alert_2.entry.js +1 -1
  222. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  223. package/dist/esm/salla-apps-icons.entry.js +1 -1
  224. package/dist/esm/salla-badge.entry.js +1 -1
  225. package/dist/esm/salla-booking-field_7.entry.js +12 -12
  226. package/dist/esm/salla-bullet-delivery_2.entry.js +5 -5
  227. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  228. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  229. package/dist/esm/salla-cashback-banner.entry.js +1 -3
  230. package/dist/esm/salla-comment-form_8.entry.js +4 -4
  231. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  232. package/dist/esm/salla-contacts.entry.js +1 -1
  233. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  234. package/dist/esm/salla-count-down.entry.js +1 -1
  235. package/dist/esm/salla-custom-fields.entry.js +1 -1
  236. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  237. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  238. package/dist/esm/salla-filters-widget.entry.js +1 -1
  239. package/dist/esm/salla-filters.entry.js +1 -1
  240. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  241. package/dist/esm/salla-gifting.entry.js +1 -1
  242. package/dist/esm/salla-hook.entry.js +1 -1
  243. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  244. package/dist/esm/salla-installment.entry.js +1 -1
  245. package/dist/esm/salla-list-tile.entry.js +1 -1
  246. package/dist/esm/salla-localization-modal.entry.js +1 -1
  247. package/dist/esm/salla-login-modal.entry.js +1 -1
  248. package/dist/esm/salla-loyalty-banner.entry.js +2 -4
  249. package/dist/esm/salla-loyalty-hero_2.entry.js +9 -15
  250. package/dist/esm/salla-loyalty-panel.entry.js +3 -5
  251. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -3
  252. package/dist/esm/salla-loyalty-points-history.entry.js +94 -0
  253. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  254. package/dist/esm/salla-loyalty-program.entry.js +4 -7
  255. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  256. package/dist/esm/salla-loyalty.entry.js +1 -1
  257. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  258. package/dist/esm/salla-map.entry.js +4 -4
  259. package/dist/esm/salla-menu.entry.js +1 -1
  260. package/dist/esm/salla-metadata.entry.js +1 -1
  261. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  262. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  263. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  264. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  265. package/dist/esm/salla-notification-item.entry.js +2 -2
  266. package/dist/esm/salla-notifications.entry.js +1 -1
  267. package/dist/esm/salla-offer-modal.entry.js +2 -2
  268. package/dist/esm/salla-offer.entry.js +1 -1
  269. package/dist/esm/salla-order-branch.entry.js +1 -1
  270. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  271. package/dist/esm/salla-order-details-options.entry.js +1 -1
  272. package/dist/esm/salla-order-details.entry.js +2 -2
  273. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  274. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  275. package/dist/esm/salla-order-edit.entry.js +1 -1
  276. package/dist/esm/salla-order-summary.entry.js +2 -2
  277. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  278. package/dist/esm/salla-orders.entry.js +1 -1
  279. package/dist/esm/salla-payments.entry.js +3 -3
  280. package/dist/esm/salla-placeholder.entry.js +2 -2
  281. package/dist/esm/salla-price-range.entry.js +3 -3
  282. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  283. package/dist/esm/salla-product-card_2.entry.js +6 -6
  284. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  285. package/dist/esm/salla-products-list.entry.js +29 -12
  286. package/dist/esm/salla-progress-bar.entry.js +1 -1
  287. package/dist/esm/salla-quick-order.entry.js +1 -1
  288. package/dist/esm/salla-rating-modal.entry.js +1 -1
  289. package/dist/esm/salla-reward-action_4.entry.js +10 -10
  290. package/dist/esm/salla-scopes.entry.js +2 -2
  291. package/dist/esm/salla-search.entry.js +6 -6
  292. package/dist/esm/salla-skeleton.entry.js +2 -2
  293. package/dist/esm/salla-slider.entry.js +1 -1
  294. package/dist/esm/salla-social-share.entry.js +2 -2
  295. package/dist/esm/salla-social.entry.js +2 -2
  296. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  297. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  298. package/dist/esm/salla-tooltip.entry.js +2 -2
  299. package/dist/esm/salla-trust-badges.entry.js +1 -1
  300. package/dist/esm/salla-user-menu.entry.js +6 -7
  301. package/dist/esm/salla-user-profile.entry.js +1 -1
  302. package/dist/esm/salla-user-settings.entry.js +2 -2
  303. package/dist/esm/salla-verify.entry.js +1 -1
  304. package/dist/esm/salla-wallet.entry.js +1 -1
  305. package/dist/esm/{tracked-promise-GcOA8b3a.js → tracked-promise-B-7sMH4T.js} +1 -1
  306. package/dist/esm/twilight.js +3 -3
  307. package/dist/esm/{vanilla-picker-BpADmZjj.js → vanilla-picker-BcjrIc-C.js} +1 -1
  308. package/dist/twilight/{p-05f84e06.entry.js → p-02e79512.entry.js} +1 -1
  309. package/dist/twilight/{p-f4c8cace.entry.js → p-050d10dd.entry.js} +1 -1
  310. package/dist/twilight/{p-d04feb4a.entry.js → p-07e779b2.entry.js} +1 -1
  311. package/dist/twilight/{p-ebfbda5f.entry.js → p-0bb1836f.entry.js} +1 -1
  312. package/dist/twilight/{p-759ec1b2.entry.js → p-0bf29eb6.entry.js} +1 -1
  313. package/dist/twilight/{p-adb26a1f.entry.js → p-0fbd5e22.entry.js} +1 -1
  314. package/dist/twilight/{p-38e27a00.entry.js → p-17ae88c3.entry.js} +1 -1
  315. package/dist/twilight/p-17bceaf3.entry.js +4 -0
  316. package/dist/twilight/p-18123ac7.entry.js +4 -0
  317. package/dist/twilight/p-1c078509.entry.js +4 -0
  318. package/dist/twilight/p-1f8d103f.entry.js +4 -0
  319. package/dist/twilight/{p-2a900c4e.entry.js → p-23d41e5a.entry.js} +1 -1
  320. package/dist/twilight/{p-92bdfae5.entry.js → p-2ef068f6.entry.js} +1 -1
  321. package/dist/twilight/p-30cdc70c.entry.js +4 -0
  322. package/dist/twilight/{p-ed4a6e2d.entry.js → p-3173408c.entry.js} +1 -1
  323. package/dist/twilight/{p-c785365c.entry.js → p-31aa72b6.entry.js} +1 -1
  324. package/dist/twilight/{p-17d10d15.entry.js → p-323be2a0.entry.js} +1 -1
  325. package/dist/twilight/{p-ed061a5a.entry.js → p-34881ede.entry.js} +1 -1
  326. package/dist/twilight/{p-20ccbbe4.entry.js → p-37e5e4ba.entry.js} +1 -1
  327. package/dist/twilight/{p-c177ec39.entry.js → p-39a27ca2.entry.js} +1 -1
  328. package/dist/twilight/{p-3355b043.entry.js → p-3d5d09e5.entry.js} +1 -1
  329. package/dist/twilight/{p-457c98ed.entry.js → p-43f6d3aa.entry.js} +1 -1
  330. package/dist/twilight/{p-78ea4116.entry.js → p-46a9e49d.entry.js} +1 -1
  331. package/dist/twilight/p-49953509.entry.js +4 -0
  332. package/dist/twilight/{p-fbea393e.entry.js → p-49fef2a0.entry.js} +1 -1
  333. package/dist/twilight/{p-e9029b24.entry.js → p-4bd6f468.entry.js} +1 -1
  334. package/dist/twilight/{p-6deac135.entry.js → p-4e8fb0e3.entry.js} +1 -1
  335. package/dist/twilight/{p-4391b061.entry.js → p-520b00c7.entry.js} +1 -1
  336. package/dist/twilight/p-53b100a6.entry.js +4 -0
  337. package/dist/twilight/{p-ab681e13.entry.js → p-55178df6.entry.js} +1 -1
  338. package/dist/twilight/p-5642a30a.entry.js +4 -0
  339. package/dist/twilight/{p-8494470d.entry.js → p-5fe17bc8.entry.js} +1 -1
  340. package/dist/twilight/{p-c443a332.entry.js → p-6419fdff.entry.js} +1 -1
  341. package/dist/twilight/{p-8640b282.entry.js → p-65e1db2e.entry.js} +1 -1
  342. package/dist/twilight/p-67a831d2.entry.js +4 -0
  343. package/dist/twilight/{p-dc85db79.entry.js → p-684678f7.entry.js} +1 -1
  344. package/dist/twilight/{p-aa6980d3.entry.js → p-6868565b.entry.js} +1 -1
  345. package/dist/twilight/{p-60d8f39b.entry.js → p-68e221fb.entry.js} +1 -1
  346. package/dist/twilight/{p-aaa589b3.entry.js → p-6b25dc69.entry.js} +1 -1
  347. package/dist/twilight/{p-04755a75.entry.js → p-6fa42874.entry.js} +1 -1
  348. package/dist/twilight/p-70eced14.entry.js +4 -0
  349. package/dist/twilight/{p-28654655.entry.js → p-71f024e8.entry.js} +1 -1
  350. package/dist/twilight/{p-95916068.entry.js → p-77a23292.entry.js} +1 -1
  351. package/dist/twilight/{p-348ba7bc.entry.js → p-7b35061c.entry.js} +1 -1
  352. package/dist/twilight/{p-a2ef6d82.entry.js → p-7c4ee058.entry.js} +1 -1
  353. package/dist/twilight/{p-b17dff86.entry.js → p-7f27897e.entry.js} +1 -1
  354. package/dist/twilight/{p-3d72203e.entry.js → p-7f5f48f6.entry.js} +1 -1
  355. package/dist/twilight/{p-72cac49f.entry.js → p-84e636d1.entry.js} +1 -1
  356. package/dist/twilight/{p-57b49cdf.entry.js → p-8517f731.entry.js} +1 -1
  357. package/dist/twilight/{p-36b19d00.entry.js → p-86aa1fbf.entry.js} +1 -1
  358. package/dist/twilight/{p-ef824ee1.entry.js → p-8c72f4cc.entry.js} +1 -1
  359. package/dist/twilight/{p-723fd41b.entry.js → p-8dabf108.entry.js} +1 -1
  360. package/dist/twilight/{p-e3c42341.entry.js → p-8fc7f3d6.entry.js} +1 -1
  361. package/dist/twilight/{p-0707d2f3.entry.js → p-904617da.entry.js} +1 -1
  362. package/dist/twilight/{p-154982a2.entry.js → p-9176d7ce.entry.js} +1 -1
  363. package/dist/twilight/{p-ac27db7b.entry.js → p-9387dd90.entry.js} +1 -1
  364. package/dist/twilight/{p-e8514ae6.entry.js → p-99106873.entry.js} +1 -1
  365. package/dist/twilight/p-9b4fc23f.entry.js +4 -0
  366. package/dist/twilight/{p-0377ee4a.entry.js → p-9c28210e.entry.js} +1 -1
  367. package/dist/twilight/{p-AfEAfJ98.js → p-Bo2jQzcR.js} +1 -1
  368. package/dist/twilight/{p-D3Knumjd.js → p-BzGCvVEm.js} +1 -1
  369. package/dist/twilight/{p-q7sRVQkm.js → p-CC2-QEDL.js} +1 -1
  370. package/dist/twilight/{p-BGvyt9d0.js → p-CH7wsBUY.js} +1 -1
  371. package/dist/twilight/{p-DZJfoSMn.js → p-CgKcWLpf.js} +1 -1
  372. package/dist/twilight/{p-DPrVo6nK.js → p-CwWt5HLh.js} +1 -1
  373. package/dist/twilight/p-DBqJzNYt.js +4 -0
  374. package/dist/twilight/p-DPoo7VAM.js +9 -0
  375. package/dist/twilight/{p-DtRKnFMd.js → p-HVfj7cvk.js} +1 -1
  376. package/dist/twilight/{p-CzKVU0uc.js → p-KXvNwMUI.js} +1 -1
  377. package/dist/twilight/{p-3cea9d02.entry.js → p-a34163a9.entry.js} +1 -1
  378. package/dist/twilight/{p-d4bf9b9a.entry.js → p-a7055743.entry.js} +1 -1
  379. package/dist/twilight/{p-CL6oN_Q7.js → p-aZStLvlC.js} +1 -1
  380. package/dist/twilight/{p-7cdd0edd.entry.js → p-ab581ba2.entry.js} +1 -1
  381. package/dist/twilight/{p-BJydaLla.js → p-alpadDPN.js} +1 -1
  382. package/dist/twilight/{p-5d8e2e4e.entry.js → p-b0219eab.entry.js} +1 -1
  383. package/dist/twilight/p-b111e9fa.entry.js +4 -0
  384. package/dist/twilight/{p-92a92648.entry.js → p-b60cbdfb.entry.js} +1 -1
  385. package/dist/twilight/p-b6cefa97.entry.js +4 -0
  386. package/dist/twilight/{p-4e1dd088.entry.js → p-b987e3af.entry.js} +1 -1
  387. package/dist/twilight/{p-d88387cf.entry.js → p-baeac8aa.entry.js} +1 -1
  388. package/dist/twilight/{p-d993f567.entry.js → p-bba4aa09.entry.js} +1 -1
  389. package/dist/twilight/p-c246a042.entry.js +4 -0
  390. package/dist/twilight/{p-8e29f889.entry.js → p-c522db75.entry.js} +1 -1
  391. package/dist/twilight/{p-d369971e.entry.js → p-c92bc81e.entry.js} +1 -1
  392. package/dist/twilight/{p-b8879670.entry.js → p-ca869069.entry.js} +12 -12
  393. package/dist/twilight/{p-8bdb3374.entry.js → p-cd49d0b1.entry.js} +1 -1
  394. package/dist/twilight/{p-f7c7dd70.entry.js → p-cd86a347.entry.js} +1 -1
  395. package/dist/twilight/{p-30532b9c.entry.js → p-cdfbcd5c.entry.js} +1 -1
  396. package/dist/twilight/{p-0bba3324.entry.js → p-d076e173.entry.js} +1 -1
  397. package/dist/twilight/{p-c8376047.entry.js → p-d68546db.entry.js} +1 -1
  398. package/dist/twilight/{p-23d3fe72.entry.js → p-dd363a06.entry.js} +1 -1
  399. package/dist/twilight/{p-3c726469.entry.js → p-de185a77.entry.js} +1 -1
  400. package/dist/twilight/p-e197f3d2.entry.js +4 -0
  401. package/dist/twilight/p-e6a66265.entry.js +4 -0
  402. package/dist/twilight/{p-a77699f6.entry.js → p-eaedd514.entry.js} +1 -1
  403. package/dist/twilight/{p-15674f9e.entry.js → p-f0fc32fb.entry.js} +1 -1
  404. package/dist/twilight/{p-098f1fae.entry.js → p-f66cc02e.entry.js} +1 -1
  405. package/dist/twilight/p-f6a7c273.entry.js +4 -0
  406. package/dist/twilight/{p-f3a8ffbe.entry.js → p-f770e708.entry.js} +1 -1
  407. package/dist/twilight/{p-4f28f97c.entry.js → p-fade3b90.entry.js} +1 -1
  408. package/dist/twilight/twilight.esm.js +1 -1
  409. package/dist/types/components/salla-loyalty-points-history/salla-loyalty-points-history.d.ts +12 -0
  410. package/dist/types/components/salla-loyalty-program/interfaces.d.ts +3 -2
  411. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +0 -1
  412. package/dist/types/components/salla-products-list/salla-products-list.d.ts +2 -0
  413. package/dist/types/components/salla-user-menu/salla-user-menu.d.ts +1 -1
  414. package/dist/types/components.d.ts +13 -0
  415. package/package.json +5 -5
  416. package/dist/cjs/translations-BHyDCj-Y.js +0 -306
  417. package/dist/collection/components/salla-loyalty-program/translations.js +0 -302
  418. package/dist/components/translations.js +0 -304
  419. package/dist/esm/translations-dn_hTofo.js +0 -304
  420. package/dist/twilight/p-173db748.entry.js +0 -4
  421. package/dist/twilight/p-23de0e4d.entry.js +0 -4
  422. package/dist/twilight/p-28472b7d.entry.js +0 -4
  423. package/dist/twilight/p-4bd6e04e.entry.js +0 -4
  424. package/dist/twilight/p-60ed6a43.entry.js +0 -4
  425. package/dist/twilight/p-6585f570.entry.js +0 -4
  426. package/dist/twilight/p-6fcbb71a.entry.js +0 -4
  427. package/dist/twilight/p-7f8842a6.entry.js +0 -4
  428. package/dist/twilight/p-8e0cb0b4.entry.js +0 -4
  429. package/dist/twilight/p-BuQQcHl4.js +0 -4
  430. package/dist/twilight/p-D1YyLASn.js +0 -9
  431. package/dist/twilight/p-c74ccdee.entry.js +0 -4
  432. package/dist/twilight/p-ce20b220.entry.js +0 -4
  433. package/dist/twilight/p-d9bc10fa.entry.js +0 -4
  434. package/dist/twilight/p-dn_hTofo.js +0 -4
  435. package/dist/twilight/p-e18d93d6.entry.js +0 -4
  436. package/dist/twilight/p-f44362e9.entry.js +0 -4
  437. package/dist/twilight/p-fcb5ea5d.entry.js +0 -4
  438. package/dist/twilight/p-fe4866b6.entry.js +0 -4
  439. package/dist/types/components/salla-loyalty-program/translations.d.ts +0 -1
@@ -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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
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 } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-CgKcWLpf.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const DEBUG_KEY = 'salla-delivery-promise-debug';
7
7
  function log(message, data) {
@@ -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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaEditOrderButtonCss = ":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-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.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, c as createEvent, h, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-BXj4f_Qj.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const SallaFulfillmentMethods = 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 } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h } from './index-CgKcWLpf.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const SallaHook = 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, H as Host, a as getElement } from './index-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaListTileCss = "";
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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-CgKcWLpf.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,9 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DZJfoSMn.js';
5
- import { s as setTranslations } from './translations-dn_hTofo.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CgKcWLpf.js';
6
5
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-GcOA8b3a.js';
6
+ import { T as TrackedPromise } from './tracked-promise-B-7sMH4T.js';
8
7
 
9
8
  const sallaLoyaltyProgramCss = "";
10
9
 
@@ -31,7 +30,6 @@ const SallaLoyaltyBanner = class {
31
30
  componentWillLoad() {
32
31
  return salla.onReady()
33
32
  .then(() => salla.lang.onLoaded())
34
- .then(() => setTranslations())
35
33
  .then(() => this.prize())
36
34
  .catch(error => salla.logger.error(error));
37
35
  }
@@ -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-DZJfoSMn.js';
5
- import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-C0YAccvF.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
+ import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-Dg0XXbIV.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';
@@ -20,13 +20,13 @@ const SallaLoyaltyHero = class {
20
20
  registerInstance(this, hostRef);
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'f273bd77fb72c44195d5c59028505a217e4fb2f2' }, h("section", { key: 'dfe6196286fe59610bd084fbf0513bae4dfbe254', class: "s-loyalty-program-hero-container" }, h("div", { key: 'bcbcf95e78477768d050093294147fb6d9777046', class: "s-loyalty-program-hero-background", style: {
23
+ return (h(Host, { key: '5c5193846a54877e042ef6470014aa6d041f5d40' }, h("section", { key: '6072a4836f28c2de74eeb2208f1e2e66f274875e', class: "s-loyalty-program-hero-container" }, h("div", { key: 'e5475eebd8725e3fc0650a4a3fd9ace4c0b785af', class: "s-loyalty-program-hero-background", style: {
24
24
  backgroundImage: `url(${this.image})`,
25
- } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: '61ea985f1105f98da5a6bc58ddce42e88b23df28', class: {
25
+ } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: '485aa5a50b7cfc463cafa704c08bc01d7a2a56df', class: {
26
26
  's-loyalty-program-hero-content': true,
27
27
  's-loyalty-program-hero-white': !!this.image,
28
28
  's-loyalty-program-hero-gray': !this.image,
29
- } }, h("div", { key: '74b4e725bc91e72fb4512533e9d91dccd2f2a040' }, h("h1", { key: '3f9b8a0d9a1fc9c58007049b91f4852c0e7a9470', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: 'a404bae08a1d4922b73eef9122f540b4a5a412ae', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: '04df0835694628c383d8cbb5455400d47bcce501', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: 'c0d757cbffaf88a4f40dd1a61444189d36c40763', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: 'cd347b02a9c588dca9d98723c7e06adfba5662f8', name: "action" }))), h("div", { key: '261ed03dd2f3ea1ae218b82bf6f2897321fd18c2', class: "s-loyalty-program-hero-footer" }, h("div", { key: 'bf78eba028f33115c6d6ea11bd613bef7202e100', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: 'd061f05ef8d7959a226b2a3b2d5d915ac525dbe0', name: "crosspoint" }))))));
29
+ } }, h("div", { key: '5a20942fbdcf655adf647d5fda20d98c95e7b5f0' }, h("h1", { key: 'cd588ad7f5d83aaf91b584ca27e1e4765401eb22', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: '2bc4d0be971eb4772ad0c312a0036715939ee443', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: 'a57f729e535582f45543d95d1c305b5a89c18118', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: '9eae1d22eb64f00e25a355485979435bce464a4a', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: 'c8f7c4aca6095bd75d0122e5ce3694af3561a01e', name: "action" }))), h("div", { key: 'f08a2d8a93bdfc9ca93effd4b4e693670c057689', class: "s-loyalty-program-hero-footer" }, h("div", { key: '171cc3d9a92aee7380aa974a300f91e81ae3319d', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: '518e48e2dede80b0acd427d1d1ca0aaf2c1ffef0', name: "crosspoint" }))))));
30
30
  }
31
31
  };
32
32
  SallaLoyaltyHero.style = sallaLoyaltyProgramCss$1;
@@ -204,12 +204,6 @@ const SallaLoyaltyPoint = class {
204
204
  return '';
205
205
  }
206
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
207
  getDetails(point) {
214
208
  if (point.conditions.filter(c => c.key.endsWith('_BY_CATEGORIES')).length > 0) {
215
209
  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)))))))));
@@ -230,7 +224,7 @@ const SallaLoyaltyPoint = class {
230
224
  }
231
225
  }
232
226
  render() {
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 ?
227
+ return (h("div", { key: '18188b96c76014a8ca63490301473570179c6e78' }, h("div", { key: '0549c74cd95a162a59a471cdc59be0f1ced0ce0f', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'cb3cbbd5b73644e1e69bd427e8603021e3177b1c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '9915e810011d48c389f2ff7e49059c386a71fb9f', class: this.point.icon })), h("div", { key: 'ee19572884f1d26780cde2532f65dedaea881240', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '781ec4ca3f923a0784242d3933131616f2b24d44', size: "xs", bg: "transparent" }, h("span", { key: '5e38c2cb5b84f3c5dcddf1ab52ece36f91aaf89c', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: 'a78d50feb0e87e3df46616b80296566dd41f04bf', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: 'e984c578ad5ec7a6837d051d7d79635e1867b2d8', size: "sm", bg: "transparent" }, h("span", { key: 'b10cba531be0562633c446fe9f545553606e36af', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'c10978d7fdf85a7c99442d8ab3583048380d2108', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
234
228
  h("a", { class: {
235
229
  's-loyalty-program-points-action': true,
236
230
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -240,12 +234,12 @@ const SallaLoyaltyPoint = class {
240
234
  's-loyalty-program-points-action': true,
241
235
  's-loyalty-program-points-action-completed': this.point.is_completed,
242
236
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
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) => {
237
+ } }, this.point.description)), h("salla-modal", { key: 'e44d1d39a1a7aa2f5560ed920a1e7b071f89e44c', 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: '29079334d694c522883e101be8cbf3cac7cf53cb', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '31d76362feb5d8faf3f0ef7f0bc253aa5d53bf06', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '526cfb6c9181e17c2953678da7018ba627d410fe', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '09aff5a2d91555902ed6adcb9875b43915a2c26a', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'a3878cda3a169d8780232b1b94f52add991038f6', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '54ba6129910cad8719872ac3f6fa2849ff3fe085', class: this.point.icon })), h("salla-badge", { key: '32f3fb88719c3c6ed8523235a0c05ec7cdf52936', size: "sm", bg: "light" }, h("span", { key: '8b9eb28e0175f411dd96cf99e7bbfd82d6364178', innerHTML: SIGift }), h("span", { key: '93e030f87e44efd45f46d5e246fc9b636b84150f', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
238
+ h("div", { key: '8536792c55eee3afaf0f22706691109dd14b08d1', class: "s-loyalty-program-points-modal-details" }, h("div", { key: '9121cc3b2e099189ee780a37c07cfdd4a83471d5', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '254a0641aac4eafd9386757445808567c1fd5707', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
245
239
  const stepsArray = Object.values(this.point.steps);
246
240
  const isLastItem = idx === stepsArray.length - 1;
247
241
  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))));
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: {
242
+ })))), this.getDetails(this.point), h("div", { key: '5a7b03a390c7fe14741e8ba2a720335496af2ffb', 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: '627db1137113e711730ba1187d43224b24b66381', class: "s-loyalty-program-points-modal-action" }, h("a", { key: 'acb48d39007c6c42d2a248dbdd62c6e1afb0c994', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
249
243
  's-loyalty-program-points-action': true,
250
244
  's-loyalty-program-points-action-completed': this.point.is_completed,
251
245
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -1,15 +1,14 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DZJfoSMn.js';
5
- import { s as setTranslations } from './translations-dn_hTofo.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-C0YAccvF.js';
4
+ import { h, r as registerInstance } from './index-CgKcWLpf.js';
5
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-Dg0XXbIV.js';
7
6
  import { S as Star } from './star2-D4oPi1Ov.js';
8
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
8
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
9
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
10
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-GcOA8b3a.js';
11
+ import { T as TrackedPromise } from './tracked-promise-B-7sMH4T.js';
13
12
 
14
13
  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
14
 
@@ -44,7 +43,6 @@ const SallaLoyaltyPanel = class {
44
43
  componentWillLoad() {
45
44
  return salla.onReady()
46
45
  .then(() => salla.lang.onLoaded())
47
- .then(() => setTranslations())
48
46
  .then(() => {
49
47
  salla.event.on('loyalty::exchange.succeeded', this.handleExchangeSucceeded);
50
48
  salla.event.on('loyalty::exchange-reset.succeeded', this.handleResetSucceeded);
@@ -1,8 +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-DZJfoSMn.js';
5
- import { s as setTranslations } from './translations-dn_hTofo.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
6
5
 
7
6
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
8
7
  <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"/>
@@ -21,7 +20,6 @@ const SallaLoyaltyPointsBanner = class {
21
20
  try {
22
21
  await salla.onReady();
23
22
  await salla.lang.onLoaded();
24
- await setTranslations();
25
23
  this.productId = this.host.dataset.productId || salla.config.get('page.id');
26
24
  if (!this.productId) {
27
25
  return;
@@ -0,0 +1,94 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { r as registerInstance, h, H as Host } from './index-CgKcWLpf.js';
5
+ import { S as SIGift } from './gift-CXRKXFgT.js';
6
+
7
+ const formatDate = (timestamp) => {
8
+ if (!timestamp)
9
+ return '';
10
+ return new Date(Number(timestamp)).toLocaleDateString(salla.lang.locale, {
11
+ weekday: 'long',
12
+ year: 'numeric',
13
+ month: 'long',
14
+ day: 'numeric',
15
+ hour: 'numeric',
16
+ });
17
+ };
18
+ const translateKey = (key) => {
19
+ if (!key)
20
+ return '';
21
+ try {
22
+ const k = key.toLowerCase();
23
+ const translation = salla.lang.get(`pages.loyalty_program.${k}`);
24
+ return translation === `pages.loyalty_program.${k}` ? key : translation;
25
+ }
26
+ catch {
27
+ return key;
28
+ }
29
+ };
30
+ const SallaLoyaltyPointsHistory = class {
31
+ constructor(hostRef) {
32
+ registerInstance(this, hostRef);
33
+ this.loyaltyPointsArray = [];
34
+ this.balance = 0;
35
+ this.isLoadingLoyalty = false;
36
+ this.nextPageUrlLoyalty = '';
37
+ this.handleClick = () => {
38
+ this.loadMoreLoyaltyPoints();
39
+ };
40
+ }
41
+ async componentWillLoad() {
42
+ try {
43
+ await salla.onReady();
44
+ await salla.lang.onLoaded();
45
+ await this.loadLoyaltyPoints();
46
+ }
47
+ catch (e) {
48
+ salla?.logger?.warn?.('salla-loyalty-points-history: init failed', e);
49
+ }
50
+ }
51
+ async loadLoyaltyPoints() {
52
+ this.isLoadingLoyalty = true;
53
+ try {
54
+ let url = `/balance/points?page=1`;
55
+ let resp = await salla.api.request(url);
56
+ this.loyaltyPointsArray = resp.data;
57
+ this.balance = resp.balance;
58
+ this.nextPageUrlLoyalty = resp.cursor.next;
59
+ }
60
+ catch (error) {
61
+ console.error('Error loading loyalty points transactions', error);
62
+ }
63
+ finally {
64
+ this.isLoadingLoyalty = false;
65
+ }
66
+ }
67
+ async loadMoreLoyaltyPoints() {
68
+ if (!this.nextPageUrlLoyalty)
69
+ return;
70
+ this.isLoadingLoyalty = true;
71
+ try {
72
+ let resp = await salla.api.request(this.nextPageUrlLoyalty);
73
+ this.loyaltyPointsArray = [...this.loyaltyPointsArray, ...resp.data];
74
+ this.nextPageUrlLoyalty = resp.cursor?.next || '';
75
+ }
76
+ catch (error) {
77
+ console.error('Error loading more loyalty points', error);
78
+ }
79
+ finally {
80
+ this.isLoadingLoyalty = false;
81
+ }
82
+ }
83
+ render() {
84
+ return (h(Host, { key: '722394ad8e614d7db2460762992ea12bbf4d1f07' }, h("div", { key: '2230046263f24dbe9f13329134121e6b1079d713' }, this.isLoadingLoyalty ? (h("salla-loading", null)) : (h("div", null, h("table", { class: "s-loyalty-points-history-table" }, h("tbody", null, h("tr", null, h("td", null, h("div", { class: "s-loyalty-points-history-balance-container" }, h("i", { class: "s-loyalty-points-history-balance-icon sicon-gift" }), h("div", null, h("div", { class: "s-loyalty-points-history-balance-value" }, this.balance, " ", salla.lang.get('pages.loyalty_program.point')), h("div", { class: "s-loyalty-points-history-balance-label" }, salla.lang.get('pages.loyalty_program.your_points')))))))), this.loyaltyPointsArray.length > 0 ? (h("div", null, h("table", { class: "s-loyalty-points-history-table" }, h("thead", { class: "s-loyalty-points-history-table-head" }, h("tr", null, h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.points')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.date')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('pages.wallet.expiry_date')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.note')), h("th", { scope: "col", class: "s-loyalty-points-history-table-head-tr-th" }, salla.lang.get('common.elements.status')))), h("tbody", null, this.loyaltyPointsArray.map(point => (h("tr", { class: "s-loyalty-points-history-table-tbody-tr" }, h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.points'), ":"), h("span", null, point?.type === 'plus' ? '+' : '', point?.amount || '', " ", salla.lang.get('pages.loyalty_program.point')))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.date'), ":"), h("span", null, formatDate(point?.created_at ? Number(point.created_at) * 1000 : undefined)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('pages.wallet.expiry_date'), ":"), h("span", null, formatDate(point?.expires_at ? Number(point.expires_at) * 1000 : undefined)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.note'), ":"), h("span", null, translateKey(point?.key)))), h("td", { class: "s-loyalty-points-history-table-tbody-tr-td" }, h("div", { class: "s-loyalty-points-history-table-tbody-tr-td-content" }, h("span", { class: "s-loyalty-points-history-mobile-title" }, salla.lang.get('common.elements.status'), ":"), h("div", { class: {
85
+ 's-loyalty-points-history-table-transaction-status': true,
86
+ 's-loyalty-points-history-table-transaction-status-pending': point?.status_key === 'pending',
87
+ 's-loyalty-points-history-table-transaction-status-revoked': point?.status_key === 'revoked',
88
+ 's-loyalty-points-history-table-transaction-status-used': point?.status_key === 'used',
89
+ 's-loyalty-points-history-table-transaction-status-expired': point?.status_key === 'expired',
90
+ } }, point?.status)))))))), h("div", { class: "s-loyalty-points-history-load-more" }, !!this.nextPageUrlLoyalty && (h("salla-button", { onClick: this.handleClick, loading: this.isLoadingLoyalty }, salla.lang.get('common.elements.load_more')))))) : (h("div", { class: "s-loyalty-points-history-table-empty-state" }, h("span", { innerHTML: SIGift }), h("div", { class: "s-loyalty-points-history-table-placeholder-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_title')), h("div", { class: "s-loyalty-points-history-table-placeholder-sub-title" }, salla.lang.get('pages.loyalty_program.no_loyality_points_sub_title')))))))));
91
+ }
92
+ };
93
+
94
+ export { SallaLoyaltyPointsHistory as salla_loyalty_points_history };
@@ -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-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CgKcWLpf.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,14 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-DZJfoSMn.js';
5
- import { s as setTranslations } from './translations-dn_hTofo.js';
6
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-C0YAccvF.js';
4
+ import { h, r as registerInstance } from './index-CgKcWLpf.js';
5
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-Dg0XXbIV.js';
7
6
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
8
7
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
9
8
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
10
9
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
11
10
  import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
12
- import { S as SIGift } from './gift-CXRKXFgT.js';
13
- import { T as TrackedPromise } from './tracked-promise-GcOA8b3a.js';
11
+ import { T as TrackedPromise } from './tracked-promise-B-7sMH4T.js';
14
12
  import { a as anime } from './anime.es-CgtvEd63.js';
15
13
 
16
14
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -58,7 +56,6 @@ const SallaLoyaltyProgram = class {
58
56
  componentWillLoad() {
59
57
  return salla.onReady()
60
58
  .then(() => salla.lang.onLoaded())
61
- .then(() => setTranslations())
62
59
  .then(() => {
63
60
  this.program();
64
61
  this.points();
@@ -85,7 +82,7 @@ const SallaLoyaltyProgram = class {
85
82
  const prizesGroups = this.program.data.prizes;
86
83
  const prizesCount = this.program.data.prizes_count;
87
84
  return (h("div", { class: "s-loyalty-program-container" }, h("salla-loyalty-hero", { name: this.program.data.name, description: this.program.data.description, image: this.program.data.image }, salla.config.isUser()
88
- ? h("div", { slot: "crosspoint", class: "s-loyalty-program-profile-wrapper" }, h("div", { class: "s-loyalty-program-profile-container" }, h("div", { class: "s-loyalty-program-profile-points-section" }, h("h2", { class: "s-loyalty-program-profile-label" }, salla.lang.get('pages.loyalty_program.your_points')), h("p", { class: "s-loyalty-program-profile-points" }, h("span", { class: "s-loyalty-program-profile-points-value" }, !!this.animatedPoints ? this.animatedPoints : this.points.data), "\u00A0", salla.lang.get('pages.loyalty_program.point'))), h("div", { class: "s-loyalty-program-profile-icon" }, h("span", { innerHTML: SIGift }))))
85
+ ? h("div", { slot: "crosspoint", class: "s-loyalty-program-profile-wrapper" }, h("div", { class: "s-loyalty-program-profile-container" }, h("div", { class: "s-loyalty-program-profile-points-section" }, h("h2", { class: "s-loyalty-program-profile-label" }, salla.lang.get('pages.loyalty_program.your_points')), h("p", { class: "s-loyalty-program-profile-points" }, h("span", { class: "s-loyalty-program-profile-points-value" }, !!this.animatedPoints ? this.animatedPoints : this.points.data), "\u00A0", salla.lang.get('pages.loyalty_program.point'))), h("salla-button", { href: salla.url.get('loyalty_points'), fill: "outline", color: "primary" }, salla.lang.get('pages.loyalty_program.view_points_log'))))
89
86
  : h("button", { slot: "action", onClick: () => salla.event.dispatch('login::open'), class: {
90
87
  's-loyalty-program-login-action': true,
91
88
  's-loyalty-program-login-action-dark': !this.program.data.image,
@@ -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-DZJfoSMn.js';
5
- import { c as closeModals } from './functions-C0YAccvF.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-CgKcWLpf.js';
5
+ import { c as closeModals } from './functions-Dg0XXbIV.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: 'cc64d1446b539fa06a6fea4280992264816fed40', class: {
40
+ return (h("div", { key: 'c99714fbefea9c43a199201d6e9d331ed4b50e7f', class: {
41
41
  's-loyalty-program-reward-container': true,
42
42
  's-loyalty-program-reward-xs': this.size === 'xs',
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: {
43
+ } }, h("div", { key: 'b3139a4325629e3e23b09096b96fbb9079ebb4f5', onClick: this.handleActionArea, role: "button" }, h("div", { key: '8d2951399db70f2672619149583d3821429611fa', class: "s-loyalty-program-reward-img" }, h("img", { key: 'd03e024172b99a72fdeb311e24f91d9ca11b69a1', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: '23901c0a96c9af1ae459d5bbcad0f4429933225b', class: "s-loyalty-program-reward-content" }, h("div", { key: '795743061efd1270a1a24eceb66f67e2bbb9eb1e', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '83545f69e513a563dfaef7bb107ae119656406a0', size: "xs" }, h("span", { key: '28751b88c77af1acfb746f58f55f4b84f2364141', innerHTML: SIGift }), h("span", { key: '2ab694a2ff30f419171191c0746b80f74edfeea4', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: 'a67f1577b61604d88b54637a8951248663239a6e', class: "s-loyalty-program-reward-title" }, h("span", { key: 'c3a6df53cff6339bbd81018d69bcf3a8637e0a46' }, this.group)), h("div", { key: '6790fc3a3d44e7e25a2e5c1ea246515245fa1e61', class: "s-loyalty-program-reward-name" }, h("div", { key: 'fa99561fa8d2efafc2aee2796eceea93721e525d', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: '948edaacd021950384418aedab807c11dee15754', class: "p-4" }, h("button", { key: '982c4c516b508aabec8489dc6f5c9ca326264f2a', 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-DZJfoSMn.js';
4
+ import { r as registerInstance, h } from './index-CgKcWLpf.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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CgKcWLpf.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}}";
@@ -22,7 +22,7 @@ const SallaMaintenanceAlert = class {
22
22
  this.host.style.display = 'none';
23
23
  }
24
24
  render() {
25
- return (h(Host, { key: 'e1a1d166cb1be3f24820517a902d0a0559634a80', class: "s-maintenance-alert-wrapper" }, h("button", { key: 'c59d166fca18b0da876bd6c8b24af2bd2db18aba', class: "s-maintenance-alert-close", innerHTML: SICancel, onClick: () => this.closeAlert() }), h("div", { key: '1706aa47265a29485b48ad7be1cebc98b8e735ec', class: "s-maintenance-alert-content" }, h("div", { key: '0ba2feded17c0dfd1a129f11cf7f393a1737055b', class: "s-maintenance-alert-container" }, h("div", { key: '509a81ace0c168f42e5391b5d4b1e04337b2c6fb', class: "s-maintenance-alert-icon" }, h("img", { key: '97598847825b9d4c1c8d06e0001c7d669c0dac4b', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: '9bb8eac957668568262b9c59fd20bcff5240566f', class: "s-maintenance-alert-text" }, h("h2", { key: 'ac424443f1c28002a1e00305f240741c7b6bed4f' }, this.title), h("p", { key: '7d0dd3556640386b01877369a840ce1bedf5c647' }, this.message))), h("div", { key: 'fdbc31b011bc8c067046a57721344cd57554f5d8' }, h("a", { key: '6efb57a978e9fe03474451c464e85626974e476a', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
25
+ return (h(Host, { key: '43a02d438a0357bd48922ad8fa4753905ac5e388', class: "s-maintenance-alert-wrapper" }, h("button", { key: 'ad62ec4a5ea3e77854d5bbf8938c4bb1b19da068', class: "s-maintenance-alert-close", innerHTML: SICancel, onClick: () => this.closeAlert() }), h("div", { key: '4a26bf28c37452b9621703188502b05db1347f75', class: "s-maintenance-alert-content" }, h("div", { key: '0602a5df5676b47407e0c8e8293fb2374aa2c210', class: "s-maintenance-alert-container" }, h("div", { key: 'ff7c3fad5c1830d6d8d631aa520b0dd588328265', class: "s-maintenance-alert-icon" }, h("img", { key: '277e2a8c3d6b4369e73fef23adf894ddf70ef685', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), h("div", { key: '5feb8a00c132f2b5787e42a0b9743d864ceecb2f', class: "s-maintenance-alert-text" }, h("h2", { key: '994eb48859d163ad19be4a273a5cff5e28f18b2b' }, this.title), h("p", { key: '236094a5767e6f329744e8dafc2415be2713a0e2' }, this.message))), h("div", { key: '98610dfed6802e7ebc123c1392c9f7ebdbcf0d5a' }, h("a", { key: '655cede6c8e95a7fbb63700f01ef1d148887a660', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
26
26
  }
27
27
  componentDidLoad() {
28
28
  //auto-hide the alert if close button is clicked before one hour
@@ -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-DZJfoSMn.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CgKcWLpf.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
 
7
7
  var Edit = `<!-- Generated by IcoMoon.io -->
@@ -698,11 +698,11 @@ const SallaMap = class {
698
698
  }
699
699
  // render
700
700
  render() {
701
- return (h(Host, { key: 'fb5b01c58f59c350959b40030603b9ebb22f586f', class: "s-map-wrapper" }, h("salla-modal", { key: 'c57cfae01a05597dcd06067cf84c9356ee93dd44', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
701
+ return (h(Host, { key: '8fae0e6754bd0571d5acf9bbc6df23e73b02b015', class: "s-map-wrapper" }, h("salla-modal", { key: '7aebcc533a4ec8f7ec5e3a8682f7f70afd5b1193', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
702
702
  this.locationModal = modal;
703
- } }, this.getLocationModal()), h("slot", { key: '0ab77947689841d7ab44a11b5e56e7f952aa7a82', name: "button" }, h("salla-button", { key: 'da386e3e15a89882865f7d62dd64da72ccebbc1d', onClick: () => {
703
+ } }, this.getLocationModal()), h("slot", { key: '1dc262e8474c0d137f98ce06c76d9fdea80d42c4', name: "button" }, h("salla-button", { key: '5ff296514b2e7b37d091cd634f497e855cf047d5', onClick: () => {
704
704
  this.open();
705
- }, color: "primary", class: "s-map-location-button" }, h("span", { key: '85c9eee27edafb31442f420633bbe6552a14d558', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: '5999036a08b7b030cf29ae5242bb63bc1222fbbc', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
705
+ }, color: "primary", class: "s-map-location-button" }, h("span", { key: '806e832caff4dfdbadab0098f8c521548eb18aa4', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), h("input", { key: '2bc1c843dd35803d4f443907d1df52c72f4e87c2', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
706
706
  }
707
707
  get host() { return getElement(this); }
708
708
  };
@@ -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-DZJfoSMn.js';
4
+ import { r as registerInstance, h, F as Fragment } from './index-CgKcWLpf.js';
5
5
 
6
6
  const sallaMenuCss = ":host{display:block}";
7
7