@salla.sa/twilight-components 2.14.354 → 2.14.355

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 (267) hide show
  1. package/dist/cjs/{filepond-CuKErtOy.js → filepond-D0WqQOsJ.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-d-8BSuST.js → filepond-plugin-file-poster-ZuSz5Sia.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-zgI_JcqY.js → filepond-plugin-file-validate-size-C3-G9fQU.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-Cy8IgG2P.js → filepond-plugin-file-validate-type-pC6E-hQQ.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-9ZAUzCvh.js → filepond-plugin-image-edit-B6RJ-sf_.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DzNe_tY2.js → filepond-plugin-image-exif-orientation-BAKA7TOr.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-Cfna6xTB.js → filepond-plugin-image-preview-C_5JV3u4.js} +1 -1
  8. package/dist/cjs/{index-ff-xJfhj.js → index-DdedaQQE.js} +1 -1
  9. package/dist/cjs/{index-Ce40E8tZ.js → index-DgOViweO.js} +2 -2
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/salla-accordion-body_3.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_4.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-apps-icons.cjs.entry.js +2 -2
  18. package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
  19. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-loyalty-program.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-payments.cjs.entry.js +6 -18
  54. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-products-slider.cjs.entry.js +2 -2
  59. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-slider.cjs.entry.js +68 -29
  66. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  67. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  69. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  71. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  75. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  77. package/dist/cjs/twilight.cjs.js +2 -2
  78. package/dist/cjs/{vanilla-picker-zQsXQIff.js → vanilla-picker-Cd4v7i9t.js} +1 -1
  79. package/dist/collection/collection-manifest.json +1 -1
  80. package/dist/collection/components/salla-apps-icons/salla-apps-icons.js +1 -1
  81. package/dist/collection/components/salla-payments/salla-payments.js +5 -17
  82. package/dist/collection/components/salla-products-slider/salla-products-slider.js +32 -1
  83. package/dist/collection/components/salla-slider/salla-slider.js +89 -29
  84. package/dist/collection/components/salla-social/salla-social.js +1 -1
  85. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  86. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  87. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  88. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  89. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  90. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  91. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  92. package/dist/components/index.js +2 -2
  93. package/dist/components/salla-apps-icons.js +1 -1
  94. package/dist/components/salla-payments.js +5 -17
  95. package/dist/components/salla-products-slider2.js +2 -1
  96. package/dist/components/salla-slider2.js +69 -28
  97. package/dist/components/salla-social-share.js +1 -1
  98. package/dist/components/salla-social.js +1 -1
  99. package/dist/components/salla-tab-content2.js +1 -1
  100. package/dist/components/salla-tab-header2.js +1 -1
  101. package/dist/components/salla-tabs2.js +1 -1
  102. package/dist/components/salla-tel-input2.js +1 -1
  103. package/dist/components/salla-tooltip2.js +1 -1
  104. package/dist/components/salla-user-settings.js +1 -1
  105. package/dist/esm/{filepond-DEzyRrdH.js → filepond-YrJ-JCRn.js} +1 -1
  106. package/dist/esm/{filepond-plugin-file-poster-DyLcCcHM.js → filepond-plugin-file-poster-UWiXxhAl.js} +1 -1
  107. package/dist/esm/{filepond-plugin-file-validate-size-Cxp5Yzea.js → filepond-plugin-file-validate-size-CuFnfvIq.js} +1 -1
  108. package/dist/esm/{filepond-plugin-file-validate-type-D2qNOQP4.js → filepond-plugin-file-validate-type-BgYsHZEQ.js} +1 -1
  109. package/dist/esm/{filepond-plugin-image-edit-DndTlA7m.js → filepond-plugin-image-edit-BQtZWl9D.js} +1 -1
  110. package/dist/esm/{filepond-plugin-image-exif-orientation-CiT1CQoK.js → filepond-plugin-image-exif-orientation-Dp7a5KRi.js} +1 -1
  111. package/dist/esm/{filepond-plugin-image-preview-DBG7keFZ.js → filepond-plugin-image-preview-DvWrR7vg.js} +1 -1
  112. package/dist/esm/{index-BLw7mdtM.js → index-DwU5NnFF.js} +1 -1
  113. package/dist/esm/{index-B74h9G6a.js → index-PHxPq4LJ.js} +2 -2
  114. package/dist/esm/loader.js +3 -3
  115. package/dist/esm/salla-accordion-body_3.entry.js +1 -1
  116. package/dist/esm/salla-accordion_6.entry.js +1 -1
  117. package/dist/esm/salla-add-product-button_4.entry.js +1 -1
  118. package/dist/esm/salla-advertisement.entry.js +1 -1
  119. package/dist/esm/salla-alert_2.entry.js +1 -1
  120. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  121. package/dist/esm/salla-apps-icons.entry.js +2 -2
  122. package/dist/esm/salla-booking-field_7.entry.js +11 -11
  123. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  124. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  125. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  126. package/dist/esm/salla-contacts.entry.js +1 -1
  127. package/dist/esm/salla-count-down_2.entry.js +1 -1
  128. package/dist/esm/salla-custom-fields.entry.js +1 -1
  129. package/dist/esm/salla-filters-widget.entry.js +1 -1
  130. package/dist/esm/salla-filters.entry.js +1 -1
  131. package/dist/esm/salla-gifting.entry.js +1 -1
  132. package/dist/esm/salla-hook.entry.js +1 -1
  133. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  134. package/dist/esm/salla-installment.entry.js +1 -1
  135. package/dist/esm/salla-list-tile.entry.js +1 -1
  136. package/dist/esm/salla-localization-modal.entry.js +1 -1
  137. package/dist/esm/salla-login-modal.entry.js +1 -1
  138. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  139. package/dist/esm/salla-loyalty-program.entry.js +1 -1
  140. package/dist/esm/salla-loyalty.entry.js +1 -1
  141. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  142. package/dist/esm/salla-menu.entry.js +1 -1
  143. package/dist/esm/salla-metadata.entry.js +1 -1
  144. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  145. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  146. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  147. package/dist/esm/salla-notification-item.entry.js +1 -1
  148. package/dist/esm/salla-notifications.entry.js +1 -1
  149. package/dist/esm/salla-offer-modal.entry.js +1 -1
  150. package/dist/esm/salla-offer.entry.js +1 -1
  151. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  152. package/dist/esm/salla-order-details-options.entry.js +1 -1
  153. package/dist/esm/salla-order-details.entry.js +1 -1
  154. package/dist/esm/salla-order-summary.entry.js +1 -1
  155. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  156. package/dist/esm/salla-orders.entry.js +1 -1
  157. package/dist/esm/salla-payments.entry.js +6 -18
  158. package/dist/esm/salla-placeholder.entry.js +1 -1
  159. package/dist/esm/salla-price-range.entry.js +1 -1
  160. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  161. package/dist/esm/salla-products-list.entry.js +1 -1
  162. package/dist/esm/salla-products-slider.entry.js +2 -2
  163. package/dist/esm/salla-progress-bar.entry.js +1 -1
  164. package/dist/esm/salla-quick-order.entry.js +1 -1
  165. package/dist/esm/salla-rating-modal.entry.js +1 -1
  166. package/dist/esm/salla-scopes.entry.js +1 -1
  167. package/dist/esm/salla-search.entry.js +1 -1
  168. package/dist/esm/salla-skeleton.entry.js +1 -1
  169. package/dist/esm/salla-slider.entry.js +68 -29
  170. package/dist/esm/salla-social-share.entry.js +2 -2
  171. package/dist/esm/salla-social.entry.js +2 -2
  172. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  173. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  174. package/dist/esm/salla-tooltip.entry.js +2 -2
  175. package/dist/esm/salla-trust-badges.entry.js +1 -1
  176. package/dist/esm/salla-user-menu.entry.js +1 -1
  177. package/dist/esm/salla-user-profile.entry.js +1 -1
  178. package/dist/esm/salla-user-settings.entry.js +2 -2
  179. package/dist/esm/salla-verify.entry.js +1 -1
  180. package/dist/esm/salla-wallet.entry.js +1 -1
  181. package/dist/esm/twilight.js +3 -3
  182. package/dist/esm/{vanilla-picker-CtwkXTap.js → vanilla-picker-fpTcpsmb.js} +1 -1
  183. package/dist/twilight/{p-3cffa4c9.entry.js → p-009d1b75.entry.js} +1 -1
  184. package/dist/twilight/{p-fe983809.entry.js → p-04e21492.entry.js} +1 -1
  185. package/dist/twilight/{p-9051a540.entry.js → p-0cc07ad0.entry.js} +1 -1
  186. package/dist/twilight/{p-309a0ba4.entry.js → p-0f45b27f.entry.js} +1 -1
  187. package/dist/twilight/p-112b4c91.entry.js +4 -0
  188. package/dist/twilight/{p-afd61e47.entry.js → p-14749ab0.entry.js} +1 -1
  189. package/dist/twilight/{p-a2756650.entry.js → p-1c66e567.entry.js} +1 -1
  190. package/dist/twilight/{p-2de9df64.entry.js → p-1e405d4e.entry.js} +1 -1
  191. package/dist/twilight/{p-c56a47b0.entry.js → p-1eb76272.entry.js} +1 -1
  192. package/dist/twilight/{p-b71fc1b5.entry.js → p-2322e6fc.entry.js} +1 -1
  193. package/dist/twilight/{p-f57ca123.entry.js → p-2626b358.entry.js} +1 -1
  194. package/dist/twilight/{p-b588ef46.entry.js → p-29e92637.entry.js} +1 -1
  195. package/dist/twilight/{p-229275db.entry.js → p-2ca5a8af.entry.js} +1 -1
  196. package/dist/twilight/{p-6c8f5c94.entry.js → p-2cb04fa6.entry.js} +1 -1
  197. package/dist/twilight/{p-32ca34ec.entry.js → p-2e97a6cd.entry.js} +1 -1
  198. package/dist/twilight/{p-bVqtOl1F.js → p-2tEKDOI-.js} +1 -1
  199. package/dist/twilight/{p-6be7bbb0.entry.js → p-30b58124.entry.js} +1 -1
  200. package/dist/twilight/{p-efc18ce6.entry.js → p-333171ce.entry.js} +1 -1
  201. package/dist/twilight/{p-f4039c40.entry.js → p-33cd8edb.entry.js} +1 -1
  202. package/dist/twilight/p-3774fa61.entry.js +4 -0
  203. package/dist/twilight/{p-212a0710.entry.js → p-37aa131b.entry.js} +1 -1
  204. package/dist/twilight/{p-232185ec.entry.js → p-3c76e2d4.entry.js} +1 -1
  205. package/dist/twilight/{p-f5ad6572.entry.js → p-3cbbd625.entry.js} +1 -1
  206. package/dist/twilight/{p-6fa02770.entry.js → p-3db132b8.entry.js} +1 -1
  207. package/dist/twilight/{p-8c189d76.entry.js → p-3eff2372.entry.js} +1 -1
  208. package/dist/twilight/{p-c73189e3.entry.js → p-428fe4e6.entry.js} +1 -1
  209. package/dist/twilight/{p-40fe4b01.entry.js → p-475a61f8.entry.js} +1 -1
  210. package/dist/twilight/{p-i5J7XGS6.js → p-4D4VVK4U.js} +1 -1
  211. package/dist/twilight/{p-fc65084f.entry.js → p-4c31b81f.entry.js} +1 -1
  212. package/dist/twilight/{p-654429df.entry.js → p-52ffcaba.entry.js} +1 -1
  213. package/dist/twilight/{p-d4edfed4.entry.js → p-534be529.entry.js} +1 -1
  214. package/dist/twilight/{p-f47b130c.entry.js → p-59697c9b.entry.js} +1 -1
  215. package/dist/twilight/{p-fd81a311.entry.js → p-5c5aba15.entry.js} +1 -1
  216. package/dist/twilight/{p-5d044466.entry.js → p-666bea2d.entry.js} +1 -1
  217. package/dist/twilight/p-6a934903.entry.js +4 -0
  218. package/dist/twilight/{p-10dcd981.entry.js → p-6e89154f.entry.js} +1 -1
  219. package/dist/twilight/{p-5d21334a.entry.js → p-6f69cfa5.entry.js} +1 -1
  220. package/dist/twilight/{p-01daaaa6.entry.js → p-76ce3ec0.entry.js} +1 -1
  221. package/dist/twilight/{p-9f1c561f.entry.js → p-781f1219.entry.js} +1 -1
  222. package/dist/twilight/{p-5c9281d3.entry.js → p-78e33f77.entry.js} +1 -1
  223. package/dist/twilight/{p-b206a0a1.entry.js → p-79aa2c2f.entry.js} +1 -1
  224. package/dist/twilight/{p-4036d5dc.entry.js → p-7a2bd261.entry.js} +1 -1
  225. package/dist/twilight/{p-a100bd38.entry.js → p-7a769233.entry.js} +1 -1
  226. package/dist/twilight/{p-d86ce978.entry.js → p-7eef10c9.entry.js} +1 -1
  227. package/dist/twilight/{p-0134b4fd.entry.js → p-8606c783.entry.js} +1 -1
  228. package/dist/twilight/{p-e3e33238.entry.js → p-8719301a.entry.js} +1 -1
  229. package/dist/twilight/{p-3e0d814c.entry.js → p-8ad78dfa.entry.js} +1 -1
  230. package/dist/twilight/{p-bf65b263.entry.js → p-9bea43d6.entry.js} +1 -1
  231. package/dist/twilight/{p-aab45a16.entry.js → p-9c01357f.entry.js} +1 -1
  232. package/dist/twilight/{p-DpsbV3x1.js → p-BPRHuBhm.js} +1 -1
  233. package/dist/twilight/{p-B69XOH6h.js → p-BRh_eoK1.js} +1 -1
  234. package/dist/twilight/{p-_-aXm0Wb.js → p-BitILwJ_.js} +1 -1
  235. package/dist/twilight/{p-CQq81yb5.js → p-Bx_UY06u.js} +1 -1
  236. package/dist/twilight/{p-BPqZ249Z.js → p-C6S8Hr36.js} +1 -1
  237. package/dist/twilight/{p-shFpk0H3.js → p-DtkaGJwR.js} +1 -1
  238. package/dist/twilight/{p-B74h9G6a.js → p-PHxPq4LJ.js} +1 -1
  239. package/dist/twilight/{p-d1203242.entry.js → p-a5bb66a3.entry.js} +1 -1
  240. package/dist/twilight/{p-b2332516.entry.js → p-ad9c9773.entry.js} +1 -1
  241. package/dist/twilight/{p-7040ea33.entry.js → p-b502e876.entry.js} +1 -1
  242. package/dist/twilight/{p-32732ca7.entry.js → p-b8d8175a.entry.js} +1 -1
  243. package/dist/twilight/{p-3d0bb451.entry.js → p-ba5fc67a.entry.js} +1 -1
  244. package/dist/twilight/{p-e6bb7362.entry.js → p-c3750eaa.entry.js} +1 -1
  245. package/dist/twilight/{p-ec2fd37e.entry.js → p-d7037864.entry.js} +1 -1
  246. package/dist/twilight/{p-6b8453be.entry.js → p-d9880694.entry.js} +1 -1
  247. package/dist/twilight/{p-aae761ff.entry.js → p-db0b3ed2.entry.js} +1 -1
  248. package/dist/twilight/{p-08badc32.entry.js → p-dbb4ede5.entry.js} +1 -1
  249. package/dist/twilight/{p-e7813c80.entry.js → p-e017e403.entry.js} +1 -1
  250. package/dist/twilight/{p-47ac0ca5.entry.js → p-e31177e7.entry.js} +1 -1
  251. package/dist/twilight/{p-b1fc6dfc.entry.js → p-e5b90edd.entry.js} +1 -1
  252. package/dist/twilight/{p-ec77c523.entry.js → p-ec3f15ee.entry.js} +1 -1
  253. package/dist/twilight/{p-07da7390.entry.js → p-edc41bbc.entry.js} +1 -1
  254. package/dist/twilight/{p-8f1f052c.entry.js → p-f2c23e42.entry.js} +1 -1
  255. package/dist/twilight/{p-2d880232.entry.js → p-f34f5a30.entry.js} +1 -1
  256. package/dist/twilight/{p-0aa5a12a.entry.js → p-f578dea7.entry.js} +1 -1
  257. package/dist/twilight/{p-33093880.entry.js → p-ffbd5949.entry.js} +1 -1
  258. package/dist/twilight/{p-BCxm-ISm.js → p-fq0HEcD_.js} +1 -1
  259. package/dist/twilight/twilight.esm.js +1 -1
  260. package/dist/types/components/salla-payments/salla-payments.d.ts +0 -2
  261. package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +8 -0
  262. package/dist/types/components/salla-slider/salla-slider.d.ts +20 -2
  263. package/dist/types/components.d.ts +22 -0
  264. package/package.json +5 -5
  265. package/dist/twilight/p-2a927eac.entry.js +0 -4
  266. package/dist/twilight/p-4cd9da44.entry.js +0 -4
  267. package/dist/twilight/p-d9e7973d.entry.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  const sallaMultipleBundleProductOptionsModalCss = ":host{display:block}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaMultipleBundleProductCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaNotificationsCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var Helper = require('./Helper-DHRnzcFm.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var specialDiscount = require('./special-discount-DC2oXurL.js');
