@everymatrix/cashier-method-details 1.77.19 → 1.77.20

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 (33) hide show
  1. package/components/{CashierError-DRwaT1pY.js → CashierError-BcKJZbOX.js} +1037 -1007
  2. package/components/CashierError-CAqyJypB.cjs +21 -0
  3. package/components/{CashierError-CQcPfdgL.js → CashierError-CK9BtEQw.js} +933 -903
  4. package/components/{CashierMethodDetails-D-Kx493t.cjs → CashierMethodDetails-BaIgrxVU.cjs} +6 -19
  5. package/components/{CashierMethodDetails-BOdr7Ugc.js → CashierMethodDetails-BdRlogwg.js} +654 -723
  6. package/components/{CashierMethodDetails-DVpe60nK.js → CashierMethodDetails-DCN-FOmE.js} +373 -442
  7. package/components/{CashierModal-Be_PLY94.js → CashierModal-CCvgicOp.js} +46 -46
  8. package/components/{CashierModal-D2M2FMKW.js → CashierModal-D7fpWPDi.js} +46 -46
  9. package/components/{CashierModal-BnjSgd3W.cjs → CashierModal-DHVzDN_5.cjs} +1 -1
  10. package/components/{CashierNotifications-CTKkGkaV.js → CashierNotifications-AKcol5JG.js} +12 -12
  11. package/components/{CashierNotifications-CdIQ2vRy.cjs → CashierNotifications-BU4PLx1t.cjs} +1 -1
  12. package/components/{CashierNotifications--xosH5as.js → CashierNotifications-BWb0-asH.js} +13 -13
  13. package/components/{CashierReceiptPage-Bihgo9ap.js → CashierReceiptPage-BZPwJgbW.js} +78 -78
  14. package/components/{CashierReceiptPage-D_Q7MALa.cjs → CashierReceiptPage-DTGhNpwM.cjs} +1 -1
  15. package/components/{CashierReceiptPage-DuauNnLl.js → CashierReceiptPage-d4m2Jvc_.js} +70 -70
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
  21. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
  22. package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
  23. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
  24. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
  25. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  29. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
  30. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-DbQ7SENq.js} +2 -2
  31. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-L-CYescb.js} +2 -2
  32. package/components/CashierError-DzXuI7wS.cjs +0 -8
  33. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { P as R, S as U, b as W, s as Z, f as _, e as H, j as v, Q as p, R as w, T as J, U as O, k as x, v as P, u as Q, V as T, W as k, h as L, X as V, Y as X, Z as Y, r as u, l as b, _ as A, p as C, q as D, B as M, n as G, m as K, J as S, M as $, N as tt, O as et, d as it } from "./CashierError-CQcPfdgL.js";
