@everymatrix/cashier-page 1.87.26 → 1.87.102

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 (139) hide show
  1. package/components/{CashierCarousel-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
  2. package/components/CashierCarousel-BhLbwlL5.js +5736 -0
  3. package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
  4. package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
  5. package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
  6. package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
  7. package/components/CashierError-BN1XW0cs.cjs +1 -0
  8. package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
  9. package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
  10. package/components/CashierError-CXcO-Kju.js +415 -0
  11. package/components/CashierError-CXwvUOLy.js +415 -0
  12. package/components/CashierError-D4Au4WNB.cjs +1 -0
  13. package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
  14. package/components/CashierHeader-BhGRQhkm.cjs +1 -0
  15. package/components/CashierHeader-C_Mz7ISU.js +397 -0
  16. package/components/CashierHeader-CaV1gcjZ.js +397 -0
  17. package/components/CashierHeader-CmAjJv-w.cjs +1 -0
  18. package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
  19. package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
  20. package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
  21. package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
  22. package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
  23. package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
  24. package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
  25. package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
  26. package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
  27. package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
  28. package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
  29. package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
  30. package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
  31. package/components/CashierMethodsList-B6tMxcnh.js +794 -0
  32. package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
  33. package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
  34. package/components/CashierMethodsList-DSq72RRw.js +809 -0
  35. package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
  36. package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
  37. package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
  38. package/components/CashierModal-C845c3D0.cjs +1 -0
  39. package/components/CashierModal-CTYxaPKG.js +366 -0
  40. package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
  41. package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
  42. package/components/CashierModal-ndVMjksn.js +382 -0
  43. package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
  44. package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
  45. package/components/CashierNotifications-D4fUbROm.js +129 -0
  46. package/components/CashierNotifications-JNstA5Yb.js +129 -0
  47. package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
  48. package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
  49. package/components/CashierPage-4nTfbT_j.js +3994 -0
  50. package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
  51. package/components/CashierPage-Bd71Nhaq.js +4020 -0
  52. package/components/CashierPage-CHtYMgc0.cjs +1 -0
  53. package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
  54. package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
  55. package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
  56. package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
  57. package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
  58. package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
  59. package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
  60. package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
  61. package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
  62. package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
  63. package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
  64. package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
  65. package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
  66. package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
  67. package/components/CashierSpinner-C0P8ZCtD.js +78 -0
  68. package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
  69. package/components/CashierSpinner-CikMZBzw.cjs +1 -0
  70. package/components/CashierSpinner-DJTUb5NI.js +78 -0
  71. package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
  72. package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
  73. package/components/CashierStepUp-5um8gbUX.js +1068 -0
  74. package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
  75. package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
  76. package/components/CashierStepUp-CxawlCYf.cjs +1 -0
  77. package/components/CashierStepUp-CyO7gmgP.js +1107 -0
  78. package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
  79. package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
  80. package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
  81. package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
  82. package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
  83. package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
  84. package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
  85. package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
  86. package/components/CashierVerifications-BmZYiJaN.js +578 -0
  87. package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
  88. package/components/CashierVerifications-DkayuISY.cjs +1 -0
  89. package/components/CashierVerifications-hID6hjDs.js +582 -0
  90. package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
  91. package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
  92. package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
  93. package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
  94. package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
  95. package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
  96. package/components/TxnStatusIcon-VvYGYLio.js +142 -0
  97. package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
  98. package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
  99. package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
  100. package/components/TxnTypeIcons-lKki7AUK.js +101 -0
  101. package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
  102. package/components/TxnTypeIcons-zM86UKOx.js +101 -0
  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/stencil/index-97d17652-DvplcHtm.js +558 -0
  108. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  109. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  110. package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
  111. package/stencil/index-b2193545-DxDmFccl.js +519 -0
  112. package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
  113. package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
  114. package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
  115. package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
  116. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  117. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  118. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  119. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
  120. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
  121. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  122. package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
  123. package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
  124. package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
  125. package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
  126. package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
  127. package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
  128. package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
  129. package/components/CashierError-BOmVvy3N.cjs +0 -1
  130. package/components/CashierHeader-B7XYr24D.cjs +0 -1
  131. package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
  132. package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
  133. package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
  134. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  135. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  136. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  137. package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
  138. package/stencil/index-b2193545-CF_fVoFe.js +0 -519
  139. package/stencil/index-b2193545-DfttkCgg.js +0 -503
@@ -1,11 +1,11 @@
1
- import { a as Xe, $ as Ke, S as Ge, b as Ye, s as Je, f as ie, c as Qe, G as _e, e as O, k as S, m as v, o as r, p as Ze, q as $e, y as Ee, v as R, l as d, x as ne, X as J, n as x, w as L, a0 as ze, W as Q, r as et, Y as Oe, a4 as tt, B as nt, C as ot, D as it, E as lt, F as rt } from "./CashierCarousel-BJw_SNG2.js";
2
- function Se(n, t) {
3
- Xe(n, t);
1
+ import { a as Ke, $ as Ge, S as Ye, b as Je, f as ie, c as Qe, s as Ze, d as $e, g as v, j as r, k as O, G as ye, p as S, q as et, r as tt, v as nt, A as ot, B as Oe, C as it, D as lt, h as R, R as Y, x as L, T as J, l as d, z as ee, y as P, a1 as xe, w as rt, Y as Se, a3 as st } from "./CashierCarousel-CyAfjImL.js";
2
+ function Me(n, t) {
3
+ Ke(n, t);
4
4
  }
5
- function st(n) {
6
- Ke.set(n);
5
+ function at(n) {
6
+ Ge.set(n);
7
7
  }
8
- const Me = {
8
+ const Te = {
9
9
  en: {
10
10
  otpTitle: "Code verification is required",
11
11
  popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
@@ -76,66 +76,66 @@ const Me = {
76
76
  waitSeconds: "Veuillez patienter avant de renvoyer le code :"
77
77
  }
78
78
  };
79
- function at(n) {
80
- Qe(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}}');
79
+ function ct(n) {
80
+ $e(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}}');
81
81
  }
82
- function Te(n, t, e) {
82
+ function Le(n, t, e) {
83
83
  const o = n.slice();
84
84
  return o[69] = t[e], o[70] = t, o[71] = e, o;
85
85
  }
86
- function ct(n) {
87
- let t, e, o, i, a, p, s, u, f, _, w, T, M, b, m, y, C, I = (
86
+ function pt(n) {
87
+ let t, e, o, i, a, p, s, u, f, _, w, T, M, b, m, y, C, z = (
88
88
  /*$_*/
89
89
  n[19]("channelSMS") + ""
90
- ), U, W, j, z, oe, F, Z, le, $, E, A, N, re, se, ae = (
90
+ ), X, W, j, I, te, q, Q, le, Z, E, A, N, re, se, ae = (
91
91
  /*$_*/
92
92
  n[19]("channelEmail") + ""
93
- ), q, K, B, ee, G, ce, ue;
94
- function pe(c, k) {
93
+ ), F, de, U, B, G, ce, pe;
94
+ function ue(c, k) {
95
95
  return (
96
96
  /*showResendOtp*/
97
- c[9] ? ft : (
97
+ c[9] ? mt : (
98
98
  /*showOtpInput*/
99
- c[12] ? ut : dt
99
+ c[12] ? dt : ft
100
100
  )
101
101
  );
102
102
  }
103
- let de = pe(n), X = de(n), P = (
103
+ let $ = ue(n), K = $(n), V = (
104
104
  /*selectedChannel*/
105
- n[0] && Ae(n)
105
+ n[0] && ze(n)
106
106
  );
107
- function me(c, k) {
107
+ function fe(c, k) {
108
108
  if (
109
109
  /*isLoading*/
110
110
  c[3] && /*showOtpInput*/
111
111
  c[12]
112
112
  )
113
- return _t;
113
+ return yt;
114
114
  if (
115
115
  /*showOtpInput*/
116
116
  c[12] && /*config*/
117
117
  c[4]
118
118
  )
119
- return wt;
119
+ return _t;
120
120
  }
121
- let te = me(n), D = te && te(n);
122
- function he(c, k) {
121
+ let ne = fe(n), D = ne && ne(n);
122
+ function me(c, k) {
123
123
  if (
124
124
  /*showResendOtp*/
125
125
  c[9]
126
126
  )
127
- return vt;
127
+ return kt;
128
128
  if (
129
129
  /*showOtpInput*/
130
130
  c[12] && /*config*/
131
131
  c[4]
132
132
  )
133
- return yt;
133
+ return vt;
134
134
  }
135
- let Y = he(n), V = Y && Y(n);
135
+ let oe = me(n), x = oe && oe(n);
136
136
  return {
137
137
  c() {
138
- t = v("div"), X.c(), e = x(), o = v("div"), i = v("label"), a = v("div"), p = x(), s = v("input"), f = x(), _ = v("div"), w = J("svg"), T = J("path"), M = J("circle"), b = J("circle"), m = J("circle"), y = x(), C = v("span"), U = L(I), W = x(), j = v("label"), z = v("div"), oe = x(), F = v("input"), le = x(), $ = v("div"), E = J("svg"), A = J("rect"), N = J("path"), re = x(), se = v("span"), q = L(ae), K = x(), P && P.c(), B = x(), D && D.c(), ee = x(), G = v("div"), V && V.c(), r(t, "class", "OtpDescription"), r(a, "class", "RadioIndicator"), Q(
138
+ t = v("div"), K.c(), e = R(), o = v("div"), i = v("label"), a = v("div"), p = R(), s = v("input"), f = R(), _ = v("div"), w = Y("svg"), T = Y("path"), M = Y("circle"), b = Y("circle"), m = Y("circle"), y = R(), C = v("span"), X = L(z), W = R(), j = v("label"), I = v("div"), te = R(), q = v("input"), le = R(), Z = v("div"), E = Y("svg"), A = Y("rect"), N = Y("path"), re = R(), se = v("span"), F = L(ae), de = R(), V && V.c(), U = R(), D && D.c(), B = R(), G = v("div"), x && x.c(), r(t, "class", "OtpDescription"), r(a, "class", "RadioIndicator"), J(
139
139
  a,
140
140
  "checked",
141
141
  /*selectedChannel*/
@@ -144,22 +144,22 @@ function ct(n) {
144
144
  ), r(s, "type", "radio"), r(s, "name", "channel"), s.value = /*channels*/
145
145
  n[20].SMS, s.checked = u = /*selectedChannel*/
146
146
  n[0] === /*channels*/
147
- n[20].SMS, r(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), r(M, "cx", "9"), r(M, "cy", "11"), r(M, "r", "0.5"), r(M, "fill", "currentColor"), r(b, "cx", "12"), r(b, "cy", "11"), r(b, "r", "0.5"), r(b, "fill", "currentColor"), r(m, "cx", "15"), r(m, "cy", "11"), r(m, "r", "0.5"), r(m, "fill", "currentColor"), r(w, "xmlns", "http://www.w3.org/2000/svg"), r(w, "width", "24"), r(w, "height", "24"), r(w, "viewBox", "0 0 24 24"), r(w, "fill", "none"), r(w, "stroke", "currentColor"), r(w, "stroke-width", "2"), r(w, "stroke-linecap", "round"), r(w, "stroke-linejoin", "round"), r(_, "class", "ChannelContent"), r(i, "class", "ChannelCheckbox"), Q(
147
+ n[20].SMS, r(T, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), r(M, "cx", "9"), r(M, "cy", "11"), r(M, "r", "0.5"), r(M, "fill", "currentColor"), r(b, "cx", "12"), r(b, "cy", "11"), r(b, "r", "0.5"), r(b, "fill", "currentColor"), r(m, "cx", "15"), r(m, "cy", "11"), r(m, "r", "0.5"), r(m, "fill", "currentColor"), r(w, "xmlns", "http://www.w3.org/2000/svg"), r(w, "width", "24"), r(w, "height", "24"), r(w, "viewBox", "0 0 24 24"), r(w, "fill", "none"), r(w, "stroke", "currentColor"), r(w, "stroke-width", "2"), r(w, "stroke-linecap", "round"), r(w, "stroke-linejoin", "round"), r(_, "class", "ChannelContent"), r(i, "class", "ChannelCheckbox"), J(
148
148
  i,
149
149
  "selected",
150
150
  /*selectedChannel*/
151
151
  n[0] === /*channels*/
152
152
  n[20].SMS
153
- ), r(z, "class", "RadioIndicator"), Q(
154
- z,
153
+ ), r(I, "class", "RadioIndicator"), J(
154
+ I,
155
155
  "checked",
156
156
  /*selectedChannel*/
157
157
  n[0] === /*channels*/
158
158
  n[20].EMAIL
159
- ), r(F, "type", "radio"), r(F, "name", "channel"), F.value = /*channels*/
160
- n[20].EMAIL, F.checked = Z = /*selectedChannel*/
159
+ ), r(q, "type", "radio"), r(q, "name", "channel"), q.value = /*channels*/
160
+ n[20].EMAIL, q.checked = Q = /*selectedChannel*/
161
161
  n[0] === /*channels*/
162
- n[20].EMAIL, r(A, "x", "2"), r(A, "y", "4"), r(A, "width", "20"), r(A, "height", "16"), r(A, "rx", "2"), r(N, "d", "m2 7 10 6 10-6"), r(E, "xmlns", "http://www.w3.org/2000/svg"), r(E, "width", "24"), r(E, "height", "24"), r(E, "viewBox", "0 0 24 24"), r(E, "fill", "none"), r(E, "stroke", "currentColor"), r(E, "stroke-width", "2"), r(E, "stroke-linecap", "round"), r(E, "stroke-linejoin", "round"), r($, "class", "ChannelContent"), r(j, "class", "ChannelCheckbox"), Q(
162
+ n[20].EMAIL, r(A, "x", "2"), r(A, "y", "4"), r(A, "width", "20"), r(A, "height", "16"), r(A, "rx", "2"), r(N, "d", "m2 7 10 6 10-6"), r(E, "xmlns", "http://www.w3.org/2000/svg"), r(E, "width", "24"), r(E, "height", "24"), r(E, "viewBox", "0 0 24 24"), r(E, "fill", "none"), r(E, "stroke", "currentColor"), r(E, "stroke-width", "2"), r(E, "stroke-linecap", "round"), r(E, "stroke-linejoin", "round"), r(Z, "class", "ChannelContent"), r(j, "class", "ChannelCheckbox"), J(
163
163
  j,
164
164
  "selected",
165
165
  /*selectedChannel*/
@@ -168,15 +168,15 @@ function ct(n) {
168
168
  ), r(o, "class", "ChannelSelection"), r(G, "class", "OtpActionButtons");
169
169
  },
170
170
  m(c, k) {
171
- S(c, t, k), X.m(t, null), S(c, e, k), S(c, o, k), d(o, i), d(i, a), d(i, p), d(i, s), d(i, f), d(i, _), d(_, w), d(w, T), d(w, M), d(w, b), d(w, m), d(_, y), d(_, C), d(C, U), d(o, W), d(o, j), d(j, z), d(j, oe), d(j, F), d(j, le), d(j, $), d($, E), d(E, A), d(E, N), d($, re), d($, se), d(se, q), S(c, K, k), P && P.m(c, k), S(c, B, k), D && D.m(c, k), S(c, ee, k), S(c, G, k), V && V.m(G, null), ce || (ue = [
172
- ne(
171
+ O(c, t, k), K.m(t, null), O(c, e, k), O(c, o, k), d(o, i), d(i, a), d(i, p), d(i, s), d(i, f), d(i, _), d(_, w), d(w, T), d(w, M), d(w, b), d(w, m), d(_, y), d(_, C), d(C, X), d(o, W), d(o, j), d(j, I), d(j, te), d(j, q), d(j, le), d(j, Z), d(Z, E), d(E, A), d(E, N), d(Z, re), d(Z, se), d(se, F), O(c, de, k), V && V.m(c, k), O(c, U, k), D && D.m(c, k), O(c, B, k), O(c, G, k), x && x.m(G, null), ce || (pe = [
172
+ ee(
173
173
  s,
174
174
  "change",
175
175
  /*change_handler*/
176
176
  n[39]
177
177
  ),
178
- ne(
179
- F,
178
+ ee(
179
+ q,
180
180
  "change",
181
181
  /*change_handler_1*/
182
182
  n[40]
@@ -184,8 +184,8 @@ function ct(n) {
184
184
  ], ce = !0);
185
185
  },
186
186
  p(c, k) {
187
- de === (de = pe(c)) && X ? X.p(c, k) : (X.d(1), X = de(c), X && (X.c(), X.m(t, null))), k[0] & /*selectedChannel, channels*/
188
- 1048577 && Q(
187
+ $ === ($ = ue(c)) && K ? K.p(c, k) : (K.d(1), K = $(c), K && (K.c(), K.m(t, null))), k[0] & /*selectedChannel, channels*/
188
+ 1048577 && J(
189
189
  a,
190
190
  "checked",
191
191
  /*selectedChannel*/
@@ -195,42 +195,42 @@ function ct(n) {
195
195
  1 && u !== (u = /*selectedChannel*/
196
196
  c[0] === /*channels*/
197
197
  c[20].SMS) && (s.checked = u), k[0] & /*$_*/
198
- 524288 && I !== (I = /*$_*/
199
- c[19]("channelSMS") + "") && R(U, I), k[0] & /*selectedChannel, channels*/
200
- 1048577 && Q(
198
+ 524288 && z !== (z = /*$_*/
199
+ c[19]("channelSMS") + "") && P(X, z), k[0] & /*selectedChannel, channels*/
200
+ 1048577 && J(
201
201
  i,
202
202
  "selected",
203
203
  /*selectedChannel*/
204
204
  c[0] === /*channels*/
205
205
  c[20].SMS
206
206
  ), k[0] & /*selectedChannel, channels*/
207
- 1048577 && Q(
208
- z,
207
+ 1048577 && J(
208
+ I,
209
209
  "checked",
210
210
  /*selectedChannel*/
211
211
  c[0] === /*channels*/
212
212
  c[20].EMAIL
213
213
  ), k[0] & /*selectedChannel*/
214
- 1 && Z !== (Z = /*selectedChannel*/
214
+ 1 && Q !== (Q = /*selectedChannel*/
215
215
  c[0] === /*channels*/
216
- c[20].EMAIL) && (F.checked = Z), k[0] & /*$_*/
216
+ c[20].EMAIL) && (q.checked = Q), k[0] & /*$_*/
217
217
  524288 && ae !== (ae = /*$_*/
218
- c[19]("channelEmail") + "") && R(q, ae), k[0] & /*selectedChannel, channels*/
219
- 1048577 && Q(
218
+ c[19]("channelEmail") + "") && P(F, ae), k[0] & /*selectedChannel, channels*/
219
+ 1048577 && J(
220
220
  j,
221
221
  "selected",
222
222
  /*selectedChannel*/
223
223
  c[0] === /*channels*/
224
224
  c[20].EMAIL
225
225
  ), /*selectedChannel*/
226
- c[0] ? P ? P.p(c, k) : (P = Ae(c), P.c(), P.m(B.parentNode, B)) : P && (P.d(1), P = null), te === (te = me(c)) && D ? D.p(c, k) : (D && D.d(1), D = te && te(c), D && (D.c(), D.m(ee.parentNode, ee))), Y === (Y = he(c)) && V ? V.p(c, k) : (V && V.d(1), V = Y && Y(c), V && (V.c(), V.m(G, null)));
226
+ c[0] ? V ? V.p(c, k) : (V = ze(c), V.c(), V.m(U.parentNode, U)) : V && (V.d(1), V = null), ne === (ne = fe(c)) && D ? D.p(c, k) : (D && D.d(1), D = ne && ne(c), D && (D.c(), D.m(B.parentNode, B))), oe === (oe = me(c)) && x ? x.p(c, k) : (x && x.d(1), x = oe && oe(c), x && (x.c(), x.m(G, null)));
227
227
  },
228
228
  d(c) {
229
- c && (O(t), O(e), O(o), O(K), O(B), O(ee), O(G)), X.d(), P && P.d(c), D && D.d(c), V && V.d(), ce = !1, ze(ue);
229
+ c && (S(t), S(e), S(o), S(de), S(U), S(B), S(G)), K.d(), V && V.d(c), D && D.d(c), x && x.d(), ce = !1, xe(pe);
230
230
  }
231
231
  };
232
232
  }
233
- function pt(n) {
233
+ function ut(n) {
234
234
  let t, e, o, i, a, p, s = (
235
235
  /*$_*/
236
236
  n[19]("errorHeader") + ""
@@ -240,68 +240,68 @@ function pt(n) {
240
240
  ), m, y, C;
241
241
  return {
242
242
  c() {
243
- t = v("div"), e = v("div"), o = J("svg"), i = J("path"), a = x(), p = v("h2"), u = L(s), f = x(), _ = v("p"), w = L(
243
+ t = v("div"), e = v("div"), o = Y("svg"), i = Y("path"), a = R(), p = v("h2"), u = L(s), f = R(), _ = v("p"), w = L(
244
244
  /*errorMessage*/
245
245
  n[8]
246
- ), T = x(), M = v("button"), m = L(b), r(i, "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"), r(o, "xmlns", "http://www.w3.org/2000/svg"), r(o, "viewBox", "0 0 512 512"), r(e, "class", "OtpErrorHeader"), r(M, "class", "OtpButton error"), r(t, "class", "OtpError");
246
+ ), T = R(), M = v("button"), m = L(b), r(i, "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"), r(o, "xmlns", "http://www.w3.org/2000/svg"), r(o, "viewBox", "0 0 512 512"), r(e, "class", "OtpErrorHeader"), r(M, "class", "OtpButton error"), r(t, "class", "OtpError");
247
247
  },
248
- m(I, U) {
249
- S(I, t, U), d(t, e), d(e, o), d(o, i), d(e, a), d(e, p), d(p, u), d(t, f), d(t, _), d(_, w), d(t, T), d(t, M), d(M, m), y || (C = ne(
248
+ m(z, X) {
249
+ O(z, t, X), d(t, e), d(e, o), d(o, i), d(e, a), d(e, p), d(p, u), d(t, f), d(t, _), d(_, w), d(t, T), d(t, M), d(M, m), y || (C = ee(
250
250
  M,
251
251
  "click",
252
252
  /*manualClosePopup*/
253
253
  n[28]
254
254
  ), y = !0);
255
255
  },
256
- p(I, U) {
257
- U[0] & /*$_*/
256
+ p(z, X) {
257
+ X[0] & /*$_*/
258
258
  524288 && s !== (s = /*$_*/
259
- I[19]("errorHeader") + "") && R(u, s), U[0] & /*errorMessage*/
260
- 256 && R(
259
+ z[19]("errorHeader") + "") && P(u, s), X[0] & /*errorMessage*/
260
+ 256 && P(
261
261
  w,
262
262
  /*errorMessage*/
263
- I[8]
264
- ), U[0] & /*$_*/
263
+ z[8]
264
+ ), X[0] & /*$_*/
265
265
  524288 && b !== (b = /*$_*/
266
- I[19]("close") + "") && R(m, b);
266
+ z[19]("close") + "") && P(m, b);
267
267
  },
268
- d(I) {
269
- I && O(t), y = !1, C();
268
+ d(z) {
269
+ z && S(t), y = !1, C();
270
270
  }
271
271
  };
272
272
  }
273
- function ut(n) {
273
+ function dt(n) {
274
274
  let t, e, o, i;
275
275
  function a(f, _) {
276
276
  return (
277
277
  /*isLastWarning*/
278
- f[10] ? ht : mt
278
+ f[10] ? gt : ht
279
279
  );
280
280
  }
281
281
  let p = a(n), s = p(n), u = (
282
282
  /*hasErrors*/
283
- n[6] && Le(n)
283
+ n[6] && Ae(n)
284
284
  );
285
285
  return {
286
286
  c() {
287
- t = v("p"), s.c(), o = x(), u && u.c(), i = et(), r(t, "class", e = /*isLastWarning*/
287
+ t = v("p"), s.c(), o = R(), u && u.c(), i = rt(), r(t, "class", e = /*isLastWarning*/
288
288
  n[10] ? "LastWarningMessage" : "");
289
289
  },
290
290
  m(f, _) {
291
- S(f, t, _), s.m(t, null), S(f, o, _), u && u.m(f, _), S(f, i, _);
291
+ O(f, t, _), s.m(t, null), O(f, o, _), u && u.m(f, _), O(f, i, _);
292
292
  },
293
293
  p(f, _) {
294
294
  p === (p = a(f)) && s ? s.p(f, _) : (s.d(1), s = p(f), s && (s.c(), s.m(t, null))), _[0] & /*isLastWarning*/
295
295
  1024 && e !== (e = /*isLastWarning*/
296
296
  f[10] ? "LastWarningMessage" : "") && r(t, "class", e), /*hasErrors*/
297
- f[6] ? u ? u.p(f, _) : (u = Le(f), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
297
+ f[6] ? u ? u.p(f, _) : (u = Ae(f), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
298
298
  },
299
299
  d(f) {
300
- f && (O(t), O(o), O(i)), s.d(), u && u.d(f);
300
+ f && (S(t), S(o), S(i)), s.d(), u && u.d(f);
301
301
  }
302
302
  };
303
303
  }
304
- function dt(n) {
304
+ function ft(n) {
305
305
  let t, e = (
306
306
  /*$_*/
307
307
  (n[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + ""
@@ -311,19 +311,19 @@ function dt(n) {
311
311
  t = v("p"), o = L(e);
312
312
  },
313
313
  m(i, a) {
314
- S(i, t, a), d(t, o);
314
+ O(i, t, a), d(t, o);
315
315
  },
316
316
  p(i, a) {
317
317
  a[0] & /*$_*/
318
318
  524288 && e !== (e = /*$_*/
319
- (i[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && R(o, e);
319
+ (i[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && P(o, e);
320
320
  },
321
321
  d(i) {
322
- i && O(t);
322
+ i && S(t);
323
323
  }
324
324
  };
325
325
  }
326
- function ft(n) {
326
+ function mt(n) {
327
327
  let t, e = (
328
328
  /*$_*/
329
329
  n[19]("otpExpiredMessage") + ""
@@ -333,19 +333,19 @@ function ft(n) {
333
333
  t = v("p"), o = L(e), r(t, "class", "OtpNoticeMessage"), r(t, "role", "alert");
334
334
  },
335
335
  m(i, a) {
336
- S(i, t, a), d(t, o);
336
+ O(i, t, a), d(t, o);
337
337
  },
338
338
  p(i, a) {
339
339
  a[0] & /*$_*/
340
340
  524288 && e !== (e = /*$_*/
341
- i[19]("otpExpiredMessage") + "") && R(o, e);
341
+ i[19]("otpExpiredMessage") + "") && P(o, e);
342
342
  },
343
343
  d(i) {
344
- i && O(t);
344
+ i && S(t);
345
345
  }
346
346
  };
347
347
  }
348
- function mt(n) {
348
+ function ht(n) {
349
349
  let t = (
350
350
  /*$_*/
351
351
  n[19]("popupMessage") + ""
@@ -355,19 +355,19 @@ function mt(n) {
355
355
  e = L(t);
356
356
  },
357
357
  m(o, i) {
358
- S(o, e, i);
358
+ O(o, e, i);
359
359
  },
360
360
  p(o, i) {
361
361
  i[0] & /*$_*/
362
362
  524288 && t !== (t = /*$_*/
363
- o[19]("popupMessage") + "") && R(e, t);
363
+ o[19]("popupMessage") + "") && P(e, t);
364
364
  },
365
365
  d(o) {
366
- o && O(e);
366
+ o && S(e);
367
367
  }
368
368
  };
369
369
  }
370
- function ht(n) {
370
+ function gt(n) {
371
371
  let t = (
372
372
  /*$_*/
373
373
  n[19]("popupMessageLastWarning") + ""
@@ -377,19 +377,19 @@ function ht(n) {
377
377
  e = L(t);
378
378
  },
379
379
  m(o, i) {
380
- S(o, e, i);
380
+ O(o, e, i);
381
381
  },
382
382
  p(o, i) {
383
383
  i[0] & /*$_*/
384
384
  524288 && t !== (t = /*$_*/
385
- o[19]("popupMessageLastWarning") + "") && R(e, t);
385
+ o[19]("popupMessageLastWarning") + "") && P(e, t);
386
386
  },
387
387
  d(o) {
388
- o && O(e);
388
+ o && S(e);
389
389
  }
390
390
  };
391
391
  }
392
- function Le(n) {
392
+ function Ae(n) {
393
393
  let t, e;
394
394
  return {
395
395
  c() {
@@ -399,39 +399,39 @@ function Le(n) {
399
399
  ), r(t, "class", "OtpErrorMessage"), r(t, "role", "alert");
400
400
  },
401
401
  m(o, i) {
402
- S(o, t, i), d(t, e);
402
+ O(o, t, i), d(t, e);
403
403
  },
404
404
  p(o, i) {
405
405
  i[0] & /*errorMessage*/
406
- 256 && R(
406
+ 256 && P(
407
407
  e,
408
408
  /*errorMessage*/
409
409
  o[8]
410
410
  );
411
411
  },
412
412
  d(o) {
413
- o && O(t);
413
+ o && S(t);
414
414
  }
415
415
  };
416
416
  }
417
- function Ae(n) {
417
+ function ze(n) {
418
418
  let t, e, o, i;
419
419
  function a(u, f) {
420
420
  return (
421
421
  /*currentChannelTimer*/
422
- u[17] > 0 ? bt : gt
422
+ u[17] > 0 ? wt : bt
423
423
  );
424
424
  }
425
425
  let p = a(n), s = p(n);
426
426
  return {
427
427
  c() {
428
428
  t = v("button"), s.c(), r(t, "class", "OtpButton"), t.disabled = e = !/*canSubmitChannel*/
429
- n[18], Q(t, "disabled", !/*canSubmitChannel*/
429
+ n[18], J(t, "disabled", !/*canSubmitChannel*/
430
430
  n[18] || /*waitingForConfig*/
431
431
  n[16]);
432
432
  },
433
433
  m(u, f) {
434
- S(u, t, f), s.m(t, null), o || (i = ne(
434
+ O(u, t, f), s.m(t, null), o || (i = ee(
435
435
  t,
436
436
  "click",
437
437
  /*handleChannelSubmit*/
@@ -442,16 +442,16 @@ function Ae(n) {
442
442
  p === (p = a(u)) && s ? s.p(u, f) : (s.d(1), s = p(u), s && (s.c(), s.m(t, null))), f[0] & /*canSubmitChannel*/
443
443
  262144 && e !== (e = !/*canSubmitChannel*/
444
444
  u[18]) && (t.disabled = e), f[0] & /*canSubmitChannel, waitingForConfig*/
445
- 327680 && Q(t, "disabled", !/*canSubmitChannel*/
445
+ 327680 && J(t, "disabled", !/*canSubmitChannel*/
446
446
  u[18] || /*waitingForConfig*/
447
447
  u[16]);
448
448
  },
449
449
  d(u) {
450
- u && O(t), s.d(), o = !1, i();
450
+ u && S(t), s.d(), o = !1, i();
451
451
  }
452
452
  };
453
453
  }
454
- function gt(n) {
454
+ function bt(n) {
455
455
  let t = (
456
456
  /*$_*/
457
457
  n[19]("sendCode") + ""
@@ -461,19 +461,19 @@ function gt(n) {
461
461
  e = L(t);
462
462
  },
463
463
  m(o, i) {
464
- S(o, e, i);
464
+ O(o, e, i);
465
465
  },
466
466
  p(o, i) {
467
467
  i[0] & /*$_*/
468
468
  524288 && t !== (t = /*$_*/
469
- o[19]("sendCode") + "") && R(e, t);
469
+ o[19]("sendCode") + "") && P(e, t);
470
470
  },
471
471
  d(o) {
472
- o && O(e);
472
+ o && S(e);
473
473
  }
474
474
  };
475
475
  }
476
- function bt(n) {
476
+ function wt(n) {
477
477
  let t = (
478
478
  /*$_*/
479
479
  n[19]("waitSeconds") + ""
@@ -486,24 +486,24 @@ function bt(n) {
486
486
  ), a = L("s)");
487
487
  },
488
488
  m(p, s) {
489
- S(p, e, s), S(p, o, s), S(p, i, s), S(p, a, s);
489
+ O(p, e, s), O(p, o, s), O(p, i, s), O(p, a, s);
490
490
  },
491
491
  p(p, s) {
492
492
  s[0] & /*$_*/
493
493
  524288 && t !== (t = /*$_*/
494
- p[19]("waitSeconds") + "") && R(e, t), s[0] & /*currentChannelTimer*/
495
- 131072 && R(
494
+ p[19]("waitSeconds") + "") && P(e, t), s[0] & /*currentChannelTimer*/
495
+ 131072 && P(
496
496
  i,
497
497
  /*currentChannelTimer*/
498
498
  p[17]
499
499
  );
500
500
  },
501
501
  d(p) {
502
- p && (O(e), O(o), O(i), O(a));
502
+ p && (S(e), S(o), S(i), S(a));
503
503
  }
504
504
  };
505
505
  }
506
- function wt(n) {
506
+ function _t(n) {
507
507
  let t, e, o = (
508
508
  /*$_*/
509
509
  n[19]("timeRemaining") + ""
@@ -516,44 +516,44 @@ function wt(n) {
516
516
  ), s, u, f = (
517
517
  /*$_*/
518
518
  n[19]("minutes") + ""
519
- ), _, w, T, M = Oe(
519
+ ), _, w, T, M = Se(
520
520
  /*otp*/
521
521
  n[2]
522
522
  ), b = [];
523
523
  for (let m = 0; m < M.length; m += 1)
524
- b[m] = Ie(Te(n, M, m));
524
+ b[m] = Ie(Le(n, M, m));
525
525
  return {
526
526
  c() {
527
- t = v("div"), e = v("div"), i = L(o), a = x(), s = L(p), u = x(), _ = L(f), w = x(), T = v("div");
527
+ t = v("div"), e = v("div"), i = L(o), a = R(), s = L(p), u = R(), _ = L(f), w = R(), T = v("div");
528
528
  for (let m = 0; m < b.length; m += 1)
529
529
  b[m].c();
530
530
  r(e, "class", "OtpTimer"), r(T, "class", "OtpField"), r(t, "class", "OtpFieldWrapper");
531
531
  },
532
532
  m(m, y) {
533
- S(m, t, y), d(t, e), d(e, i), d(e, a), d(e, s), d(e, u), d(e, _), d(t, w), d(t, T);
533
+ O(m, t, y), d(t, e), d(e, i), d(e, a), d(e, s), d(e, u), d(e, _), d(t, w), d(t, T);
534
534
  for (let C = 0; C < b.length; C += 1)
535
535
  b[C] && b[C].m(T, null);
536
536
  },
537
537
  p(m, y) {
538
538
  if (y[0] & /*$_*/
539
539
  524288 && o !== (o = /*$_*/
540
- m[19]("timeRemaining") + "") && R(i, o), y[0] & /*timeLeft*/
540
+ m[19]("timeRemaining") + "") && P(i, o), y[0] & /*timeLeft*/
541
541
  32 && p !== (p = /*formatTime*/
542
542
  m[23](
543
543
  /*timeLeft*/
544
544
  m[5]
545
- ) + "") && R(s, p), y[0] & /*$_*/
545
+ ) + "") && P(s, p), y[0] & /*$_*/
546
546
  524288 && f !== (f = /*$_*/
547
- m[19]("minutes") + "") && R(_, f), y[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
547
+ m[19]("minutes") + "") && P(_, f), y[0] & /*config, otp, inputDisabled, otpInputs, handleOtpInput, handleKeyDown, handleOnPasteOtp*/
548
548
  117458964) {
549
- M = Oe(
549
+ M = Se(
550
550
  /*otp*/
551
551
  m[2]
552
552
  );
553
553
  let C;
554
554
  for (C = 0; C < M.length; C += 1) {
555
- const I = Te(m, M, C);
556
- b[C] ? b[C].p(I, y) : (b[C] = Ie(I), b[C].c(), b[C].m(T, null));
555
+ const z = Le(m, M, C);
556
+ b[C] ? b[C].p(z, y) : (b[C] = Ie(z), b[C].c(), b[C].m(T, null));
557
557
  }
558
558
  for (; C < b.length; C += 1)
559
559
  b[C].d(1);
@@ -561,22 +561,22 @@ function wt(n) {
561
561
  }
562
562
  },
563
563
  d(m) {
564
- m && O(t), tt(b, m);
564
+ m && S(t), st(b, m);
565
565
  }
566
566
  };
567
567
  }
568
- function _t(n) {
568
+ function yt(n) {
569
569
  let t;
570
570
  return {
571
571
  c() {
572
572
  t = v("div"), t.innerHTML = '<span class="OtpLoader"></span>', r(t, "class", "OtpLoaderContainer");
573
573
  },
574
574
  m(e, o) {
575
- S(e, t, o);
575
+ O(e, t, o);
576
576
  },
577
- p: _e,
577
+ p: ye,
578
578
  d(e) {
579
- e && O(t);
579
+ e && S(t);
580
580
  }
581
581
  };
582
582
  }
@@ -623,10 +623,10 @@ function Ie(n) {
623
623
  n[11], r(t, "autocomplete", "off");
624
624
  },
625
625
  m(w, T) {
626
- S(w, t, T), s(), a || (p = [
627
- ne(t, "input", f),
628
- ne(t, "keydown", _),
629
- ne(
626
+ O(w, t, T), s(), a || (p = [
627
+ ee(t, "input", f),
628
+ ee(t, "keydown", _),
629
+ ee(
630
630
  t,
631
631
  "paste",
632
632
  /*handleOnPasteOtp*/
@@ -648,11 +648,11 @@ function Ie(n) {
648
648
  n[71], s());
649
649
  },
650
650
  d(w) {
651
- w && O(t), u(), a = !1, ze(p);
651
+ w && S(t), u(), a = !1, xe(p);
652
652
  }
653
653
  };
654
654
  }
655
- function yt(n) {
655
+ function vt(n) {
656
656
  let t, e = (
657
657
  /*$_*/
658
658
  n[19]("submit") + ""
@@ -666,7 +666,7 @@ function yt(n) {
666
666
  n[15];
667
667
  },
668
668
  m(s, u) {
669
- S(s, t, u), d(t, o), a || (p = ne(
669
+ O(s, t, u), d(t, o), a || (p = ee(
670
670
  t,
671
671
  "click",
672
672
  /*submitOtp*/
@@ -676,7 +676,7 @@ function yt(n) {
676
676
  p(s, u) {
677
677
  u[0] & /*$_*/
678
678
  524288 && e !== (e = /*$_*/
679
- s[19]("submit") + "") && R(o, e), u[0] & /*otp, config, isSubmitting, maxAttempts*/
679
+ s[19]("submit") + "") && P(o, e), u[0] & /*otp, config, isSubmitting, maxAttempts*/
680
680
  40980 && i !== (i = /*otp*/
681
681
  s[2].join("").length !== /*config*/
682
682
  s[4].inputLength || /*isSubmitting*/
@@ -684,11 +684,11 @@ function yt(n) {
684
684
  s[15]) && (t.disabled = i);
685
685
  },
686
686
  d(s) {
687
- s && O(t), a = !1, p();
687
+ s && S(t), a = !1, p();
688
688
  }
689
689
  };
690
690
  }
691
- function vt(n) {
691
+ function kt(n) {
692
692
  let t, e = (
693
693
  /*$_*/
694
694
  n[19]("resendOtp") + ""
@@ -698,7 +698,7 @@ function vt(n) {
698
698
  t = v("button"), o = L(e), r(t, "class", "OtpButton");
699
699
  },
700
700
  m(p, s) {
701
- S(p, t, s), d(t, o), i || (a = ne(
701
+ O(p, t, s), d(t, o), i || (a = ee(
702
702
  t,
703
703
  "click",
704
704
  /*handleResendOtp*/
@@ -708,19 +708,19 @@ function vt(n) {
708
708
  p(p, s) {
709
709
  s[0] & /*$_*/
710
710
  524288 && e !== (e = /*$_*/
711
- p[19]("resendOtp") + "") && R(o, e);
711
+ p[19]("resendOtp") + "") && P(o, e);
712
712
  },
713
713
  d(p) {
714
- p && O(t), i = !1, a();
714
+ p && S(t), i = !1, a();
715
715
  }
716
716
  };
717
717
  }
718
- function kt(n) {
718
+ function Ct(n) {
719
719
  let t;
720
720
  function e(a, p) {
721
721
  return (
722
722
  /*hasConfigErrors*/
723
- a[7] ? pt : ct
723
+ a[7] ? ut : pt
724
724
  );
725
725
  }
726
726
  let o = e(n), i = o(n);
@@ -729,56 +729,56 @@ function kt(n) {
729
729
  t = v("div"), i.c(), r(t, "class", "OtpContent");
730
730
  },
731
731
  m(a, p) {
732
- S(a, t, p), i.m(t, null), n[44](t);
732
+ O(a, t, p), i.m(t, null), n[44](t);
733
733
  },
734
734
  p(a, p) {
735
735
  o === (o = e(a)) && i ? i.p(a, p) : (i.d(1), i = o(a), i && (i.c(), i.m(t, null)));
736
736
  },
737
- i: _e,
738
- o: _e,
737
+ i: ye,
738
+ o: ye,
739
739
  d(a) {
740
- a && O(t), i.d(), n[44](null);
740
+ a && S(t), i.d(), n[44](null);
741
741
  }
742
742
  };
743
743
  }
744
- function Ct(n, t, e) {
744
+ function Et(n, t, e) {
745
745
  let o, i, a;
746
- Ze(n, rt, (l) => e(19, a = l));
747
- let { clientstyling: p = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: f = "en" } = t, { endpoint: _ } = t, { session: w } = t, { translationurl: T } = t, { templateid: M } = t, b = [], m = !0, y = null, C = 0, I = "", U = "", W = !1, j = !1, z = "", oe = "", F = "", Z = !1, le = !1, $ = !1, E = "", A = {}, N = null, re = !1, se = !1, ae = "", q, K = [], B = null, ee = 0, G = !1, ce = !1;
748
- const ue = { SMS: "sms", EMAIL: "email" }, pe = {
746
+ et(n, ot, (l) => e(19, a = l));
747
+ let { clientstyling: p = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: f = "en" } = t, { endpoint: _ } = t, { session: w } = t, { translationurl: T } = t, { templateid: M } = t, b = [], m = !0, y = null, C = 0, z = "", X = "", W = !1, j = !1, I = "", te = "", q = "", Q = !1, le = !1, Z = !1, E = "", A = {}, N = null, re = !1, se = !1, ae = "", F, de, U = [], B = null, G = 0, ce = !1, pe = !1;
748
+ const ue = { SMS: "sms", EMAIL: "email" }, $ = {
749
749
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
750
750
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
751
751
  MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
752
752
  };
753
- Object.keys(Me).forEach((l) => {
754
- Se(l, Me[l]);
753
+ Object.keys(Te).forEach((l) => {
754
+ Me(l, Te[l]);
755
755
  });
756
- const de = () => {
757
- st(f);
758
- }, X = () => {
756
+ const K = () => {
757
+ at(f);
758
+ }, V = () => {
759
759
  fetch(T).then((l) => l.json()).then((l) => {
760
760
  Object.keys(l).forEach((h) => {
761
- Se(h, l[h]);
761
+ Me(h, l[h]);
762
762
  });
763
763
  }).catch((l) => {
764
764
  console.log(l);
765
765
  });
766
- }, P = async (l) => {
766
+ }, fe = async (l) => {
767
767
  if (l.detail?.["x-step-up-required"]) {
768
- if (e(7, j = !1), e(6, W = !1), e(8, z = ""), oe = l.detail["x-step-up-token"], F = l.detail.flow, !oe || !F) {
769
- e(3, m = !1), e(7, j = !0), e(8, z = a("configError"));
768
+ if (e(7, j = !1), e(6, W = !1), e(8, I = ""), te = l.detail["x-step-up-token"], q = l.detail.flow, !te || !q) {
769
+ e(3, m = !1), e(7, j = !0), e(8, I = a("configError"));
770
770
  return;
771
771
  }
772
772
  e(12, re = !1), e(3, m = !1);
773
773
  }
774
- }, me = () => {
775
- B && (clearInterval(B), B = null), N && (clearInterval(N), N = null), e(6, W = !1), e(7, j = !1), e(8, z = ""), e(10, le = !1), e(2, b = []), e(4, y = null), e(3, m = !0), e(0, E = ""), e(12, re = !1), e(38, A = {});
776
- }, te = () => {
777
- me();
778
- }, D = () => new Promise((l, h) => {
779
- const g = new URL(`${_}/api/pam/v1/mfa/challenge/${oe}`), H = new Headers();
780
- H.append("accept", "application/json"), H.append("Content-Type", "application/json"), H.append("X-SessionId", `${w}`), e(16, ce = !0);
781
- const we = {
774
+ }, ne = () => {
775
+ B && (clearInterval(B), B = null), N && (clearInterval(N), N = null), e(6, W = !1), e(7, j = !1), e(8, I = ""), e(10, le = !1), e(2, b = []), e(4, y = null), e(3, m = !0), e(0, E = ""), e(12, re = !1), e(38, A = {});
776
+ }, D = () => {
777
+ ne();
778
+ }, me = () => new Promise((l, h) => {
779
+ const g = new URL(`${_}/api/pam/v1/mfa/challenge/${te}`), H = new Headers();
780
+ H.append("accept", "application/json"), H.append("Content-Type", "application/json"), H.append("X-SessionId", `${w}`), e(16, pe = !0);
781
+ const _e = {
782
782
  method: "PATCH",
783
783
  headers: H,
784
784
  body: JSON.stringify({
@@ -786,12 +786,12 @@ function Ct(n, t, e) {
786
786
  templateId: M
787
787
  })
788
788
  };
789
- fetch(g, we).then((Ce) => Ce.json()).then(() => {
790
- e(15, G = !1), c(), k(), l();
791
- }).catch((Ce) => {
789
+ fetch(g, _e).then((Ee) => Ee.json()).then(() => {
790
+ e(15, ce = !1), k(), ge(), l();
791
+ }).catch((Ee) => {
792
792
  h();
793
793
  });
794
- }), he = () => {
794
+ }), oe = () => {
795
795
  N && clearInterval(N), N = setInterval(
796
796
  () => {
797
797
  const l = { ...A };
@@ -802,61 +802,61 @@ function Ct(n, t, e) {
802
802
  },
803
803
  1e3
804
804
  );
805
- }, Y = (l) => {
805
+ }, x = (l) => {
806
806
  e(0, E = l);
807
- }, V = async () => {
807
+ }, c = async () => {
808
808
  if (!(!E || A[E] && A[E] > 0)) {
809
809
  e(3, m = !0), M && M.startsWith("2fa-") && e(30, M = `2fa-${E}`);
810
810
  try {
811
- await D(), await be(), e(38, A = {
811
+ await me(), await we(), e(38, A = {
812
812
  ...A,
813
813
  [E]: 30
814
- }), he(), e(12, re = !0), c(), k();
814
+ }), oe(), e(12, re = !0), k(), ge();
815
815
  } catch (l) {
816
- console.error("Error submitting channel:", l), e(6, W = !0), e(8, z = a("submissionError"));
816
+ console.error("Error submitting channel:", l), e(6, W = !0), e(8, I = a("submissionError"));
817
817
  } finally {
818
818
  e(3, m = !1);
819
819
  }
820
820
  }
821
- }, c = () => {
822
- const l = new Date(I), h = new Date(U), g = /* @__PURE__ */ new Date(), H = h.getTime() - g.getTime();
823
- ee = l.getTime() - H;
824
- const fe = Date.now(), we = Math.max(0, Math.floor((ee - fe) / 1e3));
825
- e(5, C = we);
826
821
  }, k = () => {
822
+ const l = new Date(z), h = new Date(X), g = /* @__PURE__ */ new Date(), H = h.getTime() - g.getTime();
823
+ G = l.getTime() - H;
824
+ const he = Date.now(), _e = Math.max(0, Math.floor((G - he) / 1e3));
825
+ e(5, C = _e);
826
+ }, ge = () => {
827
827
  B && clearInterval(B), B = setInterval(
828
828
  () => {
829
- const l = Date.now(), h = Math.max(0, Math.floor((ee - l) / 1e3));
830
- e(5, C = h), e(11, $ = h <= 0), h <= 0 && (clearInterval(B), B = null, e(9, Z = !0), e(6, W = !1), e(10, le = !1));
829
+ const l = Date.now(), h = Math.max(0, Math.floor((G - l) / 1e3));
830
+ e(5, C = h), e(11, Z = h <= 0), h <= 0 && (clearInterval(B), B = null, e(9, Q = !0), e(6, W = !1), e(10, le = !1));
831
831
  },
832
832
  1e3
833
833
  );
834
- }, xe = (l) => {
834
+ }, Re = (l) => {
835
835
  const h = Math.floor(l / 60), g = l % 60;
836
836
  return `${h.toString().padStart(2, "0")}:${g.toString().padStart(2, "0")}`;
837
- }, ge = (l, h) => {
837
+ }, be = (l, h) => {
838
838
  const g = [...b];
839
839
  g[l] = h.toUpperCase(), e(2, b = g), g.join("") !== ae && e(13, se = !1);
840
- }, Re = (l) => {
840
+ }, Pe = (l) => {
841
841
  l.preventDefault();
842
842
  const g = (l.clipboardData?.getData("text")?.trim() || "").slice(0, y.inputLength).split("");
843
- e(2, b = [...g, ...Array(y.inputLength - g.length).fill("")]), K[g.length]?.focus(), g.length === y.inputLength && ke();
844
- }, ye = (l, h) => {
845
- const g = l.target, H = g.value;
846
- /^[a-z0-9]$/i.test(H) && (ge(h, H), K[h + 1]?.focus()), g.value = "";
843
+ e(2, b = [...g, ...Array(y.inputLength - g.length).fill("")]), U[g.length]?.focus(), g.length === y.inputLength && Ce();
847
844
  }, ve = (l, h) => {
845
+ const g = l.target, H = g.value;
846
+ /^[a-z0-9]$/i.test(H) && (be(h, H), U[h + 1]?.focus()), g.value = "";
847
+ }, ke = (l, h) => {
848
848
  const g = l.key, H = l.ctrlKey || l.metaKey;
849
849
  if (/^[a-z0-9]$/i.test(g)) {
850
850
  if (H && g.toLowerCase() === "v")
851
851
  return;
852
- l.preventDefault(), ge(h, g), K[h + 1]?.focus();
852
+ l.preventDefault(), be(h, g), U[h + 1]?.focus();
853
853
  } else
854
- g === "Backspace" && (l.preventDefault(), b[h] !== "" && ge(h, ""), K[h - 1]?.focus());
855
- }, Pe = () => {
856
- F == "stateful" && (D(), e(9, Z = !1));
854
+ g === "Backspace" && (l.preventDefault(), b[h] !== "" && be(h, ""), U[h - 1]?.focus());
855
+ }, De = () => {
856
+ q == "stateful" && (me(), e(9, Q = !1));
857
857
  const l = new CustomEvent("otpResendRequested");
858
858
  window.dispatchEvent(l);
859
- }, De = (l) => {
859
+ }, je = (l) => {
860
860
  window.dispatchEvent(new CustomEvent(
861
861
  "otpSubmitted",
862
862
  {
@@ -867,19 +867,19 @@ function Ct(n, t, e) {
867
867
  }
868
868
  }
869
869
  ));
870
- }, je = async (l) => {
871
- const h = new URL(`/api/nwa/api/v1/mfa/challenge/${oe}/validate`, _);
870
+ }, Be = async (l) => {
871
+ const h = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/validate`, _);
872
872
  h.searchParams.append("input", l);
873
873
  try {
874
874
  const g = await fetch(h.href, { method: "POST" });
875
875
  if (g.status === 200) {
876
- Be();
876
+ Ve();
877
877
  return;
878
878
  }
879
879
  const H = await g.json();
880
880
  throw new Error(H.message);
881
881
  } catch (g) {
882
- if (await be(), g.message === pe.INTERNAL_SERVER_ERROR) {
882
+ if (await we(), g.message === $.INTERNAL_SERVER_ERROR) {
883
883
  if (y.numberOfValidateAttempts === y.maxValidationAttempts - 1) {
884
884
  window.dispatchEvent(new CustomEvent("otpSetTimeout")), window.postMessage(
885
885
  {
@@ -893,14 +893,14 @@ function Ct(n, t, e) {
893
893
  ), window.dispatchEvent(new CustomEvent("manualClosePopup"));
894
894
  return;
895
895
  }
896
- e(6, W = !0), e(8, z = a("invalidOtp")), be();
896
+ e(6, W = !0), e(8, I = a("invalidOtp")), we();
897
897
  return;
898
898
  }
899
- g.message === pe.MAX_INVALIDATE && (e(6, W = !0), e(8, z = a("invalidOtp"))), g.details === pe.MAX_ATTEMPTS_EXCEEDED && e(15, G = !0), console.error("OTP submission failed:", g), e(6, W = !0), e(8, z = a("submissionError"));
899
+ g.message === $.MAX_INVALIDATE && (e(6, W = !0), e(8, I = a("invalidOtp"))), g.details === $.MAX_ATTEMPTS_EXCEEDED && e(15, ce = !0), console.error("OTP submission failed:", g), e(6, W = !0), e(8, I = a("submissionError"));
900
900
  } finally {
901
901
  e(3, m = !1);
902
902
  }
903
- }, Be = () => {
903
+ }, Ve = () => {
904
904
  window.dispatchEvent(new CustomEvent(
905
905
  "otpSuccess",
906
906
  {
@@ -909,45 +909,45 @@ function Ct(n, t, e) {
909
909
  }
910
910
  }
911
911
  ));
912
- }, Ve = () => {
912
+ }, He = () => {
913
913
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
914
- }, ke = async () => {
914
+ }, Ce = async () => {
915
915
  if (b.join("").length !== y.inputLength) {
916
- e(6, W = !0), e(8, z = a("invalidOtp"));
916
+ e(6, W = !0), e(8, I = a("invalidOtp"));
917
917
  return;
918
918
  }
919
919
  const l = b.join("");
920
- e(13, se = !0), ae = l, e(3, m = !0), e(6, W = !1), e(8, z = ""), F === "stateless" && De(l), F === "stateful" && await je(l);
921
- }, be = async () => {
920
+ e(13, se = !0), ae = l, e(3, m = !0), e(6, W = !1), e(8, I = ""), q === "stateless" && je(l), q === "stateful" && await Be(l);
921
+ }, we = async () => {
922
922
  if (_)
923
923
  try {
924
924
  e(3, m = !0);
925
- const l = new URL(`/api/nwa/api/v1/mfa/challenge/${oe}/config`, _), h = await fetch(l.href), g = await h.json();
925
+ const l = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/config`, _), h = await fetch(l.href), g = await h.json();
926
926
  if (h.ok)
927
- e(4, y = g), e(2, b = Array(y.inputLength).fill("")), e(9, Z = !1), I = y.expirationTime, U = y.serverTime, y.numberOfValidateAttempts !== 0 && (e(6, W = !0), e(8, z = a("invalidOtp"))), y.numberOfValidateAttempts === y.maxValidationAttempts - 1 && e(10, le = !0), e(3, m = !1), c(), k(), e(16, ce = !1);
928
- else if (g && g.details === pe.MAX_ATTEMPTS_EXCEEDED)
927
+ e(4, y = g), e(2, b = Array(y.inputLength).fill("")), e(9, Q = !1), z = y.expirationTime, X = y.serverTime, y.numberOfValidateAttempts !== 0 && (e(6, W = !0), e(8, I = a("invalidOtp"))), y.numberOfValidateAttempts === y.maxValidationAttempts - 1 && e(10, le = !0), e(3, m = !1), k(), ge(), e(16, pe = !1);
928
+ else if (g && g.details === $.MAX_ATTEMPTS_EXCEEDED)
929
929
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
930
930
  else {
931
931
  const H = g && g.message || `Failed to load config. Status: ${h.status}`;
932
932
  throw new Error(H);
933
933
  }
934
934
  } catch (l) {
935
- e(3, m = !1), e(7, j = !0), e(8, z = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", l);
935
+ e(3, m = !1), e(7, j = !0), e(8, I = a("configError")), window.dispatchEvent(new CustomEvent("2fa-loading", { detail: { isLoading: !1 } })), console.error("Error loading 2FA config:", l);
936
936
  }
937
937
  };
938
- $e(() => (window.addEventListener("stepUpAuthRequired", P, !1), window.addEventListener("closePopup", te, !1), () => {
939
- window.removeEventListener("stepUpAuthRequired", P), window.removeEventListener("closePopup", te, !1), B && clearInterval(B), N && clearInterval(N);
938
+ tt(() => (window.addEventListener("stepUpAuthRequired", fe, !1), window.addEventListener("closePopup", D, !1), () => {
939
+ window.removeEventListener("stepUpAuthRequired", fe), window.removeEventListener("closePopup", D, !1), B && clearInterval(B), N && clearInterval(N);
940
940
  }));
941
- const He = () => Y(ue.SMS), Ne = () => Y(ue.EMAIL);
942
- function We(l, h) {
943
- Ee[l ? "unshift" : "push"](() => {
944
- K[h] = l, e(14, K);
941
+ const Ne = () => x(ue.SMS), We = () => x(ue.EMAIL);
942
+ function qe(l, h) {
943
+ Oe[l ? "unshift" : "push"](() => {
944
+ U[h] = l, e(14, U);
945
945
  });
946
946
  }
947
- const Fe = (l, h) => ye(h, l), qe = (l, h) => ve(h, l);
948
- function Ue(l) {
949
- Ee[l ? "unshift" : "push"](() => {
950
- q = l, e(1, q);
947
+ const Fe = (l, h) => ve(h, l), Ue = (l, h) => ke(h, l);
948
+ function Xe(l) {
949
+ Oe[l ? "unshift" : "push"](() => {
950
+ F = l, e(1, F);
951
951
  });
952
952
  }
953
953
  return n.$$set = (l) => {
@@ -955,48 +955,48 @@ function Ct(n, t, e) {
955
955
  }, n.$$.update = () => {
956
956
  n.$$.dirty[0] & /*customStylingContainer*/
957
957
  2 | n.$$.dirty[1] & /*clientstyling*/
958
- 1 && p && q && nt(q, p), n.$$.dirty[0] & /*customStylingContainer*/
958
+ 1 && p && F && it(F, p), n.$$.dirty[0] & /*customStylingContainer*/
959
959
  2 | n.$$.dirty[1] & /*clientstylingurl*/
960
- 2 && s && q && ot(q, s), n.$$.dirty[0] & /*customStylingContainer*/
960
+ 2 && s && F && lt(F, s), n.$$.dirty[0] & /*customStylingContainer*/
961
961
  2 | n.$$.dirty[1] & /*mbsource*/
962
- 4 && u && q && it(q, `${u}.Style`), n.$$.dirty[1] & /*lang*/
963
- 8 && f && de(), n.$$.dirty[1] & /*lang, translationurl*/
964
- 72 && f && T && X(), n.$$.dirty[0] & /*selectedChannel*/
962
+ 4 && u && F && nt(F, `${u}.Style`, de), n.$$.dirty[1] & /*lang*/
963
+ 8 && f && K(), n.$$.dirty[1] & /*lang, translationurl*/
964
+ 72 && f && T && V(), n.$$.dirty[0] & /*selectedChannel*/
965
965
  1 | n.$$.dirty[1] & /*channelSubmitTimers*/
966
966
  128 && e(18, o = E && (!A[E] || A[E] === 0)), n.$$.dirty[0] & /*selectedChannel*/
967
967
  1 | n.$$.dirty[1] & /*channelSubmitTimers*/
968
968
  128 && e(17, i = E && A[E] || 0);
969
969
  }, [
970
970
  E,
971
- q,
971
+ F,
972
972
  b,
973
973
  m,
974
974
  y,
975
975
  C,
976
976
  W,
977
977
  j,
978
- z,
979
- Z,
978
+ I,
979
+ Q,
980
980
  le,
981
- $,
981
+ Z,
982
982
  re,
983
983
  se,
984
- K,
985
- G,
984
+ U,
986
985
  ce,
986
+ pe,
987
987
  i,
988
988
  o,
989
989
  a,
990
990
  ue,
991
- Y,
992
- V,
993
- xe,
991
+ x,
992
+ c,
994
993
  Re,
995
- ye,
996
- ve,
997
994
  Pe,
998
- Ve,
995
+ ve,
999
996
  ke,
997
+ De,
998
+ He,
999
+ Ce,
1000
1000
  M,
1001
1001
  p,
1002
1002
  s,
@@ -1006,22 +1006,22 @@ function Ct(n, t, e) {
1006
1006
  w,
1007
1007
  T,
1008
1008
  A,
1009
- He,
1010
1009
  Ne,
1011
1010
  We,
1012
- Fe,
1013
1011
  qe,
1014
- Ue
1012
+ Fe,
1013
+ Ue,
1014
+ Xe
1015
1015
  ];
1016
1016
  }
1017
- class Et extends Ge {
1017
+ class Ot extends Ye {
1018
1018
  constructor(t) {
1019
- super(), Ye(
1019
+ super(), Je(
1020
1020
  this,
1021
1021
  t,
1022
+ Et,
1022
1023
  Ct,
1023
- kt,
1024
- Je,
1024
+ Ze,
1025
1025
  {
1026
1026
  clientstyling: 31,
1027
1027
  clientstylingurl: 32,
@@ -1032,7 +1032,7 @@ class Et extends Ge {
1032
1032
  translationurl: 37,
1033
1033
  templateid: 30
1034
1034
  },
1035
- at,
1035
+ ct,
1036
1036
  [-1, -1, -1]
1037
1037
  );
1038
1038
  }
@@ -1085,7 +1085,7 @@ class Et extends Ge {
1085
1085
  this.$$set({ templateid: t }), ie();
1086
1086
  }
1087
1087
  }
1088
- lt(Et, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
1088
+ Qe(Ot, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
1089
1089
  export {
1090
- Et as default
1090
+ Ot as default
1091
1091
  };