8
8
 
9
9
  var Tag = `<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  var PageType;
9
9
  (function (PageType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaOrderDetailsMultipleBundleProductCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  var copyIcon = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaOrderDetailsCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var check = require('./check-x3w3-gpj.js');
8
8
 
9
9
  var iconFileArchive = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaOrderTotalsCardCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var Helper = require('./Helper-DHRnzcFm.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaPaymentsCss = ":host{display:block}";
9
9
 
@@ -27,36 +27,24 @@ const SallaPayments = class {
27
27
  this.exclude = [];
28
28
  }
29
29
  }
30
- this.placeholderImage = salla.url.cdn(`images/s-empty.png`);
31
- this.paymentSlot = this.host.querySelector('[slot="payment"]')?.innerHTML || `<li class="s-payments-list-item"><img class="lazy" width="100%" height="100%" src="${this.placeholderImage}" data-src="{image}" alt={payment} /><li>`;
32
- this.sbcSlot = this.host.querySelector('[slot="sbc"]')?.innerHTML || `<li class="s-payments-list-item"><a target="_blank" href="{link}"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy s-payments-sbc-image" alt="SBC"/></a><li>`;
33
- this.codSlot = this.host.querySelector('[slot="cod"]')?.innerHTML || `<li class="s-payments-list-item"> <img width="100%" height="100%" src="${this.placeholderImage}" data-src={image} class="lazy" alt="COD"/><li>`;
30
+ this.paymentSlot = this.host.querySelector('[slot="payment"]')?.innerHTML || `<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="{payment}" /></li>`;
31
+ this.sbcSlot = this.host.querySelector('[slot="sbc"]')?.innerHTML || `<li class="s-payments-list-item"><a target="_blank" href="{link}"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" class="s-payments-sbc-image" alt="SBC" /></a></li>`;
32
+ this.codSlot = this.host.querySelector('[slot="cod"]')?.innerHTML || `<li class="s-payments-list-item"><img width="100%" height="100%" decoding="async" loading="lazy" src="{image}" alt="COD" /></li>`;
34
33
  this.payments = salla.config.get('store.settings.payments');
