@everymatrix/cashier-page 1.50.112 → 1.50.113

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 (106) hide show
  1. package/components/CashierCarousel-C6yCHnNu.js +711 -0
  2. package/components/CashierCarousel-CLvMcbY2.js +711 -0
  3. package/components/CashierCarousel-D4YPJJSf.cjs +1 -0
  4. package/components/CashierCarousel-RgQcR298.js +708 -0
  5. package/components/CashierCarousel-qSYP5NCN.js +708 -0
  6. package/components/CashierCarousel-zU8L8Yam.cjs +1 -0
  7. package/components/CashierError-BVdl-0pi.js +857 -0
  8. package/components/CashierError-DPGJyyLW.cjs +1 -0
  9. package/components/CashierError-DgkAGP_e.cjs +1 -0
  10. package/components/CashierError-GqYpZTX0.js +857 -0
  11. package/components/CashierError-LuAGDH_D.js +849 -0
  12. package/components/CashierError-mcfx0wTg.js +849 -0
  13. package/components/CashierHeader-BGSzlhTj.cjs +1 -0
  14. package/components/CashierHeader-Bjhl9m25.js +477 -0
  15. package/components/CashierHeader-CNS7j6eE.js +477 -0
  16. package/components/CashierHeader-D9Pd3FE7.js +477 -0
  17. package/components/CashierHeader-DOgjR6nW.cjs +1 -0
  18. package/components/CashierHeader-NByP26Hh.js +477 -0
  19. package/components/CashierIframeRedirect-33BCyM5c.js +387 -0
  20. package/components/CashierIframeRedirect-BQdPQBYK.cjs +1 -0
  21. package/components/CashierIframeRedirect-BrsKHiD-.js +387 -0
  22. package/components/CashierIframeRedirect-CsBH1gmJ.cjs +1 -0
  23. package/components/CashierIframeRedirect-Dd5B3UEI.js +387 -0
  24. package/components/CashierIframeRedirect-DmxcVBgy.js +387 -0
  25. package/components/CashierMethodDetails-BHDPppNJ.js +11320 -0
  26. package/components/CashierMethodDetails-BK3Ds1Di.js +11233 -0
  27. package/components/CashierMethodDetails-CKMBfDFW.js +11274 -0
  28. package/components/CashierMethodDetails-D-3xXEA0.cjs +85 -0
  29. package/components/CashierMethodDetails-Dmm5-4Bg.cjs +85 -0
  30. package/components/CashierMethodDetails-eIkkI2Ds.js +11369 -0
  31. package/components/CashierMethodsList-BoxIF7vP.js +969 -0
  32. package/components/CashierMethodsList-CZ6X0-B0.js +969 -0
  33. package/components/CashierMethodsList-ChF0ggt5.js +955 -0
  34. package/components/CashierMethodsList-Cw5gyvuC.cjs +1 -0
  35. package/components/CashierMethodsList-DJXZcEPK.js +955 -0
  36. package/components/CashierMethodsList-Dj8c1drZ.cjs +1 -0
  37. package/components/CashierModal-BLFNSD0R.js +386 -0
  38. package/components/CashierModal-BsdvB2xr.js +402 -0
  39. package/components/CashierModal-CaPaRAyn.js +386 -0
  40. package/components/CashierModal-PgkqZ-dD.cjs +1 -0
  41. package/components/CashierModal-X0JXE-VV.js +402 -0
  42. package/components/CashierModal-wFY3s5dP.cjs +1 -0
  43. package/components/CashierNotifications-CauDPpd0.cjs +1 -0
  44. package/components/CashierNotifications-CjJEjdxA.js +129 -0
  45. package/components/CashierNotifications-DBFOcZ9S.js +129 -0
  46. package/components/CashierNotifications-DupzES3u.js +129 -0
  47. package/components/CashierNotifications-ImD80dd9.js +129 -0
  48. package/components/CashierNotifications-aocI0dwK.cjs +1 -0
  49. package/components/CashierPage-BLmYMRAT.js +10286 -0
  50. package/components/CashierPage-BcoUz4sy.js +10304 -0
  51. package/components/CashierPage-D5nA8HEN.cjs +23 -0
  52. package/components/CashierPage-DAY_poj0.cjs +23 -0
  53. package/components/CashierPage-DWHzDWE-.js +10233 -0
  54. package/components/CashierPage-Db-fNMwu.js +10251 -0
  55. package/components/CashierReceiptPage-B_r5svXm.js +2063 -0
  56. package/components/CashierReceiptPage-BtbixKyh.cjs +29 -0
  57. package/components/CashierReceiptPage-ByhsQi-Y.cjs +29 -0
  58. package/components/CashierReceiptPage-CYWNzS-t.js +2043 -0
  59. package/components/CashierReceiptPage-D2LF-Cfs.js +2063 -0
  60. package/components/CashierReceiptPage-DbU3gGyp.js +2043 -0
  61. package/components/CashierSessionExpirationModal-B3so8FGP.cjs +2 -0
  62. package/components/CashierSessionExpirationModal-BLrVVg8r.js +1212 -0
  63. package/components/CashierSessionExpirationModal-D7438bGG.js +1212 -0
  64. package/components/CashierSessionExpirationModal-DFs76eVZ.js +1212 -0
  65. package/components/CashierSessionExpirationModal-DGGLAXRf.js +1212 -0
  66. package/components/CashierSessionExpirationModal-pEEj89lN.cjs +2 -0
  67. package/components/CashierSpinner-Bojn3cx4.cjs +1 -0
  68. package/components/CashierSpinner-CrLzUq-b.js +79 -0
  69. package/components/CashierSpinner-Dk_AWH9k.js +79 -0
  70. package/components/CashierSpinner-UnUIC_vy.js +79 -0
  71. package/components/CashierSpinner-VEuFkxJO.js +79 -0
  72. package/components/CashierSpinner-vS1pC0X6.cjs +1 -0
  73. package/components/CashierStepUp-8LupN5IV.js +1161 -0
  74. package/components/CashierStepUp-BsU_s7T9.js +1161 -0
  75. package/components/CashierStepUp-CRvIkD4C.js +1200 -0
  76. package/components/CashierStepUp-D5N2i9dr.js +1201 -0
  77. package/components/CashierStepUp-D5pMbD33.cjs +1 -0
  78. package/components/CashierStepUp-DWfy-EhN.cjs +1 -0
  79. package/components/CashierTransactionHistory-C1sFc875.js +1415 -0
  80. package/components/CashierTransactionHistory-CuY66DYm.js +1415 -0
  81. package/components/CashierTransactionHistory-Cw3Cp13n.cjs +1 -0
  82. package/components/CashierTransactionHistory-D1gojTnz.cjs +1 -0
  83. package/components/CashierTransactionHistory-DVNnMTBU.js +1415 -0
  84. package/components/CashierTransactionHistory-wrsYe4Kj.js +1415 -0
  85. package/components/CashierVerifications-BcQ2LHrN.cjs +1 -0
  86. package/components/CashierVerifications-CCHd_J3y.js +700 -0
  87. package/components/CashierVerifications-Ccrp5BP2.js +696 -0
  88. package/components/CashierVerifications-DYxNLeFk.js +700 -0
  89. package/components/CashierVerifications-DgpLTX5u.js +696 -0
  90. package/components/CashierVerifications-xAtq_Nw_.cjs +1 -0
  91. package/components/TxnStatusIcon-CKN6xRTe.cjs +1 -0
  92. package/components/TxnStatusIcon-CZEwNSRj.js +142 -0
  93. package/components/TxnStatusIcon-D8sZqoF_.cjs +1 -0
  94. package/components/TxnStatusIcon-Dnu-8W2z.js +142 -0
  95. package/components/TxnStatusIcon-KjjF6vov.js +142 -0
  96. package/components/TxnStatusIcon-vkIBVdfU.js +142 -0
  97. package/components/TxnTypeIcons-BTHWx7gk.cjs +1 -0
  98. package/components/TxnTypeIcons-BvLnF_at.cjs +1 -0
  99. package/components/TxnTypeIcons-CcB8sFEb.js +101 -0
  100. package/components/TxnTypeIcons-DczwMwTe.js +101 -0
  101. package/components/TxnTypeIcons-VbuF3Vpq.js +101 -0
  102. package/components/TxnTypeIcons-ci3PNKW-.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
