@everymatrix/cashier-page 1.90.38 → 1.91.1

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 (78) hide show
  1. package/components/CashierCarousel-BNcnaN7U.js +672 -0
  2. package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
  3. package/components/CashierCarousel-tfVH51fj.js +675 -0
  4. package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
  5. package/components/CashierError-BqvEnGrr.cjs +1 -0
  6. package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
  7. package/components/CashierHeader-BGA-Qd-S.js +456 -0
  8. package/components/CashierHeader-BKL2lJFV.cjs +1 -0
  9. package/components/CashierHeader-Bt5aV48_.js +456 -0
  10. package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
  11. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
  12. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
  13. package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
  14. package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
  15. package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
  16. package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
  17. package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
  18. package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
  19. package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
  20. package/components/CashierModal-J_mZ6ODP.cjs +1 -0
  21. package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
  22. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
  23. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
  24. package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
  25. package/components/CashierPage-7d2gkNjC.js +9989 -0
  26. package/components/CashierPage-N8z4Zzox.js +9936 -0
  27. package/components/CashierPage-flG2gyRG.cjs +23 -0
  28. package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
  29. package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
  30. package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
  32. package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
  33. package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
  34. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
  35. package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
  36. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
  37. package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
  38. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
  39. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
  40. package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
  41. package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
  42. package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
  43. package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
  44. package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
  45. package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
  46. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
  47. package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
  48. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
  49. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
  50. package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
  51. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-B-cM-nlR.js +0 -5797
  57. package/components/CashierCarousel-CXoovlrR.js +0 -5835
  58. package/components/CashierCarousel-DMrMmClP.cjs +0 -23
  59. package/components/CashierError-CHGdRh2_.cjs +0 -1
  60. package/components/CashierHeader-B7FnLv3f.js +0 -397
  61. package/components/CashierHeader-BbP0idUh.js +0 -397
  62. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  63. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  64. package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
  65. package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
  66. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  67. package/components/CashierNotifications-B8bRZMac.cjs +0 -1
  68. package/components/CashierPage-CrLOKCt7.js +0 -4485
  69. package/components/CashierPage-DDNG9YBM.cjs +0 -1
  70. package/components/CashierPage-Ra2kFFdS.js +0 -4455
  71. package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
  73. package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
  74. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  75. package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
  76. package/components/CashierVerifications-8c9sENE2.cjs +0 -1
  77. package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
  78. package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
@@ -1,4 +1,5 @@
1
- import { a as Ke, $ as Ge, S as Ye, b as Je, s as Ze, f as le, c as Qe, G as ye, e as O, k as S, m as v, o as r, p as $e, q as et, y as Oe, v as P, l as d, x as ee, X as Y, n as R, w as L, a2 as xe, W as J, r as tt, Z as Se, a4 as nt, B as it, C as lt, D as ot, E as rt, F as st } from "./CashierCarousel-B-cM-nlR.js";
1
+ import { a as Ke, $ as Ge, S as Ye, b as Je, s as Qe, f as oe, d as Ze, z as ye, g as O, l as S, n as v, p as r, q as $e, r as et, y as Oe, w as P, m as d, A as ee, P as Y, o as R, x as L, F as xe, L as J, v as tt, D as Se, E as nt, c as it, B as ot } from "./CashierPage-N8z4Zzox.js";
2
+ import { s as lt, a as rt, b as st } from "./CashierHeader-Bt5aV48_.js";
2
3
  function Me(n, t) {
3
4
  Ke(n, t);
4
5
  }
@@ -77,17 +78,17 @@ const Te = {
77
78
  }
78
79
  };
79
80
  function ct(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}}');
81
+ Ze(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
82
  }
82
83
  function Le(n, t, e) {
83
84
  const i = n.slice();
84
85
  return i[69] = t[e], i[70] = t, i[71] = e, i;
85
86
  }
86
87
  function pt(n) {
87
- let t, e, i, l, a, p, s, u, f, _, w, T, M, b, m, y, C, A = (
88
+ let t, e, i, o, a, p, s, u, f, _, w, T, M, b, m, y, C, A = (
88
89
  /*$_*/
89
90
  n[19]("channelSMS") + ""
90
- ), X, W, j, I, te, F, Z, oe, Q, E, z, N, re, se, ae = (
91
+ ), X, F, j, I, te, W, Q, le, Z, E, z, N, re, se, ae = (
91
92
  /*$_*/
92
93
  n[19]("channelEmail") + ""
93
94
  ), q, de, U, B, G, ce, pe;
@@ -135,7 +136,7 @@ function pt(n) {
135
136
  let ie = me(n), x = ie && ie(n);
136
137
  return {
137
138
  c() {
138
- t = v("div"), K.c(), e = R(), i = v("div"), l = 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(A), W = R(), j = v("label"), I = v("div"), te = R(), F = v("input"), oe = R(), Q = v("div"), E = Y("svg"), z = Y("rect"), N = Y("path"), re = R(), se = v("span"), q = 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
+ t = v("div"), K.c(), e = R(), i = v("div"), o = 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(A), F = R(), j = v("label"), I = v("div"), te = R(), W = v("input"), le = R(), Z = v("div"), E = Y("svg"), z = Y("rect"), N = Y("path"), re = R(), se = v("span"), q = 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
140
  a,
140
141
  "checked",
141
142
  /*selectedChannel*/
@@ -144,8 +145,8 @@ function pt(n) {
144
145
  ), r(s, "type", "radio"), r(s, "name", "channel"), s.value = /*channels*/
145
146
  n[20].SMS, s.checked = u = /*selectedChannel*/
146
147
  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(l, "class", "ChannelCheckbox"), J(
148
- l,
148
+ 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(o, "class", "ChannelCheckbox"), J(
149
+ o,
149
150
  "selected",
150
151
  /*selectedChannel*/
151
152
  n[0] === /*channels*/
@@ -156,10 +157,10 @@ function pt(n) {
156
157
  /*selectedChannel*/
157
158
  n[0] === /*channels*/
158
159
  n[20].EMAIL
159
- ), r(F, "type", "radio"), r(F, "name", "channel"), F.value = /*channels*/
160
- n[20].EMAIL, F.checked = Z = /*selectedChannel*/
160
+ ), r(W, "type", "radio"), r(W, "name", "channel"), W.value = /*channels*/
161
+ n[20].EMAIL, W.checked = Q = /*selectedChannel*/
161
162
  n[0] === /*channels*/
162
- n[20].EMAIL, r(z, "x", "2"), r(z, "y", "4"), r(z, "width", "20"), r(z, "height", "16"), r(z, "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(Q, "class", "ChannelContent"), r(j, "class", "ChannelCheckbox"), J(
163
+ n[20].EMAIL, r(z, "x", "2"), r(z, "y", "4"), r(z, "width", "20"), r(z, "height", "16"), r(z, "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
164
  j,
164
165
  "selected",
165
166
  /*selectedChannel*/
@@ -168,7 +169,7 @@ function pt(n) {
168
169
  ), r(i, "class", "ChannelSelection"), r(G, "class", "OtpActionButtons");
169
170
  },
170
171
  m(c, k) {
171
- S(c, t, k), K.m(t, null), S(c, e, k), S(c, i, k), d(i, l), d(l, a), d(l, p), d(l, s), d(l, f), d(l, _), d(_, w), d(w, T), d(w, M), d(w, b), d(w, m), d(_, y), d(_, C), d(C, X), d(i, W), d(i, j), d(j, I), d(j, te), d(j, F), d(j, oe), d(j, Q), d(Q, E), d(E, z), d(E, N), d(Q, re), d(Q, se), d(se, q), S(c, de, k), V && V.m(c, k), S(c, U, k), D && D.m(c, k), S(c, B, k), S(c, G, k), x && x.m(G, null), ce || (pe = [
172
+ S(c, t, k), K.m(t, null), S(c, e, k), S(c, i, k), d(i, o), d(o, a), d(o, p), d(o, s), d(o, f), d(o, _), d(_, w), d(w, T), d(w, M), d(w, b), d(w, m), d(_, y), d(_, C), d(C, X), d(i, F), d(i, j), d(j, I), d(j, te), d(j, W), d(j, le), d(j, Z), d(Z, E), d(E, z), d(E, N), d(Z, re), d(Z, se), d(se, q), S(c, de, k), V && V.m(c, k), S(c, U, k), D && D.m(c, k), S(c, B, k), S(c, G, k), x && x.m(G, null), ce || (pe = [
172
173
  ee(
173
174
  s,
174
175
  "change",
@@ -176,7 +177,7 @@ function pt(n) {
176
177
  n[39]
177
178
  ),
178
179
  ee(
179
- F,
180
+ W,
180
181
  "change",
181
182
  /*change_handler_1*/
182
183
  n[40]
@@ -198,7 +199,7 @@ function pt(n) {
198
199
  524288 && A !== (A = /*$_*/
199
200
  c[19]("channelSMS") + "") && P(X, A), k[0] & /*selectedChannel, channels*/
200
201
  1048577 && J(
201
- l,
202
+ o,
202
203
  "selected",
203
204
  /*selectedChannel*/
204
205
  c[0] === /*channels*/
@@ -211,9 +212,9 @@ function pt(n) {
211
212
  c[0] === /*channels*/
212
213
  c[20].EMAIL
213
214
  ), k[0] & /*selectedChannel*/
214
- 1 && Z !== (Z = /*selectedChannel*/
215
+ 1 && Q !== (Q = /*selectedChannel*/
215
216
  c[0] === /*channels*/
216
- c[20].EMAIL) && (F.checked = Z), k[0] & /*$_*/
217
+ c[20].EMAIL) && (W.checked = Q), k[0] & /*$_*/
217
218
  524288 && ae !== (ae = /*$_*/
218
219
  c[19]("channelEmail") + "") && P(q, ae), k[0] & /*selectedChannel, channels*/
219
220
  1048577 && J(
@@ -231,7 +232,7 @@ function pt(n) {
231
232
  };
232
233
  }
233
234
  function ut(n) {
234
- let t, e, i, l, a, p, s = (
235
+ let t, e, i, o, a, p, s = (
235
236
  /*$_*/
236
237
  n[19]("errorHeader") + ""
237
238
  ), u, f, _, w, T, M, b = (
@@ -240,13 +241,13 @@ function ut(n) {
240
241
  ), m, y, C;
241
242
  return {
242
243
  c() {
243
- t = v("div"), e = v("div"), i = Y("svg"), l = Y("path"), a = R(), p = v("h2"), u = L(s), f = R(), _ = v("p"), w = L(
244
+ t = v("div"), e = v("div"), i = Y("svg"), o = Y("path"), a = R(), p = v("h2"), u = L(s), f = R(), _ = v("p"), w = L(
244
245
  /*errorMessage*/
245
246
  n[8]
246
- ), T = R(), M = v("button"), m = L(b), r(l, "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(i, "xmlns", "http://www.w3.org/2000/svg"), r(i, "viewBox", "0 0 512 512"), r(e, "class", "OtpErrorHeader"), r(M, "class", "OtpButton error"), r(t, "class", "OtpError");
247
+ ), T = R(), M = v("button"), m = L(b), r(o, "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(i, "xmlns", "http://www.w3.org/2000/svg"), r(i, "viewBox", "0 0 512 512"), r(e, "class", "OtpErrorHeader"), r(M, "class", "OtpButton error"), r(t, "class", "OtpError");
247
248
  },
248
249
  m(A, X) {
249
- S(A, t, X), d(t, e), d(e, i), d(i, l), 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
+ S(A, t, X), d(t, e), d(e, i), d(i, o), 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
251
  M,
251
252
  "click",
252
253
  /*manualClosePopup*/
@@ -271,7 +272,7 @@ function ut(n) {
271
272
  };
272
273
  }
273
274
  function dt(n) {
274
- let t, e, i, l;
275
+ let t, e, i, o;
275
276
  function a(f, _) {
276
277
  return (
277
278
  /*isLastWarning*/
@@ -284,20 +285,20 @@ function dt(n) {
284
285
  );
285
286
  return {
286
287
  c() {
287
- t = v("p"), s.c(), i = R(), u && u.c(), l = tt(), r(t, "class", e = /*isLastWarning*/
288
+ t = v("p"), s.c(), i = R(), u && u.c(), o = tt(), r(t, "class", e = /*isLastWarning*/
288
289
  n[10] ? "LastWarningMessage" : "");
289
290
  },
290
291
  m(f, _) {
291
- S(f, t, _), s.m(t, null), S(f, i, _), u && u.m(f, _), S(f, l, _);
292
+ S(f, t, _), s.m(t, null), S(f, i, _), u && u.m(f, _), S(f, o, _);
292
293
  },
293
294
  p(f, _) {
294
295
  p === (p = a(f)) && s ? s.p(f, _) : (s.d(1), s = p(f), s && (s.c(), s.m(t, null))), _[0] & /*isLastWarning*/
295
296
  1024 && e !== (e = /*isLastWarning*/
296
297
  f[10] ? "LastWarningMessage" : "") && r(t, "class", e), /*hasErrors*/
297
- f[6] ? u ? u.p(f, _) : (u = ze(f), u.c(), u.m(l.parentNode, l)) : u && (u.d(1), u = null);
298
+ f[6] ? u ? u.p(f, _) : (u = ze(f), u.c(), u.m(o.parentNode, o)) : u && (u.d(1), u = null);
298
299
  },
299
300
  d(f) {
300
- f && (O(t), O(i), O(l)), s.d(), u && u.d(f);
301
+ f && (O(t), O(i), O(o)), s.d(), u && u.d(f);
301
302
  }
302
303
  };
303
304
  }
@@ -310,16 +311,16 @@ function ft(n) {
310
311
  c() {
311
312
  t = v("p"), i = L(e);
312
313
  },
313
- m(l, a) {
314
- S(l, t, a), d(t, i);
314
+ m(o, a) {
315
+ S(o, t, a), d(t, i);
315
316
  },
316
- p(l, a) {
317
+ p(o, a) {
317
318
  a[0] & /*$_*/
318
319
  524288 && e !== (e = /*$_*/
319
- (l[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && P(i, e);
320
+ (o[19]("selectChannelMessage") || "Selectează metoda prin care vrei să primești codul OTP") + "") && P(i, e);
320
321
  },
321
- d(l) {
322
- l && O(t);
322
+ d(o) {
323
+ o && O(t);
323
324
  }
324
325
  };
325
326
  }
@@ -332,16 +333,16 @@ function mt(n) {
332
333
  c() {
333
334
  t = v("p"), i = L(e), r(t, "class", "OtpNoticeMessage"), r(t, "role", "alert");
334
335
  },
335
- m(l, a) {
336
- S(l, t, a), d(t, i);
336
+ m(o, a) {
337
+ S(o, t, a), d(t, i);
337
338
  },
338
- p(l, a) {
339
+ p(o, a) {
339
340
  a[0] & /*$_*/
340
341
  524288 && e !== (e = /*$_*/
341
- l[19]("otpExpiredMessage") + "") && P(i, e);
342
+ o[19]("otpExpiredMessage") + "") && P(i, e);
342
343
  },
343
- d(l) {
344
- l && O(t);
344
+ d(o) {
345
+ o && O(t);
345
346
  }
346
347
  };
347
348
  }
@@ -354,11 +355,11 @@ function ht(n) {
354
355
  c() {
355
356
  e = L(t);
356
357
  },
357
- m(i, l) {
358
- S(i, e, l);
358
+ m(i, o) {
359
+ S(i, e, o);
359
360
  },
360
- p(i, l) {
361
- l[0] & /*$_*/
361
+ p(i, o) {
362
+ o[0] & /*$_*/
362
363
  524288 && t !== (t = /*$_*/
363
364
  i[19]("popupMessage") + "") && P(e, t);
364
365
  },
@@ -376,11 +377,11 @@ function gt(n) {
376
377
  c() {
377
378
  e = L(t);
378
379
  },
379
- m(i, l) {
380
- S(i, e, l);
380
+ m(i, o) {
381
+ S(i, e, o);
381
382
  },
382
- p(i, l) {
383
- l[0] & /*$_*/
383
+ p(i, o) {
384
+ o[0] & /*$_*/
384
385
  524288 && t !== (t = /*$_*/
385
386
  i[19]("popupMessageLastWarning") + "") && P(e, t);
386
387
  },
@@ -398,11 +399,11 @@ function ze(n) {
398
399
  n[8]
399
400
  ), r(t, "class", "OtpErrorMessage"), r(t, "role", "alert");
400
401
  },
401
- m(i, l) {
402
- S(i, t, l), d(t, e);
402
+ m(i, o) {
403
+ S(i, t, o), d(t, e);
403
404
  },
404
- p(i, l) {
405
- l[0] & /*errorMessage*/
405
+ p(i, o) {
406
+ o[0] & /*errorMessage*/
406
407
  256 && P(
407
408
  e,
408
409
  /*errorMessage*/
@@ -415,7 +416,7 @@ function ze(n) {
415
416
  };
416
417
  }
417
418
  function Ae(n) {
418
- let t, e, i, l;
419
+ let t, e, i, o;
419
420
  function a(u, f) {
420
421
  return (
421
422
  /*currentChannelTimer*/
@@ -431,7 +432,7 @@ function Ae(n) {
431
432
  n[16]);
432
433
  },
433
434
  m(u, f) {
434
- S(u, t, f), s.m(t, null), i || (l = ee(
435
+ S(u, t, f), s.m(t, null), i || (o = ee(
435
436
  t,
436
437
  "click",
437
438
  /*handleChannelSubmit*/
@@ -447,7 +448,7 @@ function Ae(n) {
447
448
  u[16]);
448
449
  },
449
450
  d(u) {
450
- u && O(t), s.d(), i = !1, l();
451
+ u && O(t), s.d(), i = !1, o();
451
452
  }
452
453
  };
453
454
  }
@@ -460,11 +461,11 @@ function bt(n) {
460
461
  c() {
461
462
  e = L(t);
462
463
  },
463
- m(i, l) {
464
- S(i, e, l);
464
+ m(i, o) {
465
+ S(i, e, o);
465
466
  },
466
- p(i, l) {
467
- l[0] & /*$_*/
467
+ p(i, o) {
468
+ o[0] & /*$_*/
468
469
  524288 && t !== (t = /*$_*/
469
470
  i[19]("sendCode") + "") && P(e, t);
470
471
  },
@@ -477,29 +478,29 @@ function wt(n) {
477
478
  let t = (
478
479
  /*$_*/
479
480
  n[19]("waitSeconds") + ""
480
- ), e, i, l, a;
481
+ ), e, i, o, a;
481
482
  return {
482
483
  c() {
483
- e = L(t), i = L(" ("), l = L(
484
+ e = L(t), i = L(" ("), o = L(
484
485
  /*currentChannelTimer*/
485
486
  n[17]
486
487
  ), a = L("s)");
487
488
  },
488
489
  m(p, s) {
489
- S(p, e, s), S(p, i, s), S(p, l, s), S(p, a, s);
490
+ S(p, e, s), S(p, i, s), S(p, o, s), S(p, a, s);
490
491
  },
491
492
  p(p, s) {
492
493
  s[0] & /*$_*/
493
494
  524288 && t !== (t = /*$_*/
494
495
  p[19]("waitSeconds") + "") && P(e, t), s[0] & /*currentChannelTimer*/
495
496
  131072 && P(
496
- l,
497
+ o,
497
498
  /*currentChannelTimer*/
498
499
  p[17]
499
500
  );
500
501
  },
501
502
  d(p) {
502
- p && (O(e), O(i), O(l), O(a));
503
+ p && (O(e), O(i), O(o), O(a));
503
504
  }
504
505
  };
505
506
  }
@@ -507,7 +508,7 @@ function _t(n) {
507
508
  let t, e, i = (
508
509
  /*$_*/
509
510
  n[19]("timeRemaining") + ""
510
- ), l, a, p = (
511
+ ), o, a, p = (
511
512
  /*formatTime*/
512
513
  n[23](
513
514
  /*timeLeft*/
@@ -524,20 +525,20 @@ function _t(n) {
524
525
  b[m] = Ie(Le(n, M, m));
525
526
  return {
526
527
  c() {
527
- t = v("div"), e = v("div"), l = L(i), a = R(), s = L(p), u = R(), _ = L(f), w = R(), T = v("div");
528
+ t = v("div"), e = v("div"), o = L(i), a = R(), s = L(p), u = R(), _ = L(f), w = R(), T = v("div");
528
529
  for (let m = 0; m < b.length; m += 1)
529
530
  b[m].c();
530
531
  r(e, "class", "OtpTimer"), r(T, "class", "OtpField"), r(t, "class", "OtpFieldWrapper");
531
532
  },
532
533
  m(m, y) {
533
- S(m, t, y), d(t, e), d(e, l), d(e, a), d(e, s), d(e, u), d(e, _), d(t, w), d(t, T);
534
+ S(m, t, y), d(t, e), d(e, o), d(e, a), d(e, s), d(e, u), d(e, _), d(t, w), d(t, T);
534
535
  for (let C = 0; C < b.length; C += 1)
535
536
  b[C] && b[C].m(T, null);
536
537
  },
537
538
  p(m, y) {
538
539
  if (y[0] & /*$_*/
539
540
  524288 && i !== (i = /*$_*/
540
- m[19]("timeRemaining") + "") && P(l, i), y[0] & /*timeLeft*/
541
+ m[19]("timeRemaining") + "") && P(o, i), y[0] & /*timeLeft*/
541
542
  32 && p !== (p = /*formatTime*/
542
543
  m[23](
543
544
  /*timeLeft*/
@@ -581,16 +582,16 @@ function yt(n) {
581
582
  };
582
583
  }
583
584
  function Ie(n) {
584
- let t, e, i, l = (
585
+ let t, e, i, o = (
585
586
  /*index*/
586
587
  n[71]
587
588
  ), a, p;
588
589
  const s = () => (
589
590
  /*input_binding*/
590
- n[41](t, l)
591
+ n[41](t, o)
591
592
  ), u = () => (
592
593
  /*input_binding*/
593
- n[41](null, l)
594
+ n[41](null, o)
594
595
  );
595
596
  function f(...w) {
596
597
  return (
@@ -643,8 +644,8 @@ function Ie(n) {
643
644
  4 && i !== (i = /*char*/
644
645
  n[69]) && t.value !== i && (t.value = i), T[0] & /*inputDisabled*/
645
646
  2048 && (t.disabled = /*inputDisabled*/
646
- n[11]), l !== /*index*/
647
- n[71] && (u(), l = /*index*/
647
+ n[11]), o !== /*index*/
648
+ n[71] && (u(), o = /*index*/
648
649
  n[71], s());
649
650
  },
650
651
  d(w) {
@@ -656,10 +657,10 @@ function vt(n) {
656
657
  let t, e = (
657
658
  /*$_*/
658
659
  n[19]("submit") + ""
659
- ), i, l, a, p;
660
+ ), i, o, a, p;
660
661
  return {
661
662
  c() {
662
- t = v("button"), i = L(e), r(t, "class", "OtpButton"), t.disabled = l = /*otp*/
663
+ t = v("button"), i = L(e), r(t, "class", "OtpButton"), t.disabled = o = /*otp*/
663
664
  n[2].join("").length !== /*config*/
664
665
  n[4].inputLength || /*isSubmitting*/
665
666
  n[13] || /*maxAttempts*/
@@ -677,11 +678,11 @@ function vt(n) {
677
678
  u[0] & /*$_*/
678
679
  524288 && e !== (e = /*$_*/
679
680
  s[19]("submit") + "") && P(i, e), u[0] & /*otp, config, isSubmitting, maxAttempts*/
680
- 40980 && l !== (l = /*otp*/
681
+ 40980 && o !== (o = /*otp*/
681
682
  s[2].join("").length !== /*config*/
682
683
  s[4].inputLength || /*isSubmitting*/
683
684
  s[13] || /*maxAttempts*/
684
- s[15]) && (t.disabled = l);
685
+ s[15]) && (t.disabled = o);
685
686
  },
686
687
  d(s) {
687
688
  s && O(t), a = !1, p();
@@ -692,18 +693,18 @@ function kt(n) {
692
693
  let t, e = (
693
694
  /*$_*/
694
695
  n[19]("resendOtp") + ""
695
- ), i, l, a;
696
+ ), i, o, a;
696
697
  return {
697
698
  c() {
698
699
  t = v("button"), i = L(e), r(t, "class", "OtpButton");
699
700
  },
700
701
  m(p, s) {
701
- S(p, t, s), d(t, i), l || (a = ee(
702
+ S(p, t, s), d(t, i), o || (a = ee(
702
703
  t,
703
704
  "click",
704
705
  /*handleResendOtp*/
705
706
  n[27]
706
- ), l = !0);
707
+ ), o = !0);
707
708
  },
708
709
  p(p, s) {
709
710
  s[0] & /*$_*/
@@ -711,7 +712,7 @@ function kt(n) {
711
712
  p[19]("resendOtp") + "") && P(i, e);
712
713
  },
713
714
  d(p) {
714
- p && O(t), l = !1, a();
715
+ p && O(t), o = !1, a();
715
716
  }
716
717
  };
717
718
  }
@@ -723,59 +724,59 @@ function Ct(n) {
723
724
  a[7] ? ut : pt
724
725
  );
725
726
  }
726
- let i = e(n), l = i(n);
727
+ let i = e(n), o = i(n);
727
728
  return {
728
729
  c() {
729
- t = v("div"), l.c(), r(t, "class", "OtpContent");
730
+ t = v("div"), o.c(), r(t, "class", "OtpContent");
730
731
  },
731
732
  m(a, p) {
732
- S(a, t, p), l.m(t, null), n[44](t);
733
+ S(a, t, p), o.m(t, null), n[44](t);
733
734
  },
734
735
  p(a, p) {
735
- i === (i = e(a)) && l ? l.p(a, p) : (l.d(1), l = i(a), l && (l.c(), l.m(t, null)));
736
+ i === (i = e(a)) && o ? o.p(a, p) : (o.d(1), o = i(a), o && (o.c(), o.m(t, null)));
736
737
  },
737
738
  i: ye,
738
739
  o: ye,
739
740
  d(a) {
740
- a && O(t), l.d(), n[44](null);
741
+ a && O(t), o.d(), n[44](null);
741
742
  }
742
743
  };
743
744
  }
744
745
  function Et(n, t, e) {
745
- let i, l, a;
746
- $e(n, st, (o) => e(19, a = o));
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, A = "", X = "", W = !1, j = !1, I = "", te = "", F = "", Z = !1, oe = !1, Q = !1, E = "", z = {}, N = null, re = !1, se = !1, ae = "", q, de, U = [], B = null, G = 0, ce = !1, pe = !1;
746
+ let i, o, a;
747
+ $e(n, ot, (l) => e(19, a = l));
748
+ 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, A = "", X = "", F = !1, j = !1, I = "", te = "", W = "", Q = !1, le = !1, Z = !1, E = "", z = {}, N = null, re = !1, se = !1, ae = "", q, de, U = [], B = null, G = 0, ce = !1, pe = !1;
748
749
  const ue = { SMS: "sms", EMAIL: "email" }, $ = {
749
750
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
750
751
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
751
752
  MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
752
753
  };
753
- Object.keys(Te).forEach((o) => {
754
- Me(o, Te[o]);
754
+ Object.keys(Te).forEach((l) => {
755
+ Me(l, Te[l]);
755
756
  });
756
757
  const K = () => {
757
758
  at(f);
758
759
  }, V = () => {
759
- fetch(T).then((o) => o.json()).then((o) => {
760
- Object.keys(o).forEach((h) => {
761
- Me(h, o[h]);
760
+ fetch(T).then((l) => l.json()).then((l) => {
761
+ Object.keys(l).forEach((h) => {
762
+ Me(h, l[h]);
762
763
  });
763
- }).catch((o) => {
764
- console.log(o);
764
+ }).catch((l) => {
765
+ console.log(l);
765
766
  });
766
- }, fe = async (o) => {
767
- if (o.detail?.["x-step-up-required"]) {
768
- if (e(7, j = !1), e(6, W = !1), e(8, I = ""), te = o.detail["x-step-up-token"], F = o.detail.flow, !te || !F) {
767
+ }, fe = async (l) => {
768
+ if (l.detail?.["x-step-up-required"]) {
769
+ if (e(7, j = !1), e(6, F = !1), e(8, I = ""), te = l.detail["x-step-up-token"], W = l.detail.flow, !te || !W) {
769
770
  e(3, m = !1), e(7, j = !0), e(8, I = a("configError"));
770
771
  return;
771
772
  }
772
773
  e(12, re = !1), e(3, m = !1);
773
774
  }
774
775
  }, 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, oe = !1), e(2, b = []), e(4, y = null), e(3, m = !0), e(0, E = ""), e(12, re = !1), e(38, z = {});
776
+ B && (clearInterval(B), B = null), N && (clearInterval(N), N = null), e(6, F = !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, z = {});
776
777
  }, D = () => {
777
778
  ne();
778
- }, me = () => new Promise((o, h) => {
779
+ }, me = () => new Promise((l, h) => {
779
780
  const g = new URL(`${_}/api/pam/v1/mfa/challenge/${te}`), H = new Headers();
780
781
  H.append("accept", "application/json"), H.append("Content-Type", "application/json"), H.append("X-SessionId", `${w}`), e(16, pe = !0);
781
782
  const _e = {
@@ -787,23 +788,23 @@ function Et(n, t, e) {
787
788
  })
788
789
  };
789
790
  fetch(g, _e).then((Ee) => Ee.json()).then(() => {
790
- e(15, ce = !1), k(), ge(), o();
791
+ e(15, ce = !1), k(), ge(), l();
791
792
  }).catch((Ee) => {
792
793
  h();
793
794
  });
794
795
  }), ie = () => {
795
796
  N && clearInterval(N), N = setInterval(
796
797
  () => {
797
- const o = { ...z };
798
+ const l = { ...z };
798
799
  let h = !1;
799
- Object.keys(o).forEach((g) => {
800
- o[g] > 0 && (o[g]--, h = !0);
801
- }), e(38, z = o), !h && N && (clearInterval(N), N = null);
800
+ Object.keys(l).forEach((g) => {
801
+ l[g] > 0 && (l[g]--, h = !0);
802
+ }), e(38, z = l), !h && N && (clearInterval(N), N = null);
802
803
  },
803
804
  1e3
804
805
  );
805
- }, x = (o) => {
806
- e(0, E = o);
806
+ }, x = (l) => {
807
+ e(0, E = l);
807
808
  }, c = async () => {
808
809
  if (!(!E || z[E] && z[E] > 0)) {
809
810
  e(3, m = !0), M && M.startsWith("2fa-") && e(30, M = `2fa-${E}`);
@@ -812,64 +813,64 @@ function Et(n, t, e) {
812
813
  ...z,
813
814
  [E]: 30
814
815
  }), ie(), e(12, re = !0), k(), ge();
815
- } catch (o) {
816
- console.error("Error submitting channel:", o), e(6, W = !0), e(8, I = a("submissionError"));
816
+ } catch (l) {
817
+ console.error("Error submitting channel:", l), e(6, F = !0), e(8, I = a("submissionError"));
817
818
  } finally {
818
819
  e(3, m = !1);
819
820
  }
820
821
  }
821
822
  }, k = () => {
822
- const o = new Date(A), h = new Date(X), g = /* @__PURE__ */ new Date(), H = h.getTime() - g.getTime();
823
- G = o.getTime() - H;
823
+ const l = new Date(A), h = new Date(X), g = /* @__PURE__ */ new Date(), H = h.getTime() - g.getTime();
824
+ G = l.getTime() - H;
824
825
  const he = Date.now(), _e = Math.max(0, Math.floor((G - he) / 1e3));
825
826
  e(5, C = _e);
826
827
  }, ge = () => {
827
828
  B && clearInterval(B), B = setInterval(
828
829
  () => {
829
- const o = Date.now(), h = Math.max(0, Math.floor((G - o) / 1e3));
830
- e(5, C = h), e(11, Q = h <= 0), h <= 0 && (clearInterval(B), B = null, e(9, Z = !0), e(6, W = !1), e(10, oe = !1));
830
+ const l = Date.now(), h = Math.max(0, Math.floor((G - l) / 1e3));
831
+ e(5, C = h), e(11, Z = h <= 0), h <= 0 && (clearInterval(B), B = null, e(9, Q = !0), e(6, F = !1), e(10, le = !1));
831
832
  },
832
833
  1e3
833
834
  );
834
- }, Re = (o) => {
835
- const h = Math.floor(o / 60), g = o % 60;
835
+ }, Re = (l) => {
836
+ const h = Math.floor(l / 60), g = l % 60;
836
837
  return `${h.toString().padStart(2, "0")}:${g.toString().padStart(2, "0")}`;
837
- }, be = (o, h) => {
838
+ }, be = (l, h) => {
838
839
  const g = [...b];
839
- g[o] = h.toUpperCase(), e(2, b = g), g.join("") !== ae && e(13, se = !1);
840
- }, Pe = (o) => {
841
- o.preventDefault();
842
- const g = (o.clipboardData?.getData("text")?.trim() || "").slice(0, y.inputLength).split("");
840
+ g[l] = h.toUpperCase(), e(2, b = g), g.join("") !== ae && e(13, se = !1);
841
+ }, Pe = (l) => {
842
+ l.preventDefault();
843
+ const g = (l.clipboardData?.getData("text")?.trim() || "").slice(0, y.inputLength).split("");
843
844
  e(2, b = [...g, ...Array(y.inputLength - g.length).fill("")]), U[g.length]?.focus(), g.length === y.inputLength && Ce();
844
- }, ve = (o, h) => {
845
- const g = o.target, H = g.value;
845
+ }, ve = (l, h) => {
846
+ const g = l.target, H = g.value;
846
847
  /^[a-z0-9]$/i.test(H) && (be(h, H), U[h + 1]?.focus()), g.value = "";
847
- }, ke = (o, h) => {
848
- const g = o.key, H = o.ctrlKey || o.metaKey;
848
+ }, ke = (l, h) => {
849
+ const g = l.key, H = l.ctrlKey || l.metaKey;
849
850
  if (/^[a-z0-9]$/i.test(g)) {
850
851
  if (H && g.toLowerCase() === "v")
851
852
  return;
852
- o.preventDefault(), be(h, g), U[h + 1]?.focus();
853
+ l.preventDefault(), be(h, g), U[h + 1]?.focus();
853
854
  } else
854
- g === "Backspace" && (o.preventDefault(), b[h] !== "" && be(h, ""), U[h - 1]?.focus());
855
+ g === "Backspace" && (l.preventDefault(), b[h] !== "" && be(h, ""), U[h - 1]?.focus());
855
856
  }, De = () => {
856
- F == "stateful" && (me(), e(9, Z = !1));
857
- const o = new CustomEvent("otpResendRequested");
858
- window.dispatchEvent(o);
859
- }, je = (o) => {
857
+ W == "stateful" && (me(), e(9, Q = !1));
858
+ const l = new CustomEvent("otpResendRequested");
859
+ window.dispatchEvent(l);
860
+ }, je = (l) => {
860
861
  window.dispatchEvent(new CustomEvent(
861
862
  "otpSubmitted",
862
863
  {
863
864
  detail: {
864
- code: o,
865
+ code: l,
865
866
  maxAttempts: y.maxValidationAttempts,
866
867
  validatedAttempts: y.numberOfValidateAttempts
867
868
  }
868
869
  }
869
870
  ));
870
- }, Be = async (o) => {
871
+ }, Be = async (l) => {
871
872
  const h = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/validate`, _);
872
- h.searchParams.append("input", o);
873
+ h.searchParams.append("input", l);
873
874
  try {
874
875
  const g = await fetch(h.href, { method: "POST" });
875
876
  if (g.status === 200) {
@@ -893,10 +894,10 @@ function Et(n, t, e) {
893
894
  ), window.dispatchEvent(new CustomEvent("manualClosePopup"));
894
895
  return;
895
896
  }
896
- e(6, W = !0), e(8, I = a("invalidOtp")), we();
897
+ e(6, F = !0), e(8, I = a("invalidOtp")), we();
897
898
  return;
898
899
  }
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
+ g.message === $.MAX_INVALIDATE && (e(6, F = !0), e(8, I = a("invalidOtp"))), g.details === $.MAX_ATTEMPTS_EXCEEDED && e(15, ce = !0), console.error("OTP submission failed:", g), e(6, F = !0), e(8, I = a("submissionError"));
900
901
  } finally {
901
902
  e(3, m = !1);
902
903
  }
@@ -913,59 +914,59 @@ function Et(n, t, e) {
913
914
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
914
915
  }, Ce = async () => {
915
916
  if (b.join("").length !== y.inputLength) {
916
- e(6, W = !0), e(8, I = a("invalidOtp"));
917
+ e(6, F = !0), e(8, I = a("invalidOtp"));
917
918
  return;
918
919
  }
919
- const o = b.join("");
920
- e(13, se = !0), ae = o, e(3, m = !0), e(6, W = !1), e(8, I = ""), F === "stateless" && je(o), F === "stateful" && await Be(o);
920
+ const l = b.join("");
921
+ e(13, se = !0), ae = l, e(3, m = !0), e(6, F = !1), e(8, I = ""), W === "stateless" && je(l), W === "stateful" && await Be(l);
921
922
  }, we = async () => {
922
923
  if (_)
923
924
  try {
924
925
  e(3, m = !0);
925
- const o = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/config`, _), h = await fetch(o.href), g = await h.json();
926
+ const l = new URL(`/api/nwa/api/v1/mfa/challenge/${te}/config`, _), h = await fetch(l.href), g = await h.json();
926
927
  if (h.ok)
927
- e(4, y = g), e(2, b = Array(y.inputLength).fill("")), e(9, Z = !1), A = y.expirationTime, X = y.serverTime, y.numberOfValidateAttempts !== 0 && (e(6, W = !0), e(8, I = a("invalidOtp"))), y.numberOfValidateAttempts === y.maxValidationAttempts - 1 && e(10, oe = !0), e(3, m = !1), k(), ge(), e(16, pe = !1);
928
+ e(4, y = g), e(2, b = Array(y.inputLength).fill("")), e(9, Q = !1), A = y.expirationTime, X = y.serverTime, y.numberOfValidateAttempts !== 0 && (e(6, F = !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
929
  else if (g && g.details === $.MAX_ATTEMPTS_EXCEEDED)
929
930
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
930
931
  else {
931
932
  const H = g && g.message || `Failed to load config. Status: ${h.status}`;
932
933
  throw new Error(H);
933
934
  }
934
- } catch (o) {
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:", o);
935
+ } catch (l) {
936
+ 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
937
  }
937
938
  };
938
939
  et(() => (window.addEventListener("stepUpAuthRequired", fe, !1), window.addEventListener("closePopup", D, !1), () => {
939
940
  window.removeEventListener("stepUpAuthRequired", fe), window.removeEventListener("closePopup", D, !1), B && clearInterval(B), N && clearInterval(N);
940
941
  }));
941
- const Ne = () => x(ue.SMS), We = () => x(ue.EMAIL);
942
- function Fe(o, h) {
943
- Oe[o ? "unshift" : "push"](() => {
944
- U[h] = o, e(14, U);
942
+ const Ne = () => x(ue.SMS), Fe = () => x(ue.EMAIL);
943
+ function We(l, h) {
944
+ Oe[l ? "unshift" : "push"](() => {
945
+ U[h] = l, e(14, U);
945
946
  });
946
947
  }
947
- const qe = (o, h) => ve(h, o), Ue = (o, h) => ke(h, o);
948
- function Xe(o) {
949
- Oe[o ? "unshift" : "push"](() => {
950
- q = o, e(1, q);
948
+ const qe = (l, h) => ve(h, l), Ue = (l, h) => ke(h, l);
949
+ function Xe(l) {
950
+ Oe[l ? "unshift" : "push"](() => {
951
+ q = l, e(1, q);
951
952
  });
952
953
  }
953
- return n.$$set = (o) => {
954
- "clientstyling" in o && e(31, p = o.clientstyling), "clientstylingurl" in o && e(32, s = o.clientstylingurl), "mbsource" in o && e(33, u = o.mbsource), "lang" in o && e(34, f = o.lang), "endpoint" in o && e(35, _ = 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);
954
+ return n.$$set = (l) => {
955
+ "clientstyling" in l && e(31, p = l.clientstyling), "clientstylingurl" in l && e(32, s = l.clientstylingurl), "mbsource" in l && e(33, u = l.mbsource), "lang" in l && e(34, f = l.lang), "endpoint" in l && e(35, _ = l.endpoint), "session" in l && e(36, w = l.session), "translationurl" in l && e(37, T = l.translationurl), "templateid" in l && e(30, M = l.templateid);
955
956
  }, n.$$.update = () => {
956
957
  n.$$.dirty[0] & /*customStylingContainer*/
957
958
  2 | n.$$.dirty[1] & /*clientstyling*/
958
- 1 && p && q && it(q, p), n.$$.dirty[0] & /*customStylingContainer*/
959
+ 1 && p && q && lt(q, p), n.$$.dirty[0] & /*customStylingContainer*/
959
960
  2 | n.$$.dirty[1] & /*clientstylingurl*/
960
- 2 && s && q && lt(q, s), n.$$.dirty[0] & /*customStylingContainer*/
961
+ 2 && s && q && rt(q, s), n.$$.dirty[0] & /*customStylingContainer*/
961
962
  2 | n.$$.dirty[1] & /*mbsource*/
962
- 4 && u && q && ot(q, `${u}.Style`, de), n.$$.dirty[1] & /*lang*/
963
+ 4 && u && q && st(q, `${u}.Style`, de), n.$$.dirty[1] & /*lang*/
963
964
  8 && f && K(), n.$$.dirty[1] & /*lang, translationurl*/
964
965
  72 && f && T && V(), n.$$.dirty[0] & /*selectedChannel*/
965
966
  1 | n.$$.dirty[1] & /*channelSubmitTimers*/
966
967
  128 && e(18, i = E && (!z[E] || z[E] === 0)), n.$$.dirty[0] & /*selectedChannel*/
967
968
  1 | n.$$.dirty[1] & /*channelSubmitTimers*/
968
- 128 && e(17, l = E && z[E] || 0);
969
+ 128 && e(17, o = E && z[E] || 0);
969
970
  }, [
970
971
  E,
971
972
  q,
@@ -973,18 +974,18 @@ function Et(n, t, e) {
973
974
  m,
974
975
  y,
975
976
  C,
976
- W,
977
+ F,
977
978
  j,
978
979
  I,
979
- Z,
980
- oe,
981
980
  Q,
981
+ le,
982
+ Z,
982
983
  re,
983
984
  se,
984
985
  U,
985
986
  ce,
986
987
  pe,
987
- l,
988
+ o,
988
989
  i,
989
990
  a,
990
991
  ue,
@@ -1007,8 +1008,8 @@ function Et(n, t, e) {
1007
1008
  T,
1008
1009
  z,
1009
1010
  Ne,
1010
- We,
1011
1011
  Fe,
1012
+ We,
1012
1013
  qe,
1013
1014
  Ue,
1014
1015
  Xe
@@ -1021,7 +1022,7 @@ class Ot extends Ye {
1021
1022
  t,
1022
1023
  Et,
1023
1024
  Ct,
1024
- Ze,
1025
+ Qe,
1025
1026
  {
1026
1027
  clientstyling: 31,
1027
1028
  clientstylingurl: 32,
@@ -1040,52 +1041,52 @@ class Ot extends Ye {
1040
1041
  return this.$$.ctx[31];
1041
1042
  }
1042
1043
  set clientstyling(t) {
1043
- this.$$set({ clientstyling: t }), le();
1044
+ this.$$set({ clientstyling: t }), oe();
1044
1045
  }
1045
1046
  get clientstylingurl() {
1046
1047
  return this.$$.ctx[32];
1047
1048
  }
1048
1049
  set clientstylingurl(t) {
1049
- this.$$set({ clientstylingurl: t }), le();
1050
+ this.$$set({ clientstylingurl: t }), oe();
1050
1051
  }
1051
1052
  get mbsource() {
1052
1053
  return this.$$.ctx[33];
1053
1054
  }
1054
1055
  set mbsource(t) {
1055
- this.$$set({ mbsource: t }), le();
1056
+ this.$$set({ mbsource: t }), oe();
1056
1057
  }
1057
1058
  get lang() {
1058
1059
  return this.$$.ctx[34];
1059
1060
  }
1060
1061
  set lang(t) {
1061
- this.$$set({ lang: t }), le();
1062
+ this.$$set({ lang: t }), oe();
1062
1063
  }
1063
1064
  get endpoint() {
1064
1065
  return this.$$.ctx[35];
1065
1066
  }
1066
1067
  set endpoint(t) {
1067
- this.$$set({ endpoint: t }), le();
1068
+ this.$$set({ endpoint: t }), oe();
1068
1069
  }
1069
1070
  get session() {
1070
1071
  return this.$$.ctx[36];
1071
1072
  }
1072
1073
  set session(t) {
1073
- this.$$set({ session: t }), le();
1074
+ this.$$set({ session: t }), oe();
1074
1075
  }
1075
1076
  get translationurl() {
1076
1077
  return this.$$.ctx[37];
1077
1078
  }
1078
1079
  set translationurl(t) {
1079
- this.$$set({ translationurl: t }), le();
1080
+ this.$$set({ translationurl: t }), oe();
1080
1081
  }
1081
1082
  get templateid() {
1082
1083
  return this.$$.ctx[30];
1083
1084
  }
1084
1085
  set templateid(t) {
1085
- this.$$set({ templateid: t }), le();
1086
+ this.$$set({ templateid: t }), oe();
1086
1087
  }
1087
1088
  }
1088
- rt(Ot, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
1089
+ it(Ot, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, session: {}, translationurl: {}, templateid: {} }, [], [], !0);
1089
1090
  export {
1090
1091
  Ot as default
1091
1092
  };