35
34
  });
36
35
  }
37
36
  render() {
38
37
  const madeInKSA = !this.exclude.includes('made-in-ksa') && salla.config.get('store.settings.made_in_ksa');
39
38
  const sbcId = this.exclude.includes('sbc') ? null : salla.config.get('store.settings.certificate.id');
40
- return (index.h(index.Host, { key: '171f3100fd67a51ad678cfdf648ff69c64c2a3a1', class: "s-payments-list-wrap" }, index.h("ul", { key: 'e6f55f5a6b1670d1f2c270cf4316c90ff5353a08', class: "s-payments-list" }, madeInKSA && index.h("li", { key: '42bd30418212c78184ccc22a449d724cc82df46b', class: "s-payments-list-item" }, index.h("img", { key: '8affc4db8a1fd708197a00dceba7f31759b7febd', class: "lazy", width: "100%", height: "100%", decoding: "async", loading: "lazy", "data-src": salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
39
+ return (index.h(index.Host, { key: 'd93c9cfafd67203e3d85f78296b6256dbdfd8d78', class: "s-payments-list-wrap" }, index.h("ul", { key: '9520b4979082d6e733edb3ec5d6defe97beec6de', class: "s-payments-list" }, madeInKSA && index.h("li", { key: '93ba9c342f5809d6b75ab00f99126a351c18ccc5', class: "s-payments-list-item" }, index.h("img", { key: '8e62415523f4a1ccf839d394d5089ee49e0873c4', width: "100%", height: "100%", decoding: "async", loading: "lazy", src: salla.url.cdn(`images/made-in-ksa.svg`, 58, 58), alt: "made in KSA certified" })), this.payments.map((payment) => (payment == "cod" ?
41
40
  index.h("div", { id: "cod-slot", innerHTML: this.codSlot
42
41
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/cod_mini.png`, 58, 58)) }) :
43
42
  index.h("div", { id: "payment-slot", innerHTML: this.paymentSlot
44
43
  .replace(/\{image\}/g, salla.url.cdn(`images/payment/${payment}_mini.png`, 58, 58))
45
- .replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: 'a0b88ee6a9c0378bc2946ab5506747ba0ff4ff12', id: "sbc-slot", innerHTML: this.sbcSlot
44
+ .replace(/\{payment\}/g, payment) }))), sbcId && index.h("div", { key: '0acb0d8a0f4c4c53c9e439127418081684cd2bd1', id: "sbc-slot", innerHTML: this.sbcSlot
46
45
  .replace(/\{image\}/g, salla.url.cdn(`images/sbc.png`, 58, 58))
47
46
  .replace(/\{link\}/g, `https://eauthenticate.saudibusiness.gov.sa/certificate-details/${sbcId}`) }))));
48
47
  }
49
- componentDidLoad() {
50
- //todo:: double check about the following workaround, it looks not normal
51
- document.lazyLoadInstance?.update(this.host.querySelectorAll('.lazy'));
52
- // fix lazy loaded images that have 100% width and height
53
- this.host.querySelectorAll('.lazy').forEach((img) => {
54
- img.addEventListener('load', () => {
55
- img.setAttribute('width', "100%");
56
- img.setAttribute('height', "100%");
57
- });
58
- });
59
- }
60
48
  componentDidRender() {
61
49
  //todo:: double check about the following workaround to reduce the dom length, it looks unusal
62
50
  this.host.querySelectorAll('#payment-slot').forEach(el => el.replaceWith(el.firstChild));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  var Inbox = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
8
8
 
9
9
  var arrowRight = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
9
9
  var Helper = require('./Helper-DHRnzcFm.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var Helper = require('./Helper-DHRnzcFm.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
@@ -106,7 +106,7 @@ const SallaProductsSlider = class {
106
106
  if (!this.canRender()) {
107
107
  return;
108
108
  }
109
- return (index.h(index.Host, { class: "s-products-slider-wrapper" }, index.h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, index.h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
109
+ return (index.h(index.Host, { class: "s-products-slider-wrapper" }, index.h("salla-slider", { class: "s-products-slider-slider", id: this.sliderId || `s-products-slider-${Math.random().toString(36).substr(2, 9)}`, ...(this.sliderProps || {}), "auto-play": this.autoplay, type: "carousel", "block-title": this.blockTitle, "block-subTitle": this.subTitle, "display-all-url": this.displayAllUrl, sliderConfig: this.sliderConfig ? this.sliderConfig : null }, index.h("div", { slot: "items" }, this.productsData?.map(product => this.getItemHTML(product))))));
110
110
  }
111
111
  get host() { return index.getElement(this); }
112
112
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaProgressBarCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var mail = require('./mail-CO8cFZH7.js');
8
8
  var cancel = require('./cancel-De6vslRA.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var star = require('./star-DGcH7Yso.js');
8
8
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
9
  var Helper = require('./Helper-DHRnzcFm.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
 
9
9
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
  var Helper = require('./Helper-DHRnzcFm.js');
9
9
  require('./anime.es-BqW8JHZi.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaSkeletonCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var keyboard_arrow_right = require('./keyboard_arrow_right-BayM_Il2.js');
8
8
 
9
9
  /**
@@ -9859,6 +9859,11 @@ const SallaSlider = class {
9859
9859
  * Show/hide thumbs slider arrows
9860
9860
  */
9861
9861
  this.showThumbsControls = true;
9862
+ /**
9863
+ * When enabled and there is exactly one slide in the `items` slot,
9864
+ * render without initializing Swiper (single slide mode).
9865
+ */
9866
+ this.enableSingleSlideMode = false;
9862
9867
  /**
9863
9868
  * Enable autoplay - working with `type="carousel" only`
9864
9869
  */
@@ -9890,6 +9895,9 @@ const SallaSlider = class {
9890
9895
  this.isBeginning = true;
9891
9896
  /** Use matchMedia instead of window.innerWidth to avoid forced reflow (Lighthouse recommended) */
9892
9897
  this.isDesktopViewport = typeof window !== 'undefined' ? window.matchMedia('(min-width: 768px)').matches : true;
9898
+ /** When true, only one slide is present; we render without Swiper for performance. */
9899
+ this.singleSlideMode = false;
9900
+ this._rafId = null;
9893
9901
  this.viewportMediaQuery = null;
9894
9902
  this.hasThumbSlot = false;
9895
9903
  this.pre_defined_config = {
@@ -9945,7 +9953,7 @@ const SallaSlider = class {
9945
9953
  * @returns The Swiper slider instance
9946
9954
  */
9947
9955
  async sliderInstance() {
9948
- return this.slider;
9956
+ return this.singleSlideMode ? undefined : this.slider;
9949
9957
  }
9950
9958
  /**
9951
9959
  * Run transition to the slide with index number equal to 'index' parameter for the duration equal to 'speed' parameter.
@@ -9955,6 +9963,8 @@ const SallaSlider = class {
9955
9963
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
9956
9964
  * **/
9957
9965
  async slideTo(index, speed, runCallbacks) {
9966
+ if (!this.slider)
9967
+ return;
9958
9968
  return this.slider.slideTo(index, speed, runCallbacks);
9959
9969
  }
9960
9970
  /**
@@ -9982,7 +9992,7 @@ const SallaSlider = class {
9982
9992
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
9983
9993
  * **/
9984
9994
  async slideToLoop(index, speed, runCallbacks) {
9985
- this.slider.slideToLoop(index, speed, runCallbacks);
9995
+ this.slider?.slideToLoop(index, speed, runCallbacks);
9986
9996
  }
9987
9997
  /**
9988
9998
  * Does the same as .slideNext but for the case when used with enabled loop. So this method will slide to next slide with realIndex matching to next index
@@ -9991,7 +10001,7 @@ const SallaSlider = class {
9991
10001
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
9992
10002
  * **/
9993
10003
  async slideNextLoop(speed, runCallbacks) {
9994
- this.slider.slideNextLoop(speed, runCallbacks);
10004
+ this.slider?.slideNextLoop(speed, runCallbacks);
9995
10005
  }
9996
10006
  /**
9997
10007
  * Does the same as .slidePrev but for the case when used with enabled loop. So this method will slide to previous slide with realIndex matching to previous index
@@ -10000,7 +10010,7 @@ const SallaSlider = class {
10000
10010
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10001
10011
  * **/
10002
10012
  async slidePrevLoop(speed, runCallbacks) {
10003
- this.slider.slidePrevLoop(speed, runCallbacks);
10013
+ this.slider?.slidePrevLoop(speed, runCallbacks);
10004
10014
  }
10005
10015
  /**
10006
10016
  * Reset slider position to currently active slide for the duration equal to 'speed' parameter.
@@ -10009,7 +10019,7 @@ const SallaSlider = class {
10009
10019
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10010
10020
  * **/
10011
10021
  async slideReset(speed, runCallbacks) {
10012
- this.slider.slideReset(speed, runCallbacks);
10022
+ this.slider?.slideReset(speed, runCallbacks);
10013
10023
  }
10014
10024
  /**
10015
10025
  * Reset slider position to closest slide/snap point for the duration equal to 'speed' parameter.
@@ -10017,56 +10027,56 @@ const SallaSlider = class {
10017
10027
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10018
10028
  * **/
10019
10029
  async slideToClosest(speed, runCallbacks) {
10020
- this.slider.slideToClosest(speed, runCallbacks);
10030
+ this.slider?.slideToClosest(speed, runCallbacks);
10021
10031
  }
10022
10032
  /**
10023
10033
  * You should call it after you add/remove slides manually, or after you hide/show it, or do any custom DOM modifications with Swiper This method also includes subcall of the following methods which you can use separately:
10024
10034
  * **/
10025
10035
  async update() {
10026
- this.slider.update();
10036
+ this.slider?.update();
10027
10037
  }
10028
10038
  /**
10029
10039
  * Force slider to update its height (when autoHeight enabled) for the duration equal to 'speed' parameter
10030
10040
  * @param {number} speed - Transition duration (in ms).
10031
10041
  * **/
10032
10042
  async updateAutoHeight(speed) {
10033
- this.slider.updateAutoHeight(speed);
10043
+ this.slider?.updateAutoHeight(speed);
10034
10044
  }
10035
10045
  /**
10036
10046
  * recalculate number of slides and their offsets. Useful after you add/remove slides with JavaScript
10037
10047
  * **/
10038
10048
  async updateSlides() {
10039
- this.slider.updateSlides();
10049
+ this.slider?.updateSlides();
10040
10050
  }
10041
10051
  /**
10042
10052
  * recalculate slider progress
10043
10053
  * **/
10044
10054
  async updateProgress() {
10045
- this.slider.updateProgress();
10055
+ this.slider?.updateProgress();
10046
10056
  }
10047
10057
  /**
10048
10058
  * update active/prev/next classes on slides and bullets
10049
10059
  * **/
10050
10060
  async updateSlidesClasses() {
10051
- this.slider.updateSlidesClasses();
10061
+ this.slider?.updateSlidesClasses();
10052
10062
  }
10053
10063
  /**
10054
10064
  * Get slider slides
10055
10065
  * **/
10056
10066
  async getSlides() {
10057
- return await this.slider?.slides;
10067
+ return this.singleSlideMode ? undefined : await this.slider?.slides;
10058
10068
  }
10059
10069
  /**
10060
10070
  * Get slider slides
10061
10071
  * **/
10062
10072
  async updateSize() {
10063
- return await this.slider.updateSize();
10073
+ return await this.slider?.updateSize();
10064
10074
  }
10065
10075
  /**
10066
10076
  * Get thumbs slider update
10067
10077
  * **/
10068
10078
  async sliderInit() {
10069
- return await this.slider.init();
10079
+ return await this.slider?.init();
10070
10080
  }
10071
10081
  /**
10072
10082
  * Get thumbs slider slides
@@ -10105,6 +10115,8 @@ const SallaSlider = class {
10105
10115
  * @param {boolean} runCallbacks - Set it to false (by default it is true) and transition will not produce transition events.
10106
10116
  * **/
10107
10117
  async thumbsSlideTo(index, speed, runCallbacks) {
10118
+ if (!this.thumbsSlider)
10119
+ return;
10108
10120
  return this.thumbsSlider.slideTo(index, speed, runCallbacks);
10109
10121
  }
10110
10122
  /**
@@ -10292,7 +10304,16 @@ const SallaSlider = class {
10292
10304
  classes += this.verticalThumbs ? ' s-slider-vertical ' : ' s-slider-horizontal ';
10293
10305
  classes += this.arrowsCentered ? ' s-slider-v-centered ' : '';
10294
10306
  classes += this.gridThumbs ? ' s-slider-with-grid-thumbs ' : '';
10295
- return (index.h(index.Host, { key: '44f6baf2ec3a6421cd8d8ce6779c6ce781cecc7f', class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
10307
+ if (this.singleSlideMode) {
10308
+ return (index.h(index.Host, { class: 's-slider-wrapper s-slider-single-mode ' + classes }, this.blockTitle || this.displayAllUrl ?
10309
+ index.h("div", { class: "s-slider-block__title" }, this.blockTitle ?
10310
+ index.h("div", { class: "s-slider-block__title-right" }, index.h("h2", null, this.blockTitle), this.blockSubtitle ? index.h("p", { innerHTML: this.blockSubtitle }) : '')
10311
+ : '', this.displayAllUrl ?
10312
+ index.h("div", { class: "s-slider-block__title-left" }, index.h("a", { href: this.displayAllUrl, class: "s-slider-block__display-all" }, this.displayAllTitle))
10313
+ : '')
10314
+ : '', index.h("div", { class: "swiper s-slider-container s-slider-single", dir: this.vertical ? "ltr" : this.direction }, index.h("slot", null), index.h("div", { class: "swiper-wrapper s-slider-swiper-wrapper" }, index.h("slot", { name: 'items' })))));
10315
+ }
10316
+ return (index.h(index.Host, { class: 's-slider-wrapper ' + classes }, this.blockTitle || this.showControls ?
10296
10317
  index.h("div", { class: "s-slider-block__title" }, this.blockTitle ?
10297
10318
  index.h("div", { class: "s-slider-block__title-right" }, index.h("h2", null, this.blockTitle), this.blockSubtitle ? index.h("p", { innerHTML: this.blockSubtitle }) : '')
10298
10319
  : '', index.h("div", { class: "s-slider-block__title-left" }, this.displayAllUrl ?
@@ -10300,7 +10321,7 @@ const SallaSlider = class {
10300
10321
  : '', this.showControls ?
10301
10322
  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' ? keyboard_arrow_right.ArrowRightIcon : keyboard_arrow_right.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' ? keyboard_arrow_right.ArrowLeftIcon : keyboard_arrow_right.ArrowRightIcon })))
10302
10323
  : ''))
10303
- : '', index.h("div", { key: '384d3224e9e2f9ad08d71093ee4c6f907232c07e', class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, index.h("slot", { key: '578756df5b652d9b7e86d3f0424e4ec886b7a75f' }), index.h("div", { key: '7966a00ec720374a3dac1533d72fdfeb31db8105', class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, index.h("slot", { key: '39f9656cabb053dc4878ae1f2bd94a6efc19f975', 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 ?
10324
+ : '', index.h("div", { class: "swiper s-slider-container", ref: el => this.sliderContainer = el, dir: this.vertical ? "ltr" : this.direction }, index.h("slot", null), index.h("div", { class: "swiper-wrapper s-slider-swiper-wrapper", ref: el => this.sliderWrapper = el }, index.h("slot", { 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 ?
10304
10325
  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' ? keyboard_arrow_right.ArrowRightIcon : keyboard_arrow_right.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' ? keyboard_arrow_right.ArrowLeftIcon : keyboard_arrow_right.ArrowRightIcon })))
10305
10326
  : null))
10306
10327
  : null));
@@ -10359,25 +10380,43 @@ const SallaSlider = class {
10359
10380
  }
10360
10381
  this.lazyObserver.observe(el);
10361
10382
  }
10362
- /** Keep only element nodes so Swiper never sees text nodes (getAttribute would throw). */
10363
- flattenSlotToElements(container, slotSelector) {
10364
- const slotEl = container?.querySelector(slotSelector);
10365
- if (!slotEl)
10366
- return;
10367
- const elements = Array.from(slotEl.children).filter((node) => node.nodeType === Node.ELEMENT_NODE);
10368
- if (elements.length)
10369
- slotEl.replaceWith(...elements);
10370
- }
10371
10383
  componentDidLoad() {
10372
- this.flattenSlotToElements(this.sliderWrapper, 'div[slot="items"]');
10384
+ // 1. Batch Reads (Get all elements first without modifying DOM)
10385
+ const tasks = [];
10386
+ let _singleSlideMode = false;
10387
+ const prepareFlatten = (container, slotSelector) => {
10388
+ const slotEl = container?.querySelector(slotSelector);
10389
+ if (!slotEl)
10390
+ return;
10391
+ const elements = Array.from(slotEl.children).filter((node) => node.nodeType === Node.ELEMENT_NODE);
10392
+ if (elements.length) {
10393
+ // Queue the Write operation
10394
+ tasks.push(() => slotEl.replaceWith(...elements));
10395
+ if (elements.length === 1 && this.enableSingleSlideMode) {
10396
+ _singleSlideMode = true;
10397
+ elements[0].classList.add('swiper-slide');
10398
+ }
10399
+ }
10400
+ };
10401
+ prepareFlatten(this.sliderWrapper, 'div[slot="items"]');
10373
10402
  if (this.type == 'thumbs' && this.hasThumbSlot) {
10374
- this.flattenSlotToElements(this.thumbsSliderWrapper, 'div[slot="thumbs"]');
10403
+ prepareFlatten(this.thumbsSliderWrapper, 'div[slot="thumbs"]');
10375
10404
  }
10376
- this.initSlider();
10405
+ // 2. Batch Writes (Execute all DOM modifications together)
10406
+ tasks.forEach(task => task());
10407
+ // 3. Init Swiper inside rAF
10408
+ this._rafId = requestAnimationFrame(() => {
10409
+ this.singleSlideMode = _singleSlideMode;
10410
+ if (!_singleSlideMode) {
10411
+ this.initSlider();
10412
+ }
10413
+ });
10377
10414
  this.viewportMediaQuery = window.matchMedia('(min-width: 768px)');
10378
10415
  this.viewportMediaQuery.addEventListener('change', this.onViewportChange);
10379
10416
  }
10380
10417
  disconnectedCallback() {
10418
+ if (this._rafId)
10419
+ cancelAnimationFrame(this._rafId);
10381
10420
  this.viewportMediaQuery?.removeEventListener('change', this.onViewportChange);
10382
10421
  this.lazyObserver?.disconnect();
10383
10422
  this.lazyImageObserver?.disconnect();
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var facebook = require('./facebook-DbXua6B9.js');
9
9
  var mail = require('./mail-CO8cFZH7.js');
@@ -150,7 +150,7 @@ const SallaSocialShare = class {
150
150
  window.a2a?.init('page');
151
151
  }
152
152
  render() {
153
- return (index.h("div", { key: 'c4ac8faea4a8ec8aa5ba9f4e744710d508387d78', class: "s-social-share-wrapper" }, index.h("slot", { key: '6c6b54513f67be8818a9a042570286d09b7115f8', name: 'widget' }, index.h("salla-button", { key: '8a57650940dad634cf3576dada4cc35687ed447c', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '207f2fb0e2f89e7057775153ffcc68eebb069824', innerHTML: this.opened ? cancel.Cancel : ShareAlt }))), index.h("ul", { key: 'fd9b25a483a93efa10994c2a7a876b6741d976c2', 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 => {
153
+ return (index.h("div", { key: '05350f69911825a04716569eaac5769c67b07e24', class: "s-social-share-wrapper" }, index.h("slot", { key: 'c9bb03b5907e8d211d1a2bc7d36b0924dd2fa00b', name: 'widget' }, index.h("salla-button", { key: '3120d746deabb24bc2b3994a1088a42e355c2796', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, index.h("span", { key: '7874b8c8aceb1372d061d0142405a3f07e3c0ba3', innerHTML: this.opened ? cancel.Cancel : ShareAlt }))), index.h("ul", { key: 'deaa966a6ae4a91a350361f44316d749f8459cec', 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 => {
154
154
  return (index.h("li", null, index.h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
155
155
  if (icon.name === platform) {
156
156
  return index.h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
  var facebook = require('./facebook-DbXua6B9.js');
8
8
 
9
9
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -57,7 +57,7 @@ const SallaSocial = class {
57
57
  }
58
58
  render() {
59
59
  const linksArray = this.getLinksArray();
60
- return (index.h(index.Host, { key: 'a0bcd60fddd2fd8e86f32cd71d484ec76d02cf49' }, index.h("ul", { key: 'b595d8de59199de5081370b9440c8a46cb8c751f', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
60
+ return (index.h(index.Host, { key: '20f01d2027bf9ac9fa635c2e814bf9778c5abf8c' }, index.h("ul", { key: '016fc5a496d6efd36cf15dc805dd83ee4d6a9845', class: "s-social-list" }, linksArray.map((link) => (index.h("li", { class: "s-social-link" }, index.h("div", { id: "social-slot", innerHTML: this.socialSlot
61
61
  .replace(/\{icon\}/g, this.iconsList[link.type])
62
62
  .replace(/\{type\}/g, link.type)
63
63
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  const sallaTabContentCss = "";
9
9
 
@@ -33,7 +33,7 @@ const SallaTabContent = class {
33
33
  's-tabs-content': true,
34
34
  's-tabs-content-selected': this.isSelected
35
35
  };
36
- return (index.h("div", { key: '6b11ec3a839c759e64e1766de55f9ac1be18931e', class: classes }, index.h("slot", { key: '17300d7a52e068428ea956b2c5d5be6d0ab69fca' })));
36
+ return (index.h("div", { key: 'dd7c68e402701af152ab5d3d5afb2565f9b4a5cb', class: classes }, index.h("slot", { key: 'f7599dd3d56d04dd06d9d8cce105d0c7b73b6195' })));
37
37
  }
38
38
  };
39
39
  SallaTabContent.style = sallaTabContentCss;
@@ -92,7 +92,7 @@ const SallaTabHeader = class {
92
92
  's-tabs-active': this.isSelected,
93
93
  };
94
94
  return [
95
- index.h("div", { key: '08c51c1ad15c6b0efbeb165c89fc7d73748467d0', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: 'ba5045dab7c254eb4533dc64630ab0c1f561701b' })),
95
+ index.h("div", { key: '70daa4821b240da5f44591c427999d34556a0fed', class: classes, onClick: this.onClick.bind(this) }, index.h("slot", { key: '002eb0a0e48f3a31f272a393bf4fce94bcd0c841' })),
96
96
  ];
97
97
  }
98
98
  };
@@ -145,7 +145,7 @@ const SallaTabs = class {
145
145
  }
146
146
  render() {
147
147
  return [
148
- index.h("div", { key: '3195e8954179d52867093b5e861b3c0caa6d7af6', class: "s-tabs" }, index.h("div", { key: 'cf75a77b6cc9b9cd288e963ee56acf19e177029a', class: "s-tabs-header" }, index.h("slot", { key: 'fa345597be2fbb8ff4f1cb420a030c5ec821bc8b', name: "header" })), index.h("div", { key: 'f7fd939608e5341b6d9c1d75e7d9dc909a4d8912', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '86ce2c9bcb3be06264e75369a6be81b2e1361619', name: "content" })))
148
+ index.h("div", { key: '485e1ff4ea6a556dfdd8a2e7f8166c9e3d721c7d', class: "s-tabs" }, index.h("div", { key: 'a2825df331fdfc01de63eea7800ad62e4814205b', class: "s-tabs-header" }, index.h("slot", { key: 'd9d3c9bdbce261daccd480c0245fd06930b03602', name: "header" })), index.h("div", { key: '9e02ff1a53ffd068f1b1da6cbe5fec7adbc38492', class: "s-tabs-content-wrapper" }, index.h("slot", { key: '222b612d9ef34d936b3ccb1a883a42c135f67661', name: "content" })))
149
149
  ];
150
150
  }
151
151
  get host() { return index.getElement(this); }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Ce40E8tZ.js');
6
+ var index = require('./index-DgOViweO.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {