@everymatrix/cashier-page 1.50.200 → 1.50.302

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 (268) hide show
  1. package/components/{CashierCarousel-B6v0xLYF.cjs → CashierCarousel-BSgX_-9d.cjs} +1 -1
  2. package/components/{CashierCarousel-BeapCEtK.cjs → CashierCarousel-BnsrLQLz.cjs} +1 -1
  3. package/components/{CashierCarousel-CXUvw0R7.js → CashierCarousel-BsryNC67.js} +2 -2
  4. package/components/{CashierCarousel-CroFG8Xo.js → CashierCarousel-CIrhQ1F1.js} +2 -2
  5. package/components/{CashierCarousel-Bugw5tyI.js → CashierCarousel-CibDHVzx.js} +2 -2
  6. package/components/{CashierCarousel-BDml_k6w.js → CashierCarousel-D0dDvgaj.js} +2 -2
  7. package/components/{CashierError-CZGh6gdW.cjs → CashierError-C9QJqSOU.cjs} +1 -1
  8. package/components/{CashierError-0QYlIMhr.js → CashierError-CJMwmI7N.js} +2 -2
  9. package/components/{CashierError-D1XdESJ-.js → CashierError-CpI-ZvDt.js} +2 -2
  10. package/components/{CashierError-DeSxsrV5.js → CashierError-DY-spTTl.js} +2 -2
  11. package/components/{CashierError-BFogL6zj.js → CashierError-f4ZqXuJH.js} +2 -2
  12. package/components/{CashierError-823wzpBc.cjs → CashierError-mFSpkELc.cjs} +1 -1
  13. package/components/{CashierHeader-C9dfGapP.cjs → CashierHeader-9Jv4Zu9U.cjs} +1 -1
  14. package/components/{CashierHeader-B0bhoFUA.js → CashierHeader-CnMNnCMA.js} +1 -1
  15. package/components/{CashierHeader-CHgw-pMp.js → CashierHeader-CyXIVUoS.js} +1 -1
  16. package/components/{CashierHeader-Ciphzksz.cjs → CashierHeader-SrIA_1me.cjs} +1 -1
  17. package/components/{CashierHeader-BJUPYAsB.js → CashierHeader-TK2-BiHl.js} +1 -1
  18. package/components/{CashierHeader-DGtwYREo.js → CashierHeader-vy8HyWPz.js} +1 -1
  19. package/components/{CashierIframeRedirect-BF2MxkzL.cjs → CashierIframeRedirect-5s9ZtG-5.cjs} +1 -1
  20. package/components/{CashierIframeRedirect-BR16-UED.js → CashierIframeRedirect-BseB9TAg.js} +3 -3
  21. package/components/{CashierIframeRedirect-CsVyY3cR.js → CashierIframeRedirect-CTHqad7Z.js} +3 -3
  22. package/components/{CashierIframeRedirect-BaAtwDvz.js → CashierIframeRedirect-DdKFPBSa.js} +3 -3
  23. package/components/{CashierIframeRedirect-CwxZ7TXO.js → CashierIframeRedirect-Dhu2OC9A.js} +3 -3
  24. package/components/{CashierIframeRedirect-BX7-YCI8.cjs → CashierIframeRedirect-N8QJeLeb.cjs} +1 -1
  25. package/components/{CashierMethodDetails-CVMU0ibh.js → CashierMethodDetails-BWknB3e7.js} +2965 -2816
  26. package/components/CashierMethodDetails-C38oxecJ.js +11821 -0
  27. package/components/CashierMethodDetails-CR-B6W_o.js +11758 -0
  28. package/components/CashierMethodDetails-CoVztEid.cjs +238 -0
  29. package/components/{CashierMethodDetails-_pbVQ8Xy.js → CashierMethodDetails-D0FWPJ2H.js} +2699 -2558
  30. package/components/CashierMethodDetails-DVnlD9Uk.cjs +85 -0
  31. package/components/{CashierMethodsList-BMixbBDq.js → CashierMethodsList-7ACO_YE6.js} +2 -2
  32. package/components/{CashierMethodsList-Da48wqYP.js → CashierMethodsList-BxvD9zAR.js} +2 -2
  33. package/components/{CashierMethodsList-Bmp_KFjq.js → CashierMethodsList-CMaD5FXj.js} +2 -2
  34. package/components/{CashierMethodsList-B_w3Kuar.js → CashierMethodsList-C_ldRYq_.js} +2 -2
  35. package/components/{CashierMethodsList-Bajk_fN2.cjs → CashierMethodsList-DR3WLcjt.cjs} +1 -1
  36. package/components/{CashierMethodsList-CZDLiDr_.cjs → CashierMethodsList-DYRS6KJx.cjs} +1 -1
  37. package/components/{CashierModal-DhUod5O1.js → CashierModal-B-UWvltM.js} +2 -2
  38. package/components/{CashierModal-BjCLh7Ni.cjs → CashierModal-BdpiH2_j.cjs} +1 -1
  39. package/components/{CashierModal-C8qnVZJe.cjs → CashierModal-BitlQX-o.cjs} +1 -1
  40. package/components/{CashierModal-2KqFqz9P.js → CashierModal-C0Xof_AE.js} +2 -2
  41. package/components/{CashierModal-C_TyxyjB.js → CashierModal-Dsi_oVHh.js} +2 -2
  42. package/components/{CashierModal-BjBuHzUT.js → CashierModal-aBGB4ejQ.js} +2 -2
  43. package/components/{CashierNotifications-7d-UqO7I.js → CashierNotifications-BVJkJQAP.js} +1 -1
  44. package/components/{CashierNotifications-B8CttXUW.cjs → CashierNotifications-B_kxAZOz.cjs} +1 -1
  45. package/components/{CashierNotifications-CKOYETVR.js → CashierNotifications-BanZGIkE.js} +1 -1
  46. package/components/{CashierNotifications-8gjVa_uU.js → CashierNotifications-CyCI6ksG.js} +1 -1
  47. package/components/{CashierNotifications-DUj6i_0r.js → CashierNotifications-DOZcnn7M.js} +1 -1
  48. package/components/{CashierNotifications-Bgr7z6wz.cjs → CashierNotifications-DnmlBB_Q.cjs} +1 -1
  49. package/components/{CashierPage-Di39LIGk.js → CashierPage-BKglURO0.js} +10 -10
  50. package/components/{CashierPage-BaIwIJHa.cjs → CashierPage-BkADSeGN.cjs} +6 -6
  51. package/components/{CashierPage-DA1UIZ8S.js → CashierPage-Cdtyq0lf.js} +465 -462
  52. package/components/{CashierPage-DNvx-jj-.js → CashierPage-DmYelgiN.js} +10 -10
  53. package/components/{CashierPage-D6vcewAK.cjs → CashierPage-TRzKwGkj.cjs} +1 -1
  54. package/components/{CashierPage-WcM68RV2.js → CashierPage-mGP6lkFv.js} +151 -148
  55. package/components/{CashierReceiptPage-B0JUFD2S.cjs → CashierReceiptPage-2-P4gA2W.cjs} +1 -1
  56. package/components/{CashierReceiptPage-BItCN-Ho.js → CashierReceiptPage-B3cqHXqT.js} +2 -2
  57. package/components/{CashierReceiptPage-Bbk02vgF.cjs → CashierReceiptPage-BoZ2EpUX.cjs} +1 -1
  58. package/components/{CashierReceiptPage-BRRJnEPY.js → CashierReceiptPage-CEQajL7m.js} +2 -2
  59. package/components/{CashierReceiptPage-BY5K-pb-.js → CashierReceiptPage-D5PB-1VI.js} +2 -2
  60. package/components/{CashierReceiptPage-B8Z2MIBL.js → CashierReceiptPage-DWyirru6.js} +2 -2
  61. package/components/{CashierSessionExpirationModal-BK2_wm99.cjs → CashierSessionExpirationModal-15tJe60J.cjs} +1 -1
  62. package/components/{CashierSessionExpirationModal-BhImBZ1E.cjs → CashierSessionExpirationModal-B0TYP3cY.cjs} +1 -1
  63. package/components/{CashierSessionExpirationModal-BShnnd_h.js → CashierSessionExpirationModal-BZyLc1_S.js} +2 -2
  64. package/components/{CashierSessionExpirationModal-D0BpNBmZ.js → CashierSessionExpirationModal-BrhADqF1.js} +2 -2
  65. package/components/{CashierSessionExpirationModal-DqSIsJxv.js → CashierSessionExpirationModal-CePJRUlu.js} +2 -2
  66. package/components/{CashierSessionExpirationModal-BWNXPWxc.js → CashierSessionExpirationModal-DXVLX-Ja.js} +2 -2
  67. package/components/{CashierSpinner-CtI4X8lZ.js → CashierSpinner-BQv2AMHG.js} +2 -2
  68. package/components/{CashierSpinner-B0ZH80uj.js → CashierSpinner-CB2IDF99.js} +2 -2
  69. package/components/{CashierSpinner-D-uLFs59.js → CashierSpinner-CFUNSysS.js} +2 -2
  70. package/components/{CashierSpinner-Cp08TAwN.cjs → CashierSpinner-D6D1AmR0.cjs} +1 -1
  71. package/components/{CashierSpinner-BJnp0qhe.js → CashierSpinner-DrZub22H.js} +2 -2
  72. package/components/{CashierSpinner-CPS-fbCS.cjs → CashierSpinner-mcvtpHVb.cjs} +1 -1
  73. package/components/{CashierStepUp-CeIXPzTS.js → CashierStepUp-CVfdA9uX.js} +20 -19
  74. package/components/{CashierStepUp-B8jEpfpI.cjs → CashierStepUp-ChUBdlnk.cjs} +1 -1
  75. package/components/CashierStepUp-Cj8xEgHC.js +1264 -0
  76. package/components/CashierStepUp-DH4pCg7V.cjs +1 -0
  77. package/components/{CashierStepUp-B5SFdX4c.js → CashierStepUp-DfYWcQde.js} +21 -21
  78. package/components/CashierStepUp-iS4DfmUJ.js +1304 -0
  79. package/components/{CashierTransactionHistory-CdC-Ml8p.js → CashierTransactionHistory-B9a9qQjo.js} +4 -4
  80. package/components/{CashierTransactionHistory-B6EZhgfX.js → CashierTransactionHistory-C8SSHcED.js} +4 -4
  81. package/components/{CashierTransactionHistory-C1n-D4Wb.js → CashierTransactionHistory-C9q1W_66.js} +4 -4
  82. package/components/{CashierTransactionHistory-CzZswOtC.js → CashierTransactionHistory-D5wsFJEM.js} +4 -4
  83. package/components/{CashierTransactionHistory-8Ijjq6-a.cjs → CashierTransactionHistory-DrZj3C3r.cjs} +1 -1
  84. package/components/{CashierTransactionHistory-Brkk9hj3.cjs → CashierTransactionHistory-veYBG-Kr.cjs} +1 -1
  85. package/components/{CashierVerifications-C_sQECJN.js → CashierVerifications-BEFmSXtj.js} +180 -154
  86. package/components/{CashierVerifications-BDgGTdjX.js → CashierVerifications-BI_yu8fO.js} +180 -154
  87. package/components/CashierVerifications-BUuzc2KV.cjs +1 -0
  88. package/components/{CashierVerifications-CFO3VH4g.js → CashierVerifications-Bu0ALHD1.js} +180 -154
  89. package/components/{CashierVerifications-BKoNok_b.js → CashierVerifications-D692oxDO.js} +180 -154
  90. package/components/CashierVerifications-nyuz_0L4.cjs +1 -0
  91. package/components/{TxnStatusIcon-D-oJwJ2f.js → TxnStatusIcon-8ewM4ccO.js} +1 -1
  92. package/components/{TxnStatusIcon-D8I6-FUx.js → TxnStatusIcon-BO-jJSDC.js} +1 -1
  93. package/components/{TxnStatusIcon-5dGHqNJj.js → TxnStatusIcon-Bw8L-eXX.js} +1 -1
  94. package/components/{TxnStatusIcon-D39Ku0g9.cjs → TxnStatusIcon-CspMEKjU.cjs} +1 -1
  95. package/components/{TxnStatusIcon-D8rS44nE.cjs → TxnStatusIcon-DKI_hVK8.cjs} +1 -1
  96. package/components/{TxnStatusIcon-B3gjjhUj.js → TxnStatusIcon-xhjNtEZS.js} +1 -1
  97. package/components/{TxnTypeIcons-C1PPXlv0.js → TxnTypeIcons-BL543vM-.js} +1 -1
  98. package/components/{TxnTypeIcons-BC2MMQk1.cjs → TxnTypeIcons-BxLbK2qP.cjs} +1 -1
  99. package/components/{TxnTypeIcons-DsBV_auh.js → TxnTypeIcons-CM9KOumw.js} +1 -1
  100. package/components/{TxnTypeIcons-BAu7ZXcx.js → TxnTypeIcons-DFX30GCY.js} +1 -1
  101. package/components/{TxnTypeIcons-B8JYAm1N.js → TxnTypeIcons-Dv_tv357.js} +1 -1
  102. package/components/{TxnTypeIcons-CQ2NkaXf.cjs → TxnTypeIcons-SOn0rg4y.cjs} +1 -1
  103. package/es2015/cashier-page.cjs +1 -1
  104. package/es2015/cashier-page.js +1 -1
  105. package/esnext/cashier-page.js +1 -1
  106. package/package.json +1 -1
  107. package/components/CashierCarousel-BVmyFDx4.cjs +0 -1
  108. package/components/CashierCarousel-Bd1AqAVR.cjs +0 -1
  109. package/components/CashierCarousel-CINRCn95.js +0 -708
  110. package/components/CashierCarousel-COl4VcVY.js +0 -711
  111. package/components/CashierCarousel-DPuovopT.js +0 -711
  112. package/components/CashierCarousel-DfQzq9Go.js +0 -711
  113. package/components/CashierCarousel-Dtp7hznQ.cjs +0 -1
  114. package/components/CashierCarousel-YirC6RJx.js +0 -708
  115. package/components/CashierCarousel-YzIHQA_U.js +0 -708
  116. package/components/CashierError-BDhHDbx7.cjs +0 -1
  117. package/components/CashierError-BU_nAUO7.cjs +0 -1
  118. package/components/CashierError-CHox-IiT.js +0 -849
  119. package/components/CashierError-Cql8hgCS.cjs +0 -1
  120. package/components/CashierError-Cye53nP1.js +0 -849
  121. package/components/CashierError-DFpXjpnw.js +0 -849
  122. package/components/CashierError-DNPGd_Qy.js +0 -849
  123. package/components/CashierError-DhLbUDdZ.js +0 -849
  124. package/components/CashierError-uh3dtxeS.js +0 -849
  125. package/components/CashierHeader-BppY3Whf.js +0 -477
  126. package/components/CashierHeader-BsoummJc.js +0 -477
  127. package/components/CashierHeader-D6fFga5G.js +0 -477
  128. package/components/CashierHeader-DFTZEscY.cjs +0 -1
  129. package/components/CashierHeader-DGQgK3Mi.cjs +0 -1
  130. package/components/CashierHeader-DXiUgEC4.cjs +0 -1
  131. package/components/CashierHeader-UzOTpMJE.js +0 -477
  132. package/components/CashierHeader-qF4Dp4lm.js +0 -477
  133. package/components/CashierHeader-yZ18B2kt.js +0 -477
  134. package/components/CashierIframeRedirect-C2V-UdlY.js +0 -387
  135. package/components/CashierIframeRedirect-C9A70DKI.js +0 -387
  136. package/components/CashierIframeRedirect-DTNEJYcp.cjs +0 -1
  137. package/components/CashierIframeRedirect-DsTB0VPT.js +0 -387
  138. package/components/CashierIframeRedirect-DvPoIaeZ.cjs +0 -1
  139. package/components/CashierIframeRedirect-DwHUOnqx.js +0 -387
  140. package/components/CashierIframeRedirect-DzZ0ny59.js +0 -387
  141. package/components/CashierIframeRedirect-QbViIYoi.cjs +0 -1
  142. package/components/CashierIframeRedirect-hv1C3ELi.js +0 -387
  143. package/components/CashierMethodDetails--VgKronF.js +0 -11361
  144. package/components/CashierMethodDetails-B3pKrQ33.cjs +0 -85
  145. package/components/CashierMethodDetails-BJzw7HpC.js +0 -11311
  146. package/components/CashierMethodDetails-BduwgGFf.js +0 -11312
  147. package/components/CashierMethodDetails-CFTNshq8.js +0 -11364
  148. package/components/CashierMethodDetails-Cx5hAXMm.js +0 -11319
  149. package/components/CashierMethodDetails-DM9jw46k.cjs +0 -85
  150. package/components/CashierMethodDetails-DU7kvJBt.js +0 -11315
  151. package/components/CashierMethodDetails-DYrbrr8o.cjs +0 -85
  152. package/components/CashierMethodDetails-DqHPQoci.js +0 -11360
  153. package/components/CashierMethodDetails-LuXonXkb.cjs +0 -85
  154. package/components/CashierMethodDetails-Mf9CjdnH.cjs +0 -85
  155. package/components/CashierMethodDetails-wUxBeaoT.js +0 -11368
  156. package/components/CashierMethodsList-BmBonjbW.js +0 -955
  157. package/components/CashierMethodsList-DNKyMqx9.cjs +0 -1
  158. package/components/CashierMethodsList-DikeveqL.js +0 -955
  159. package/components/CashierMethodsList-Dke9ZfIv.js +0 -969
  160. package/components/CashierMethodsList-DoZUls2T.js +0 -969
  161. package/components/CashierMethodsList-TDZO2lgt.cjs +0 -1
  162. package/components/CashierMethodsList-TezEzLO8.cjs +0 -1
  163. package/components/CashierMethodsList-_2jprmvV.js +0 -969
  164. package/components/CashierMethodsList-vNXo4202.js +0 -955
  165. package/components/CashierModal-Bm2VVV9v.js +0 -386
  166. package/components/CashierModal-CD-mRbW-.js +0 -386
  167. package/components/CashierModal-Ci9EsZWx.cjs +0 -1
  168. package/components/CashierModal-CoQj_0GG.js +0 -402
  169. package/components/CashierModal-D3CCFA8n.js +0 -402
  170. package/components/CashierModal-Dg-s3ob3.cjs +0 -1
  171. package/components/CashierModal-IjvEDr1e.cjs +0 -1
  172. package/components/CashierModal-Tx-_I3C5.js +0 -402
  173. package/components/CashierModal-_6k8SMmv.js +0 -386
  174. package/components/CashierNotifications-B-ca_1gR.js +0 -129
  175. package/components/CashierNotifications-BwSNv1p7.js +0 -129
  176. package/components/CashierNotifications-C1ho-Jaz.cjs +0 -1
  177. package/components/CashierNotifications-CMN-xRMO.cjs +0 -1
  178. package/components/CashierNotifications-CW1ZTrj2.js +0 -129
  179. package/components/CashierNotifications-DpuHjG3p.js +0 -129
  180. package/components/CashierNotifications-Dwb6PONf.js +0 -129
  181. package/components/CashierNotifications-Pv9TuEmZ.js +0 -129
  182. package/components/CashierNotifications-RLUOVh_a.cjs +0 -1
  183. package/components/CashierPage-BuVeTvKW.js +0 -10251
  184. package/components/CashierPage-CJp9QSIi.cjs +0 -23
  185. package/components/CashierPage-CdLRZC8f.js +0 -10304
  186. package/components/CashierPage-CefJ-ocg.js +0 -10251
  187. package/components/CashierPage-D1htTrxx.js +0 -10304
  188. package/components/CashierPage-DDxb0MKa.js +0 -10304
  189. package/components/CashierPage-Dav0dith.js +0 -10251
  190. package/components/CashierPage-Ditk0AIr.cjs +0 -23
  191. package/components/CashierPage-iXK3cQSt.cjs +0 -23
  192. package/components/CashierReceiptPage-BFGN9mSN.js +0 -2043
  193. package/components/CashierReceiptPage-BIUhFAGF.js +0 -2063
  194. package/components/CashierReceiptPage-BsDK9X-8.js +0 -2063
  195. package/components/CashierReceiptPage-BwxezsZt.js +0 -2043
  196. package/components/CashierReceiptPage-Cce54jka.cjs +0 -29
  197. package/components/CashierReceiptPage-DDY6FfFY.js +0 -2043
  198. package/components/CashierReceiptPage-M-ZC6CP_.js +0 -2063
  199. package/components/CashierReceiptPage-VraYh2dk.cjs +0 -29
  200. package/components/CashierReceiptPage-v1DECVU-.cjs +0 -29
  201. package/components/CashierSessionExpirationModal-ByhAjtaj.js +0 -1212
  202. package/components/CashierSessionExpirationModal-CLxmnB3R.js +0 -1212
  203. package/components/CashierSessionExpirationModal-CSMPQDFH.cjs +0 -2
  204. package/components/CashierSessionExpirationModal-Comz8M40.cjs +0 -2
  205. package/components/CashierSessionExpirationModal-D1pgZ4Hb.js +0 -1212
  206. package/components/CashierSessionExpirationModal-DjUO431d.cjs +0 -2
  207. package/components/CashierSessionExpirationModal-DukMm7cR.js +0 -1212
  208. package/components/CashierSessionExpirationModal-NLTDcnxx.js +0 -1212
  209. package/components/CashierSessionExpirationModal-oBtX4-uP.js +0 -1212
  210. package/components/CashierSpinner-BbF9Pu3y.cjs +0 -1
  211. package/components/CashierSpinner-BwEdDRlw.js +0 -79
  212. package/components/CashierSpinner-CijlQ7Jb.js +0 -79
  213. package/components/CashierSpinner-CrFft3Sn.cjs +0 -1
  214. package/components/CashierSpinner-D6_uiSDw.js +0 -79
  215. package/components/CashierSpinner-HGOslVca.js +0 -79
  216. package/components/CashierSpinner-NTyeFxdl.js +0 -79
  217. package/components/CashierSpinner-iQ3LWBE8.js +0 -79
  218. package/components/CashierSpinner-sn37imTZ.cjs +0 -1
  219. package/components/CashierStepUp-BA1TZFgZ.cjs +0 -1
  220. package/components/CashierStepUp-BaQ-4ONc.cjs +0 -1
  221. package/components/CashierStepUp-BbuAT98T.js +0 -1161
  222. package/components/CashierStepUp-BrKQHB8z.js +0 -1200
  223. package/components/CashierStepUp-C1IloUpr.js +0 -1161
  224. package/components/CashierStepUp-Cuw-UFB4.js +0 -1200
  225. package/components/CashierStepUp-CxYfVJbG.js +0 -1161
  226. package/components/CashierStepUp-Db-BT4Wt.js +0 -1200
  227. package/components/CashierStepUp-DgIrjq3H.js +0 -1200
  228. package/components/CashierStepUp-Dmu5H4_4.cjs +0 -1
  229. package/components/CashierStepUp-DrhTGMAU.js +0 -1161
  230. package/components/CashierStepUp-DwDnE54o.cjs +0 -1
  231. package/components/CashierTransactionHistory-BGaRKnAl.js +0 -1415
  232. package/components/CashierTransactionHistory-BauiDxsc.js +0 -1415
  233. package/components/CashierTransactionHistory-CGxJcTl5.cjs +0 -1
  234. package/components/CashierTransactionHistory-CjRne0U9.js +0 -1415
  235. package/components/CashierTransactionHistory-D6IaNMgy.js +0 -1415
  236. package/components/CashierTransactionHistory-DCZpMr4c.js +0 -1415
  237. package/components/CashierTransactionHistory-DYKLHPml.cjs +0 -1
  238. package/components/CashierTransactionHistory-DtsTfXjZ.js +0 -1415
  239. package/components/CashierTransactionHistory-j-vvWT1T.cjs +0 -1
  240. package/components/CashierVerifications-BRTvf5t4.js +0 -696
  241. package/components/CashierVerifications-BU-pPwnt.js +0 -696
  242. package/components/CashierVerifications-BdgCPyvj.cjs +0 -1
  243. package/components/CashierVerifications-Bu_4fcwt.cjs +0 -1
  244. package/components/CashierVerifications-C2sK0JMU.cjs +0 -1
  245. package/components/CashierVerifications-CHcdLAGz.cjs +0 -1
  246. package/components/CashierVerifications-CMynKu53.js +0 -696
  247. package/components/CashierVerifications-CrLvzaUH.js +0 -700
  248. package/components/CashierVerifications-DK1hxqhr.js +0 -700
  249. package/components/CashierVerifications-DtoCEJ_H.js +0 -700
  250. package/components/CashierVerifications-xAqEgS63.cjs +0 -1
  251. package/components/TxnStatusIcon-BAWpcB0g.js +0 -142
  252. package/components/TxnStatusIcon-CltqIISZ.js +0 -142
  253. package/components/TxnStatusIcon-D-vBlig8.js +0 -142
  254. package/components/TxnStatusIcon-D77NSDRc.js +0 -142
  255. package/components/TxnStatusIcon-De9rtFVI.cjs +0 -1
  256. package/components/TxnStatusIcon-Jv2ynILA.js +0 -142
  257. package/components/TxnStatusIcon-KsibSvGt.cjs +0 -1
  258. package/components/TxnStatusIcon-WGZKBMbi.cjs +0 -1
  259. package/components/TxnStatusIcon-gJ_LLQa4.js +0 -142
  260. package/components/TxnTypeIcons-BTTcl99h.js +0 -101
  261. package/components/TxnTypeIcons-C-Zv63Oo.js +0 -101
  262. package/components/TxnTypeIcons-Cyf4suDM.cjs +0 -1
  263. package/components/TxnTypeIcons-DBLDYLhO.js +0 -101
  264. package/components/TxnTypeIcons-DHDq_jkt.cjs +0 -1
  265. package/components/TxnTypeIcons-DhNaW2zD.js +0 -101
  266. package/components/TxnTypeIcons-H_ILduEQ.js +0 -101
  267. package/components/TxnTypeIcons-OBZcuGyc.cjs +0 -1
  268. package/components/TxnTypeIcons-jcfxBCN0.js +0 -101
@@ -1,1200 +0,0 @@
1
- var Qe = Object.defineProperty, $e = Object.defineProperties;
2
- var et = Object.getOwnPropertyDescriptors;
3
- var Me = Object.getOwnPropertySymbols;
4
- var tt = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
5
- var Te = (n, t, e) => t in n ? Qe(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, ke = (n, t) => {
6
- for (var e in t || (t = {}))
7
- tt.call(t, e) && Te(n, e, t[e]);
8
- if (Me)
9
- for (var e of Me(t))
10
- nt.call(t, e) && Te(n, e, t[e]);
11
- return n;
12
- }, Le = (n, t) => $e(n, et(t));
13
- var me = (n, t, e) => new Promise((i, r) => {
14
- var a = (c) => {
15
- try {
16
- s(e.next(c));
17
- } catch (f) {
18
- r(f);
19
- }
20
- }, d = (c) => {
21
- try {
22
- s(e.throw(c));
23
- } catch (f) {
24
- r(f);
25
- }
26
- }, s = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(a, d);
27
- s((e = e.apply(n, t)).next());
28
- });
29
- import { a as it, $ as rt, S as ot, b as lt, s as st, f as oe, c as at, y as ye, e as E, k as O, m as k, o as l, p as ct, q as dt, x as ze, v as x, l as p, z as te, Q as Z, n as D, w as L, F as Be, L as J, r as ut, D as Pe, E as pt, A as ft, B as mt } from "./CashierPage-DA1UIZ8S.js";
30
- import { s as gt, a as ht, b as bt } from "./CashierHeader-BppY3Whf.js";
31
- function Ae(n, t) {
32
- it(n, t);
33
- }
34
- function wt(n) {
35
- rt.set(n);
36
- }
37
- const Ie = {
38
- en: {
39
- otpTitle: "Code verification is required",
40
- popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
41
- popupMessageLastWarning: "If the next validation attempt is failed, your transaction will fail and you will be returned back to payment method.",
42
- minutes: "minutes",
43
- errorHeader: "Error",
44
- configError: "Unable to load OTP data. Please try again later.",
45
- otpHeading: "Enter OTP",
46
- resendOtp: "Resent OTP",
47
- submit: "Submit",
48
- close: "Close",
49
- invalidOtp: "The code you've sent is not valid. Please try again.",
50
- accountBlocked: "Too many attempts for OTP. Your account has been blocked for one hour.",
51
- submissionError: "Something went wrong. Please try again.",
52
- otpExpiredMessage: "Validation code has expired, please request a new one to continue.",
53
- timeRemaining: "Code expires in:",
54
- selectChannelTitle: "Select verification method",
55
- selectChannelMessage: "Choose how you would like to receive your verification code",
56
- channelSMS: "SMS",
57
- channelEmail: "Email",
58
- sendCode: "Send code",
59
- waitSeconds: "Please wait for before resending:"
60
- },
61
- tr: {
62
- otpTitle: "Kod doğrulaması gereklidir",
63
- popupMessage: "Güncellemeyi gerçekleştirmek için SMS/e-posta adresinize gönderilen güvenlik kodunu girin.",
64
- popupMessageLastWarning: "Bir sonraki doğrulama denemesi başarısız olursa, işleminiz başarısız olacak ve ödeme yöntemine geri döndürüleceksiniz.",
65
- minutes: "dakika",
66
- errorHeader: "Hata",
67
- configError: "OTP verileri yüklenemedi. Lütfen daha sonra tekrar deneyin.",
68
- otpHeading: "OTP Girin",
69
- resendOtp: "OTP'yi Yeniden Gönder",
70
- submit: "Gönder",
71
- close: "Kapat",
72
- invalidOtp: "Gönderdiğiniz kod geçerli değil. Lütfen tekrar deneyin.",
73
- accountBlocked: "OTP için çok fazla deneme yapıldı. Hesabınız bir saat süreyle engellenmiştir.",
74
- submissionError: "Bir şeyler ters gitti. Lütfen tekrar deneyin.",
75
- otpExpiredMessage: "Doğrulama kodunun süresi doldu, devam etmek için lütfen yeni bir kod isteyin.",
76
- timeRemaining: "Kodun süresi doluyor:",
77
- selectChannelTitle: "Doğrulama yöntemi seçin",
78
- selectChannelMessage: "Doğrulama kodunuzu nasıl almak istediğinizi seçin",
79
- channelSMS: "SMS kodu",
80
- channelEmail: "E-posta kodu",
81
- sendCode: "Kodu gönder",
82
- waitSeconds: "Tekrar göndermeden önce lütfen bekleyin:"
83
- },
84
- fr: {
85
- otpTitle: "La vérification par code est requise",
86
- popupMessage: "Veuillez saisir le code de sécurité reçu par SMS ou par e-mail afin d'effectuer la mise à jour.",
87
- popupMessageLastWarning: "Si la prochaine tentative de validation échoue, votre transaction échouera et vous serez redirigé vers le moyen de paiement.",
88
- minutes: "minutes",
89
- errorHeader: "Erreur",
90
- configError: "Impossible de charger les données OTP. Veuillez réessayer plus tard.",
91
- otpHeading: "Saisir le code OTP",
92
- resendOtp: "Renvoyer le code OTP",
93
- submit: "Valider",
94
- close: "Fermer",
95
- invalidOtp: "Le code que vous avez saisi n'est pas valide. Veuillez réessayer.",
96
- accountBlocked: "Trop de tentatives de code OTP. Votre compte a été bloqué pendant une heure.",
97
- submissionError: "Une erreur s'est produite. Veuillez réessayer.",
98
- otpExpiredMessage: "Le code de validation a expiré. Veuillez en demander un nouveau pour continuer.",
99
- timeRemaining: "Le code expire dans :",
100
- selectChannelTitle: "Sélectionner la méthode de vérification",
101
- selectChannelMessage: "Choisissez comment vous souhaitez recevoir votre code de vérification",
102
- channelSMS: "SMS",
103
- channelEmail: "E-mail",
104
- sendCode: "Envoyer le code",
105
- waitSeconds: "Veuillez patienter avant de renvoyer le code :"
106
- },
107
- da: {
108
- otpTitle: "Kodebekræftelse er påkrævet",
109
- popupMessage: "Indtast venligst sikkerhedskoden modtaget på din SMS/e-mailadresse for at udføre opdateringen.",
110
- popupMessageLastWarning: "Hvis det næste valideringsforsøg mislykkes, vil din transaktion mislykkes, og du vil blive sendt tilbage til betalingsmetoden.",
111
- minutes: "minutter",
112
- errorHeader: "Fejl",
113
- configError: "Kan ikke indlæse OTP-data. Prøv venligst igen senere.",
114
- otpHeading: "Indtast OTP",
115
- resendOtp: "Send OTP igen",
116
- submit: "Indsend",
117
- close: "Luk",
118
- invalidOtp: "Koden du har sendt er ikke gyldig. Prøv venligst igen.",
119
- accountBlocked: "For mange forsøg på OTP. Din konto er blevet blokeret i en time.",
120
- submissionError: "Noget gik galt. Prøv venligst igen.",
121
- otpExpiredMessage: "Valideringskoden er udløbet. Anmod venligst om en ny for at fortsætte.",
122
- timeRemaining: "Koden udløber om:",
123
- selectChannelTitle: "Vælg bekræftelsesmetode",
124
- selectChannelMessage: "Vælg, hvordan du gerne vil modtage din bekræftelseskode",
125
- channelSMS: "SMS",
126
- channelEmail: "E-mail",
127
- sendCode: "Send kode",
128
- waitSeconds: "Vent venligst før genafsendelse:"
129
- },
130
- de: {
131
- otpTitle: "Code-Verifizierung ist erforderlich",
132
- popupMessage: "Bitte geben Sie den Sicherheitscode ein, den Sie per SMS/E-Mail erhalten haben, um die Aktualisierung durchzuführen.",
133
- popupMessageLastWarning: "Wenn der nächste Validierungsversuch fehlschlägt, schlägt Ihre Transaktion fehl und Sie werden zur Zahlungsmethode zurückgeleitet.",
134
- minutes: "Minuten",
135
- errorHeader: "Fehler",
136
- configError: "OTP-Daten können nicht geladen werden. Bitte versuchen Sie es später erneut.",
137
- otpHeading: "OTP eingeben",
138
- resendOtp: "OTP erneut senden",
139
- submit: "Absenden",
140
- close: "Schließen",
141
- invalidOtp: "Der von Ihnen gesendete Code ist ungültig. Bitte versuchen Sie es erneut.",
142
- accountBlocked: "Zu viele OTP-Versuche. Ihr Konto wurde für eine Stunde gesperrt.",
143
- submissionError: "Etwas ist schiefgelaufen. Bitte versuchen Sie es erneut.",
144
- otpExpiredMessage: "Der Validierungscode ist abgelaufen. Bitte fordern Sie einen neuen an, um fortzufahren.",
145
- timeRemaining: "Code läuft ab in:",
146
- selectChannelTitle: "Verifizierungsmethode auswählen",
147
- selectChannelMessage: "Wählen Sie, wie Sie Ihren Verifizierungscode erhalten möchten",
148
- channelSMS: "SMS",
149
- channelEmail: "E-Mail",
150
- sendCode: "Code senden",
151
- waitSeconds: "Bitte warten Sie, bevor Sie erneut senden:"
152
- },
153
- nl: {
154
- otpTitle: "Codeverificatie is vereist",
155
- popupMessage: "Voer de beveiligingscode in die u via SMS/e-mail heeft ontvangen om de update uit te voeren.",
156
- popupMessageLastWarning: "Als de volgende validatiepoging mislukt, zal uw transactie mislukken en wordt u teruggestuurd naar de betaalmethode.",
157
- minutes: "minuten",
158
- errorHeader: "Fout",
159
- configError: "Kan OTP-gegevens niet laden. Probeer het later opnieuw.",
160
- otpHeading: "OTP invoeren",
161
- resendOtp: "OTP opnieuw verzenden",
162
- submit: "Verzenden",
163
- close: "Sluiten",
164
- invalidOtp: "De code die u heeft verzonden is niet geldig. Probeer het opnieuw.",
165
- accountBlocked: "Te veel OTP-pogingen. Uw account is voor één uur geblokkeerd.",
166
- submissionError: "Er is iets misgegaan. Probeer het opnieuw.",
167
- otpExpiredMessage: "De validatiecode is verlopen. Vraag een nieuwe aan om door te gaan.",
168
- timeRemaining: "Code verloopt over:",
169
- selectChannelTitle: "Verificatiemethode selecteren",
170
- selectChannelMessage: "Kies hoe u uw verificatiecode wilt ontvangen",
171
- channelSMS: "SMS",
172
- channelEmail: "E-mail",
173
- sendCode: "Code verzenden",
174
- waitSeconds: "Wacht even voordat u opnieuw verzendt:"
175
- }
176
- };
177
- function vt(n) {
178
- at(n, "svelte-gpy3mu", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.RadioIndicator{width:20px;height:20px;border-radius:50%;border:2px solid var(--emw--color-typography, #fff);position:relative;flex-shrink:0;margin-right:8px;transition:all 0.2s ease;opacity:0.7}.RadioIndicator.checked::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;border-radius:50%;opacity:1;background:var(--emw--color-primary, #fff)}.RadioIndicator.checked{border:2px solid var(--emw--color-primary, #fff)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:all 0.3s ease}.ModalCloseIcon svg{width:11px;height:11px;fill:var(--emw--color-primary, red);cursor:pointer}.ModalCloseIcon:hover{transform:rotate(90deg)}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpButton{text-transform:uppercase;font-weight:var(--emw--font-weight-medium, 500);color:var(--emw--color-typography-button, #000000);text-align:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear}.OtpButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.OtpButton[disabled],.OtpButton.disabled{filter:saturate(50%);opacity:0.5;cursor:not-allowed;pointer-events:none}.OtpButton:hover:not([disabled]):not(.disabled){box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}@container (max-width: 500px){.OtpDescription{font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-size-big, 20px)}}.OtpDescription{display:flex;color:var(--emw--color-typography, #fff);flex-direction:column;gap:12px;font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-medium, 16px);font-weight:var(--emw--font-weight-medium, 600)}.OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px;align-items:center}.OtpError h2{margin:0;color:var(--emw--color-typography, #fff)}.OtpError p{color:var(--emw--color-typography, #fff);text-align:center;font-size:var(--emw--font-size-small, 12px)}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.ChannelSelection{display:flex;flex-direction:row;justify-content:space-between}.ChannelCheckbox{display:flex;align-items:center;padding:var(--emw--spacing-medium, 16px);cursor:pointer;transition:all 0.2s ease}.ChannelCheckbox input[type=radio]{display:none}.ChannelCheckbox .ChannelContent{display:flex;align-items:center;gap:3px;width:100%;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500)}.ChannelCheckbox .ChannelContent svg{flex-shrink:0;opacity:0.7;width:20px;height:20px}.ChannelCheckbox .ChannelContent span{text-transform:uppercase}.ChannelCheckbox.selected .ChannelContent{color:var(--emw--color-primary, #000000)}.ChannelCheckbox.selected .ChannelContent svg{stroke:var(--emw--color-primary, #000000);opacity:1}.ChannelCheckbox:hover:not(.selected){color:var(--emw--color-active, #fff)}.OtpField{display:flex;justify-content:space-between;margin:10px}.OtpField input{width:45px;font-size:32px;padding:5px;text-align:center;border-radius:5px;margin:6px;font-weight:bold;outline:none;background:var(--emw--color-background);border:0;transition:all 0.1s;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);color:var(--emw--color-typography, #fff)}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{box-shadow:0 0 1px 1px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between;gap:40px}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpNoticeMessage{color:var(--emw--color-primary, #f9c408);font-weight:bold}.LastWarningMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 0}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.OtpTimer{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-small, 12px);opacity:0.8}@container (max-width: 500px){.OtpContent{padding:var(--emw--spacing-small, 10px)}.OtpField input{width:40px;font-size:28px;margin:4px}}');
179
- }
180
- function Re(n, t, e) {
181
- const i = n.slice();
182
- return i[69] = t[e], i[70] = t, i[71] = e, i;
183
- }
184
- function _t(n) {
185
- let t, e, i, r, a, d, s, c, f, v, w, T, M, b, m, _, S, A = (
186
- /*$_*/
187
- n[19]("channelSMS") + ""
188
- ), X, N, H, I, ne, K, Q, le, $, C, z, F, se, ae, ce = (
189
- /*$_*/
190
- n[19]("channelEmail") + ""
191
- ), U, ge, q, j, Y, de, ue;
192
- function pe(u, y) {
193
- return (
194
- /*showResendOtp*/
195
- u[9] ? Ct : (
196
- /*showOtpInput*/
197
- u[12] ? yt : St
198
- )
199
- );
200
- }
201
- let ee = pe(n), G = ee(n), W = (
202
- /*selectedChannel*/
203
- n[0] && xe(n)
204
- );
205
- function he(u, y) {
206
- if (
207
- /*isLoading*/
208
- u[3] && /*showOtpInput*/
209
- u[12]
210
- )
211
- return zt;
212
- if (
213
- /*showOtpInput*/
214
- u[12] && /*config*/
215
- u[4]
216
- )
217
- return Lt;
218
- }
219
- let ie = he(n), V = ie && ie(n);
220
- function be(u, y) {
221
- if (
222
- /*showResendOtp*/
223
- u[9]
224
- )
225
- return At;
226
- if (
227
- /*showOtpInput*/
228
- u[12] && /*config*/
229
- u[4]
230
- )
231
- return Pt;
232
- }
233
- let re = be(n), R = re && re(n);
234
- return {
235
- c() {
236
- t = k("div"), G.c(), e = D(), i = k("div"), r = k("label"), a = k("div"), d = D(), s = k("input"), f = D(), v = k("div"), w = Z("svg"), T = Z("path"), M = Z("circle"), b = Z("circle"), m = Z("circle"), _ = D(), S = k("span"), X = L(A), N = D(), H = k("label"), I = k("div"), ne = D(), K = k("input"), le = D(), $ = k("div"), C = Z("svg"), z = Z("rect"), F = Z("path"), se = D(), ae = k("span"), U = L(ce), ge = D(), W && W.c(), q = D(), V && V.c(), j = D(), Y = k("div"), R && R.c(), l(t, "class", "OtpDescription"), l(a, "class", "RadioIndicator"), J(
237
- a,
238
- "checked",
239
- /*selectedChannel*/
240
- n[0] === /*channels*/
241
- n[20].SMS
242
- ), l(s, "type", "radio"), l(s, "name", "channel"), s.value = /*channels*/
243
- n[20].SMS, s.checked = c = /*selectedChannel*/
244
- n[0] === /*channels*/
245
- n[20].SMS, l(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), l(M, "cx", "9"), l(M, "cy", "11"), l(M, "r", "0.5"), l(M, "fill", "currentColor"), l(b, "cx", "12"), l(b, "cy", "11"), l(b, "r", "0.5"), l(b, "fill", "currentColor"), l(m, "cx", "15"), l(m, "cy", "11"), l(m, "r", "0.5"), l(m, "fill", "currentColor"), l(w, "xmlns", "http://www.w3.org/2000/svg"), l(w, "width", "24"), l(w, "height", "24"), l(w, "viewBox", "0 0 24 24"), l(w, "fill", "none"), l(w, "stroke", "currentColor"), l(w, "stroke-width", "2"), l(w, "stroke-linecap", "round"), l(w, "stroke-linejoin", "round"), l(v, "class", "ChannelContent"), l(r, "class", "ChannelCheckbox"), J(
246
- r,
247
- "selected",
248
- /*selectedChannel*/
249
- n[0] === /*channels*/
250
- n[20].SMS
251
- ), l(I, "class", "RadioIndicator"), J(
252
- I,
253
- "checked",
254
- /*selectedChannel*/
255
- n[0] === /*channels*/
256
- n[20].EMAIL
257
- ), l(K, "type", "radio"), l(K, "name", "channel"), K.value = /*channels*/
258
- n[20].EMAIL, K.checked = Q = /*selectedChannel*/
259
- n[0] === /*channels*/
260
- n[20].EMAIL, l(z, "x", "2"), l(z, "y", "4"), l(z, "width", "20"), l(z, "height", "16"), l(z, "rx", "2"), l(F, "d", "m2 7 10 6 10-6"), l(C, "xmlns", "http://www.w3.org/2000/svg"), l(C, "width", "24"), l(C, "height", "24"), l(C, "viewBox", "0 0 24 24"), l(C, "fill", "none"), l(C, "stroke", "currentColor"), l(C, "stroke-width", "2"), l(C, "stroke-linecap", "round"), l(C, "stroke-linejoin", "round"), l($, "class", "ChannelContent"), l(H, "class", "ChannelCheckbox"), J(
261
- H,
262
- "selected",
263
- /*selectedChannel*/
264
- n[0] === /*channels*/
265
- n[20].EMAIL
266
- ), l(i, "class", "ChannelSelection"), l(Y, "class", "OtpActionButtons");
267
- },
268
- m(u, y) {
269
- O(u, t, y), G.m(t, null), O(u, e, y), O(u, i, y), p(i, r), p(r, a), p(r, d), p(r, s), p(r, f), p(r, v), p(v, w), p(w, T), p(w, M), p(w, b), p(w, m), p(v, _), p(v, S), p(S, X), p(i, N), p(i, H), p(H, I), p(H, ne), p(H, K), p(H, le), p(H, $), p($, C), p(C, z), p(C, F), p($, se), p($, ae), p(ae, U), O(u, ge, y), W && W.m(u, y), O(u, q, y), V && V.m(u, y), O(u, j, y), O(u, Y, y), R && R.m(Y, null), de || (ue = [
270
- te(
271
- s,
272
- "change",
273
- /*change_handler*/
274
- n[39]
275
- ),
276
- te(
277
- K,
278
- "change",
279
- /*change_handler_1*/
280
- n[40]
281
- )
282
- ], de = !0);
283
- },
284
- p(u, y) {
285
- ee === (ee = pe(u)) && G ? G.p(u, y) : (G.d(1), G = ee(u), G && (G.c(), G.m(t, null))), y[0] & /*selectedChannel, channels*/
286
- 1048577 && J(
287
- a,
288
- "checked",
289
- /*selectedChannel*/
290
- u[0] === /*channels*/
291
- u[20].SMS
292
- ), y[0] & /*selectedChannel*/
293
- 1 && c !== (c = /*selectedChannel*/
294
- u[0] === /*channels*/
295
- u[20].SMS) && (s.checked = c), y[0] & /*$_*/
296
- 524288 && A !== (A = /*$_*/
297
- u[19]("channelSMS") + "") && x(X, A), y[0] & /*selectedChannel, channels*/
298
- 1048577 && J(
299
- r,
300
- "selected",
301
- /*selectedChannel*/
302
- u[0] === /*channels*/
303
- u[20].SMS
304
- ), y[0] & /*selectedChannel, channels*/
305
- 1048577 && J(
306
- I,
307
- "checked",
308
- /*selectedChannel*/
309
- u[0] === /*channels*/
310
- u[20].EMAIL
311
- ), y[0] & /*selectedChannel*/
312
- 1 && Q !== (Q = /*selectedChannel*/
313
- u[0] === /*channels*/
314
- u[20].EMAIL) && (K.checked = Q), y[0] & /*$_*/
315
- 524288 && ce !== (ce = /*$_*/
316
- u[19]("channelEmail") + "") && x(U, ce), y[0] & /*selectedChannel, channels*/
317
- 1048577 && J(
318
- H,
319
- "selected",
320
- /*selectedChannel*/
321
- u[0] === /*channels*/
322
- u[20].EMAIL
323
- ), /*selectedChannel*/
324
- u[0] ? W ? W.p(u, y) : (W = xe(u), W.c(), W.m(q.parentNode, q)) : W && (W.d(1), W = null), ie === (ie = he(u)) && V ? V.p(u, y) : (V && V.d(1), V = ie && ie(u), V && (V.c(), V.m(j.parentNode, j))), re === (re = be(u)) && R ? R.p(u, y) : (R && R.d(1), R = re && re(u), R && (R.c(), R.m(Y, null)));
325
- },
326
- d(u) {
327
- u && (E(t), E(e), E(i), E(ge), E(q), E(j), E(Y)), G.d(), W && W.d(u), V && V.d(u), R && R.d(), de = !1, Be(ue);
328
- }
329
- };
330
- }
331
- function kt(n) {
332
- let t, e, i, r, a, d, s = (
333
- /*$_*/
334
- n[19]("errorHeader") + ""
335
- ), c, f, v, w, T, M, b = (
336
- /*$_*/
337
- n[19]("close") + ""
338
- ), m, _, S;
339
- return {
340
- c() {
341
- t = k("div"), e = k("div"), i = Z("svg"), r = Z("path"), a = D(), d = k("h2"), c = L(s), f = D(), v = k("p"), w = L(
342
- /*errorMessage*/
343
- n[8]
344
- ), T = D(), M = k("button"), m = L(b), l(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), l(i, "xmlns", "http://www.w3.org/2000/svg"), l(i, "viewBox", "0 0 512 512"), l(e, "class", "OtpErrorHeader"), l(M, "class", "OtpButton error"), l(t, "class", "OtpError");
345
- },
346
- m(A, X) {
347
- O(A, t, X), p(t, e), p(e, i), p(i, r), p(e, a), p(e, d), p(d, c), p(t, f), p(t, v), p(v, w), p(t, T), p(t, M), p(M, m), _ || (S = te(
348
- M,
349
- "click",
350
- /*manualClosePopup*/
351
- n[28]
352
- ), _ = !0);
353
- },
354
- p(A, X) {
355
- X[0] & /*$_*/
356
- 524288 && s !== (s = /*$_*/
357
- A[19]("errorHeader") + "") && x(c, s), X[0] & /*errorMessage*/
358
- 256 && x(
359
- w,
360
- /*errorMessage*/
361
- A[8]
362
- ), X[0] & /*$_*/
363
- 524288 && b !== (b = /*$_*/
364
- A[19]("close") + "") && x(m, b);
365
- },
366
- d(A) {
367
- A && E(t), _ = !1, S();
368
- }
369
- };
370
- }
371
- function yt(n) {
372
- let t, e, i, r;
373
- function a(f, v) {
374
- return (
375
- /*isLastWarning*/
376
- f[10] ? Ot : Et
377
- );
378
- }
379
- let d = a(n), s = d(n), c = (
380
- /*hasErrors*/
381
- n[6] && De(n)
382
- );
383
- return {
384
- c() {
385
- t = k("p"), s.c(), i = D(), c && c.c(), r = ut(), l(t, "class", e = /*isLastWarning*/
386
- n[10] ? "LastWarningMessage" : "");
387
- },
388
- m(f, v) {
389
- O(f, t, v), s.m(t, null), O(f, i, v), c && c.m(f, v), O(f, r, v);
390
- },
391
- p(f, v) {
392
- d === (d = a(f)) && s ? s.p(f, v) : (s.d(1), s = d(f), s && (s.c(), s.m(t, null))), v[0] & /*isLastWarning*/
393
- 1024 && e !== (e = /*isLastWarning*/
394
- f[10] ? "LastWarningMessage" : "") && l(t, "class", e), /*hasErrors*/
395
- f[6] ? c ? c.p(f, v) : (c = De(f), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null);
396
- },
397
- d(f) {
398
- f && (E(t), E(i), E(r)), s.d(), c && c.d(f);
399
- }
400
- };
401
- }
402
- function St(n) {
403
- let t, e = (
404
- /*$_*/
405
- (n[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
406
- ), i;
407
- return {
408
- c() {
409
- t = k("p"), i = L(e);
410
- },
411
- m(r, a) {
412
- O(r, t, a), p(t, i);
413
- },
414
- p(r, a) {
415
- a[0] & /*$_*/
416
- 524288 && e !== (e = /*$_*/
417
- (r[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && x(i, e);
418
- },
419
- d(r) {
420
- r && E(t);
421
- }
422
- };
423
- }
424
- function Ct(n) {
425
- let t, e = (
426
- /*$_*/
427
- n[19]("otpExpiredMessage") + ""
428
- ), i;
429
- return {
430
- c() {
431
- t = k("p"), i = L(e), l(t, "class", "OtpNoticeMessage"), l(t, "role", "alert");
432
- },
433
- m(r, a) {
434
- O(r, t, a), p(t, i);
435
- },
436
- p(r, a) {
437
- a[0] & /*$_*/
438
- 524288 && e !== (e = /*$_*/
439
- r[19]("otpExpiredMessage") + "") && x(i, e);
440
- },
441
- d(r) {
442
- r && E(t);
443
- }
444
- };
445
- }
446
- function Et(n) {
447
- let t = (
448
- /*$_*/
449
- n[19]("popupMessage") + ""
450
- ), e;
451
- return {
452
- c() {
453
- e = L(t);
454
- },
455
- m(i, r) {
456
- O(i, e, r);
457
- },
458
- p(i, r) {
459
- r[0] & /*$_*/
460
- 524288 && t !== (t = /*$_*/
461
- i[19]("popupMessage") + "") && x(e, t);
462
- },
463
- d(i) {
464
- i && E(e);
465
- }
466
- };
467
- }
468
- function Ot(n) {
469
- let t = (
470
- /*$_*/
471
- n[19]("popupMessageLastWarning") + ""
472
- ), e;
473
- return {
474
- c() {
475
- e = L(t);
476
- },
477
- m(i, r) {
478
- O(i, e, r);
479
- },
480
- p(i, r) {
481
- r[0] & /*$_*/
482
- 524288 && t !== (t = /*$_*/
483
- i[19]("popupMessageLastWarning") + "") && x(e, t);
484
- },
485
- d(i) {
486
- i && E(e);
487
- }
488
- };
489
- }
490
- function De(n) {
491
- let t, e;
492
- return {
493
- c() {
494
- t = k("p"), e = L(
495
- /*errorMessage*/
496
- n[8]
497
- ), l(t, "class", "OtpErrorMessage"), l(t, "role", "alert");
498
- },
499
- m(i, r) {
500
- O(i, t, r), p(t, e);
501
- },
502
- p(i, r) {
503
- r[0] & /*errorMessage*/
504
- 256 && x(
505
- e,
506
- /*errorMessage*/
507
- i[8]
508
- );
509
- },
510
- d(i) {
511
- i && E(t);
512
- }
513
- };
514
- }
515
- function xe(n) {
516
- let t, e, i, r;
517
- function a(c, f) {
518
- return (
519
- /*currentChannelTimer*/
520
- c[17] > 0 ? Tt : Mt
521
- );
522
- }
523
- let d = a(n), s = d(n);
524
- return {
525
- c() {
526
- t = k("button"), s.c(), l(t, "class", "OtpButton"), t.disabled = e = !/*canSubmitChannel*/
527
- n[18], J(t, "disabled", !/*canSubmitChannel*/
528
- n[18] || /*waitingForConfig*/
529
- n[16]);
530
- },
531
- m(c, f) {
532
- O(c, t, f), s.m(t, null), i || (r = te(
533
- t,
534
- "click",
535
- /*handleChannelSubmit*/
536
- n[22]
537
- ), i = !0);
538
- },
539
- p(c, f) {
540
- d === (d = a(c)) && s ? s.p(c, f) : (s.d(1), s = d(c), s && (s.c(), s.m(t, null))), f[0] & /*canSubmitChannel*/
541
- 262144 && e !== (e = !/*canSubmitChannel*/
542
- c[18]) && (t.disabled = e), f[0] & /*canSubmitChannel, waitingForConfig*/
543
- 327680 && J(t, "disabled", !/*canSubmitChannel*/
544
- c[18] || /*waitingForConfig*/
545
- c[16]);
546
- },
547
- d(c) {
548
- c && E(t), s.d(), i = !1, r();
549
- }
550
- };
551
- }
552
- function Mt(n) {
553
- let t = (
554
- /*$_*/
555
- n[19]("sendCode") + ""
556
- ), e;
557
- return {
558
- c() {
559
- e = L(t);
560
- },
561
- m(i, r) {
562
- O(i, e, r);
563
- },
564
- p(i, r) {
565
- r[0] & /*$_*/
566
- 524288 && t !== (t = /*$_*/
567
- i[19]("sendCode") + "") && x(e, t);
568
- },
569
- d(i) {
570
- i && E(e);
571
- }
572
- };
573
- }
574
- function Tt(n) {
575
- let t = (
576
- /*$_*/
577
- n[19]("waitSeconds") + ""
578
- ), e, i, r, a;
579
- return {
580
- c() {
581
- e = L(t), i = L(" ("), r = L(
582
- /*currentChannelTimer*/
583
- n[17]
584
- ), a = L("s)");
585
- },
586
- m(d, s) {
587
- O(d, e, s), O(d, i, s), O(d, r, s), O(d, a, s);
588
- },
589
- p(d, s) {
590
- s[0] & /*$_*/
591
- 524288 && t !== (t = /*$_*/
592
- d[19]("waitSeconds") + "") && x(e, t), s[0] & /*currentChannelTimer*/
593
- 131072 && x(
594
- r,
595
- /*currentChannelTimer*/
596
- d[17]
597
- );
598
- },
599
- d(d) {
600
- d && (E(e), E(i), E(r), E(a));
601
- }
602
- };
603
- }
604
- function Lt(n) {
605
- let t, e, i = (
606
- /*$_*/
607
- n[19]("timeRemaining") + ""
608
- ), r, a, d = (
609
- /*formatTime*/
610
- n[23](
611
- /*timeLeft*/
612
- n[5]
613
- ) + ""
614
- ), s, c, f = (
615
- /*$_*/
616
- n[19]("minutes") + ""
617
- ), v, w, T, M = Pe(
618
- /*otp*/
619
- n[2]
620
- ), b = [];
621
- for (let m = 0; m < M.length; m += 1)
622
- b[m] = Ve(Re(n, M, m));
623
- return {
624
- c() {
625
- t = k("div"), e = k("div"), r = L(i), a = D(), s = L(d), c = D(), v = L(f), w = D(), T = k("div");
626
- for (let m = 0; m < b.length; m += 1)
627
- b[m].c();
628
- l(e, "class", "OtpTimer"), l(T, "class", "OtpField"), l(t, "class", "OtpFieldWrapper");
629
- },
630
- m(m, _) {
631
- O(m, t, _), p(t, e), p(e, r), p(e, a), p(e, s), p(e, c), p(e, v), p(t, w), p(t, T);
632
- for (let S = 0; S < b.length; S += 1)
633
- b[S] && b[S].m(T, null);
634
- },
635
- p(m, _) {
636
- if (_[0] & /*$_*/
637
- 524288 && i !== (i = /*$_*/
638
- m[19]("timeRemaining") + "") && x(r, i), _[0] & /*timeLeft*/
639
- 32 && d !== (d = /*formatTime*/
640
- m[23](
641
- /*timeLeft*/
642
- m[5]
643
- ) + "") && x(s, d), _[0] & /*$_*/
644
- 524288 && f !== (f = /*$_*/
645
- m[19]("minutes") + "") && x(v, f), _[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
646
- 117458964) {
647
- M = Pe(
648
- /*otp*/
649
- m[2]
650
- );
651
- let S;
652
- for (S = 0; S < M.length; S += 1) {
653
- const A = Re(m, M, S);
654
- b[S] ? b[S].p(A, _) : (b[S] = Ve(A), b[S].c(), b[S].m(T, null));
655
- }
656
- for (; S < b.length; S += 1)
657
- b[S].d(1);
658
- b.length = M.length;
659
- }
660
- },
661
- d(m) {
662
- m && E(t), pt(b, m);
663
- }
664
- };
665
- }
666
- function zt(n) {
667
- let t;
668
- return {
669
- c() {
670
- t = k("div"), t.innerHTML = '<span class="OtpLoader"></span>', l(t, "class", "OtpLoaderContainer");
671
- },
672
- m(e, i) {
673
- O(e, t, i);
674
- },
675
- p: ye,
676
- d(e) {
677
- e && E(t);
678
- }
679
- };
680
- }
681
- function Ve(n) {
682
- let t, e, i, r = (
683
- /*index*/
684
- n[71]
685
- ), a, d;
686
- const s = () => (
687
- /*input_binding*/
688
- n[41](t, r)
689
- ), c = () => (
690
- /*input_binding*/
691
- n[41](null, r)
692
- );
693
- function f(...w) {
694
- return (
695
- /*input_handler*/
696
- n[42](
697
- /*index*/
698
- n[71],
699
- ...w
700
- )
701
- );
702
- }
703
- function v(...w) {
704
- return (
705
- /*keydown_handler*/
706
- n[43](
707
- /*index*/
708
- n[71],
709
- ...w
710
- )
711
- );
712
- }
713
- return {
714
- c() {
715
- t = k("input"), l(t, "id", `otp-input-${/*index*/
716
- n[71]}`), l(t, "type", "text"), l(t, "class", e = `otp-box ${/*config*/
717
- n[4].inputLength % 2 === 0 && /*index*/
718
- n[71] === /*config*/
719
- n[4].inputLength / 2 - 1 ? "space" : ""}`), l(t, "maxlength", 1), t.value = i = /*char*/
720
- n[69], l(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
721
- n[11], l(t, "autocomplete", "off");
722
- },
723
- m(w, T) {
724
- O(w, t, T), s(), a || (d = [
725
- te(t, "input", f),
726
- te(t, "keydown", v),
727
- te(
728
- t,
729
- "paste",
730
- /*handleOnPasteOtp*/
731
- n[24]
732
- )
733
- ], a = !0);
734
- },
735
- p(w, T) {
736
- n = w, T[0] & /*config*/
737
- 16 && e !== (e = `otp-box ${/*config*/
738
- n[4].inputLength % 2 === 0 && /*index*/
739
- n[71] === /*config*/
740
- n[4].inputLength / 2 - 1 ? "space" : ""}`) && l(t, "class", e), T[0] & /*otp*/
741
- 4 && i !== (i = /*char*/
742
- n[69]) && t.value !== i && (t.value = i), T[0] & /*inputDisabled*/
743
- 2048 && (t.disabled = /*inputDisabled*/
744
- n[11]), r !== /*index*/
745
- n[71] && (c(), r = /*index*/
746
- n[71], s());
747
- },
748
- d(w) {
749
- w && E(t), c(), a = !1, Be(d);
750
- }
751
- };
752
- }
753
- function Pt(n) {
754
- let t, e = (
755
- /*$_*/
756
- n[19]("submit") + ""
757
- ), i, r, a, d;
758
- return {
759
- c() {
760
- t = k("button"), i = L(e), l(t, "class", "OtpButton"), t.disabled = r = /*otp*/
761
- n[2].join("").length !== /*config*/
762
- n[4].inputLength || /*isSubmitting*/
763
- n[13] || /*maxAttempts*/
764
- n[15];
765
- },
766
- m(s, c) {
767
- O(s, t, c), p(t, i), a || (d = te(
768
- t,
769
- "click",
770
- /*submitOtp*/
771
- n[29]
772
- ), a = !0);
773
- },
774
- p(s, c) {
775
- c[0] & /*$_*/
776
- 524288 && e !== (e = /*$_*/
777
- s[19]("submit") + "") && x(i, e), c[0] & /*otp, config, isSubmitting, maxAttempts*/
778
- 40980 && r !== (r = /*otp*/
779
- s[2].join("").length !== /*config*/
780
- s[4].inputLength || /*isSubmitting*/
781
- s[13] || /*maxAttempts*/
782
- s[15]) && (t.disabled = r);
783
- },
784
- d(s) {
785
- s && E(t), a = !1, d();
786
- }
787
- };
788
- }
789
- function At(n) {
790
- let t, e = (
791
- /*$_*/
792
- n[19]("resendOtp") + ""
793
- ), i, r, a;
794
- return {
795
- c() {
796
- t = k("button"), i = L(e), l(t, "class", "OtpButton");
797
- },
798
- m(d, s) {
799
- O(d, t, s), p(t, i), r || (a = te(
800
- t,
801
- "click",
802
- /*handleResendOtp*/
803
- n[27]
804
- ), r = !0);
805
- },
806
- p(d, s) {
807
- s[0] & /*$_*/
808
- 524288 && e !== (e = /*$_*/
809
- d[19]("resendOtp") + "") && x(i, e);
810
- },
811
- d(d) {
812
- d && E(t), r = !1, a();
813
- }
814
- };
815
- }
816
- function It(n) {
817
- let t;
818
- function e(a, d) {
819
- return (
820
- /*hasConfigErrors*/
821
- a[7] ? kt : _t
822
- );
823
- }
824
- let i = e(n), r = i(n);
825
- return {
826
- c() {
827
- t = k("div"), r.c(), l(t, "class", "OtpContent");
828
- },
829
- m(a, d) {
830
- O(a, t, d), r.m(t, null), n[44](t);
831
- },
832
- p(a, d) {
833
- i === (i = e(a)) && r ? r.p(a, d) : (r.d(1), r = i(a), r && (r.c(), r.m(t, null)));
834
- },
835
- i: ye,
836
- o: ye,
837
- d(a) {
838
- a && E(t), r.d(), n[44](null);
839
- }
840
- };
841
- }
842
- function Rt(n, t, e) {
843
- let i, r, a;
844
- ct(n, mt, (o) => e(19, a = o));
845
- let { clientstyling: d = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: c } = t, { lang: f = "en" } = t, { endpoint: v } = t, { session: w } = t, { translationurl: T } = t, { templateid: M } = t, b = [], m = !0, _ = null, S = 0, A = "", X = "", N = !1, H = !1, I = "", ne = "", K = "", Q = !1, le = !1, $ = !1, C = "", z = {}, F = null, se = !1, ae = !1, ce = "", U, ge, q = [], j = null, Y = 0, de = !1, ue = !1;
846
- const pe = { SMS: "sms", EMAIL: "email" }, ee = {
847
- MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
848
- INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
849
- MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
850
- };
851
- Object.keys(Ie).forEach((o) => {
852
- Ae(o, Ie[o]);
853
- });
854
- const G = () => {
855
- wt(f);
856
- }, W = () => {
857
- fetch(T).then((o) => o.json()).then((o) => {
858
- Object.keys(o).forEach((g) => {
859
- Ae(g, o[g]);
860
- });
861
- }).catch((o) => {
862
- console.log(o);
863
- });
864
- }, he = (o) => me(this, null, function* () {
865
- var g;
866
- if ((g = o.detail) != null && g["x-step-up-required"]) {
867
- if (e(7, H = !1), e(6, N = !1), e(8, I = ""), ne = o.detail["x-step-up-token"], K = o.detail.flow, !ne || !K) {
868
- e(3, m = !1), e(7, H = !0), e(8, I = a("configError"));
869
- return;
870
- }
871
- e(12, se = !1), e(3, m = !1);
872
- }
873
- }), ie = () => {
874
- j && (clearInterval(j), j = null), F && (clearInterval(F), F = null), e(6, N = !1), e(7, H = !1), e(8, I = ""), e(10, le = !1), e(2, b = []), e(4, _ = null), e(3, m = !0), e(0, C = ""), e(12, se = !1), e(38, z = {});
875
- }, V = () => {
876
- ie();
877
- }, be = () => new Promise((o, g) => {
878
- const h = new URL(`${v}/api/pam/v1/mfa/challenge/${ne}`), P = new Headers();
879
- P.append("accept", "application/json"), P.append("Content-Type", "application/json"), P.append("X-SessionId", `${w}`), e(16, ue = !0);
880
- const fe = {
881
- method: "PATCH",
882
- headers: P,
883
- body: JSON.stringify({
884
- channel: C,
885
- templateId: M
886
- })
887
- };
888
- fetch(h, fe).then((Oe) => Oe.json()).then(() => {
889
- e(15, de = !1), y(), we(), o();
890
- }).catch((Oe) => {
891
- g();
892
- });
893
- }), re = () => {
894
- F && clearInterval(F), F = setInterval(
895
- () => {
896
- const o = ke({}, z);
897
- let g = !1;
898
- Object.keys(o).forEach((h) => {
899
- o[h] > 0 && (o[h]--, g = !0);
900
- }), e(38, z = o), !g && F && (clearInterval(F), F = null);
901
- },
902
- 1e3
903
- );
904
- }, R = (o) => {
905
- e(0, C = o);
906
- }, u = () => me(this, null, function* () {
907
- if (!(!C || z[C] && z[C] > 0)) {
908
- e(3, m = !0), M && M.startsWith("2fa-") && e(30, M = `2fa-${C}`);
909
- try {
910
- yield be(), yield _e(), e(38, z = Le(ke({}, z), {
911
- [C]: 30
912
- })), re(), e(12, se = !0), y(), we();
913
- } catch (o) {
914
- console.error("Error submitting channel:", o), e(6, N = !0), e(8, I = a("submissionError"));
915
- } finally {
916
- e(3, m = !1);
917
- }
918
- }
919
- }), y = () => {
920
- const o = new Date(A), g = new Date(X), h = /* @__PURE__ */ new Date(), P = g.getTime() - h.getTime();
921
- Y = o.getTime() - P;
922
- const B = Date.now(), fe = Math.max(0, Math.floor((Y - B) / 1e3));
923
- e(5, S = fe);
924
- }, we = () => {
925
- j && clearInterval(j), j = setInterval(
926
- () => {
927
- const o = Date.now(), g = Math.max(0, Math.floor((Y - o) / 1e3));
928
- e(5, S = g), e(11, $ = g <= 0), g <= 0 && (clearInterval(j), j = null, e(9, Q = !0), e(6, N = !1), e(10, le = !1));
929
- },
930
- 1e3
931
- );
932
- }, He = (o) => {
933
- const g = Math.floor(o / 60), h = o % 60;
934
- return `${g.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}`;
935
- }, ve = (o, g) => {
936
- const h = [...b];
937
- h[o] = g.toUpperCase(), e(2, b = h), h.join("") !== ce && e(13, ae = !1);
938
- }, je = (o) => {
939
- var P, B, fe;
940
- o.preventDefault();
941
- const h = (((B = (P = o.clipboardData) == null ? void 0 : P.getData("text")) == null ? void 0 : B.trim()) || "").slice(0, _.inputLength).split("");
942
- e(2, b = [...h, ...Array(_.inputLength - h.length).fill("")]), (fe = q[h.length]) == null || fe.focus(), h.length === _.inputLength && Ee();
943
- }, Se = (o, g) => {
944
- const h = o.target, P = h.value;
945
- if (/^[a-z0-9]$/i.test(P)) {
946
- ve(g, P);
947
- const B = q[g + 1];
948
- B == null || B.focus();
949
- }
950
- h.value = "";
951
- }, Ce = (o, g) => {
952
- const h = o.key, P = o.ctrlKey || o.metaKey;
953
- if (/^[a-z0-9]$/i.test(h)) {
954
- if (P && h.toLowerCase() === "v")
955
- return;
956
- o.preventDefault(), ve(g, h);
957
- const B = q[g + 1];
958
- B == null || B.focus();
959
- } else if (h === "Backspace") {
960
- o.preventDefault(), b[g] !== "" && ve(g, "");
961
- const B = q[g - 1];
962
- B == null || B.focus();
963
- }
964
- }, We = () => {
965
- K == "stateful" && (be(), e(9, Q = !1));
966
- const o = new CustomEvent("otpResendRequested");
967
- window.dispatchEvent(o);
968
- }, Fe = (o) => {
969
- window.dispatchEvent(new CustomEvent(
970
- "otpSubmitted",
971
- {
972
- detail: {
973
- code: o,
974
- maxAttempts: _.maxValidationAttempts,
975
- validatedAttempts: _.numberOfValidateAttempts
976
- }
977
- }
978
- ));
979
- }, Ne = (o) => me(this, null, function* () {
980
- const g = new URL(`/api/nwa/api/v1/mfa/challenge/${ne}/validate`, v);
981
- g.searchParams.append("input", o);
982
- try {
983
- const h = yield fetch(g.href, { method: "POST" });
984
- if (h.status === 200) {
985
- Ke();
986
- return;
987
- }
988
- const P = yield h.json();
989
- throw new Error(P.message);
990
- } catch (h) {
991
- if (yield _e(), h.message === ee.INTERNAL_SERVER_ERROR) {
992
- if (_.numberOfValidateAttempts === _.maxValidationAttempts - 1) {
993
- window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
994
- {
995
- type: "WidgetNotification",
996
- data: {
997
- type: "error",
998
- message: a("accountBlocked")
999
- }
1000
- },
1001
- window.location.href
1002
- ), window.dispatchEvent(new CustomEvent("manualClosePopup"));
1003
- return;
1004
- }
1005
- e(6, N = !0), e(8, I = a("invalidOtp")), _e();
1006
- return;
1007
- }
1008
- h.message === ee.MAX_INVALIDATE && (e(6, N = !0), e(8, I = a("invalidOtp"))), h.details === ee.MAX_ATTEMPTS_EXCEEDED && e(15, de = !0), console.error("OTP submission failed:", h), e(6, N = !0), e(8, I = a("submissionError"));
1009
- } finally {
1010
- e(3, m = !1);
1011
- }
1012
- }), Ke = () => {
1013
- window.dispatchEvent(new CustomEvent(
1014
- "otpSuccess",
1015
- {
1016
- detail: {
1017
- message: "User successfully authenticated"
1018
- }
1019
- }
1020
- ));
1021
- }, Ue = () => {
1022
- window.dispatchEvent(new CustomEvent("manualClosePopup"));
1023
- }, Ee = () => me(this, null, function* () {
1024
- if (b.join("").length !== _.inputLength) {
1025
- e(6, N = !0), e(8, I = a("invalidOtp"));
1026
- return;
1027
- }
1028
- const o = b.join("");
1029
- e(13, ae = !0), ce = o, e(3, m = !0), e(6, N = !1), e(8, I = ""), K === "stateless" && Fe(o), K === "stateful" && (yield Ne(o));
1030
- }), _e = () => me(this, null, function* () {
1031
- if (v)
1032
- try {
1033
- e(3, m = !0);
1034
- const o = new URL(`/api/nwa/api/v1/mfa/challenge/${ne}/config`, v), g = yield fetch(o.href), h = yield g.json();
1035
- if (g.ok)
1036
- e(4, _ = h), e(2, b = Array(_.inputLength).fill("")), e(9, Q = !1), A = _.expirationTime, X = _.serverTime, _.numberOfValidateAttempts !== 0 && (e(6, N = !0), e(8, I = a("invalidOtp"))), _.numberOfValidateAttempts === _.maxValidationAttempts - 1 && e(10, le = !0), e(3, m = !1), y(), we(), e(16, ue = !1);
1037
- else if (h && h.details === ee.MAX_ATTEMPTS_EXCEEDED)
1038
- window.dispatchEvent(new CustomEvent("manualClosePopup"));
1039
- else {
1040
- const P = h && h.message || `Failed to load config. Status: ${g.status}`;
1041
- throw new Error(P);
1042
- }
1043
- } catch (o) {
1044
- e(3, m = !1), e(7, H = !0), e(8, I = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", o);
1045
- }
1046
- });
1047
- dt(() => (window.addEventListener("stepUpAuthRequired", he, !1), window.addEventListener("closePopup", V, !1), () => {
1048
- window.removeEventListener("stepUpAuthRequired", he), window.removeEventListener("closePopup", V, !1), j && clearInterval(j), F && clearInterval(F);
1049
- }));
1050
- const qe = () => R(pe.SMS), Xe = () => R(pe.EMAIL);
1051
- function Ge(o, g) {
1052
- ze[o ? "unshift" : "push"](() => {
1053
- q[g] = o, e(14, q);
1054
- });
1055
- }
1056
- const Ye = (o, g) => Se(g, o), Ze = (o, g) => Ce(g, o);
1057
- function Je(o) {
1058
- ze[o ? "unshift" : "push"](() => {
1059
- U = o, e(1, U);
1060
- });
1061
- }
1062
- return n.$$set = (o) => {
1063
- "clientstyling" in o && e(31, d = o.clientstyling), "clientstylingurl" in o && e(32, s = o.clientstylingurl), "mbsource" in o && e(33, c = o.mbsource), "lang" in o && e(34, f = o.lang), "endpoint" in o && e(35, v = o.endpoint), "session" in o && e(36, w = o.session), "translationurl" in o && e(37, T = o.translationurl), "templateid" in o && e(30, M = o.templateid);
1064
- }, n.$$.update = () => {
1065
- n.$$.dirty[0] & /*customStylingContainer*/
1066
- 2 | n.$$.dirty[1] & /*clientstyling*/
1067
- 1 && d && U && gt(U, d), n.$$.dirty[0] & /*customStylingContainer*/
1068
- 2 | n.$$.dirty[1] & /*clientstylingurl*/
1069
- 2 && s && U && ht(U, s), n.$$.dirty[0] & /*customStylingContainer*/
1070
- 2 | n.$$.dirty[1] & /*mbsource*/
1071
- 4 && c && U && bt(U, `${c}.Style`, ge), n.$$.dirty[1] & /*lang*/
1072
- 8 && f && G(), n.$$.dirty[1] & /*lang, translationurl*/
1073
- 72 && f && T && W(), n.$$.dirty[0] & /*selectedChannel*/
1074
- 1 | n.$$.dirty[1] & /*channelSubmitTimers*/
1075
- 128 && e(18, i = C && (!z[C] || z[C] === 0)), n.$$.dirty[0] & /*selectedChannel*/
1076
- 1 | n.$$.dirty[1] & /*channelSubmitTimers*/
1077
- 128 && e(17, r = C && z[C] || 0);
1078
- }, [
1079
- C,
1080
- U,
1081
- b,
1082
- m,
1083
- _,
1084
- S,
1085
- N,
1086
- H,
1087
- I,
1088
- Q,
1089
- le,
1090
- $,
1091
- se,
1092
- ae,
1093
- q,
1094
- de,
1095
- ue,
1096
- r,
1097
- i,
1098
- a,
1099
- pe,
1100
- R,
1101
- u,
1102
- He,
1103
- je,
1104
- Se,
1105
- Ce,
1106
- We,
1107
- Ue,
1108
- Ee,
1109
- M,
1110
- d,
1111
- s,
1112
- c,
1113
- f,
1114
- v,
1115
- w,
1116
- T,
1117
- z,
1118
- qe,
1119
- Xe,
1120
- Ge,
1121
- Ye,
1122
- Ze,
1123
- Je
1124
- ];
1125
- }
1126
- class Dt extends ot {
1127
- constructor(t) {
1128
- super(), lt(
1129
- this,
1130
- t,
1131
- Rt,
1132
- It,
1133
- st,
1134
- {
1135
- clientstyling: 31,
1136
- clientstylingurl: 32,
1137
- mbsource: 33,
1138
- lang: 34,
1139
- endpoint: 35,
1140
- session: 36,
1141
- translationurl: 37,
1142
- templateid: 30
1143
- },
1144
- vt,
1145
- [-1, -1, -1]
1146
- );
1147
- }
1148
- get clientstyling() {
1149
- return this.$$.ctx[31];
1150
- }
1151
- set clientstyling(t) {
1152
- this.$$set({ clientstyling: t }), oe();
1153
- }
1154
- get clientstylingurl() {
1155
- return this.$$.ctx[32];
1156
- }
1157
- set clientstylingurl(t) {
1158
- this.$$set({ clientstylingurl: t }), oe();
1159
- }
1160
- get mbsource() {
1161
- return this.$$.ctx[33];
1162
- }
1163
- set mbsource(t) {
1164
- this.$$set({ mbsource: t }), oe();
1165
- }
1166
- get lang() {
1167
- return this.$$.ctx[34];
1168
- }
1169
- set lang(t) {
1170
- this.$$set({ lang: t }), oe();
1171
- }
1172
- get endpoint() {
1173
- return this.$$.ctx[35];
1174
- }
1175
- set endpoint(t) {
1176
- this.$$set({ endpoint: t }), oe();
1177
- }
1178
- get session() {
1179
- return this.$$.ctx[36];
1180
- }
1181
- set session(t) {
1182
- this.$$set({ session: t }), oe();
1183
- }
1184
- get translationurl() {
1185
- return this.$$.ctx[37];
1186
- }
1187
- set translationurl(t) {
1188
- this.$$set({ translationurl: t }), oe();
1189
- }
1190
- get templateid() {
1191
- return this.$$.ctx[30];
1192
- }
1193
- set templateid(t) {
1194
- this.$$set({ templateid: t }), oe();
1195
- }
1196
- }
1197
- ft(Dt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
1198
- export {
1199
- Dt as default
1200
- };