@salla.sa/twilight-components 2.14.444 → 2.14.445

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 (315) hide show
  1. package/dist/cjs/{filepond-Bbj7PmYR.js → filepond-DHzf3TcL.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CmQuPQcY.js → filepond-plugin-file-poster-BXm87rQo.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-sGTAJHie.js → filepond-plugin-file-validate-size-C5UIq4A2.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DhXaHZZZ.js → filepond-plugin-file-validate-type-DuhBUbfK.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-Cj8JCfAN.js → filepond-plugin-image-edit-B9-VYsWc.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-32JSai7q.js → filepond-plugin-image-exif-orientation-DMpSTznq.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-BKmavM3U.js → filepond-plugin-image-preview-CMGkdkZi.js} +1 -1
  8. package/dist/cjs/{functions-lGTNolKl.js → functions-9Nj0nrLx.js} +1 -1
  9. package/dist/cjs/{index-BjjfvdmF.js → index-DQZXng_4.js} +2 -2
  10. package/dist/cjs/{index-BSEEzSJv.js → index-rElwQMYM.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +58 -42
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +144 -38
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit.cjs.entry.js +15 -4
  69. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
  83. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  98. package/dist/cjs/{tracked-promise-BLOn0DiZ.js → tracked-promise-YvbHmmFp.js} +1 -1
  99. package/dist/cjs/twilight.cjs.js +2 -2
  100. package/dist/cjs/{vanilla-picker-C5CI4VSj.js → vanilla-picker-C02drqC1.js} +1 -1
  101. package/dist/collection/components/salla-gifting/salla-gifting.css +15 -0
  102. package/dist/collection/components/salla-gifting/salla-gifting.js +149 -36
  103. package/dist/collection/components/salla-order-edit/salla-order-edit.js +16 -4
  104. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +97 -41
  105. package/dist/components/index.js +2 -2
  106. package/dist/components/salla-gifting.js +170 -51
  107. package/dist/components/salla-order-edit.js +16 -4
  108. package/dist/components/salla-searchable-dropdown2.js +59 -41
  109. package/dist/esm/{filepond-BFX6xxhJ.js → filepond-D3RXwxDJ.js} +1 -1
  110. package/dist/esm/{filepond-plugin-file-poster-DwMxJsyL.js → filepond-plugin-file-poster-Bn0h-4qC.js} +1 -1
  111. package/dist/esm/{filepond-plugin-file-validate-size-BFwbB1wr.js → filepond-plugin-file-validate-size-CN-3nZup.js} +1 -1
  112. package/dist/esm/{filepond-plugin-file-validate-type-9VetG0aO.js → filepond-plugin-file-validate-type-BbLjL14b.js} +1 -1
  113. package/dist/esm/{filepond-plugin-image-edit-DqIgezI-.js → filepond-plugin-image-edit-Dr_0Kpj1.js} +1 -1
  114. package/dist/esm/{filepond-plugin-image-exif-orientation-B97i5tWf.js → filepond-plugin-image-exif-orientation-Bo8gf--w.js} +1 -1
  115. package/dist/esm/{filepond-plugin-image-preview-eGkx8PnH.js → filepond-plugin-image-preview-CkgdmQBn.js} +1 -1
  116. package/dist/esm/{functions-C1QgrjTx.js → functions-CsLl2GF-.js} +1 -1
  117. package/dist/esm/{index-BU_MkqNl.js → index-BZR5x5kv.js} +1 -1
  118. package/dist/esm/{index-CjquqEh1.js → index-DNtvpIPH.js} +2 -2
  119. package/dist/esm/loader.js +3 -3
  120. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  121. package/dist/esm/salla-accordion_6.entry.js +1 -1
  122. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  123. package/dist/esm/salla-advertisement.entry.js +1 -1
  124. package/dist/esm/salla-alert_2.entry.js +1 -1
  125. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  126. package/dist/esm/salla-apps-icons.entry.js +1 -1
  127. package/dist/esm/salla-badge.entry.js +1 -1
  128. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  129. package/dist/esm/salla-bullet-delivery_2.entry.js +58 -42
  130. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  131. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  132. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  133. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  134. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  135. package/dist/esm/salla-contacts.entry.js +1 -1
  136. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  137. package/dist/esm/salla-count-down.entry.js +1 -1
  138. package/dist/esm/salla-custom-fields.entry.js +1 -1
  139. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  140. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  141. package/dist/esm/salla-filters-widget.entry.js +1 -1
  142. package/dist/esm/salla-filters.entry.js +1 -1
  143. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  144. package/dist/esm/salla-gifting.entry.js +144 -38
  145. package/dist/esm/salla-hook.entry.js +1 -1
  146. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  147. package/dist/esm/salla-installment.entry.js +1 -1
  148. package/dist/esm/salla-list-tile.entry.js +1 -1
  149. package/dist/esm/salla-localization-modal.entry.js +1 -1
  150. package/dist/esm/salla-login-modal.entry.js +1 -1
  151. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  152. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  153. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  154. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  155. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  156. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  157. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  158. package/dist/esm/salla-loyalty.entry.js +1 -1
  159. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  160. package/dist/esm/salla-map.entry.js +1 -1
  161. package/dist/esm/salla-menu.entry.js +1 -1
  162. package/dist/esm/salla-metadata.entry.js +1 -1
  163. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  164. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  165. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  166. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  167. package/dist/esm/salla-notification-item.entry.js +1 -1
  168. package/dist/esm/salla-notifications.entry.js +1 -1
  169. package/dist/esm/salla-offer-modal.entry.js +1 -1
  170. package/dist/esm/salla-offer.entry.js +1 -1
  171. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  172. package/dist/esm/salla-order-details-options.entry.js +1 -1
  173. package/dist/esm/salla-order-details.entry.js +1 -1
  174. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  175. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  176. package/dist/esm/salla-order-edit.entry.js +15 -4
  177. package/dist/esm/salla-order-summary.entry.js +1 -1
  178. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  179. package/dist/esm/salla-orders.entry.js +1 -1
  180. package/dist/esm/salla-payments.entry.js +1 -1
  181. package/dist/esm/salla-placeholder.entry.js +1 -1
  182. package/dist/esm/salla-price-range.entry.js +1 -1
  183. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  184. package/dist/esm/salla-product-card_2.entry.js +1 -1
  185. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  186. package/dist/esm/salla-products-list.entry.js +1 -1
  187. package/dist/esm/salla-progress-bar.entry.js +1 -1
  188. package/dist/esm/salla-quick-order.entry.js +1 -1
  189. package/dist/esm/salla-rating-modal.entry.js +1 -1
  190. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  191. package/dist/esm/salla-scopes.entry.js +1 -1
  192. package/dist/esm/salla-search.entry.js +1 -1
  193. package/dist/esm/salla-skeleton.entry.js +1 -1
  194. package/dist/esm/salla-slider.entry.js +1 -1
  195. package/dist/esm/salla-social-share.entry.js +1 -1
  196. package/dist/esm/salla-social.entry.js +1 -1
  197. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  198. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  199. package/dist/esm/salla-tooltip.entry.js +1 -1
  200. package/dist/esm/salla-trust-badges.entry.js +1 -1
  201. package/dist/esm/salla-user-menu.entry.js +1 -1
  202. package/dist/esm/salla-user-profile.entry.js +1 -1
  203. package/dist/esm/salla-user-settings.entry.js +1 -1
  204. package/dist/esm/salla-verify.entry.js +1 -1
  205. package/dist/esm/salla-wallet.entry.js +1 -1
  206. package/dist/esm/{tracked-promise-CHodYJuF.js → tracked-promise-BnC5Z9K7.js} +1 -1
  207. package/dist/esm/twilight.js +3 -3
  208. package/dist/esm/{vanilla-picker-Dz2cnaJm.js → vanilla-picker-CF_W6ne1.js} +1 -1
  209. package/dist/twilight/{p-12383fc2.entry.js → p-007bf4b3.entry.js} +1 -1
  210. package/dist/twilight/{p-3376ea68.entry.js → p-0418d2eb.entry.js} +1 -1
  211. package/dist/twilight/{p-4fbe9195.entry.js → p-058d72ba.entry.js} +1 -1
  212. package/dist/twilight/{p-0bc373c3.entry.js → p-062e5544.entry.js} +1 -1
  213. package/dist/twilight/p-06496953.entry.js +4 -0
  214. package/dist/twilight/{p-ce3c2d87.entry.js → p-08344e0e.entry.js} +1 -1
  215. package/dist/twilight/{p-7b2f6272.entry.js → p-09aa60ca.entry.js} +1 -1
  216. package/dist/twilight/{p-0f268a17.entry.js → p-0aea9987.entry.js} +1 -1
  217. package/dist/twilight/{p-efca806c.entry.js → p-108fff84.entry.js} +1 -1
  218. package/dist/twilight/{p-4da7a36e.entry.js → p-13cbd6eb.entry.js} +1 -1
  219. package/dist/twilight/{p-d876814e.entry.js → p-14b4b77f.entry.js} +1 -1
  220. package/dist/twilight/{p-22ac20fb.entry.js → p-16e2e0a8.entry.js} +1 -1
  221. package/dist/twilight/p-185b629e.entry.js +4 -0
  222. package/dist/twilight/{p-4f7a053b.entry.js → p-186df566.entry.js} +1 -1
  223. package/dist/twilight/{p-b07ea02e.entry.js → p-2134195f.entry.js} +1 -1
  224. package/dist/twilight/{p-98404ee2.entry.js → p-2282abc4.entry.js} +1 -1
  225. package/dist/twilight/{p-041739c7.entry.js → p-28e39ff0.entry.js} +1 -1
  226. package/dist/twilight/{p-736037bf.entry.js → p-2b9deb4c.entry.js} +1 -1
  227. package/dist/twilight/{p-86cdc4f0.entry.js → p-2fb3d665.entry.js} +1 -1
  228. package/dist/twilight/{p-4858fee7.entry.js → p-318e0847.entry.js} +1 -1
  229. package/dist/twilight/{p-30159ed2.entry.js → p-34c2e75f.entry.js} +1 -1
  230. package/dist/twilight/{p-46aecc23.entry.js → p-38c677fb.entry.js} +1 -1
  231. package/dist/twilight/{p-d6d1a44f.entry.js → p-3953d2cc.entry.js} +1 -1
  232. package/dist/twilight/{p-549792e6.entry.js → p-3af39ede.entry.js} +1 -1
  233. package/dist/twilight/{p-bdb97cd6.entry.js → p-3da82405.entry.js} +1 -1
  234. package/dist/twilight/{p-c02a27a5.entry.js → p-4168d56d.entry.js} +1 -1
  235. package/dist/twilight/{p-51e355f4.entry.js → p-42e59b60.entry.js} +1 -1
  236. package/dist/twilight/{p-28503efc.entry.js → p-43e90789.entry.js} +1 -1
  237. package/dist/twilight/{p-7e5bd688.entry.js → p-455c6c0b.entry.js} +1 -1
  238. package/dist/twilight/{p-345fade3.entry.js → p-45f78030.entry.js} +1 -1
  239. package/dist/twilight/{p-c65eb0ee.entry.js → p-46bd695f.entry.js} +1 -1
  240. package/dist/twilight/{p-2c270887.entry.js → p-46f82b50.entry.js} +1 -1
  241. package/dist/twilight/{p-0aa1fc10.entry.js → p-52686e7d.entry.js} +1 -1
  242. package/dist/twilight/{p-386f7262.entry.js → p-52d2d246.entry.js} +1 -1
  243. package/dist/twilight/{p-432b5dc2.entry.js → p-53c2b30e.entry.js} +1 -1
  244. package/dist/twilight/{p-556d563d.entry.js → p-554e905e.entry.js} +1 -1
  245. package/dist/twilight/{p-9a029ffb.entry.js → p-561b7f43.entry.js} +1 -1
  246. package/dist/twilight/{p-cafc416d.entry.js → p-564007ad.entry.js} +1 -1
  247. package/dist/twilight/{p-113e46ae.entry.js → p-56bdf925.entry.js} +1 -1
  248. package/dist/twilight/{p-44bcc6ef.entry.js → p-589b4b5e.entry.js} +1 -1
  249. package/dist/twilight/{p-7a8e7d0f.entry.js → p-5da3194a.entry.js} +1 -1
  250. package/dist/twilight/{p-da47b179.entry.js → p-67a36054.entry.js} +1 -1
  251. package/dist/twilight/{p-dec3e314.entry.js → p-68fa49cc.entry.js} +1 -1
  252. package/dist/twilight/{p-b86e2768.entry.js → p-69498df8.entry.js} +1 -1
  253. package/dist/twilight/{p-OpqsYFJ7.js → p-6Cm0Ixpa.js} +2 -2
  254. package/dist/twilight/{p-c9403f34.entry.js → p-6c45e8fa.entry.js} +1 -1
  255. package/dist/twilight/{p-89c54193.entry.js → p-717782f4.entry.js} +1 -1
  256. package/dist/twilight/{p-9dc45831.entry.js → p-73409575.entry.js} +1 -1
  257. package/dist/twilight/{p-a85d96e2.entry.js → p-788c870c.entry.js} +1 -1
  258. package/dist/twilight/{p-9c3ff0a1.entry.js → p-7f805c47.entry.js} +1 -1
  259. package/dist/twilight/{p-48f717e0.entry.js → p-7ffd3938.entry.js} +1 -1
  260. package/dist/twilight/{p-0cc907b6.entry.js → p-819992c7.entry.js} +1 -1
  261. package/dist/twilight/{p-f933dbd9.entry.js → p-83a08f07.entry.js} +1 -1
  262. package/dist/twilight/{p-1ce6baf8.entry.js → p-86be6cee.entry.js} +1 -1
  263. package/dist/twilight/{p-6e230a2b.entry.js → p-87978156.entry.js} +1 -1
  264. package/dist/twilight/{p-b8acec24.entry.js → p-89bdd5e6.entry.js} +1 -1
  265. package/dist/twilight/{p-a3b2c406.entry.js → p-8d942086.entry.js} +1 -1
  266. package/dist/twilight/{p-2aa656f0.entry.js → p-8f0d2c32.entry.js} +1 -1
  267. package/dist/twilight/{p-f5a99491.entry.js → p-9b4d472b.entry.js} +1 -1
  268. package/dist/twilight/{p-d6b42548.entry.js → p-9e1f454d.entry.js} +1 -1
  269. package/dist/twilight/{p-CHlhCr-2.js → p-BGCZ19oG.js} +1 -1
  270. package/dist/twilight/{p-BAeNPoQd.js → p-Bc7fLLSC.js} +1 -1
  271. package/dist/twilight/{p-CiZS53-6.js → p-BxtnkpUH.js} +1 -1
  272. package/dist/twilight/{p-CZmvt3JS.js → p-C5-SqAXv.js} +1 -1
  273. package/dist/twilight/{p-XxMmLD82.js → p-CCzp4vsg.js} +1 -1
  274. package/dist/twilight/p-D9eZofcJ.js +4 -0
  275. package/dist/twilight/{p-4z9238xc.js → p-DEbQVTrF.js} +1 -1
  276. package/dist/twilight/{p-CjquqEh1.js → p-DNtvpIPH.js} +1 -1
  277. package/dist/twilight/{p-DcGM6DYo.js → p-D_Gt_HbS.js} +1 -1
  278. package/dist/twilight/{p-lbla8oyU.js → p-J5XAqGwq.js} +1 -1
  279. package/dist/twilight/{p-DizhqBLB.js → p-NWWejksc.js} +1 -1
  280. package/dist/twilight/{p-61ae022e.entry.js → p-a8aea13b.entry.js} +1 -1
  281. package/dist/twilight/{p-c191d2fc.entry.js → p-ab4d2172.entry.js} +1 -1
  282. package/dist/twilight/{p-9586467e.entry.js → p-ab565608.entry.js} +1 -1
  283. package/dist/twilight/{p-9aa7503c.entry.js → p-ada82ecc.entry.js} +1 -1
  284. package/dist/twilight/{p-d65cd0ca.entry.js → p-b25fd2a3.entry.js} +1 -1
  285. package/dist/twilight/{p-d47b2e4a.entry.js → p-bb2ecab7.entry.js} +1 -1
  286. package/dist/twilight/{p-dff8a0d3.entry.js → p-be76e4e7.entry.js} +1 -1
  287. package/dist/twilight/{p-87eaf990.entry.js → p-beb60b7e.entry.js} +1 -1
  288. package/dist/twilight/{p-f141b189.entry.js → p-c583a907.entry.js} +1 -1
  289. package/dist/twilight/{p-2ea272a5.entry.js → p-c81203f3.entry.js} +1 -1
  290. package/dist/twilight/{p-4532ccc9.entry.js → p-c86c3e12.entry.js} +1 -1
  291. package/dist/twilight/{p-bca4bdc7.entry.js → p-ccf623d3.entry.js} +1 -1
  292. package/dist/twilight/{p-40da7379.entry.js → p-d34e48ce.entry.js} +1 -1
  293. package/dist/twilight/{p-96be7ad7.entry.js → p-d618c0ee.entry.js} +1 -1
  294. package/dist/twilight/{p-ea7e46e8.entry.js → p-d6dba947.entry.js} +1 -1
  295. package/dist/twilight/{p-22c4ec76.entry.js → p-d8c3e606.entry.js} +1 -1
  296. package/dist/twilight/{p-b8a680fa.entry.js → p-db06baf6.entry.js} +1 -1
  297. package/dist/twilight/{p-89f289b8.entry.js → p-dd706055.entry.js} +1 -1
  298. package/dist/twilight/{p-e88b5134.entry.js → p-df7d2c53.entry.js} +1 -1
  299. package/dist/twilight/{p-928752cf.entry.js → p-dfc9dac3.entry.js} +1 -1
  300. package/dist/twilight/{p-d5c2fe58.entry.js → p-e902b0b4.entry.js} +1 -1
  301. package/dist/twilight/{p-271228e8.entry.js → p-eb8a0d2f.entry.js} +1 -1
  302. package/dist/twilight/{p-2d771a56.entry.js → p-ecb8c538.entry.js} +1 -1
  303. package/dist/twilight/{p-656f5c9f.entry.js → p-ed107904.entry.js} +1 -1
  304. package/dist/twilight/{p-658af936.entry.js → p-ee83c195.entry.js} +1 -1
  305. package/dist/twilight/{p-b1555436.entry.js → p-f48a00a8.entry.js} +1 -1
  306. package/dist/twilight/{p-f6741e14.entry.js → p-fa350b8c.entry.js} +1 -1
  307. package/dist/twilight/twilight.esm.js +1 -1
  308. package/dist/types/components/salla-gifting/salla-gifting.d.ts +23 -4
  309. package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +4 -0
  310. package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +8 -0
  311. package/dist/types/components.d.ts +18 -0
  312. package/package.json +5 -5
  313. package/dist/twilight/p-2a75ac14.entry.js +0 -4
  314. package/dist/twilight/p-644ab356.entry.js +0 -4
  315. package/dist/twilight/p-vtSaduZY.js +0 -4
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var check = require('./check-BnVBPQNp.js');
8
8
  var anime_es = require('./anime.es-BqW8JHZi.js');
9
9
  var Helper = require('./Helper-CU4Xuiki.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
8
8
  var mail = require('./mail-Bgvt2hc9.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var camera = require('./camera-DytepEoK.js');
8
8
  var interfaces = require('./interfaces-CRqrf5RX.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const DEBUG_KEY = 'salla-delivery-promise-debug';
9
9
  function log(message, data) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaEditOrderButtonCss = ":host{display:block}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.js');
8
8
  var interfaces = require('./interfaces-DZDQwN6-.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-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var interfaces = require('./interfaces-DZDQwN6-.js');
8
8
  var Helper = require('./Helper-CU4Xuiki.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-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const SallaFulfillmentMethods = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var arrowLeft = require('./arrow-left-xSEmRpp6.js');
9
9
  var cancel = require('./cancel-B5SbMYEk.js');
@@ -22,7 +22,7 @@ var Alert = `<!-- Generated by IcoMoon.io -->
22
22
  </svg>
23
23
  `;
24
24
 
25
- const sallaGiftingCss = ".s-gifting-steps-wrapper{transition:0.2s cubic-bezier(0.55, 0, 0.1, 1) 0s}.s-gifting-select{background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' fill='gray' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><title>keyboard_arrow_down</title><path d='M9.875 11.104l6.125 6.125 6.125-6.125 1.875 1.875-8 8-8-8z'></path></svg>\");background-size:24px;background-repeat:no-repeat;background-position:99%;appearance:none}[dir=rtl] .s-gifting-select{background-position:5px}.s-gifting-widget-vertical .s-list-tile-item [slot=title]{display:flex;align-items:center;gap:1.5rem}.s-gifting-widget-vertical .s-list-tile-item-content{width:100%}";
25
+ const sallaGiftingCss = ".s-gifting-steps-wrapper{transition:0.2s cubic-bezier(0.55, 0, 0.1, 1) 0s}.s-gifting-select{background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' fill='gray' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><title>keyboard_arrow_down</title><path d='M9.875 11.104l6.125 6.125 6.125-6.125 1.875 1.875-8 8-8-8z'></path></svg>\");background-size:24px;background-repeat:no-repeat;background-position:99%;appearance:none}[dir=rtl] .s-gifting-select{background-position:5px}.s-gifting-widget-vertical .s-list-tile-item [slot=title]{display:flex;align-items:center;gap:1.5rem}.s-gifting-widget-vertical .s-list-tile-item-content{width:100%}.s-gifting-modal .s-searchable-dropdown-trigger{border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger:hover:not(.s-searchable-dropdown-trigger--disabled){border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger--open,.s-gifting-modal .s-searchable-dropdown-trigger:focus{border-color:var(--color-primary, #00897b);box-shadow:0 0 0 1px var(--color-primary, #00897b)}.s-gifting-modal .s-searchable-dropdown-trigger-placeholder{color:#000}";
26
26
 
27
27
  const SallaGifting = class {
28
28
  constructor(hostRef) {
@@ -44,7 +44,17 @@ const SallaGifting = class {
44
44
  this.regions = [];
45
45
  this.selectedRegionId = undefined;
46
46
  this.isKSA = false;
47
+ this.selectedCountry = null;
48
+ this.selectedRegion = null;
49
+ this.displayedCities = [];
50
+ this.selectedCity = null;
51
+ this.searchingCities = false;
52
+ this.enableCityAjaxSearch = false;
53
+ this.citySearchQuery = '';
47
54
  this.step2Animated = false;
55
+ this.citySearchTimer = null;
56
+ this.citySearchCounter = 0;
57
+ this.locationRequestCounter = 0;
48
58
  this.showTextArea = false;
49
59
  /// Gift Form Data
50
60
  this.selectedImage = undefined;
@@ -58,6 +68,50 @@ const SallaGifting = class {
58
68
  * The form selector to be used to get the form data
59
69
  */
60
70
  this.formSelector = 'form.product-form, form.form--product-options';
71
+ this.handleCitySearch = (query) => {
72
+ this.citySearchQuery = query;
73
+ if (!this.enableCityAjaxSearch)
74
+ return;
75
+ if (this.citySearchTimer)
76
+ clearTimeout(this.citySearchTimer);
77
+ const requestId = ++this.citySearchCounter;
78
+ this.citySearchTimer = setTimeout(async () => {
79
+ this.searchingCities = true;
80
+ try {
81
+ const cities = await this.fetchCities(query);
82
+ if (requestId === this.citySearchCounter) {
83
+ this.displayedCities = cities;
84
+ }
85
+ }
86
+ catch (e) {
87
+ if (requestId === this.citySearchCounter) {
88
+ this.displayedCities = [];
89
+ }
90
+ }
91
+ finally {
92
+ if (requestId === this.citySearchCounter) {
93
+ this.searchingCities = false;
94
+ }
95
+ }
96
+ }, SallaGifting.CITY_SEARCH_DEBOUNCE_MS);
97
+ };
98
+ this.handleCitySelected = (city) => {
99
+ this.selectedCity = city;
100
+ this.receiverCity = String(city.id);
101
+ this.clearError('receiver.city_id');
102
+ };
103
+ this.handleCityDropdownClosed = () => {
104
+ this.citySearchQuery = '';
105
+ if (this.citySearchTimer) {
106
+ clearTimeout(this.citySearchTimer);
107
+ this.citySearchTimer = null;
108
+ }
109
+ ++this.citySearchCounter;
110
+ this.displayedCities = this.gift?.cities ?? [];
111
+ this.searchingCities = false;
112
+ };
113
+ this.handleCountryDropdownClosed = () => { };
114
+ this.handleRegionDropdownClosed = () => { };
61
115
  salla.lang.onLoaded(() => {
62
116
  this.selectImageOrUpload = salla.lang.get('blocks.buy_as_gift.select_image_or_upload');
63
117
  this.selectImageForYourGift = salla.lang.get('blocks.buy_as_gift.select_image_for_your_gift');
@@ -331,24 +385,58 @@ const SallaGifting = class {
331
385
  this.receiverName = event.target.value;
332
386
  this.clearError('receiver.name');
333
387
  }
334
- handleReceiverCity(event) {
335
- this.receiverCity = event.target.value;
336
- this.clearError('receiver.city_id');
388
+ resetCityState() {
389
+ if (this.citySearchTimer) {
390
+ clearTimeout(this.citySearchTimer);
391
+ this.citySearchTimer = null;
392
+ }
393
+ ++this.citySearchCounter;
394
+ this.gift = { ...this.gift, cities: [] };
395
+ this.displayedCities = [];
396
+ this.receiverCity = undefined;
397
+ this.selectedCity = null;
398
+ this.citySearchQuery = '';
399
+ this.searchingCities = false;
400
+ this.enableCityAjaxSearch = false;
401
+ }
402
+ setInitialCities(cities) {
403
+ this.gift = { ...this.gift, cities };
404
+ this.displayedCities = cities;
405
+ this.enableCityAjaxSearch = cities.length >= SallaGifting.CITY_AJAX_THRESHOLD;
406
+ }
407
+ async fetchCities(query = '') {
408
+ if (!this.selectedCountryId)
409
+ return [];
410
+ if (this.isKSA && !this.selectedRegionId)
411
+ return [];
412
+ const params = [
413
+ 'for_branch=0',
414
+ `country_id=${this.selectedCountryId}`,
415
+ ];
416
+ if (this.isKSA && this.selectedRegionId) {
417
+ params.push(`region_id=${this.selectedRegionId}`);
418
+ }
419
+ if (query?.trim()) {
420
+ params.push(`query=${encodeURIComponent(query.trim())}`);
421
+ }
422
+ const response = await salla.api.request(`shipping/cities?${params.join('&')}`);
423
+ return response?.data ?? [];
337
424
  }
338
- async handleCountryChange(event) {
339
- const countryId = Number(event.target.value);
425
+ async handleCountrySelected(country) {
426
+ const countryId = country?.id;
427
+ this.selectedCountry = country ?? null;
340
428
  this.selectedCountryId = countryId;
429
+ this.selectedCountryCode = country?.country_code;
430
+ this.isKSA = country?.country_code === 'SA';
341
431
  this.clearError('receiver.country');
342
- // Find the selected country and store its country_code
343
- const selectedCountry = this.gift?.countries?.find(country => country.id == countryId);
344
- this.selectedCountryCode = selectedCountry?.country_code;
345
- this.isKSA = selectedCountry?.country_code === 'SA';
346
- // Reset region and city
432
+ // Reset region and city; bump request counter so in-flight loads from a
433
+ // previous country/region selection get discarded when they resolve.
347
434
  this.regions = [];
348
435
  this.selectedRegionId = undefined;
349
- this.gift = { ...this.gift, cities: [] };
350
- this.receiverCity = undefined;
351
- if (!countryId || this.gift?.countries?.length === 0) {
436
+ this.selectedRegion = null;
437
+ this.resetCityState();
438
+ const requestId = ++this.locationRequestCounter;
439
+ if (!countryId) {
352
440
  this.selectedCountryCode = undefined;
353
441
  this.isKSA = false;
354
442
  this.setWrapperHeight(2, 0, 0);
@@ -360,16 +448,22 @@ const SallaGifting = class {
360
448
  this.setWrapperHeight(2, 0, 0);
361
449
  try {
362
450
  const response = await salla.api.request(`shipping/countries/${countryId}/regions`);
451
+ if (requestId !== this.locationRequestCounter)
452
+ return;
363
453
  if (response && response.data) {
364
454
  this.regions = response.data;
365
455
  }
366
456
  }
367
457
  catch (error) {
458
+ if (requestId !== this.locationRequestCounter)
459
+ return;
368
460
  console.error('Error fetching regions:', error);
369
461
  }
370
462
  finally {
371
- this.loadingRegions = false;
372
- this.setWrapperHeight(2, 0, 0);
463
+ if (requestId === this.locationRequestCounter) {
464
+ this.loadingRegions = false;
465
+ this.setWrapperHeight(2, 0, 0);
466
+ }
373
467
  }
374
468
  }
375
469
  else {
@@ -377,41 +471,51 @@ const SallaGifting = class {
377
471
  this.loadingCities = true;
378
472
  this.setWrapperHeight(2, 0, 0);
379
473
  try {
380
- const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${countryId}`);
381
- if (response && response.data) {
382
- this.gift = { ...this.gift, cities: response.data };
383
- }
474
+ const cities = await this.fetchCities();
475
+ if (requestId !== this.locationRequestCounter)
476
+ return;
477
+ this.setInitialCities(cities);
384
478
  }
385
479
  catch (error) {
480
+ if (requestId !== this.locationRequestCounter)
481
+ return;
386
482
  console.error('Error fetching cities:', error);
387
483
  }
388
484
  finally {
389
- this.loadingCities = false;
485
+ if (requestId === this.locationRequestCounter) {
486
+ this.loadingCities = false;
487
+ }
390
488
  }
391
489
  }
392
490
  }
393
- async handleRegionChange(event) {
394
- const regionId = Number(event.target.value);
491
+ async handleRegionSelected(region) {
492
+ const regionId = region?.id;
493
+ this.selectedRegion = region ?? null;
395
494
  this.selectedRegionId = regionId;
396
495
  this.clearError('receiver.region');
397
- // Reset city when region changes
398
- this.gift = { ...this.gift, cities: [] };
399
- this.receiverCity = undefined;
496
+ // Reset city when region changes; bump request counter so any earlier
497
+ // in-flight city fetch (for a previous region) is discarded on resolve.
498
+ this.resetCityState();
499
+ const requestId = ++this.locationRequestCounter;
400
500
  if (!regionId)
401
501
  return;
402
502
  this.loadingCities = true;
403
503
  try {
404
- const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${this.selectedCountryId}&region_id=${regionId}`);
405
- if (response && response.data) {
406
- this.gift = { ...this.gift, cities: response.data };
407
- }
504
+ const cities = await this.fetchCities();
505
+ if (requestId !== this.locationRequestCounter)
506
+ return;
507
+ this.setInitialCities(cities);
408
508
  }
409
509
  catch (error) {
510
+ if (requestId !== this.locationRequestCounter)
511
+ return;
410
512
  console.error('Error fetching cities:', error);
411
513
  }
412
514
  finally {
413
- this.loadingCities = false;
414
- this.setWrapperHeight(2, 0, 0);
515
+ if (requestId === this.locationRequestCounter) {
516
+ this.loadingCities = false;
517
+ this.setWrapperHeight(2, 0, 0);
518
+ }
415
519
  }
416
520
  }
417
521
  handleUploadImage(img) {
@@ -556,7 +660,7 @@ const SallaGifting = class {
556
660
  }
557
661
  render() {
558
662
  return [
559
- index.h("div", { key: '2bc4ff1b223c9b1f2e50e36c7f6e6f0448f5a51d' }, index.h("salla-list-tile", { key: 'b5cf74b6d00c292a1c654c695d316a0a34e70c30', class: this.generateClass() }, index.h("div", { key: '2e229e46039a9bbf071bc65534733c9da61545f8', slot: "title" }, this.vertical ? index.h("span", { innerHTML: giftSharing.SIGiftSharing }) : '', index.h("h3", { key: 'b067244c213dd0c3c64f795f07b4c27f57c661f5' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'a8804b65526bfde36bbb82302d667bc10052ff4b', slot: "subtitle" }, index.h("div", { key: 'cf2ca350ab3884baa192ce1c043719eb8f9a0120' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: 'f68182d4324c4b56893b63e046e4298c519e449e', slot: "action" }, index.h("salla-button", { key: '6cf71ec0311dfe7804f4634ae1203e0ae65150be', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: '9b00d0c0c7a594e7e9635a79a6b4a472da73ebe3', name: "widget-btn-content" }, index.h("div", { key: 'a73ed9d6322c4484180f68e7c8fb7a3b4e5bdb8a', class: "s-gifting-widget-action-content" }, index.h("span", { key: '0ce7ec753ab1ec30269127a8426a36d55d983a6e', innerHTML: giftSharing.SIGiftSharing }), " \u00A0", index.h("span", { key: 'ae35a5669a30e7abb61e5d540224c2be5baae82a' }, this.sectionBtnText)))))), index.h("salla-modal", { key: 'dee19984ecc71f6e10c330121361359d00408448', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: '10eee2481652b157c44b16d34097ffcce9325d81', slot: "loading" }, index.h("div", { key: '325446006a0bf5d6d480c8935912fe976ccd453d', class: "s-gifting-skeleton" }, index.h("div", { key: 'f256cc302b946906262450f0bb023912d034aa13', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: '75bf0e81841a4c41e4105f19bd3e4fbf67ece325', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: '64661720e2f94f6d8b86087d3a03538a1a419202', class: "s-gifting-modal-title" }, index.h("div", { key: 'd5000d6903f5a7b61beb6a0a88291953e1344ba3', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: '07efd33b877468df617bab4cd2f1b73e73f2d284', height: '15px', width: '150px' })))), index.h("div", { key: '6fb9d9abf7e211a6ecc45ee50283d37d1755b220', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: 'ed76848f4c017334dea4f12c07ec6556646c397f', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'cfe3e107536dac9e5b1524770eb6990ab3b6460b', height: '230px' }), index.h("salla-skeleton", { key: 'a35af25d98f5758bf442759841536fed09f6cdd2', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: '6950704fb24a07807542723f2752b6a734090d42', height: '30px' }), index.h("salla-skeleton", { key: 'bd65f98a07ee8d041434b9b475ce4c355318f586', height: '40px' })))), index.h("slot", { key: 'e946b5c7a4146d0118d321d860d332d17c3f931e', name: "header" }), !!this.hasError ?
663
+ index.h("div", { key: 'db700f9ec96a6974f3b815bb017ebe97ae8fe5c0' }, index.h("salla-list-tile", { key: '1e2fd1c0b375c85fcd4af1ea071c36879e6913c5', class: this.generateClass() }, index.h("div", { key: 'a9d02c933bc13bf8765e7e91ce08b2c9495954e5', slot: "title" }, this.vertical ? index.h("span", { innerHTML: giftSharing.SIGiftSharing }) : '', index.h("h3", { key: '56bd850368806c6ed5770ea5f6b0339749a77dfa' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), index.h("div", { key: 'fbb4940fd3e3578f2f5a479d9d44be8dfbda7e43', slot: "subtitle" }, index.h("div", { key: 'fb7e8532984fbfc6fd61c55a6d44d7cdbb4bc9a2' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), index.h("div", { key: '04f27f1ddbfa0b06be111b6c3176fbda5ea6d43a', slot: "action" }, index.h("salla-button", { key: 'fe71a1a773e5275ede7d1b3ea535c330688028b7', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, index.h("slot", { key: 'd62127d30254df2d8add55e0e1dbcfefb686e359', name: "widget-btn-content" }, index.h("div", { key: '5ddbb695af142baf3bb6986627f97a7a7607eb31', class: "s-gifting-widget-action-content" }, index.h("span", { key: '7820fb6abd9d7a9c1035c0f80191a3ff2a4c5fe8', innerHTML: giftSharing.SIGiftSharing }), " \u00A0", index.h("span", { key: '2cfc69862d3d087375efaed3bcec0ff0c1587989' }, this.sectionBtnText)))))), index.h("salla-modal", { key: '32c19391248ba6186f43fea59493171079e7bf07', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, index.h("div", { key: 'e4b5829416314f25793158dae0c530b8057b4085', slot: "loading" }, index.h("div", { key: '6ee873add5868f105b7ec7291c2a8c8fc033c588', class: "s-gifting-skeleton" }, index.h("div", { key: '40aae38f8b2d62b434394811a3ef6d8bc00f6f32', class: "s-gifting-modal-header" }, index.h("salla-skeleton", { key: 'a652cd74a16d0db662ea4a518ebfab366a3c3899', type: 'circle', height: '5rem', width: '5rem' }), index.h("h2", { key: 'edb4a1477893246e98207aeba7bfb5af686f20b9', class: "s-gifting-modal-title" }, index.h("div", { key: '83ef942b15450cc59ad32d8c5b3ba43a32bcb29c', class: "s-gifting-modal-badge-wrapper" }, index.h("salla-skeleton", { key: 'd9041c777a2fa0aa7ffc752958c7441916a02f85', height: '15px', width: '150px' })))), index.h("div", { key: 'fe3bb9dad01becba87486c4886037fd67b059919', class: "s-gifting-skeleton-content" }, index.h("salla-skeleton", { key: '08bd8304b66264b70f6df68e64da3560a1f75461', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'bbea0d7ff0c846897af2ef5d3696b252a2f4e662', height: '230px' }), index.h("salla-skeleton", { key: '8cb1fde02e31a1accabd2e26409983e7ba56eeb1', height: '10px', width: '150px' }), index.h("salla-skeleton", { key: 'f80a986b953278bac41505506adf8d611566a167', height: '30px' }), index.h("salla-skeleton", { key: 'f7eccce69b619de385872642e1fb62b2cf6c3082', height: '40px' })))), index.h("slot", { key: 'd299e46040193b441f8171d05e0048849e3df8d5', name: "header" }), !!this.hasError ?
560
664
  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" }, " "))
561
665
  :
562
666
  [
@@ -569,17 +673,19 @@ const SallaGifting = class {
569
673
  index.h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), index.h("input", { type: "text", class: "s-form-control", name: "receiver_name", id: "receiver_name", value: "", onInput: (event) => this.handleReceiverName(event), placeholder: "" }), this.errors && this.errors['receiver.name'] ?
570
674
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), index.h("salla-tel-input", { class: "s-gifting-tel-input", phone: this.receiverMobile, countryCode: this.receiverCountryCode, onPhoneEntered: (e) => this.handlePhoneInputChange(e) }), this.errors && this.errors['receiver.mobile'] ?
571
675
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.isPhysical() &&
572
- index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.country'] ? 's-form-group s-form-has-error' : 's-form-group') }, 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'] ?
676
+ index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.country'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label", htmlFor: `${this.hostId}-country` }, this.receiverCountryFieldLabel), index.h("salla-searchable-dropdown", { placeholder: this.selectCountry, items: this.gift?.countries ?? [], selectedItem: this.selectedCountry, disabled: !this.gift?.countries?.length, required: true, inputId: `${this.hostId}-country`, searchable: false, keepParentScroll: true, onItemSelected: (e) => this.handleCountrySelected(e.detail), onDropdownClosed: () => this.handleCountryDropdownClosed() }), this.errors && this.errors['receiver.country'] ?
573
677
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), this.isPhysical() && this.isKSA &&
574
- index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverRegionFieldLabel), index.h("select", { name: "region", class: "s-form-control", onChange: (event) => this.handleRegionChange(event), disabled: this.loadingRegions }, index.h("option", { value: "", selected: true }, this.loadingRegions ? salla.lang.get('common.elements.loading') : this.selectRegion), this.regions?.map((region) => (index.h("option", { value: region.id }, region.name)))), this.errors && this.errors['receiver.region'] ?
678
+ index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label", htmlFor: `${this.hostId}-region` }, this.receiverRegionFieldLabel), index.h("salla-searchable-dropdown", { placeholder: this.selectRegion, items: this.regions ?? [], selectedItem: this.selectedRegion, loading: this.loadingRegions, disabled: this.loadingRegions || !this.regions?.length, required: true, inputId: `${this.hostId}-region`, searchable: false, keepParentScroll: true, onItemSelected: (e) => this.handleRegionSelected(e.detail), onDropdownClosed: () => this.handleRegionDropdownClosed() }), this.errors && this.errors['receiver.region'] ?
575
679
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.isPhysical() &&
576
- index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), index.h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, 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'] ?
680
+ index.h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, index.h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), index.h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
577
681
  index.h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
578
682
  index.h("div", { class: this.step2ItemClass('s-gifting-info') }, index.h("span", { innerHTML: Alert }), index.h("span", null, this.selectCityInfo)), !this.isPhysical() && index.h("div", { class: this.step2ItemClass() }, 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: this.step2ItemClass('s-gifting-step-two-footer') }, 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)))))
579
- ], index.h("slot", { key: '579cbbcc59818051def887c38e4d0eed6e690737', name: "footer" })))
683
+ ], index.h("slot", { key: 'bd8cd1628ed4282b177f0ddcd5fb93289c47b4d6', name: "footer" })))
580
684
  ];
581
685
  }
582
686
  };
687
+ SallaGifting.CITY_AJAX_THRESHOLD = 400;
688
+ SallaGifting.CITY_SEARCH_DEBOUNCE_MS = 100;
583
689
  SallaGifting.style = sallaGiftingCss;
584
690
 
585
691
  exports.salla_gifting = SallaGifting;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const SallaHook = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var Helper = require('./Helper-CU4Xuiki.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-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaListTileCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const SallaLocalizationModal = class {
9
9
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
9
9
 
@@ -3,10 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var translations = require('./translations-DMwpLvqi.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
- var trackedPromise = require('./tracked-promise-BLOn0DiZ.js');
9
+ var trackedPromise = require('./tracked-promise-YvbHmmFp.js');
10
10
 
11
11
  const sallaLoyaltyProgramCss = "";
12
12
 
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
7
- var functions = require('./functions-lGTNolKl.js');
6
+ var index = require('./index-DQZXng_4.js');
7
+ var functions = require('./functions-9Nj0nrLx.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
  var cart2 = require('./cart2-B98PSAFN.js');
10
10
  var userAdd = require('./user-add-BCGrddZS.js');
@@ -3,15 +3,15 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var translations = require('./translations-DMwpLvqi.js');
8
- var functions = require('./functions-lGTNolKl.js');
8
+ var functions = require('./functions-9Nj0nrLx.js');
9
9
  var star2 = require('./star2-R146a27p.js');
10
10
  var cancel = require('./cancel-B5SbMYEk.js');
11
11
  var percentage = require('./percentage-Fs83gq6Q.js');
12
12
  var shipping = require('./shipping-CPYcgyCL.js');
13
13
  var cart2 = require('./cart2-B98PSAFN.js');
14
- var trackedPromise = require('./tracked-promise-BLOn0DiZ.js');
14
+ var trackedPromise = require('./tracked-promise-YvbHmmFp.js');
15
15
 
16
16
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
17
17
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var translations = require('./translations-DMwpLvqi.js');
8
8
 
9
9
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
 
8
8
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
9
9
 
@@ -3,16 +3,16 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var translations = require('./translations-DMwpLvqi.js');
8
- var functions = require('./functions-lGTNolKl.js');
8
+ var functions = require('./functions-9Nj0nrLx.js');
9
9
  var percentage = require('./percentage-Fs83gq6Q.js');
10
10
  var shipping = require('./shipping-CPYcgyCL.js');
11
11
  var cart2 = require('./cart2-B98PSAFN.js');
12
12
  var userAdd = require('./user-add-BCGrddZS.js');
13
13
  var giftSharing = require('./gift-sharing-BE0uszUm.js');
14
14
  var gift = require('./gift-DbNivqYO.js');
15
- var trackedPromise = require('./tracked-promise-BLOn0DiZ.js');
15
+ var trackedPromise = require('./tracked-promise-YvbHmmFp.js');
16
16
  var anime_es = require('./anime.es-BqW8JHZi.js');
17
17
 
18
18
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
7
- var functions = require('./functions-lGTNolKl.js');
6
+ var index = require('./index-DQZXng_4.js');
7
+ var functions = require('./functions-9Nj0nrLx.js');
8
8
  var gift = require('./gift-DbNivqYO.js');
9
9
 
10
10
  const sallaLoyaltyProgramCss = "";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var cancel = require('./cancel-B5SbMYEk.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-BjjfvdmF.js');
6
+ var index = require('./index-DQZXng_4.js');
7
7
  var cancel = require('./cancel-B5SbMYEk.js');
8
8
 
9
9
  const sallaMaintenanceAlertCss = ".s-maintenance-alert-wrapper{display:flex;min-height:40px;width:100%;flex-direction:row;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(26, 38, 61, var(--tw-bg-opacity));padding:0.25rem 0.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-wrapper a{transition:0.35s cubic-bezier(0.2, 1, 0.3, 1)}.s-maintenance-alert-wrapper *{color:inherit}@media (min-width: 640px){.s-maintenance-alert-wrapper{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-content{margin-top:1rem;margin-bottom:1rem;display:flex;width:100%;align-items:center;justify-content:space-between}@media (min-width: 640px){.s-maintenance-alert-content{padding-left:2rem;padding-right:2rem}}.s-maintenance-alert-container{display:flex;align-items:center}.s-maintenance-alert-icon{margin-right:1.25rem;display:none}@media (min-width: 640px){.s-maintenance-alert-icon{display:block}}.s-maintenance-alert-text h2{margin-bottom:0.5rem;font-size:0.875rem;font-weight:700;line-height:1.4}@media (min-width: 640px){.s-maintenance-alert-text h2{font-size:1.5rem;line-height:2rem}}.s-maintenance-alert-text p{margin:0px;text-align:right;font-size:10px;line-height:1.2}@media (min-width: 640px){.s-maintenance-alert-text p{text-align:center;font-size:0.75rem;line-height:1}}.s-maintenance-alert-btn{position:relative;margin-left:4px;margin-right:4px;display:inline-block;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;border-radius:0.125rem;border-width:1px;--tw-border-opacity:1;border-color:rgba(93, 213, 196, var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(93, 213, 196, var(--tw-bg-opacity));padding:0.5rem;text-align:center;vertical-align:middle;font-size:0.875rem;font-weight:400;line-height:1.4;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.s-maintenance-alert-btn:hover{--tw-bg-opacity:1;background-color:rgba(53, 203, 181, var(--tw-bg-opacity))}.s-maintenance-alert-btn *{pointer-events:none}[dir=rtl] .s-maintenance-alert-btn{margin-left:1.25rem;margin-right:0}@media (min-width: 640px){.s-maintenance-alert-btn{padding:0.5rem 1rem}}";