@salla.sa/twilight-components 2.14.444 → 2.14.446

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 (318) hide show
  1. package/dist/cjs/{filepond-plugin-file-poster-CmQuPQcY.js → filepond-plugin-file-poster-DXUkwq91.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-validate-size-sGTAJHie.js → filepond-plugin-file-validate-size-CmWT-l1o.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-type-DhXaHZZZ.js → filepond-plugin-file-validate-type-CI-SRLe5.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-image-edit-Cj8JCfAN.js → filepond-plugin-image-edit-D0ccVwFm.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-exif-orientation-32JSai7q.js → filepond-plugin-image-exif-orientation-CC7CmDIV.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-preview-BKmavM3U.js → filepond-plugin-image-preview-DOMTJIsr.js} +1 -1
  7. package/dist/cjs/{filepond-Bbj7PmYR.js → filepond-rDr-05NK.js} +1 -1
  8. package/dist/cjs/{functions-lGTNolKl.js → functions-BrD7nRK2.js} +1 -1
  9. package/dist/cjs/{index-BSEEzSJv.js → index-BBFmWakU.js} +1 -1
  10. package/dist/cjs/{index-BjjfvdmF.js → index-DA8jhZqT.js} +2 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
  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-vD81wqoM.js} +1 -1
  99. package/dist/cjs/twilight.cjs.js +2 -2
  100. package/dist/cjs/{vanilla-picker-C5CI4VSj.js → vanilla-picker-Dc4-oPc4.js} +1 -1
  101. package/dist/collection/components/salla-bought-together/salla-bought-together.js +1 -1
  102. package/dist/collection/components/salla-gifting/salla-gifting.css +15 -0
  103. package/dist/collection/components/salla-gifting/salla-gifting.js +149 -36
  104. package/dist/collection/components/salla-order-edit/salla-order-edit.js +16 -4
  105. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +97 -41
  106. package/dist/components/index.js +2 -2
  107. package/dist/components/salla-bought-together.js +1 -1
  108. package/dist/components/salla-gifting.js +170 -51
  109. package/dist/components/salla-order-edit.js +16 -4
  110. package/dist/components/salla-searchable-dropdown2.js +59 -41
  111. package/dist/esm/{filepond-BFX6xxhJ.js → filepond-CpYF7JQY.js} +1 -1
  112. package/dist/esm/{filepond-plugin-file-poster-DwMxJsyL.js → filepond-plugin-file-poster-ob6i92P3.js} +1 -1
  113. package/dist/esm/{filepond-plugin-file-validate-size-BFwbB1wr.js → filepond-plugin-file-validate-size-h8AHfyQH.js} +1 -1
  114. package/dist/esm/{filepond-plugin-file-validate-type-9VetG0aO.js → filepond-plugin-file-validate-type-BPLx-hfr.js} +1 -1
  115. package/dist/esm/{filepond-plugin-image-edit-DqIgezI-.js → filepond-plugin-image-edit-B7wPe8-3.js} +1 -1
  116. package/dist/esm/{filepond-plugin-image-exif-orientation-B97i5tWf.js → filepond-plugin-image-exif-orientation-e7W60Y2D.js} +1 -1
  117. package/dist/esm/{filepond-plugin-image-preview-eGkx8PnH.js → filepond-plugin-image-preview-DOov9hTx.js} +1 -1
  118. package/dist/esm/{functions-C1QgrjTx.js → functions-BRfvCQ-R.js} +1 -1
  119. package/dist/esm/{index-CjquqEh1.js → index-DryPCgN9.js} +2 -2
  120. package/dist/esm/{index-BU_MkqNl.js → index-nKWbBz_d.js} +1 -1
  121. package/dist/esm/loader.js +3 -3
  122. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  123. package/dist/esm/salla-accordion_6.entry.js +1 -1
  124. package/dist/esm/salla-add-product-button_5.entry.js +2 -2
  125. package/dist/esm/salla-advertisement.entry.js +1 -1
  126. package/dist/esm/salla-alert_2.entry.js +1 -1
  127. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  128. package/dist/esm/salla-apps-icons.entry.js +1 -1
  129. package/dist/esm/salla-badge.entry.js +1 -1
  130. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  131. package/dist/esm/salla-bullet-delivery_2.entry.js +58 -42
  132. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  133. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  134. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  135. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  136. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  137. package/dist/esm/salla-contacts.entry.js +1 -1
  138. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  139. package/dist/esm/salla-count-down.entry.js +1 -1
  140. package/dist/esm/salla-custom-fields.entry.js +1 -1
  141. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  142. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  143. package/dist/esm/salla-filters-widget.entry.js +1 -1
  144. package/dist/esm/salla-filters.entry.js +1 -1
  145. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  146. package/dist/esm/salla-gifting.entry.js +144 -38
  147. package/dist/esm/salla-hook.entry.js +1 -1
  148. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  149. package/dist/esm/salla-installment.entry.js +1 -1
  150. package/dist/esm/salla-list-tile.entry.js +1 -1
  151. package/dist/esm/salla-localization-modal.entry.js +1 -1
  152. package/dist/esm/salla-login-modal.entry.js +1 -1
  153. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  154. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  155. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  156. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  157. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  158. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  159. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  160. package/dist/esm/salla-loyalty.entry.js +1 -1
  161. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  162. package/dist/esm/salla-map.entry.js +1 -1
  163. package/dist/esm/salla-menu.entry.js +1 -1
  164. package/dist/esm/salla-metadata.entry.js +1 -1
  165. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  166. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  167. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  168. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  169. package/dist/esm/salla-notification-item.entry.js +1 -1
  170. package/dist/esm/salla-notifications.entry.js +1 -1
  171. package/dist/esm/salla-offer-modal.entry.js +1 -1
  172. package/dist/esm/salla-offer.entry.js +1 -1
  173. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  174. package/dist/esm/salla-order-details-options.entry.js +1 -1
  175. package/dist/esm/salla-order-details.entry.js +1 -1
  176. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  177. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  178. package/dist/esm/salla-order-edit.entry.js +15 -4
  179. package/dist/esm/salla-order-summary.entry.js +1 -1
  180. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  181. package/dist/esm/salla-orders.entry.js +1 -1
  182. package/dist/esm/salla-payments.entry.js +1 -1
  183. package/dist/esm/salla-placeholder.entry.js +1 -1
  184. package/dist/esm/salla-price-range.entry.js +1 -1
  185. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  186. package/dist/esm/salla-product-card_2.entry.js +1 -1
  187. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  188. package/dist/esm/salla-products-list.entry.js +1 -1
  189. package/dist/esm/salla-progress-bar.entry.js +1 -1
  190. package/dist/esm/salla-quick-order.entry.js +1 -1
  191. package/dist/esm/salla-rating-modal.entry.js +1 -1
  192. package/dist/esm/salla-reward-action_4.entry.js +3 -3
  193. package/dist/esm/salla-scopes.entry.js +1 -1
  194. package/dist/esm/salla-search.entry.js +1 -1
  195. package/dist/esm/salla-skeleton.entry.js +1 -1
  196. package/dist/esm/salla-slider.entry.js +1 -1
  197. package/dist/esm/salla-social-share.entry.js +1 -1
  198. package/dist/esm/salla-social.entry.js +1 -1
  199. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  200. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  201. package/dist/esm/salla-tooltip.entry.js +1 -1
  202. package/dist/esm/salla-trust-badges.entry.js +1 -1
  203. package/dist/esm/salla-user-menu.entry.js +1 -1
  204. package/dist/esm/salla-user-profile.entry.js +1 -1
  205. package/dist/esm/salla-user-settings.entry.js +1 -1
  206. package/dist/esm/salla-verify.entry.js +1 -1
  207. package/dist/esm/salla-wallet.entry.js +1 -1
  208. package/dist/esm/{tracked-promise-CHodYJuF.js → tracked-promise-x7FFO6oF.js} +1 -1
  209. package/dist/esm/twilight.js +3 -3
  210. package/dist/esm/{vanilla-picker-Dz2cnaJm.js → vanilla-picker-WM2eU5Jq.js} +1 -1
  211. package/dist/twilight/{p-7e5bd688.entry.js → p-02281f9b.entry.js} +1 -1
  212. package/dist/twilight/{p-4532ccc9.entry.js → p-02be2d0d.entry.js} +1 -1
  213. package/dist/twilight/{p-4858fee7.entry.js → p-04bf282e.entry.js} +1 -1
  214. package/dist/twilight/{p-bdb97cd6.entry.js → p-06254080.entry.js} +1 -1
  215. package/dist/twilight/{p-86cdc4f0.entry.js → p-0fbc1adc.entry.js} +1 -1
  216. package/dist/twilight/{p-d876814e.entry.js → p-1a8ffb6a.entry.js} +1 -1
  217. package/dist/twilight/{p-ce3c2d87.entry.js → p-25b0ee17.entry.js} +1 -1
  218. package/dist/twilight/{p-44bcc6ef.entry.js → p-27954727.entry.js} +1 -1
  219. package/dist/twilight/{p-113e46ae.entry.js → p-306017cc.entry.js} +1 -1
  220. package/dist/twilight/{p-2ea272a5.entry.js → p-3158d2a9.entry.js} +1 -1
  221. package/dist/twilight/{p-da47b179.entry.js → p-362d1920.entry.js} +1 -1
  222. package/dist/twilight/{p-efca806c.entry.js → p-372ff04c.entry.js} +1 -1
  223. package/dist/twilight/{p-d65cd0ca.entry.js → p-38334780.entry.js} +1 -1
  224. package/dist/twilight/{p-1ce6baf8.entry.js → p-385277f9.entry.js} +1 -1
  225. package/dist/twilight/{p-0bc373c3.entry.js → p-38c40f88.entry.js} +1 -1
  226. package/dist/twilight/{p-30159ed2.entry.js → p-392bac91.entry.js} +1 -1
  227. package/dist/twilight/{p-9aa7503c.entry.js → p-39e59627.entry.js} +1 -1
  228. package/dist/twilight/{p-9dc45831.entry.js → p-3c8531fd.entry.js} +1 -1
  229. package/dist/twilight/{p-f6741e14.entry.js → p-3ea0a5bb.entry.js} +1 -1
  230. package/dist/twilight/{p-e88b5134.entry.js → p-4139872a.entry.js} +1 -1
  231. package/dist/twilight/{p-9c3ff0a1.entry.js → p-41b5d22c.entry.js} +1 -1
  232. package/dist/twilight/{p-556d563d.entry.js → p-426a869c.entry.js} +1 -1
  233. package/dist/twilight/{p-bca4bdc7.entry.js → p-43420d4d.entry.js} +1 -1
  234. package/dist/twilight/{p-c9403f34.entry.js → p-43e5cb00.entry.js} +1 -1
  235. package/dist/twilight/{p-0cc907b6.entry.js → p-46b2f44a.entry.js} +1 -1
  236. package/dist/twilight/{p-89f289b8.entry.js → p-47ac0d89.entry.js} +1 -1
  237. package/dist/twilight/{p-f933dbd9.entry.js → p-4b0747a1.entry.js} +1 -1
  238. package/dist/twilight/{p-928752cf.entry.js → p-4e8a8906.entry.js} +1 -1
  239. package/dist/twilight/{p-22ac20fb.entry.js → p-4eb51d3e.entry.js} +1 -1
  240. package/dist/twilight/{p-dec3e314.entry.js → p-56af742e.entry.js} +1 -1
  241. package/dist/twilight/{p-b07ea02e.entry.js → p-56f5aac9.entry.js} +1 -1
  242. package/dist/twilight/{p-89c54193.entry.js → p-57e63e76.entry.js} +1 -1
  243. package/dist/twilight/{p-386f7262.entry.js → p-5f08f47d.entry.js} +1 -1
  244. package/dist/twilight/{p-9a029ffb.entry.js → p-63dd5a3c.entry.js} +1 -1
  245. package/dist/twilight/{p-7a8e7d0f.entry.js → p-65421b04.entry.js} +1 -1
  246. package/dist/twilight/{p-a85d96e2.entry.js → p-66b9efc0.entry.js} +1 -1
  247. package/dist/twilight/{p-345fade3.entry.js → p-691abee2.entry.js} +1 -1
  248. package/dist/twilight/{p-b1555436.entry.js → p-6b2d84be.entry.js} +1 -1
  249. package/dist/twilight/{p-c02a27a5.entry.js → p-6c25d9f0.entry.js} +1 -1
  250. package/dist/twilight/{p-658af936.entry.js → p-6e33dad3.entry.js} +1 -1
  251. package/dist/twilight/{p-c65eb0ee.entry.js → p-70e5fcb0.entry.js} +1 -1
  252. package/dist/twilight/{p-d5c2fe58.entry.js → p-740ccc8e.entry.js} +1 -1
  253. package/dist/twilight/{p-9586467e.entry.js → p-7447b19b.entry.js} +1 -1
  254. package/dist/twilight/p-752c4d55.entry.js +4 -0
  255. package/dist/twilight/{p-f141b189.entry.js → p-7b91245f.entry.js} +1 -1
  256. package/dist/twilight/{p-b86e2768.entry.js → p-85911960.entry.js} +1 -1
  257. package/dist/twilight/{p-87eaf990.entry.js → p-86e3a8fc.entry.js} +1 -1
  258. package/dist/twilight/{p-4fbe9195.entry.js → p-891d0baa.entry.js} +1 -1
  259. package/dist/twilight/{p-a3b2c406.entry.js → p-96ce2dbc.entry.js} +1 -1
  260. package/dist/twilight/{p-lbla8oyU.js → p-B09zahHa.js} +1 -1
  261. package/dist/twilight/{p-OpqsYFJ7.js → p-CW4u-F7Z.js} +1 -1
  262. package/dist/twilight/{p-BAeNPoQd.js → p-Cqvb5bEk.js} +1 -1
  263. package/dist/twilight/{p-CZmvt3JS.js → p-D0NjtBeS.js} +1 -1
  264. package/dist/twilight/{p-CiZS53-6.js → p-DfQlAXmu.js} +1 -1
  265. package/dist/twilight/{p-XxMmLD82.js → p-DkfNyQIQ.js} +1 -1
  266. package/dist/twilight/{p-DizhqBLB.js → p-DnhZebll.js} +1 -1
  267. package/dist/twilight/{p-CjquqEh1.js → p-DryPCgN9.js} +1 -1
  268. package/dist/twilight/{p-vtSaduZY.js → p-Dv6JHEwK.js} +1 -1
  269. package/dist/twilight/{p-CHlhCr-2.js → p-W3jneIaI.js} +1 -1
  270. package/dist/twilight/{p-4z9238xc.js → p-_2O7LkzU.js} +1 -1
  271. package/dist/twilight/{p-46aecc23.entry.js → p-a09118de.entry.js} +1 -1
  272. package/dist/twilight/{p-28503efc.entry.js → p-a35822f5.entry.js} +1 -1
  273. package/dist/twilight/{p-2aa656f0.entry.js → p-acef8c7b.entry.js} +1 -1
  274. package/dist/twilight/{p-549792e6.entry.js → p-b51a70cc.entry.js} +1 -1
  275. package/dist/twilight/{p-4da7a36e.entry.js → p-b607e474.entry.js} +1 -1
  276. package/dist/twilight/{p-d6b42548.entry.js → p-be360c44.entry.js} +1 -1
  277. package/dist/twilight/p-c1b9517f.entry.js +4 -0
  278. package/dist/twilight/{p-dff8a0d3.entry.js → p-c22a3b11.entry.js} +1 -1
  279. package/dist/twilight/p-c312d0db.entry.js +4 -0
  280. package/dist/twilight/{p-48f717e0.entry.js → p-c81c589b.entry.js} +1 -1
  281. package/dist/twilight/{p-cafc416d.entry.js → p-cc65c26b.entry.js} +1 -1
  282. package/dist/twilight/{p-6e230a2b.entry.js → p-cfa852cf.entry.js} +1 -1
  283. package/dist/twilight/{p-22c4ec76.entry.js → p-d520bdb9.entry.js} +1 -1
  284. package/dist/twilight/{p-7b2f6272.entry.js → p-d6ceeb02.entry.js} +1 -1
  285. package/dist/twilight/{p-96be7ad7.entry.js → p-d72ac224.entry.js} +1 -1
  286. package/dist/twilight/{p-041739c7.entry.js → p-d9adeaf2.entry.js} +1 -1
  287. package/dist/twilight/{p-51e355f4.entry.js → p-da8058f3.entry.js} +1 -1
  288. package/dist/twilight/{p-b8a680fa.entry.js → p-db288463.entry.js} +1 -1
  289. package/dist/twilight/{p-ea7e46e8.entry.js → p-dc0d3911.entry.js} +1 -1
  290. package/dist/twilight/{p-3376ea68.entry.js → p-e00cbb9e.entry.js} +1 -1
  291. package/dist/twilight/{p-2d771a56.entry.js → p-e114505e.entry.js} +1 -1
  292. package/dist/twilight/{p-d6d1a44f.entry.js → p-e1176fed.entry.js} +1 -1
  293. package/dist/twilight/{p-61ae022e.entry.js → p-e20e9fcc.entry.js} +1 -1
  294. package/dist/twilight/{p-656f5c9f.entry.js → p-e290b5c5.entry.js} +1 -1
  295. package/dist/twilight/{p-736037bf.entry.js → p-e450e794.entry.js} +1 -1
  296. package/dist/twilight/{p-c191d2fc.entry.js → p-e5cfb673.entry.js} +1 -1
  297. package/dist/twilight/{p-b8acec24.entry.js → p-e84c62f7.entry.js} +1 -1
  298. package/dist/twilight/{p-432b5dc2.entry.js → p-eb3ef9e4.entry.js} +1 -1
  299. package/dist/twilight/{p-d47b2e4a.entry.js → p-ec145c3d.entry.js} +1 -1
  300. package/dist/twilight/{p-40da7379.entry.js → p-f196f804.entry.js} +1 -1
  301. package/dist/twilight/p-f2563e2b.entry.js +4 -0
  302. package/dist/twilight/{p-271228e8.entry.js → p-f2f152fc.entry.js} +1 -1
  303. package/dist/twilight/{p-98404ee2.entry.js → p-f38b7948.entry.js} +1 -1
  304. package/dist/twilight/{p-0f268a17.entry.js → p-f6d9edd5.entry.js} +1 -1
  305. package/dist/twilight/{p-2c270887.entry.js → p-f7b7ea3d.entry.js} +1 -1
  306. package/dist/twilight/{p-12383fc2.entry.js → p-f974d986.entry.js} +1 -1
  307. package/dist/twilight/{p-4f7a053b.entry.js → p-ffe84d46.entry.js} +1 -1
  308. package/dist/twilight/{p-DcGM6DYo.js → p-k4lInm67.js} +1 -1
  309. package/dist/twilight/twilight.esm.js +1 -1
  310. package/dist/types/components/salla-gifting/salla-gifting.d.ts +23 -4
  311. package/dist/types/components/salla-order-edit/salla-order-edit.d.ts +4 -0
  312. package/dist/types/components/salla-searchable-dropdown/salla-searchable-dropdown.d.ts +8 -0
  313. package/dist/types/components.d.ts +18 -0
  314. package/package.json +5 -5
  315. package/dist/twilight/p-0aa1fc10.entry.js +0 -4
  316. package/dist/twilight/p-2a75ac14.entry.js +0 -4
  317. package/dist/twilight/p-644ab356.entry.js +0 -4
  318. package/dist/twilight/p-f5a99491.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
 
