@everymatrix/cashier-page 1.69.104 → 1.69.123

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 (92) hide show
  1. package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
  2. package/components/{CashierCarousel-6PpXL5Qp.js → CashierCarousel-D_wSKCMs.js} +752 -716
  3. package/components/{CashierCarousel-CukH4aEC.js → CashierCarousel-U2ysEkZo.js} +668 -632
  4. package/components/{CashierError-BbxnJqdU.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
  5. package/components/{CashierError-CfHBjTAV.js → CashierError-D2jZsClG.js} +2 -2
  6. package/components/{CashierError-DUp1jL7u.js → CashierError-ZLpQCZ7N.js} +2 -2
  7. package/components/{CashierHeader-DppgdJvh.js → CashierHeader-BCCA_87T.js} +1 -1
  8. package/components/{CashierHeader-BAQT942H.cjs → CashierHeader-D40gryOj.cjs} +1 -1
  9. package/components/{CashierHeader-mNIfX_8X.js → CashierHeader-DyFARvnF.js} +1 -1
  10. package/components/{CashierIframeRedirect-D16g3FOL.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-CUNGOWqF.js → CashierIframeRedirect-BMGvaxHv.js} +3 -3
  12. package/components/{CashierIframeRedirect-OFn0nnKy.js → CashierIframeRedirect-Hz0t-XHA.js} +3 -3
  13. package/components/CashierMethodDetails-D0wpum5b.js +9564 -0
  14. package/components/CashierMethodDetails-FeiyXoHw.js +9523 -0
  15. package/components/CashierMethodDetails-ziUU0Tui.cjs +85 -0
  16. package/components/CashierMethodsList-CI_1-_NW.js +737 -0
  17. package/components/CashierMethodsList-PbOH7p79.cjs +1 -0
  18. package/components/CashierMethodsList-WQndorD0.js +725 -0
  19. package/components/CashierModal-Bm1ZHiKF.js +337 -0
  20. package/components/CashierModal-CZXS870r.cjs +1 -0
  21. package/components/CashierModal-DA9pYzjv.js +353 -0
  22. package/components/{CashierNotifications-TCeibGW7.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
  23. package/components/{CashierNotifications-B4mMHPzM.js → CashierNotifications-BKEjPFOe.js} +1 -1
  24. package/components/{CashierNotifications-C9N_cyjp.js → CashierNotifications-BhTVfc_q.js} +1 -1
  25. package/components/CashierPage-B2478cGI.cjs +1 -0
  26. package/components/CashierPage-Bu-Q7zGW.js +3202 -0
  27. package/components/CashierPage-DRqoyxvy.js +3202 -0
  28. package/components/{CashierReceiptPage-D3bSdrMR.js → CashierReceiptPage-BCdXtAQy.js} +687 -645
  29. package/components/CashierReceiptPage-BTnWWxrf.cjs +26 -0
  30. package/components/{CashierReceiptPage-nV_QGl-h.js → CashierReceiptPage-mprh7bxR.js} +722 -680
  31. package/components/{CashierSessionExpirationModal-Dex-iDiX.cjs → CashierSessionExpirationModal-CO21pLuC.cjs} +2 -2
  32. package/components/{CashierSessionExpirationModal-XOwOZhfl.js → CashierSessionExpirationModal-Cf9kV9t-.js} +62 -62
  33. package/components/{CashierSessionExpirationModal-DPlehL-t.js → CashierSessionExpirationModal-DmelwHmk.js} +89 -89
  34. package/components/{CashierSpinner-BQgydcZ_.js → CashierSpinner-BafoqXXx.js} +1 -1
  35. package/components/{CashierSpinner-CzYDxJhX.js → CashierSpinner-BoT5LgPd.js} +1 -1
  36. package/components/{CashierSpinner-DxJ8w6Oz.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
  37. package/components/CashierStepUp-DAwEA9m8.js +1118 -0
  38. package/components/CashierStepUp-DHD1RjqN.js +1079 -0
  39. package/components/CashierStepUp-DPLCXGpo.cjs +1 -0
  40. package/components/{CashierTransactionHistory-BWy9gkLT.js → CashierTransactionHistory-BKgkxlMX.js} +6 -6
  41. package/components/{CashierTransactionHistory-BE1joO9K.js → CashierTransactionHistory-C8ds2Zwi.js} +6 -6
  42. package/components/{CashierTransactionHistory-TKDNzqMX.cjs → CashierTransactionHistory-CBn28kTC.cjs} +1 -1
  43. package/components/{CashierVerifications-Cz6thwea.js → CashierVerifications-B5x1jg3q.js} +9 -9
  44. package/components/{CashierVerifications-BC3_kyP4.cjs → CashierVerifications-Hi5EfxuQ.cjs} +1 -1
  45. package/components/{CashierVerifications-AUHQ5YBD.js → CashierVerifications-fksQOX8S.js} +9 -9
  46. package/components/{TxnStatusIcon-BhLc40xR.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C9Qf16Sv.js → TxnStatusIcon-Ck-w1f1a.js} +1 -1
  48. package/components/{TxnStatusIcon-CllgBQ_-.js → TxnStatusIcon-ZhJG6FAv.js} +1 -1
  49. package/components/{TxnTypeIcons-D5s1NIcq.js → TxnTypeIcons-BJMvuKXL.js} +1 -1
  50. package/components/{TxnTypeIcons-DTmlDMr_.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-lLjMKCFg.js → TxnTypeIcons-OgWLkxli.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-B6BYeRne.js} +1 -1
  57. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-BOr4KAqq.js} +1 -1
  58. package/stencil/{index-97d17652-BhLhk_xz.cjs → index-97d17652-zTl06Vn9.cjs} +1 -1
  59. package/stencil/{index-b2193545-B8kMF2bI.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
  60. package/stencil/{index-b2193545-BoSqyMpB.js → index-b2193545-CF_fVoFe.js} +1 -1
  61. package/stencil/{index-b2193545-D4dOaNlR.js → index-b2193545-DfttkCgg.js} +1 -1
  62. package/stencil/{ui-image-DIEeZy5u.js → ui-image-BsYHwNhO.js} +1 -1
  63. package/stencil/{ui-image-BWJXFWH1.js → ui-image-CNaRr0ax.js} +1 -1
  64. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
  65. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  66. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  67. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-image_2-CmVho0dS.js} +14 -12
  69. package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
  70. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-image_2-Daq38JGa.js} +14 -12
  71. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-B9YTz-WD.js} +2 -2
  72. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-CQ-FgYMx.js} +2 -2
  73. package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
  74. package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
  75. package/stencil/{ui-image_2-Bm97-wkj.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +12 -14
  76. package/stencil/{ui-image_2-qO3reSlr.js → ui-skeleton-ed169f8f-BNn31z1X.js} +12 -14
  77. package/components/CashierCarousel-Cd1TzgE8.cjs +0 -23
  78. package/components/CashierMethodDetails-BYNgkyXG.js +0 -9006
  79. package/components/CashierMethodDetails-D6dPCYFG.cjs +0 -85
  80. package/components/CashierMethodDetails-DfoHgNtY.js +0 -9027
  81. package/components/CashierMethodsList-CuMP4TC9.cjs +0 -1
  82. package/components/CashierMethodsList-Di9Oe4JI.js +0 -691
  83. package/components/CashierMethodsList-mN4PR-DW.js +0 -703
  84. package/components/CashierModal-C19ykcBp.js +0 -237
  85. package/components/CashierModal-fzrJshmv.cjs +0 -1
  86. package/components/CashierModal-tHIgxmTG.js +0 -237
  87. package/components/CashierPage-Bz-x5NYC.js +0 -2832
  88. package/components/CashierPage-CKSxChJM.cjs +0 -1
  89. package/components/CashierPage-CS_ZG6Xb.js +0 -2832
  90. package/components/CashierReceiptPage-CiPr9s04.cjs +0 -26
  91. package/stencil/ui-image_2-DdFjzzNO.cjs +0 -55
  92. package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +0 -55
@@ -1,237 +0,0 @@
1
- import { S as E, b as O, s as j, f as g, c as q, e as C, t as w, g as b, Z, _ as D, k as v, r as G, q as H, d as K, u as N, h as P, j as R, o as h, l as _, a0 as T, m as p, n as U, K as W, y as x, G as A, x as J, P as k, B as Q, C as V, D as X, E as Y } from "./CashierCarousel-6PpXL5Qp.js";
2
- function $(n) {
3
- q(n, "svelte-7nm8l3", '*,*::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 modalSlideScaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}@keyframes modalSlideScaleOut{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}#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;animation:modalFadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}#Modal.closing{animation:modalFadeOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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 2px rgba(255, 255, 255, 0.3);animation:modalSlideScaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)}#Modal.closing .ModalContainer{animation:modalSlideScaleOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer;transition:transform 0.2s ease}.CloseButton:hover{transform:scale(1.05)}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
4
- }
5
- const ee = (n) => ({}), M = (n) => ({});
6
- function S(n) {
7
- let e, t, i, s, a, m, d, r = (
8
- /*modaltype*/
9
- n[3] !== "error" && L(n)
10
- );
11
- const y = (
12
- /*#slots*/
13
- n[11].content
14
- ), c = K(
15
- y,
16
- n,
17
- /*$$scope*/
18
- n[10],
19
- M
20
- );
21
- return {
22
- c() {
23
- e = p("div"), t = p("div"), i = p("div"), r && r.c(), s = U(), c && c.c(), h(i, "class", "ModalContainer"), h(i, "style", a = /*modaltype*/
24
- n[3] === "video" ? "height: 70%" : "height: auto"), h(t, "id", "Modal"), W(() => (
25
- /*div1_elementresize_handler*/
26
- n[13].call(t)
27
- ));
28
- },
29
- m(l, u) {
30
- v(l, e, u), _(e, t), _(t, i), r && r.m(i, null), _(i, s), c && c.m(i, null), n[12](t), m = T(
31
- t,
32
- /*div1_elementresize_handler*/
33
- n[13].bind(t)
34
- ), n[14](e), d = !0;
35
- },
36
- p(l, u) {
37
- /*modaltype*/
38
- l[3] !== "error" ? r ? r.p(l, u) : (r = L(l), r.c(), r.m(i, s)) : r && (r.d(1), r = null), c && c.p && (!d || u & /*$$scope*/
39
- 1024) && N(
40
- c,
41
- y,
42
- l,
43
- /*$$scope*/
44
- l[10],
45
- d ? R(
46
- y,
47
- /*$$scope*/
48
- l[10],
49
- u,
50
- ee
51
- ) : P(
52
- /*$$scope*/
53
- l[10]
54
- ),
55
- M
56
- ), (!d || u & /*modaltype*/
57
- 8 && a !== (a = /*modaltype*/
58
- l[3] === "video" ? "height: 70%" : "height: auto")) && h(i, "style", a);
59
- },
60
- i(l) {
61
- d || (b(c, l), d = !0);
62
- },
63
- o(l) {
64
- w(c, l), d = !1;
65
- },
66
- d(l) {
67
- l && C(e), r && r.d(), c && c.d(l), n[12](null), m(), n[14](null);
68
- }
69
- };
70
- }
71
- function L(n) {
72
- let e, t, i, s, a;
73
- return {
74
- c() {
75
- e = p("div"), t = k("svg"), i = k("path"), h(i, "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");
76
- },
77
- m(m, d) {
78
- v(m, e, d), _(e, t), _(t, i), s || (a = J(
79
- t,
80
- "click",
81
- /*closeModal*/
82
- n[6]
83
- ), s = !0);
84
- },
85
- p: A,
86
- d(m) {
87
- m && C(e), s = !1, a();
88
- }
89
- };
90
- }
91
- function te(n) {
92
- let e, t, i = (
93
- /*show*/
94
- n[2] === "true" && S(n)
95
- );
96
- return {
97
- c() {
98
- i && i.c(), e = G();
99
- },
100
- m(s, a) {
101
- i && i.m(s, a), v(s, e, a), t = !0;
102
- },
103
- p(s, [a]) {
104
- /*show*/
105
- s[2] === "true" ? i ? (i.p(s, a), a & /*show*/
106
- 4 && b(i, 1)) : (i = S(s), i.c(), b(i, 1), i.m(e.parentNode, e)) : i && (Z(), w(i, 1, 1, () => {
107
- i = null;
108
- }), D());
109
- },
110
- i(s) {
111
- t || (b(i), t = !0);
112
- },
113
- o(s) {
114
- w(i), t = !1;
115
- },
116
- d(s) {
117
- s && C(e), i && i.d(s);
118
- }
119
- };
120
- }
121
- function ie(n, e, t) {
122
- let { $$slots: i = {}, $$scope: s } = e, { mbsource: a } = e, { clientstyling: m } = e, { clientstylingurl: d } = e, { show: r } = e, { modaltype: y = "" } = e, { width: c } = e, { height: l } = e, u, f;
123
- const z = () => {
124
- u && (u.classList.add("closing"), setTimeout(
125
- () => {
126
- window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
127
- },
128
- 300
129
- ));
130
- };
131
- H(() => () => {
132
- });
133
- function I(o) {
134
- x[o ? "unshift" : "push"](() => {
135
- u = o, t(5, u);
136
- });
137
- }
138
- function F() {
139
- c = this.clientWidth, l = this.clientHeight, t(0, c), t(1, l);
140
- }
141
- function B(o) {
142
- x[o ? "unshift" : "push"](() => {
143
- f = o, t(4, f);
144
- });
145
- }
146
- return n.$$set = (o) => {
147
- "mbsource" in o && t(7, a = o.mbsource), "clientstyling" in o && t(8, m = o.clientstyling), "clientstylingurl" in o && t(9, d = o.clientstylingurl), "show" in o && t(2, r = o.show), "modaltype" in o && t(3, y = o.modaltype), "width" in o && t(0, c = o.width), "height" in o && t(1, l = o.height), "$$scope" in o && t(10, s = o.$$scope);
148
- }, n.$$.update = () => {
149
- n.$$.dirty & /*clientstyling, customStylingContainer*/
150
- 272 && m && f && Q(f, m), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
151
- 528 && d && f && V(f, d), n.$$.dirty & /*mbsource, customStylingContainer*/
152
- 144 && a && f && X(f, `${a}.Style`);
153
- }, [
154
- c,
155
- l,
156
- r,
157
- y,
158
- f,
159
- u,
160
- z,
161
- a,
162
- m,
163
- d,
164
- s,
165
- i,
166
- I,
167
- F,
168
- B
169
- ];
170
- }
171
- class ne extends E {
172
- constructor(e) {
173
- super(), O(
174
- this,
175
- e,
176
- ie,
177
- te,
178
- j,
179
- {
180
- mbsource: 7,
181
- clientstyling: 8,
182
- clientstylingurl: 9,
183
- show: 2,
184
- modaltype: 3,
185
- width: 0,
186
- height: 1
187
- },
188
- $
189
- );
190
- }
191
- get mbsource() {
192
- return this.$$.ctx[7];
193
- }
194
- set mbsource(e) {
195
- this.$$set({ mbsource: e }), g();
196
- }
197
- get clientstyling() {
198
- return this.$$.ctx[8];
199
- }
200
- set clientstyling(e) {
201
- this.$$set({ clientstyling: e }), g();
202
- }
203
- get clientstylingurl() {
204
- return this.$$.ctx[9];
205
- }
206
- set clientstylingurl(e) {
207
- this.$$set({ clientstylingurl: e }), g();
208
- }
209
- get show() {
210
- return this.$$.ctx[2];
211
- }
212
- set show(e) {
213
- this.$$set({ show: e }), g();
214
- }
215
- get modaltype() {
216
- return this.$$.ctx[3];
217
- }
218
- set modaltype(e) {
219
- this.$$set({ modaltype: e }), g();
220
- }
221
- get width() {
222
- return this.$$.ctx[0];
223
- }
224
- set width(e) {
225
- this.$$set({ width: e }), g();
226
- }
227
- get height() {
228
- return this.$$.ctx[1];
229
- }
230
- set height(e) {
231
- this.$$set({ height: e }), g();
232
- }
233
- }
234
- Y(ne, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, width: {}, height: {} }, ["content"], [], !0);
235
- export {
236
- ne as default
237
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-Cd1TzgE8.cjs");function k(l){t.append_styles(l,"svelte-7nm8l3",'*,*::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 modalSlideScaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}@keyframes modalSlideScaleOut{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}#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;animation:modalFadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}#Modal.closing{animation:modalFadeOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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 2px rgba(255, 255, 255, 0.3);animation:modalSlideScaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)}#Modal.closing .ModalContainer{animation:modalSlideScaleOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer;transition:transform 0.2s ease}.CloseButton:hover{transform:scale(1.05)}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}')}const M=l=>({}),_=l=>({});function y(l){let e,i,n,o,r,h,u,c=l[3]!=="error"&&p(l);const g=l[11].content,d=t.create_slot(g,l,l[10],_);return{c(){e=t.element("div"),i=t.element("div"),n=t.element("div"),c&&c.c(),o=t.space(),d&&d.c(),t.attr(n,"class","ModalContainer"),t.attr(n,"style",r=l[3]==="video"?"height: 70%":"height: auto"),t.attr(i,"id","Modal"),t.add_render_callback(()=>l[13].call(i))},m(s,m){t.insert(s,e,m),t.append(e,i),t.append(i,n),c&&c.m(n,null),t.append(n,o),d&&d.m(n,null),l[12](i),h=t.add_iframe_resize_listener(i,l[13].bind(i)),l[14](e),u=!0},p(s,m){s[3]!=="error"?c?c.p(s,m):(c=p(s),c.c(),c.m(n,o)):c&&(c.d(1),c=null),d&&d.p&&(!u||m&1024)&&t.update_slot_base(d,g,s,s[10],u?t.get_slot_changes(g,s[10],m,M):t.get_all_dirty_from_scope(s[10]),_),(!u||m&8&&r!==(r=s[3]==="video"?"height: 70%":"height: auto"))&&t.attr(n,"style",r)},i(s){u||(t.transition_in(d,s),u=!0)},o(s){t.transition_out(d,s),u=!1},d(s){s&&t.detach(e),c&&c.d(),d&&d.d(s),l[12](null),h(),l[14](null)}}}function p(l){let e,i,n,o,r;return{c(){e=t.element("div"),i=t.svg_element("svg"),n=t.svg_element("path"),t.attr(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"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"viewBox","0 0 13 13"),t.attr(i,"fill","none"),t.attr(i,"class","CloseButton"),t.attr(e,"class","ModalCloseIcon")},m(h,u){t.insert(h,e,u),t.append(e,i),t.append(i,n),o||(r=t.listen(i,"click",l[6]),o=!0)},p:t.noop,d(h){h&&t.detach(e),o=!1,r()}}}function S(l){let e,i,n=l[2]==="true"&&y(l);return{c(){n&&n.c(),e=t.empty()},m(o,r){n&&n.m(o,r),t.insert(o,e,r),i=!0},p(o,[r]){o[2]==="true"?n?(n.p(o,r),r&4&&t.transition_in(n,1)):(n=y(o),n.c(),t.transition_in(n,1),n.m(e.parentNode,e)):n&&(t.group_outros(),t.transition_out(n,1,1,()=>{n=null}),t.check_outros())},i(o){i||(t.transition_in(n),i=!0)},o(o){t.transition_out(n),i=!1},d(o){o&&t.detach(e),n&&n.d(o)}}}function L(l,e,i){let{$$slots:n={},$$scope:o}=e,{mbsource:r}=e,{clientstyling:h}=e,{clientstylingurl:u}=e,{show:c}=e,{modaltype:g=""}=e,{width:d}=e,{height:s}=e,m,f;const C=()=>{m&&(m.classList.add("closing"),setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},300))};t.onMount(()=>()=>{});function w(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,i(5,m)})}function v(){d=this.clientWidth,s=this.clientHeight,i(0,d),i(1,s)}function x(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,i(4,f)})}return l.$$set=a=>{"mbsource"in a&&i(7,r=a.mbsource),"clientstyling"in a&&i(8,h=a.clientstyling),"clientstylingurl"in a&&i(9,u=a.clientstylingurl),"show"in a&&i(2,c=a.show),"modaltype"in a&&i(3,g=a.modaltype),"width"in a&&i(0,d=a.width),"height"in a&&i(1,s=a.height),"$$scope"in a&&i(10,o=a.$$scope)},l.$$.update=()=>{l.$$.dirty&272&&h&&f&&t.setClientStyling(f,h),l.$$.dirty&528&&u&&f&&t.setClientStylingURL(f,u),l.$$.dirty&144&&r&&f&&t.setStreamStyling(f,`${r}.Style`)},[d,s,c,g,f,m,C,r,h,u,o,n,w,v,x]}class b extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,L,S,t.safe_not_equal,{mbsource:7,clientstyling:8,clientstylingurl:9,show:2,modaltype:3,width:0,height:1},k)}get mbsource(){return this.$$.ctx[7]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(b,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},width:{},height:{}},["content"],[],!0);exports.default=b;
@@ -1,237 +0,0 @@
1
- import { S as E, b as O, s as j, f as g, c as q, e as C, t as w, g as b, Z, _ as D, k as v, r as G, q as H, d as K, u as N, h as P, j as R, o as h, l as _, a0 as T, m as p, n as U, K as W, y as x, G as A, x as J, P as k, B as Q, C as V, D as X, E as Y } from "./CashierCarousel-CukH4aEC.js";
2
- function $(n) {
3
- q(n, "svelte-7nm8l3", '*,*::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 modalSlideScaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}@keyframes modalSlideScaleOut{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}#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;animation:modalFadeIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}#Modal.closing{animation:modalFadeOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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 2px rgba(255, 255, 255, 0.3);animation:modalSlideScaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)}#Modal.closing .ModalContainer{animation:modalSlideScaleOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer;transition:transform 0.2s ease}.CloseButton:hover{transform:scale(1.05)}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
4
- }
5
- const ee = (n) => ({}), M = (n) => ({});
6
- function S(n) {
7
- let e, t, i, s, a, m, d, r = (
8
- /*modaltype*/
9
- n[3] !== "error" && L(n)
10
- );
11
- const y = (
12
- /*#slots*/
13
- n[11].content
14
- ), c = K(
15
- y,
16
- n,
17
- /*$$scope*/
18
- n[10],
19
- M
20
- );
21
- return {
22
- c() {
23
- e = p("div"), t = p("div"), i = p("div"), r && r.c(), s = U(), c && c.c(), h(i, "class", "ModalContainer"), h(i, "style", a = /*modaltype*/
24
- n[3] === "video" ? "height: 70%" : "height: auto"), h(t, "id", "Modal"), W(() => (
25
- /*div1_elementresize_handler*/
26
- n[13].call(t)
27
- ));
28
- },
29
- m(l, u) {
30
- v(l, e, u), _(e, t), _(t, i), r && r.m(i, null), _(i, s), c && c.m(i, null), n[12](t), m = T(
31
- t,
32
- /*div1_elementresize_handler*/
33
- n[13].bind(t)
34
- ), n[14](e), d = !0;
35
- },
36
- p(l, u) {
37
- /*modaltype*/
38
- l[3] !== "error" ? r ? r.p(l, u) : (r = L(l), r.c(), r.m(i, s)) : r && (r.d(1), r = null), c && c.p && (!d || u & /*$$scope*/
39
- 1024) && N(
40
- c,
41
- y,
42
- l,
43
- /*$$scope*/
44
- l[10],
45
- d ? R(
46
- y,
47
- /*$$scope*/
48
- l[10],
49
- u,
50
- ee
51
- ) : P(
52
- /*$$scope*/
53
- l[10]
54
- ),
55
- M
56
- ), (!d || u & /*modaltype*/
57
- 8 && a !== (a = /*modaltype*/
58
- l[3] === "video" ? "height: 70%" : "height: auto")) && h(i, "style", a);
59
- },
60
- i(l) {
61
- d || (b(c, l), d = !0);
62
- },
63
- o(l) {
64
- w(c, l), d = !1;
65
- },
66
- d(l) {
67
- l && C(e), r && r.d(), c && c.d(l), n[12](null), m(), n[14](null);
68
- }
69
- };
70
- }
71
- function L(n) {
72
- let e, t, i, s, a;
73
- return {
74
- c() {
75
- e = p("div"), t = k("svg"), i = k("path"), h(i, "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");
76
- },
77
- m(m, d) {
78
- v(m, e, d), _(e, t), _(t, i), s || (a = J(
79
- t,
80
- "click",
81
- /*closeModal*/
82
- n[6]
83
- ), s = !0);
84
- },
85
- p: A,
86
- d(m) {
87
- m && C(e), s = !1, a();
88
- }
89
- };
90
- }
91
- function te(n) {
92
- let e, t, i = (
93
- /*show*/
94
- n[2] === "true" && S(n)
95
- );
96
- return {
97
- c() {
98
- i && i.c(), e = G();
99
- },
100
- m(s, a) {
101
- i && i.m(s, a), v(s, e, a), t = !0;
102
- },
103
- p(s, [a]) {
104
- /*show*/
105
- s[2] === "true" ? i ? (i.p(s, a), a & /*show*/
106
- 4 && b(i, 1)) : (i = S(s), i.c(), b(i, 1), i.m(e.parentNode, e)) : i && (Z(), w(i, 1, 1, () => {
107
- i = null;
108
- }), D());
109
- },
110
- i(s) {
111
- t || (b(i), t = !0);
112
- },
113
- o(s) {
114
- w(i), t = !1;
115
- },
116
- d(s) {
117
- s && C(e), i && i.d(s);
118
- }
119
- };
120
- }
121
- function ie(n, e, t) {
122
- let { $$slots: i = {}, $$scope: s } = e, { mbsource: a } = e, { clientstyling: m } = e, { clientstylingurl: d } = e, { show: r } = e, { modaltype: y = "" } = e, { width: c } = e, { height: l } = e, u, f;
123
- const z = () => {
124
- u && (u.classList.add("closing"), setTimeout(
125
- () => {
126
- window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
127
- },
128
- 300
129
- ));
130
- };
131
- H(() => () => {
132
- });
133
- function I(o) {
134
- x[o ? "unshift" : "push"](() => {
135
- u = o, t(5, u);
136
- });
137
- }
138
- function F() {
139
- c = this.clientWidth, l = this.clientHeight, t(0, c), t(1, l);
140
- }
141
- function B(o) {
142
- x[o ? "unshift" : "push"](() => {
143
- f = o, t(4, f);
144
- });
145
- }
146
- return n.$$set = (o) => {
147
- "mbsource" in o && t(7, a = o.mbsource), "clientstyling" in o && t(8, m = o.clientstyling), "clientstylingurl" in o && t(9, d = o.clientstylingurl), "show" in o && t(2, r = o.show), "modaltype" in o && t(3, y = o.modaltype), "width" in o && t(0, c = o.width), "height" in o && t(1, l = o.height), "$$scope" in o && t(10, s = o.$$scope);
148
- }, n.$$.update = () => {
149
- n.$$.dirty & /*clientstyling, customStylingContainer*/
150
- 272 && m && f && Q(f, m), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
151
- 528 && d && f && V(f, d), n.$$.dirty & /*mbsource, customStylingContainer*/
152
- 144 && a && f && X(f, `${a}.Style`);
153
- }, [
154
- c,
155
- l,
156
- r,
157
- y,
158
- f,
159
- u,
160
- z,
161
- a,
162
- m,
163
- d,
164
- s,
165
- i,
166
- I,
167
- F,
168
- B
169
- ];
170
- }
171
- class ne extends E {
172
- constructor(e) {
173
- super(), O(
174
- this,
175
- e,
176
- ie,
177
- te,
178
- j,
179
- {
180
- mbsource: 7,
181
- clientstyling: 8,
182
- clientstylingurl: 9,
183
- show: 2,
184
- modaltype: 3,
185
- width: 0,
186
- height: 1
187
- },
188
- $
189
- );
190
- }
191
- get mbsource() {
192
- return this.$$.ctx[7];
193
- }
194
- set mbsource(e) {
195
- this.$$set({ mbsource: e }), g();
196
- }
197
- get clientstyling() {
198
- return this.$$.ctx[8];
199
- }
200
- set clientstyling(e) {
201
- this.$$set({ clientstyling: e }), g();
202
- }
203
- get clientstylingurl() {
204
- return this.$$.ctx[9];
205
- }
206
- set clientstylingurl(e) {
207
- this.$$set({ clientstylingurl: e }), g();
208
- }
209
- get show() {
210
- return this.$$.ctx[2];
211
- }
212
- set show(e) {
213
- this.$$set({ show: e }), g();
214
- }
215
- get modaltype() {
216
- return this.$$.ctx[3];
217
- }
218
- set modaltype(e) {
219
- this.$$set({ modaltype: e }), g();
220
- }
221
- get width() {
222
- return this.$$.ctx[0];
223
- }
224
- set width(e) {
225
- this.$$set({ width: e }), g();
226
- }
227
- get height() {
228
- return this.$$.ctx[1];
229
- }
230
- set height(e) {
231
- this.$$set({ height: e }), g();
232
- }
233
- }
234
- Y(ne, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, width: {}, height: {} }, ["content"], [], !0);
235
- export {
236
- ne as default
237
- };