2
- function z(i, { delay: t = 0, duration: e = 400, easing: n = R } = {}) {
1
+ import { T as U, S as W, f as Z, s as H, h as _, k as N, m as v, U as p, V as w, W as P, X as Q, o as x, z as T, y as V, Y as X, Z as k, l as L, a0 as Y, a1 as A, a2 as D, v as u, p as b, a3 as G, t as C, u as J, E as M, n as K, q as O, M as z, P as $, Q as tt, R as et, j as it } from "./CashierError-CK9BtEQw.js";
2
+ function S(i, { delay: t = 0, duration: e = 400, easing: n = U } = {}) {
3
3
  const s = +getComputedStyle(i).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,103 +9,103 @@ function z(i, { delay: t = 0, duration: e = 400, easing: n = R } = {}) {
9
9
  };
10
10
  }
11
11
  function nt(i) {
12
- H(i, "svelte-10bl7y2", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.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)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
12
+ N(i, "svelte-10bl7y2", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.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)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
13
13
  }
14
- const st = (i) => ({}), B = (i) => ({});
14
+ const st = (i) => ({}), E = (i) => ({});
15
15
  function j(i) {
16
- let t, e, n, s, o, h, c, g, a = (
16
+ let t, e, n, s, o, h, c, g, r = (
17
17
  /*modaltype*/
18
- i[3] !== "error" && E(i)
18
+ i[3] !== "error" && B(i)
19
19
  );
20
20
  const y = (
21
21
  /*#slots*/
22
22
  i[12].content
23
- ), d = T(
23
+ ), d = X(
24
24
  y,
25
25
  i,
26
26
  /*$$scope*/
27
27
  i[11],
28
- B
28
+ E
29
29
  );
30
30
  return {
31
31
  c() {
32
- t = C("div"), e = C("div"), n = C("div"), a && a.c(), s = D(), d && d.c(), u(n, "class", "ModalContainer"), u(n, "style", o = /*modaltype*/
32
+ t = C("div"), e = C("div"), n = C("div"), r && r.c(), s = J(), d && d.c(), u(n, "class", "ModalContainer"), u(n, "style", o = /*modaltype*/
33
33
  i[3] === "video" ? "height: 70%" : "height: auto"), u(e, "id", "Modal"), L(() => (
34
34
  /*div1_elementresize_handler*/
35
35
  i[14].call(e)
36
36
  ));
37
37
  },
38
- m(r, f) {
39
- x(r, t, f), b(t, e), b(e, n), a && a.m(n, null), b(n, s), d && d.m(n, null), i[13](e), h = A(
38
+ m(a, f) {
39
+ x(a, t, f), b(t, e), b(e, n), r && r.m(n, null), b(n, s), d && d.m(n, null), i[13](e), h = G(
40
40
  e,
41
41
  /*div1_elementresize_handler*/
42
42
  i[14].bind(e)
43
43
  ), i[15](t), g = !0;
44
44
  },
45
- p(r, f) {
46
- i = r, /*modaltype*/
47
- i[3] !== "error" ? a ? a.p(i, f) : (a = E(i), a.c(), a.m(n, s)) : a && (a.d(1), a = null), d && d.p && (!g || f & /*$$scope*/
48
- 2048) && V(
45
+ p(a, f) {
46
+ i = a, /*modaltype*/
47
+ i[3] !== "error" ? r ? r.p(i, f) : (r = B(i), r.c(), r.m(n, s)) : r && (r.d(1), r = null), d && d.p && (!g || f & /*$$scope*/
48
+ 2048) && Y(
49
49
  d,
50
50
  y,
51
51
  i,
52
52
  /*$$scope*/
53
53
  i[11],
54
- g ? Y(
54
+ g ? D(
55
55
  y,
56
56
  /*$$scope*/
57
57
  i[11],
58
58
  f,
59
59
  st
60
- ) : X(
60
+ ) : A(
61
61
  /*$$scope*/
62
62
  i[11]
63
63
  ),
64
- B
64
+ E
65
65
  ), (!g || f & /*modaltype*/
66
66
  8 && o !== (o = /*modaltype*/
67
67
  i[3] === "video" ? "height: 70%" : "height: auto")) && u(n, "style", o);
68
68
  },
69
- i(r) {
70
- g || (w(d, r), r && L(() => {
69
+ i(a) {
70
+ g || (w(d, a), a && L(() => {
71
71
  g && (c || (c = k(
72
72
  e,
73
- z,
73
+ S,
74
74
  /*duration*/
75
75
  i[4],
76
76
  !0
77
77
  )), c.run(1));
78
78
  }), g = !0);
79
79
  },
80
- o(r) {
81
- p(d, r), r && (c || (c = k(
80
+ o(a) {
81
+ p(d, a), a && (c || (c = k(
82
82
  e,
83
- z,
83
+ S,
84
84
  /*duration*/
85
85
  i[4],
86
86
  !1
87
87
  )), c.run(0)), g = !1;
88
88
  },
89
- d(r) {
90
- r && v(t), a && a.d(), d && d.d(r), i[13](null), h(), r && c && c.end(), i[15](null);
89
+ d(a) {
90
+ a && v(t), r && r.d(), d && d.d(a), i[13](null), h(), a && c && c.end(), i[15](null);
91
91
  }
92
92
  };
93
93
  }
94
- function E(i) {
94
+ function B(i) {
95
95
  let t, e, n, s, o;
96
96
  return {
97
97
  c() {
98
- t = C("div"), e = S("svg"), n = S("path"), u(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"), u(n, "fill", "#111111"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "13"), u(e, "height", "13"), u(e, "viewBox", "0 0 13 13"), u(e, "fill", "none"), u(e, "class", "CloseButton"), u(t, "class", "ModalCloseIcon");
98
+ t = C("div"), e = z("svg"), n = z("path"), u(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"), u(n, "fill", "#111111"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "13"), u(e, "height", "13"), u(e, "viewBox", "0 0 13 13"), u(e, "fill", "none"), u(e, "class", "CloseButton"), u(t, "class", "ModalCloseIcon");
99
99
  },
100
100
  m(h, c) {
101
- x(h, t, c), b(t, e), b(e, n), s || (o = K(
101
+ x(h, t, c), b(t, e), b(e, n), s || (o = O(
102
102
  e,
103
103
  "click",
104
104
  /*closeModal*/
105
105
  i[7]
106
106
  ), s = !0);
107
107
  },
108
- p: G,
108
+ p: K,
109
109
  d(h) {
110
110
  h && v(t), s = !1, o();
111
111
  }
@@ -118,7 +118,7 @@ function lt(i) {
118
118
  );
119
119
  return {
120
120
  c() {
121
- n && n.c(), t = P();
121
+ n && n.c(), t = T();
122
122
  },
123
123
  m(s, o) {
124
124
  n && n.m(s, o), x(s, t, o), e = !0;
@@ -126,9 +126,9 @@ function lt(i) {
126
126
  p(s, [o]) {
127
127
  /*show*/
128
128
  s[2] === "true" ? n ? (n.p(s, o), o & /*show*/
129
- 4 && w(n, 1)) : (n = j(s), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (J(), p(n, 1, 1, () => {
129
+ 4 && w(n, 1)) : (n = j(s), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (P(), p(n, 1, 1, () => {
130
130
  n = null;
131
- }), O());
131
+ }), Q());
132
132
  },
133
133
  i(s) {
134
134
  e || (w(n), e = !0);
@@ -142,11 +142,11 @@ function lt(i) {
142
142
  };
143
143
  }
144
144
  function ot(i, t, e) {
145
- let { $$slots: n = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: h } = t, { clientstylingurl: c } = t, { show: g } = t, { modaltype: a = "" } = t, { duration: y = 200 } = t, { width: d } = t, { height: r } = t, f, m;
145
+ let { $$slots: n = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: h } = t, { clientstylingurl: c } = t, { show: g } = t, { modaltype: r = "" } = t, { duration: y = 200 } = t, { width: d } = t, { height: a } = t, f, m;
146
146
  const F = () => {
147
147
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
148
148
  };
149
- Q(() => () => {
149
+ V(() => () => {
150
150
  });
151
151
  function q(l) {
152
152
  M[l ? "unshift" : "push"](() => {
@@ -154,15 +154,15 @@ function ot(i, t, e) {
154
154
  });
155
155
  }
156
156
  function I() {
157
- d = this.clientWidth, r = this.clientHeight, e(0, d), e(1, r);
157
+ d = this.clientWidth, a = this.clientHeight, e(0, d), e(1, a);
158
158
  }
159
- function N(l) {
159
+ function R(l) {
160
160
  M[l ? "unshift" : "push"](() => {
161
161
  m = l, e(5, m);
162
162
  });
163
163
  }
164
164
  return i.$$set = (l) => {
165
- "mbsource" in l && e(8, o = l.mbsource), "clientstyling" in l && e(9, h = l.clientstyling), "clientstylingurl" in l && e(10, c = l.clientstylingurl), "show" in l && e(2, g = l.show), "modaltype" in l && e(3, a = l.modaltype), "duration" in l && e(4, y = l.duration), "width" in l && e(0, d = l.width), "height" in l && e(1, r = l.height), "$$scope" in l && e(11, s = l.$$scope);
165
+ "mbsource" in l && e(8, o = l.mbsource), "clientstyling" in l && e(9, h = l.clientstyling), "clientstylingurl" in l && e(10, c = l.clientstylingurl), "show" in l && e(2, g = l.show), "modaltype" in l && e(3, r = l.modaltype), "duration" in l && e(4, y = l.duration), "width" in l && e(0, d = l.width), "height" in l && e(1, a = l.height), "$$scope" in l && e(11, s = l.$$scope);
166
166
  }, i.$$.update = () => {
167
167
  i.$$.dirty & /*clientstyling, customStylingContainer*/
168
168
  544 && h && m && $(m, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
@@ -170,9 +170,9 @@ function ot(i, t, e) {
170
170
  288 && o && m && et(m, `${o}.Style`);
171
171
  }, [
172
172
  d,
173
- r,
174
- g,
175
173
  a,
174
+ g,
175
+ r,
176
176
  y,
177
177
  m,
178
178
  f,
@@ -184,17 +184,17 @@ function ot(i, t, e) {
184
184
  n,
185
185
  q,
186
186
  I,
187
- N
187
+ R
188
188
  ];
189
189
  }
190
- class rt extends U {
190
+ class at extends W {
191
191
  constructor(t) {
192
- super(), W(
192
+ super(), Z(
193
193
  this,
194
194
  t,
195
195
  ot,
196
196
  lt,
197
- Z,
197
+ H,
198
198
  {
199
199
  mbsource: 8,
200
200
  clientstyling: 9,
@@ -257,7 +257,7 @@ class rt extends U {
257
257
  this.$$set({ height: t }), _();
258
258
  }
259
259
  }
260
- it(rt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
260
+ it(at, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
261
261
  export {
262
- rt as default
262
+ at as default
263
263
  };
@@ -1,5 +1,5 @@
1
- import { P as R, S as U, d as W, s as Z, f as _, e as H, j as v, Q as p, R as w, T as J, U as O, k as x, v as P, u as Q, V as T, W as k, h as L, X as V, Y as X, Z as Y, r as u, l as b, _ as A, p as C, q as D, B as M, n as G, m as K, J as S, M as $, N as tt, O as et, b as it } from "./CashierError-DRwaT1pY.js";
2
- function z(i, { delay: t = 0, duration: e = 400, easing: n = R } = {}) {
1
+ import { T as U, S as W, h as Z, s as H, j as _, k as N, m as v, U as p, V as w, W as P, X as Q, o as x, z as T, y as V, Y as X, Z as k, l as L, a0 as Y, a1 as A, a2 as D, v as u, p as b, a3 as G, t as C, u as J, E as M, n as K, q as O, M as z, P as $, Q as tt, R as et, f as it } from "./CashierError-BcKJZbOX.js";
2
+ function S(i, { delay: t = 0, duration: e = 400, easing: n = U } = {}) {
3
3
  const s = +getComputedStyle(i).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,103 +9,103 @@ function z(i, { delay: t = 0, duration: e = 400, easing: n = R } = {}) {
9
9
  };
10
10
  }
11
11
  function nt(i) {
12
- H(i, "svelte-10bl7y2", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.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)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
12
+ N(i, "svelte-10bl7y2", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.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)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}');
13
13
  }
14
- const st = (i) => ({}), B = (i) => ({});
14
+ const st = (i) => ({}), E = (i) => ({});
15
15
  function j(i) {
16
- let t, e, n, s, o, h, c, g, a = (
16
+ let t, e, n, s, o, h, c, g, r = (
17
17
  /*modaltype*/
18
- i[3] !== "error" && E(i)
18
+ i[3] !== "error" && B(i)
19
19
  );
20
20
  const y = (
21
21
  /*#slots*/
22
22
  i[12].content
23
- ), d = T(
23
+ ), d = X(
24
24
  y,
25
25
  i,
26
26
  /*$$scope*/
27
27
  i[11],
28
- B
28
+ E
29
29
  );
30
30
  return {
31
31
  c() {
32
- t = C("div"), e = C("div"), n = C("div"), a && a.c(), s = D(), d && d.c(), u(n, "class", "ModalContainer"), u(n, "style", o = /*modaltype*/
32
+ t = C("div"), e = C("div"), n = C("div"), r && r.c(), s = J(), d && d.c(), u(n, "class", "ModalContainer"), u(n, "style", o = /*modaltype*/
33
33
  i[3] === "video" ? "height: 70%" : "height: auto"), u(e, "id", "Modal"), L(() => (
34
34
  /*div1_elementresize_handler*/
35
35
  i[14].call(e)
36
36
  ));
37
37
  },
38
- m(r, f) {
39
- x(r, t, f), b(t, e), b(e, n), a && a.m(n, null), b(n, s), d && d.m(n, null), i[13](e), h = A(
38
+ m(a, f) {
39
+ x(a, t, f), b(t, e), b(e, n), r && r.m(n, null), b(n, s), d && d.m(n, null), i[13](e), h = G(
40
40
  e,
41
41
  /*div1_elementresize_handler*/
42
42
  i[14].bind(e)
43
43
  ), i[15](t), g = !0;
44
44
  },
45
- p(r, f) {
46
- i = r, /*modaltype*/
47
- i[3] !== "error" ? a ? a.p(i, f) : (a = E(i), a.c(), a.m(n, s)) : a && (a.d(1), a = null), d && d.p && (!g || f & /*$$scope*/
48
- 2048) && V(
45
+ p(a, f) {
46
+ i = a, /*modaltype*/
47
+ i[3] !== "error" ? r ? r.p(i, f) : (r = B(i), r.c(), r.m(n, s)) : r && (r.d(1), r = null), d && d.p && (!g || f & /*$$scope*/
48
+ 2048) && Y(
49
49
  d,
50
50
  y,
51
51
  i,
52
52
  /*$$scope*/
53
53
  i[11],
54
- g ? Y(
54
+ g ? D(
55
55
  y,
56
56
  /*$$scope*/
57
57
  i[11],
58
58
  f,
59
59
  st
60
- ) : X(
60
+ ) : A(
61
61
  /*$$scope*/
62
62
  i[11]
63
63
  ),
64
- B
64
+ E
65
65
  ), (!g || f & /*modaltype*/
66
66
  8 && o !== (o = /*modaltype*/
67
67
  i[3] === "video" ? "height: 70%" : "height: auto")) && u(n, "style", o);
68
68
  },
69
- i(r) {
70
- g || (w(d, r), r && L(() => {
69
+ i(a) {
70
+ g || (w(d, a), a && L(() => {
71
71
  g && (c || (c = k(
72
72
  e,
73
- z,
73
+ S,
74
74
  /*duration*/
75
75
  i[4],
76
76
  !0
77
77
  )), c.run(1));
78
78
  }), g = !0);
79
79
  },
80
- o(r) {
81
- p(d, r), r && (c || (c = k(
80
+ o(a) {
81
+ p(d, a), a && (c || (c = k(
82
82
  e,
83
- z,
83
+ S,
84
84
  /*duration*/
85
85
  i[4],
86
86
  !1
87
87
  )), c.run(0)), g = !1;
88
88
  },
89
- d(r) {
90
- r && v(t), a && a.d(), d && d.d(r), i[13](null), h(), r && c && c.end(), i[15](null);
89
+ d(a) {
90
+ a && v(t), r && r.d(), d && d.d(a), i[13](null), h(), a && c && c.end(), i[15](null);
91
91
  }
92
92
  };
93
93
  }
94
- function E(i) {
94
+ function B(i) {
95
95
  let t, e, n, s, o;
96
96
  return {
97
97
  c() {
98
- t = C("div"), e = S("svg"), n = S("path"), u(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"), u(n, "fill", "#111111"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "13"), u(e, "height", "13"), u(e, "viewBox", "0 0 13 13"), u(e, "fill", "none"), u(e, "class", "CloseButton"), u(t, "class", "ModalCloseIcon");
98
+ t = C("div"), e = z("svg"), n = z("path"), u(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"), u(n, "fill", "#111111"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "13"), u(e, "height", "13"), u(e, "viewBox", "0 0 13 13"), u(e, "fill", "none"), u(e, "class", "CloseButton"), u(t, "class", "ModalCloseIcon");
99
99
  },
100
100
  m(h, c) {
101
- x(h, t, c), b(t, e), b(e, n), s || (o = K(
101
+ x(h, t, c), b(t, e), b(e, n), s || (o = O(
102
102
  e,
103
103
  "click",
104
104
  /*closeModal*/
105
105
  i[7]
106
106
  ), s = !0);
107
107
  },
108
- p: G,
108
+ p: K,
109
109
  d(h) {
110
110
  h && v(t), s = !1, o();
111
111
  }
@@ -118,7 +118,7 @@ function lt(i) {
118
118
  );
119
119
  return {
120
120
  c() {
121
- n && n.c(), t = P();
121
+ n && n.c(), t = T();
122
122
  },
123
123
  m(s, o) {
124
124
  n && n.m(s, o), x(s, t, o), e = !0;
@@ -126,9 +126,9 @@ function lt(i) {
126
126
  p(s, [o]) {
127
127
  /*show*/
128
128
  s[2] === "true" ? n ? (n.p(s, o), o & /*show*/
129
- 4 && w(n, 1)) : (n = j(s), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (J(), p(n, 1, 1, () => {
129
+ 4 && w(n, 1)) : (n = j(s), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (P(), p(n, 1, 1, () => {
130
130
  n = null;
131
- }), O());
131
+ }), Q());
132
132
  },
133
133
  i(s) {
134
134
  e || (w(n), e = !0);
@@ -142,11 +142,11 @@ function lt(i) {
142
142
  };
143
143
  }
144
144
  function ot(i, t, e) {
145
- let { $$slots: n = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: h } = t, { clientstylingurl: c } = t, { show: g } = t, { modaltype: a = "" } = t, { duration: y = 200 } = t, { width: d } = t, { height: r } = t, f, m;
145
+ let { $$slots: n = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: h } = t, { clientstylingurl: c } = t, { show: g } = t, { modaltype: r = "" } = t, { duration: y = 200 } = t, { width: d } = t, { height: a } = t, f, m;
146
146
  const F = () => {
147
147
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
148
148
  };
149
- Q(() => () => {
149
+ V(() => () => {
150
150
  });
151
151
  function q(l) {
152
152
  M[l ? "unshift" : "push"](() => {
@@ -154,15 +154,15 @@ function ot(i, t, e) {
154
154
  });
155
155
  }
156
156
  function I() {
157
- d = this.clientWidth, r = this.clientHeight, e(0, d), e(1, r);
157
+ d = this.clientWidth, a = this.clientHeight, e(0, d), e(1, a);
158
158
  }
159
- function N(l) {
159
+ function R(l) {
160
160
  M[l ? "unshift" : "push"](() => {
161
161
  m = l, e(5, m);
162
162
  });
163
163
  }
164
164
  return i.$$set = (l) => {
165
- "mbsource" in l && e(8, o = l.mbsource), "clientstyling" in l && e(9, h = l.clientstyling), "clientstylingurl" in l && e(10, c = l.clientstylingurl), "show" in l && e(2, g = l.show), "modaltype" in l && e(3, a = l.modaltype), "duration" in l && e(4, y = l.duration), "width" in l && e(0, d = l.width), "height" in l && e(1, r = l.height), "$$scope" in l && e(11, s = l.$$scope);
165
+ "mbsource" in l && e(8, o = l.mbsource), "clientstyling" in l && e(9, h = l.clientstyling), "clientstylingurl" in l && e(10, c = l.clientstylingurl), "show" in l && e(2, g = l.show), "modaltype" in l && e(3, r = l.modaltype), "duration" in l && e(4, y = l.duration), "width" in l && e(0, d = l.width), "height" in l && e(1, a = l.height), "$$scope" in l && e(11, s = l.$$scope);
166
166
  }, i.$$.update = () => {
167
167
  i.$$.dirty & /*clientstyling, customStylingContainer*/
168
168
  544 && h && m && $(m, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
@@ -170,9 +170,9 @@ function ot(i, t, e) {
170
170
  288 && o && m && et(m, `${o}.Style`);
171
171
  }, [
172
172
  d,
173
- r,
174
- g,
175
173
  a,
174
+ g,
175
+ r,
176
176
  y,
177
177
  m,
178
178
  f,
@@ -184,17 +184,17 @@ function ot(i, t, e) {
184
184
  n,
185
185
  q,
186
186
  I,
187
- N
187
+ R
188
188
  ];
189
189
  }
190
- class rt extends U {
190
+ class at extends W {
191
191
  constructor(t) {
192
- super(), W(
192
+ super(), Z(
193
193
  this,
194
194
  t,
195
195
  ot,
196
196
  lt,
197
- Z,
197
+ H,
198
198
  {
199
199
  mbsource: 8,
200
200
  clientstyling: 9,
@@ -257,7 +257,7 @@ class rt extends U {
257
257
  this.$$set({ height: t }), _();
258
258
  }
259
259
  }
260
- it(rt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
260
+ it(at, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
261
261
  export {
262
- rt as default
262
+ at as default
263
263
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-DzXuI7wS.cjs");function b(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:o=>`opacity: ${o*r}`}}function M(n){t.append_styles(n,"svelte-10bl7y2",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.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)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}')}const S=n=>({}),y=n=>({});function p(n){let e,i,l,r,o,h,u,f,d=n[3]!=="error"&&w(n);const _=n[12].content,c=t.create_slot(_,n,n[11],y);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),d&&d.c(),r=t.space(),c&&c.c(),t.attr(l,"class","ModalContainer"),t.attr(l,"style",o=n[3]==="video"?"height: 70%":"height: auto"),t.attr(i,"id","Modal"),t.add_render_callback(()=>n[14].call(i))},m(a,g){t.insert(a,e,g),t.append(e,i),t.append(i,l),d&&d.m(l,null),t.append(l,r),c&&c.m(l,null),n[13](i),h=t.add_iframe_resize_listener(i,n[14].bind(i)),n[15](e),f=!0},p(a,g){n=a,n[3]!=="error"?d?d.p(n,g):(d=w(n),d.c(),d.m(l,r)):d&&(d.d(1),d=null),c&&c.p&&(!f||g&2048)&&t.update_slot_base(c,_,n,n[11],f?t.get_slot_changes(_,n[11],g,S):t.get_all_dirty_from_scope(n[11]),y),(!f||g&8&&o!==(o=n[3]==="video"?"height: 70%":"height: auto"))&&t.attr(l,"style",o)},i(a){f||(t.transition_in(c,a),a&&t.add_render_callback(()=>{f&&(u||(u=t.create_bidirectional_transition(i,b,n[4],!0)),u.run(1))}),f=!0)},o(a){t.transition_out(c,a),a&&(u||(u=t.create_bidirectional_transition(i,b,n[4],!1)),u.run(0)),f=!1},d(a){a&&t.detach(e),d&&d.d(),c&&c.d(a),n[13](null),h(),a&&u&&u.end(),n[15](null)}}}function w(n){let e,i,l,r,o;return{c(){e=t.element("div"),i=t.svg_element("svg"),l=t.svg_element("path"),t.attr(l,"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(l,"fill","#111111"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"width","13"),t.attr(i,"height","13"),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,l),r||(o=t.listen(i,"click",n[7]),r=!0)},p:t.noop,d(h){h&&t.detach(e),r=!1,o()}}}function z(n){let e,i,l=n[2]==="true"&&p(n);return{c(){l&&l.c(),e=t.empty()},m(r,o){l&&l.m(r,o),t.insert(r,e,o),i=!0},p(r,[o]){r[2]==="true"?l?(l.p(r,o),o&4&&t.transition_in(l,1)):(l=p(r),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(r){i||(t.transition_in(l),i=!0)},o(r){t.transition_out(l),i=!1},d(r){r&&t.detach(e),l&&l.d(r)}}}function E(n,e,i){let{$$slots:l={},$$scope:r}=e,{mbsource:o}=e,{clientstyling:h}=e,{clientstylingurl:u}=e,{show:f}=e,{modaltype:d=""}=e,{duration:_=200}=e,{width:c}=e,{height:a}=e,g,m;const v=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};t.onMount(()=>()=>{});function x(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,i(6,g)})}function k(){c=this.clientWidth,a=this.clientHeight,i(0,c),i(1,a)}function L(s){t.binding_callbacks[s?"unshift":"push"](()=>{m=s,i(5,m)})}return n.$$set=s=>{"mbsource"in s&&i(8,o=s.mbsource),"clientstyling"in s&&i(9,h=s.clientstyling),"clientstylingurl"in s&&i(10,u=s.clientstylingurl),"show"in s&&i(2,f=s.show),"modaltype"in s&&i(3,d=s.modaltype),"duration"in s&&i(4,_=s.duration),"width"in s&&i(0,c=s.width),"height"in s&&i(1,a=s.height),"$$scope"in s&&i(11,r=s.$$scope)},n.$$.update=()=>{n.$$.dirty&544&&h&&m&&t.setClientStyling(m,h),n.$$.dirty&1056&&u&&m&&t.setClientStylingURL(m,u),n.$$.dirty&288&&o&&m&&t.setStreamStyling(m,`${o}.Style`)},[c,a,f,d,_,m,g,v,o,h,u,r,l,x,k,L]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,E,z,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},M)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}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 duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration: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(C,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-CAqyJypB.cjs");function b(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:o=>`opacity: ${o*r}`}}function M(n){t.append_styles(n,"svelte-10bl7y2",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.4));display:flex;justify-content:center;align-items:center;z-index:10}.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)}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-black, #12191F) 65%)}.ModalCloseIcon{background-color:rgba(255, 255, 255, 0.1);padding:5px;border-radius:10px;position:absolute;right:0;top:0;margin:20px;z-index:20}.CloseButton{stroke:white}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}')}const S=n=>({}),y=n=>({});function p(n){let e,i,l,r,o,h,u,f,d=n[3]!=="error"&&w(n);const _=n[12].content,c=t.create_slot(_,n,n[11],y);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),d&&d.c(),r=t.space(),c&&c.c(),t.attr(l,"class","ModalContainer"),t.attr(l,"style",o=n[3]==="video"?"height: 70%":"height: auto"),t.attr(i,"id","Modal"),t.add_render_callback(()=>n[14].call(i))},m(a,g){t.insert(a,e,g),t.append(e,i),t.append(i,l),d&&d.m(l,null),t.append(l,r),c&&c.m(l,null),n[13](i),h=t.add_iframe_resize_listener(i,n[14].bind(i)),n[15](e),f=!0},p(a,g){n=a,n[3]!=="error"?d?d.p(n,g):(d=w(n),d.c(),d.m(l,r)):d&&(d.d(1),d=null),c&&c.p&&(!f||g&2048)&&t.update_slot_base(c,_,n,n[11],f?t.get_slot_changes(_,n[11],g,S):t.get_all_dirty_from_scope(n[11]),y),(!f||g&8&&o!==(o=n[3]==="video"?"height: 70%":"height: auto"))&&t.attr(l,"style",o)},i(a){f||(t.transition_in(c,a),a&&t.add_render_callback(()=>{f&&(u||(u=t.create_bidirectional_transition(i,b,n[4],!0)),u.run(1))}),f=!0)},o(a){t.transition_out(c,a),a&&(u||(u=t.create_bidirectional_transition(i,b,n[4],!1)),u.run(0)),f=!1},d(a){a&&t.detach(e),d&&d.d(),c&&c.d(a),n[13](null),h(),a&&u&&u.end(),n[15](null)}}}function w(n){let e,i,l,r,o;return{c(){e=t.element("div"),i=t.svg_element("svg"),l=t.svg_element("path"),t.attr(l,"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(l,"fill","#111111"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"width","13"),t.attr(i,"height","13"),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,l),r||(o=t.listen(i,"click",n[7]),r=!0)},p:t.noop,d(h){h&&t.detach(e),r=!1,o()}}}function z(n){let e,i,l=n[2]==="true"&&p(n);return{c(){l&&l.c(),e=t.empty()},m(r,o){l&&l.m(r,o),t.insert(r,e,o),i=!0},p(r,[o]){r[2]==="true"?l?(l.p(r,o),o&4&&t.transition_in(l,1)):(l=p(r),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(r){i||(t.transition_in(l),i=!0)},o(r){t.transition_out(l),i=!1},d(r){r&&t.detach(e),l&&l.d(r)}}}function E(n,e,i){let{$$slots:l={},$$scope:r}=e,{mbsource:o}=e,{clientstyling:h}=e,{clientstylingurl:u}=e,{show:f}=e,{modaltype:d=""}=e,{duration:_=200}=e,{width:c}=e,{height:a}=e,g,m;const v=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};t.onMount(()=>()=>{});function x(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,i(6,g)})}function k(){c=this.clientWidth,a=this.clientHeight,i(0,c),i(1,a)}function L(s){t.binding_callbacks[s?"unshift":"push"](()=>{m=s,i(5,m)})}return n.$$set=s=>{"mbsource"in s&&i(8,o=s.mbsource),"clientstyling"in s&&i(9,h=s.clientstyling),"clientstylingurl"in s&&i(10,u=s.clientstylingurl),"show"in s&&i(2,f=s.show),"modaltype"in s&&i(3,d=s.modaltype),"duration"in s&&i(4,_=s.duration),"width"in s&&i(0,c=s.width),"height"in s&&i(1,a=s.height),"$$scope"in s&&i(11,r=s.$$scope)},n.$$.update=()=>{n.$$.dirty&544&&h&&m&&t.setClientStyling(m,h),n.$$.dirty&1056&&u&&m&&t.setClientStylingURL(m,u),n.$$.dirty&288&&o&&m&&t.setStreamStyling(m,`${o}.Style`)},[c,a,f,d,_,m,g,v,o,h,u,r,l,x,k,L]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,E,z,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},M)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}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 duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration: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(C,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=C;
@@ -1,8 +1,8 @@
1
- import { S as C, d as v, f as d, s as _, b as k, e as N, n as b, j as z, x as p, k as S, l as f, m as E, p as h, z as x, q as L, r as M, B as T } from "./CashierError-DRwaT1pY.js";
1
+ import { S as C, h as v, j as d, s as _, f as k, k as N, n as p, m as z, A as b, o as E, p as f, q as S, t as h, C as x, u as L, v as M, E as T } from "./CashierError-BcKJZbOX.js";
2
2
  function q(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function B(n) {
5
+ function H(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
@@ -15,7 +15,7 @@ function B(n) {
15
15
  ), M(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
18
+ E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -24,25 +24,25 @@ function B(n) {
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
27
- 1 && p(
27
+ 1 && b(
28
28
  r,
29
29
  /*text*/
30
30
  o[0]
31
31
  ), c & /*button*/
32
- 2 && p(
32
+ 2 && b(
33
33
  a,
34
34
  /*button*/
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: b,
39
- o: b,
38
+ i: p,
39
+ o: p,
40
40
  d(o) {
41
41
  o && z(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function H(n, t, s) {
45
+ function R(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -81,13 +81,13 @@ function H(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class R extends C {
84
+ class U extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
+ R,
89
90
  H,
90
- B,
91
91
  _,
92
92
  {
93
93
  text: 0,
@@ -123,7 +123,7 @@ class R extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- k(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ k(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- R as default
128
+ U as default
129
129
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-DzXuI7wS.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-CAqyJypB.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;