7
7
  var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-DryPCgN9.js';
5
5
  import { S as SICheck } from './check-BZp0rKEO.js';
6
6
  import { a as anime } from './anime.es-CgtvEd63.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DryPCgN9.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-DryPCgN9.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
 
6
6
  const DEBUG_KEY = 'salla-delivery-promise-debug';
7
7
  function log(message, data) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaEditOrderButtonCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DryPCgN9.js';
5
5
 
6
6
  const SallaFulfillmentMethods = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h } from './index-DryPCgN9.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -20,7 +20,7 @@ var Alert = `<!-- Generated by IcoMoon.io -->
20
20
  </svg>
21
21
  `;
22
22
 
23
- 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%}";
23
+ 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}";
24
24
 
25
25
  const SallaGifting = class {
26
26
  constructor(hostRef) {
@@ -42,7 +42,17 @@ const SallaGifting = class {
42
42
  this.regions = [];
43
43
  this.selectedRegionId = undefined;
44
44
  this.isKSA = false;
45
+ this.selectedCountry = null;
46
+ this.selectedRegion = null;
47
+ this.displayedCities = [];
48
+ this.selectedCity = null;
49
+ this.searchingCities = false;
50
+ this.enableCityAjaxSearch = false;
51
+ this.citySearchQuery = '';
45
52
  this.step2Animated = false;
53
+ this.citySearchTimer = null;
54
+ this.citySearchCounter = 0;
55
+ this.locationRequestCounter = 0;
46
56
  this.showTextArea = false;
47
57
  /// Gift Form Data
48
58
  this.selectedImage = undefined;
@@ -56,6 +66,50 @@ const SallaGifting = class {
56
66
  * The form selector to be used to get the form data
57
67
  */
58
68
  this.formSelector = 'form.product-form, form.form--product-options';
69
+ this.handleCitySearch = (query) => {
70
+ this.citySearchQuery = query;
71
+ if (!this.enableCityAjaxSearch)
72
+ return;
73
+ if (this.citySearchTimer)
74
+ clearTimeout(this.citySearchTimer);
75
+ const requestId = ++this.citySearchCounter;
76
+ this.citySearchTimer = setTimeout(async () => {
77
+ this.searchingCities = true;
78
+ try {
79
+ const cities = await this.fetchCities(query);
80
+ if (requestId === this.citySearchCounter) {
81
+ this.displayedCities = cities;
82
+ }
83
+ }
84
+ catch (e) {
85
+ if (requestId === this.citySearchCounter) {
86
+ this.displayedCities = [];
87
+ }
88
+ }
89
+ finally {
90
+ if (requestId === this.citySearchCounter) {
91
+ this.searchingCities = false;
92
+ }
93
+ }
94
+ }, SallaGifting.CITY_SEARCH_DEBOUNCE_MS);
95
+ };
96
+ this.handleCitySelected = (city) => {
97
+ this.selectedCity = city;
98
+ this.receiverCity = String(city.id);
99
+ this.clearError('receiver.city_id');
100
+ };
101
+ this.handleCityDropdownClosed = () => {
102
+ this.citySearchQuery = '';
103
+ if (this.citySearchTimer) {
104
+ clearTimeout(this.citySearchTimer);
105
+ this.citySearchTimer = null;
106
+ }
107
+ ++this.citySearchCounter;
108
+ this.displayedCities = this.gift?.cities ?? [];
109
+ this.searchingCities = false;
110
+ };
111
+ this.handleCountryDropdownClosed = () => { };
112
+ this.handleRegionDropdownClosed = () => { };
59
113
  salla.lang.onLoaded(() => {
60
114
  this.selectImageOrUpload = salla.lang.get('blocks.buy_as_gift.select_image_or_upload');
61
115
  this.selectImageForYourGift = salla.lang.get('blocks.buy_as_gift.select_image_for_your_gift');
@@ -329,24 +383,58 @@ const SallaGifting = class {
329
383
  this.receiverName = event.target.value;
330
384
  this.clearError('receiver.name');
331
385
  }
332
- handleReceiverCity(event) {
333
- this.receiverCity = event.target.value;
334
- this.clearError('receiver.city_id');
386
+ resetCityState() {
387
+ if (this.citySearchTimer) {
388
+ clearTimeout(this.citySearchTimer);
389
+ this.citySearchTimer = null;
390
+ }
391
+ ++this.citySearchCounter;
392
+ this.gift = { ...this.gift, cities: [] };
393
+ this.displayedCities = [];
394
+ this.receiverCity = undefined;
395
+ this.selectedCity = null;
396
+ this.citySearchQuery = '';
397
+ this.searchingCities = false;
398
+ this.enableCityAjaxSearch = false;
399
+ }
400
+ setInitialCities(cities) {
401
+ this.gift = { ...this.gift, cities };
402
+ this.displayedCities = cities;
403
+ this.enableCityAjaxSearch = cities.length >= SallaGifting.CITY_AJAX_THRESHOLD;
404
+ }
405
+ async fetchCities(query = '') {
406
+ if (!this.selectedCountryId)
407
+ return [];
408
+ if (this.isKSA && !this.selectedRegionId)
409
+ return [];
410
+ const params = [
411
+ 'for_branch=0',
412
+ `country_id=${this.selectedCountryId}`,
413
+ ];
414
+ if (this.isKSA && this.selectedRegionId) {
415
+ params.push(`region_id=${this.selectedRegionId}`);
416
+ }
417
+ if (query?.trim()) {
418
+ params.push(`query=${encodeURIComponent(query.trim())}`);
419
+ }
420
+ const response = await salla.api.request(`shipping/cities?${params.join('&')}`);
421
+ return response?.data ?? [];
335
422
  }
336
- async handleCountryChange(event) {
337
- const countryId = Number(event.target.value);
423
+ async handleCountrySelected(country) {
424
+ const countryId = country?.id;
425
+ this.selectedCountry = country ?? null;
338
426
  this.selectedCountryId = countryId;
427
+ this.selectedCountryCode = country?.country_code;
428
+ this.isKSA = country?.country_code === 'SA';
339
429
  this.clearError('receiver.country');
340
- // Find the selected country and store its country_code
341
- const selectedCountry = this.gift?.countries?.find(country => country.id == countryId);
342
- this.selectedCountryCode = selectedCountry?.country_code;
343
- this.isKSA = selectedCountry?.country_code === 'SA';
344
- // Reset region and city
430
+ // Reset region and city; bump request counter so in-flight loads from a
431
+ // previous country/region selection get discarded when they resolve.
345
432
  this.regions = [];
346
433
  this.selectedRegionId = undefined;
347
- this.gift = { ...this.gift, cities: [] };
348
- this.receiverCity = undefined;
349
- if (!countryId || this.gift?.countries?.length === 0) {
434
+ this.selectedRegion = null;
435
+ this.resetCityState();
436
+ const requestId = ++this.locationRequestCounter;
437
+ if (!countryId) {
350
438
  this.selectedCountryCode = undefined;
351
439
  this.isKSA = false;
352
440
  this.setWrapperHeight(2, 0, 0);
@@ -358,16 +446,22 @@ const SallaGifting = class {
358
446
  this.setWrapperHeight(2, 0, 0);
359
447
  try {
360
448
  const response = await salla.api.request(`shipping/countries/${countryId}/regions`);
449
+ if (requestId !== this.locationRequestCounter)
450
+ return;
361
451
  if (response && response.data) {
362
452
  this.regions = response.data;
363
453
  }
364
454
  }
365
455
  catch (error) {
456
+ if (requestId !== this.locationRequestCounter)
457
+ return;
366
458
  console.error('Error fetching regions:', error);
367
459
  }
368
460
  finally {
369
- this.loadingRegions = false;
370
- this.setWrapperHeight(2, 0, 0);
461
+ if (requestId === this.locationRequestCounter) {
462
+ this.loadingRegions = false;
463
+ this.setWrapperHeight(2, 0, 0);
464
+ }
371
465
  }
372
466
  }
373
467
  else {
@@ -375,41 +469,51 @@ const SallaGifting = class {
375
469
  this.loadingCities = true;
376
470
  this.setWrapperHeight(2, 0, 0);
377
471
  try {
378
- const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${countryId}`);
379
- if (response && response.data) {
380
- this.gift = { ...this.gift, cities: response.data };
381
- }
472
+ const cities = await this.fetchCities();
473
+ if (requestId !== this.locationRequestCounter)
474
+ return;
475
+ this.setInitialCities(cities);
382
476
  }
