@salla.sa/twilight-components 2.14.430 → 2.14.432

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 (426) hide show
  1. package/dist/cjs/{filepond-Cirhmv0g.js → filepond-B_l27yye.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CFJdxZnt.js → filepond-plugin-file-poster-DZOhW2iP.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-D_c252fB.js → filepond-plugin-file-validate-size-BNaYb1U3.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CmQlvhLj.js → filepond-plugin-file-validate-type-Cw8Znb0V.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CVkvUofN.js → filepond-plugin-image-edit-DxnD0wqH.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B5qI46w6.js → filepond-plugin-image-exif-orientation-DlLc6bZg.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CFlJws8x.js → filepond-plugin-image-preview-LS71z4pj.js} +1 -1
  8. package/dist/cjs/{functions-DikM8tjQ.js → functions-Bli1zuDJ.js} +1 -1
  9. package/dist/cjs/{index-BPCJbQAt.js → index-Bkq8qG-X.js} +6 -6
  10. package/dist/cjs/{index-qdhDUBe_.js → index-fxto0lmo.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 +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +4 -4
  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 +16 -16
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +19 -10
  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 +23 -7
  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 +2 -2
  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 +3 -3
  33. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  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 +2 -2
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  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 +8 -8
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  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 +4 -4
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-products-list.cjs.entry.js +34 -3
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  80. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  81. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +3 -3
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/{tracked-promise-CIjCJ7rC.js → tracked-promise-Bg3_0LpQ.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +2 -2
  97. package/dist/cjs/{vanilla-picker-DS2OnhRa.js → vanilla-picker-C1EOe3vj.js} +1 -1
  98. package/dist/collection/components/salla-bought-together/salla-bought-together.css +0 -136
  99. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +14 -5
  100. package/dist/collection/components/salla-comments/salla-comment-item.js +20 -3
  101. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  102. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  103. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  104. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  105. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  106. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  107. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  108. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  109. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  110. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  111. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  112. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  113. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  114. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  115. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  116. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  117. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  118. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  119. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  120. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  121. package/dist/collection/components/salla-map/salla-map.js +3 -3
  122. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  123. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  124. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  125. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  126. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  127. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  128. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  129. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  130. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  131. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  132. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  133. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  134. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  135. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  136. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  137. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  138. package/dist/collection/components/salla-products-list/salla-products-list.js +33 -2
  139. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  140. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  141. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  142. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  143. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  144. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  145. package/dist/collection/components/salla-search/salla-search.js +5 -5
  146. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  147. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  148. package/dist/collection/components/salla-social/salla-social.js +1 -1
  149. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  150. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  151. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  152. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  153. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  154. package/dist/collection/components/salla-tooltip/salla-tooltip.css +4 -4
  155. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  156. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  157. package/dist/components/index.js +2 -2
  158. package/dist/components/salla-bought-together.js +1 -1
  159. package/dist/components/salla-bullet-delivery.js +14 -5
  160. package/dist/components/salla-comment-item2.js +36 -13
  161. package/dist/components/salla-comments.js +24 -18
  162. package/dist/components/salla-conditional-fields2.js +1 -1
  163. package/dist/components/salla-count-down2.js +1 -1
  164. package/dist/components/salla-datetime-picker2.js +1 -1
  165. package/dist/components/salla-file-upload2.js +2 -2
  166. package/dist/components/salla-filters-widget2.js +2 -2
  167. package/dist/components/salla-filters.js +1 -1
  168. package/dist/components/salla-gifting.js +2 -2
  169. package/dist/components/salla-hook.js +1 -1
  170. package/dist/components/salla-list-tile2.js +1 -1
  171. package/dist/components/salla-loading2.js +1 -1
  172. package/dist/components/salla-localization-modal.js +1 -1
  173. package/dist/components/salla-loyalty-hero2.js +3 -3
  174. package/dist/components/salla-loyalty-point2.js +3 -3
  175. package/dist/components/salla-loyalty-prize-item.js +1 -1
  176. package/dist/components/salla-loyalty-reward.js +2 -2
  177. package/dist/components/salla-maintenance-alert.js +1 -1
  178. package/dist/components/salla-map2.js +3 -3
  179. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  180. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  181. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  182. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  183. package/dist/components/salla-multiple-bundle-product.js +1 -1
  184. package/dist/components/salla-notification-item2.js +1 -1
  185. package/dist/components/salla-offer-modal.js +1 -1
  186. package/dist/components/salla-order-details.js +1 -1
  187. package/dist/components/salla-order-edit-product-card.js +1 -1
  188. package/dist/components/salla-order-summary.js +1 -1
  189. package/dist/components/salla-payments.js +2 -2
  190. package/dist/components/salla-placeholder2.js +1 -1
  191. package/dist/components/salla-price-range2.js +2 -2
  192. package/dist/components/salla-product-availability2.js +1 -1
  193. package/dist/components/salla-product-card2.js +5 -5
  194. package/dist/components/salla-product-size-guide.js +2 -2
  195. package/dist/components/salla-products-list2.js +33 -2
  196. package/dist/components/salla-quantity-input2.js +1 -1
  197. package/dist/components/salla-quick-buy2.js +1 -1
  198. package/dist/components/salla-review-card2.js +1 -1
  199. package/dist/components/salla-reviews-page.js +1 -1
  200. package/dist/components/salla-reviews.js +1 -1
  201. package/dist/components/salla-reward-action2.js +1 -1
  202. package/dist/components/salla-reward-card2.js +1 -1
  203. package/dist/components/salla-reward-details2.js +3 -3
  204. package/dist/components/salla-reward-exchange2.js +3 -3
  205. package/dist/components/salla-scopes.js +1 -1
  206. package/dist/components/salla-search.js +5 -5
  207. package/dist/components/salla-searchable-dropdown2.js +4 -4
  208. package/dist/components/salla-skeleton2.js +1 -1
  209. package/dist/components/salla-social-share.js +1 -1
  210. package/dist/components/salla-social.js +1 -1
  211. package/dist/components/salla-tab-content2.js +1 -1
  212. package/dist/components/salla-tab-header2.js +1 -1
  213. package/dist/components/salla-tabs2.js +1 -1
  214. package/dist/components/salla-tel-input2.js +1 -1
  215. package/dist/components/salla-tooltip2.js +2 -2
  216. package/dist/components/salla-user-settings.js +1 -1
  217. package/dist/esm/{filepond-DiU0XQ9e.js → filepond-HXomeZen.js} +1 -1
  218. package/dist/esm/{filepond-plugin-file-poster-DtjI61lL.js → filepond-plugin-file-poster-D4H-PD_s.js} +1 -1
  219. package/dist/esm/{filepond-plugin-file-validate-size-Dqu64lGR.js → filepond-plugin-file-validate-size-BS0ly_Mw.js} +1 -1
  220. package/dist/esm/{filepond-plugin-file-validate-type-DcD09bJn.js → filepond-plugin-file-validate-type-COwvXqLN.js} +1 -1
  221. package/dist/esm/{filepond-plugin-image-edit-DVNXwam7.js → filepond-plugin-image-edit-yo1lYVPu.js} +1 -1
  222. package/dist/esm/{filepond-plugin-image-exif-orientation-DkFCziSJ.js → filepond-plugin-image-exif-orientation-AQpLyT8N.js} +1 -1
  223. package/dist/esm/{filepond-plugin-image-preview-DmXXOhqL.js → filepond-plugin-image-preview-BTSkXVkI.js} +1 -1
  224. package/dist/esm/{functions-BrNcFMBn.js → functions-5z0tDgRf.js} +1 -1
  225. package/dist/esm/{index-BvVpL-WS.js → index-BJ40PU3w.js} +6 -6
  226. package/dist/esm/{index-ZLiIwsdw.js → index-BuJQW042.js} +1 -1
  227. package/dist/esm/loader.js +3 -3
  228. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  229. package/dist/esm/salla-accordion_6.entry.js +2 -2
  230. package/dist/esm/salla-add-product-button_5.entry.js +4 -4
  231. package/dist/esm/salla-advertisement.entry.js +1 -1
  232. package/dist/esm/salla-alert_2.entry.js +1 -1
  233. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  234. package/dist/esm/salla-apps-icons.entry.js +1 -1
  235. package/dist/esm/salla-badge.entry.js +1 -1
  236. package/dist/esm/salla-booking-field_7.entry.js +16 -16
  237. package/dist/esm/salla-bullet-delivery_2.entry.js +19 -10
  238. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  239. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  240. package/dist/esm/salla-comment-form_8.entry.js +23 -7
  241. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  242. package/dist/esm/salla-contacts.entry.js +1 -1
  243. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  244. package/dist/esm/salla-count-down.entry.js +2 -2
  245. package/dist/esm/salla-custom-fields.entry.js +1 -1
  246. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  247. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  248. package/dist/esm/salla-filters-widget.entry.js +3 -3
  249. package/dist/esm/salla-filters.entry.js +2 -2
  250. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  251. package/dist/esm/salla-gifting.entry.js +3 -3
  252. package/dist/esm/salla-hook.entry.js +2 -2
  253. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  254. package/dist/esm/salla-installment.entry.js +1 -1
  255. package/dist/esm/salla-list-tile.entry.js +2 -2
  256. package/dist/esm/salla-localization-modal.entry.js +2 -2
  257. package/dist/esm/salla-login-modal.entry.js +1 -1
  258. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  259. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  260. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  261. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  262. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  263. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  264. package/dist/esm/salla-loyalty.entry.js +1 -1
  265. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  266. package/dist/esm/salla-map.entry.js +4 -4
  267. package/dist/esm/salla-menu.entry.js +1 -1
  268. package/dist/esm/salla-metadata.entry.js +1 -1
  269. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  270. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  271. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  272. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  273. package/dist/esm/salla-notification-item.entry.js +2 -2
  274. package/dist/esm/salla-notifications.entry.js +1 -1
  275. package/dist/esm/salla-offer-modal.entry.js +2 -2
  276. package/dist/esm/salla-offer.entry.js +1 -1
  277. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  278. package/dist/esm/salla-order-details-options.entry.js +1 -1
  279. package/dist/esm/salla-order-details.entry.js +2 -2
  280. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  281. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  282. package/dist/esm/salla-order-edit.entry.js +1 -1
  283. package/dist/esm/salla-order-summary.entry.js +2 -2
  284. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  285. package/dist/esm/salla-orders.entry.js +1 -1
  286. package/dist/esm/salla-payments.entry.js +3 -3
  287. package/dist/esm/salla-placeholder.entry.js +2 -2
  288. package/dist/esm/salla-price-range.entry.js +3 -3
  289. package/dist/esm/salla-product-card_2.entry.js +6 -6
  290. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  291. package/dist/esm/salla-products-list.entry.js +34 -3
  292. package/dist/esm/salla-progress-bar.entry.js +1 -1
  293. package/dist/esm/salla-quick-order.entry.js +1 -1
  294. package/dist/esm/salla-rating-modal.entry.js +1 -1
  295. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  296. package/dist/esm/salla-scopes.entry.js +2 -2
  297. package/dist/esm/salla-search.entry.js +6 -6
  298. package/dist/esm/salla-skeleton.entry.js +2 -2
  299. package/dist/esm/salla-slider.entry.js +1 -1
  300. package/dist/esm/salla-social-share.entry.js +2 -2
  301. package/dist/esm/salla-social.entry.js +2 -2
  302. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  303. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  304. package/dist/esm/salla-tooltip.entry.js +3 -3
  305. package/dist/esm/salla-trust-badges.entry.js +1 -1
  306. package/dist/esm/salla-user-menu.entry.js +1 -1
  307. package/dist/esm/salla-user-profile.entry.js +1 -1
  308. package/dist/esm/salla-user-settings.entry.js +2 -2
  309. package/dist/esm/salla-verify.entry.js +1 -1
  310. package/dist/esm/salla-wallet.entry.js +1 -1
  311. package/dist/esm/{tracked-promise-C9WWqUqk.js → tracked-promise-C8cy0NIq.js} +1 -1
  312. package/dist/esm/twilight.js +3 -3
  313. package/dist/esm/{vanilla-picker-M17sW8cB.js → vanilla-picker-CkNepO2l.js} +1 -1
  314. package/dist/twilight/{p-42a27ec9.entry.js → p-00aed63b.entry.js} +1 -1
  315. package/dist/twilight/{p-6ce4476a.entry.js → p-02011d32.entry.js} +1 -1
  316. package/dist/twilight/{p-3f2c6512.entry.js → p-0632dfef.entry.js} +1 -1
  317. package/dist/twilight/{p-a80f8392.entry.js → p-079fd3e3.entry.js} +1 -1
  318. package/dist/twilight/{p-XZtgFy1u.js → p-0AWfiLtG.js} +1 -1
  319. package/dist/twilight/{p-563ad8b1.entry.js → p-0fbe0573.entry.js} +1 -1
  320. package/dist/twilight/p-15105c61.entry.js +4 -0
  321. package/dist/twilight/{p-5955e77e.entry.js → p-178aae87.entry.js} +1 -1
  322. package/dist/twilight/{p-1196255d.entry.js → p-1a423637.entry.js} +1 -1
  323. package/dist/twilight/{p-ab6a7327.entry.js → p-1ed63470.entry.js} +1 -1
  324. package/dist/twilight/{p-026a05cb.entry.js → p-275770d0.entry.js} +1 -1
  325. package/dist/twilight/{p-91a41b34.entry.js → p-2976acab.entry.js} +1 -1
  326. package/dist/twilight/{p-60fe0718.entry.js → p-2ad11831.entry.js} +1 -1
  327. package/dist/twilight/{p-9bcd73b0.entry.js → p-2c17ff06.entry.js} +1 -1
  328. package/dist/twilight/{p-e48c91a0.entry.js → p-2d62cc4c.entry.js} +1 -1
  329. package/dist/twilight/{p-9020f3d2.entry.js → p-3279bfe3.entry.js} +1 -1
  330. package/dist/twilight/{p-3f17453a.entry.js → p-3f05e331.entry.js} +1 -1
  331. package/dist/twilight/{p-a54ee481.entry.js → p-3f9a1902.entry.js} +1 -1
  332. package/dist/twilight/{p-5d308bb3.entry.js → p-40d60687.entry.js} +1 -1
  333. package/dist/twilight/{p-694b9e1f.entry.js → p-43bee891.entry.js} +1 -1
  334. package/dist/twilight/p-460383f6.entry.js +4 -0
  335. package/dist/twilight/{p-16f9d2a1.entry.js → p-51b24d07.entry.js} +1 -1
  336. package/dist/twilight/p-587d868d.entry.js +4 -0
  337. package/dist/twilight/{p-f6d8db91.entry.js → p-5cd47a2a.entry.js} +1 -1
  338. package/dist/twilight/{p-74925d4d.entry.js → p-5cde2cb8.entry.js} +1 -1
  339. package/dist/twilight/{p-e484f70f.entry.js → p-5d077c6a.entry.js} +1 -1
  340. package/dist/twilight/{p-887262a1.entry.js → p-5f4c249f.entry.js} +1 -1
  341. package/dist/twilight/{p-00d72f65.entry.js → p-6130f608.entry.js} +1 -1
  342. package/dist/twilight/{p-98ac84a4.entry.js → p-6296eebd.entry.js} +1 -1
  343. package/dist/twilight/{p-ec502a59.entry.js → p-646e8f52.entry.js} +1 -1
  344. package/dist/twilight/{p-01743b1b.entry.js → p-6676e7ab.entry.js} +1 -1
  345. package/dist/twilight/{p-29acddf7.entry.js → p-676224c8.entry.js} +1 -1
  346. package/dist/twilight/p-6cd60db0.entry.js +4 -0
  347. package/dist/twilight/{p-1baaaada.entry.js → p-77c95706.entry.js} +1 -1
  348. package/dist/twilight/{p-5d56bb46.entry.js → p-79eea339.entry.js} +1 -1
  349. package/dist/twilight/{p-e7df2d02.entry.js → p-7af14cb7.entry.js} +1 -1
  350. package/dist/twilight/{p-0e609779.entry.js → p-7ca4d215.entry.js} +1 -1
  351. package/dist/twilight/p-7e74a3f8.entry.js +4 -0
  352. package/dist/twilight/p-8afcb7d2.entry.js +4 -0
  353. package/dist/twilight/{p-4ff3b253.entry.js → p-8b207eb9.entry.js} +1 -1
  354. package/dist/twilight/{p-4c3de6bc.entry.js → p-9119f35f.entry.js} +1 -1
  355. package/dist/twilight/{p-6c30d08d.entry.js → p-956ac53f.entry.js} +1 -1
  356. package/dist/twilight/p-9854f087.entry.js +4 -0
  357. package/dist/twilight/{p-460c3223.entry.js → p-9899dfe6.entry.js} +1 -1
  358. package/dist/twilight/{p-08389628.entry.js → p-9ca58cda.entry.js} +1 -1
  359. package/dist/twilight/{p-e29c5879.entry.js → p-9ce261f7.entry.js} +1 -1
  360. package/dist/twilight/{p-e60ed35e.entry.js → p-9e7bd84a.entry.js} +1 -1
  361. package/dist/twilight/{p-BvVpL-WS.js → p-BJ40PU3w.js} +1 -1
  362. package/dist/twilight/{p-C6A85BEB.js → p-BS8JieU8.js} +1 -1
  363. package/dist/twilight/{p-CwQDINE8.js → p-BY64RkRn.js} +1 -1
  364. package/dist/twilight/{p-C9hd13aU.js → p-Bun3xE9B.js} +1 -1
  365. package/dist/twilight/{p-s-nQXrWR.js → p-CFkS_w5i.js} +1 -1
  366. package/dist/twilight/{p-D2QeP02t.js → p-CYaVURSO.js} +1 -1
  367. package/dist/twilight/{p-DxsOI9Zt.js → p-Cln8qx5Q.js} +1 -1
  368. package/dist/twilight/{p-PA3S2KT3.js → p-D1RS-zwD.js} +1 -1
  369. package/dist/twilight/{p-BUrZI2aM.js → p-NA2JPuRY.js} +1 -1
  370. package/dist/twilight/{p-CIL3hdhP.js → p-_aEM4nUi.js} +1 -1
  371. package/dist/twilight/{p-8a82dd88.entry.js → p-a0005be9.entry.js} +1 -1
  372. package/dist/twilight/{p-bc40de55.entry.js → p-a18652ed.entry.js} +1 -1
  373. package/dist/twilight/{p-e8737d37.entry.js → p-a37100ea.entry.js} +1 -1
  374. package/dist/twilight/{p-56c0c112.entry.js → p-a7b03950.entry.js} +1 -1
  375. package/dist/twilight/{p-f94fcd4d.entry.js → p-ac58bd23.entry.js} +1 -1
  376. package/dist/twilight/{p-23ae52f8.entry.js → p-acfddda1.entry.js} +1 -1
  377. package/dist/twilight/{p-af6de590.entry.js → p-ad2ed5eb.entry.js} +1 -1
  378. package/dist/twilight/p-ad4ce4d9.entry.js +4 -0
  379. package/dist/twilight/{p-964ce7a3.entry.js → p-b191a231.entry.js} +1 -1
  380. package/dist/twilight/{p-7a0941a8.entry.js → p-b83da2aa.entry.js} +1 -1
  381. package/dist/twilight/p-bad7f522.entry.js +4 -0
  382. package/dist/twilight/{p-7637fd8b.entry.js → p-bb90ddc2.entry.js} +1 -1
  383. package/dist/twilight/{p-4802218f.entry.js → p-bfa0b7fe.entry.js} +1 -1
  384. package/dist/twilight/{p-1e988f4f.entry.js → p-c5523e29.entry.js} +1 -1
  385. package/dist/twilight/{p-31026ed7.entry.js → p-c632b364.entry.js} +1 -1
  386. package/dist/twilight/p-c8fb4dfa.entry.js +4 -0
  387. package/dist/twilight/{p-9ad307d8.entry.js → p-ca8e26b3.entry.js} +1 -1
  388. package/dist/twilight/{p-fb0e561e.entry.js → p-ccf24f28.entry.js} +1 -1
  389. package/dist/twilight/{p-477f5f80.entry.js → p-ce9405a3.entry.js} +1 -1
  390. package/dist/twilight/{p-2e494246.entry.js → p-d42cdc1a.entry.js} +1 -1
  391. package/dist/twilight/{p-575d8494.entry.js → p-d9d151cc.entry.js} +1 -1
  392. package/dist/twilight/{p-52fefe92.entry.js → p-dacde914.entry.js} +1 -1
  393. package/dist/twilight/{p-45e5092c.entry.js → p-df6636a5.entry.js} +1 -1
  394. package/dist/twilight/{p-f0088314.entry.js → p-e0ec707c.entry.js} +1 -1
  395. package/dist/twilight/p-e36cf20c.entry.js +4 -0
  396. package/dist/twilight/p-e386a27c.entry.js +4 -0
  397. package/dist/twilight/{p-e90e7777.entry.js → p-e4fc772b.entry.js} +1 -1
  398. package/dist/twilight/p-e6b3c87c.entry.js +4 -0
  399. package/dist/twilight/p-f058cd4d.entry.js +4 -0
  400. package/dist/twilight/{p-21a987de.entry.js → p-f26e212f.entry.js} +1 -1
  401. package/dist/twilight/{p-1950f3f2.entry.js → p-f2e0e6f0.entry.js} +1 -1
  402. package/dist/twilight/{p-b03b5c76.entry.js → p-f60083f9.entry.js} +1 -1
  403. package/dist/twilight/{p-e21e3a18.entry.js → p-f863328c.entry.js} +1 -1
  404. package/dist/twilight/{p-06eb8972.entry.js → p-fabe4232.entry.js} +1 -1
  405. package/dist/twilight/{p-4d385abd.entry.js → p-fbcde591.entry.js} +1 -1
  406. package/dist/twilight/{p-bb38dce1.entry.js → p-fc4090bd.entry.js} +1 -1
  407. package/dist/twilight/{p-a0e3c5fa.entry.js → p-ffff176d.entry.js} +1 -1
  408. package/dist/twilight/{p-CWNDCXYi.js → p-vXUmTMNT.js} +1 -1
  409. package/dist/twilight/twilight.esm.js +1 -1
  410. package/dist/types/components/salla-comments/interfaces.d.ts +1 -0
  411. package/dist/types/components/salla-comments/salla-comment-item.d.ts +3 -0
  412. package/package.json +5 -5
  413. package/dist/twilight/p-097a8bae.entry.js +0 -4
  414. package/dist/twilight/p-252ff6d9.entry.js +0 -4
  415. package/dist/twilight/p-2d62e0d2.entry.js +0 -4
  416. package/dist/twilight/p-4c3ccd8a.entry.js +0 -4
  417. package/dist/twilight/p-617b25dc.entry.js +0 -4
  418. package/dist/twilight/p-6af137a9.entry.js +0 -4
  419. package/dist/twilight/p-79520f52.entry.js +0 -4
  420. package/dist/twilight/p-8cda9c21.entry.js +0 -4
  421. package/dist/twilight/p-b56d69e0.entry.js +0 -4
  422. package/dist/twilight/p-c5e3a68c.entry.js +0 -4
  423. package/dist/twilight/p-cded196b.entry.js +0 -4
  424. package/dist/twilight/p-e12e156c.entry.js +0 -4
  425. package/dist/twilight/p-e2300aa7.entry.js +0 -4
  426. package/dist/twilight/p-e4567da1.entry.js +0 -4
@@ -5,7 +5,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
5
5
  import { d as defineCustomElement$3 } from './salla-button2.js';
6
6
  import { d as defineCustomElement$2 } from './salla-skeleton2.js';
7
7
 
8
- const sallaBoughtTogetherCss = ":host{display:block}.s-bought-together-checkbox:checked~.s-bought-together-checkmark{background-color:var(--color-primary, #2ECC71);border-color:var(--color-primary, #2ECC71)}.s-bought-together-checkbox:checked~.s-bought-together-checkmark::after{content:\"\";display:block;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}.s-bought-together-entry{display:block;background-color:#fff;padding:1.25rem;border-radius:0.375rem;margin-top:1.25rem;margin-bottom:1.25rem}.s-bought-together-header{margin-bottom:1rem}.s-bought-together-title{font-size:1.125rem;line-height:1.75rem;font-weight:700;margin-bottom:0.25rem;color:#111827}.s-bought-together-subtitle{font-size:0.875rem;line-height:1.25rem;color:#6b7280;margin:0}.s-bought-together-list{display:flex;flex-direction:column;margin-bottom:1rem}.s-bought-together-list>*+*{border-top:1px solid #f3f4f6}.s-bought-together-item{display:flex;align-items:center;gap:0.75rem;padding-top:0.75rem;padding-bottom:0.75rem;transition:opacity 200ms}.s-bought-together-item--unchecked{opacity:0.4}.s-bought-together-checkbox-label{position:relative;display:flex;align-items:center;cursor:pointer;flex-shrink:0}.s-bought-together-checkbox{position:absolute;opacity:0;width:0;height:0}.s-bought-together-checkmark{width:22px;height:22px;border:2px solid #d1d5db;border-radius:0.375rem;background-color:#fff;display:flex;align-items:center;justify-content:center;transition:all 150ms;flex-shrink:0}.s-bought-together-item-link{display:contents;color:inherit;text-decoration:none}.s-bought-together-item-img{width:3rem;height:3rem;object-fit:cover;border-radius:0.375rem;flex-shrink:0}.s-bought-together-item-name{flex:1;font-size:0.875rem;line-height:1.375}.s-bought-together-item-price{font-size:0.875rem;font-weight:600;white-space:nowrap;flex-shrink:0}.s-bought-together-btn{width:100%}.s-bought-together-skeleton{display:flex;flex-direction:column;gap:0.75rem}.s-bought-together-skeleton-header{display:flex;flex-direction:column;gap:0.5rem;margin-bottom:0.5rem}.s-bought-together-skeleton-item{display:flex;align-items:center;gap:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.s-bought-together-skeleton-info{flex:1;display:flex;flex-direction:column;gap:0.25rem}";
8
+ const sallaBoughtTogetherCss = ":host{display:block}.s-bought-together-checkbox:checked~.s-bought-together-checkmark{background-color:var(--color-primary, #2ECC71);border-color:var(--color-primary, #2ECC71)}.s-bought-together-checkbox:checked~.s-bought-together-checkmark::after{content:\"\";display:block;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-2px}";
9
9
 
10
10
  // Read-only recommendations key confirmed safe for client-side use by the API team — no write access or sensitive scope.
11
11
  const XSELL_API_KEY = 'VOL5WaZu2YROp0RplCZAr1RplhL9FFGQ';
@@ -606,10 +606,12 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
606
606
  };
607
607
  this.handleCountrySelected = (item) => {
608
608
  const country = this.countries.find(c => String(c.id) === String(item.id)) || item;
609
- const isCountrySwitch = this.selectedCountry &&
610
- country &&
611
- this.selectedCountry.code !== country.code;
612
- this.showCartWillBeClearedBanner = !!isCountrySwitch;
609
+ // Hide empty cart alert (INV-44)
610
+ // const isCountrySwitch =
611
+ // this.selectedCountry &&
612
+ // country &&
613
+ // this.selectedCountry.code !== (country as Country).code;
614
+ // this.showCartWillBeClearedBanner = !!isCountrySwitch;
613
615
  this.countrySearchQuery = '';
614
616
  this.displayedCountries = this.countries;
615
617
  this.applyCountryChange(country || null);
@@ -675,6 +677,11 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
675
677
  * Opens the bullet delivery modal
676
678
  */
677
679
  async open() {
680
+ // If mobile app, open the sheet
681
+ if (this.isMobileApp) {
682
+ Salla.event.dispatch('salla::bullet-delivery.open-sheet');
683
+ return;
684
+ }
678
685
  // If component is not ready yet, mark as pending and return
679
686
  if (!this.componentReady || !this.modal) {
680
687
  this.pendingOpen = true;
@@ -2434,7 +2441,9 @@ const SallaBulletDelivery$1 = /*@__PURE__*/ proxyCustomElement(class SallaBullet
2434
2441
  this.componentReady = true;
2435
2442
  if (this.isMobileApp) {
2436
2443
  // Ask the mobile app to render its native delivery sheet (replacement for our modal).
2437
- Salla.event.dispatch('salla::bullet-delivery.open-sheet');
2444
+ if (!this.hasBeenShownThisSession()) {
2445
+ Salla.event.dispatch('salla::bullet-delivery.open-sheet');
2446
+ }
2438
2447
  // When the user confirms inside the mobile sheet, mobile dispatches
2439
2448
  // `salla::bullet-delivery.select` with a payload equivalent to what
2440
2449
  // `handleConfirm()` produces on desktop. Apply the same side-effects.
@@ -3,11 +3,12 @@
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
5
5
  import { I as IconVerified } from './check.js';
6
- import { d as defineCustomElement$5 } from './salla-button2.js';
7
- import { d as defineCustomElement$4 } from './salla-loading2.js';
8
- import { d as defineCustomElement$3 } from './salla-modal2.js';
9
- import { d as defineCustomElement$2 } from './salla-rating-stars2.js';
10
- import { d as defineCustomElement$1 } from './salla-slider2.js';
6
+ import { d as defineCustomElement$6 } from './salla-button2.js';
7
+ import { d as defineCustomElement$5 } from './salla-loading2.js';
8
+ import { d as defineCustomElement$4 } from './salla-modal2.js';
9
+ import { d as defineCustomElement$3 } from './salla-rating-stars2.js';
10
+ import { d as defineCustomElement$2 } from './salla-slider2.js';
11
+ import { d as defineCustomElement$1 } from './salla-tooltip2.js';
11
12
 
12
13
  var Reply = `<!-- Generated by IcoMoon.io -->
13
14
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -30,6 +31,7 @@ const SallaCommentItem = /*@__PURE__*/ proxyCustomElement(class SallaCommentItem
30
31
  super();
31
32
  this.__registerHost();
32
33
  // Translations
34
+ this.locked_trans = salla.lang.get('blocks.comments.locked');
33
35
  this.has_bought_trans = salla.lang.get('blocks.comments.has_bought');
34
36
  this.rated_trans = salla.lang.get('pages.rating.rated');
35
37
  this.waiting_approval_trans = salla.lang.get('blocks.comments.waiting_approval');
@@ -49,8 +51,12 @@ const SallaCommentItem = /*@__PURE__*/ proxyCustomElement(class SallaCommentItem
49
51
  const setTranslations = async () => {
50
52
  await setNestedAsync('ar.trans', 'blocks.comments.helpful', 'مفيد');
51
53
  await setNestedAsync('en.trans', 'blocks.comments.helpful', 'Helpful');
54
+ await setNestedAsync('ar.trans', 'blocks.comments.locked', 'الرد غير ظاهر لباقي العملاء');
55
+ await setNestedAsync('en.trans', 'blocks.comments.locked', 'The reply is not visible to other customers');
52
56
  this.helpfulLabel = salla.lang.getWithDefault('blocks.comments.helpful', 'مفيد');
57
+ this.locked_trans = salla.lang.getWithDefault('blocks.comments.locked', 'الرد غير ظاهر لباقي العملاء');
53
58
  };
59
+ this.locked_trans = salla.lang.get('blocks.comments.locked');
54
60
  this.has_bought_trans = salla.lang.get('blocks.comments.has_bought');
55
61
  this.rated_trans = salla.lang.get('pages.rating.rated');
56
62
  this.waiting_approval_trans = salla.lang.get('blocks.comments.waiting_approval');
@@ -59,6 +65,8 @@ const SallaCommentItem = /*@__PURE__*/ proxyCustomElement(class SallaCommentItem
59
65
  });
60
66
  }
61
67
  componentDidLoad() {
68
+ if (!this.comment)
69
+ return;
62
70
  this.likesCount = this.comment.likes_count;
63
71
  try {
64
72
  this.likedComments = JSON.parse(localStorage.getItem('liked_comments') || '[]');
@@ -138,20 +146,29 @@ const SallaCommentItem = /*@__PURE__*/ proxyCustomElement(class SallaCommentItem
138
146
  }
139
147
  localStorage.setItem('liked_comments', JSON.stringify(this.likedComments));
140
148
  }
149
+ isPrivateComment(comment) {
150
+ return comment.status === 'hidden';
151
+ }
141
152
  PinnedIcon() {
142
153
  return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "16", height: "16", color: "#555555", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M12 16V21" }), h("path", { d: "M8 5.2918C8 5.02079 8 4.88529 8.01312 4.77132C8.1194 3.84789 8.84789 3.1194 9.77133 3.01312C9.88529 3 10.0208 3 10.2918 3H13.7082C13.9792 3 14.1147 3 14.2287 3.01312C15.1521 3.1194 15.8806 3.84789 15.9869 4.77132C16 4.88529 16 5.02079 16 5.2918C16 5.37885 16 5.42237 15.9967 5.46264C15.9708 5.78281 15.7927 6.07104 15.5179 6.2374C15.4834 6.25832 15.4444 6.27779 15.3666 6.31672L15.1055 6.44726C14.7021 6.64897 14.5003 6.74983 14.3681 6.90564C14.26 7.03286 14.1856 7.18509 14.1515 7.34846C14.1097 7.54854 14.1539 7.76968 14.2424 8.21197L15 12H15.3333C15.9533 12 16.2633 12 16.5176 12.0681C17.2078 12.2531 17.7469 12.7922 17.9319 13.4824C18 13.7367 18 14.0467 18 14.6667C18 14.9767 18 15.1317 17.9659 15.2588C17.8735 15.6039 17.6039 15.8735 17.2588 15.9659C17.1317 16 16.9767 16 16.6667 16H7.33333C7.02334 16 6.86835 16 6.74118 15.9659C6.39609 15.8735 6.12654 15.6039 6.03407 15.2588C6 15.1317 6 14.9767 6 14.6667C6 14.0467 6 13.7367 6.06815 13.4824C6.25308 12.7922 6.79218 12.2531 7.48236 12.0681C7.73669 12 8.04669 12 8.66667 12H9L9.75761 8.21197C9.84606 7.76968 9.89029 7.54854 9.84852 7.34846C9.81441 7.18509 9.73995 7.03286 9.63194 6.90564C9.49965 6.74983 9.29794 6.64897 8.89452 6.44726L8.63344 6.31672C8.55558 6.27779 8.51665 6.25832 8.48208 6.2374C8.20731 6.07104 8.02917 5.78281 8.00326 5.46264C8 5.42237 8 5.37885 8 5.2918Z" })));
143
154
  }
155
+ LockedIcon() {
156
+ return (h("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M3.5 4.66683V4.0835C3.5 2.1505 5.067 0.583496 7 0.583496C8.93299 0.583496 10.5 2.1505 10.5 4.0835V4.66683H11.6667C11.9888 4.66683 12.25 4.928 12.25 5.25016V12.2502C12.25 12.5723 11.9888 12.8335 11.6667 12.8335H2.33333C2.01117 12.8335 1.75 12.5723 1.75 12.2502V5.25016C1.75 4.928 2.01117 4.66683 2.33333 4.66683H3.5ZM11.0833 5.8335H2.91667V11.6668H11.0833V5.8335ZM6.41667 9.1774C6.06795 8.97568 5.83333 8.59867 5.83333 8.16683C5.83333 7.52248 6.35565 7.00016 7 7.00016C7.64435 7.00016 8.16667 7.52248 8.16667 8.16683C8.16667 8.59867 7.93205 8.97568 7.58333 9.1774V10.5002H6.41667V9.1774ZM4.66667 4.66683H9.33333V4.0835C9.33333 2.79483 8.28864 1.75016 7 1.75016C5.71134 1.75016 4.66667 2.79483 4.66667 4.0835V4.66683Z", fill: "#555555" })));
157
+ }
144
158
  render() {
159
+ if (!this.comment) {
160
+ return null;
161
+ }
145
162
  let isAdmin = this.comment.type == 'admin';
146
- return (h(Host, { key: '3f9d4b98cff2dd49259d3386b4996b905f92d7db', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { key: '1348f11b2e553be483f60c5c558d3e800f050700', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { key: '0587afd7ae1fc27b12fc4fd2c9ef4bf9e919d04a', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { key: '40009b2b3b9af60481d0e40d5fb919076ab43b10', class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { key: '8f0563811445046ecf5ce3abe6ee6d7d1ec4a235', class: "s-comments-item-avatar" }, h("img", { key: '5f82bb9d3a5c4c340f37b8e48af3edce42c133f8', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { key: '34581ee9fddaa2f79ee933efb65c2e354010f37a', class: "s-comments-flex-1" }, h("div", { key: 'e03fc074d5ac8ddf183e3b081001e73dd62a7116', class: "s-comments-item-user-wrapper" }, h("div", { key: '6ea5e07eb9fa35d7673019628e6fde4605b74e0c', class: "s-comments-item-user-info" }, h("h3", { key: '18d7cf8c8b8125138a544bd10027ae7503f2f3a6', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
163
+ return (h(Host, { class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { class: "s-comments-item-avatar" }, h("img", { "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { class: "s-comments-flex-1" }, h("div", { class: "s-comments-item-user-wrapper" }, h("div", { class: "s-comments-item-user-info" }, h("h3", { class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
147
164
  h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
148
165
  : null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
149
166
  h("div", { class: "s-comments-flex" }, this.comment.has_order ?
150
167
  [h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: IconVerified }), h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
151
168
  h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
152
- : null), h("p", { key: '694c2079d3379966994af7040fe4542481a53e66', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { key: '734ca2eb6bf846c661007a1b9c41f22c47923b27', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
169
+ : null), h("p", { class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
153
170
  h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
154
- : null), h("div", { key: '45e32a0759536f8c9e8bc8b823d50c931bdd1e23', class: "s-comments-item-content" }, h("p", { key: '9edf2cdfd489f77214d7a1ecae8a99943dfd4ece', innerHTML: this.comment.content }), this.allowAttachImages && h("div", { key: 'bbba6c62c4d13289137c634f5413880dfa572ab4', class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { key: 'cd5c48b8cf3e1c9457a2fb60a42859cbd91aa996', ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { key: '304bc9417e6d7fd0e310127dce4e56a1c6ce00ea', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { key: '50401766737293c42fa7ba3b351b6db736fd92eb', slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { key: '6b9a50da0b67497dfae21b52044850329d8712b5', slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
171
+ : null), h("div", { class: "s-comments-item-content" }, h("div", { class: "s-comments-item-content-container" }, this.isPrivateComment(this.comment) ? (h("div", { id: `s-comments-item-${this.comment.id}-locked-icon`, class: "s-comments-item-pinned-icon" }, this.LockedIcon())) : null, h("p", { innerHTML: this.comment.content })), this.isPrivateComment(this.comment) ? (h("salla-tooltip", { text: this.locked_trans, targetId: `s-comments-item-${this.comment.id}-locked-icon` })) : null, this.allowAttachImages && h("div", { class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
155
172
  h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
156
173
  this.getReplies().map((reply) => {
157
174
  return h("div", null, h("salla-comment-item", { comment: reply }));
@@ -162,6 +179,7 @@ const SallaCommentItem = /*@__PURE__*/ proxyCustomElement(class SallaCommentItem
162
179
  }, [0, "salla-comment-item", {
163
180
  "comment": [16],
164
181
  "hideBought": [16, "hide-bought"],
182
+ "locked_trans": [32],
165
183
  "has_bought_trans": [32],
166
184
  "rated_trans": [32],
167
185
  "waiting_approval_trans": [32],
@@ -176,7 +194,7 @@ function defineCustomElement() {
176
194
  if (typeof customElements === "undefined") {
177
195
  return;
178
196
  }
179
- const components = ["salla-comment-item", "salla-button", "salla-comment-item", "salla-loading", "salla-modal", "salla-rating-stars", "salla-slider"];
197
+ const components = ["salla-comment-item", "salla-button", "salla-comment-item", "salla-loading", "salla-modal", "salla-rating-stars", "salla-slider", "salla-tooltip"];
180
198
  components.forEach(tagName => { switch (tagName) {
181
199
  case "salla-comment-item":
182
200
  if (!customElements.get(tagName)) {
@@ -185,7 +203,7 @@ function defineCustomElement() {
185
203
  break;
186
204
  case "salla-button":
187
205
  if (!customElements.get(tagName)) {
188
- defineCustomElement$5();
206
+ defineCustomElement$6();
189
207
  }
190
208
  break;
191
209
  case "salla-comment-item":
@@ -195,20 +213,25 @@ function defineCustomElement() {
195
213
  break;
196
214
  case "salla-loading":
197
215
  if (!customElements.get(tagName)) {
198
- defineCustomElement$4();
216
+ defineCustomElement$5();
199
217
  }
200
218
  break;
201
219
  case "salla-modal":
202
220
  if (!customElements.get(tagName)) {
203
- defineCustomElement$3();
221
+ defineCustomElement$4();
204
222
  }
205
223
  break;
206
224
  case "salla-rating-stars":
207
225
  if (!customElements.get(tagName)) {
208
- defineCustomElement$2();
226
+ defineCustomElement$3();
209
227
  }
210
228
  break;
211
229
  case "salla-slider":
230
+ if (!customElements.get(tagName)) {
231
+ defineCustomElement$2();
232
+ }
233
+ break;
234
+ case "salla-tooltip":
212
235
  if (!customElements.get(tagName)) {
213
236
  defineCustomElement$1();
214
237
  }
@@ -4,15 +4,16 @@
4
4
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
5
5
  import { a as anime } from './anime.es.js';
6
6
  import { H as Helper } from './Helper.js';
7
- import { d as defineCustomElement$a } from './salla-button2.js';
8
- import { d as defineCustomElement$9 } from './salla-comment-form2.js';
9
- import { d as defineCustomElement$8 } from './salla-comment-item2.js';
10
- import { d as defineCustomElement$7 } from './salla-loading2.js';
11
- import { d as defineCustomElement$6 } from './salla-modal2.js';
12
- import { d as defineCustomElement$5 } from './salla-progress-bar2.js';
13
- import { d as defineCustomElement$4 } from './salla-rating-stars2.js';
14
- import { d as defineCustomElement$3 } from './salla-reviews-summary2.js';
15
- import { d as defineCustomElement$2 } from './salla-slider2.js';
7
+ import { d as defineCustomElement$b } from './salla-button2.js';
8
+ import { d as defineCustomElement$a } from './salla-comment-form2.js';
9
+ import { d as defineCustomElement$9 } from './salla-comment-item2.js';
10
+ import { d as defineCustomElement$8 } from './salla-loading2.js';
11
+ import { d as defineCustomElement$7 } from './salla-modal2.js';
12
+ import { d as defineCustomElement$6 } from './salla-progress-bar2.js';
13
+ import { d as defineCustomElement$5 } from './salla-rating-stars2.js';
14
+ import { d as defineCustomElement$4 } from './salla-reviews-summary2.js';
15
+ import { d as defineCustomElement$3 } from './salla-slider2.js';
16
+ import { d as defineCustomElement$2 } from './salla-tooltip2.js';
16
17
 
17
18
  var CommentType;
18
19
  (function (CommentType) {
@@ -361,7 +362,7 @@ function defineCustomElement$1() {
361
362
  if (typeof customElements === "undefined") {
362
363
  return;
363
364
  }
364
- const components = ["salla-comments", "salla-button", "salla-comment-form", "salla-comment-item", "salla-loading", "salla-modal", "salla-progress-bar", "salla-rating-stars", "salla-reviews-summary", "salla-slider"];
365
+ const components = ["salla-comments", "salla-button", "salla-comment-form", "salla-comment-item", "salla-loading", "salla-modal", "salla-progress-bar", "salla-rating-stars", "salla-reviews-summary", "salla-slider", "salla-tooltip"];
365
366
  components.forEach(tagName => { switch (tagName) {
366
367
  case "salla-comments":
367
368
  if (!customElements.get(tagName)) {
@@ -370,45 +371,50 @@ function defineCustomElement$1() {
370
371
  break;
371
372
  case "salla-button":
372
373
  if (!customElements.get(tagName)) {
373
- defineCustomElement$a();
374
+ defineCustomElement$b();
374
375
  }
375
376
  break;
376
377
  case "salla-comment-form":
377
378
  if (!customElements.get(tagName)) {
378
- defineCustomElement$9();
379
+ defineCustomElement$a();
379
380
  }
380
381
  break;
381
382
  case "salla-comment-item":
382
383
  if (!customElements.get(tagName)) {
383
- defineCustomElement$8();
384
+ defineCustomElement$9();
384
385
  }
385
386
  break;
386
387
  case "salla-loading":
387
388
  if (!customElements.get(tagName)) {
388
- defineCustomElement$7();
389
+ defineCustomElement$8();
389
390
  }
390
391
  break;
391
392
  case "salla-modal":
392
393
  if (!customElements.get(tagName)) {
393
- defineCustomElement$6();
394
+ defineCustomElement$7();
394
395
  }
395
396
  break;
396
397
  case "salla-progress-bar":
397
398
  if (!customElements.get(tagName)) {
398
- defineCustomElement$5();
399
+ defineCustomElement$6();
399
400
  }
400
401
  break;
401
402
  case "salla-rating-stars":
402
403
  if (!customElements.get(tagName)) {
403
- defineCustomElement$4();
404
+ defineCustomElement$5();
404
405
  }
405
406
  break;
406
407
  case "salla-reviews-summary":
407
408
  if (!customElements.get(tagName)) {
408
- defineCustomElement$3();
409
+ defineCustomElement$4();
409
410
  }
410
411
  break;
411
412
  case "salla-slider":
413
+ if (!customElements.get(tagName)) {
414
+ defineCustomElement$3();
415
+ }
416
+ break;
417
+ case "salla-tooltip":
412
418
  if (!customElements.get(tagName)) {
413
419
  defineCustomElement$2();
414
420
  }
@@ -130,7 +130,7 @@ const SallaConditionalFields = /*@__PURE__*/ proxyCustomElement(class SallaCondi
130
130
  });
131
131
  }
132
132
  render() {
133
- return (h(Host, { key: '9e3ff9d4f7209583d5ef3d4f447a7a676e6857e0' }, h("slot", { key: '889bc28c2985d82e3bcd6e4231b135a58dca26d6' })));
133
+ return (h(Host, { key: '9931740a40a239483408056ae458769a0ab3997d' }, h("slot", { key: '6db0aa3b6db44f3811d1ed456672218891018d6f' })));
134
134
  }
135
135
  get host() { return this; }
136
136
  }, [4, "salla-conditional-fields", undefined, [[0, "change", "changeHandler"], [0, "input", "changeHandler"]]]);
@@ -234,7 +234,7 @@ const SallaCountDown = /*@__PURE__*/ proxyCustomElement(class SallaCountDown ext
234
234
  return this.renderCountDown();
235
235
  }
236
236
  render() {
237
- return (h(Host, { key: '5061e1fab03966fc62e46d4529c4ee07ed01df35', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
237
+ return (h(Host, { key: 'b9b5d0e038afdf2dd88da15eb711752d2a9a45af', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
238
238
  }
239
239
  static get style() { return sallaCountDownCss; }
240
240
  }, [0, "salla-count-down", {
@@ -211,7 +211,7 @@ const SallaDatetimePicker = /*@__PURE__*/ proxyCustomElement(class SallaDatetime
211
211
  }
212
212
  }
213
213
  render() {
214
- return h("div", { key: '184743feaf2af9f31cd3b5a864a86f1a561c12fd', class: "s-datetime-picker" }, h("input", { key: '1736e88363b379f872490641168f49090e976e03', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
214
+ return h("div", { key: '6fe501ca4d900b3706121742fa64e36c10371713', class: "s-datetime-picker" }, h("input", { key: '54946e6afb30e7dad49ca8b8fd9d2416bbad4e84', type: "datetime", name: this.name, value: this.value, required: this.required, disabled: this.disabled, placeholder: this.placeholder, class: "s-datetime-picker-input", ref: (el) => this.dateInput = el }));
215
215
  }
216
216
  async componentDidLoad() {
217
217
  // Load flatpickr before initializing
@@ -316,11 +316,11 @@ const SallaFileUpload = /*@__PURE__*/ proxyCustomElement(class SallaFileUpload e
316
316
  }
317
317
  }
318
318
  render() {
319
- return (h(Host, { key: '978e89fe8713e6b3db913ed8fb3c5d09f6caf705', class: {
319
+ return (h(Host, { key: '6b8c9ee59a13e8819988a13489a79c8f3391c614', class: {
320
320
  "s-file-upload": true,
321
321
  "s-file-upload-profile-image": this.profileImage,
322
322
  "s-file-upload-multiple": this.allowMultiple,
323
- } }, h("input", { key: 'acf6197d43b79a80e7a69219afda29271a86d4eb', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: 'b8624b0fcaba14f14640acce0a28c12feb78701b', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
323
+ } }, h("input", { key: '4245938bfb2652084cb3115001263c7d690aa8e0', type: "file", name: this.name, value: this.value, ref: ele => this.fileUploader = ele, required: this.required, class: "s-file-upload-wrapper s-file-upload-input", accept: this.accept }), this.allowMultiple && this.showMaxCountHint ? h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', h("input", { key: '7fdab946cf08747fdee40f9f9a2b2819803a299e', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
324
324
  }
325
325
  async componentDidLoad() {
326
326
  await Salla.onReady();
@@ -190,12 +190,12 @@ const SallaFiltersWidget = /*@__PURE__*/ proxyCustomElement(class SallaFiltersWi
190
190
  return h("span", { class: "s-filters-option-name" }, label);
191
191
  }
192
192
  render() {
193
- return (h(Host, { key: 'e93cfb9f1f6daeb8a2121ccb36a3cf135a55e902', class: "s-filters-widget-container" }, h("h3", { key: 'd5ef45d78e0119e2ac997ded417e310c0a797c34', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: 'fe4df56fad0d290395d78588456fb7d00a20ed43' }, this.option.label), h("span", { key: 'c961f86b5e06437dfdd145e164da5fe326500032', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '7cf1ed1b562bf16acc481f682965567d8bc1813c', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: '275427371f48fdfc8ef8b80b9d3e11fa247f7d7a', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '473c082ed9f7415beba445d36a121027eaadbbe1', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'e45654731cdd801345acc5b3311d9ddab3020035', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '5ae673157a4b579a000901b04db8e375a52565e7' }), this.option.type !== FilterOptionTypes.RANGE
193
+ return (h(Host, { key: 'a3377234cae7a9565f403d859e60ee71cb9b9e00', class: "s-filters-widget-container" }, h("h3", { key: 'd797565b06c795a6b19d5fa6c93da583e291cc01', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '35e933096973744c332cfb3a0346b57f7dd28a76' }, this.option.label), h("span", { key: '2c27dacf5242da14f2cddca9f99af09bb9cb3bea', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '6f85c5af558a2b47e9779225d2fb9b99d2dd78e5', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'd6c9fe9baf08d095346d52e5e6836ca7a26dae7f', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '44ac9fc9e7488165acccbac8a7bd95a3f863dab8', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'a8350384975504985098f0b9f1ae6c086537886b', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '20acece0e29070b6f1359ab1d3f16e928d461742' }), this.option.type !== FilterOptionTypes.RANGE
194
194
  ? this.renderFilterOption(this.option)
195
195
  : h("salla-price-range", { onChanged: (event) => {
196
196
  this.changed.emit(event.detail);
197
197
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
198
- h("a", { key: '8ec08429d8fb31b338e6f9f9cf455b5ba2155cb8', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
198
+ h("a", { key: 'a628397d54fc254fe36458c4bbdca0dad0a0e6ad', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
199
199
  }
200
200
  get host() { return this; }
201
201
  static get style() { return sallaFiltersWidgetCss; }
@@ -196,7 +196,7 @@ const SallaFilters$1 = /*@__PURE__*/ proxyCustomElement(class SallaFilters exten
196
196
  this.applyFilters();
197
197
  }
198
198
  render() {
199
- return h(Host, { key: 'f3c454fc20472dca6fe646c9121028a2c045808f' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
199
+ return h(Host, { key: '8fe009d0a0b52956fa634544aa414e554b77a128' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
200
200
  this.handleOptionChange(event, option, value);
201
201
  } })), this.filters?.length ? h("div", { class: "s-filters-footer" }, h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
202
202
  }
@@ -565,7 +565,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
565
565
  }
566
566
  render() {
567
567
  return [
568
- h("div", { key: 'ea8b7581fc816b2984ec7a8c9f0d5bfb30710577' }, h("salla-list-tile", { key: '44e4b948c467ecbec4934f894af3e88a01567338', class: this.generateClass() }, h("div", { key: 'c36ccc48ff4209d2aad05123981c8efad4de8642', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'd5cfd335582f2af620ef50ae92b431b3fdf84b71' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '9623168820eefb63c833dd14c68c1dc20afe1cd1', slot: "subtitle" }, h("div", { key: 'e2fda7dc68054c0f382f61d74a578589b565a544' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'e888e024772c0ef848e4a4113b218bb4e05d78db', slot: "action" }, h("salla-button", { key: 'd443bfd1f5925299a4e0510fae8fc175d390b55a', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '8df23b83891ee2abf644cde76675ca6bb796db79', name: "widget-btn-content" }, h("div", { key: '6b5153a1f1b9d5e127093c3fcc96e2a0fa4954f4', class: "s-gifting-widget-action-content" }, h("span", { key: '41a7f2e88c8046d7211abf5d7fc9d3f533c02292', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '45ea8eac19ca9cccf37cd34d8f84211e6172cd45' }, this.sectionBtnText)))))), h("salla-modal", { key: '5bd076c54c4d072886671653e536c649763785b1', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '378d12f388bd0627355af5b4e57929c00ae28044', slot: "loading" }, h("div", { key: '1b738d4b461a9ebe3a5184f4de727bb1b4b45890', class: "s-gifting-skeleton" }, h("div", { key: '660c901f477536e68d2a3bacd028438c9726b968', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '46f8e45a0a38c10784fc5f3505092e65ed2bba3a', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '09b3356d736e5eb46bb51df2e2fa539dc9d8c99f', class: "s-gifting-modal-title" }, h("div", { key: 'cc8cb7dece64c65d5891e32e49588316e9009f6c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '41b30274a655babdd0c9e26e74dc3f0bdd4a2aea', height: '15px', width: '150px' })))), h("div", { key: 'b241162827a085279f646452a151d6483a37cc8e', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '5ac15a8e94b50ea03cd033375b08f9e4406a7e17', height: '10px', width: '150px' }), h("salla-skeleton", { key: '697e157e475df0cb71b79e3752019f522ed847a3', height: '230px' }), h("salla-skeleton", { key: '8a5e586c059b765f6425d7060a18e8d799be3c4f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'e1ee17daef6904b8302b0f4437e99b221bd6b236', height: '30px' }), h("salla-skeleton", { key: '9dfbca00f18a37348eb83021ef4fec073685fe7d', height: '40px' })))), h("slot", { key: 'da2c687a186ed115acee04cc683eff3a6a73168f', name: "header" }), !!this.hasError ?
568
+ h("div", { key: '2bc4ff1b223c9b1f2e50e36c7f6e6f0448f5a51d' }, h("salla-list-tile", { key: 'b5cf74b6d00c292a1c654c695d316a0a34e70c30', class: this.generateClass() }, h("div", { key: '2e229e46039a9bbf071bc65534733c9da61545f8', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'b067244c213dd0c3c64f795f07b4c27f57c661f5' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'a8804b65526bfde36bbb82302d667bc10052ff4b', slot: "subtitle" }, h("div", { key: 'cf2ca350ab3884baa192ce1c043719eb8f9a0120' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'f68182d4324c4b56893b63e046e4298c519e449e', slot: "action" }, h("salla-button", { key: '6cf71ec0311dfe7804f4634ae1203e0ae65150be', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9b00d0c0c7a594e7e9635a79a6b4a472da73ebe3', name: "widget-btn-content" }, h("div", { key: 'a73ed9d6322c4484180f68e7c8fb7a3b4e5bdb8a', class: "s-gifting-widget-action-content" }, h("span", { key: '0ce7ec753ab1ec30269127a8426a36d55d983a6e', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'ae35a5669a30e7abb61e5d540224c2be5baae82a' }, this.sectionBtnText)))))), h("salla-modal", { key: 'dee19984ecc71f6e10c330121361359d00408448', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '10eee2481652b157c44b16d34097ffcce9325d81', slot: "loading" }, h("div", { key: '325446006a0bf5d6d480c8935912fe976ccd453d', class: "s-gifting-skeleton" }, h("div", { key: 'f256cc302b946906262450f0bb023912d034aa13', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '75bf0e81841a4c41e4105f19bd3e4fbf67ece325', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '64661720e2f94f6d8b86087d3a03538a1a419202', class: "s-gifting-modal-title" }, h("div", { key: 'd5000d6903f5a7b61beb6a0a88291953e1344ba3', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '07efd33b877468df617bab4cd2f1b73e73f2d284', height: '15px', width: '150px' })))), h("div", { key: '6fb9d9abf7e211a6ecc45ee50283d37d1755b220', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'ed76848f4c017334dea4f12c07ec6556646c397f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'cfe3e107536dac9e5b1524770eb6990ab3b6460b', height: '230px' }), h("salla-skeleton", { key: 'a35af25d98f5758bf442759841536fed09f6cdd2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '6950704fb24a07807542723f2752b6a734090d42', height: '30px' }), h("salla-skeleton", { key: 'bd65f98a07ee8d041434b9b475ce4c355318f586', height: '40px' })))), h("slot", { key: 'e946b5c7a4146d0118d321d860d332d17c3f931e', name: "header" }), !!this.hasError ?
569
569
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
570
570
  :
571
571
  [
@@ -585,7 +585,7 @@ const SallaGifting$1 = /*@__PURE__*/ proxyCustomElement(class SallaGifting exten
585
585
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
586
586
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
587
587
  h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, h("a", { href: "#!", innerHTML: IconArrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
588
- ], h("slot", { key: '20793a5a50c708c93be79df033e43a36e615d075', name: "footer" })))
588
+ ], h("slot", { key: '579cbbcc59818051def887c38e4d0eed6e690737', name: "footer" })))
589
589
  ];
590
590
  }
591
591
  static get style() { return sallaGiftingCss; }
@@ -17,7 +17,7 @@ const SallaHook$1 = /*@__PURE__*/ proxyCustomElement(class SallaHook extends HTM
17
17
  this.host.before(element);
18
18
  }
19
19
  render() {
20
- return h(Host, { key: '618467f6911198a5cbf4270694544575e585af27' });
20
+ return h(Host, { key: '499483c55f2e1122d80768cd43e47f8e127a62b4' });
21
21
  }
22
22
  async componentDidLoad() {
23
23
  // Register this component for hooks system, already on it logic to run componentDidLoad trigger
@@ -25,7 +25,7 @@ const SallaListTile = /*@__PURE__*/ proxyCustomElement(class SallaListTile exten
25
25
  };
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: 'e1528afcea1eda05a5ce206e95791e7611d24dd0' }, h("a", { key: '749a73c76d68ad36f1a6609ada69778662d56566', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: '7bfd448f86790b2afe0b7a5b8a5460c3b2be66ee', class: "s-list-tile-item-icon" }, h("slot", { key: '383e28a8832483e8ecc61e4f48a3ff1fe5db1038', name: 'icon' })), h("div", { key: 'c42bf126a9ff4014a4e2d85ff12b41d1a88a0e03', class: "s-list-tile-item-content" }, h("div", { key: '18a4a9ebd39e3a710f70dc33554d24e3c2850e53', class: "s-list-tile-item-title" }, h("slot", { key: '7211d627511bf2448cf161f40cc82b1822dd1e7a', name: 'title' })), h("div", { key: '044a7d76e05841f484387c7ed299107f33c9bc21', class: "s-list-tile-item-subtitle" }, h("slot", { key: 'df131034f1c5434722543e25552caed142794d55', name: "subtitle" }))), h("div", { key: '37abe0abab720da11cd55660578ec256c062e763', class: "s-list-tile-item-action" }, h("slot", { key: 'fcac02da17981ef4c6fa3cea50c551e3010352d9', name: 'action' })))));
28
+ return (h(Host, { key: 'bb33776d01406ff1e04bbdc741312f1a17ac3b7b' }, h("a", { key: '386b417c954bf4b2bac34e40d9bae19db7f61ec3', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'cbcd8c6f92a4cbe7afbd8797c36ae6f529abed1c', class: "s-list-tile-item-icon" }, h("slot", { key: 'bff76fdb467b2491f0c3b40bd7f475eda23fa9c8', name: 'icon' })), h("div", { key: 'c80e7c032abedea8d5929d8bb36a642336724fe1', class: "s-list-tile-item-content" }, h("div", { key: '2bea0273bb4c012e0f9f7ee948b14bc9ea8afc2a', class: "s-list-tile-item-title" }, h("slot", { key: '60c872b9ec9b369ba65452abad7860b3ba6ba640', name: 'title' })), h("div", { key: 'fbb1b6e49284c74f2933f056aa16fcbc25526703', class: "s-list-tile-item-subtitle" }, h("slot", { key: '5ad1bba1b71db13d4deb594ccb0f5898f24d2f23', name: "subtitle" }))), h("div", { key: '96358bf7ed34907a799efd8c6fb2caae6ca02f43', class: "s-list-tile-item-action" }, h("slot", { key: '8d496724103f0c3959845c8f5d4e662a3095c09e', name: 'action' })))));
29
29
  }
30
30
  static get style() { return sallaListTileCss; }
31
31
  }, [4, "salla-list-tile", {
@@ -27,7 +27,7 @@ const SallaLoading = /*@__PURE__*/ proxyCustomElement(class SallaLoading extends
27
27
  this.bgColor = "#e5e7eb";
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '64a270526fd172b66a0671749bf36acee7cc8de1', class: "s-loading-container" }, h("svg", { key: '380bae806d8aa39e3ac07fba3daf181cfe040f70', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'c531098ed793fcd2ec90f10bfb470bcc4543b346', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), h("path", { key: 'cc6b89a57e8168937ee13b5ccdc25aa024e05223', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
30
+ return (h(Host, { key: '43f0680ce1f04ebda7083a4e15e69db9f19eea8f', class: "s-loading-container" }, h("svg", { key: '1b10899828e6b40f9a4535a6c5748382d2235382', "aria-hidden": "true", style: { width: `${this.size}px`, height: `${this.size}px`, fill: this.color, color: this.bgColor }, class: "s-loading", viewBox: "0 0 100 101", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '2866a19de0250199769271535cfa84531241507a', d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z", fill: "currentColor" }), h("path", { key: '8dd072bcfbca9299d4a9479fc00666bf174b48aa', d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z", fill: "currentFill" }))));
31
31
  }
32
32
  static get style() { return sallaLoadingCss; }
33
33
  }, [0, "salla-loading", {
@@ -213,7 +213,7 @@ const SallaLocalizationModal$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoc
213
213
  this.showTrigger
214
214
  ? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
215
215
  : '',
216
- h("salla-modal", { key: '8b26a4e0224a049aee503c06ec288eb2dcbd00db', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: 'b28c8375f6491ad8fab684dab4d203a9d23fd417', slot: 'loading' }, h("div", { key: '26967b5d8accc26b75aa0a361506341b00cc1ef7', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: 'a97f5ceee4c1173030ec29781ee6571c50e02865', width: '25%', height: '15px' }), h("div", { key: '51edca3871e46c692b89651281e94b1716f3cade', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '5e8e3fb5c956be5a681025c7cfce59648dcc75e7', width: '25%', height: '15px' }), h("div", { key: 'd16e6d8bed9300337f84bad366e2731799363fb2', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '952633850a514afbf702d8e6afe30470ff201673', height: '40px', width: '100%' }))), !!this.hasError ?
216
+ h("salla-modal", { key: '862b768f3a0f9abe079703030bb686178d418ca7', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '96ce8b449b2c96718de083df1b39bf19d18e4543', slot: 'loading' }, h("div", { key: '44ba3efdf44d8758b9824dfbee98081549aad41f', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '66c85016f14871d05eb296691962ddf0e5b8a512', width: '25%', height: '15px' }), h("div", { key: 'e3e0a9cf51572f13456f82d9b08a14a132a01657', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '4c60b249bd54e0850471967d176a789f38f95841', width: '25%', height: '15px' }), h("div", { key: '7da8613b052a1dab1b34cf54fad755f703b68e5a', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'b465504898a6861d5cce2456444cc81e7bc61376', height: '40px', width: '100%' }))), !!this.hasError ?
217
217
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
218
218
  h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
219
219
  h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
@@ -11,13 +11,13 @@ const SallaLoyaltyHero = /*@__PURE__*/ proxyCustomElement(class SallaLoyaltyHero
11
11
  this.__registerHost();
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: '3393f0d9f023c524b73eda48086f8fc25ec471ca' }, h("section", { key: 'f3d8332554c22a87b1f55a517009195c22ace65a', class: "s-loyalty-program-hero-container" }, h("div", { key: '5b746fb87ad0cc66bb08d46a70117258bc80e548', class: "s-loyalty-program-hero-background", style: {
14
+ 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: {
15
15
  backgroundImage: `url(${this.image})`,
16
- } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: 'd265b684f565221d1e32375e215a224f9e37a29b', class: {
16
+ } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: '61ea985f1105f98da5a6bc58ddce42e88b23df28', class: {
17
17
  's-loyalty-program-hero-content': true,
18
18
  's-loyalty-program-hero-white': !!this.image,
19
19
  's-loyalty-program-hero-gray': !this.image,
20
- } }, h("div", { key: '747b6d5d110ed4f07308f50d5fdbdb0e49ab22bf' }, h("h1", { key: 'e2aea10327e863bab41a4c5c5ccb10d3869408a7', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: '509d9916ec042f27634061f2c6942662b71b87cb', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: '7161ffe3f223758f9b5c4b904ae7e36a940b7757', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: '60ca3aa104de52b3efa303c7d517fbe9370eb724', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: '24795c8373dfb546e7bb9bd841646a24455c72af', name: "action" }))), h("div", { key: '2400cfc7f43acc5d94e647feb370d162074a5e68', class: "s-loyalty-program-hero-footer" }, h("div", { key: '00b01de76c0278a2900cd6ae7dfb7dfe9f16b5a1', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: '969566f21e651ff1f4833ef6e671700ecffe9072', name: "crosspoint" }))))));
20
+ } }, 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" }))))));
21
21
  }
22
22
  static get style() { return sallaLoyaltyProgramCss; }
23
23
  }, [4, "salla-loyalty-hero", {
@@ -196,7 +196,7 @@ const SallaLoyaltyPoint = /*@__PURE__*/ proxyCustomElement(class SallaLoyaltyPoi
196
196
  }
197
197
  }
198
198
  render() {
199
- return (h("div", { key: 'c2c34afc4b10f2386728dbe537b847481bd5e706' }, h("div", { key: 'cf57ff9cfc3a2f55bfe8af17f2cc7c83c9d0615b', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: '407eb761249e7872fb999dc79ce0a8943bcf3708', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: 'ac7813b4ce28250a61894387626930cbf259f569', class: this.point.icon })), h("div", { key: '8725b5639e3ba8aec39d592e115ea9d31bb11b0f', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: 'dc458d557e251481bcb001cf13f410ff9c572883', size: "xs", bg: "transparent" }, h("span", { key: '0389b4b3ce11a28e7366ac5b8fe030a366ca2a1b', innerHTML: loyaltyProgramIcon }), formattedPointsJsx(this.point))), h("div", { key: 'd8f06d0a2bf23d720f2945816974527513b92aea', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '4b004b8aab8b15bfc2d669179c8699be544eb5d1', size: "sm", bg: "transparent" }, h("span", { key: '87f0a45143185f28520b49b4b690e1449174e0ef', innerHTML: loyaltyProgramIcon }), formattedPointsJsx(this.point))), h("p", { key: 'ae51344446f70798cb00a11a24a3c37d3c0a1fd5', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
199
+ return (h("div", { key: '1a96a88716d9fa2b3e8aac4864a025824c48d36a' }, h("div", { key: '13bc00fa473bfb16b272d751b45ad7384db0fc43', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'a7d6d5f9692c7454d6bd9aa350c4934ec1704002', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '2e26922099bbc8d1d46d48d807f09b195868a262', class: this.point.icon })), h("div", { key: 'ea7c80d9fd595d1e319fb9840cfa7dc439ad2bbb', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '76c01bd0380e5729989ae4b748d7e59f334b40b8', size: "xs", bg: "transparent" }, h("span", { key: 'b459db33b3926952415e2ac6a9b383a53467bc7f', innerHTML: loyaltyProgramIcon }), formattedPointsJsx(this.point))), h("div", { key: '528f5f6e1c36c637b69684d95ec304f9c129400e', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '9360900b49e9b122c3de07ad08de0cc0e8eccec4', size: "sm", bg: "transparent" }, h("span", { key: '7786c402cb6b946f9fd6402e1d066ad58ae4c0d4', innerHTML: loyaltyProgramIcon }), formattedPointsJsx(this.point))), h("p", { key: 'e6e4e93f0cdbd7dfd0dc39f279cac0bbb9ca4fa8', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
200
200
  h("a", { class: {
201
201
  's-loyalty-program-points-action': true,
202
202
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -206,7 +206,7 @@ const SallaLoyaltyPoint = /*@__PURE__*/ proxyCustomElement(class SallaLoyaltyPoi
206
206
  's-loyalty-program-points-action': true,
207
207
  's-loyalty-program-points-action-completed': this.point.is_completed,
208
208
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
209
- } }, this.point.description)), h("salla-modal", { key: '1acb15d8523cc832e102551e74ab3520d1e92ae0', 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: '0c7e1436747cbb7a54a5f572b7ae22ee4a59b1bb', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'b0995df3565e1a90c49910616cb343579ea69074', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '22d8548b682e06ba9fb3af4c293d25fa2db9ef3b', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '32a51e4329358e92dafa4e3e92c34d3565bd965d', class: "s-loyalty-program-points-modal-main" }, h("div", { key: '5736f71eeae6b6f6ec3bf86baa15623c3a80865c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'e9ff991b8037e7e6bc5eb3f8d50e060bc780a448', class: this.point.icon })), h("salla-badge", { key: '7f93b524618636ddeb796fa119d96c7c03d9f0ab', size: "sm", bg: "light" }, h("span", { key: '1b0e6167064c6f2f0b8ff42c55f5e4a545d67c20', innerHTML: loyaltyProgramIcon }), h("span", { key: '846e078c3f70572b965dc9bd02697f68ed18005f', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), h("div", { key: '94d2e8b86d93c7470478731e76416e34b71be01f', class: "s-loyalty-program-points-modal-details" }, h("div", { key: 'ad4d571f3467c6b129c774de1165df75b3563eb5', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '873b6b7d36a2bde224e516a52e7f478f20bf08d6', class: "s-loyalty-program-points-chain-list" }, !!this.point.steps && Object.keys(this.point.steps).length > 0
209
+ } }, this.point.description)), h("salla-modal", { key: '1b4bbdf4a31b15a05de6e82eaba7e41623bb7926', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: 'dd47de6d728d0e242ba907df2ad5efac90eca3bc', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '5b683091ac479ada36a8a653379973399ef7a9e9', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '76a05aedcc3b13f44709e369bf16c9c992689406', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'a71c0eb9f39a103728974e687dfcb9be5d8d9be7', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'de83e494131791cae7df3782489be5f1d2ffcb4d', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '2c8faf8db0b4984d0c9319e18343e41d9a6d0d26', class: this.point.icon })), h("salla-badge", { key: 'b29e2f350840663bb36dff05124aa58a3c774640', size: "sm", bg: "light" }, h("span", { key: '0d6cc163f3b14710bca60c5e4fb9c602ff8416a1', innerHTML: loyaltyProgramIcon }), h("span", { key: 'a9ddb1a5ed1c69e0c2017691f67d360f189d4b37', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), h("div", { key: '3327f05f80fec2ddceed0e6f230f0a99020445cc', class: "s-loyalty-program-points-modal-details" }, h("div", { key: 'd5505b3ab399f5d0b668c02bbf441eee33b4a1b2', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: 'dc9b64ad5795e87a12ffd104c5d6bbbade1c2a2e', class: "s-loyalty-program-points-chain-list" }, !!this.point.steps && Object.keys(this.point.steps).length > 0
210
210
  ? Object.values(this.point.steps).map((step, idx) => {
211
211
  const stepsArray = Object.values(this.point.steps);
212
212
  const isLastItem = idx === stepsArray.length - 1;
@@ -215,7 +215,7 @@ const SallaLoyaltyPoint = /*@__PURE__*/ proxyCustomElement(class SallaLoyaltyPoi
215
215
  : this.point.conditions?.map((condition, idx) => {
216
216
  const isLastItem = idx === this.point.conditions.length - 1;
217
217
  return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: loyaltyProgramIcon }), formattedPointsJsx(condition.points ?? 0)), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name))));
218
- }))), 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: loyaltyProgramIcon }), 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: 'de2c761361aa393b9d332502a1ec1b4f95cd88da', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '473df75678e7d82639bf67a95da94dda684dc93f', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
218
+ }))), 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: loyaltyProgramIcon }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: '685d0de853bd3becf1c10529768a5952b6365517', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '806543e483c0872139ee395ee9ba2dbe27061564', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
219
219
  's-loyalty-program-points-action': true,
220
220
  's-loyalty-program-points-action-completed': this.point.is_completed,
221
221
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -15,7 +15,7 @@ const SallaLoyaltyPrizeItem$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoya
15
15
  this.prizeItemSelected.emit(this.item);
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '91162ebf1e2f76c4b90df9518d57a136e71fa573' }, h("div", { key: '80416871b0f60857b3279525bdaa87327b75890a', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: 'd7afdc106a822c0f7640136bec591bfa48fe1802', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: '727f131b7fa00b75aab57f2bb5ea4616f0d3929a', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '6e2b9263b7d2c1b7a9e372ede63a6b10a23b0d1d', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: '97b7710e76e3d73afe68abe6e8094483960884da', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
18
+ return (h(Host, { key: '601dbcf73e68678eecc912c14c2b1be612a78551' }, h("div", { key: '074f8b4cb736bfabd5885d9df77bf74e7c4829a1', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: '4bec672992f7e998bde639295831a5c9ad5f5088', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: 'c8f858a7f406fe8e9123c57df627a4b6a2cbd719', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '81b954aa730e07c7f32ee538692581dede3543db', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: 'b7baeada2da364fec6ee7bd606b595b1f652d8a8', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
19
19
  }
20
20
  static get style() { return sallaLoyaltyPrizeItemCss; }
21
21
  }, [0, "salla-loyalty-prize-item", {
@@ -39,10 +39,10 @@ const SallaLoyaltyReward$1 = /*@__PURE__*/ proxyCustomElement(class SallaLoyalty
39
39
  };
40
40
  }
41
41
  render() {
42
- return (h("div", { key: '6c205c806975c6fb869e82c316bae95984342181', class: {
42
+ return (h("div", { key: 'ba9554fee3ffeb4e64410913c6f78217482eaa9b', class: {
43
43
  's-loyalty-program-reward-container': true,
44
44
  's-loyalty-program-reward-xs': this.size === 'xs',
45
- } }, h("div", { key: '48c101ec9ab3d49692f2bc2dca9c6fabccff7c66', onClick: this.handleActionArea, role: "button" }, h("div", { key: '66c879cfd481d5ea3e66f15804dbae218a803322', class: "s-loyalty-program-reward-img" }, h("img", { key: '14fe526c033237859d9e9b6bfa67e8f964926348', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: '898edb21b0e0b84b5bfd6514f6499a04e15fc668', class: "s-loyalty-program-reward-content" }, h("div", { key: '9ca645d969591bd59e9c472ee4294a534b6f137e', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '0af2ea0d4f480c1f3e8b55f045aefd42b201c74e', size: "xs" }, h("span", { key: '7d8c7c5410695f3d49e5c1c8ed448ab8e908b78f', innerHTML: loyaltyProgramIcon }), h("span", { key: '72c3e2a4e99d5c66e8a4f71725f1641fdc6dd935', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '52e37e0dcc0c29af46fb51d3d1c04f542beaa43c', class: "s-loyalty-program-reward-title" }, h("span", { key: '0e724c534101aaae40d8cecd2d64d5464ce16bb4' }, this.group)), h("div", { key: 'a9dcf0d919bb4758217f7c3458f92e17ad4b17b5', class: "s-loyalty-program-reward-name" }, h("div", { key: 'a77d01f065426f150efdd1de69e14dc08dc94c1e', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: '0a53388bdc8df22e2344fc3fd500c220b6edc62e', class: "p-4" }, h("button", { key: 'cf60bf954a5f84cf9715dcd336f26bb6d58a7da1', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
45
+ } }, h("div", { key: '807e949da96e8b307ed252e32ffafac682835a28', onClick: this.handleActionArea, role: "button" }, h("div", { key: '373862674986def57f35e1d006f41cb6b01b1e75', class: "s-loyalty-program-reward-img" }, h("img", { key: 'b8b072e962519aaf78d19c04759ee1590b0dd6de', src: this.prize.image, class: "s-loyalty-program-rewards-img", alt: "" })), h("div", { key: '9866bf65f0a26c3136b3e345094314c6552bd70e', class: "s-loyalty-program-reward-content" }, h("div", { key: 'ee8455df80b61e1c8d86059725e5da5952dab85a', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '27b8f31d4b71255f1298bfd2c5705520b349db59', size: "xs" }, h("span", { key: 'e94f13b973bf0b5171b3aa1dd075ad5a0ee732c5', innerHTML: loyaltyProgramIcon }), h("span", { key: '7776cb3a470b72ca2239fb2c8452711bf5dc59e2', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '03dbed2bca1a462f8e4a13bbbb373d236f2da8ad', class: "s-loyalty-program-reward-title" }, h("span", { key: 'ca64b8c7378baa7e7c4197580290f71ecead8310' }, this.group)), h("div", { key: '3f8e125da5dc4618f82033c2b9e4b9c97760821f', class: "s-loyalty-program-reward-name" }, h("div", { key: 'a2494d8a25a09dd66871d55c762f90a351a54b52', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name)))), h("div", { key: 'fe4e03bdab2d95b5adee8b6ae4c51f96186d6016', class: "p-4" }, h("button", { key: '1d33bd0616d4c8e51f2b01cad7bff02c2842d935', onClick: this.handleAction, disabled: !this.isActionClickable(this.prize), class: {
46
46
  's-loyalty-program-rewards-action-base': true,
47
47
  's-loyalty-program-rewards-action-on': this.isActionClickable(this.prize),
48
48
  's-loyalty-program-rewards-action-off': !this.isActionClickable(this.prize),