@@ -0,0 +1,386 @@
1
+ import { S as te, b as ie, s as ne, f as C, d as oe, g as S, t as O, h as z, a8 as le, a7 as se, l as H, n as b, r as ae, a0 as j, e as B, u as F, j as Y, k as D, L, m as _, G as re, o as I, p as h, H as de, y as W, z as ce, A as fe, Q as R, c as ue } from "./CashierPage-Db-fNMwu.js";
2
+ import { s as he, a as me, b as ge } from "./CashierHeader-Bjhl9m25.js";
3
+ function pe(i) {
4
+ oe(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
5
+ }
6
+ const we = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), q = (i) => ({});
7
+ function A(i) {
8
+ let e, t, n, a, f, m, v, T, k, y, x, u, d = (
9
+ /*modaltype*/
10
+ (i[3] == "error" || /*modaltype*/
11
+ i[3] == "bonusDescription") && G()
12
+ );
13
+ const g = (
14
+ /*#slots*/
15
+ i[14].title
16
+ ), p = B(
17
+ g,
18
+ i,
19
+ /*$$scope*/
20
+ i[13],
21
+ q
22
+ );
23
+ let r = (
24
+ /*modaltype*/
25
+ i[3] != "2fa-old" && P(i)
26
+ ), l = (
27
+ /*isloading*/
28
+ i[4] === "true" && Q()
29
+ );
30
+ const M = (
31
+ /*#slots*/
32
+ i[14].content
33
+ ), c = B(
34
+ M,
35
+ i,
36
+ /*$$scope*/
37
+ i[13],
38
+ U
39
+ );
40
+ return {
41
+ c() {
42
+ e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f = I(), m = b("div"), p && p.c(), v = I(), r && r.c(), T = I(), l && l.c(), k = I(), y = b("div"), c && c.c(), h(m, "class", "TitleText"), h(a, "class", "ModalTitle"), h(n, "class", "ModalHeader"), h(y, "class", "ModalContentWrapper"), L(
43
+ y,
44
+ "hidden",
45
+ /*isloading*/
46
+ i[4] === "true"
47
+ ), h(t, "class", "ModalContainer"), L(
48
+ t,
49
+ "video-mode",
50
+ /*modaltype*/
51
+ i[3] === "video"
52
+ ), L(
53
+ t,
54
+ "twofa-mode",
55
+ /*modaltype*/
56
+ i[3] === "2fa"
57
+ ), h(e, "id", "Modal"), de(() => (
58
+ /*div5_elementresize_handler*/
59
+ i[18].call(e)
60
+ ));
61
+ },
62
+ m(s, w) {
63
+ H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), x = re(
64
+ e,
65
+ /*div5_elementresize_handler*/
66
+ i[18].bind(e)
67
+ ), u = !0;
68
+ },
69
+ p(s, w) {
70
+ /*modaltype*/
71
+ s[3] == "error" || /*modaltype*/
72
+ s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
73
+ 8192) && F(
74
+ p,
75
+ g,
76
+ s,
77
+ /*$$scope*/
78
+ s[13],
79
+ u ? D(
80
+ g,
81
+ /*$$scope*/
82
+ s[13],
83
+ w,
84
+ ye
85
+ ) : Y(
86
+ /*$$scope*/
87
+ s[13]
88
+ ),
89
+ q
90
+ ), /*modaltype*/
91
+ s[3] != "2fa-old" ? r ? r.p(s, w) : (r = P(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
92
+ s[4] === "true" ? l || (l = Q(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
93
+ 8192) && F(
94
+ c,
95
+ M,
96
+ s,
97
+ /*$$scope*/
98
+ s[13],
99
+ u ? D(
100
+ M,
101
+ /*$$scope*/
102
+ s[13],
103
+ w,
104
+ we
105
+ ) : Y(
106
+ /*$$scope*/
107
+ s[13]
108
+ ),
109
+ U
110
+ ), (!u || w & /*isloading*/
111
+ 16) && L(
112
+ y,
113
+ "hidden",
114
+ /*isloading*/
115
+ s[4] === "true"
116
+ ), (!u || w & /*modaltype*/
117
+ 8) && L(
118
+ t,
119
+ "video-mode",
120
+ /*modaltype*/
121
+ s[3] === "video"
122
+ ), (!u || w & /*modaltype*/
123
+ 8) && L(
124
+ t,
125
+ "twofa-mode",
126
+ /*modaltype*/
127
+ s[3] === "2fa"
128
+ );
129
+ },
130
+ i(s) {
131
+ u || (z(p, s), z(c, s), u = !0);
132
+ },
133
+ o(s) {
134
+ O(p, s), O(c, s), u = !1;
135
+ },
136
+ d(s) {
137
+ s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), x();
138
+ }
139
+ };
140
+ }
141
+ function G(i) {
142
+ let e;
143
+ return {
144
+ c() {
145
+ e = b("div"), e.innerHTML = '<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>', h(e, "class", "WarningIcon");
146
+ },
147
+ m(t, n) {
148
+ H(t, e, n);
149
+ },
150
+ d(t) {
151
+ t && S(e);
152
+ }
153
+ };
154
+ }
155
+ function P(i) {
156
+ let e, t, n, a, f;
157
+ return {
158
+ c() {
159
+ e = b("div"), t = R("svg"), n = R("path"), h(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
160
+ },
161
+ m(m, v) {
162
+ H(m, e, v), _(e, t), _(t, n), a || (f = fe(
163
+ t,
164
+ "click",
165
+ /*closeModal*/
166
+ i[9]
167
+ ), a = !0);
168
+ },
169
+ p: ce,
170
+ d(m) {
171
+ m && S(e), a = !1, f();
172
+ }
173
+ };
174
+ }
175
+ function Q(i) {
176
+ let e;
177
+ return {
178
+ c() {
179
+ e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', h(e, "class", "ModalLoadingOverlay");
180
+ },
181
+ m(t, n) {
182
+ H(t, e, n);
183
+ },
184
+ d(t) {
185
+ t && S(e);
186
+ }
187
+ };
188
+ }
189
+ function _e(i) {
190
+ let e, t, n = (
191
+ /*show*/
192
+ i[2] === "true" && A(i)
193
+ );
194
+ return {
195
+ c() {
196
+ e = b("div"), n && n.c();
197
+ },
198
+ m(a, f) {
199
+ H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
200
+ },
201
+ p(a, [f]) {
202
+ /*show*/
203
+ a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
204
+ 4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
205
+ n = null;
206
+ }), se());
207
+ },
208
+ i(a) {
209
+ t || (z(n), t = !0);
210
+ },
211
+ o(a) {
212
+ O(n), t = !1;
213
+ },
214
+ d(a) {
215
+ a && S(e), n && n.d(), i[19](null);
216
+ }
217
+ };
218
+ }
219
+ function be(i, e, t) {
220
+ let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: x } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
221
+ const w = () => {
222
+ c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
223
+ () => {
224
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
225
+ },
226
+ 200
227
+ ));
228
+ }, E = async () => {
229
+ if (!l || !r || M)
230
+ return;
231
+ s && clearTimeout(c), M = !0;
232
+ const o = l.offsetWidth, X = l.offsetHeight;
233
+ t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${X}px`, l), l.offsetHeight, await j();
234
+ const $ = r.scrollHeight, ee = r.scrollWidth;
235
+ t(8, l.style.width = `${ee}px`, l), t(8, l.style.height = `${$}px`, l), s = setTimeout(
236
+ () => {
237
+ l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), M = !1;
238
+ },
239
+ 300
240
+ );
241
+ };
242
+ ae(() => {
243
+ if (j().then(() => {
244
+ E();
245
+ }), r) {
246
+ const o = new ResizeObserver(() => {
247
+ E();
248
+ });
249
+ return o.observe(r), () => {
250
+ o.disconnect();
251
+ };
252
+ }
253
+ return () => {
254
+ c && clearTimeout(c), s && clearTimeout(c);
255
+ };
256
+ });
257
+ function Z(o) {
258
+ W[o ? "unshift" : "push"](() => {
259
+ r = o, t(7, r);
260
+ });
261
+ }
262
+ function J(o) {
263
+ W[o ? "unshift" : "push"](() => {
264
+ l = o, t(8, l);
265
+ });
266
+ }
267
+ function K(o) {
268
+ W[o ? "unshift" : "push"](() => {
269
+ d = o, t(6, d);
270
+ });
271
+ }
272
+ function N() {
273
+ x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
274
+ }
275
+ function V(o) {
276
+ W[o ? "unshift" : "push"](() => {
277
+ g = o, t(5, g);
278
+ });
279
+ }
280
+ return i.$$set = (o) => {
281
+ "mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, x = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
282
+ }, i.$$.update = () => {
283
+ i.$$.dirty & /*isloading*/
284
+ 16 && y && j().then(() => {
285
+ E();
286
+ }), i.$$.dirty & /*clientstyling, customStylingContainer*/
287
+ 2080 && m && g && he(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
288
+ 4128 && v && g && me(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
289
+ 1056 && f && g && ge(g, `${f}.Style`, p);
290
+ }, [
291
+ x,
292
+ u,
293
+ T,
294
+ k,
295
+ y,
296
+ g,
297
+ d,
298
+ r,
299
+ l,
300
+ w,
301
+ f,
302
+ m,
303
+ v,
304
+ a,
305
+ n,
306
+ Z,
307
+ J,
308
+ K,
309
+ N,
310
+ V
311
+ ];
312
+ }
313
+ class ve extends te {
314
+ constructor(e) {
315
+ super(), ie(
316
+ this,
317
+ e,
318
+ be,
319
+ _e,
320
+ ne,
321
+ {
322
+ mbsource: 10,
323
+ clientstyling: 11,
324
+ clientstylingurl: 12,
325
+ show: 2,
326
+ modaltype: 3,
327
+ isloading: 4,
328
+ width: 0,
329
+ height: 1
330
+ },
331
+ pe
332
+ );
333
+ }
334
+ get mbsource() {
335
+ return this.$$.ctx[10];
336
+ }
337
+ set mbsource(e) {
338
+ this.$$set({ mbsource: e }), C();
339
+ }
340
+ get clientstyling() {
341
+ return this.$$.ctx[11];
342
+ }
343
+ set clientstyling(e) {
344
+ this.$$set({ clientstyling: e }), C();
345
+ }
346
+ get clientstylingurl() {
347
+ return this.$$.ctx[12];
348
+ }
349
+ set clientstylingurl(e) {
350
+ this.$$set({ clientstylingurl: e }), C();
351
+ }
352
+ get show() {
353
+ return this.$$.ctx[2];
354
+ }
355
+ set show(e) {
356
+ this.$$set({ show: e }), C();
357
+ }
358
+ get modaltype() {
359
+ return this.$$.ctx[3];
360
+ }
361
+ set modaltype(e) {
362
+ this.$$set({ modaltype: e }), C();
363
+ }
364
+ get isloading() {
365
+ return this.$$.ctx[4];
366
+ }
367
+ set isloading(e) {
368
+ this.$$set({ isloading: e }), C();
369
+ }
370
+ get width() {
371
+ return this.$$.ctx[0];
372
+ }
373
+ set width(e) {
374
+ this.$$set({ width: e }), C();
375
+ }
376
+ get height() {
377
+ return this.$$.ctx[1];
378
+ }
379
+ set height(e) {
380
+ this.$$set({ height: e }), C();
381
+ }
382
+ }
383
+ ue(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
384
+ export {
385
+ ve as default
386
+ };
@@ -0,0 +1 @@
1
+ "use strict";var L=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-DAY_poj0.cjs"),M=require("./CashierHeader-BGSzlhTj.cjs");function R(n){e.append_styles(n,"svelte-e2luo5",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const U=n=>({}),T=n=>({}),Z=n=>({}),S=n=>({});function z(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&H();const _=n[14].title,w=e.create_slot(_,n,n[13],S);let d=n[3]!="2fa-old"&&I(n),s=n[4]==="true"&&W();const x=n[14].content,f=e.create_slot(x,n,n[13],T);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=H(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,Z):e.get_all_dirty_from_scope(a[13]),S),a[3]!="2fa-old"?d?d.p(a,y):(d=I(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=W(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function H(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function I(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function W(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function A(n){let t,i,o=n[2]==="true"&&z(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=z(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function G(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>L(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,q=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${q}px`,s),s.offsetHeight,yield e.tick();const P=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${P}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function F(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&M.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&M.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&M.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,E,j,B,F,Y]}class O extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,G,A,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},R)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(O,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=O;