383
477
  catch (error) {
478
+ if (requestId !== this.locationRequestCounter)
479
+ return;
384
480
  console.error('Error fetching cities:', error);
385
481
  }
386
482
  finally {
387
- this.loadingCities = false;
483
+ if (requestId === this.locationRequestCounter) {
484
+ this.loadingCities = false;
485
+ }
388
486
  }
389
487
  }
390
488
  }
391
- async handleRegionChange(event) {
392
- const regionId = Number(event.target.value);
489
+ async handleRegionSelected(region) {
490
+ const regionId = region?.id;
491
+ this.selectedRegion = region ?? null;
393
492
  this.selectedRegionId = regionId;
394
493
  this.clearError('receiver.region');
395
- // Reset city when region changes
396
- this.gift = { ...this.gift, cities: [] };
397
- this.receiverCity = undefined;
494
+ // Reset city when region changes; bump request counter so any earlier
495
+ // in-flight city fetch (for a previous region) is discarded on resolve.
496
+ this.resetCityState();
497
+ const requestId = ++this.locationRequestCounter;
398
498
  if (!regionId)
399
499
  return;
400
500
  this.loadingCities = true;
401
501
  try {
402
- const response = await salla.api.request(`shipping/cities?for_branch=0&country_id=${this.selectedCountryId}&region_id=${regionId}`);
403
- if (response && response.data) {
404
- this.gift = { ...this.gift, cities: response.data };
405
- }
502
+ const cities = await this.fetchCities();
503
+ if (requestId !== this.locationRequestCounter)
504
+ return;
505
+ this.setInitialCities(cities);
406
506
  }
407
507
  catch (error) {
508
+ if (requestId !== this.locationRequestCounter)
509
+ return;
408
510
  console.error('Error fetching cities:', error);
409
511
  }
410
512
  finally {
411
- this.loadingCities = false;
412
- this.setWrapperHeight(2, 0, 0);
513
+ if (requestId === this.locationRequestCounter) {
514
+ this.loadingCities = false;
515
+ this.setWrapperHeight(2, 0, 0);
516
+ }
413
517
  }
414
518
  }
415
519
  handleUploadImage(img) {
@@ -554,7 +658,7 @@ const SallaGifting = class {
554
658
  }
555
659
  render() {
556
660
  return [
557
- h("div", { key: '2bc4ff1b223c9b1f2e50e36c7f6e6f0448f5a51d' }, h("salla-list-tile", { key: 'b5cf74b6d00c292a1c654c695d316a0a34e70c30', class: this.generateClass() }, h("div", { key: '2e229e46039a9bbf071bc65534733c9da61545f8', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'b067244c213dd0c3c64f795f07b4c27f57c661f5' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'a8804b65526bfde36bbb82302d667bc10052ff4b', slot: "subtitle" }, h("div", { key: 'cf2ca350ab3884baa192ce1c043719eb8f9a0120' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'f68182d4324c4b56893b63e046e4298c519e449e', slot: "action" }, h("salla-button", { key: '6cf71ec0311dfe7804f4634ae1203e0ae65150be', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9b00d0c0c7a594e7e9635a79a6b4a472da73ebe3', name: "widget-btn-content" }, h("div", { key: 'a73ed9d6322c4484180f68e7c8fb7a3b4e5bdb8a', class: "s-gifting-widget-action-content" }, h("span", { key: '0ce7ec753ab1ec30269127a8426a36d55d983a6e', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'ae35a5669a30e7abb61e5d540224c2be5baae82a' }, this.sectionBtnText)))))), h("salla-modal", { key: 'dee19984ecc71f6e10c330121361359d00408448', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '10eee2481652b157c44b16d34097ffcce9325d81', slot: "loading" }, h("div", { key: '325446006a0bf5d6d480c8935912fe976ccd453d', class: "s-gifting-skeleton" }, h("div", { key: 'f256cc302b946906262450f0bb023912d034aa13', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '75bf0e81841a4c41e4105f19bd3e4fbf67ece325', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '64661720e2f94f6d8b86087d3a03538a1a419202', class: "s-gifting-modal-title" }, h("div", { key: 'd5000d6903f5a7b61beb6a0a88291953e1344ba3', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '07efd33b877468df617bab4cd2f1b73e73f2d284', height: '15px', width: '150px' })))), h("div", { key: '6fb9d9abf7e211a6ecc45ee50283d37d1755b220', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'ed76848f4c017334dea4f12c07ec6556646c397f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'cfe3e107536dac9e5b1524770eb6990ab3b6460b', height: '230px' }), h("salla-skeleton", { key: 'a35af25d98f5758bf442759841536fed09f6cdd2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '6950704fb24a07807542723f2752b6a734090d42', height: '30px' }), h("salla-skeleton", { key: 'bd65f98a07ee8d041434b9b475ce4c355318f586', height: '40px' })))), h("slot", { key: 'e946b5c7a4146d0118d321d860d332d17c3f931e', name: "header" }), !!this.hasError ?
661
+ h("div", { key: 'db700f9ec96a6974f3b815bb017ebe97ae8fe5c0' }, h("salla-list-tile", { key: '1e2fd1c0b375c85fcd4af1ea071c36879e6913c5', class: this.generateClass() }, h("div", { key: 'a9d02c933bc13bf8765e7e91ce08b2c9495954e5', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '56bd850368806c6ed5770ea5f6b0339749a77dfa' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'fbb4940fd3e3578f2f5a479d9d44be8dfbda7e43', slot: "subtitle" }, h("div", { key: 'fb7e8532984fbfc6fd61c55a6d44d7cdbb4bc9a2' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '04f27f1ddbfa0b06be111b6c3176fbda5ea6d43a', slot: "action" }, h("salla-button", { key: 'fe71a1a773e5275ede7d1b3ea535c330688028b7', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: 'd62127d30254df2d8add55e0e1dbcfefb686e359', name: "widget-btn-content" }, h("div", { key: '5ddbb695af142baf3bb6986627f97a7a7607eb31', class: "s-gifting-widget-action-content" }, h("span", { key: '7820fb6abd9d7a9c1035c0f80191a3ff2a4c5fe8', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '2cfc69862d3d087375efaed3bcec0ff0c1587989' }, this.sectionBtnText)))))), h("salla-modal", { key: '32c19391248ba6186f43fea59493171079e7bf07', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: 'e4b5829416314f25793158dae0c530b8057b4085', slot: "loading" }, h("div", { key: '6ee873add5868f105b7ec7291c2a8c8fc033c588', class: "s-gifting-skeleton" }, h("div", { key: '40aae38f8b2d62b434394811a3ef6d8bc00f6f32', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'a652cd74a16d0db662ea4a518ebfab366a3c3899', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: 'edb4a1477893246e98207aeba7bfb5af686f20b9', class: "s-gifting-modal-title" }, h("div", { key: '83ef942b15450cc59ad32d8c5b3ba43a32bcb29c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: 'd9041c777a2fa0aa7ffc752958c7441916a02f85', height: '15px', width: '150px' })))), h("div", { key: 'fe3bb9dad01becba87486c4886037fd67b059919', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '08bd8304b66264b70f6df68e64da3560a1f75461', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'bbea0d7ff0c846897af2ef5d3696b252a2f4e662', height: '230px' }), h("salla-skeleton", { key: '8cb1fde02e31a1accabd2e26409983e7ba56eeb1', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'f80a986b953278bac41505506adf8d611566a167', height: '30px' }), h("salla-skeleton", { key: 'f7eccce69b619de385872642e1fb62b2cf6c3082', height: '40px' })))), h("slot", { key: 'd299e46040193b441f8171d05e0048849e3df8d5', name: "header" }), !!this.hasError ?
558
662
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
559
663
  :
560
664
  [
@@ -567,17 +671,19 @@ const SallaGifting = class {
567
671
  h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), 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'] ?
568
672
  h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), 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'] ?
569
673
  h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.isPhysical() &&
570
- h("div", { class: this.step2ItemClass(this.errors?.['receiver.country'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCountryFieldLabel), h("select", { name: "country", class: "s-form-control", onChange: (event) => this.handleCountryChange(event), required: true }, h("option", { value: "" }, this.selectCountry), this.gift?.countries?.map((country) => (h("option", { value: country.id }, country.name)))), this.errors && this.errors['receiver.country'] ?
674
+ h("div", { class: this.step2ItemClass(this.errors?.['receiver.country'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-country` }, this.receiverCountryFieldLabel), 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'] ?
571
675
  h("span", { class: "s-gifting-error" }, this.errors['receiver.country']) : ''), this.isPhysical() && this.isKSA &&
572
- h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverRegionFieldLabel), h("select", { name: "region", class: "s-form-control", onChange: (event) => this.handleRegionChange(event), disabled: this.loadingRegions }, h("option", { value: "", selected: true }, this.loadingRegions ? salla.lang.get('common.elements.loading') : this.selectRegion), this.regions?.map((region) => (h("option", { value: region.id }, region.name)))), this.errors && this.errors['receiver.region'] ?
676
+ h("div", { class: this.step2ItemClass(this.errors?.['receiver.region'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-region` }, this.receiverRegionFieldLabel), 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'] ?
573
677
  h("span", { class: "s-gifting-error" }, this.errors['receiver.region']) : ''), this.isPhysical() &&
574
- h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverCityFieldLabel), h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
678
+ h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), 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'] ?
575
679
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
576
680
  h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, h("a", { href: "#!", innerHTML: arrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
577
- ], h("slot", { key: '579cbbcc59818051def887c38e4d0eed6e690737', name: "footer" })))
681
+ ], h("slot", { key: 'bd8cd1628ed4282b177f0ddcd5fb93289c47b4d6', name: "footer" })))
578
682
  ];
579
683
  }
580
684
  };
685
+ SallaGifting.CITY_AJAX_THRESHOLD = 400;
686
+ SallaGifting.CITY_SEARCH_DEBOUNCE_MS = 100;
581
687
  SallaGifting.style = sallaGiftingCss;
582
688
 
583
689
  export { SallaGifting as salla_gifting };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DryPCgN9.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DryPCgN9.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-CHodYJuF.js';
7
+ import { T as TrackedPromise } from './tracked-promise-x7FFO6oF.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-C1QgrjTx.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
+ import { c as closeModals, f as formattedPointsJsx } from './functions-BRfvCQ-R.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
8
8
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-CjquqEh1.js';
4
+ import { h, r as registerInstance } from './index-DryPCgN9.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-C1QgrjTx.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-BRfvCQ-R.js';
7
7
  import { S as Star } from './star2-D4oPi1Ov.js';
8
8
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
9
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
10
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
11
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-CHodYJuF.js';
12
+ import { T as TrackedPromise } from './tracked-promise-x7FFO6oF.js';
13
13
 
14
14
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
15
15
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DryPCgN9.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
 
7
7
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-CjquqEh1.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DryPCgN9.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-CjquqEh1.js';
4
+ import { h, r as registerInstance } from './index-DryPCgN9.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-C1QgrjTx.js';
6
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-BRfvCQ-R.js';
7
7
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
8
8
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
9
9
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
10
10
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
11
11
  import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
12
12
  import { S as SIGift } from './gift-CXRKXFgT.js';
13
- import { T as TrackedPromise } from './tracked-promise-CHodYJuF.js';
13
+ import { T as TrackedPromise } from './tracked-promise-x7FFO6oF.js';
14
14
  import { a as anime } from './anime.es-CgtvEd63.js';
15
15
 
16
16
  var SICartUpload = `<!-- Generated by IcoMoon.io -->
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-CjquqEh1.js';
5
- import { c as closeModals } from './functions-C1QgrjTx.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-DryPCgN9.js';
5
+ import { c as closeModals } from './functions-BRfvCQ-R.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "";