@paykka/card-checkout-ui 0.13.16 → 0.14.0

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 (356) hide show
  1. package/dist/card-checkout-ui.js +54 -26
  2. package/dist/card-checkout-ui.umd.cjs +54 -26
  3. package/dist/es/api/modules/boost/index.js +5 -16
  4. package/dist/es/api/modules/gcash/index.js +5 -16
  5. package/dist/es/api/modules/get-browser-params.js +1 -4
  6. package/dist/es/api/modules/grab-pay/index.js +5 -16
  7. package/dist/es/api/modules/line-pay/index.js +5 -16
  8. package/dist/es/api/modules/may-bank-qr-pay/index.js +5 -16
  9. package/dist/es/api/modules/nine-pay/index.js +5 -16
  10. package/dist/es/api/modules/opay-wallet/index.js +5 -16
  11. package/dist/es/api/modules/paga-wallet/index.js +5 -16
  12. package/dist/es/api/modules/paymaya/index.js +5 -16
  13. package/dist/es/api/modules/shopee-pay/index.js +5 -16
  14. package/dist/es/api/modules/threeDS/index.js +16 -2
  15. package/dist/es/api/modules/tng-wallet/index.js +5 -16
  16. package/dist/es/api/modules/wallet/index.js +16 -0
  17. package/dist/es/api/modules/zalopay/index.js +5 -16
  18. package/dist/es/api/utils/index.js +2 -1
  19. package/dist/es/components/AccordionItem/AccordionItem.js +0 -2
  20. package/dist/es/components/AddressField/index.js +95 -85
  21. package/dist/es/components/AliPay/index.js +88 -76
  22. package/dist/es/components/ApplePay/index.js +61 -43
  23. package/dist/es/components/CPFField/index.js +2 -1
  24. package/dist/es/components/Card/index.js +182 -143
  25. package/dist/es/components/CardExpireDateField/index.js +2 -1
  26. package/dist/es/components/CardNo/index.js +2 -2
  27. package/dist/es/components/CardNumberField/index.js +2 -1
  28. package/dist/es/components/CardSecurityCodeField/index.js +2 -1
  29. package/dist/es/components/CardSelector/index.js +3 -2
  30. package/dist/es/components/DropIn/index.js +98 -31
  31. package/dist/es/components/GooglePay/index.js +190 -151
  32. package/dist/es/components/GuideCard/index.js +8 -1
  33. package/dist/es/components/PaymentButton/index.js +58 -0
  34. package/dist/es/components/RecurringTip/index.js +3 -3
  35. package/dist/es/components/SecuredFieldsProvider/index.js +81 -17
  36. package/dist/es/components/SecuredIframe/index.js +120 -52
  37. package/dist/es/components/Sepa/index.js +23 -25
  38. package/dist/es/components/SubmitButton/index.js +1 -1
  39. package/dist/es/components/ThreeDS/index.js +34 -15
  40. package/dist/es/components/WechatPay/index.js +94 -83
  41. package/dist/es/components/business/BlikCodeField/BlikCodeField.js +92 -0
  42. package/dist/es/components/business/BlikCodeField/blik-code-field.js +1 -0
  43. package/dist/es/components/business/BlikCodeField/index.js +13 -0
  44. package/dist/es/components/business/BlikConfirmModal/BlikConfirmModal.js +45 -0
  45. package/dist/es/components/business/BlikConfirmModal/blik-confirm-modal.js +1 -0
  46. package/dist/es/components/business/BlikConfirmModal/index.js +9 -0
  47. package/dist/es/components/business/BlikConfirmModal/type.js +1 -0
  48. package/dist/es/components/business/NameField/NameField.js +51 -0
  49. package/dist/es/components/business/NameField/index.js +11 -0
  50. package/dist/es/components/business/NameField/type.js +1 -0
  51. package/dist/es/components/business/PhoneField/PhoneField.js +125 -0
  52. package/dist/es/components/business/PhoneField/config.js +33 -0
  53. package/dist/es/components/business/PhoneField/index.js +14 -0
  54. package/dist/es/components/business/PhoneField/phone-field.js +1 -0
  55. package/dist/es/components/business/PhoneField/type.js +1 -0
  56. package/dist/es/components/business/SegmentedDigitInput/SegmentedDigitInput.js +80 -0
  57. package/dist/es/components/business/SegmentedDigitInput/format.js +26 -0
  58. package/dist/es/components/business/SegmentedDigitInput/index.js +5 -0
  59. package/dist/es/components/business/Tooltip/Tooltip.js +18 -0
  60. package/dist/es/components/business/Tooltip/index.js +6 -0
  61. package/dist/es/components/business/Tooltip/tooltip2.js +1 -0
  62. package/dist/es/components/business/index.js +14 -0
  63. package/dist/es/components/index.js +14 -7
  64. package/dist/es/components/internal/CheckBox/CheckBox.js +2 -2
  65. package/dist/es/components/internal/Input/Input.js +1 -1
  66. package/dist/es/components/internal/Select/Select.js +7 -1
  67. package/dist/es/components/internal/icons/IconArrowDown.js +4 -4
  68. package/dist/es/components/internal/icons/IconBancontact.js +95 -0
  69. package/dist/es/components/internal/icons/IconBlik.js +567 -0
  70. package/dist/es/components/internal/icons/IconIdeal.js +86 -0
  71. package/dist/es/components/internal/icons/IconOvo.js +47 -0
  72. package/dist/es/components/internal/icons/IconP24.js +40 -0
  73. package/dist/es/components/internal/icons/IconPhone.js +56 -0
  74. package/dist/es/components/internal/icons/IconSkrill.js +38 -0
  75. package/dist/es/components/internal/icons/IconTrustly.js +37 -0
  76. package/dist/es/components/wallets/Bancontact/Bancontact.js +201 -0
  77. package/dist/es/components/wallets/Bancontact/bancontact2.js +1 -0
  78. package/dist/es/components/wallets/Bancontact/index.js +1 -0
  79. package/dist/es/components/wallets/Bancontact/type.js +1 -0
  80. package/dist/es/components/wallets/Blik/Blik.js +232 -0
  81. package/dist/es/components/wallets/Blik/blik2.js +1 -0
  82. package/dist/es/components/wallets/Blik/index.js +1 -0
  83. package/dist/es/components/wallets/Blik/type.js +1 -0
  84. package/dist/es/components/wallets/Boost/Boost.js +183 -0
  85. package/dist/es/components/wallets/Boost/boost2.js +1 -0
  86. package/dist/es/components/wallets/Boost/index.js +1 -0
  87. package/dist/es/components/wallets/Boost/type.js +1 -0
  88. package/dist/es/components/wallets/GCash/GCash.js +74 -252
  89. package/dist/es/components/wallets/GrabPay/GrabPay.js +183 -0
  90. package/dist/es/components/wallets/GrabPay/grab-pay.js +1 -0
  91. package/dist/es/components/wallets/GrabPay/index.js +1 -0
  92. package/dist/es/components/wallets/GrabPay/type.js +1 -0
  93. package/dist/es/components/wallets/IDeal/IDeal.js +201 -0
  94. package/dist/es/components/wallets/IDeal/ideal2.js +1 -0
  95. package/dist/es/components/wallets/IDeal/index.js +1 -0
  96. package/dist/es/components/wallets/IDeal/type.js +1 -0
  97. package/dist/es/components/wallets/LinePay/LinePay.js +183 -0
  98. package/dist/es/components/wallets/LinePay/index.js +1 -0
  99. package/dist/es/components/wallets/LinePay/line-pay.js +1 -0
  100. package/dist/es/components/wallets/LinePay/type.js +1 -0
  101. package/dist/es/components/wallets/MayBankQRPay/MayBankQRPay.js +187 -0
  102. package/dist/es/components/wallets/MayBankQRPay/index.js +1 -0
  103. package/dist/es/components/wallets/MayBankQRPay/may-bank-qr-pay.js +1 -0
  104. package/dist/es/components/wallets/MayBankQRPay/type.js +1 -0
  105. package/dist/es/components/wallets/NinePay/NinePay.js +185 -0
  106. package/dist/es/components/wallets/NinePay/index.js +1 -0
  107. package/dist/es/components/wallets/NinePay/nine-pay.js +1 -0
  108. package/dist/es/components/wallets/NinePay/type.js +1 -0
  109. package/dist/es/components/wallets/OVO/OVO.js +200 -0
  110. package/dist/es/components/wallets/OVO/index.js +1 -0
  111. package/dist/es/components/wallets/OVO/ovo2.js +1 -0
  112. package/dist/es/components/wallets/OVO/type.js +1 -0
  113. package/dist/es/components/wallets/OpayWallet/OpayWallet.js +57 -218
  114. package/dist/es/components/wallets/P24/P24.js +198 -0
  115. package/dist/es/components/wallets/P24/index.js +1 -0
  116. package/dist/es/components/wallets/P24/p242.js +1 -0
  117. package/dist/es/components/wallets/P24/type.js +1 -0
  118. package/dist/es/components/wallets/PagaWallet/PagaWallet.js +57 -218
  119. package/dist/es/components/wallets/Paymaya/Paymaya.js +57 -221
  120. package/dist/es/components/wallets/PicPay/PicPay.js +64 -55
  121. package/dist/es/components/wallets/Pix/Pix.js +58 -56
  122. package/dist/es/components/wallets/ShopeePay/ShopeePay.js +185 -0
  123. package/dist/es/components/wallets/ShopeePay/index.js +1 -0
  124. package/dist/es/components/wallets/ShopeePay/shopee-pay.js +1 -0
  125. package/dist/es/components/wallets/ShopeePay/type.js +1 -0
  126. package/dist/es/components/wallets/Skrill/Skrill.js +200 -0
  127. package/dist/es/components/wallets/Skrill/index.js +1 -0
  128. package/dist/es/components/wallets/Skrill/skrill2.js +1 -0
  129. package/dist/es/components/wallets/Skrill/type.js +1 -0
  130. package/dist/es/components/wallets/TNGWallet/TNGWallet.js +185 -0
  131. package/dist/es/components/wallets/TNGWallet/index.js +1 -0
  132. package/dist/es/components/wallets/TNGWallet/tng-wallet.js +1 -0
  133. package/dist/es/components/wallets/TNGWallet/type.js +1 -0
  134. package/dist/es/components/wallets/Trustly/Trustly.js +226 -0
  135. package/dist/es/components/wallets/Trustly/index.js +1 -0
  136. package/dist/es/components/wallets/Trustly/trustly2.js +1 -0
  137. package/dist/es/components/wallets/Trustly/type.js +1 -0
  138. package/dist/es/components/wallets/Vietqr/Vietqr.js +73 -242
  139. package/dist/es/components/wallets/Zalopay/Zalopay.js +73 -242
  140. package/dist/es/components/wallets/index.js +14 -0
  141. package/dist/es/constant.js +48 -2
  142. package/dist/es/core/address.js +7 -6
  143. package/dist/es/core/checkout.js +93 -41
  144. package/dist/es/core/create-child.js +68 -0
  145. package/dist/es/core/environment.js +23 -1
  146. package/dist/es/core/error.js +15 -2
  147. package/dist/es/core/logger.js +106 -0
  148. package/dist/es/core/payment.js +65 -0
  149. package/dist/es/fe-logger.min.js +1 -0
  150. package/dist/es/hooks/useBaseWallet.js +280 -0
  151. package/dist/es/hooks/usePayState.js +37 -25
  152. package/dist/es/hooks/usePayment.js +1 -14
  153. package/dist/es/hooks/useRetry.js +50 -26
  154. package/dist/es/i18n/locales/de-DE.js +24 -0
  155. package/dist/es/i18n/locales/en-GB.js +24 -0
  156. package/dist/es/i18n/locales/es-ES.js +24 -0
  157. package/dist/es/i18n/locales/fr-FR.js +24 -0
  158. package/dist/es/i18n/locales/ja-JP.js +24 -0
  159. package/dist/es/i18n/locales/ko-KR.js +24 -0
  160. package/dist/es/i18n/locales/nl-NL.js +24 -0
  161. package/dist/es/i18n/locales/pt-PT.js +24 -0
  162. package/dist/es/i18n/locales/ru-RU.js +24 -0
  163. package/dist/es/i18n/locales/zh-CN.js +24 -0
  164. package/dist/es/i18n/locales/zh-HK.js +24 -0
  165. package/dist/es/i18n/locales/zh-TW.js +24 -0
  166. package/dist/es/index.js +23 -8
  167. package/dist/es/out/base-fraud-detection.js +4 -1
  168. package/dist/es/out/config.js +10 -4
  169. package/dist/es/out/fraud-detection.js +12 -13
  170. package/dist/es/out/worldpay-ddc-manager.js +7 -14
  171. package/dist/es/out/worldpay-ddc.js +7 -5
  172. package/dist/es/polyfill.js +166 -0
  173. package/dist/es/style.css +1 -1
  174. package/dist/es/types/event.js +12 -3
  175. package/dist/es/types/message.js +3 -0
  176. package/dist/es/utils/iframe.js +1 -1
  177. package/dist/es/utils/location.js +0 -8
  178. package/dist/es/utils/payment.js +12 -12
  179. package/dist/es/utils/redirect.js +4 -5
  180. package/dist/es/utils/system-info/is-ua-webview.js +1 -20
  181. package/dist/fe-logger.min.js +1 -0
  182. package/dist/polyfill.js +166 -0
  183. package/dist/style.css +1 -1
  184. package/dist/types/api/modules/index.d.ts +1 -0
  185. package/dist/types/api/modules/threeDS/index.d.ts +7 -0
  186. package/dist/types/api/modules/type.d.ts +2 -0
  187. package/dist/types/api/modules/wallet/index.d.ts +18 -0
  188. package/dist/types/api/utils/index.d.ts +1 -0
  189. package/dist/types/components/AddressField/index.d.ts +1 -0
  190. package/dist/types/components/AddressField/type.d.ts +17 -2
  191. package/dist/types/components/AddressField/utils.d.ts +22 -0
  192. package/dist/types/components/AliPay/type.d.ts +11 -15
  193. package/dist/types/components/ApplePay/type.d.ts +5 -28
  194. package/dist/types/components/CPFField/type.d.ts +1 -1
  195. package/dist/types/components/Card/type.d.ts +22 -23
  196. package/dist/types/components/CardExpireDateField/type.d.ts +1 -1
  197. package/dist/types/components/CardNo/type.d.ts +3 -2
  198. package/dist/types/components/CardNumberField/type.d.ts +1 -1
  199. package/dist/types/components/CardSecurityCodeField/type.d.ts +1 -1
  200. package/dist/types/components/CardSelector/type.d.ts +4 -4
  201. package/dist/types/components/DropIn/type.d.ts +10 -22
  202. package/dist/types/components/GooglePay/createGooglePay.d.ts +4 -4
  203. package/dist/types/components/GooglePay/type.d.ts +10 -14
  204. package/dist/types/components/PaymentButton/PaymentButton.d.ts +3 -0
  205. package/dist/types/components/PaymentButton/index.d.ts +2 -0
  206. package/dist/types/components/PaymentButton/type.d.ts +13 -0
  207. package/dist/types/components/RecurringTip/RecurringTip.d.ts +1 -1
  208. package/dist/types/components/SecuredFieldsProvider/type.d.ts +7 -1
  209. package/dist/types/components/SecuredIframe/HiddenIframe.d.ts +5 -0
  210. package/dist/types/components/ThreeDS/components/ThreeDSIframe/ThreeDSIframe.d.ts +0 -6
  211. package/dist/types/components/ThreeDS/components/ThreeDSIframe/type.d.ts +2 -0
  212. package/dist/types/components/WechatPay/type.d.ts +11 -15
  213. package/dist/types/components/business/BlikCodeField/BlikCodeField.d.ts +6 -0
  214. package/dist/types/components/business/BlikCodeField/index.d.ts +2 -0
  215. package/dist/types/components/business/BlikCodeField/type.d.ts +9 -0
  216. package/dist/types/components/business/BlikConfirmModal/BlikConfirmModal.d.ts +6 -0
  217. package/dist/types/components/business/BlikConfirmModal/index.d.ts +2 -0
  218. package/dist/types/components/business/BlikConfirmModal/type.d.ts +8 -0
  219. package/dist/types/components/business/NameField/NameField.d.ts +5 -0
  220. package/dist/types/components/business/NameField/index.d.ts +2 -0
  221. package/dist/types/components/business/NameField/type.d.ts +7 -0
  222. package/dist/types/components/business/PhoneField/PhoneField.d.ts +6 -0
  223. package/dist/types/components/business/PhoneField/config.d.ts +22 -0
  224. package/dist/types/components/business/PhoneField/index.d.ts +2 -0
  225. package/dist/types/components/business/PhoneField/type.d.ts +9 -0
  226. package/dist/types/components/business/SegmentedDigitInput/SegmentedDigitInput.d.ts +5 -0
  227. package/dist/types/components/business/SegmentedDigitInput/format.d.ts +5 -0
  228. package/dist/types/components/business/SegmentedDigitInput/index.d.ts +3 -0
  229. package/dist/types/components/business/SegmentedDigitInput/type.d.ts +13 -0
  230. package/dist/types/components/business/Tooltip/Tooltip.d.ts +11 -0
  231. package/dist/types/components/business/Tooltip/index.d.ts +1 -0
  232. package/dist/types/components/business/index.d.ts +6 -0
  233. package/dist/types/components/index.d.ts +0 -7
  234. package/dist/types/components/internal/CheckBox/type.d.ts +2 -1
  235. package/dist/types/components/internal/Form/type.d.ts +2 -1
  236. package/dist/types/components/internal/Select/type.d.ts +1 -1
  237. package/dist/types/components/internal/icons/IconArrowDown.d.ts +1 -1
  238. package/dist/types/components/internal/icons/IconBancontact.d.ts +2 -0
  239. package/dist/types/components/internal/icons/IconBlik.d.ts +2 -0
  240. package/dist/types/components/internal/icons/IconIdeal.d.ts +2 -0
  241. package/dist/types/components/internal/icons/IconOvo.d.ts +2 -0
  242. package/dist/types/components/internal/icons/IconP24.d.ts +2 -0
  243. package/dist/types/components/internal/icons/IconPhone.d.ts +2 -0
  244. package/dist/types/components/internal/icons/IconSkrill.d.ts +2 -0
  245. package/dist/types/components/internal/icons/IconTrustly.d.ts +2 -0
  246. package/dist/types/components/internal/icons/index.d.ts +8 -0
  247. package/dist/types/components/type.d.ts +0 -0
  248. package/dist/types/components/wallets/Bancontact/Bancontact.d.ts +15 -0
  249. package/dist/types/components/wallets/Bancontact/index.d.ts +2 -0
  250. package/dist/types/components/{GrabPay → wallets/Bancontact}/type.d.ts +8 -18
  251. package/dist/types/components/wallets/Blik/Blik.d.ts +15 -0
  252. package/dist/types/components/wallets/Blik/index.d.ts +2 -0
  253. package/dist/types/components/wallets/Blik/type.d.ts +29 -0
  254. package/dist/types/components/{Boost → wallets/Boost}/Boost.d.ts +9 -4
  255. package/dist/types/components/{Boost → wallets/Boost}/type.d.ts +3 -14
  256. package/dist/types/components/wallets/GCash/GCash.d.ts +5 -0
  257. package/dist/types/components/wallets/GCash/type.d.ts +3 -14
  258. package/dist/types/components/{GrabPay → wallets/GrabPay}/GrabPay.d.ts +4 -4
  259. package/dist/types/components/wallets/GrabPay/type.d.ts +17 -0
  260. package/dist/types/components/wallets/IDeal/IDeal.d.ts +15 -0
  261. package/dist/types/components/wallets/IDeal/index.d.ts +2 -0
  262. package/dist/types/components/wallets/IDeal/type.d.ts +29 -0
  263. package/dist/types/components/{LinePay → wallets/LinePay}/LinePay.d.ts +9 -4
  264. package/dist/types/components/{LinePay → wallets/LinePay}/type.d.ts +3 -14
  265. package/dist/types/components/wallets/MayBankQRPay/MayBankQRPay.d.ts +15 -0
  266. package/dist/types/components/{MayBankQRPay → wallets/MayBankQRPay}/type.d.ts +3 -14
  267. package/dist/types/components/wallets/NinePay/NinePay.d.ts +15 -0
  268. package/dist/types/components/{NinePay → wallets/NinePay}/type.d.ts +3 -14
  269. package/dist/types/components/wallets/OVO/OVO.d.ts +15 -0
  270. package/dist/types/components/wallets/OVO/index.d.ts +2 -0
  271. package/dist/types/components/wallets/OVO/type.d.ts +29 -0
  272. package/dist/types/components/wallets/OpayWallet/OpayWallet.d.ts +5 -0
  273. package/dist/types/components/wallets/OpayWallet/type.d.ts +4 -15
  274. package/dist/types/components/wallets/P24/P24.d.ts +15 -0
  275. package/dist/types/components/wallets/P24/index.d.ts +2 -0
  276. package/dist/types/components/wallets/P24/type.d.ts +29 -0
  277. package/dist/types/components/wallets/PagaWallet/PagaWallet.d.ts +5 -0
  278. package/dist/types/components/wallets/PagaWallet/type.d.ts +5 -16
  279. package/dist/types/components/wallets/Paymaya/Paymaya.d.ts +5 -0
  280. package/dist/types/components/wallets/Paymaya/type.d.ts +3 -14
  281. package/dist/types/components/wallets/PicPay/type.d.ts +5 -16
  282. package/dist/types/components/wallets/Pix/type.d.ts +5 -16
  283. package/dist/types/components/{ShopeePay → wallets/ShopeePay}/ShopeePay.d.ts +9 -4
  284. package/dist/types/components/{ShopeePay → wallets/ShopeePay}/type.d.ts +3 -14
  285. package/dist/types/components/wallets/Skrill/Skrill.d.ts +15 -0
  286. package/dist/types/components/wallets/Skrill/index.d.ts +2 -0
  287. package/dist/types/components/wallets/Skrill/type.d.ts +17 -0
  288. package/dist/types/components/{TNGWallet → wallets/TNGWallet}/TNGWallet.d.ts +9 -4
  289. package/dist/types/components/{TNGWallet → wallets/TNGWallet}/type.d.ts +3 -14
  290. package/dist/types/components/wallets/Trustly/Trustly.d.ts +15 -0
  291. package/dist/types/components/wallets/Trustly/index.d.ts +2 -0
  292. package/dist/types/components/wallets/Trustly/type.d.ts +21 -0
  293. package/dist/types/components/wallets/Vietqr/Vietqr.d.ts +5 -0
  294. package/dist/types/components/wallets/Vietqr/type.d.ts +3 -14
  295. package/dist/types/components/wallets/Zalopay/Zalopay.d.ts +5 -0
  296. package/dist/types/components/wallets/Zalopay/type.d.ts +3 -14
  297. package/dist/types/components/wallets/index.d.ts +14 -0
  298. package/dist/types/components/wallets/type.d.ts +18 -4
  299. package/dist/types/constant.d.ts +15 -1
  300. package/dist/types/core/address.d.ts +2 -5
  301. package/dist/types/core/checkout.d.ts +10 -10
  302. package/dist/types/core/create-child.d.ts +1 -0
  303. package/dist/types/core/environment.d.ts +5 -0
  304. package/dist/types/core/error.d.ts +9 -3
  305. package/dist/types/core/index.d.ts +2 -0
  306. package/dist/types/core/logger.d.ts +55 -0
  307. package/dist/types/core/payment.d.ts +21 -0
  308. package/dist/types/hooks/index.d.ts +1 -0
  309. package/dist/types/hooks/useBaseWallet.d.ts +54 -0
  310. package/dist/types/hooks/usePayState.d.ts +3 -1
  311. package/dist/types/hooks/useRetry.console-tests.d.ts +41 -0
  312. package/dist/types/hooks/useRetry.d.ts +22 -3
  313. package/dist/types/i18n/locales/de-DE.d.ts +23 -0
  314. package/dist/types/i18n/locales/en-GB.d.ts +23 -0
  315. package/dist/types/i18n/locales/es-ES.d.ts +23 -0
  316. package/dist/types/i18n/locales/fr-FR.d.ts +23 -0
  317. package/dist/types/i18n/locales/ja-JP.d.ts +23 -0
  318. package/dist/types/i18n/locales/ko-KR.d.ts +23 -0
  319. package/dist/types/i18n/locales/nl-NL.d.ts +23 -0
  320. package/dist/types/i18n/locales/pt-PT.d.ts +23 -0
  321. package/dist/types/i18n/locales/ru-RU.d.ts +23 -0
  322. package/dist/types/i18n/locales/zh-CN.d.ts +23 -0
  323. package/dist/types/i18n/locales/zh-HK.d.ts +23 -0
  324. package/dist/types/i18n/locales/zh-TW.d.ts +23 -0
  325. package/dist/types/out/base-fraud-detection.d.ts +1 -0
  326. package/dist/types/out/config.d.ts +6 -1
  327. package/dist/types/out/fraud-detection.d.ts +2 -8
  328. package/dist/types/out/types.d.ts +3 -1
  329. package/dist/types/out/worldpay-ddc-manager.d.ts +6 -7
  330. package/dist/types/types/event.d.ts +46 -13
  331. package/dist/types/types/index.d.ts +8 -37
  332. package/dist/types/types/message.d.ts +48 -7
  333. package/dist/types/types/payment.d.ts +63 -0
  334. package/dist/types/utils/app-payment.d.ts +7 -3
  335. package/dist/types/utils/behavior-tracker.d.ts +36 -0
  336. package/dist/types/utils/env.d.ts +37 -0
  337. package/dist/types/utils/iframe.d.ts +1 -1
  338. package/dist/types/utils/payment.d.ts +10 -10
  339. package/package.json +12 -5
  340. package/dist/es/components/Boost/index.js +0 -348
  341. package/dist/es/components/GrabPay/index.js +0 -348
  342. package/dist/es/components/LinePay/index.js +0 -348
  343. package/dist/es/components/MayBankQRPay/index.js +0 -354
  344. package/dist/es/components/NinePay/index.js +0 -348
  345. package/dist/es/components/ShopeePay/index.js +0 -348
  346. package/dist/es/components/TNGWallet/index.js +0 -348
  347. package/dist/types/components/MayBankQRPay/MayBankQRPay.d.ts +0 -10
  348. package/dist/types/components/NinePay/NinePay.d.ts +0 -10
  349. package/dist/types/utils/logger.d.ts +0 -14
  350. /package/dist/types/components/{Boost → wallets/Boost}/index.d.ts +0 -0
  351. /package/dist/types/components/{GrabPay → wallets/GrabPay}/index.d.ts +0 -0
  352. /package/dist/types/components/{LinePay → wallets/LinePay}/index.d.ts +0 -0
  353. /package/dist/types/components/{MayBankQRPay → wallets/MayBankQRPay}/index.d.ts +0 -0
  354. /package/dist/types/components/{NinePay → wallets/NinePay}/index.d.ts +0 -0
  355. /package/dist/types/components/{ShopeePay → wallets/ShopeePay}/index.d.ts +0 -0
  356. /package/dist/types/components/{TNGWallet → wallets/TNGWallet}/index.d.ts +0 -0
@@ -0,0 +1,86 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ const IconIdeal = ({ size, style, className }) => {
8
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
+ return /* @__PURE__ */ u(
10
+ "svg",
11
+ {
12
+ width: computedSize,
13
+ height: computedSize,
14
+ viewBox: "0 0 296 296",
15
+ fill: "none",
16
+ style,
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ className: normalizedClass(COMMON_CLASS_NAME, className),
19
+ children: [
20
+ /* @__PURE__ */ u("defs", { xmlns: "http://www.w3.org/2000/svg", children: [
21
+ /* @__PURE__ */ u("style", { children: `
22
+ .cls-1 {
23
+ fill: url(#linear-gradient);
24
+ }
25
+ .cls-1, .cls-2, .cls-3, .cls-4, .cls-5, .cls-6, .cls-7, .cls-8, .cls-9 {
26
+ stroke-width: 0px;
27
+ }
28
+ .cls-2, .cls-3 {
29
+ fill-rule: evenodd;
30
+ }
31
+ .cls-2, .cls-6 {
32
+ fill: #232323;
33
+ }
34
+ .cls-3, .cls-8 {
35
+ fill: #fff;
36
+ }
37
+ .cls-4 {
38
+ fill: url(#linear-gradient-2);
39
+ }
40
+ .cls-5 {
41
+ fill: #1d1c1c;
42
+ }
43
+ .cls-7 {
44
+ fill: #c06;
45
+ }
46
+ .cls-9 {
47
+ fill: #fff48d;
48
+ }
49
+ ` }),
50
+ /* @__PURE__ */ u("linearGradient", { id: "linear-gradient", x1: "152.7", y1: "50.16", x2: "130.19", y2: "22.59", gradientTransform: "translate(0 296) scale(1 -1)", gradientUnits: "userSpaceOnUse", children: [
51
+ /* @__PURE__ */ u("stop", { offset: ".02", stopColor: "#1d1c1c", stopOpacity: 0 }),
52
+ /* @__PURE__ */ u("stop", { offset: ".68", stopColor: "#1d1c1c" })
53
+ ] }),
54
+ /* @__PURE__ */ u("linearGradient", { id: "linear-gradient-2", x1: "113.43", y1: "44.31", x2: "136.51", y2: "67.12", gradientTransform: "translate(0 296) scale(1 -1)", gradientUnits: "userSpaceOnUse", children: [
55
+ /* @__PURE__ */ u("stop", { offset: ".02", stopColor: "#1d1c1c", stopOpacity: 0 }),
56
+ /* @__PURE__ */ u("stop", { offset: ".68", stopColor: "#1d1c1c" })
57
+ ] })
58
+ ] }),
59
+ /* @__PURE__ */ u("rect", { xmlns: "http://www.w3.org/2000/svg", className: "cls-9", width: "295", height: "295", rx: "13", ry: "13" }),
60
+ /* @__PURE__ */ u("g", { xmlns: "http://www.w3.org/2000/svg", children: [
61
+ /* @__PURE__ */ u("path", { className: "cls-8", d: "M56.51,22.87v136.4c0,6.53,5.37,11.87,11.93,11.87h81.89c61.91,0,88.74-34.49,88.74-80.25S212.23,11,150.32,11h-81.89c-6.56,0-11.93,5.34-11.93,11.87Z" }),
62
+ /* @__PURE__ */ u("path", { className: "cls-7", d: "M111.32,44.48v100.79h44.07c40.02,0,57.37-22.5,57.37-54.31s-17.36-54.07-57.37-54.07h-36.44c-4.23,0-7.63,3.44-7.63,7.6Z" }),
63
+ /* @__PURE__ */ u("path", { className: "cls-2", d: "M79.11,160.28h71.21c50.04,0,77.65-24.63,77.65-69.33,0-25.76-10.08-69.03-77.65-69.03h-71.21c-6.32,0-11.45,5.1-11.45,11.4v115.57c0,6.29,5.13,11.4,11.45,11.4ZM71.47,33.32c0-4.21,3.4-7.6,7.63-7.6h71.21c27.55,0,73.83,8.49,73.83,65.23,0,42.26-26.24,65.53-73.83,65.53h-71.21c-4.23,0-7.63-3.38-7.63-7.6V33.32Z" }),
64
+ /* @__PURE__ */ u("path", { className: "cls-3", d: "M133.01,76.3c-1.34-.48-2.74-.72-4.26-.72v-.06h-10.09v24.34h10.21c1.81,0,3.38-.36,4.72-.96,1.34-.66,2.45-1.5,3.33-2.58.88-1.08,1.52-2.4,1.98-3.9.41-1.5.64-3.12.64-4.92,0-2.04-.29-3.78-.82-5.28-.58-1.44-1.34-2.7-2.27-3.72-.99-.96-2.1-1.74-3.44-2.22ZM130.61,95.07c-.76.24-1.46.36-2.22.36v.06h-4.61v-15.35h3.73c1.28,0,2.33.18,3.21.54.88.36,1.57.96,2.1,1.62.53.66.93,1.56,1.17,2.52.23.96.35,2.1.35,3.3,0,1.38-.18,2.46-.52,3.42-.35.96-.82,1.68-1.34,2.28-.53.6-1.17,1.02-1.87,1.26Z" }),
65
+ /* @__PURE__ */ u("path", { className: "cls-8", d: "M160.6,75.59v4.5h-12.49v5.22h11.49v4.14h-11.49v5.94h12.78v4.5h-17.97v-24.34h17.68v.06Z" }),
66
+ /* @__PURE__ */ u("path", { className: "cls-3", d: "M187.32,99.93l-8.87-24.34h-5.43l-8.93,24.34h5.25l1.87-5.4h8.87l1.81,5.4h5.43ZM175.77,81.58l2.98,8.93h-6.13l3.09-8.93h.06Z" }),
67
+ /* @__PURE__ */ u("path", { className: "cls-8", d: "M195.78,75.58v19.85h11.55v4.5h-16.74v-24.34h5.19Z" }),
68
+ /* @__PURE__ */ u("path", { className: "cls-6", d: "M90.84,100.29c6.32,0,11.44-5.12,11.44-11.45s-5.12-11.45-11.44-11.45-11.44,5.12-11.44,11.45,5.12,11.45,11.44,11.45Z" }),
69
+ /* @__PURE__ */ u("path", { className: "cls-6", d: "M97.65,146.08c-8.86,0-15.96-7.65-15.96-17.05v-13.31c0-4.7,3.55-8.56,8.01-8.56s8.01,3.8,8.01,8.56v30.36h-.06Z" })
70
+ ] }),
71
+ /* @__PURE__ */ u("path", { xmlns: "http://www.w3.org/2000/svg", className: "cls-5", d: "M258,199H38c-1.1,0-2-.9-2-2s.9-2,2-2h220c1.1,0,2,.9,2,2s-.9,2-2,2Z" }),
72
+ /* @__PURE__ */ u("g", { xmlns: "http://www.w3.org/2000/svg", children: [
73
+ /* @__PURE__ */ u("path", { className: "cls-5", d: "M205.58,248.76c0-13.38,9.52-25.57,25.96-25.57s26.03,12.2,26.03,25.57-9.52,25.57-26.03,25.57c-16.44,0-25.96-12.2-25.96-25.57ZM243.12,248.76c0-6.45-4.25-12.4-11.58-12.4s-11.58,5.96-11.58,12.4,4.32,12.41,11.58,12.41,11.58-5.96,11.58-12.41Z" }),
74
+ /* @__PURE__ */ u("path", { className: "cls-5", d: "M195.47,258.26c5.48-3.12,8.77-9.08,8.77-15.66,0-9.77-7.06-18.09-18.02-18.09h-23.01v48.51h14.25v-12.4h2.67l8.15,12.4h16.78l-9.59-14.76ZM183.35,249.46h-5.89v-13.72h5.96c3.84,0,6.3,3.12,6.3,6.86s-2.54,6.86-6.37,6.86Z" }),
75
+ /* @__PURE__ */ u("path", { className: "cls-5", d: "M98.17,224.46l-8.55,28.91-8.34-28.91h-11.35l-8.41,28.91-8.48-28.91h-15.04l17.23,48.42h12.38l8-26.36,7.93,26.36h12.44l17.23-48.42h-15.04Z" }),
76
+ /* @__PURE__ */ u("path", { className: "cls-5", d: "M134.77,261.05h-.04c-5.33,0-9.07-3.22-10.67-7.48h36.21c.29-1.6.44-3.24.44-4.9,0-13.34-9.49-25.51-25.95-25.52v13.14c5.36.01,9.06,3.23,10.65,7.48h-36.16c-.29,1.6-.44,3.24-.44,4.9,0,13.35,9.5,25.53,25.91,25.53h.04v-13.15Z" }),
77
+ /* @__PURE__ */ u("path", { className: "cls-1", d: "M134.73,274.19c.56,0,1.1-.02,1.65-.04,3.33-.17,6.36-.85,9.06-1.94,2.7-1.1,5.07-2.6,7.08-4.42,2.01-1.82,3.68-3.95,4.97-6.3,1.17-2.13,2.03-4.45,2.57-6.86h-15.09c-.31.64-.67,1.26-1.08,1.83-.56.79-1.22,1.5-1.97,2.11-.75.62-1.59,1.14-2.51,1.54-.93.4-1.93.68-3.02.83-.53.07-1.08.11-1.65.11-3.4,0-6.14-1.31-8.1-3.36l-9.81,9.92c4.36,4.03,10.41,6.57,17.91,6.57Z" }),
78
+ /* @__PURE__ */ u("path", { className: "cls-4", d: "M134.73,223.14c-13.92,0-22.87,8.76-25.26,19.56h15.04c1.8-3.72,5.34-6.42,10.22-6.42,3.89,0,6.91,1.68,8.88,4.22l9.9-10.01c-4.42-4.48-10.78-7.35-18.77-7.35Z" })
79
+ ] })
80
+ ]
81
+ }
82
+ );
83
+ };
84
+ export {
85
+ IconIdeal
86
+ };
@@ -0,0 +1,47 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ const IconOvo = ({ size, style, className }) => {
8
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
+ return /* @__PURE__ */ u(
10
+ "svg",
11
+ {
12
+ width: computedSize,
13
+ height: computedSize,
14
+ viewBox: "0 0 24 24",
15
+ fill: "none",
16
+ style,
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ className: normalizedClass(COMMON_CLASS_NAME, className),
19
+ children: [
20
+ /* @__PURE__ */ u(
21
+ "path",
22
+ {
23
+ d: "M4.31194 15.7333C2.24936 15.7528 0.602871 14.1218 0.599614 12.0047C0.596357 9.88019 2.25587 8.26058 4.31357 8.26221C6.33789 8.26384 8.01287 9.87368 8.00717 12.0128C8.00066 14.1177 6.35743 15.7488 4.31276 15.7341L4.31194 15.7333ZM1.98716 12.0405C1.99937 12.1667 2.01321 12.3312 2.03357 12.4949C2.04253 12.5682 2.06126 12.6406 2.07917 12.7131C2.32427 13.6992 3.11494 14.428 4.11651 14.5005C4.908 14.5575 5.56431 14.283 6.0594 13.6642C6.72711 12.832 6.80284 11.578 6.26053 10.6293C5.61236 9.49422 4.15641 9.13431 3.07097 9.85739C2.31206 10.3631 2.01077 11.1155 1.98634 12.0405H1.98716Z",
24
+ fill: "#4C3494"
25
+ }
26
+ ),
27
+ /* @__PURE__ */ u(
28
+ "path",
29
+ {
30
+ d: "M19.698 8.26751C21.7028 8.23738 23.403 9.83501 23.3998 12.0035C23.3965 14.1418 21.7541 15.6881 19.8014 15.7353C17.6436 15.7874 15.9865 14.1068 15.9922 11.988C15.9979 9.87491 17.6501 8.24227 19.698 8.26751ZM22.0293 12.0051C21.9951 11.773 21.9772 11.5369 21.9235 11.3089C21.6841 10.2902 20.8869 9.59072 19.9431 9.50359C19.1248 9.42868 18.4253 9.69088 17.9343 10.3496C17.2454 11.2739 17.1908 12.2876 17.7079 13.3055C18.3968 14.6613 20.233 14.9284 21.2965 13.8446C21.794 13.3373 22.0008 12.7094 22.0301 12.0051H22.0293Z",
31
+ fill: "#4C3494"
32
+ }
33
+ ),
34
+ /* @__PURE__ */ u(
35
+ "path",
36
+ {
37
+ d: "M8.30518 8.45996C8.40045 8.45996 8.48269 8.45996 8.56412 8.45996C9.41668 8.45996 10.27 8.46159 11.1226 8.45752C11.2366 8.45752 11.2822 8.48113 11.2781 8.60653C11.2684 8.90863 11.27 9.21073 11.2781 9.51283C11.2814 9.63416 11.2537 9.68302 11.1218 9.67406C10.9418 9.66185 10.7602 9.67081 10.5559 9.67081C11.1242 11.016 11.6836 12.3417 12.2512 13.6836C12.7984 12.3417 13.3391 11.016 13.8871 9.67325H13.1852V8.46811H15.5352C15.5108 8.75473 15.5849 9.03892 15.4627 9.32229C14.8716 10.6952 14.2885 12.0721 13.7023 13.4475C13.3961 14.1657 13.0867 14.8822 12.7862 15.6029C12.7414 15.7104 12.6844 15.7332 12.5753 15.7372C12.1144 15.7527 11.7358 15.5923 11.4719 15.2145C11.353 15.0435 11.2749 14.8423 11.191 14.6502C10.4907 13.0395 9.79125 11.4288 9.09666 9.81575C9.04781 9.70338 8.98836 9.66022 8.86622 9.66999C8.71395 9.68221 8.56005 9.66999 8.40696 9.67406C8.33449 9.67569 8.30273 9.65696 8.30273 9.57798C8.30599 9.21399 8.30436 8.85001 8.30436 8.46078L8.30518 8.45996Z",
38
+ fill: "#4C3494"
39
+ }
40
+ )
41
+ ]
42
+ }
43
+ );
44
+ };
45
+ export {
46
+ IconOvo
47
+ };
@@ -0,0 +1,40 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ const IconP24 = ({ size, style, className }) => {
8
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
+ return /* @__PURE__ */ u(
10
+ "svg",
11
+ {
12
+ width: computedSize,
13
+ height: computedSize,
14
+ viewBox: "0 0 24 24",
15
+ fill: "none",
16
+ style,
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ className: normalizedClass(COMMON_CLASS_NAME, className),
19
+ children: [
20
+ /* @__PURE__ */ u(
21
+ "path",
22
+ {
23
+ d: "M3.67228 12.8444C3.70987 12.6164 3.7488 12.3223 3.7488 12.3223C3.7488 12.3223 3.80147 12.053 3.61961 11.861C3.43774 11.669 2.91409 11.6776 2.91409 11.6776L1.53052 11.6774L1 14.8697L1.49407 14.8703L1.6893 13.6869L2.64711 13.6911C2.64711 13.6911 3.02 13.7058 3.28469 13.5656C3.54938 13.4255 3.61961 13.1068 3.61961 13.1068C3.61961 13.1068 3.64842 12.9887 3.67228 12.8444ZM3.23813 12.4246C3.23774 12.4297 3.19442 12.6866 3.13584 12.9904C3.11351 13.1066 3.02458 13.169 2.92229 13.1906C2.75321 13.2263 2.57134 13.2198 2.57134 13.2198L1.77079 13.2177L1.94655 12.1568L2.67192 12.1587C2.67192 12.1587 3.14672 12.1488 3.20492 12.2225C3.26313 12.2961 3.23851 12.4192 3.23813 12.4246ZM7.37794 12.978L7.44435 12.565L5.62968 12.5675L5.55736 13.0175H6.71764L5.26309 14.4104L5.18465 14.8703L7.05962 14.8699L7.13366 14.424L5.8606 14.4264L7.37794 12.978ZM4.92741 13.4789L5.41003 13.4797C5.41003 13.4797 5.4648 13.2202 5.45202 13.0121C5.43637 12.7587 5.31576 12.5683 4.93657 12.5414C4.47913 12.5089 4.32417 12.681 4.32417 12.681L4.34249 12.5667L3.87456 12.5679L3.73659 13.4167L3.4885 14.8703L3.97208 14.8701L4.07552 14.2259L4.22761 13.3698C4.22761 13.3698 4.28009 13.1488 4.44135 13.048C4.6026 12.9473 4.84573 12.9662 4.9213 13.0215C4.99687 13.0768 4.96996 13.2266 4.96996 13.2266L4.92741 13.4789ZM9.90346 11.6774L9.36988 14.8703L9.84621 14.8711L10.3785 11.6772L9.90346 11.6774ZM15.189 12.5667L14.4879 14.1938L14.3217 12.5652L13.7593 12.5637L13.0584 14.1871L12.8975 12.5665L12.4418 12.5669L12.6731 14.8705L13.225 14.869L13.9343 13.2566L14.0959 14.869H14.6572L15.6621 12.5664L15.189 12.5667ZM7.78747 13.8686L9.33611 13.8642L9.40213 13.4818C9.47732 13.0467 9.42198 12.7158 9.02542 12.5864C8.89222 12.5429 8.66093 12.5343 8.4657 12.5368C8.27658 12.5391 8.18975 12.548 8.11914 12.5631C8.11914 12.5631 7.78251 12.6114 7.59167 12.848C7.40064 13.0847 7.34378 13.6024 7.34378 13.6024C7.34378 13.6024 7.23042 14.1745 7.26362 14.3652C7.29683 14.5558 7.35618 14.7325 7.57221 14.8155C7.78823 14.8986 7.97163 14.8949 7.97163 14.8949C7.97163 14.8949 8.35673 14.9251 8.6468 14.8566C8.93688 14.7881 9.08993 14.5837 9.08993 14.5837C9.08993 14.5837 9.15786 14.4959 9.2071 14.3909C9.25634 14.286 9.27065 14.2131 9.27275 14.2041L9.30309 14.0804L8.80978 14.081C8.80978 14.081 8.78249 14.4066 8.51665 14.4365C8.25082 14.4665 8.10807 14.4552 8.05655 14.4533C8.00521 14.4514 7.71152 14.4636 7.74453 14.2142C7.74472 14.2131 7.74167 14.2549 7.74396 14.2104C7.75732 13.939 7.78747 13.8686 7.78747 13.8686ZM7.90331 13.2564C7.90331 13.2564 7.94014 13.1247 8.0138 13.0684C8.08746 13.0121 8.18155 13.0026 8.27009 12.994C8.35883 12.9854 8.59337 12.9688 8.78497 13.0083C8.84852 13.0215 8.90901 13.0572 8.92466 13.11C8.96187 13.235 8.92218 13.4259 8.92218 13.4259L7.86094 13.4247L7.90331 13.2564ZM11.9466 12.587C11.8133 12.5435 11.5821 12.5349 11.3868 12.5373C11.1977 12.5396 11.1109 12.5486 11.0403 12.5637C11.0403 12.5637 10.7036 12.612 10.5128 12.8486C10.3218 13.0852 10.2649 13.603 10.2649 13.603C10.2649 13.603 10.1515 14.1751 10.1848 14.3657C10.218 14.5564 10.2773 14.7331 10.4933 14.8161C10.7094 14.8991 10.8928 14.8955 10.8928 14.8955C10.8928 14.8955 11.2779 14.9257 11.5679 14.8571C11.858 14.7886 12.0111 14.5843 12.0111 14.5843C12.0111 14.5843 12.079 14.4965 12.1282 14.3915C12.1775 14.2865 12.1918 14.2136 12.1939 14.2047L12.2242 14.081L11.7309 14.0816C11.7309 14.0816 11.7036 14.4072 11.4378 14.4371C11.1719 14.4671 11.0292 14.4558 10.9777 14.4539C10.9263 14.452 10.6326 14.4642 10.6657 14.2148C10.6659 14.2136 10.6628 14.2554 10.6651 14.211C10.6784 13.9392 10.7086 13.8688 10.7086 13.8688L12.2572 13.8644L12.3233 13.482C12.3985 13.0473 12.3431 12.7163 11.9466 12.587ZM11.8393 13.4253L10.7781 13.4242L10.8202 13.2557C10.8202 13.2557 10.8571 13.124 10.9307 13.0677C11.0044 13.0114 11.0985 13.0018 11.187 12.9933C11.2756 12.9847 11.5103 12.9681 11.7019 13.0076C11.7654 13.0207 11.8259 13.0564 11.8416 13.1095C11.8788 13.2345 11.8393 13.4253 11.8393 13.4253ZM17.3768 12.5654L16.5146 14.2507L16.2098 12.5673L15.7261 12.5665L16.1751 14.8974L16.1175 14.9949C16.1175 14.9949 16.0249 15.1898 15.9106 15.235C15.7963 15.2802 15.6041 15.244 15.6041 15.244L15.5318 15.6737L15.6474 15.6942C15.757 15.7134 15.8026 15.7054 15.9167 15.6942C16.0308 15.6829 16.1159 15.6335 16.2554 15.5228C16.3949 15.4123 16.6197 14.9766 16.6197 14.9766L17.8621 12.5696L17.3768 12.5654Z",
24
+ fill: "#D13239"
25
+ }
26
+ ),
27
+ /* @__PURE__ */ u(
28
+ "path",
29
+ {
30
+ d: "M20.4746 12.0712C20.4431 11.9474 20.3259 11.7985 20.1837 11.7351C20.0416 11.6718 19.8925 11.6346 19.4618 11.6405C19.0313 11.6464 18.8185 11.6666 18.6006 11.7466C18.3826 11.8267 18.2567 11.9729 18.1765 12.179C18.088 12.3737 18.0368 12.7954 18.0368 12.7954L18.5368 12.7962L18.5666 12.6021C18.5666 12.6021 18.62 12.2521 18.7391 12.1846C18.7773 12.163 18.8383 12.1424 18.9091 12.13C19.0397 12.1073 19.2065 12.1046 19.3414 12.1096C19.5494 12.117 19.6273 12.1189 19.8389 12.143C20.0505 12.167 19.9965 12.3712 19.9965 12.3712L19.9551 12.6758C19.9551 12.6758 19.937 12.8122 19.8881 12.8973C19.845 12.9727 19.7273 13.0235 19.6589 13.0456C19.4943 13.0994 18.9307 13.2426 18.9307 13.2426L18.4872 13.3704C18.4872 13.3704 18.2151 13.4492 18.0622 13.6179C17.9457 13.7487 17.8651 13.9075 17.8284 14.0788C17.8076 14.179 17.6905 14.8689 17.6905 14.8689L20.0818 14.8698L20.1616 14.3918L18.2702 14.3939L18.3042 14.199C18.3042 14.199 18.3261 13.9983 18.4074 13.9326C18.4332 13.9118 18.446 13.8845 18.5969 13.8307C18.687 13.7987 18.9956 13.7164 18.9956 13.7164L19.7093 13.5218C19.7093 13.5218 20.0986 13.4216 20.2521 13.2092C20.4055 12.9968 20.4645 12.5897 20.4645 12.5897C20.4645 12.5897 20.5059 12.1951 20.4746 12.0712ZM5.58764 11.2897C5.28765 11.4853 4.69434 11.9391 4.69434 11.9391H6.21683C6.21683 11.9391 6.55842 11.6632 6.8004 11.4861C7.04238 11.3092 7.48303 11.0296 7.48303 11.0296L6.62312 10.6271C6.62293 10.6271 5.89622 11.0773 5.58764 11.2897ZM8.74979 9.56782C7.90019 9.90655 7.26108 10.2697 7.26108 10.2697L7.96737 10.7451C7.96737 10.7451 8.42518 10.4628 8.90933 10.2564C9.37803 10.035 10.196 9.76152 10.196 9.76152L10.0524 9.08787C10.0523 9.08787 9.59921 9.22889 8.74979 9.56782ZM10.5956 8.92356L10.7181 9.61381C10.7181 9.61381 11.2862 9.46305 11.9677 9.38194C12.8419 9.26324 13.7737 9.39034 13.7737 9.39034L14.1243 8.32433C14.1243 8.32433 13.0648 8.39456 12.266 8.54322C11.4675 8.69169 10.5956 8.92356 10.5956 8.92356ZM17.321 8.44246C16.2079 8.2707 14.9169 8.2957 14.9169 8.2957L14.3272 9.48042C14.3272 9.48042 14.6644 9.55789 15.1283 9.6932C15.9476 9.94949 16.6069 10.3672 16.6069 10.3672L19.4301 8.89073C19.4525 8.87909 18.4342 8.61421 17.321 8.44246ZM22.8331 11.16C22.8381 11.16 22.4717 9.87163 20.6486 9.32565L17.113 10.6896L17.7338 11.16H22.8331ZM22.5389 13.6842L22.8738 11.6758L22.2805 11.6754L20.4315 13.6613L20.3475 14.1639L21.9644 14.1637L21.8461 14.8694L22.3421 14.87L22.4593 14.1639L22.9173 14.1649L23.0001 13.6836L22.5389 13.6842ZM22.0448 13.6845L20.9994 13.683L22.2719 12.3273L22.0448 13.6845Z",
31
+ fill: "#B3B2B1"
32
+ }
33
+ )
34
+ ]
35
+ }
36
+ );
37
+ };
38
+ export {
39
+ IconP24
40
+ };
@@ -0,0 +1,56 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ const IconPhone = ({ size, style, className }) => {
8
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
+ return /* @__PURE__ */ u(
10
+ "svg",
11
+ {
12
+ width: computedSize,
13
+ viewBox: "0 0 152 248",
14
+ fill: "none",
15
+ style,
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ className: normalizedClass(COMMON_CLASS_NAME, className),
18
+ children: [
19
+ /* @__PURE__ */ u("g", { filter: "url(#filter0_dd_1163_3393)", children: [
20
+ /* @__PURE__ */ u("mask", { id: "path-1-inside-1_1163_3393", fill: "white", children: /* @__PURE__ */ u("path", { d: "M12 26C12 12.7452 22.7452 2 36 2H116C129.255 2 140 12.7452 140 26V202C140 215.255 129.255 226 116 226H36C22.7452 226 12 215.255 12 202V26Z" }) }),
21
+ /* @__PURE__ */ u("path", { d: "M12 26C12 12.7452 22.7452 2 36 2H116C129.255 2 140 12.7452 140 26V202C140 215.255 129.255 226 116 226H36C22.7452 226 12 215.255 12 202V26Z", fill: "url(#paint0_linear_1163_3393)", "shape-rendering": "crispEdges" }),
22
+ /* @__PURE__ */ u("path", { d: "M36 2V6H116V2V-2H36V2ZM140 26H136V202H140H144V26H140ZM116 226V222H36V226V230H116V226ZM12 202H16V26H12H8V202H12ZM36 226V222C24.9543 222 16 213.046 16 202H12H8C8 217.464 20.536 230 36 230V226ZM140 202H136C136 213.046 127.046 222 116 222V226V230C131.464 230 144 217.464 144 202H140ZM116 2V6C127.046 6 136 14.9543 136 26H140H144C144 10.536 131.464 -2 116 -2V2ZM36 2V-2C20.536 -2 8 10.536 8 26H12H16C16 14.9543 24.9543 6 36 6V2Z", fill: "#4F43DF", mask: "url(#path-1-inside-1_1163_3393)" }),
23
+ /* @__PURE__ */ u("path", { d: "M89.333 87.3335H62.6663C59.7208 87.3335 57.333 89.7213 57.333 92.6668V135.333C57.333 138.279 59.7208 140.667 62.6663 140.667H89.333C92.2785 140.667 94.6663 138.279 94.6663 135.333V92.6668C94.6663 89.7213 92.2785 87.3335 89.333 87.3335Z", stroke: "white", "stroke-width": "4", "stroke-linecap": "round", "stroke-linejoin": "round" }),
24
+ /* @__PURE__ */ u("path", { d: "M76 130H76.0267", stroke: "white", "stroke-width": "4", "stroke-linecap": "round", "stroke-linejoin": "round" })
25
+ ] }),
26
+ /* @__PURE__ */ u("defs", { children: [
27
+ /* @__PURE__ */ u("filter", { id: "filter0_dd_1163_3393", x: "0", y: "0", width: "152", height: "248", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "sRGB", children: [
28
+ /* @__PURE__ */ u("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }),
29
+ /* @__PURE__ */ u("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
30
+ /* @__PURE__ */ u("feMorphology", { radius: "4", operator: "erode", in: "SourceAlpha", result: "effect1_dropShadow_1163_3393" }),
31
+ /* @__PURE__ */ u("feOffset", { dy: "4" }),
32
+ /* @__PURE__ */ u("feGaussianBlur", { stdDeviation: "3" }),
33
+ /* @__PURE__ */ u("feComposite", { in2: "hardAlpha", operator: "out" }),
34
+ /* @__PURE__ */ u("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
35
+ /* @__PURE__ */ u("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_1163_3393" }),
36
+ /* @__PURE__ */ u("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }),
37
+ /* @__PURE__ */ u("feMorphology", { radius: "3", operator: "erode", in: "SourceAlpha", result: "effect2_dropShadow_1163_3393" }),
38
+ /* @__PURE__ */ u("feOffset", { dy: "10" }),
39
+ /* @__PURE__ */ u("feGaussianBlur", { stdDeviation: "7.5" }),
40
+ /* @__PURE__ */ u("feComposite", { in2: "hardAlpha", operator: "out" }),
41
+ /* @__PURE__ */ u("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
42
+ /* @__PURE__ */ u("feBlend", { mode: "normal", in2: "effect1_dropShadow_1163_3393", result: "effect2_dropShadow_1163_3393" }),
43
+ /* @__PURE__ */ u("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect2_dropShadow_1163_3393", result: "shape" })
44
+ ] }),
45
+ /* @__PURE__ */ u("linearGradient", { id: "paint0_linear_1163_3393", x1: "12", y1: "2", x2: "204.985", y2: "112.277", gradientUnits: "userSpaceOnUse", children: [
46
+ /* @__PURE__ */ u("stop", { "stop-color": "#7E70FF" }),
47
+ /* @__PURE__ */ u("stop", { offset: "1", "stop-color": "#4F43DF" })
48
+ ] })
49
+ ] })
50
+ ]
51
+ }
52
+ );
53
+ };
54
+ export {
55
+ IconPhone
56
+ };
@@ -0,0 +1,38 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ const IconSkrill = ({ size, style, className }) => {
8
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
+ return /* @__PURE__ */ u(
10
+ "svg",
11
+ {
12
+ width: computedSize,
13
+ height: computedSize,
14
+ viewBox: "0 0 24 24",
15
+ fill: "none",
16
+ style,
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ className: normalizedClass(COMMON_CLASS_NAME, className),
19
+ children: [
20
+ /* @__PURE__ */ u("g", { xmlns: "http://www.w3.org/2000/svg", "clip-path": "url(#clip0_1271_2495)", children: [
21
+ /* @__PURE__ */ u("path", { d: "M6.52545 9.78564C6.7887 10.0496 7.0517 10.3139 7.31545 10.5771C7.7562 11.0171 8.1957 11.4584 8.63945 11.8954C8.7262 11.9809 8.71645 12.0401 8.63445 12.1216C7.9297 12.8201 7.2282 13.5219 6.52545 14.2226H6.45045C6.4042 14.1696 6.4182 14.1046 6.41795 14.0439C6.41695 13.4511 6.41745 12.8586 6.41695 12.2659C6.41695 12.2249 6.4237 12.1834 6.41195 12.1409C6.36895 12.1546 6.3472 12.1921 6.31895 12.2201C5.69245 12.8439 5.0667 13.4681 4.4412 14.0926C4.39095 14.1426 4.3407 14.1914 4.27595 14.2226H4.17595C4.1242 14.1951 4.0807 14.1576 4.03945 14.1164C3.3962 13.4739 2.75245 12.8319 2.10845 12.1904C2.06695 12.1491 2.02945 12.1059 2.00195 12.0541V11.9544C2.02945 11.9029 2.06695 11.8594 2.10845 11.8181C2.7522 11.1769 3.3957 10.5354 4.0382 9.89289C4.08595 9.84514 4.1367 9.80614 4.2012 9.78589H4.2512C4.3257 9.80664 4.3807 9.85464 4.4342 9.90814C5.0747 10.5484 5.71595 11.1876 6.3577 11.8269C6.3862 11.8551 6.40695 11.8936 6.4482 11.9066C6.40295 11.8736 6.4182 11.8241 6.41795 11.7814C6.4167 11.1716 6.4167 10.5616 6.41795 9.95189C6.41795 9.89139 6.40645 9.82414 6.47545 9.78614C6.4922 9.78614 6.5087 9.78614 6.52545 9.78614V9.78564Z", fill: "#141414" }),
22
+ /* @__PURE__ */ u("path", { d: "M12.5232 9.78564C12.625 9.81014 12.728 9.83139 12.8287 9.85989C13.3202 9.99914 13.679 10.4384 13.7217 10.9464C13.7272 11.0101 13.714 11.0334 13.6445 11.0316C13.4405 11.0269 13.2362 11.0286 13.0322 11.0309C12.9777 11.0316 12.9572 11.0169 12.9432 10.9589C12.8542 10.5854 12.689 10.4594 12.2985 10.4611C12.1782 10.4616 12.0572 10.4474 11.9385 10.4819C11.741 10.5391 11.6115 10.6629 11.5757 10.8664C11.5387 11.0771 11.62 11.2401 11.8052 11.3491C12.0342 11.4836 12.293 11.5336 12.544 11.6044C12.756 11.6639 12.966 11.7264 13.1657 11.8216C13.6142 12.0351 13.832 12.3921 13.8347 12.8824C13.8375 13.3696 13.6345 13.7379 13.2115 13.9969C12.829 14.2311 11.7482 14.2491 11.3545 13.9769C10.9787 13.7169 10.778 13.3694 10.7252 12.9249C10.7182 12.8656 10.7327 12.8449 10.7962 12.8461C11.0002 12.8499 11.2045 12.8526 11.4082 12.8451C11.4877 12.8421 11.5072 12.8751 11.5167 12.9411C11.539 13.0974 11.6035 13.2336 11.7177 13.3456C11.8005 13.4269 11.8987 13.4801 12.0112 13.4984C12.2012 13.5294 12.3935 13.5329 12.583 13.4996C12.8757 13.4481 13.0565 13.2216 13.0492 12.9276C13.0435 12.6894 12.8875 12.5676 12.6932 12.4779C12.3977 12.3414 12.075 12.2874 11.7702 12.1789C11.6842 12.1484 11.5982 12.1174 11.5145 12.0811C11.0062 11.8604 10.752 11.4679 10.7812 10.9524C10.8105 10.4349 11.1372 10.0234 11.6415 9.86214C11.7425 9.82989 11.8517 9.83414 11.9482 9.78564H11.9732C12.1482 9.80689 12.3232 9.80689 12.498 9.78564C12.5062 9.78564 12.5147 9.78564 12.523 9.78564H12.5232Z", fill: "#141414" }),
23
+ /* @__PURE__ */ u("path", { d: "M21.9947 14.1232C21.7785 14.1257 21.5622 14.1272 21.3462 14.1312C21.2937 14.1322 21.268 14.1152 21.274 14.0599C21.2762 14.0394 21.2742 14.0184 21.2742 13.9977C21.2742 12.6564 21.2757 11.3149 21.2715 9.97369C21.2712 9.86369 21.297 9.83219 21.4082 9.83719C21.6032 9.84619 21.7992 9.83719 21.995 9.83594V14.1232H21.9947Z", fill: "#141414" }),
24
+ /* @__PURE__ */ u("path", { d: "M12.4984 9.78564C12.3234 9.82614 12.1484 9.82614 11.9736 9.78564H12.4984Z", fill: "#888888" }),
25
+ /* @__PURE__ */ u("path", { d: "M14.8017 12.1256C15.1434 11.7966 15.4864 11.4699 15.8247 11.1386C15.8882 11.0764 15.9492 11.0446 16.0412 11.0471C16.2934 11.0541 16.5457 11.0494 16.8164 11.0786C16.7739 11.1156 16.7289 11.1504 16.6889 11.1901C16.3792 11.4979 16.0719 11.8079 15.7599 12.1134C15.6972 12.1749 15.6827 12.2146 15.7369 12.2966C16.1197 12.8739 16.4954 13.4559 16.8734 14.0364C16.8889 14.0601 16.9047 14.0836 16.9359 14.1304C16.7409 14.1304 16.5634 14.1139 16.3904 14.1346C16.1689 14.1611 16.0379 14.0826 15.9212 13.8924C15.6832 13.5044 15.4169 13.1334 15.1432 12.7269C15.0347 12.8454 14.9359 12.9574 14.8322 13.0649C14.7939 13.1046 14.8022 13.1486 14.8019 13.1929C14.8012 13.4711 14.7982 13.7494 14.8037 14.0274C14.8052 14.1104 14.7802 14.1319 14.6999 14.1291C14.5252 14.1231 14.3502 14.1241 14.1754 14.1289C14.1027 14.1309 14.0749 14.1156 14.0752 14.0346C14.0779 12.6684 14.0777 11.3024 14.0752 9.93612C14.0752 9.85912 14.0962 9.83587 14.1734 9.83837C14.3397 9.84387 14.5067 9.84662 14.6729 9.83762C14.7757 9.83187 14.8052 9.85987 14.8044 9.96512C14.7994 10.6501 14.8019 11.3354 14.8019 12.0206V12.1261L14.8017 12.1256Z", fill: "#141414" }),
26
+ /* @__PURE__ */ u("path", { d: "M20.1702 11.9792C20.1702 11.3022 20.1717 10.6255 20.1682 9.94847C20.1677 9.86297 20.187 9.83397 20.2767 9.83772C20.4512 9.84522 20.6265 9.84297 20.8012 9.83847C20.8732 9.83647 20.8922 9.86047 20.892 9.93047C20.8902 11.301 20.89 12.6712 20.892 14.0417C20.892 14.1137 20.8697 14.1337 20.8 14.132C20.6252 14.1277 20.45 14.125 20.2755 14.1327C20.185 14.1367 20.1675 14.107 20.168 14.0222C20.1715 13.3412 20.17 12.6602 20.17 11.979L20.1702 11.9792Z", fill: "#141414" }),
27
+ /* @__PURE__ */ u("path", { d: "M17.7535 11.4503C17.8707 11.2653 17.99 11.127 18.1842 11.0763C18.3652 11.0288 18.5487 11.0595 18.731 11.0503C18.7737 11.048 18.775 11.077 18.775 11.1083C18.7747 11.266 18.7732 11.424 18.7757 11.5818C18.7767 11.6363 18.7567 11.654 18.703 11.6523C18.599 11.649 18.4945 11.6563 18.3907 11.6503C18.12 11.6348 17.9547 11.778 17.8445 12.0048C17.7742 12.1495 17.7532 12.3053 17.7535 12.4645C17.7535 12.9838 17.7515 13.503 17.7555 14.0223C17.7562 14.1085 17.7357 14.1365 17.6465 14.1328C17.476 14.1253 17.3047 14.1255 17.1345 14.1328C17.0475 14.1365 17.032 14.104 17.0322 14.026C17.0345 13.0665 17.0345 12.107 17.0322 11.1473C17.0322 11.0725 17.0497 11.0453 17.129 11.048C17.308 11.0538 17.4872 11.0533 17.6662 11.048C17.7392 11.046 17.7587 11.0715 17.755 11.14C17.7497 11.231 17.7537 11.3228 17.7537 11.4503H17.7535Z", fill: "#141414" }),
28
+ /* @__PURE__ */ u("path", { d: "M19.0333 12.5894C19.0333 12.1122 19.0355 11.6352 19.0313 11.1579C19.0305 11.0704 19.055 11.0442 19.1425 11.0477C19.3128 11.0544 19.4835 11.0524 19.654 11.0482C19.7245 11.0464 19.7555 11.0574 19.7553 11.1404C19.752 12.1072 19.7525 13.0739 19.7548 14.0407C19.7548 14.1099 19.738 14.1342 19.6655 14.1319C19.491 14.1269 19.316 14.1254 19.1415 14.1324C19.0523 14.1359 19.031 14.1062 19.0315 14.0207C19.0355 13.5437 19.0335 13.0664 19.0335 12.5892L19.0333 12.5894Z", fill: "#141414" }),
29
+ /* @__PURE__ */ u("path", { d: "M19.4037 9.8398C19.5077 9.8398 19.6117 9.8418 19.7157 9.83905C19.7687 9.83755 19.7895 9.8548 19.789 9.9098C19.7867 10.1173 19.7867 10.3248 19.789 10.5323C19.7895 10.5891 19.7632 10.6021 19.7127 10.6016C19.5005 10.6001 19.2882 10.5991 19.0762 10.6021C19.0107 10.6031 19.002 10.5711 19.0025 10.5176C19.0042 10.3183 19.0057 10.1191 19.002 9.92005C19.0007 9.8503 19.0312 9.83705 19.0917 9.83905C19.1957 9.84255 19.2997 9.84005 19.4037 9.84005V9.8398Z", fill: "#151515" })
30
+ ] }),
31
+ /* @__PURE__ */ u("defs", { xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u("clipPath", { id: "clip0_1271_2495", children: /* @__PURE__ */ u("rect", { width: "20", height: "4.45", fill: "white", transform: "translate(2 9.7749)" }) }) })
32
+ ]
33
+ }
34
+ );
35
+ };
36
+ export {
37
+ IconSkrill
38
+ };
@@ -0,0 +1,37 @@
1
+ import { u } from "../../../core.js";
2
+ import { COMMON_CLASS_NAME } from "../../../constant.js";
3
+ import { isUndefined } from "../../../utils/is.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass } from "../../../utils/format.js";
7
+ const IconTrustly = ({ size, style, className }) => {
8
+ const computedSize = !isUndefined(size) ? `${size}px` : "1em";
9
+ return /* @__PURE__ */ u(
10
+ "svg",
11
+ {
12
+ width: computedSize,
13
+ height: computedSize,
14
+ viewBox: "0 0 24 24",
15
+ fill: "none",
16
+ style,
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ className: normalizedClass(COMMON_CLASS_NAME, className),
19
+ children: [
20
+ /* @__PURE__ */ u("g", { xmlns: "http://www.w3.org/2000/svg", "clip-path": "url(#clip0_1271_2479)", children: [
21
+ /* @__PURE__ */ u("path", { d: "M2.50195 13.4244C2.53026 13.4227 2.55857 13.4193 2.58688 13.4193C3.67539 13.4191 4.76371 13.42 5.85222 13.417C5.93734 13.4168 5.95843 13.44 5.95615 13.5226C5.95026 13.7375 5.9514 13.9528 5.95577 14.1679C5.9571 14.2384 5.93753 14.2595 5.86552 14.2587C5.5049 14.2551 5.14409 14.2604 4.78347 14.2545C4.69569 14.2532 4.68163 14.2807 4.68182 14.3603C4.68448 15.4677 4.68258 16.5748 4.68543 17.6821C4.68562 17.768 4.66548 17.7944 4.57694 17.7919C4.33982 17.7855 4.10232 17.7864 3.8652 17.7916C3.78901 17.7933 3.77172 17.7701 3.77191 17.6967C3.77419 16.5864 3.77267 15.4758 3.77514 14.3655C3.77514 14.2832 3.7607 14.2528 3.66931 14.2543C3.28038 14.261 2.89107 14.2587 2.50195 14.2598C2.50195 13.9813 2.50195 13.7028 2.50195 13.424V13.4244Z", fill: "#0EDF6E" }),
22
+ /* @__PURE__ */ u("path", { d: "M10.5344 5.52376C10.5009 5.57848 10.5108 5.61363 10.5108 5.64669C10.5101 6.40308 10.5091 7.15966 10.5121 7.91605C10.5125 7.9949 10.492 8.01599 10.413 8.0158C9.43465 8.01314 8.45634 8.01314 7.47822 8.0158C7.40222 8.01599 7.37676 8.00098 7.37695 7.9189C7.37999 7.00082 7.3798 6.08293 7.37714 5.16485C7.37695 5.08866 7.39937 5.0708 7.4729 5.0708C10.3919 5.07251 13.3108 5.0727 16.2298 5.0708C16.3085 5.0708 16.3303 5.09151 16.3301 5.17074C16.3273 6.08559 16.3267 7.00044 16.3309 7.91529C16.3313 8.00573 16.3001 8.01599 16.223 8.0158C15.3682 8.01333 14.5134 8.0158 13.6585 8.01219C13.5662 8.01181 13.5373 8.0291 13.5377 8.12904C13.5419 9.31616 13.5394 10.5033 13.5425 11.6902C13.5426 11.7744 13.5219 11.7934 13.4389 11.793C12.4956 11.7898 11.552 11.7896 10.6087 11.7932C10.522 11.7936 10.5051 11.7691 10.5061 11.6879C10.5106 11.3304 10.5097 10.9726 10.5064 10.6148C10.5059 10.546 10.5254 10.4978 10.5747 10.4488C11.3641 9.66234 12.1509 8.87308 12.9413 8.08781C13.0025 8.02701 12.996 8.00022 12.9394 7.94398C12.1606 7.16916 11.3844 6.39187 10.6079 5.61477C10.5834 5.59026 10.5638 5.56062 10.5344 5.52376Z", fill: "#0EDF6E" }),
23
+ /* @__PURE__ */ u("path", { d: "M19.5527 17.0383C19.7573 16.3515 19.9617 15.6654 20.1662 14.9795C20.1968 14.8765 20.2294 14.7743 20.2572 14.6705C20.2682 14.6295 20.2872 14.6151 20.3292 14.6152C20.5982 14.6168 20.8675 14.6173 21.1365 14.6152C21.2079 14.6147 21.1925 14.6466 21.1787 14.6916C20.9226 15.5246 20.6678 16.3579 20.4122 17.1911C20.2437 17.7406 20.0725 18.2893 19.907 18.8397C19.8855 18.9113 19.8546 18.9311 19.7827 18.9296C19.539 18.9248 19.2952 18.925 19.0514 18.9296C18.9728 18.9309 18.9481 18.9233 18.9781 18.8351C19.087 18.5154 19.1871 18.1926 19.2901 17.8709C19.2977 17.8473 19.3026 17.823 19.3112 17.7903C19.1727 17.7903 19.04 17.7886 18.9076 17.7913C18.8599 17.7922 18.8341 17.7814 18.82 17.7305C18.5381 16.7009 18.2542 15.6718 17.9711 14.6426C17.9696 14.6373 17.9728 14.6308 17.9753 14.6164C18.2646 14.6164 18.5553 14.6173 18.846 14.6156C18.9027 14.6152 18.9029 14.6567 18.912 14.6907C19.0592 15.2432 19.2055 15.7957 19.3522 16.3484C19.4081 16.5591 19.4647 16.7695 19.5207 16.9802C19.5262 17.0013 19.5257 17.025 19.5527 17.0389V17.0383Z", fill: "#0EDF6E" }),
24
+ /* @__PURE__ */ u("path", { d: "M10.1411 17.3979C10.0651 17.4893 10.0068 17.5627 9.93418 17.6223C9.28343 18.1585 8.26826 17.7832 8.12443 16.9531C8.1022 16.8251 8.09175 16.6961 8.09175 16.5661C8.09175 15.9488 8.09308 15.3317 8.08985 14.7144C8.08947 14.6361 8.10942 14.612 8.18903 14.6139C8.41361 14.6192 8.63857 14.6192 8.86334 14.6139C8.94086 14.612 8.96423 14.6304 8.96366 14.7115C8.95986 15.2813 8.96138 15.8509 8.96176 16.4208C8.96176 16.5484 8.98 16.6733 9.03681 16.7892C9.1415 17.0029 9.32181 17.0839 9.55019 17.0721C9.78427 17.0599 9.94824 16.9421 10.0429 16.7295C10.0858 16.633 10.1006 16.5302 10.1004 16.4244C10.0997 15.8578 10.1016 15.2912 10.0983 14.7246C10.0978 14.6427 10.112 14.6104 10.204 14.6135C10.4316 14.6211 10.6598 14.6182 10.8876 14.6144C10.9545 14.6133 10.9723 14.6342 10.9721 14.6999C10.9702 15.7033 10.9702 16.7067 10.9721 17.7101C10.9721 17.7707 10.9579 17.7926 10.8937 17.7914C10.6689 17.7876 10.4441 17.7878 10.2194 17.7914C10.1561 17.7924 10.1369 17.7728 10.1399 17.7109C10.1447 17.6147 10.1413 17.5182 10.1413 17.3979H10.1411Z", fill: "#0EDF6E" }),
25
+ /* @__PURE__ */ u("path", { d: "M12.7095 14.5534C13.0755 14.5599 13.4386 14.6437 13.7253 14.9327C13.8456 15.0539 13.9271 15.1987 13.9681 15.3657C13.9814 15.42 13.9799 15.4495 13.9103 15.4628C13.7025 15.5027 13.4963 15.5509 13.2904 15.5999C13.2406 15.6117 13.2187 15.6049 13.2028 15.553C13.1477 15.3757 13.0198 15.2788 12.8418 15.2427C12.7126 15.2165 12.584 15.2156 12.4578 15.2579C12.3216 15.3037 12.2463 15.3917 12.2499 15.4977C12.2537 15.6085 12.3284 15.6866 12.4724 15.7212C12.7181 15.7802 12.9647 15.835 13.2106 15.8937C13.2871 15.9121 13.3635 15.9338 13.4376 15.9607C14.1763 16.2302 14.1779 17.127 13.7029 17.5309C13.4663 17.7321 13.1863 17.818 12.8832 17.8397C12.4696 17.8693 12.073 17.8172 11.7307 17.5586C11.5353 17.411 11.4077 17.2151 11.3524 16.9736C11.3395 16.9168 11.3444 16.8908 11.4111 16.8773C11.6153 16.8359 11.8183 16.7874 12.0204 16.7369C12.0767 16.7228 12.0977 16.7359 12.1124 16.791C12.1528 16.9423 12.2532 17.0439 12.3978 17.0985C12.5811 17.1674 12.7683 17.1705 12.9562 17.1144C12.9993 17.1015 13.0381 17.081 13.0724 17.0525C13.2041 16.9436 13.1904 16.7743 13.0398 16.6928C12.8671 16.5995 12.6714 16.5841 12.4842 16.5412C12.2748 16.4931 12.0635 16.4534 11.8688 16.3571C11.553 16.2011 11.4063 15.9385 11.3938 15.5948C11.3805 15.2315 11.5298 14.9507 11.8386 14.7598C12.0972 14.6 12.3869 14.5578 12.7095 14.5532V14.5534Z", fill: "#0EDF6E" }),
26
+ /* @__PURE__ */ u("path", { d: "M14.7576 16.1852C14.7576 15.9414 14.7557 15.6979 14.7589 15.4541C14.7597 15.3923 14.7424 15.372 14.6797 15.3743C14.5533 15.3789 14.4264 15.3732 14.2999 15.3768C14.2414 15.3785 14.2237 15.3583 14.2246 15.3006C14.2277 15.095 14.2277 14.8892 14.2246 14.6835C14.2239 14.627 14.2452 14.6137 14.2967 14.6151C14.4169 14.6179 14.5376 14.6094 14.6573 14.6181C14.7462 14.6246 14.762 14.5913 14.7595 14.5113C14.7538 14.3342 14.7599 14.157 14.7565 13.9797C14.7555 13.9261 14.7713 13.902 14.8239 13.8874C15.0703 13.8188 15.316 13.7471 15.5611 13.6742C15.6134 13.6586 15.6306 13.6652 15.6299 13.7253C15.6268 13.9943 15.6306 14.2634 15.627 14.5322C15.6261 14.5978 15.6432 14.6194 15.7108 14.6173C15.8689 14.6124 16.0274 14.6183 16.1854 14.6145C16.2485 14.613 16.2746 14.6272 16.2728 14.6971C16.2683 14.8964 16.2681 15.0959 16.2728 15.2953C16.2746 15.3667 16.2468 15.3783 16.1847 15.3768C16.0234 15.3732 15.8619 15.3781 15.7006 15.3741C15.6409 15.3726 15.6268 15.392 15.627 15.4493C15.6293 15.8734 15.627 16.2975 15.6289 16.7216C15.6297 16.903 15.7114 16.9929 15.8925 17.0203C16.0057 17.0374 16.1201 17.0273 16.2337 17.0267C16.2909 17.0265 16.3183 17.0353 16.3169 17.1029C16.3124 17.3085 16.3154 17.5143 16.3152 17.72C16.3152 17.7542 16.323 17.7922 16.2666 17.7903C15.992 17.7812 15.715 17.8171 15.4429 17.7605C15.0063 17.6697 14.7739 17.3761 14.7599 16.8971C14.7528 16.66 14.7587 16.4225 14.7587 16.1852H14.7578H14.7576Z", fill: "#0EDF6E" }),
27
+ /* @__PURE__ */ u("path", { d: "M16.7884 15.5993C16.7884 14.906 16.7903 14.2129 16.7861 13.5196C16.7856 13.432 16.8122 13.4154 16.8924 13.4173C17.1139 13.4227 17.3356 13.4232 17.557 13.4171C17.6402 13.4149 17.6617 13.4367 17.6615 13.5211C17.6584 14.8285 17.6594 16.1357 17.6594 17.4431C17.6594 17.5348 17.6571 17.6268 17.6603 17.7184C17.662 17.7691 17.6506 17.7919 17.5931 17.7913C17.3463 17.7885 17.0993 17.7873 16.8523 17.7917C16.7706 17.793 16.7884 17.7421 16.7884 17.698C16.788 16.9985 16.7882 16.2989 16.7882 15.5993H16.7884Z", fill: "#0EDF6E" }),
28
+ /* @__PURE__ */ u("path", { d: "M6.64414 15.1042C6.68765 15.0322 6.71349 14.9851 6.74332 14.9406C6.87841 14.7381 7.0629 14.6207 7.31161 14.6176C7.41915 14.6163 7.52688 14.6191 7.63423 14.615C7.69142 14.6127 7.70263 14.6372 7.70206 14.6879C7.70016 14.922 7.69921 15.1563 7.70244 15.3904C7.70339 15.4519 7.67983 15.4648 7.62454 15.4633C7.49819 15.4597 7.37108 15.4561 7.24606 15.4812C6.95327 15.5397 6.76156 15.7546 6.70038 16.0884C6.68328 16.1821 6.6772 16.2763 6.67739 16.3715C6.67796 16.8144 6.67625 17.2575 6.6791 17.7004C6.67948 17.7688 6.6658 17.7939 6.59132 17.7921C6.35401 17.7872 6.1167 17.7883 5.87939 17.7918C5.81973 17.7925 5.80548 17.7741 5.80567 17.7167C5.80719 16.7074 5.80738 15.6982 5.80567 14.6889C5.80567 14.6298 5.82258 14.6142 5.88034 14.615C6.11138 14.618 6.34242 14.6186 6.57327 14.6148C6.6354 14.6138 6.64661 14.6368 6.64528 14.6917C6.64186 14.8202 6.64414 14.9486 6.64414 15.1044V15.1042Z", fill: "#0EDF6E" })
29
+ ] }),
30
+ /* @__PURE__ */ u("defs", { xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u("clipPath", { id: "clip0_1271_2479", children: /* @__PURE__ */ u("rect", { width: "19", height: "14.25", fill: "white", transform: "translate(2.5 4.875)" }) }) })
31
+ ]
32
+ }
33
+ );
34
+ };
35
+ export {
36
+ IconTrustly
37
+ };
@@ -0,0 +1,201 @@
1
+ import { w, F, y, A, h, u, b } from "../../../core.js";
2
+ import { useBEM } from "../../../hooks/useBEM.js";
3
+ import { CoreContext } from "../../../core/context.js";
4
+ import "../../../utils/card-brand/brands.js";
5
+ import "../../../utils/system-info/get-browser-info.js";
6
+ import { normalizedClass, formatAmount } from "../../../utils/format.js";
7
+ import { PaymentMethod, PaymentCategory, COMMON_CLASS_NAME, PaymentType } from "../../../constant.js";
8
+ import "../../../out/worldpay-jsc-origin.js";
9
+ import { usePayState } from "../../../hooks/usePayState.js";
10
+ import { useBaseWallet } from "../../../hooks/useBaseWallet.js";
11
+ import "./bancontact2.js";
12
+ import { GuideCard } from "../../GuideCard/index.js";
13
+ import "../../internal/Form/type.js";
14
+ import "../../internal/Form/context.js";
15
+ import "../../internal/Form/FormItem.js";
16
+ import { Form } from "../../internal/Form/Form.js";
17
+ import { createEmailCore, EmailField } from "../../EmailField/EmailField.js";
18
+ import { PaymentButton } from "../../PaymentButton/index.js";
19
+ import { Info } from "../../internal/Info/Info.js";
20
+ import "../../internal/Modal/Modal.js";
21
+ import "../../business/QRCodeModal/qr-code-modal.js";
22
+ import { NameField } from "../../business/NameField/NameField.js";
23
+ import "../../internal/Select/Select.js";
24
+ import "../../internal/Input/Input.js";
25
+ import "../../internal/Input/type.js";
26
+ import "../../business/PhoneField/config.js";
27
+ import "../../business/PhoneField/phone-field.js";
28
+ import "../../business/Tooltip/tooltip2.js";
29
+ import "../../business/BlikCodeField/blik-code-field.js";
30
+ import "../../internal/Button/button2.js";
31
+ import "../../business/BlikConfirmModal/blik-confirm-modal.js";
32
+ import "../../internal/LoadingCheck/loading-check.js";
33
+ import { RecurringTip } from "../../RecurringTip/index.js";
34
+ import { DEFAULT_ADDRESS, AddressField } from "../../AddressField/index.js";
35
+ const { bem } = useBEM("bancontact");
36
+ const fieldClassNames = bem("field");
37
+ const CURR_PAYMENT_METHOD = PaymentMethod.BANCONTACT;
38
+ const Bancontact = w((props, ref) => {
39
+ var _a;
40
+ const {
41
+ session,
42
+ core,
43
+ showGuideCard = true,
44
+ hidePaymentButton = false
45
+ } = props;
46
+ F(ref, () => ({
47
+ stopRetry: () => stopRetry(),
48
+ startRetry: (timeout) => startRetry(timeout),
49
+ updateEmail: () => {
50
+ var _a2;
51
+ if (!(fieldStatus == null ? void 0 : fieldStatus.email.show))
52
+ return;
53
+ form.email = emailState.email;
54
+ setForm(form);
55
+ (_a2 = emailFieldRef.current) == null ? void 0 : _a2.update(emailState.email);
56
+ validateFormSilently();
57
+ },
58
+ updateAddress: () => {
59
+ var _a2;
60
+ if (!(fieldStatus == null ? void 0 : fieldStatus.address.show))
61
+ return;
62
+ const address = addressCore.getAddressState();
63
+ form.address = address;
64
+ setForm(form);
65
+ (_a2 = addressFieldRef.current) == null ? void 0 : _a2.update(address);
66
+ validateFormSilently();
67
+ },
68
+ payment: () => {
69
+ hidePaymentButton && onSubmit();
70
+ }
71
+ }));
72
+ const { i18n, sessionReady, disabled } = usePayState(session, props.core);
73
+ y(() => {
74
+ if (!sessionReady)
75
+ return;
76
+ const { bill = {}, country } = (session == null ? void 0 : session.checkout) || {};
77
+ country && addressCore.setCountry(country);
78
+ form.email = bill.email ?? "";
79
+ form.address.country = country;
80
+ }, [sessionReady]);
81
+ const {
82
+ isEnabled,
83
+ fieldStatus,
84
+ paymentButtonStatus,
85
+ setPaymentButtonStatus,
86
+ errorMessage,
87
+ setErrorMessage,
88
+ payment,
89
+ startRetry,
90
+ stopRetry,
91
+ getPaymentMethodContext
92
+ } = useBaseWallet(CURR_PAYMENT_METHOD, props, {
93
+ getFormData: () => {
94
+ return {
95
+ ...form,
96
+ firstName: form.name
97
+ };
98
+ }
99
+ });
100
+ const emailState = createEmailCore();
101
+ const emailFieldRef = A(null);
102
+ const addressCore = core.getAddressCore();
103
+ const addressFieldRef = A(null);
104
+ const formRef = A(null);
105
+ const [form, setForm] = h({
106
+ email: "",
107
+ name: "",
108
+ address: { ...DEFAULT_ADDRESS }
109
+ });
110
+ const [validated, setValidated] = h(false);
111
+ const validateFormSilently = () => {
112
+ var _a2;
113
+ (_a2 = formRef.current) == null ? void 0 : _a2.validate(void 0, false).then(() => setValidated(true)).catch(() => setValidated(false));
114
+ };
115
+ const setFormRef = (dom) => {
116
+ formRef.current = dom;
117
+ dom && validateFormSilently();
118
+ };
119
+ y(() => validateFormSilently(), [form]);
120
+ const onSubmit = () => {
121
+ var _a2;
122
+ setErrorMessage("");
123
+ (_a2 = formRef.current) == null ? void 0 : _a2.validate(async (errors) => {
124
+ var _a3;
125
+ (_a3 = props.onSubmit) == null ? void 0 : _a3.call(props, errors, getPaymentMethodContext());
126
+ if (errors) {
127
+ setPaymentButtonStatus("unSubmit");
128
+ return;
129
+ }
130
+ setPaymentButtonStatus("loading");
131
+ await payment();
132
+ });
133
+ };
134
+ const Email = () => {
135
+ return /* @__PURE__ */ u(b, { children: (fieldStatus == null ? void 0 : fieldStatus.email.show) && /* @__PURE__ */ u("div", { className: fieldClassNames, children: /* @__PURE__ */ u(
136
+ EmailField,
137
+ {
138
+ ref: emailFieldRef,
139
+ value: form.email,
140
+ disabled: (fieldStatus == null ? void 0 : fieldStatus.email.disabled) || disabled
141
+ }
142
+ ) }) });
143
+ };
144
+ const Address = () => {
145
+ return /* @__PURE__ */ u(b, { children: (fieldStatus == null ? void 0 : fieldStatus.address.show) && /* @__PURE__ */ u("div", { className: fieldClassNames, children: /* @__PURE__ */ u(
146
+ AddressField,
147
+ {
148
+ ref: addressFieldRef,
149
+ disabled,
150
+ value: form.address,
151
+ onChange: (value) => setForm(Object.assign(form, { address: value }))
152
+ }
153
+ ) }) });
154
+ };
155
+ const Button = () => {
156
+ var _a2;
157
+ const transAmount = (_a2 = session == null ? void 0 : session.checkout) == null ? void 0 : _a2.transAmount;
158
+ const amountText = (transAmount == null ? void 0 : transAmount.amount) ? formatAmount(transAmount).jointSymbol() : "";
159
+ const text = i18n.get("common.pay") + (amountText ? ` ${amountText}` : "");
160
+ return /* @__PURE__ */ u(
161
+ PaymentButton,
162
+ {
163
+ className: bem("button"),
164
+ status: paymentButtonStatus,
165
+ disabled,
166
+ verified: validated,
167
+ onClick: onSubmit,
168
+ children: text
169
+ }
170
+ );
171
+ };
172
+ const ErrorMessage = () => {
173
+ return /* @__PURE__ */ u(b, { children: !!errorMessage && /* @__PURE__ */ u(Info, { content: errorMessage }) });
174
+ };
175
+ return /* @__PURE__ */ u(
176
+ CoreContext.Provider,
177
+ {
178
+ value: {
179
+ i18n,
180
+ session,
181
+ core
182
+ },
183
+ children: isEnabled && i18n.ready.value && /* @__PURE__ */ u("div", { className: core.theme.className, children: [
184
+ showGuideCard && /* @__PURE__ */ u(GuideCard, { type: PaymentCategory.BANCONTACT }),
185
+ /* @__PURE__ */ u(Form, { form, ref: setFormRef, onFormChange: (form2) => setForm(form2), children: /* @__PURE__ */ u("div", { className: normalizedClass(COMMON_CLASS_NAME, bem()), children: [
186
+ Email(),
187
+ /* @__PURE__ */ u("div", { className: fieldClassNames, children: /* @__PURE__ */ u(NameField, { disabled }) }),
188
+ Address(),
189
+ ((_a = session == null ? void 0 : session.checkout) == null ? void 0 : _a.paymentType) === PaymentType.RECURRING && RecurringTip(false),
190
+ /* @__PURE__ */ u("div", { className: bem("footer-wrapper"), children: [
191
+ ErrorMessage(),
192
+ !hidePaymentButton && Button()
193
+ ] })
194
+ ] }) })
195
+ ] })
196
+ }
197
+ );
198
+ });
199
+ export {
200
+ Bancontact
201
+ };
@@ -0,0 +1 @@
1
+ import "./Bancontact.js";