@salla.sa/twilight-components 2.14.276 → 2.14.278

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 (232) hide show
  1. package/dist/cjs/{filepond-6SEXVM6z.js → filepond-B8IS5fc4.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-n2iYVp3t.js → filepond-plugin-file-poster-wZ73Ekkr.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Iy3hm_gs.js → filepond-plugin-file-validate-size-B_DKZXnt.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BwgIXaDl.js → filepond-plugin-file-validate-type-DDrvV_Am.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-D0Zm0Ae7.js → filepond-plugin-image-edit-CWJKXKBc.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-O9keaTXk.js → filepond-plugin-image-exif-orientation-B7u7IA2t.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-Cu__OpX5.js → filepond-plugin-image-preview-CAeV0T5l.js} +1 -1
  8. package/dist/cjs/{index-CW7Dnp8P.js → index-C-Dr3I5Z.js} +1 -1
  9. package/dist/cjs/{index-zDUTAnXB.js → index-DaEGq3bI.js} +2 -2
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion_62.cjs.entry.js +118 -89
  12. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-cart-item-offers.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  19. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  20. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  22. package/dist/cjs/salla-loyalty-program.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  25. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  31. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  33. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  34. package/dist/cjs/salla-review-card.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-reviews-page.cjs.entry.js +2 -2
  36. package/dist/cjs/salla-reviews.cjs.entry.js +2 -2
  37. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  42. package/dist/cjs/twilight.cjs.js +2 -2
  43. package/dist/collection/components/salla-bottom-alert/salla-bottom-alert.js +57 -26
  44. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  45. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  46. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  47. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  48. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  49. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  50. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  51. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  52. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  53. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  54. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  55. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  56. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  57. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  58. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  59. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +1 -1
  60. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  61. package/dist/collection/components/salla-map/salla-map.js +3 -3
  62. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  63. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  64. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  65. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +2 -2
  66. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  67. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  68. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  69. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  70. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  71. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  72. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  73. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  74. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  75. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  76. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  77. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  78. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  79. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  80. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  81. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  82. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  83. package/dist/collection/components/salla-search/salla-search.js +3 -3
  84. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  85. package/dist/collection/components/salla-slider/salla-slider.js +2 -2
  86. package/dist/collection/components/salla-social/salla-social.js +1 -1
  87. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  88. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  89. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  90. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  91. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  92. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  93. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  94. package/dist/components/index.js +2 -2
  95. package/dist/components/salla-bottom-alert.js +57 -26
  96. package/dist/components/salla-cart-summary.js +1 -1
  97. package/dist/components/salla-color-picker2.js +1 -1
  98. package/dist/components/salla-comment-form2.js +1 -1
  99. package/dist/components/salla-comment-item2.js +3 -3
  100. package/dist/components/salla-conditional-fields2.js +1 -1
  101. package/dist/components/salla-count-down2.js +1 -1
  102. package/dist/components/salla-datetime-picker2.js +1 -1
  103. package/dist/components/salla-file-upload2.js +2 -2
  104. package/dist/components/salla-filters-widget2.js +2 -2
  105. package/dist/components/salla-filters.js +1 -1
  106. package/dist/components/salla-gifting.js +2 -2
  107. package/dist/components/salla-list-tile2.js +1 -1
  108. package/dist/components/salla-loading2.js +1 -1
  109. package/dist/components/salla-localization-modal.js +1 -1
  110. package/dist/components/salla-loyalty-prize-item.js +1 -1
  111. package/dist/components/salla-loyalty-program.js +1 -1
  112. package/dist/components/salla-maintenance-alert.js +1 -1
  113. package/dist/components/salla-map2.js +3 -3
  114. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  115. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  116. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  117. package/dist/components/salla-multiple-bundle-product-slider2.js +2 -2
  118. package/dist/components/salla-multiple-bundle-product.js +1 -1
  119. package/dist/components/salla-notification-item2.js +1 -1
  120. package/dist/components/salla-offer-modal.js +1 -1
  121. package/dist/components/salla-order-details.js +1 -1
  122. package/dist/components/salla-order-summary.js +1 -1
  123. package/dist/components/salla-payments.js +2 -2
  124. package/dist/components/salla-placeholder2.js +1 -1
  125. package/dist/components/salla-price-range2.js +2 -2
  126. package/dist/components/salla-product-availability2.js +1 -1
  127. package/dist/components/salla-product-card2.js +5 -5
  128. package/dist/components/salla-product-size-guide.js +2 -2
  129. package/dist/components/salla-quantity-input.js +1 -1
  130. package/dist/components/salla-quick-buy2.js +1 -1
  131. package/dist/components/salla-review-card2.js +1 -1
  132. package/dist/components/salla-reviews-page.js +1 -1
  133. package/dist/components/salla-reviews.js +1 -1
  134. package/dist/components/salla-scopes.js +1 -1
  135. package/dist/components/salla-search.js +3 -3
  136. package/dist/components/salla-skeleton2.js +1 -1
  137. package/dist/components/salla-slider2.js +2 -2
  138. package/dist/components/salla-social-share.js +1 -1
  139. package/dist/components/salla-social.js +1 -1
  140. package/dist/components/salla-tab-content2.js +1 -1
  141. package/dist/components/salla-tab-header2.js +1 -1
  142. package/dist/components/salla-tabs2.js +1 -1
  143. package/dist/components/salla-tel-input2.js +1 -1
  144. package/dist/components/salla-tooltip2.js +1 -1
  145. package/dist/components/salla-user-settings.js +1 -1
  146. package/dist/esm/{filepond-tsafeG0B.js → filepond-D71oyZeF.js} +1 -1
  147. package/dist/esm/{filepond-plugin-file-poster-CLU6w9b3.js → filepond-plugin-file-poster-mqcA0lQ1.js} +1 -1
  148. package/dist/esm/{filepond-plugin-file-validate-size-CX6dlm3b.js → filepond-plugin-file-validate-size-CI4m6HOe.js} +1 -1
  149. package/dist/esm/{filepond-plugin-file-validate-type-Dww6qss9.js → filepond-plugin-file-validate-type-C8WKqVms.js} +1 -1
  150. package/dist/esm/{filepond-plugin-image-edit-DwudZslr.js → filepond-plugin-image-edit-CuYRyuol.js} +1 -1
  151. package/dist/esm/{filepond-plugin-image-exif-orientation-BrZGrwe5.js → filepond-plugin-image-exif-orientation-D9xkUYAH.js} +1 -1
  152. package/dist/esm/{filepond-plugin-image-preview-NpeY7GZZ.js → filepond-plugin-image-preview-BxK2q711.js} +1 -1
  153. package/dist/esm/{index-mrlY8HKK.js → index-CWOBjklM.js} +2 -2
  154. package/dist/esm/{index-DEsUYBYx.js → index-DWaaT-rO.js} +1 -1
  155. package/dist/esm/loader.js +3 -3
  156. package/dist/esm/salla-accordion_62.entry.js +118 -89
  157. package/dist/esm/salla-advertisement.entry.js +1 -1
  158. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  159. package/dist/esm/salla-apps-icons.entry.js +1 -1
  160. package/dist/esm/salla-cart-item-offers.entry.js +1 -1
  161. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  162. package/dist/esm/salla-contacts.entry.js +1 -1
  163. package/dist/esm/salla-filters-widget.entry.js +3 -3
  164. package/dist/esm/salla-filters.entry.js +2 -2
  165. package/dist/esm/salla-installment.entry.js +1 -1
  166. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  167. package/dist/esm/salla-loyalty-program.entry.js +2 -2
  168. package/dist/esm/salla-metadata.entry.js +1 -1
  169. package/dist/esm/salla-notification-item.entry.js +2 -2
  170. package/dist/esm/salla-notifications.entry.js +1 -1
  171. package/dist/esm/salla-offer.entry.js +1 -1
  172. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  173. package/dist/esm/salla-order-details-options.entry.js +1 -1
  174. package/dist/esm/salla-order-details.entry.js +2 -2
  175. package/dist/esm/salla-order-summary.entry.js +2 -2
  176. package/dist/esm/salla-orders.entry.js +1 -1
  177. package/dist/esm/salla-payments.entry.js +3 -3
  178. package/dist/esm/salla-price-range.entry.js +3 -3
  179. package/dist/esm/salla-review-card.entry.js +2 -2
  180. package/dist/esm/salla-reviews-page.entry.js +2 -2
  181. package/dist/esm/salla-reviews.entry.js +2 -2
  182. package/dist/esm/salla-social.entry.js +2 -2
  183. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  184. package/dist/esm/salla-tooltip.entry.js +2 -2
  185. package/dist/esm/salla-verify.entry.js +1 -1
  186. package/dist/esm/salla-wallet.entry.js +1 -1
  187. package/dist/esm/twilight.js +3 -3
  188. package/dist/twilight/{p-4066a1b1.entry.js → p-0197b69d.entry.js} +1 -1
  189. package/dist/twilight/{p-69109692.entry.js → p-01eda274.entry.js} +1 -1
  190. package/dist/twilight/{p-ee9dd25a.entry.js → p-032b0e85.entry.js} +1 -1
  191. package/dist/twilight/{p-366503cd.entry.js → p-102f88f6.entry.js} +1 -1
  192. package/dist/twilight/{p-fa3319f5.entry.js → p-12525a9e.entry.js} +1 -1
  193. package/dist/twilight/{p-9481158a.entry.js → p-1588164a.entry.js} +1 -1
  194. package/dist/twilight/{p-267dd052.entry.js → p-1ca4a338.entry.js} +1 -1
  195. package/dist/twilight/p-2602ecb4.entry.js +4 -0
  196. package/dist/twilight/{p-9f14803b.entry.js → p-309f3ecb.entry.js} +2 -2
  197. package/dist/twilight/{p-49e5435a.entry.js → p-4b9cd5d6.entry.js} +1 -1
  198. package/dist/twilight/{p-0f14e2e4.entry.js → p-4f150940.entry.js} +1 -1
  199. package/dist/twilight/{p-8aa7c264.entry.js → p-4fb5361e.entry.js} +1 -1
  200. package/dist/twilight/{p-f1e1b555.entry.js → p-60a30891.entry.js} +1 -1
  201. package/dist/twilight/{p-eceb7c9e.entry.js → p-676b1050.entry.js} +1 -1
  202. package/dist/twilight/{p-4cda348c.entry.js → p-698397ba.entry.js} +1 -1
  203. package/dist/twilight/{p-64d87b2c.entry.js → p-7832ea04.entry.js} +1 -1
  204. package/dist/twilight/{p-de076268.entry.js → p-7bbc70c5.entry.js} +1 -1
  205. package/dist/twilight/{p-087697fd.entry.js → p-8cd68089.entry.js} +1 -1
  206. package/dist/twilight/{p-879c7b3b.entry.js → p-928d763c.entry.js} +1 -1
  207. package/dist/twilight/{p-2b6d8153.entry.js → p-9a4778f1.entry.js} +1 -1
  208. package/dist/twilight/{p-C0xTsGCO.js → p-BJ4No-vd.js} +1 -1
  209. package/dist/twilight/{p-fG9MNMWw.js → p-BXBRVFbS.js} +1 -1
  210. package/dist/twilight/{p-BPs87J_p.js → p-C6FJtlXc.js} +1 -1
  211. package/dist/twilight/{p-CCWkGy7g.js → p-C6Q-Q-d0.js} +1 -1
  212. package/dist/twilight/{p-mrlY8HKK.js → p-CWOBjklM.js} +1 -1
  213. package/dist/twilight/{p-CSGfyf5g.js → p-D0yi-XSr.js} +1 -1
  214. package/dist/twilight/{p-BQGKNqrM.js → p-D2TJIH9B.js} +1 -1
  215. package/dist/twilight/{p-dm1mR3lo.js → p-DWN70F99.js} +1 -1
  216. package/dist/twilight/{p-DM6HkKTq.js → p-Tyr8jfMa.js} +1 -1
  217. package/dist/twilight/{p-c526838b.entry.js → p-a05862ff.entry.js} +1 -1
  218. package/dist/twilight/{p-79277342.entry.js → p-a4b88291.entry.js} +1 -1
  219. package/dist/twilight/p-a70a57a7.entry.js +4 -0
  220. package/dist/twilight/{p-29a1db13.entry.js → p-a738d467.entry.js} +1 -1
  221. package/dist/twilight/{p-2e1734e7.entry.js → p-ae04bc91.entry.js} +1 -1
  222. package/dist/twilight/{p-0da66c10.entry.js → p-b481aa01.entry.js} +1 -1
  223. package/dist/twilight/{p-d6be71c8.entry.js → p-bb20894f.entry.js} +1 -1
  224. package/dist/twilight/{p-b648da57.entry.js → p-caa4f6d7.entry.js} +1 -1
  225. package/dist/twilight/{p-8138baca.entry.js → p-db1f98e2.entry.js} +1 -1
  226. package/dist/twilight/{p-98121aa5.entry.js → p-e257b430.entry.js} +1 -1
  227. package/dist/twilight/{p-b42d8a8b.entry.js → p-ed1a958a.entry.js} +1 -1
  228. package/dist/twilight/twilight.esm.js +1 -1
  229. package/dist/types/components/salla-bottom-alert/salla-bottom-alert.d.ts +4 -1
  230. package/package.json +5 -5
  231. package/dist/twilight/p-b072c1f9.entry.js +0 -4
  232. package/dist/twilight/p-faf1616b.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-zDUTAnXB.js');
6
+ var index = require('./index-DaEGq3bI.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var specialDiscount = require('./special-discount-OVG_9Kf9.js');
9
9
  var check = require('./check-CLRvuniI.js');
@@ -612,7 +612,7 @@ const SallaBottomAlert = class {
612
612
  this.template = salla.config.get('store.template');
613
613
  this.loading = false;
614
614
  this.templateData = {};
615
- this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر متاح للشراء من');
615
+ this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر تطويري ومتاح للشراء من');
616
616
  this.defaultActionLabel = salla.lang.get('common.elements.know_more');
617
617
  this.storeFeatures = salla.lang.get('common.elements.store_features');
618
618
  this.storeDetails = salla.lang.get('common.elements.store_details');
@@ -624,6 +624,8 @@ const SallaBottomAlert = class {
624
624
  this.isRtl = salla.config.get('theme.is_rtl', true);
625
625
  this.storeName = salla.config.get('store.name');
626
626
  this.salla = salla.lang.getWithDefault('common.elements.salla', 'سلة');
627
+ this.readyStores = salla.lang.getWithDefault('common.elements.ready_stores', 'المتاجر الجاهزة');
628
+ this.moreDetailsLabel = salla.lang.getWithDefault('common.elements.more_details', 'تفاصيل أكثر');
627
629
  /**
628
630
  * Alert Type
629
631
  * */
@@ -635,6 +637,8 @@ const SallaBottomAlert = class {
635
637
  this.storeDetails = salla.lang.get('common.elements.store_details');
636
638
  this.templateInformation = salla.lang.get('common.elements.template_information');
637
639
  this.buyTheTemplate = salla.lang.get('common.elements.buy_the_template');
640
+ salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.more_details', 'تفاصيل أكثر');
641
+ salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.more_details', 'More Details');
638
642
  salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.store_price', 'سعر المتجر');
639
643
  salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.store_price', 'Store Price');
640
644
  salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.the_developer', 'المطور');
@@ -643,34 +647,46 @@ const SallaBottomAlert = class {
643
647
  salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.store_price_details', 'Price Includes');
644
648
  salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.salla', 'سلة');
645
649
  salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.salla', 'Salla');
646
- salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.store_is_available_for_purchase', 'هذا المتجر متاح للشراء من');
647
- salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.store_is_available_for_purchase', 'This store is available for purchase from');
650
+ salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.store_is_available_for_purchase', 'هذا المتجر تطويري ومتاح للشراء من');
651
+ salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.store_is_available_for_purchase', 'This ready store is available for purchase from');
652
+ salla.helpers.setNested(salla.lang.messages['ar.trans'], 'common.elements.ready_stores', 'المتاجر الجاهزة');
653
+ salla.helpers.setNested(salla.lang.messages['en.trans'], 'common.elements.ready_stores', 'Ready Stores');
648
654
  setTimeout(() => {
649
655
  this.storePrice = salla.lang.get('common.elements.store_price');
650
656
  this.theDeveloper = salla.lang.get('common.elements.the_developer');
651
657
  this.storePriceDetails = salla.lang.getWithDefault('common.elements.store_price_details', 'السعر يشمل');
652
658
  this.salla = salla.lang.getWithDefault('common.elements.salla', 'سلة');
653
- this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر متاح للشراء من');
659
+ this.defaultMessage = salla.lang.getWithDefault('common.elements.store_is_available_for_purchase', 'هذا المتجر تطويري ومتاح للشراء من');
660
+ this.readyStores = salla.lang.getWithDefault('common.elements.ready_stores', 'المتاجر الجاهزة');
661
+ // Initialize moreDetailsLabel after translations loaded
662
+ this.moreDetailsLabel = salla.lang.getWithDefault('common.elements.more_details', 'More Details');
654
663
  }, 100);
655
664
  });
656
665
  }
666
+ componentDidLoad() {
667
+ // Fetch template data on mount if there's a template
668
+ if (this.template &&
669
+ typeof this.template === 'object' &&
670
+ Object.keys(this.template).length > 0) {
671
+ this.fetchTemplateData();
672
+ }
673
+ }
657
674
  open() {
658
- return this.drawer.open()
659
- .then(() => this.handleTemplateRequest());
675
+ return this.drawer.open();
660
676
  }
661
- handleTemplateRequest() {
677
+ fetchTemplateData() {
662
678
  if (Object.keys(this.templateData).length) {
663
679
  return;
664
680
  }
665
- this.drawer.loading();
666
- return salla.api.request(`/store/template`, {}, 'get', { 'Store-Identifier': this.storeId })
667
- .then((res) => {
668
- this.drawer.setTitle(this.storeDetails + " " + this.storeName);
681
+ this.loading = true;
682
+ return salla.api
683
+ .request(`/store/template`, {}, 'get', { 'Store-Identifier': this.storeId })
684
+ .then(res => {
669
685
  this.templateData = res.data;
670
- this.drawer.stopLoading();
686
+ this.loading = false;
671
687
  })
672
688
  .catch(() => {
673
- this.drawer.close();
689
+ this.loading = false;
674
690
  });
675
691
  }
676
692
  handleAction() {
@@ -682,21 +698,34 @@ const SallaBottomAlert = class {
682
698
  }
683
699
  }
684
700
  popup() {
685
- return (index.h("salla-drawer", { class: "s-bottom-alert-modal", ref: drawer => this.drawer = drawer, "no-padding": true }, Object.keys(this.templateData).length ?
686
- [index.h("div", { class: "s-bottom-alert-modal-inner s-scrollbar" }, index.h("div", { class: { "s-bottom-alert-modal-content": true } }, this.templateData?.features ? [index.h("div", { class: "s-bottom-alert-modal-content-title" }, index.h("i", { innerHTML: ImageIcon, class: "s-bottom-alert-modal-content-icon" }), index.h("span", null, this.storeFeatures)), index.h("div", { class: "s-bottom-alert-modal-content-features", innerHTML: this.templateData?.features })
687
- ] : ''), index.h("div", { class: { "s-bottom-alert-modal-content": true, 's-bottom-alert-modal-content-extra-padding': this.templateData?.price } }, this.templateData?.features ? [index.h("div", { class: "s-bottom-alert-modal-content-title" }, index.h("i", { innerHTML: moneyIcon, class: "s-bottom-alert-modal-content-icon" }), index.h("span", null, this.storePriceDetails)), index.h("div", { class: "s-bottom-alert-modal-content-price-details" }, this.templateData?.price_details?.items.map((item) => (index.h("div", { class: "s-bottom-alert-modal-content-price-details-item" }, index.h("i", { innerHTML: checkCircleIcon, class: "s-bottom-alert-modal-content-price-details-item-icon" }), index.h("span", { class: "s-bottom-alert-modal-content-price-details-item-name" }, item.name), index.h("span", { class: "s-bottom-alert-modal-content-price-details-item-price", innerHTML: salla.money(item.price) })))))
688
- ] : ''), this.templateData?.link ?
689
- index.h("div", { class: "s-bottom-alert-modal-content-footer" }, index.h("salla-button", { color: 'primary', size: "medium", width: 'wide', href: this.templateData?.link }, index.h("i", { innerHTML: PendingOrdersIcon }), this.buyTheTemplate)) : '')] : ''));
701
+ return (index.h("salla-drawer", { class: "s-bottom-alert-modal", ref: drawer => (this.drawer = drawer), "no-padding": true, onLoad: () => {
702
+ if (this.drawer && Object.keys(this.templateData).length) {
703
+ this.drawer.setTitle(this.storeDetails + ' ' + this.storeName);
704
+ }
705
+ } }, Object.keys(this.templateData).length
706
+ ? [
707
+ index.h("div", { class: "s-bottom-alert-modal-inner s-scrollbar" }, index.h("div", { class: { 's-bottom-alert-modal-content': true } }, this.templateData?.features
708
+ ? [
709
+ index.h("div", { class: "s-bottom-alert-modal-content-title" }, index.h("i", { innerHTML: ImageIcon, class: "s-bottom-alert-modal-content-icon" }), index.h("span", null, this.storeFeatures)),
710
+ index.h("div", { class: "s-bottom-alert-modal-content-features", innerHTML: this.templateData?.features }),
711
+ ]
712
+ : ''), index.h("div", { class: {
713
+ 's-bottom-alert-modal-content': true,
714
+ 's-bottom-alert-modal-content-extra-padding': this.templateData?.price,
715
+ } }, this.templateData?.features
716
+ ? [
717
+ index.h("div", { class: "s-bottom-alert-modal-content-title" }, index.h("i", { innerHTML: moneyIcon, class: "s-bottom-alert-modal-content-icon" }), index.h("span", null, this.storePriceDetails)),
718
+ index.h("div", { class: "s-bottom-alert-modal-content-price-details" }, this.templateData?.price_details?.items.map(item => (index.h("div", { class: "s-bottom-alert-modal-content-price-details-item" }, index.h("i", { innerHTML: checkCircleIcon, class: "s-bottom-alert-modal-content-price-details-item-icon" }), index.h("span", { class: "s-bottom-alert-modal-content-price-details-item-name" }, item.name), index.h("span", { class: "s-bottom-alert-modal-content-price-details-item-price", innerHTML: salla.money(item.price) }))))),
719
+ ]
720
+ : ''), this.templateData?.link ? (index.h("div", { class: "s-bottom-alert-modal-content-footer" }, index.h("salla-button", { color: "primary", size: "medium", width: "wide", href: this.templateData?.link }, index.h("i", { innerHTML: PendingOrdersIcon }), this.buyTheTemplate))) : ('')),
721
+ ]
722
+ : ''));
690
723
  }
691
724
  render() {
692
725
  const hasTemplate = this.template && typeof this.template === 'object' && Object.keys(this.template).length > 0;
693
- // const developer = hasTemplate && this.template.developer;
694
- // const hasDeveloper = developer !== undefined;
695
- // const developerName = hasDeveloper && developer?.name;
696
- // const developerUrl = null;//hasDeveloper && developer.url;
697
- return (index.h(index.Host, { key: '39eb4b7f3c12ba74281ebcdd4b52cf04ec46054b', class: "s-bottom-alert-wrapper" }, index.h("div", { key: '94bdca640a4ae3434c9b6eaf2b3af8ffabfd5802', class: "s-bottom-alert-content" }, index.h("div", { key: 'cc218513a8d832155031cdf64f63c21bf01a0d1b', class: "s-bottom-alert-icon" }, this.icon ? index.h("i", { class: this.icon }) : index.h("i", { innerHTML: infoIcon })), index.h("div", { key: '97deba6e71c8507c68fb942940912e3e201dd65e', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (index.h("span", null, this.defaultMessage, " ", index.h("span", { class: {
698
- "s-bottom-alert-message-highlight": true,
699
- }, "aria-label": "Developer" }, this.salla), " ", index.h("span", { class: "s-bottom-alert-message-splitter" }, "|"), " ", this.storePrice, ":", " ", index.h("span", { class: "s-bottom-alert-message-highlight", innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage)), this.type !== 'banner' && (index.h("div", { key: '7923680790c1db0ffeb716997b489dbb9b097125', class: "s-bottom-alert-action" }, index.h("salla-button", { key: 'f0d00ce883a1dec0a1640ad5f27b9eec3e645630', href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel))), this.type === 'popup' && this.popup())));
726
+ return (index.h(index.Host, { key: 'e5f273d72875760e30d99d419b247137583bc450', class: `s-bottom-alert-wrapper ${hasTemplate ? 's-bottom-alert-wrapper-with-template' : ''}` }, hasTemplate && (index.h("div", { key: '1db37d7c67aae449f41a9a3ed83489b2a0653cef', class: "s-bottom-alert-logo-section" }, index.h("img", { key: '18701cd3d807042b4d852f283d43a6855282f791', src: "https://cdn.salla.network/images/logo/logo-light.svg", alt: "Salla", class: "s-bottom-alert-logo" }), index.h("span", { key: '66bb3f9b3c00aee5c2694d5ddb142e753ae7fa1a', class: "s-bottom-alert-logo-text" }, this.readyStores))), index.h("div", { key: '01d47c9ec38370b83bdb3fdc29291f55e1b3aa42', class: "s-bottom-alert-content" }, index.h("div", { key: '5380873bf9d393c0fa18da196e1bfb675a8c9c9b', class: "flex items-center gap-2" }, index.h("div", { key: '882382de35a7c9a767e2eb90305c8a973d01ac21', class: "s-bottom-alert-icon" }, this.icon ? index.h("i", { class: this.icon }) : index.h("i", { innerHTML: infoIcon })), index.h("div", { key: 'dfbaa427fd4e8b755a479e0b5459422e44a95f59', class: "s-bottom-alert-message" }, this.message ? (this.message) : hasTemplate ? (index.h("span", { class: "flex flex-wrap items-center gap-1" }, this.defaultMessage, index.h("span", { class: {
727
+ 's-bottom-alert-message-highlight': true,
728
+ }, "aria-label": "Developer" }, this.salla), index.h("span", { innerHTML: salla.money(this.template.price) }))) : (this.defaultMessage))), this.type !== 'banner' && (index.h("div", { key: '327ef4b5ecdab7d994418c033a78c2531eb28de5', class: hasTemplate ? 's-bottom-alert-actions-group' : 's-bottom-alert-action' }, hasTemplate ? (this.loading ? (index.h("salla-loading", { size: "20" })) : (index.h("div", { class: "s-bottom-alert-actions-group-container" }, index.h("a", { class: "s-bottom-alert-action-link", onClick: () => this.handleAction() }, this.actionLabel || this.moreDetailsLabel), this.templateData?.link ? (index.h("button", { type: "button", class: "s-bottom-alert-action-purchase-button", onClick: () => window.open(this.templateData?.link, '_blank') }, this.buyTheTemplate)) : null))) : (index.h("salla-button", { href: this.actionUrl, size: "medium", onClick: () => this.handleAction(), width: "normal" }, this.actionLabel || this.defaultActionLabel)))), this.type === 'popup' && this.popup())));
700
729
  }
701
730
  get host() { return index.getElement(this); }
702
731
  };
@@ -1127,7 +1156,7 @@ const SallaCartSummary = class {
1127
1156
  return cartUrl;
1128
1157
  }
1129
1158
  render() {
1130
- return (index.h(index.Host, { key: '9438bba26da9472fd505b4797fae50877103b9aa' }, index.h("a", { key: 'f0c8b59b4878525d189fafb89a50654b239e96fd', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: '91b633322061063ab214f2c9409eb156da210bc2', id: "s-cart-icon" }, index.h("slot", { key: 'ccf02e30d94dd3485e219528ace2d56651c52456', name: "icon" }, index.h("i", { key: 'f102e391d9175cf9881c84063b33993c832c426b', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), index.h("span", { key: '3bf1db1728d57b526c9e60ce284f7128226586b5', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '57aa05278d5c30395d263aca978e4be8676d3a25', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '06d9c96ff9224023608a859fbec427f370c9e522', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: 'd8c05640c7e3579cd04fbdd29251f96f6e47bfa5', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
1159
+ return (index.h(index.Host, { key: 'f22c9fc5b6ad2c7b7f026a7b9ad2510a3c27c281' }, index.h("a", { key: 'b329fa512839a8dd6d8a1b175e254308c22a9fb0', class: "s-cart-summary-wrapper", href: this.getCartLink() }, index.h("div", { key: 'fbe89bcca0f38393a23016cf45358d38a53e5f8f', id: "s-cart-icon" }, index.h("slot", { key: 'f2668edcc903f0a8fd112c6449d8cda9113e2ffa', name: "icon" }, index.h("i", { key: 'f4a2c742903302b2676c4628961a90a7bcfe43eb', class: "s-cart-summary-icon", innerHTML: PendingOrdersIcon }))), index.h("span", { key: '49678efeaae684b2da2c238382b014390516db8d', class: "s-cart-summary-count" }, salla.helpers.number(this.cartSummaryCount)), index.h("p", { key: '9a399f82fc90e6c974022b65ea75c3f556f67221', class: "s-cart-summary-content" }, this.showCartLabel && index.h("span", { key: '879348fe4998f2eb3f26e4bebe486877bc733bff', class: "s-cart-summary-label" }, this.cartLabel), index.h("b", { key: '237d3ee6ebed4203752b6f5c4e2cb962c03cc087', class: "s-cart-summary-total", innerHTML: salla.money(this.cartSummaryTotal) })))));
1131
1160
  }
1132
1161
  get host() { return index.getElement(this); }
1133
1162
  };
@@ -2297,7 +2326,7 @@ const SallaColorPicker = class {
2297
2326
  });
2298
2327
  }
2299
2328
  render() {
2300
- return (index.h(index.Host, { key: '692d43f617dbaa05e170c32c725eb4adcc01ec78', class: "s-color-picker-main" }, index.h("slot", { key: '33166575c005f01e1557ac665749e206f05cc499', name: "widget" }, index.h("div", { key: '60bf746f0e2b336da837d62e962fefeaf63a9a2c', class: "s-color-picker-widget" }, index.h("div", { key: '62c56bc83a9315052ac3c21841f284b416407945', class: "s-color-picker-widget-canvas", ref: dv => this.canvas = dv }), index.h("span", { key: '3f1869950f457659a3c52d8148fd386ce1171caa', innerHTML: specialDiscount.ArrowDownIcon }))), index.h("input", { key: '7fa3f08df14f03e9a4cf33e41eeb9f34b1a9dbfe', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => this.colorInput = color })));
2329
+ return (index.h(index.Host, { key: '8ed135a77f4664ae0820fe116c115ecde8600630', class: "s-color-picker-main" }, index.h("slot", { key: '9c03d6effac021a15f380b58e912556c8506df77', name: "widget" }, index.h("div", { key: '079346b844adf30b07ce387fd0a0ea553d6f6c3a', class: "s-color-picker-widget" }, index.h("div", { key: 'b585d7bb86c1e66ecf624f985482594e250f5337', class: "s-color-picker-widget-canvas", ref: dv => this.canvas = dv }), index.h("span", { key: '9a3029a2d447d5bcd7eeb17f4772b0c70ff6e1a5', innerHTML: specialDiscount.ArrowDownIcon }))), index.h("input", { key: '9ceac07e6277a096b1a7070d3d9ba2def7aa0839', class: "s-hidden", name: this.name, required: this.required, value: this.color, ref: color => this.colorInput = color })));
2301
2330
  }
2302
2331
  componentDidLoad() {
2303
2332
  this.canvas.style.backgroundColor = this.color;
@@ -2341,7 +2370,7 @@ const SallaCommentForm = class {
2341
2370
  .finally(() => this.submitBtn.stop);
2342
2371
  }
2343
2372
  render() {
2344
- return (index.h(index.Host, { key: '305789ae94c288c8ca485ab10ae87a71f31d1042' }, !!this.canComment ? index.h("form", { ref: frm => this.commentForm = frm }, index.h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
2373
+ return (index.h(index.Host, { key: 'fbea28507c188a338ee066b5198bcf93de2fbda2' }, !!this.canComment ? index.h("form", { ref: frm => this.commentForm = frm }, index.h("div", { class: "s-comment-form-wrapper" }, this.showAvatar ?
2345
2374
  index.h("img", { class: "s-comment-form-avatar", src: salla.config.get('user.avatar'), alt: "user avatar" }) : '', index.h("div", { class: "s-comment-form-content" }, index.h("textarea", { cols: 30, rows: 5, minlength: "4", maxlength: "500", ref: field => this.commentField = field, placeholder: this.placeholder, class: "s-comment-form-input", required: true }), index.h("br", null), index.h("div", { class: "s-comment-form-action" }, index.h("salla-button", { ref: btn => this.submitBtn = btn, "loader-position": 'center', onClick: () => this.submit() }, this.submitText))))) : ''));
2346
2375
  }
2347
2376
  };
@@ -2477,13 +2506,13 @@ const SallaCommentItem = class {
2477
2506
  }
2478
2507
  render() {
2479
2508
  let isAdmin = this.comment.type == 'admin';
2480
- return (index.h(index.Host, { key: '98e314383c34c566ab9e05efeebae51e5b694681', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, index.h("div", { key: 'a704f11fd7f4bc227eb2f986360afb3c2875c6ab', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, index.h("div", { key: '8b0c0a9422003621eb5d8d6a54893fc0a18d4cc9', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && index.h("span", { key: '7f421290726abe2391da37178e01265badf4fd08', class: "s-comments-item-reply-icon", innerHTML: Reply }), index.h("div", { key: '61ef5759d54603f1b886de9126ab771437fe2e98', class: "s-comments-item-avatar" }, index.h("img", { key: '67b668cc17d3d0747cd128efa961540858750fbf', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), index.h("div", { key: 'fc42c8a69538f09f8f3f9c0e5555d39b9dc4a6ac', class: "s-comments-flex-1" }, index.h("div", { key: '7b2b3de758fed9ae73e0032b6cf895ce1df99883', class: "s-comments-item-user-wrapper" }, index.h("div", { key: '1d4187d935e209354587a900f912a4eb19b066df', class: "s-comments-item-user-info" }, index.h("h3", { key: '2a45f7ad245c41a2fd5a69bd909e093effed8453', class: "s-comments-item-user-info-name" }, this.comment?.name), (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
2509
+ return (index.h(index.Host, { key: '23f7ca8136164177f5cf8f96b91193ff511e4fbb', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, index.h("div", { key: 'dfbc3e5b58ddbcce247e1de767b477bab1eab2e3', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, index.h("div", { key: 'b6c77afa13d1ede6145bd85942dca414414e4e9c', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && index.h("span", { key: 'cd8515e5bbe6b71ae23857cb7c3dca069b685475', class: "s-comments-item-reply-icon", innerHTML: Reply }), index.h("div", { key: 'b12ce64b8afc4f1c77d20ac4e76c25e02ecd2f4b', class: "s-comments-item-avatar" }, index.h("img", { key: 'fd554e59e550c22618249ef76ef784bc380bba22', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), index.h("div", { key: '2e6c9beb412773bd117372768f67c28ac024a9c4', class: "s-comments-flex-1" }, index.h("div", { key: 'a4ea92bb3416fc603fcbe98a163ed506b1c43a49', class: "s-comments-item-user-wrapper" }, index.h("div", { key: '22c882510812ba6f0ac51818015e7863c27c16d3', class: "s-comments-item-user-info" }, index.h("h3", { key: 'b69e6dec2c1000b91fa112cbdefe0d173d975a45', class: "s-comments-item-user-info-name" }, this.comment?.name), (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
2481
2510
  index.h("div", { class: "s-comments-flex" }, this.comment.has_order ?
2482
2511
  [index.h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: check.IconVerified }), index.h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
2483
2512
  index.h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
2484
- : null), index.h("p", { key: 'c934abc4f8dd94bc349d85d00a5984aef672d9d9', class: "s-comments-item-timestamp s-ltr" }, " ", this.getDate(this.comment.created_at?.date), " ", index.h("span", { key: 'acef6d6af07b12501a61d074ad566692bb02456a', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date), " ")), !!this.comment.rating || !!this.comment.stars ?
2513
+ : null), index.h("p", { key: 'cc89bf414f7cd2f512fac82312f412abc38a022a', class: "s-comments-item-timestamp s-ltr" }, " ", this.getDate(this.comment.created_at?.date), " ", index.h("span", { key: 'ccc1a1c62a1584a25f165db0366d9c30dca54e4b', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date), " ")), !!this.comment.rating || !!this.comment.stars ?
2485
2514
  index.h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
2486
- : null), index.h("div", { key: '9bedec8066878f113623e9ab27c203836eea2db5', class: "s-comments-item-content" }, index.h("p", { key: '0f8b1bf62ac5afc1449b160884945003b70e55f0', innerHTML: this.comment.content }), this.allowAttachImages && index.h("div", { key: 'df920f8e2758aedc313b4502f554157fb216c15d', class: "s-comments-item-images" }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "", onClick: () => this.modal.open() }))), index.h("salla-modal", { key: '0743d9159e0cf4061b1969953f58fdebf49ee9e2', ref: modal => this.modal = modal, width: "sm" }, index.h("salla-slider", { key: '00a15b0dca213ddf64f3346da6849ce0dde7f638', 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" }, index.h("div", { key: '21e593664598eab16e56990c43aba10dcc526752', slot: 'items' }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "" })))), index.h("div", { key: '8998e861f37fc30c488d60b016c68db0b09483ee', slot: "thumbs" }, this.comment.images.map((image, index$1) => (index.h("div", { class: "s-comments-item-images-slider-thumb" }, index.h("img", { key: index$1, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && salla.url.is_page('product.single') ? index.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() }, index.h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), index.h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
2515
+ : null), index.h("div", { key: 'c8de0a5afdb23c5c3cf78f0e0bee2f90e4222424', class: "s-comments-item-content" }, index.h("p", { key: 'a56d8cd320200f11b546f85729aac9c8e36a28e1', innerHTML: this.comment.content }), this.allowAttachImages && index.h("div", { key: 'b693e349105bb69a3f411f1ffcf84b700ac6aef5', class: "s-comments-item-images" }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "", onClick: () => this.modal.open() }))), index.h("salla-modal", { key: 'cd57384d102f513beb82a8004663af1067a5b119', ref: modal => this.modal = modal, width: "sm" }, index.h("salla-slider", { key: '07e998f014edf222aab402ba8a0a7e0d05d19f53', 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" }, index.h("div", { key: '95edb3475172c8262eb98d32d5750b2dbdc866fc', slot: 'items' }, this.comment.images.map((image, index$1) => (index.h("img", { key: index$1, src: image, alt: "" })))), index.h("div", { key: '1c8b6d610fe47c20bd2f41fae5df1c069c0f8894', slot: "thumbs" }, this.comment.images.map((image, index$1) => (index.h("div", { class: "s-comments-item-images-slider-thumb" }, index.h("img", { key: index$1, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && salla.url.is_page('product.single') ? index.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() }, index.h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), index.h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
2487
2516
  index.h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
2488
2517
  this.getReplies().map((reply) => {
2489
2518
  return index.h("div", null, index.h("salla-comment-item", { comment: reply }));
@@ -2887,7 +2916,7 @@ const SallaConditionalFields = class {
2887
2916
  });
2888
2917
  }
2889
2918
  render() {
2890
- return (index.h(index.Host, { key: 'b29d3a3e7e7af01540efbd2868cd302e91bba8a4' }, index.h("slot", { key: 'b6d6544834ea082ffcd20deef2da1206a47e98ba' })));
2919
+ return (index.h(index.Host, { key: 'af75ffed0725edefeb9e6fcd2f95bf9209f63dd0' }, index.h("slot", { key: 'b28f91555071a31d967d85ba7d693e16266bcc6c' })));
2891
2920
  }
2892
2921
  get host() { return index.getElement(this); }
2893
2922
  };
@@ -3035,7 +3064,7 @@ const SallaCountDown = class {
3035
3064
  return this.renderCountDown();
3036
3065
  }
3037
3066
  render() {
3038
- return (index.h(index.Host, { key: '1e6baaf061a5cee7aeed3af6f4f02a7edf654885', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''}` }, this.renderContent(), this.offerEnded && this.renderOfferEnded()));
3067
+ return (index.h(index.Host, { key: '96bba6312e710673e1f249cabecfc8756fac5c0e', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''}` }, this.renderContent(), this.offerEnded && this.renderOfferEnded()));
3039
3068
  }
3040
3069
  };
3041
3070
  SallaCountDown.style = sallaCountDownCss;
@@ -3247,7 +3276,7 @@ const SallaDatetimePicker = class {
3247
3276
  }
3248
3277
  }
3249
3278
  render() {
3250
- return index.h("div", { key: '10ac16506ca2b2b2a94227887a8d0b6593d7ac17', class: "s-datetime-picker" }, index.h("input", { key: 'fad4a5677edf21d9bd9a977392ebaf4ae2ad3b7b', 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 }));
3279
+ return index.h("div", { key: 'f619b5fa5fdb68b3cc8562be43496dabb1d78f37', class: "s-datetime-picker" }, index.h("input", { key: 'dc9b5d0680cd31109a2b82fcf435b8b68d5fbb8d', 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 }));
3251
3280
  }
3252
3281
  async componentDidLoad() {
3253
3282
  // Load flatpickr before initializing
@@ -3514,13 +3543,13 @@ const SallaFileUpload = class {
3514
3543
  return;
3515
3544
  try {
3516
3545
  const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
3517
- Promise.resolve().then(function () { return require('./filepond-6SEXVM6z.js'); }).then(function (n) { return n.filepond; }),
3518
- Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-Iy3hm_gs.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
3519
- Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-O9keaTXk.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
3520
- Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-Cu__OpX5.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
3521
- Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-D0Zm0Ae7.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
3522
- Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-BwgIXaDl.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
3523
- Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-n2iYVp3t.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
3546
+ Promise.resolve().then(function () { return require('./filepond-B8IS5fc4.js'); }).then(function (n) { return n.filepond; }),
3547
+ Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-size-B_DKZXnt.js'); }).then(function (n) { return n.filepondPluginFileValidateSize; }),
3548
+ Promise.resolve().then(function () { return require('./filepond-plugin-image-exif-orientation-B7u7IA2t.js'); }).then(function (n) { return n.filepondPluginImageExifOrientation; }),
3549
+ Promise.resolve().then(function () { return require('./filepond-plugin-image-preview-CAeV0T5l.js'); }).then(function (n) { return n.filepondPluginImagePreview; }),
3550
+ Promise.resolve().then(function () { return require('./filepond-plugin-image-edit-CWJKXKBc.js'); }).then(function (n) { return n.filepondPluginImageEdit; }),
3551
+ Promise.resolve().then(function () { return require('./filepond-plugin-file-validate-type-DDrvV_Am.js'); }).then(function (n) { return n.filepondPluginFileValidateType; }),
3552
+ Promise.resolve().then(function () { return require('./filepond-plugin-file-poster-wZ73Ekkr.js'); }).then(function (n) { return n.filepondPluginFilePoster; })
3524
3553
  ]);
3525
3554
  this.FilePond = FilePondModule;
3526
3555
  // Register plugins
@@ -3810,11 +3839,11 @@ const SallaFileUpload = class {
3810
3839
  }
3811
3840
  }
3812
3841
  render() {
3813
- return (index.h(index.Host, { key: '0023b56c4e837cf95514b430a6ecf7c4c287f6ca', class: {
3842
+ return (index.h(index.Host, { key: 'b5d3d0cf960e703c563f8999d55a99cbfe7a85e3', class: {
3814
3843
  "s-file-upload": true,
3815
3844
  "s-file-upload-profile-image": this.profileImage,
3816
3845
  "s-file-upload-multiple": this.allowMultiple,
3817
- } }, index.h("input", { key: '985c6e1e643e2d4d6ac8f3fbbdba57fa5461582a', 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 ? index.h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', index.h("input", { key: 'a500ae487c1a29e5b6ac815d85c5f520391587d3', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
3846
+ } }, index.h("input", { key: '5e9cc8cd73e83acbb0a9f04e15e530563e94988b', 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 ? index.h("div", { class: "s-file-upload-hint s-hidden" }, this.max_count_hint(this.maxFilesCount)) : '', index.h("input", { key: '13a402c070302bfb00d82a24f523a9b764e39037', class: "s-hidden", name: 'hidden-' + this.name, required: this.required, value: this.value, ref: input => this.hiddenInput = input })));
3818
3847
  }
3819
3848
  componentDidLoad() {
3820
3849
  let files = this.getFiles();
@@ -4444,7 +4473,7 @@ const SallaGifting = class {
4444
4473
  }
4445
4474
  render() {
4446
4475
  return [
4447
- index.h("div", { key: 'd16cc7f7023bea25db35841e89affadc64c07750' }, index.h("salla-list-tile", { key: 'a0bacbee0a60998d7b2b6a04de43e0d840017e8e', class: this.generateClass() }, index.h("div", { key: 'b23da8bd5bc1c60ee6c9a755b62e398b36900d5d', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: '87ed11d782fbfb07cf06bd2985d041c28f76f51d' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'f8894e33e53dd1ed91c0649bfd88962c798cf8c2', slot: "subtitle" }, index.h("div", { key: '275a03acbd38cd916d86e852affea21c501c0da5' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '45fa9404463409d35fd24b25c0ae650a4679a939', slot: "action" }, index.h("salla-button", { key: '5c6e5c9d0357721961b0f25139126ad79a8ca099', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '2a1fb3728692233a9cf87bd0d632610ad020650d', name: "widget-btn-content" }, index.h("div", { key: '4b7fd08f8f4a35b6d74f63e0547aaf92823ca0f0', class: "s-gifting-widget-action-content" }, index.h("span", { key: 'b6e15c75159f3485330af5f8fdd247c8dc9c1ce1', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: '574c99709d0ecbe73deeed07664951b421976d22' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '3a73e664ffa20c58792eb1c7865b903fbf5f38f1', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: 'eb8b915f53edfd3e7255a6e59a204e5120b56b47', slot: "loading" }, index.h("div", { key: '1bb51e9f935b10cac4b816bfc062999b16c984c7', class: "s-gifting-skeleton" }, index.h("div", { key: '4d050d592dbdef6ff4921d2937dedab1ae6d546c', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: '00fa0ba8cd77422bab5ef5c174436843863ffa36', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '11f5e666e3cd59ee0673269edb1120255e36b973', class: "s-gifting-modal-title" }, index.h("div", { key: 'ef4d1fb59c4f9711ddf923118692d7a302cd0ab9', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '6d9cf1bf0c9e4df1590e0a575b83fb133482a9b1', height: '15px', width: '150px' })))), index.h("div", { key: 'f20ac67cfc4ab4f42838906418f5102c6cac01d3', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: 'e5cbd9d820468d8233bd13991878741724b52723', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '511b9321272203f98520339ac67408e2b11bd7c7', height: '230px' }), index.h("salla-skeleton", { key: 'b929ad683b8302d29a09a749e603dead646606db', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'bb485d3ccb8dbd35bfe9faca03b1e9fbfa8a67e3', height: '30px' }), index.h("salla-skeleton", { key: 'c2591d3c074ce82e7047807ed8560c914e99bba5', height: '40px' })))), index.h("slot", { key: '144dbbe14bc130217c63089aff8cccd1a6739850', name: "header" }), !!this.hasError ?
4476
+ index.h("div", { key: '52ed7ef8e9908a42d1815aa021654557ac1eb77e' }, index.h("salla-list-tile", { key: 'd8732567c5d2fcf0a007679087af5bb4a6589649', class: this.generateClass() }, index.h("div", { key: '2d0b7cedaaa7b3248151dfa28683984accfbf57a', slot: "title" }, this.vertical ? index.h("span", { innerHTML: GiftSharing }) : '', index.h("h3", { key: '0089f484e18cb2da81c6c55e931298f80fd97348' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'a5b6e824a20b10ec8d0b1b2e64ecb672799a0035', slot: "subtitle" }, index.h("div", { key: 'fb15018d2a456bac146dc1b3ad9c93ffe23bb8f8' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '7c10860a3881e933850ee7828d604c7a08b3700b', slot: "action" }, index.h("salla-button", { key: 'a9a4fc5c746c6e57851f9ea5bb6e026db92428e4', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '2d94342daa320d9e374b7a9945860f1ba4b92abf', name: "widget-btn-content" }, index.h("div", { key: '74d29e05b046fa4d3cdd3dab35934f879e942be6', class: "s-gifting-widget-action-content" }, index.h("span", { key: '40818643fb4ca55a007cbecf1e94b26bbe3afbe3', innerHTML: GiftSharing }), " \u00A0", index.h("span", { key: '2bd1fbcb4c0bdedcf93f7c6f677fa177c088d8a4' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '3bc1fe8bb1260983aae3750154025b6d5ce661bb', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '1fbd87115bde6dfcdf3c7c2753b051de51afda55', slot: "loading" }, index.h("div", { key: '47d7f1b00a4752192cfa42c2d725546194633e2f', class: "s-gifting-skeleton" }, index.h("div", { key: '189a65f204bd067e31ecdc7814b5cde81409f824', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: 'bfe75d37f7933b1632c891eb1930e5a0f3efd4ac', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '2e5a16d86c0f0c79ec5d272f515ea64e52b07d83', class: "s-gifting-modal-title" }, index.h("div", { key: '931982ea16ad7b099ddc6c33929f96cf15c05307', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '724cb7f8e35c1319e974a53ac7de72090a71bf6a', height: '15px', width: '150px' })))), index.h("div", { key: '851f77aadad1f617129f03245bc8faa5eaf6f9f3', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: 'd414c203fe82bc06c8fcaa596f3905e186757682', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'a0bea49d6eae8d7a5c41f72f147ce7b702502f20', height: '230px' }), index.h("salla-skeleton", { key: '8d7af7c14a8adad6cfbf17a185148ce7b9324756', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '0e78d2bbe2035fd2fe3f3ad295e5901bf2a0e556', height: '30px' }), index.h("salla-skeleton", { key: '0a64e92db6ee425d22b332d3ada5c25ca5277076', height: '40px' })))), index.h("slot", { key: 'f79fa4c8d457619e77de8dc459f0a65c1078c8ef', name: "header" }), !!this.hasError ?
4448
4477
  index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), index.h("span", { slot: "description" }, " "))
4449
4478
  :
4450
4479
  [
@@ -4460,7 +4489,7 @@ const SallaGifting = class {
4460
4489
  index.h("div", null, index.h("div", { class: this.errors && this.errors['receiver.country'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), index.h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, index.h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (index.h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
4461
4490
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), index.h("div", { class: this.errors && this.errors['receiver.city_id'] ? "s-form-group s-form-has-error anime-item opacity-0" : "s-form-group anime-item opacity-0" }, index.h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), index.h("select", { name: "city", class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities }, index.h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (index.h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
4462
4491
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), index.h("div", { class: "s-gifting-info anime-item opacity-0" }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo))), !this.physicalProducts && index.h("div", { class: "anime-item opacity-0" }, index.h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, index.h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), index.h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), index.h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, index.h("label", { class: "s-form-label" }, this.selectSendDateAndTime), index.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) }), index.h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), index.h("div", { class: "s-gifting-step-two-footer anime-item opacity-0" }, index.h("a", { href: "#!", innerHTML: arrowLeft.arrowLeft, onClick: (e) => this.goToStep1(e) }), index.h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, index.h("span", null, this.sendGift)))))
4463
- ], index.h("slot", { key: 'd20dc2762318510b53404ece4cd5cdef91bd8099', name: "footer" })))
4492
+ ], index.h("slot", { key: '3a0375eeb53c624d60601045e695d56ba6b92838', name: "footer" })))
4464
4493
  ];
4465
4494
  }
4466
4495
  };
@@ -4568,7 +4597,7 @@ const SallaListTile = class {
4568
4597
  };
4569
4598
  }
4570
4599
  render() {
4571
- return (index.h(index.Host, { key: 'ba44695aed1223972f89af7c586a40930b02bf2c' }, index.h("a", { key: '07372f90536259e785765fd52518d662da064310', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, index.h("div", { key: '1146861c80badb189b2cee76c1641b6b24cdc81f', class: "s-list-tile-item-icon" }, index.h("slot", { key: 'e3f28cb3fc224a11345f79dbcc63abda6a5749f2', name: 'icon' })), index.h("div", { key: '2538211d32d19b14feb87324499402fa86591734', class: "s-list-tile-item-content" }, index.h("div", { key: 'c099dbf9985c97cf7580ae155f12310033f82d94', class: "s-list-tile-item-title" }, index.h("slot", { key: 'cbd58b99730b27cc90b2897a82049a0b132a68aa', name: 'title' })), index.h("div", { key: '9a5d9bde89507382c84910da72baac5b18a0180d', class: "s-list-tile-item-subtitle" }, index.h("slot", { key: 'b0c042dfece6f5b337cc32892dd10bd4f7705ce0', name: "subtitle" }))), index.h("div", { key: '500a9175dd419a186e4d8e76d2578183b70d9d88', class: "s-list-tile-item-action" }, index.h("slot", { key: '6b8eaf7115a0304f7e50aafe251aec0325146a80', name: 'action' })))));
4600
+ return (index.h(index.Host, { key: 'b1b2a6bf65c40643d59f392e91cc76acaea5e89e' }, index.h("a", { key: '4b2026fd739b243a41bfc37fcb55bc07a1a54636', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, index.h("div", { key: 'bbc7a7133da0e471ad92a5466e9ec0481d74cdd7', class: "s-list-tile-item-icon" }, index.h("slot", { key: 'e4e338854bfc7e6843c4b87f419c9aa59970c77b', name: 'icon' })), index.h("div", { key: '1b7b2e0a65193be521cdf6cccc314c83f853216d', class: "s-list-tile-item-content" }, index.h("div", { key: '4e6a178d219827b1feef394ea5564769bf11ded2', class: "s-list-tile-item-title" }, index.h("slot", { key: '75b036812aca3e00162fc8c40459b67d4db2cc6f', name: 'title' })), index.h("div", { key: 'ab0959a43214ae0eb4cf092ea3738c71ed987709', class: "s-list-tile-item-subtitle" }, index.h("slot", { key: 'e13f66fb2a0e1c5ab2a9081c808973c9f9ecca45', name: "subtitle" }))), index.h("div", { key: '78c7542367a41a1f8bc74bca73d2581f5c0b7bfd', class: "s-list-tile-item-action" }, index.h("slot", { key: '14c8c0f31d29855d743b52f82d52a3bed300b25f', name: 'action' })))));
4572
4601
  }
4573
4602
  };
4574
4603
  SallaListTile.style = sallaListTileCss;
@@ -4596,7 +4625,7 @@ const SallaLoading = class {
4596
4625
  this.bgColor = "#e5e7eb";
4597
4626
  }
4598
4627
  render() {
4599
- return (index.h(index.Host, { key: '8320fc3660a218e25417a93bf887971c5e8419c3', class: "s-loading-container" }, index.h("svg", { key: 'b70926bc9f4735a041bc15941f3455f739ca92ca', "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" }, index.h("path", { key: '08022da39248d500da894209a321feda18f4c1ac', 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" }), index.h("path", { key: 'df3d357458fd338246941a78993ffe8cf06f0d8b', 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" }))));
4628
+ return (index.h(index.Host, { key: '0f3796a2a8f9610f40e20eb01e4d60fb56e11a03', class: "s-loading-container" }, index.h("svg", { key: 'd9d98cfa05e5c7d188237a0a4833c4cd13c2855c', "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" }, index.h("path", { key: '75ea4d6f86456c86249dab53f3e18d21cc0380ef', 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" }), index.h("path", { key: '8bfd0b7ea965749ed9456742f36d2ffa28cff9f3', 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" }))));
4600
4629
  }
4601
4630
  };
4602
4631
  SallaLoading.style = sallaLoadingCss;
@@ -4704,7 +4733,7 @@ const SallaLocalizationModal = class {
4704
4733
  });
4705
4734
  }
4706
4735
  render() {
4707
- return (index.h("salla-modal", { key: '7217465dd0a549765d84237a79a3d40d09b8ba19', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, index.h("div", { key: '1c7d641df3d795578b8f703deddd2deab0a0f0f3', slot: 'loading' }, index.h("div", { key: '9f3f99f0cb3fc0edf69a0b5672c985f037f77e99', class: "s-localization-modal-skeleton" }, index.h("salla-skeleton", { key: '744fd8f82a4675205a6f5fe0ed7f41ecfff73286', width: '25%', height: '15px' }), index.h("div", { key: '615e09c738ff315c72e4b46f0a97925b6ba43121', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => index.h("div", { class: "s-localization-modal-skeleton-item" }, index.h("div", { class: "s-localization-modal-skeleton-item-flex" }, index.h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), index.h("salla-skeleton", { height: '10px', width: '100px' })), index.h("salla-skeleton", { height: '15px', width: '20px' })))), index.h("salla-skeleton", { key: '1d968a79a37d4012a9eef552bcd4f93006abcbe4', width: '25%', height: '15px' }), index.h("div", { key: '3a64d7c5f038f681ee58a457ba42e2ad70bf3f06', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => index.h("div", { class: "s-localization-modal-skeleton-item" }, index.h("div", { class: "s-localization-modal-skeleton-item-flex" }, index.h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), index.h("salla-skeleton", { height: '10px', width: '100px' })), index.h("salla-skeleton", { height: '15px', width: '20px' })))), index.h("salla-skeleton", { key: '696cc5d9dcd7c9dd1f4a17f7bf904c836595ddcf', height: '40px', width: '100%' }))), !!this.hasError ?
4736
+ return (index.h("salla-modal", { key: '723456204235f09a432bb4c6a2efb8e3c240511a', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, index.h("div", { key: '71a27397f1f657a20e1b2a1973d177ec108e84ad', slot: 'loading' }, index.h("div", { key: '389c43a27caac28403179a3a2401e4d6ced5ea98', class: "s-localization-modal-skeleton" }, index.h("salla-skeleton", { key: '326e2f1af3ae44116d76ffa5cce9a5504f88f7ed', width: '25%', height: '15px' }), index.h("div", { key: '5a32fddf1e2d173dd5baec833c6069ea77f1840e', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => index.h("div", { class: "s-localization-modal-skeleton-item" }, index.h("div", { class: "s-localization-modal-skeleton-item-flex" }, index.h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), index.h("salla-skeleton", { height: '10px', width: '100px' })), index.h("salla-skeleton", { height: '15px', width: '20px' })))), index.h("salla-skeleton", { key: 'e96327a83510158dd8f929570204081464a8cc48', width: '25%', height: '15px' }), index.h("div", { key: '00679c38be6c2a4112df15c7bb054ad83c5104eb', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => index.h("div", { class: "s-localization-modal-skeleton-item" }, index.h("div", { class: "s-localization-modal-skeleton-item-flex" }, index.h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), index.h("salla-skeleton", { height: '10px', width: '100px' })), index.h("salla-skeleton", { height: '15px', width: '20px' })))), index.h("salla-skeleton", { key: '4eb11307a6dfe694017c175cc88b783a093750db', height: '40px', width: '100%' }))), !!this.hasError ?
4708
4737
  index.h("salla-placeholder", { alignment: "center" }, index.h("span", { slot: "description" }, this.errorMessage)) :
4709
4738
  index.h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
4710
4739
  index.h("div", { class: "s-localization-modal-section" }, index.h("label", { class: "s-localization-modal-title" }, salla.lang.get('common.titles.language')), index.h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
@@ -5256,7 +5285,7 @@ const SallaMaintenanceAlert = class {
5256
5285
  this.host.style.display = 'none';
5257
5286
  }
5258
5287
  render() {
5259
- return (index.h(index.Host, { key: 'fa4c58fe7ee2db9123f5ea0e481b9c974df489d0', class: "s-maintenance-alert-wrapper" }, index.h("button", { key: '9c1df10f48abd76cef72163cca33614a1b2a286e', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), index.h("div", { key: '48744b89d954927eb079ad9533cd52bc6149dbe8', class: "s-maintenance-alert-content" }, index.h("div", { key: 'a0df971610bbb0b6dba99955c40a89760f8b6f35', class: "s-maintenance-alert-container" }, index.h("div", { key: 'b15d5b9ba9d6e327cbd9706ba03e66459f3d752e', class: "s-maintenance-alert-icon" }, index.h("img", { key: '27a34719b58bc0afd30e55eeb51549f7ee468ac9', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), index.h("div", { key: 'c9373d6db047da4d678005fe2397aa0ad14345e0', class: "s-maintenance-alert-text" }, index.h("h2", { key: '2202bc87b20c2d864fac8d925f7585b19e50a9d2' }, this.title), index.h("p", { key: 'cd2c5e6d2ef3098cf654357dca2031a494d4926a' }, this.message))), index.h("div", { key: '60983d470feb85bc72e40a37cb769bcf3121f2c9' }, index.h("a", { key: 'ac397f2c66c4e1e677200fb711d1c4b858d91f6c', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
5288
+ return (index.h(index.Host, { key: 'ec1f4c39f02624943122e444dce1a19bbea34a07', class: "s-maintenance-alert-wrapper" }, index.h("button", { key: 'db2892331f6addedc5b916e9c4c666023d6765b0', class: "s-maintenance-alert-close", innerHTML: Cancel, onClick: () => this.closeAlert() }), index.h("div", { key: '2cc604e98eccd343eb0fbe07d6a030aeca28d142', class: "s-maintenance-alert-content" }, index.h("div", { key: '563c647d3e73b40f8db1c51dc6b74f4333c8964e', class: "s-maintenance-alert-container" }, index.h("div", { key: '662cb7f23d6fba70fa6f2025188e73fd7fad965d', class: "s-maintenance-alert-icon" }, index.h("img", { key: 'd5ce8780910ebefa6e16a720170d799974813816', src: salla.url.cdn('images/alert.png'), alt: "Alert" })), index.h("div", { key: '35f7d4d0a3af396e0ec2bd2f7362f4f1aa620523', class: "s-maintenance-alert-text" }, index.h("h2", { key: '14edaba08f2a7f48c673c5d9e714b7e6507543a2' }, this.title), index.h("p", { key: '5fd4831d78deebfc7c7b999c9a71225ab038ec14' }, this.message))), index.h("div", { key: 'f76912d23fe45cd1bd83a89faf646b3038402476' }, index.h("a", { key: '39f2609417b1ff80ea6376a0346fa1a227828c99', class: "s-maintenance-alert-btn", href: salla.config.get('maintenance_details.button_url') }, this.buttonTitle)))));
5260
5289
  }
5261
5290
  componentDidLoad() {
5262
5291
  //auto-hide the alert if close button is clicked before one hour
@@ -5970,11 +5999,11 @@ const SallaMap = class {
5970
5999
  }
5971
6000
  // render
5972
6001
  render() {
5973
- return (index.h(index.Host, { key: 'afb065dd5c9db0994f1cfaf1562db28425ffd65a', class: "s-map-wrapper" }, index.h("salla-modal", { key: 'adbf3aec5fe3a53c08a4310dfa5fc3593f88b242', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
6002
+ return (index.h(index.Host, { key: '4493051dec9a6e1dfd97037f913832badb001588', class: "s-map-wrapper" }, index.h("salla-modal", { key: '5e492140d308e80f3a0572906e26a2750affd7ea', class: "s-map-modal-wrapper", noPadding: true, ref: modal => {
5974
6003
  this.locationModal = modal;
5975
- } }, this.getLocationModal()), index.h("slot", { key: '8469c362605c896c27e6c9453c80e1455e681588', name: "button" }, index.h("salla-button", { key: 'baac0f4417a36ce4f6c8f02a6667752f5d93ebd1', onClick: () => {
6004
+ } }, this.getLocationModal()), index.h("slot", { key: 'c631ddacaa4d957d35f224137769669645841ef4', name: "button" }, index.h("salla-button", { key: '2e6f39c033be6327460362a80b9b6be8a99cce75', onClick: () => {
5976
6005
  this.open();
5977
- }, color: "primary", class: "s-map-location-button" }, index.h("span", { key: 'bea891a7ac14bcb50704133e9c1eb8b3c34a8377', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (index.h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), index.h("input", { key: 'dbc5226461f9ad7a9501bec12e8bad794dec00e6', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
6006
+ }, color: "primary", class: "s-map-location-button" }, index.h("span", { key: '88371c09fa3aece12575e6759470279267d828be', class: "s-map-location-icon", innerHTML: this.formattedAddress ? Edit : Location }), this.formattedAddress ? (index.h("div", null, this.locateButtonEdit, " | ", this.formatAddress(this.formattedAddress))) : (this.locateButtonTitle))), index.h("input", { key: 'bae03eb7d7f756f3b92b5eee56c7dc0f366aee74', class: "s-hidden", name: this.name, required: this.required, value: this.getLatLng(), ref: color => this.mapInput = color })));
5978
6007
  }
5979
6008
  get host() { return index.getElement(this); }
5980
6009
  };
@@ -6332,7 +6361,7 @@ const SallaMultipleBundleProduct = class {
6332
6361
  this.parseProducts(this.bundleSections);
6333
6362
  }
6334
6363
  render() {
6335
- return (index.h(index.Host, { key: '6f9e20c6db0c7d79f84ba197f015f43c1b0a79fc', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
6364
+ return (index.h(index.Host, { key: 'e9b525af3c011566cd15247b5f1eaf274036cd98', class: "s-multiple-bundle-product-wrapper" }, this.isCartPage() ? this.renderCartPage() : this.renderDetailsPage()));
6336
6365
  }
6337
6366
  static get watchers() { return {
6338
6367
  "bundleSections": ["parseProducts"]
@@ -6370,7 +6399,7 @@ const SallaMultipleBundleProductCart = class {
6370
6399
  return (index.h("div", { slot: "html", class: "s-multiple-bundle-product-cart-header-wrapper" }, index.h("div", { class: `s-multiple-bundle-product-cart-header ${hasOptions ? '' : 's-multiple-bundle-product-cart-header-no-options'}` }, index.h("div", { class: "s-multiple-bundle-product-cart-header-content" }, index.h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-image-wrapper" }, index.h("img", { src: product?.image?.url, alt: product?.image?.alt || product?.name, class: "s-multiple-bundle-product-cart-header-image" })), index.h("div", { class: "s-multiple-bundle-product-cart-header-content-details" }, index.h("h2", { class: "s-multiple-bundle-product-cart-header-content-details-title" }, index.h("a", { href: product?.url, class: "s-multiple-bundle-product-cart-header-content-details-title-link" }, product?.name)), index.h("div", { class: "s-multiple-bundle-product-cart-header-content-details-price" }, index.h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-regular" }, index.h("span", { innerHTML: product?.price ? salla.money(product?.price) : '' })), product?.sale_price > 0 && (index.h("span", { class: "s-multiple-bundle-product-cart-header-content-details-price-sale" }, index.h("span", { innerHTML: salla.money(product?.sale_price) })))), product?.quantity_in_group > 0 && product?.quantity !== 0 && (index.h("p", { class: "s-multiple-bundle-product-cart-header-content-details-quantity" }, index.h("span", null, salla.lang.get('pages.products.number_of_pieces')), index.h("span", null, product?.quantity_in_group))))), !hasOptions && (index.h("div", { class: "s-multiple-bundle-product-cart-header-remove-button" }, this.renderRemoveButton(sectionId, product, false))))));
6371
6400
  }
6372
6401
  render() {
6373
- return (index.h(index.Host, { key: 'b9542b8e0cc7705e6bbd9dc17db8284c11d27846', class: "s-multiple-bundle-product-wrapper" }, index.h("div", { key: '44bfe630604e8d45aa1218eebcdf026b47f9fd99', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
6402
+ return (index.h(index.Host, { key: '38c6c9885f273f77ddffa9141f2274941f8a2e50', class: "s-multiple-bundle-product-wrapper" }, index.h("div", { key: '8e26eb6d1c58d2d86ba7671b0cd0b7fbeccfa90f', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, sectionIndex) => {
6374
6403
  return section.products.map(product => {
6375
6404
  const bundleContext = {
6376
6405
  sectionId: section.id,
@@ -6527,10 +6556,10 @@ const SallaMultipleBundleProductDetails = class {
6527
6556
  }
6528
6557
  }
6529
6558
  render() {
6530
- return (index.h(index.Host, { key: '0a24e2c3ee4bdff3891334a49318a7cfeb668d54', class: "s-multiple-bundle-product-wrapper" }, index.h("div", { key: '713f1b101aed42cabacd17d662aad49520b89f4b', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index$1) => {
6559
+ return (index.h(index.Host, { key: '01b95de8e1add5136b0fbaa0ceff430acff73f63', class: "s-multiple-bundle-product-wrapper" }, index.h("div", { key: '7736f0ab829921931872dc817815344fff90efe6', class: "s-multiple-bundle-product-wrapper-sections" }, this.sections.map((section, index$1) => {
6531
6560
  const selectedCount = this.selectedProducts[section.id]?.size || 0;
6532
6561
  return (index.h("salla-accordion", { key: section.id, collapsed: index$1 === 1 ? true : false }, index.h("salla-accordion-head", null, this.renderAccordionHeader(section, selectedCount)), index.h("salla-accordion-body", null, index.h("salla-multiple-bundle-product-slider", { section: section, sectionIndex: index$1, selectedProducts: this.selectedProducts, onProductSelected: this.handleBundleSliderProductSelected, onProductOptionsSelected: this.handleBundleSliderProductOptionsSelected }))));
6533
- })), index.h("salla-multiple-bundle-product-options-modal", { key: '2d889aa72a36040f87cd791363f71600d86458e7' })));
6562
+ })), index.h("salla-multiple-bundle-product-options-modal", { key: '1cf3eb8fdce83b3ebbdfa13f422490b20e370e8e' })));
6534
6563
  }
6535
6564
  get host() { return index.getElement(this); }
6536
6565
  };
@@ -6981,7 +7010,7 @@ const SallaMultipleBundleProductOptionsModal = class {
6981
7010
  render() {
6982
7011
  const productId = this.product?.id;
6983
7012
  const optionsWithSelectedState = this.getOptionsWithSelectedState();
6984
- return (index.h(index.Host, { key: '52efc988e52036a0be8c5dfe7d9375aed2072b55' }, index.h("salla-modal", { key: 'e07dd856effc65a718528c6836884cd82520e94e', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, index.h("div", { key: '5365b7d796d48759a8cd0e7bb7e6cd755382afc8', slot: "loading" }, index.h("salla-skeleton", { key: 'deb66b5f95587584ade5581da3c891a95d3750af', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (index.h("salla-slider", { key: 'e79b63e49ba9c29ef9d625ca99ffd17bbf282f79', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
7013
+ return (index.h(index.Host, { key: 'f48867c1730d142b1e55ddb4442c7e7d789a35bb' }, index.h("salla-modal", { key: '62196cd41c3979ca5e71327d9aad450a819a45ec', isLoading: this.isLoading, ref: el => (this.modal = el), width: "md", centered: false, id: `s-multiple-bundle-product-options-modal-options-${productId}`, class: "s-multiple-bundle-product-options-modal-wrapper" }, index.h("div", { key: 'feee0e09d5f1dbb19f02b8c109f43e7dc5d1dad8', slot: "loading" }, index.h("salla-skeleton", { key: '149debcb4852d4096613721a202f4079439abf0a', height: "100%", width: "100%" })), this.product?.images && this.product?.images.length > 0 && (index.h("salla-slider", { key: '591045fe1d3c9e30bb53a927d3e4d62b54623503', id: `details-slider-${this.product?.id}`, type: "thumbs", loop: false, "auto-height": true, "listen-to-thumbnails-option": true, showThumbsControls: false, controlsOuter: false, showControls: false, class: "s-multiple-bundle-product-options-modal-slider", verticalThumbs: true, thumbsConfig: {
6985
7014
  centeredSlides: true,
6986
7015
  centeredSlidesBounds: true,
6987
7016
  slidesPerView: Math.min(5, Math.max(1, this.product?.images.length)),
@@ -6990,13 +7019,13 @@ const SallaMultipleBundleProductOptionsModal = class {
6990
7019
  watchSlidesProgress: true,
6991
7020
  direction: 'vertical',
6992
7021
  spaceBetween: 10,
6993
- } }, index.h("div", { key: '3c3f3d2a1de4869a0d2d15583630d04a400097d7', slot: "items" }, this.product?.images &&
7022
+ } }, index.h("div", { key: '1c4163f6d60a89b12d681e3df2db87a523ab092b', slot: "items" }, this.product?.images &&
6994
7023
  this.product?.images.map((image, index$1) => (index.h("div", { key: index$1, class: "swiper-slide" }, index.h("img", { src: image.url, alt: image.alt || `${this.product?.name} - Image ${index$1 + 1}`, loading: "lazy", onError: e => {
6995
7024
  e.target.style.display = 'none';
6996
- } }))))), this.product?.images && this.product?.images.length > 1 && (index.h("div", { key: '5d0f67677595c442d76f0fb3a42dacb1996e58db', slot: "thumbs" }, this.product?.images &&
7025
+ } }))))), this.product?.images && this.product?.images.length > 1 && (index.h("div", { key: '911fe5aad35ab3e733871bb185e7a89bb74b6da3', slot: "thumbs" }, this.product?.images &&
6997
7026
  this.product?.images.map((image, index$1) => (index.h("div", { key: index$1, "data-caption": `${this.product?.name} - Image ${index$1 + 1}` }, index.h("img", { src: image.url, loading: "eager", class: "s-multiple-bundle-product-options-modal-slider-thumb", title: `${this.product?.name} - ${index$1 + 1}`, alt: image.alt || `${this.product?.name} - ${index$1 + 1}`, onError: e => {
6998
7027
  e.target.style.display = 'none';
6999
- } })))))))), index.h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${this.sectionId}-${this.sectionIndex}-${productId}-persistent`, "product-id": productId }), index.h("div", { key: '1f166bdaf78a78b99aeecc141e6f99b9fa1e50b1', slot: "footer" }, index.h("div", { key: 'e4ea869eaf9690ee3aba7319f976a82f8187767e', class: "s-multiple-bundle-product-options-modal-footer" }, index.h("salla-button", { key: '17e4f97284528019b25bd640ff3843dbbefb5dae', onClick: e => this.onSave(e), loading: this.isLoading, disabled: this.isLoading }, this.isLoading
7028
+ } })))))))), index.h("salla-product-options", { options: JSON.stringify(optionsWithSelectedState), key: `${this.sectionId}-${this.sectionIndex}-${productId}-persistent`, "product-id": productId }), index.h("div", { key: 'd107ebd058a3f349a5f2f05f4e2b685942d485d6', slot: "footer" }, index.h("div", { key: '01c7d37a91bb95eb830fcc3290a7cfde9ef7324b', class: "s-multiple-bundle-product-options-modal-footer" }, index.h("salla-button", { key: '402b9d19c176ebaec8bd7396b9bafe74b81fa456', onClick: e => this.onSave(e), loading: this.isLoading, disabled: this.isLoading }, this.isLoading
7000
7029
  ? salla.lang.get('common.elements.saving')
7001
7030
  : salla.lang.get('common.elements.save')))))));
7002
7031
  }
@@ -7044,9 +7073,9 @@ const SallaMultipleBundleProductSlider = class {
7044
7073
  return `bundle[${sectionId}][${productIndex}][id]`;
7045
7074
  }
7046
7075
  render() {
7047
- return (index.h(index.Host, { key: '8c1d316ceeb7a0833d689695f00569a0da1d642e' }, index.h("salla-slider", { key: 'ca86cee09dc4f8c48edf14bfb4a26b86982fd84d', type: "carousel", controlsOuter: false, showControls: false, id: "accordion-multiple-bundle-product", pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: {
7076
+ return (index.h(index.Host, { key: 'ec6fb04196690c5299da565d852ec77bbee6b1e3' }, index.h("salla-slider", { key: 'a7e79c2f27a53135e55e2708b5aa60d05f9ad21b', type: "carousel", controlsOuter: false, showControls: false, id: "accordion-multiple-bundle-product", pagination: true, class: "s-multiple-bundle-product-wrapper-slider", sliderConfig: {
7048
7077
  spaceBetween: 0,
7049
- } }, index.h("div", { key: 'b59ac0393f6e826658dcca7eef8c2c21019664d4', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
7078
+ } }, index.h("div", { key: 'c07aa5a0ee4fe106764b47dfa6d9f6509fb659cf', slot: "items" }, this?.section?.products?.map((product, productIndex) => {
7050
7079
  const isChecked = this.selectedProducts[this.section.id]?.has(product.id) || false;
7051
7080
  return (index.h("div", { class: `swiper-slide s-multiple-bundle-product-slide-one-third ${product.quantity == 0
7052
7081
  ? 's-multiple-bundle-product-slide-one-third-disabled'
@@ -7243,7 +7272,7 @@ const SallaOfferModal = class {
7243
7272
  // '</div>';
7244
7273
  // }
7245
7274
  render() {
7246
- return index.h("salla-modal", { key: '4fb68893e77f22143be6042b3d36727c41b0d519', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: '4e1cdc78386fa8fbea214e6a62ba340661878da5', slot: 'loading' }, index.h("div", { key: '02f6b9416aee06f02cd7d6e0a8c306ec723f8abd', class: "s-offer-modal-skeleton" }, index.h("div", { key: 'c02a7642cc86a71173deb91762754b1db28f6b3d', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: 'abd69d4e511a48c45941259576928a8cf3a57447', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: 'aa967d8d284f7be4679d1f31dcf502a845920da9', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'eeef2a1bf033785b1d53166de1df0b627e9af5cc', height: '10px', width: '30%' })), index.h("div", { key: '54a362df2f3caced4b1e981b5e3b503bf1b4c5b6', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: Cart2 }))))), index.h("div", { key: '63eee8ce9f67519694f66ded772f3a6e88ba1985', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: '15ac931ba315933d6cf36880b68d1cd14d91c6d6', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: '87232e1af65f13cd668d7ad1ee6aff80acbbbc33', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
7275
+ return index.h("salla-modal", { key: 'b02cd6b8c4a1c04751c2de3a306141e3968763a0', "has-skeleton": true, "sub-title": this.offer_message, ref: modal => this.modal = modal, isLoading: true, class: `s-offer-modal-type-${this.offer_type ? this.offer_type : ''}` }, index.h("div", { key: 'c9b9e414107e0c07f67df5b58ffb805d27b97f47', slot: 'loading' }, index.h("div", { key: 'f13f2d328f4e3e640c6f0e25bcd243b63674dede', class: "s-offer-modal-skeleton" }, index.h("div", { key: '161a274876c65985d9fa60cee6d034c8b40e5bc6', class: "s-offer-modal-skeleton-header" }, index.h("salla-skeleton", { key: '2f856e9c905b2cf79e91b48929598e9ac2a87447', type: 'circle', height: '80px', width: '80px' }), index.h("salla-skeleton", { key: 'a736af3fddd6dd8b747e7cc2d644d9b60821fcc1', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'f86ed33bdc4dd86dd2ecdef7eff2a9a9153ee84b', height: '10px', width: '30%' })), index.h("div", { key: '3a901c4c34503323d3401a63fb2ea321eb272240', class: "s-offer-modal-skeleton-items" }, [...Array(3)].map(() => index.h("div", { class: "s-offer-modal-skeleton-item" }, index.h("salla-skeleton", { height: '9rem' }), index.h("div", { class: "s-offer-modal-skeleton-item-title" }, index.h("salla-skeleton", { height: '15px', width: '100%' })), index.h("div", { class: "s-offer-modal-skeleton-item-subtitle" }, index.h("salla-skeleton", { height: '9px', width: '50%' }), index.h("div", { innerHTML: Cart2 }))))), index.h("div", { key: 'db979f351fbddf7508064633f90b44e6df84b86c', class: "s-offer-modal-skeleton-footer" }, index.h("salla-skeleton", { key: 'c88fa86157d68be127fe67546bdb498cdf07fe6c', height: '15px', width: '50%' }), index.h("salla-skeleton", { key: 'c30f40898e2c28e7de57fbb205be287740fe1aa2', height: '15px', width: '30%' })))), !this.hasError && this.offer !== null
7247
7276
  ? [index.h("span", { slot: 'icon', class: "s-offer-modal-header-icon", innerHTML: specialDiscount.SpecialDiscountIcon }), this.getOfferContent(), index.h("div", { class: "s-offer-modal-footer", slot: "footer" }, this.offer.formatted_date ?
7248
7277
  index.h("p", { class: "s-offer-modal-expiry" }, salla.lang.get('pages.products.offer_expires_in'), " ", this.offer.formatted_date)
7249
7278
  : '', index.h("label", { class: "s-offer-modal-remember-label" }, index.h("input", { type: "checkbox", onChange: e => this.rememberMe(e), class: "s-offer-modal-remember-input" }), "\u00A0 ", salla.lang.get('common.elements.remember_my_choice'))),
@@ -7292,7 +7321,7 @@ const SallaPlaceholder = class {
7292
7321
  };
7293
7322
  }
7294
7323
  render() {
7295
- return (index.h(index.Host, { key: '9bf5c9b70ee7dddc65bdb550f98681aa6eb4a2b1', class: this.alignmentClass() }, index.h("div", { key: '05bf79dd66fb30d76ffe05ea50b66d1bab976bb0', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '1373cfaad7e993e6cc888047346348083ee8bf7e', class: "s-placeholder-title" }, index.h("slot", { key: '5a6d70c7fee74334cf46143511bf2465e32025be', name: 'title' }, index.h("span", { key: '5b531362a3dea0a8a59960a28925c03bdfc64f82' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: 'd9d0c28b47f7c2972817630a9011e17116fa66c8', class: "s-placeholder-description" }, index.h("slot", { key: '0b67052476e584464107d56b4c8f263cfebaac87', name: 'description' }, index.h("span", { key: '61b16c16799ce96a53eca32936c8d49b2e81ff03' }, salla.lang.get('common.errors.empty_results'))))));
7324
+ return (index.h(index.Host, { key: '547b7d65011d9c7bd6e6869f5696a25f43ecf097', class: this.alignmentClass() }, index.h("div", { key: '1de300f1452db30b4f01d9faaff0e65082405816', class: `s-placeholder-icon s-placeholder-icon-${this.iconSize}`, innerHTML: this.icon }), index.h("div", { key: '051acd85460d00197e8a262fb5ce1392568fed44', class: "s-placeholder-title" }, index.h("slot", { key: '6ce6ce968005423d9da909a10a394baf2f216d5d', name: 'title' }, index.h("span", { key: 'f5a25392b23919df87830a30cbee430a3c9bf4c8' }, salla.lang.get('common.elements.no_options')))), index.h("div", { key: '29cb81f664c1d55d8d5e6d625b0252113ca438b8', class: "s-placeholder-description" }, index.h("slot", { key: 'bf16d9d8ddfc1c3674ce8068f1bb8016b819d0ba', name: 'description' }, index.h("span", { key: '07ec33e7aaf36b729adbc9f3f401e287fe18035c' }, salla.lang.get('common.errors.empty_results'))))));
7296
7325
  }
7297
7326
  };
7298
7327
  SallaPlaceholder.style = sallaPlaceholderCss;
@@ -7434,7 +7463,7 @@ const SallaProductAvailability = class {
7434
7463
  field.nextElementSibling['innerText'] = '* ' + errorMsg;
7435
7464
  }
7436
7465
  render() {
7437
- return (index.h(index.Host, { key: '631de4fa7186561daed53943f2ece491a8dbe934', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
7466
+ return (index.h(index.Host, { key: '94979dc80347804a72904cb54f917070e0476489', class: "s-product-availability-wrap" }, this.isSubscribed || this.isVisitorSubscribed
7438
7467
  ? index.h("div", { class: "s-product-availability-subscribed" }, index.h("span", { innerHTML: BellRing, class: "s-product-availability-subs-icon" }), salla.lang.get('pages.products.notify_availability_success'))
7439
7468
  :
7440
7469
  index.h("salla-button", { width: "wide", onClick: () => this.isUser ? this.submit() : this.openModel() }, salla.lang.get('pages.products.notify_availability')), this.isUser || this.isSubscribed || this.isVisitorSubscribed ? '' : this.renderModal()));
@@ -7550,14 +7579,14 @@ const SallaProductCard = class {
7550
7579
  's-product-card-out-of-stock': this.productData?.is_out_of_stock,
7551
7580
  };
7552
7581
  const hrefProp = this.productData?.url ? { href: this.productData.url, title: `Learn more about ${this.productData?.name}` } : {};
7553
- return (index.h(index.Host, { key: 'e46cba8a24104176d7a95c02ead575a6fa360783', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: '6370f6a5ca0a63ab4f4d97492ef1f8911ef82bda', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '37f2f82fa1c500e9cdb4a0aabe570429b9b9daaa', ...hrefProp }, index.h("img", { key: '4ce43329b5a44b4d5ef174469c510ef28d547440', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
7582
+ return (index.h(index.Host, { key: '55d26993163d8a0f02afb90bcd2e4775c0917377', id: `product-${this.productData?.id}`, class: classes }, index.h("div", { key: 'e43d1bc58fa8108fd9472ca4887fab659a3eeccc', class: !this.fullImage ? 's-product-card-image' : 's-product-card-image-full' }, index.h("a", { key: '73d9499d8d61f834aa95278f061c9c891c1d590a', ...hrefProp }, index.h("img", { key: 'be4520c090a16a81078615d6a62affd507da6dd0', class: `s-product-card-image-${salla.url.is_placeholder(this.productData?.image?.url)
7554
7583
  ? 'contain'
7555
7584
  : this.fitImageHeight
7556
7585
  ? this.fitImageHeight
7557
- : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '87a4e4caafb0edba3c634ff5760ae0556a510d3c', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
7558
- index.h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '7cb392ea3fe61d41d5ba5a36650725545ddd3cf8', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
7586
+ : 'cover'} lazy`, src: this.placeholder, alt: this.productData?.image?.alt || this.productData?.name, "data-src": this.productData?.image?.url || this.productData?.thumbnail }), !this.fullImage && !this.minimal ? this.getProductBadge() : ''), this.fullImage && index.h("a", { key: '577b58ab0434c3b473ce2de3f28dc3e8b1c03f99', ...hrefProp, class: "s-product-card-overlay" }), !this.horizontal && !this.fullImage ?
7587
+ index.h("salla-button", { shape: "icon", fill: "none", color: "light", "aria-label": "Add or remove to wishlist", ref: el => this.wishlistBtn = el, class: "s-product-card-wishlist-btn animated", onClick: () => salla.wishlist.toggle(this.productData.id) }, index.h("span", { innerHTML: Heart })) : ''), index.h("div", { key: '1593d8c5336cc43e2aa1ba8d5ca7931b67fd9d46', class: "s-product-card-content" }, this.isSpecial && this.productData?.quantity ?
7559
7588
  index.h("div", { class: "s-product-card-content-pie", ref: pie => this.pie = pie }, index.h("span", null, index.h("b", null, salla.helpers.number(this.productData?.quantity)), this.remained), index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "-2 -1 36 34", class: "s-product-card-content-pie-svg" }, index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-base" }), index.h("circle", { cx: "16", cy: "16", r: "15.9155", class: "s-product-card-content-pie-svg-bar" })))
7560
- : '', index.h("div", { key: '28322ef080ae243b55ed4c982f59226159b81d6b', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'dc378461ca91f1af0c29b35271e8f6b76321f133', class: "s-product-card-content-title" }, index.h("a", { key: '1bf4c4cf4d04ebb4990053d9721581b276083f30', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
7589
+ : '', index.h("div", { key: 'a0605f788b05342c259e3f2ad87c8cf48f6d88ee', class: { 's-product-card-content-main': true, 's-product-card-content-extra-padding': this.isSpecial } }, index.h("h3", { key: 'fce73d249c7a0a82bd395d291716c5b96e6b4a5a', class: "s-product-card-content-title" }, index.h("a", { key: '8610e37c9d8cb8cbb74578ae1fa9da3d59852d48', ...hrefProp }, this.productData?.name)), this.productData?.subtitle && !this.minimal ?
7561
7590
  index.h("p", { class: "s-product-card-content-subtitle" }, this.productData?.subtitle)
7562
7591
  : ''), this.productData?.donation && !this.minimal && !this.fullImage ?
7563
7592
  [index.h("salla-progress-bar", { donation: this.productData?.donation }), index.h("div", { class: "s-product-card-donation-input" }, this.productData?.donation?.can_donate ?
@@ -7566,7 +7595,7 @@ const SallaProductCard = class {
7566
7595
  this.addBtn.donatingAmount = e.target.value;
7567
7596
  }, id: "donation-amount", name: "donating_amount", class: "s-form-control", placeholder: this.donationAmount })]
7568
7597
  : '')]
7569
- : '', index.h("div", { key: '86474ac2519b7589053b39dc36ae316ad64c8e29', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
7598
+ : '', index.h("div", { key: '1d1f7f7eaa467b059f6776d1e6f15d981edd0106', class: { 's-product-card-content-sub': true, 's-product-card-content-extra-padding': this.isSpecial } }, this.getProductPrice(), this.productData?.rating?.stars && !this.minimal ?
7570
7599
  index.h("div", { class: "s-product-card-rating" }, index.h("span", { innerHTML: Rate }), index.h("span", null, this.productData.rating.stars))
7571
7600
  : ''), this.isSpecial && this.productData.discount_ends
7572
7601
  ? index.h("salla-count-down", { date: this.formatDate(this.productData.discount_ends), "end-of-day": true, boxed: true, labeled: true })
@@ -8414,11 +8443,11 @@ const SallaProductSizeGuide = class {
8414
8443
  return index.h("salla-placeholder", { alignment: "center", iconSize: "xl" }, index.h("div", { slot: "title" }, this.placeholder_title), index.h("div", { slot: "description" }, this.placeholder_description));
8415
8444
  }
8416
8445
  render() {
8417
- return (index.h("salla-modal", { key: 'f80606d8b6e1e950c87209ca4e195c92f70dc341', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: '245688c24b70279566b0f7c51c7bf924ca5196c0', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '9dc9b4aa8dea0599dbc78f5821e36bc4c600c6aa', slot: "loading" }, index.h("div", { key: 'fca84d9c2c5fa20ac446270c1c68c4ccda16dd77', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: '0f036371c9b42314beb4e2c1f308a99e2b068ab8', height: '15px', width: '25%' }), index.h("div", { key: 'a9059b864fddf26b6e15869cab013e793966907e', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: '34e188b1ff7e0b5e24df84d1b14df2b2255fc9eb', height: '40px' }), index.h("salla-skeleton", { key: '38653491fd73cf4d66cb87658b8121f88130e52e', height: '40px' }), index.h("salla-skeleton", { key: 'a8c3b3cc039fbbb8796c611f4485d889c94e632a', height: '40px' }), index.h("salla-skeleton", { key: '2de2d63a1a56a58f7f1bef92c46843683528ee1a', height: '40px' })), index.h("div", { key: 'cf0b08cb85830fcec4dd82140c89b6d009e1bc74', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: '402ed4292bb79e839316440ed985b1caed102602', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: '88f0019d79ea72ef7748a5c04b7a8364c1160b92', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '10d7879c306d7185092c9e9aa0d407d2bb57519e', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '7b2d00c4c8000083b79d93466ed07828d61b6fbd', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '5d33b9848d9bccf34bb5f4a93ad99889fe1ee69f', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: '6e49c074a8611a819814d17829466b983a419196', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: '0fb70ed844efeda0d3c2ba348e14d1469a7b279b', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: '5e55cb90aba76662377efccfef4a84fe0f64c341', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: '058b96e3db12454ddfced543d6ecbdf0c38ac3dd', height: '10px', width: '30%' })))), index.h("slot", { key: 'e9eef25bce60cbb1dd48b3d8bc1ebda2305acda0', name: "header" }), !this.hasError && !!this.guides ?
8446
+ return (index.h("salla-modal", { key: 'e1a4f46c6b2a3b9d06b2cd439a29dae3d3df1e2b', class: "s-product-size-guide-wrapper", id: 'salla-product-size-guide-modal', isLoading: true, "has-skeleton": true, width: "md", ref: modal => this.modal = modal }, index.h("span", { key: '921988dcf15f88a4382244a710117a30466e51ec', slot: 'icon', class: "s-product-size-guide-header-icon", innerHTML: PencilRuler }), index.h("div", { key: '7a74a5995882d1d597e3e3ca6594248e03225be9', slot: "loading" }, index.h("div", { key: 'c08eaeb646f503f14b1a6bc9e0132970b09c154c', class: "s-product-size-guide-skeleton" }, index.h("salla-skeleton", { key: 'b0319b0ac90388145e1db879571680eea3742722', height: '15px', width: '25%' }), index.h("div", { key: '4cb3620675a3f6ef49a33e35113fbac468578034', class: "s-product-size-guide-skeleton-header" }, index.h("salla-skeleton", { key: '7413b92d0b53d179876bf9938f546819d190b01f', height: '40px' }), index.h("salla-skeleton", { key: 'd4f211c5548045bb4faea5e1e832c784cc85d2d0', height: '40px' }), index.h("salla-skeleton", { key: '23cb9409fb9f4863e233fdbe86a7ddd89761e7ed', height: '40px' }), index.h("salla-skeleton", { key: '93f027dbf97b43bcffae29ebfdf5c15c7fa012bf', height: '40px' })), index.h("div", { key: '494ca32976d92c800c5be8e44f26cb972f8cf1e0', class: "s-product-size-guide-skeleton-content" }, index.h("salla-skeleton", { key: '9889791d8bba3e58c6315e5d76b6536ef14ac29d', height: '15px', width: '25%' }), index.h("salla-skeleton", { key: 'e607037bbcab29681ffe47424b9566fcf32e7a58', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: '9eedac50c162985e5c49b6e5b56c4ad86e86c5a6', height: '10px', width: '50%' }), index.h("salla-skeleton", { key: '9b189d240da2d519a4b0586bb827fd79d9021e3e', height: '10px', width: '75%' }), index.h("salla-skeleton", { key: 'b9341d1249c837d8b8a71b1c9c8793521c49808d', height: '10px', width: '100%' }), index.h("salla-skeleton", { key: 'c57270b467abbdae57a1a1389b4df6853b2de586', height: '10px', width: '25%' }), index.h("salla-skeleton", { key: 'e0d9e3646ffbd28ccf5c93fa99bb294b93f597e7', height: '10px', width: '60%' }), index.h("salla-skeleton", { key: '20bed29a322cfe01caf9b2c1c49c0d6b2be7afc5', height: '10px', width: '45%' }), index.h("salla-skeleton", { key: '132d3aee12bad2b3b84b769742c758854498a5b1', height: '10px', width: '30%' })))), index.h("slot", { key: '008b024c1d8daea0b17f184eda43eaab3d72069a', name: "header" }), !this.hasError && !!this.guides ?
8418
8447
  [
8419
8448
  index.h("salla-tabs", null, this.guides.map((guide) => index.h("salla-tab-header", { slot: "header", name: guide.name }, index.h("span", null, guide.name))), this.guides.map((guide) => index.h("salla-tab-content", { slot: "content", name: guide.name }, index.h("div", { innerHTML: guide.description }))))
8420
8449
  ]
8421
- : this.showPlaceholder(), index.h("slot", { key: '6b8bebc72d4a7baea765b1e5a6d4a81862206f94', name: "footer" })));
8450
+ : this.showPlaceholder(), index.h("slot", { key: '6aedc0d9ac633fe98c6475d2375d59ef761cc64e', name: "footer" })));
8422
8451
  }
8423
8452
  get host() { return index.getElement(this); }
8424
8453
  };
@@ -9411,7 +9440,7 @@ const SallaQuantityInput = class {
9411
9440
  return this.host;
9412
9441
  }
9413
9442
  render() {
9414
- return (index.h(index.Host, { key: '5627ef48310739dc0a112c9c214f78bae9b71bca', class: "s-quantity-input" }, index.h("div", { key: '50040d9cd5bbf38d06d6a13f17a1b4d756f5285d', class: "s-quantity-input-container" }, index.h("button", { key: '334c465e2ac46c3b88e3f89ae3b0754dc3741f69', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button" }, !this.hasIncrementSlot ? index.h("span", { innerHTML: Add }) : '', index.h("slot", { key: '9f41e975e7c47f4cbc3e97dd3f8591b633d9da29', name: "increment-button" })), index.h("input", { key: '6f5bfdeb1804cf98a13f12b966e5fa6582e39557', class: "s-quantity-input-input", ...this.getInputAttributes(), ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), min: "1", value: this.quantity }), index.h("button", { key: '583f5edb96bc5a368851eadb5940d79b7afed3be', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button" }, !this.hasDecrementSlot ? index.h("span", { innerHTML: Minus }) : '', index.h("slot", { key: '8726d4d616dd6f4fd1348312d3a9c24bf9268146', name: "decrement-button" })))));
9443
+ return (index.h(index.Host, { key: '38d9902bc9bec3bca5f00d171bd39e86270e8c48', class: "s-quantity-input" }, index.h("div", { key: '20cb75636c55b09705a7a95857bc98d37b56e94c', class: "s-quantity-input-container" }, index.h("button", { key: '59077c6462c02124fde23a180766fa130d9ceb92', onClick: () => this.increase(), class: "s-quantity-input-increase-button s-quantity-input-button", type: "button" }, !this.hasIncrementSlot ? index.h("span", { innerHTML: Add }) : '', index.h("slot", { key: '741be510b7b82a323be7a75d077bdb2e06dc4995', name: "increment-button" })), index.h("input", { key: '7d482864cf0e66d0d74c335f2b7e72302adaea47', class: "s-quantity-input-input", ...this.getInputAttributes(), ref: (el) => this.textInput = el, onInput: (event) => this.setValue(event.target.value), min: "1", value: this.quantity }), index.h("button", { key: '9a1458df4fecee23827801e9b3e463e86f47d497', class: "s-quantity-input-decrease-button s-quantity-input-button", onClick: () => this.decrease(), type: "button" }, !this.hasDecrementSlot ? index.h("span", { innerHTML: Minus }) : '', index.h("slot", { key: '3b5fabbb5a3792608921ee14b45bc48f4068d21c', name: "decrement-button" })))));
9415
9444
  }
9416
9445
  get host() { return index.getElement(this); }
9417
9446
  static get watchers() { return {
@@ -10311,7 +10340,7 @@ const SallaQuickBuy = class {
10311
10340
  });
10312
10341
  }
10313
10342
  render() {
10314
- return index.h(index.Host, { key: '46c3a8b699f4390166d027a0eb2d34451a1dd6f1' }, this.quickBuyButton());
10343
+ return index.h(index.Host, { key: 'e6440de17b7c8185dbd0636d0c009a04014ae215' }, this.quickBuyButton());
10315
10344
  }
10316
10345
  quickBuyButton() {
10317
10346
  return index.h("apple-pay-button", { locale: salla.config.get('user.language_code'), onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -11359,7 +11388,7 @@ const SallaScopees = class {
11359
11388
  return salla.onReady();
11360
11389
  }
11361
11390
  render() {
11362
- return (index.h(index.Host, { key: '42ac0a93262d5a6bdd602b97fa636b70c2269635' }, index.h("salla-modal", { key: '632eca8b8faa74fd990bc5c024befa11d461568f', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
11391
+ return (index.h(index.Host, { key: 'eb070775cb835b58f2ca5d38d1b47c0e4c1efa8b' }, index.h("salla-modal", { key: 'a9ef86c5a4bc3db4353047163ce1cb794ca84345', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
11363
11392
  index.h("div", { slot: "loading" }, index.h("div", { class: "s-scopes-skeleton" }, index.h("salla-list-tile", { class: "s-scopes-header" }, index.h("div", { slot: "icon", class: "s-scopes-header-icon" }, index.h("salla-skeleton", { type: "circle" })), index.h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, index.h("salla-skeleton", { height: '15px', width: '50%' })), index.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, index.h("salla-skeleton", { height: '10px' }), index.h("salla-skeleton", { height: '10px', width: '75%' }))), index.h("div", { class: "s-scopes-skeleton-search" }, index.h("salla-skeleton", { height: '10px', width: '50%' }), index.h("salla-skeleton", { height: '30px', width: '100%' })), index.h("div", { class: "s-scopes-skeleton-scopes" }, index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' }), index.h("salla-skeleton", { height: '10px', width: '30%' }), index.h("salla-skeleton", { height: '10px', width: '25%' })), index.h("div", { class: "s-scopes-skeleton-btn" }, index.h("salla-skeleton", { height: '40px', width: '100%' }))))
11364
11393
  :
11365
11394
  [index.h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, index.h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), index.h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), index.h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), index.h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && index.h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
@@ -11493,12 +11522,12 @@ const SallaSearch = class {
11493
11522
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
11494
11523
  }
11495
11524
  render() {
11496
- const searchContent = index.h("div", { key: 'fe1ad73a7d7cdc9bfacb43e5c8f1b2d2c5983f9e', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, index.h("div", { key: 'df9c5af32950d9fc1ec30f46054630244fd2e2c1', class: "s-search-input-wrapper" }, index.h("span", { key: 'f4c1788bcd50992364e52388e425cc19c0906ec5', class: "s-search-icon-wrap" }, index.h("span", { key: 'a46da8c6f02e4970c903dc73d3d4a4e107a543f4', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), index.h("input", { key: 'af5fff2641e6416f06c51c01e19e007c6ff43e32', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), this.showAction ?
11497
- index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: Search })) : null), index.h("div", { key: 'e742cf41fdf23b37a46324df3bac24abc2c9bf03', class: "s-search-results" }, this.results?.data.map((product) => index.h("a", { href: product.url + '?from=search-bar', class: { "s-search-product": true, 's-search-product-not-available': !product.is_available }, innerHTML: this.productSlot
11525
+ const searchContent = index.h("div", { key: '64b8dccb734fee6d08cec74f87d7fb8486f0da00', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => this.container = container }, index.h("div", { key: 'aef0ccb76aebff05b167dfe05a95ae19daa383ec', class: "s-search-input-wrapper" }, index.h("span", { key: 'ac7cb6699f2c6b09fb9da9e57cfe8e724c29e358', class: "s-search-icon-wrap" }, index.h("span", { key: '68f7207dafca4f6a337c2629338f84f29ccec3ef', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), index.h("input", { key: 'e182fff8d2f4d98cea7fd0a4c22b5fab5cff7dd2', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => this.searchInput = input, style: { height: this.height + 'px', borderRadius: this.oval ? this.height / 2 + 'px' : '' } }), this.showAction ?
11526
+ index.h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && index.h("span", { innerHTML: Search })) : null), index.h("div", { key: 'a72889d16dc8949b3a42375f4377cda74f8de01a', class: "s-search-results" }, this.results?.data.map((product) => index.h("a", { href: product.url + '?from=search-bar', class: { "s-search-product": true, 's-search-product-not-available': !product.is_available }, innerHTML: this.productSlot
11498
11527
  .replace(/\{name\}/g, product.name)
11499
11528
  .replace(/\{price\}/g, product.price ? salla.money(product.price) : '')
11500
11529
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price ? salla.money(product.regular_price) : '')
11501
- .replace(/\{image\}/g, product.image.url) })), index.h("p", { key: 'bea643f12fa014f6df1dee41a1a8ee8c41022458', ref: el => this.noResults = el, class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options'))));
11530
+ .replace(/\{image\}/g, product.image.url) })), index.h("p", { key: '63ae4b78f510b2a013813a544b240ac0cc7a8c69', ref: el => this.noResults = el, class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options'))));
11502
11531
  return (this.inline ?
11503
11532
  index.h("div", { class: "s-search-modal" }, searchContent)
11504
11533
  :
@@ -11541,7 +11570,7 @@ const SallaSkeleton = class {
11541
11570
  's-skeleton-item': true,
11542
11571
  's-skeleton-item-circular': this.type == 'circle',
11543
11572
  };
11544
- return (index.h(index.Host, { key: 'df1344797b9cbe42331625a2a1f432e07d6bd9ef', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: 'b56611551bb2b2bcb02b46240e30f88e2ea7aea5', class: classes }, "\u00A0")));
11573
+ return (index.h(index.Host, { key: '64e0a58754b26fcca6cbc93d636c1c4d4f895a53', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, index.h("div", { key: '1e19620023d4dfc07d343e47bd2a0126db3f034a', class: classes }, "\u00A0")));
11545
11574
  }
11546
11575
  };
11547
11576
  SallaSkeleton.style = sallaSkeletonCss;
@@ -12064,7 +12093,7 @@ const SallaSlider = class {
12064
12093
  classes += this.verticalThumbs ? ' s-slider-vertical ' : ' s-slider-horizontal ';
12065
12094
  classes += this.arrowsCentered ? ' s-slider-v-centered ' : '';
12066
12095
  classes += this.gridThumbs ? ' s-slider-with-grid-thumbs ' : '';
12067
- return (index.h(index.Host, { key: '85e91dde02b7f32655d0ac10e5abb7f9e49d7157', class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
12096
+ return (index.h(index.Host, { key: 'f252a63bd425f788d31328179372fa365385a85c', class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
12068
12097
  index.h("div", { class: "s-slider-block__title" }, this.blockTitle ?
12069
12098
  index.h("div", { class: "s-slider-block__title-right" }, index.h("h2", null, this.blockTitle), this.blockSubtitle ? index.h("p", { innerHTML: this.blockSubtitle }) : '')
12070
12099
  : '', index.h("div", { class: "s-slider-block__title-left" }, this.displayAllUrl ?
@@ -12072,7 +12101,7 @@ const SallaSlider = class {
12072
12101
  : '', this.showControls ?
12073
12102
  index.h("div", { class: "s-slider-block__title-nav", dir: "rtl" }, index.h("button", { "aria-label": "Previous Slide", class: "s-slider-prev s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowRightIcon : ArrowLeftIcon })), index.h("button", { "aria-label": "Next Slide", class: "s-slider-next s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowLeftIcon : ArrowRightIcon })))
12074
12103
  : ''))
12075
- : '', index.h("div", { key: '8842ac56011138fd8456257bff568919c9ce8867', class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, index.h("slot", { key: '17fb40e69031d4c329df9d00fb75443d0ff9ba0c' }), index.h("div", { key: 'b8f42b180a271b4a873d99024251705e9d76adde', class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, index.h("slot", { key: '82ef4871810000d0b65a24518c6613a6484a2ee9', name: 'items' })), this.pagination ? index.h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? index.h("div", { class: "s-slider-thumbs" }, index.h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, index.h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, index.h("slot", { name: "thumbs" })), this.showThumbsControls ?
12104
+ : '', index.h("div", { key: 'e84fedf7c982d9c15a2b43631123ae42ecf98ab8', class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, index.h("slot", { key: 'b91356832a6d5e19134073400f19046c3372b403' }), index.h("div", { key: '21d21f8ec73eb27016a199272e4193456e2e3823', class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, index.h("slot", { key: 'e18cdeba693a383a75523836c761f33bbc5e115e', name: 'items' })), this.pagination ? index.h("div", { class: "swiper-pagination" }) : ''), this.type == 'thumbs' && this.hasThumbSlot ? index.h("div", { class: "s-slider-thumbs" }, index.h("div", { class: "swiper s-slider-thumbs-container", dir: this.getThumbsDirection(), ref: el => this.thumbsSliderContainer = el }, index.h("div", { class: { "s-slider-swiper-wrapper swiper-wrapper": true, "s-slider-grid-thumbs": this.gridThumbs }, ref: el => this.thumbsSliderWrapper = el }, index.h("slot", { name: "thumbs" })), this.showThumbsControls ?
12076
12105
  index.h("div", { class: "s-slider-thumbs-nav", dir: "rtl" }, index.h("button", { "aria-label": "Previous Slide", class: "s-slider-thumbs-prev s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowRightIcon : ArrowLeftIcon })), index.h("button", { "aria-label": "Next Slide", class: "s-slider-thumbs-next s-slider-nav-arrow" }, index.h("span", { class: "s-slider-button-icon", innerHTML: this.direction == 'rtl' ? ArrowLeftIcon : ArrowRightIcon })))
12077
12106
  : null))
12078
12107
  : null));
@@ -12235,7 +12264,7 @@ const SallaSocialShare = class {
12235
12264
  window.a2a?.init('page');
12236
12265
  }
12237
12266
  render() {
12238
- return (index.h("div", { key: 'e104cbf1051f36e7d1055a96b8d42e0f38b70f21', class: "s-social-share-wrapper" }, index.h("slot", { key: '8519676943448a6b87b1b3df8dd74b78de72aeb9', name: 'widget' }, index.h("salla-button", { key: '0be8b0bf52f046f6818b530430ce1e636fcd36c2', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: 'e637247fec7fd1a0235a410ca3e28fb4e7eff7f3', innerHTML: this.opened ? Cancel : ShareAlt }))), index.h("ul", { key: '8a378bac1865b26744ad31e6bf7218174b24bdd6', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
12267
+ return (index.h("div", { key: 'dcba2bc3344b69f395379ac57b849d02013cd778', class: "s-social-share-wrapper" }, index.h("slot", { key: 'ce23f2263042bd09d1233570739756d8aa133145', name: 'widget' }, index.h("salla-button", { key: 'f76f0c7af4c6f717634575efae944e11fc5403d7', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: 'b6c190caf3f9ab6dbf930e62caed60f0c5cb6a39', innerHTML: this.opened ? Cancel : ShareAlt }))), index.h("ul", { key: '5eee0092e3596e384690b3ab3f2fb74a0fc22e66', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
12239
12268
  return (index.h("li", null, index.h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
12240
12269
  if (icon.name === platform) {
12241
12270
  return index.h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -12274,7 +12303,7 @@ const SallaTabContent = class {
12274
12303
  's-tabs-content': true,
12275
12304
  's-tabs-content-selected': this.isSelected
12276
12305
  };
12277
- return (index.h("div", { key: '571a30d15d890516a1382ed25239df46de519a12', class: classes }, index.h("slot", { key: '4ceb77d0d6fb15f28e1bb51ec842b7a658ccc160' })));
12306
+ return (index.h("div", { key: '9e1a20d0877a9c3ca6b376fe22bfb52e93c8f873', class: classes }, index.h("slot", { key: 'f5b0593c4c9b8d808901ca79e3c6fd28c2a64f36' })));
12278
12307
  }
12279
12308
  };
12280
12309
  SallaTabContent.style = sallaTabContentCss;
@@ -12333,7 +12362,7 @@ const SallaTabHeader = class {
12333
12362
  's-tabs-active': this.isSelected,
12334
12363
  };
12335
12364
  return [
12336
- index.h("div", { key: '01eec3d799fd24f75ee29e65447e166057aed846', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '200d5e89d7bf9cf232c997fa14c0384be65001c1' })),
12365
+ index.h("div", { key: '7e9e75c995226ca1b23a9a185c8be46206362b61', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '6ed7bf434cf6b1af235e2251f6d3f385cbbbcf0b' })),
12337
12366
  ];
12338
12367
  }
12339
12368
  };
@@ -12386,7 +12415,7 @@ const SallaTabs = class {
12386
12415
  }
12387
12416
  render() {
12388
12417
  return [
12389
- index.h("div", { key: '11dca6efd64c797274f2b71aa10426fbdf08d351', class: "s-tabs" }, index.h("div", { key: '9afd9c6a09728218cddc084c77f417d0249bdfd9', class: "s-tabs-header" }, index.h("slot", { key: 'eef1f2faed6b440c592e51f6d1205e140584b070', name: "header" })), index.h("div", { key: 'adb5bd9c1af2ba78c173eb3fbd5c73c0513ccca5', class: "s-tabs-content-wrapper" }, index.h("slot", { key: 'db9eaa79d095ef71fb1df1ab96ddbb925ec59b40', name: "content" })))
12418
+ index.h("div", { key: 'a82184132426d8d221c31160f48f129b0cb43a0f', class: "s-tabs" }, index.h("div", { key: '199285e8eef1f8e825b174af3b6df06ffe1ffc6e', class: "s-tabs-header" }, index.h("slot", { key: '80f789aa0dec2dc44c15f269bb554a63e325c7be', name: "header" })), index.h("div", { key: '1c4fec4e20bab0302fd04a29ebfb2f2bb93380d0', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '491f2f5149acac667b3036fba9b92cf1fa027fc8', name: "content" })))
12390
12419
  ];
12391
12420
  }
12392
12421
  get host() { return index.getElement(this); }
@@ -12404,7 +12433,7 @@ const SallaTelInput = class {
12404
12433
  if (this.TelInput)
12405
12434
  return;
12406
12435
  try {
12407
- const telInputModule = await Promise.resolve().then(function () { return require('./index-CW7Dnp8P.js'); }).then(function (n) { return n.index; });
12436
+ const telInputModule = await Promise.resolve().then(function () { return require('./index-C-Dr3I5Z.js'); }).then(function (n) { return n.index; });
12408
12437
  this.TelInput = telInputModule.default;
12409
12438
  }
12410
12439
  catch (error) {
@@ -12518,7 +12547,7 @@ const SallaTelInput = class {
12518
12547
  }
12519
12548
  }
12520
12549
  render() {
12521
- return (index.h(index.Host, { key: '8dae2336c70ca8da12846544c99eff5150ee3197', class: "s-tel-input" }, index.h("input", { key: '6512ba297a7f1e85f3e6b1a6ba7634c16e57116c', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), index.h("span", { key: '92def9152e10e06c390e8333048095dcc7613867', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), index.h("input", { key: '0a77d8be70d5f9a1e8ac75e444537f0f45fa76d0', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
12550
+ return (index.h(index.Host, { key: 'f16ad5846d12d5ecef7b30e3409cd57be9bb9763', class: "s-tel-input" }, index.h("input", { key: '08a876233bba3f7878bb9dc9668f60fd16d04903', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), index.h("span", { key: 'f02fa5d196bb959f6a281fa0dc9ff2c352b97e88', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), index.h("input", { key: 'fd0f6dcf6aba98356f7be85422918ff745dc2078', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
12522
12551
  }
12523
12552
  componentDidLoad() {
12524
12553
  this.initTelInput();
@@ -13039,7 +13068,7 @@ const SallaUserSettings = class {
13039
13068
  await salla.profile.delete().finally(() => this.confirmationModal.close());
13040
13069
  }
13041
13070
  render() {
13042
- return (index.h(index.Host, { key: '85b2fe2739f6ac3c55939d3cb9c87fc404413e7f', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: 'e46be8b9cb4898c9b676ee67f0750bb654bda953', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '48f81d5a9b511c2a8baabab2aab6ad3dcfb98370' }, index.h("div", { key: '9009c4d612aea7e7a6834b90f38d03d8c95bcc84', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '03f209e6e1e1adbdb130f9b80aed30f0618dd58c', innerHTML: UserCancel })), index.h("div", { key: 'fb02ca2387806135ac3f074f0a9f30ce4bb325ca', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '1ddbd1144a59745bf26f4650eb5d050a34d42e8f', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '0ff6163a407a53ff100c8d3235212c167dbb006a', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '03b817a0bea880c9a2e056d4d8f0fb737dc0e5da', class: "s-toggle" }, index.h("input", { key: 'fcb56427c6d1ae503abdc768358e9ecfa9139dac', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: 'ff312279ede50b86446d1305217053942d05a603', class: "s-toggle-switcher" }))))), index.h("div", { key: '08cf0045a6f96ae7046d9a7c640e53a5b2cec7dc', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '1ccbcd93cf4cef91693603b5b05dbc4f3b85dc65' }, index.h("div", { key: 'bf5270f2d2cae798463ab9516c11321e96c461ff', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '3bc3927296faa253a8b91710049eca3372fb24aa', innerHTML: Bullhorn })), index.h("div", { key: '60ddca373590545a7fd03498e4ff7306a23b05a9', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '874e81d5e4727160a85bb3381fdfadcd65e774c0', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '6d2aacf7a72c4d25163913eccbb0a3e94595ec75', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'cf58459624592b34083afe61a0afc29dea03864e', class: "s-toggle" }, index.h("input", { key: 'b854ce4ca8224c8200623aad0dea4c659d89dee1', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: '785a5765e36056629a23ca53e48715f91c14ee1f', class: "s-toggle-switcher" }))))), index.h("div", { key: '9f58724a8d748809b39874efaa861643a78076eb', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '12a69027f2822b6fa1e8fb641278932fc2206335' }, index.h("div", { key: '679eec74598612167c77443e5f6977991b333fd7', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '0263f8f31ad3e4ca60f2bb4bae910c143f2d36a8', innerHTML: UserOff })), index.h("div", { key: '6c0c17dfbcbb48ae3882b07b58fb0d1245a28cdb', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: '07389c3b86b3d8e821b8b9c33cf43de1ee6527db', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: 'e98736162d465c0717550eb8231b120acfafc4f6', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'd29c5023b3a35f95c94a06dc87f0e2504b3a6390', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: '6f23ca61fe62de261e7d2f616a4d5bf13fba1577', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '89073dfc15d4a1349618180c776968012e843556', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: 'f464a56ab783c4ddd51cc40e4d4dbf2f4ae21be2', class: "s-user-settings-confirmation" }, index.h("div", { key: 'e9921faaf8718ba51937006360b11d409bde4e05', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '4a71df323e6fa2b86cb85e77af438a51e9c1c5a9', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: '156249d17bdcc25b7c586af416001ec60e8b0f5b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: 'acbe44c04f77f8ccdcaeb90bfb731de399f88fc7', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
13071
+ return (index.h(index.Host, { key: '33752e10e70ffbf01efb75b31d4849edef0a22ca', class: "s-user-settings-wrapper" }, this.canHideName && index.h("div", { key: '93d51db7a7034bd47afa1743046e7ed1f723f60c', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: 'a5a516cd1fae2a592ce52d9eb4d406116b961d54' }, index.h("div", { key: '84810dc0921a67f0506796fef48e4e0bdd6065ac', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: '6e9ec2538288787753b39b9eab5e73085fd77af2', innerHTML: UserCancel })), index.h("div", { key: 'ea4b1e3a1a7f0335041e6bf6f1ee17bf7c10df8d', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), index.h("div", { key: '05c29800a9f48ec42a8681e44e65c347b635c02e', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), index.h("div", { key: '14a925b8253d160fc13ba73eedc8dbc8cb950f89', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: 'cdf006b150c126d25ae01254f142bad8a20dd553', class: "s-toggle" }, index.h("input", { key: 'd22dbe40daf8ba763b24d3456161ac24b4d59ec3', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), index.h("div", { key: '73831affe4a191d6cc2c7eb3ea360a01f0287eee', class: "s-toggle-switcher" }))))), index.h("div", { key: '891e04a67ad6d20da94947e8cfa2d6edf9c7bb84', class: "s-user-settings-section" }, index.h("salla-list-tile", { key: '206fe63e42899c9a8c7efffabd6feb49b6bcb917' }, index.h("div", { key: '5d93ddd0678238418b4edd4e59352fea431a1ca3', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'f58c73c740186085c5091139dad0270c18e96759', innerHTML: Bullhorn })), index.h("div", { key: 'b6cf780f0cfe38a6fb5dc63cb2d4857f4b909c58', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), index.h("div", { key: '8e8a6d47fffa6b833b4047054d22faffac042936', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), index.h("div", { key: '2599fbfb496b0a9ce58e6c8dea53a8535cac5204', slot: 'action', class: "s-user-settings-section-action" }, index.h("label", { key: '0fbcb6ff94aeef953750fb8f8d22ece4b75c99b1', class: "s-toggle" }, index.h("input", { key: '859c64fd37986ce5615bfeaacf22cfeb4aff9c6c', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), index.h("div", { key: 'e1f46d025760d058516036757b47c847bef54600', class: "s-toggle-switcher" }))))), index.h("div", { key: 'fee3c156efc03e2b7c3306f1399a862d7f42bfbb', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, index.h("salla-list-tile", { key: '494c6b20eff0df5c1733c649b6383735589550d8' }, index.h("div", { key: '33f6dda6763b824e08071055bae7a993e54d82d7', slot: "icon", class: "s-user-settings-section-icon" }, index.h("span", { key: 'fb7a0899c926b2be7b4ea03e8079c0f755a3a724', innerHTML: UserOff })), index.h("div", { key: '91a27cfb2b9e19bbb1fdedbac04cac60f783fa8a', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), index.h("div", { key: 'fa780dd1c2a71d180eaaeec517e3195add641011', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), index.h("div", { key: 'fe97d9c07fd65ae7469551cf9d0ae4451167943e', slot: 'action', class: "s-user-settings-section-action" }, index.h("salla-button", { key: 'c656e8800d73c813d4e00c6078ed3c53a1ce788f', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), index.h("salla-modal", { key: 'fa19e38a8ba2de3571045be2072097477e9ca797', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, index.h("span", { key: '0d4eced0174ed3c4f13fddd61b711cd9d73dac47', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), index.h("div", { key: '38be1edb34805de488c648e8312807e2d49a6733', class: "s-user-settings-confirmation" }, index.h("div", { key: '949a75940d5065c4bd412e49ebc18fc9f3d39c21', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), index.h("div", { key: '09403f1c85cc9bbc941dcd04bfa88b99aa0ac7c6', class: "s-user-settings-confirmation-actions" }, index.h("salla-button", { key: 'ccb531ffa8af9e47e758b591b9d98d980a498611', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), index.h("salla-button", { key: '9783256bdabfab9dcb0452580748d4efd2ca0f88', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
13043
13072
  }
13044
13073
  };
13045
13074
  SallaUserSettings.style = sallaUserSettingsCss;