@everymatrix/cashier-verifications 1.86.27 → 1.86.28

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.
@@ -1,35 +1,35 @@
1
- var St = Object.defineProperty, Tt = Object.defineProperties;
2
- var Ot = Object.getOwnPropertyDescriptors;
3
- var it = Object.getOwnPropertySymbols;
4
- var jt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
- var K = (e, t, n) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, st = (e, t) => {
1
+ var Tt = Object.defineProperty, Ot = Object.defineProperties;
2
+ var jt = Object.getOwnPropertyDescriptors;
3
+ var X = Object.getOwnPropertySymbols;
4
+ var zt = Object.prototype.hasOwnProperty, Ht = Object.prototype.propertyIsEnumerable;
5
+ var V = (e, t, n) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, tt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- jt.call(t, n) && K(e, n, t[n]);
8
- if (it)
9
- for (var n of it(t))
10
- zt.call(t, n) && K(e, n, t[n]);
7
+ zt.call(t, n) && V(e, n, t[n]);
8
+ if (X)
9
+ for (var n of X(t))
10
+ Ht.call(t, n) && V(e, n, t[n]);
11
11
  return e;
12
- }, ot = (e, t) => Tt(e, Ot(t));
13
- var M = (e, t, n) => (K(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Q = (e, t, n) => new Promise((i, s) => {
15
- var o = (d) => {
12
+ }, et = (e, t) => Ot(e, jt(t));
13
+ var M = (e, t, n) => (V(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var q = (e, t, n) => new Promise((i, s) => {
15
+ var o = (f) => {
16
16
  try {
17
- c(n.next(d));
18
- } catch (l) {
19
- s(l);
17
+ l(n.next(f));
18
+ } catch (d) {
19
+ s(d);
20
20
  }
21
- }, r = (d) => {
21
+ }, r = (f) => {
22
22
  try {
23
- c(n.throw(d));
24
- } catch (l) {
25
- s(l);
23
+ l(n.throw(f));
24
+ } catch (d) {
25
+ s(d);
26
26
  }
27
- }, c = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(o, r);
28
- c((n = n.apply(e, t)).next());
27
+ }, l = (f) => f.done ? i(f.value) : Promise.resolve(f.value).then(o, r);
28
+ l((n = n.apply(e, t)).next());
29
29
  });
30
- function q() {
30
+ function N() {
31
31
  }
32
- function Ht(e, t) {
32
+ function At(e, t) {
33
33
  for (const n in t)
34
34
  e[n] = t[n];
35
35
  return (
@@ -37,67 +37,67 @@ function Ht(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function $t(e) {
40
+ function gt(e) {
41
41
  return e();
42
42
  }
43
- function rt() {
43
+ function nt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function F(e) {
47
- e.forEach($t);
46
+ function P(e) {
47
+ e.forEach(gt);
48
48
  }
49
- function wt(e) {
49
+ function pt(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function At(e, t) {
52
+ function It(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function It(e) {
55
+ function Bt(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Bt(e, ...t) {
58
+ function Nt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const i of t)
61
61
  i(void 0);
62
- return q;
62
+ return N;
63
63
  }
64
64
  const n = e.subscribe(...t);
65
65
  return n.unsubscribe ? () => n.unsubscribe() : n;
66
66
  }
67
- function me(e, t, n) {
68
- e.$$.on_destroy.push(Bt(t, n));
67
+ function ge(e, t, n) {
68
+ e.$$.on_destroy.push(Nt(t, n));
69
69
  }
70
- function lt(e, t, n, i) {
70
+ function it(e, t, n, i) {
71
71
  if (e) {
72
- const s = bt(e, t, n, i);
72
+ const s = _t(e, t, n, i);
73
73
  return e[0](s);
74
74
  }
75
75
  }
76
- function bt(e, t, n, i) {
77
- return e[1] && i ? Ht(n.ctx.slice(), e[1](i(t))) : n.ctx;
76
+ function _t(e, t, n, i) {
77
+ return e[1] && i ? At(n.ctx.slice(), e[1](i(t))) : n.ctx;
78
78
  }
79
- function ct(e, t, n, i) {
79
+ function st(e, t, n, i) {
80
80
  if (e[2] && i) {
81
81
  const s = e[2](i(n));
82
82
  if (t.dirty === void 0)
83
83
  return s;
84
84
  if (typeof s == "object") {
85
85
  const o = [], r = Math.max(t.dirty.length, s.length);
86
- for (let c = 0; c < r; c += 1)
87
- o[c] = t.dirty[c] | s[c];
86
+ for (let l = 0; l < r; l += 1)
87
+ o[l] = t.dirty[l] | s[l];
88
88
  return o;
89
89
  }
90
90
  return t.dirty | s;
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function at(e, t, n, i, s, o) {
94
+ function ot(e, t, n, i, s, o) {
95
95
  if (s) {
96
- const r = bt(t, n, i, o);
96
+ const r = _t(t, n, i, o);
97
97
  e.p(r, s);
98
98
  }
99
99
  }
100
- function dt(e) {
100
+ function rt(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], n = e.ctx.length / 32;
103
103
  for (let i = 0; i < n; i++)
@@ -106,17 +106,17 @@ function dt(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function b(e, t) {
109
+ function C(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function Nt(e, t, n) {
113
- const i = Wt(e);
112
+ function Wt(e, t, n) {
113
+ const i = Pt(e);
114
114
  if (!i.getElementById(t)) {
115
- const s = C("style");
116
- s.id = t, s.textContent = n, Pt(i, s);
115
+ const s = v("style");
116
+ s.id = t, s.textContent = n, Rt(i, s);
117
117
  }
118
118
  }
119
- function Wt(e) {
119
+ function Pt(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,74 +126,74 @@ function Wt(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function Pt(e, t) {
130
- return b(
129
+ function Rt(e, t) {
130
+ return C(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function D(e, t, n) {
136
+ function I(e, t, n) {
137
137
  e.insertBefore(t, n || null);
138
138
  }
139
- function O(e) {
139
+ function E(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function ge(e, t) {
142
+ function pe(e, t) {
143
143
  for (let n = 0; n < e.length; n += 1)
144
144
  e[n] && e[n].d(t);
145
145
  }
146
- function C(e) {
146
+ function v(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function ut(e) {
149
+ function lt(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function Rt(e) {
152
+ function Ft(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function Y() {
156
- return Rt(" ");
155
+ function R() {
156
+ return Ft(" ");
157
157
  }
158
- function et(e, t, n, i) {
158
+ function K(e, t, n, i) {
159
159
  return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
160
160
  }
161
- function $(e, t, n) {
161
+ function w(e, t, n) {
162
162
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
163
163
  }
164
- function pe(e, t, n) {
164
+ function _e(e, t, n) {
165
165
  const i = t.toLowerCase();
166
- i in e ? e[i] = typeof e[i] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : $(e, t, n);
166
+ i in e ? e[i] = typeof e[i] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : w(e, t, n);
167
167
  }
168
- function Ft(e) {
168
+ function Dt(e) {
169
169
  return Array.from(e.childNodes);
170
170
  }
171
- function _e(e, t) {
171
+ function $e(e, t) {
172
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
173
173
  t);
174
174
  }
175
- let U;
176
- function Dt() {
177
- if (U === void 0) {
178
- U = !1;
175
+ let F;
176
+ function Yt() {
177
+ if (F === void 0) {
178
+ F = !1;
179
179
  try {
180
180
  typeof window != "undefined" && window.parent && window.parent.document;
181
181
  } catch (e) {
182
- U = !0;
182
+ F = !0;
183
183
  }
184
184
  }
185
- return U;
185
+ return F;
186
186
  }
187
- function Yt(e, t) {
187
+ function Ut(e, t) {
188
188
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
189
- const i = C("iframe");
189
+ const i = v("iframe");
190
190
  i.setAttribute(
191
191
  "style",
192
192
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
193
193
  ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
194
- const s = Dt();
194
+ const s = Yt();
195
195
  let o;
196
- return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = et(
196
+ return s ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = K(
197
197
  window,
198
198
  "message",
199
199
  /** @param {MessageEvent} event */
@@ -201,15 +201,15 @@ function Yt(e, t) {
201
201
  r.source === i.contentWindow && t();
202
202
  }
203
203
  )) : (i.src = "about:blank", i.onload = () => {
204
- o = et(i.contentWindow, "resize", t), t();
205
- }), b(e, i), () => {
206
- (s || o && i.contentWindow) && o(), O(i);
204
+ o = K(i.contentWindow, "resize", t), t();
205
+ }), C(e, i), () => {
206
+ (s || o && i.contentWindow) && o(), E(i);
207
207
  };
208
208
  }
209
- function z(e, t, n) {
209
+ function T(e, t, n) {
210
210
  e.classList.toggle(t, !!n);
211
211
  }
212
- function Ut(e) {
212
+ function Jt(e) {
213
213
  const t = {};
214
214
  return e.childNodes.forEach(
215
215
  /** @param {Element} node */
@@ -218,153 +218,153 @@ function Ut(e) {
218
218
  }
219
219
  ), t;
220
220
  }
221
- let R;
222
- function P(e) {
223
- R = e;
221
+ let W;
222
+ function B(e) {
223
+ W = e;
224
224
  }
225
- function Jt() {
226
- if (!R)
225
+ function Vt() {
226
+ if (!W)
227
227
  throw new Error("Function called outside component initialization");
228
- return R;
228
+ return W;
229
229
  }
230
- function Vt(e) {
231
- Jt().$$.on_mount.push(e);
230
+ function qt(e) {
231
+ Vt().$$.on_mount.push(e);
232
232
  }
233
- const A = [], I = [];
234
- let B = [];
235
- const ft = [], yt = /* @__PURE__ */ Promise.resolve();
236
- let nt = !1;
237
- function xt() {
238
- nt || (nt = !0, yt.then(E));
233
+ const j = [], z = [];
234
+ let H = [];
235
+ const ct = [], $t = /* @__PURE__ */ Promise.resolve();
236
+ let Q = !1;
237
+ function bt() {
238
+ Q || (Q = !0, $t.then(L));
239
239
  }
240
- function X() {
241
- return xt(), yt;
240
+ function Z() {
241
+ return bt(), $t;
242
242
  }
243
- function Z(e) {
244
- B.push(e);
243
+ function U(e) {
244
+ H.push(e);
245
245
  }
246
- const tt = /* @__PURE__ */ new Set();
247
- let H = 0;
248
- function E() {
249
- if (H !== 0)
246
+ const G = /* @__PURE__ */ new Set();
247
+ let O = 0;
248
+ function L() {
249
+ if (O !== 0)
250
250
  return;
251
- const e = R;
251
+ const e = W;
252
252
  do {
253
253
  try {
254
- for (; H < A.length; ) {
255
- const t = A[H];
256
- H++, P(t), qt(t.$$);
254
+ for (; O < j.length; ) {
255
+ const t = j[O];
256
+ O++, B(t), Zt(t.$$);
257
257
  }
258
258
  } catch (t) {
259
- throw A.length = 0, H = 0, t;
259
+ throw j.length = 0, O = 0, t;
260
260
  }
261
- for (P(null), A.length = 0, H = 0; I.length; )
262
- I.pop()();
263
- for (let t = 0; t < B.length; t += 1) {
264
- const n = B[t];
265
- tt.has(n) || (tt.add(n), n());
261
+ for (B(null), j.length = 0, O = 0; z.length; )
262
+ z.pop()();
263
+ for (let t = 0; t < H.length; t += 1) {
264
+ const n = H[t];
265
+ G.has(n) || (G.add(n), n());
266
266
  }
267
- B.length = 0;
268
- } while (A.length);
269
- for (; ft.length; )
270
- ft.pop()();
271
- nt = !1, tt.clear(), P(e);
267
+ H.length = 0;
268
+ } while (j.length);
269
+ for (; ct.length; )
270
+ ct.pop()();
271
+ Q = !1, G.clear(), B(e);
272
272
  }
273
- function qt(e) {
273
+ function Zt(e) {
274
274
  if (e.fragment !== null) {
275
- e.update(), F(e.before_update);
275
+ e.update(), P(e.before_update);
276
276
  const t = e.dirty;
277
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Z);
277
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(U);
278
278
  }
279
279
  }
280
- function Zt(e) {
280
+ function Gt(e) {
281
281
  const t = [], n = [];
282
- B.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), B = t;
282
+ H.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), H = t;
283
283
  }
284
- const J = /* @__PURE__ */ new Set();
285
- let T;
286
- function Gt() {
287
- T = {
284
+ const D = /* @__PURE__ */ new Set();
285
+ let S;
286
+ function Kt() {
287
+ S = {
288
288
  r: 0,
289
289
  c: [],
290
- p: T
290
+ p: S
291
291
  // parent group
292
292
  };
293
293
  }
294
- function Kt() {
295
- T.r || F(T.c), T = T.p;
294
+ function Qt() {
295
+ S.r || P(S.c), S = S.p;
296
296
  }
297
- function N(e, t) {
298
- e && e.i && (J.delete(e), e.i(t));
297
+ function A(e, t) {
298
+ e && e.i && (D.delete(e), e.i(t));
299
299
  }
300
- function G(e, t, n, i) {
300
+ function J(e, t, n, i) {
301
301
  if (e && e.o) {
302
- if (J.has(e))
302
+ if (D.has(e))
303
303
  return;
304
- J.add(e), T.c.push(() => {
305
- J.delete(e), i && (n && e.d(1), i());
304
+ D.add(e), S.c.push(() => {
305
+ D.delete(e), i && (n && e.d(1), i());
306
306
  }), e.o(t);
307
307
  } else
308
308
  i && i();
309
309
  }
310
- function $e(e) {
310
+ function be(e) {
311
311
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
312
312
  }
313
- function Qt(e, t, n) {
313
+ function Xt(e, t, n) {
314
314
  const { fragment: i, after_update: s } = e.$$;
315
- i && i.m(t, n), Z(() => {
316
- const o = e.$$.on_mount.map($t).filter(wt);
317
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
318
- }), s.forEach(Z);
315
+ i && i.m(t, n), U(() => {
316
+ const o = e.$$.on_mount.map(gt).filter(pt);
317
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : P(o), e.$$.on_mount = [];
318
+ }), s.forEach(U);
319
319
  }
320
- function Xt(e, t) {
320
+ function te(e, t) {
321
321
  const n = e.$$;
322
- n.fragment !== null && (Zt(n.after_update), F(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
322
+ n.fragment !== null && (Gt(n.after_update), P(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
323
323
  }
324
- function te(e, t) {
325
- e.$$.dirty[0] === -1 && (A.push(e), xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
324
+ function ee(e, t) {
325
+ e.$$.dirty[0] === -1 && (j.push(e), bt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
326
326
  }
327
- function ee(e, t, n, i, s, o, r = null, c = [-1]) {
328
- const d = R;
329
- P(e);
330
- const l = e.$$ = {
327
+ function ne(e, t, n, i, s, o, r = null, l = [-1]) {
328
+ const f = W;
329
+ B(e);
330
+ const d = e.$$ = {
331
331
  fragment: null,
332
332
  ctx: [],
333
333
  // state
334
334
  props: o,
335
- update: q,
335
+ update: N,
336
336
  not_equal: s,
337
- bound: rt(),
337
+ bound: nt(),
338
338
  // lifecycle
339
339
  on_mount: [],
340
340
  on_destroy: [],
341
341
  on_disconnect: [],
342
342
  before_update: [],
343
343
  after_update: [],
344
- context: new Map(t.context || (d ? d.$$.context : [])),
344
+ context: new Map(t.context || (f ? f.$$.context : [])),
345
345
  // everything else
346
- callbacks: rt(),
347
- dirty: c,
346
+ callbacks: nt(),
347
+ dirty: l,
348
348
  skip_bound: !1,
349
- root: t.target || d.$$.root
349
+ root: t.target || f.$$.root
350
350
  };
351
- r && r(l.root);
352
- let v = !1;
353
- if (l.ctx = n ? n(e, t.props || {}, (p, k, ..._) => {
354
- const w = _.length ? _[0] : k;
355
- return l.ctx && s(l.ctx[p], l.ctx[p] = w) && (!l.skip_bound && l.bound[p] && l.bound[p](w), v && te(e, p)), k;
356
- }) : [], l.update(), v = !0, F(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
351
+ r && r(d.root);
352
+ let _ = !1;
353
+ if (d.ctx = n ? n(e, t.props || {}, ($, g, ...h) => {
354
+ const b = h.length ? h[0] : g;
355
+ return d.ctx && s(d.ctx[$], d.ctx[$] = b) && (!d.skip_bound && d.bound[$] && d.bound[$](b), _ && ee(e, $)), g;
356
+ }) : [], d.update(), _ = !0, P(d.before_update), d.fragment = i ? i(d.ctx) : !1, t.target) {
357
357
  if (t.hydrate) {
358
- const p = Ft(t.target);
359
- l.fragment && l.fragment.l(p), p.forEach(O);
358
+ const $ = Dt(t.target);
359
+ d.fragment && d.fragment.l($), $.forEach(E);
360
360
  } else
361
- l.fragment && l.fragment.c();
362
- t.intro && N(e.$$.fragment), Qt(e, t.target, t.anchor), E();
361
+ d.fragment && d.fragment.c();
362
+ t.intro && A(e.$$.fragment), Xt(e, t.target, t.anchor), L();
363
363
  }
364
- P(d);
364
+ B(f);
365
365
  }
366
- let Ct;
367
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
366
+ let wt;
367
+ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
368
368
  constructor(t, n, i) {
369
369
  super();
370
370
  /** The Svelte component constructor */
@@ -401,42 +401,42 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
401
401
  }
402
402
  }
403
403
  connectedCallback() {
404
- return Q(this, null, function* () {
404
+ return q(this, null, function* () {
405
405
  if (this.$$cn = !0, !this.$$c) {
406
406
  let t = function(o) {
407
407
  return () => {
408
408
  let r;
409
409
  return {
410
410
  c: function() {
411
- r = C("slot"), o !== "default" && $(r, "name", o);
411
+ r = v("slot"), o !== "default" && w(r, "name", o);
412
412
  },
413
413
  /**
414
414
  * @param {HTMLElement} target
415
415
  * @param {HTMLElement} [anchor]
416
416
  */
417
- m: function(l, v) {
418
- D(l, r, v);
417
+ m: function(d, _) {
418
+ I(d, r, _);
419
419
  },
420
- d: function(l) {
421
- l && O(r);
420
+ d: function(d) {
421
+ d && E(r);
422
422
  }
423
423
  };
424
424
  };
425
425
  };
426
426
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
427
427
  return;
428
- const n = {}, i = Ut(this);
428
+ const n = {}, i = Jt(this);
429
429
  for (const o of this.$$s)
430
430
  o in i && (n[o] = [t(o)]);
431
431
  for (const o of this.attributes) {
432
432
  const r = this.$$g_p(o.name);
433
- r in this.$$d || (this.$$d[r] = V(r, o.value, this.$$p_d, "toProp"));
433
+ r in this.$$d || (this.$$d[r] = Y(r, o.value, this.$$p_d, "toProp"));
434
434
  }
435
435
  for (const o in this.$$p_d)
436
436
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
437
437
  this.$$c = new this.$$ctor({
438
438
  target: this.shadowRoot || this,
439
- props: ot(st({}, this.$$d), {
439
+ props: et(tt({}, this.$$d), {
440
440
  $$slots: n,
441
441
  $$scope: {
442
442
  ctx: []
@@ -447,7 +447,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
447
447
  this.$$r = !0;
448
448
  for (const o in this.$$p_d)
449
449
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
450
- const r = V(
450
+ const r = Y(
451
451
  o,
452
452
  this.$$d[o],
453
453
  this.$$p_d,
@@ -460,8 +460,8 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
460
460
  this.$$c.$$.after_update.push(s), s();
461
461
  for (const o in this.$$l)
462
462
  for (const r of this.$$l[o]) {
463
- const c = this.$$c.$on(o, r);
464
- this.$$l_u.set(r, c);
463
+ const l = this.$$c.$on(o, r);
464
+ this.$$l_u.set(r, l);
465
465
  }
466
466
  this.$$l = {};
467
467
  }
@@ -471,7 +471,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
471
471
  // and setting attributes through setAttribute etc, this is helpful
472
472
  attributeChangedCallback(t, n, i) {
473
473
  var s;
474
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = V(t, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
474
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Y(t, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
475
475
  }
476
476
  disconnectedCallback() {
477
477
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -484,7 +484,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
484
484
  ) || t;
485
485
  }
486
486
  });
487
- function V(e, t, n, i) {
487
+ function Y(e, t, n, i) {
488
488
  var o;
489
489
  const s = (o = n[e]) == null ? void 0 : o.type;
490
490
  if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
@@ -514,38 +514,38 @@ function V(e, t, n, i) {
514
514
  return t;
515
515
  }
516
516
  }
517
- function ne(e, t, n, i, s, o) {
518
- let r = class extends Ct {
517
+ function ie(e, t, n, i, s, o) {
518
+ let r = class extends wt {
519
519
  constructor() {
520
520
  super(e, n, s), this.$$p_d = t;
521
521
  }
522
522
  static get observedAttributes() {
523
523
  return Object.keys(t).map(
524
- (c) => (t[c].attribute || c).toLowerCase()
524
+ (l) => (t[l].attribute || l).toLowerCase()
525
525
  );
526
526
  }
527
527
  };
528
- return Object.keys(t).forEach((c) => {
529
- Object.defineProperty(r.prototype, c, {
528
+ return Object.keys(t).forEach((l) => {
529
+ Object.defineProperty(r.prototype, l, {
530
530
  get() {
531
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
531
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
532
532
  },
533
- set(d) {
534
- var l;
535
- d = V(c, d, t), this.$$d[c] = d, (l = this.$$c) == null || l.$set({ [c]: d });
533
+ set(f) {
534
+ var d;
535
+ f = Y(l, f, t), this.$$d[l] = f, (d = this.$$c) == null || d.$set({ [l]: f });
536
536
  }
537
537
  });
538
- }), i.forEach((c) => {
539
- Object.defineProperty(r.prototype, c, {
538
+ }), i.forEach((l) => {
539
+ Object.defineProperty(r.prototype, l, {
540
540
  get() {
541
- var d;
542
- return (d = this.$$c) == null ? void 0 : d[c];
541
+ var f;
542
+ return (f = this.$$c) == null ? void 0 : f[l];
543
543
  }
544
544
  });
545
545
  }), e.element = /** @type {any} */
546
546
  r, r;
547
547
  }
548
- class ie {
548
+ class se {
549
549
  constructor() {
550
550
  /**
551
551
  * ### PRIVATE API
@@ -566,7 +566,7 @@ class ie {
566
566
  }
567
567
  /** @returns {void} */
568
568
  $destroy() {
569
- Xt(this, 1), this.$destroy = q;
569
+ te(this, 1), this.$destroy = N;
570
570
  }
571
571
  /**
572
572
  * @template {Extract<keyof Events, string>} K
@@ -575,8 +575,8 @@ class ie {
575
575
  * @returns {() => void}
576
576
  */
577
577
  $on(t, n) {
578
- if (!wt(n))
579
- return q;
578
+ if (!pt(n))
579
+ return N;
580
580
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
581
581
  return i.push(n), () => {
582
582
  const s = i.indexOf(n);
@@ -588,18 +588,18 @@ class ie {
588
588
  * @returns {void}
589
589
  */
590
590
  $set(t) {
591
- this.$$set && !It(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
591
+ this.$$set && !Bt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
592
592
  }
593
593
  }
594
- const se = "4";
595
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(se);
596
- function oe(e, t) {
594
+ const oe = "4";
595
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oe);
596
+ function re(e, t) {
597
597
  if (e) {
598
598
  const n = document.createElement("style");
599
599
  n.innerHTML = t, e.appendChild(n);
600
600
  }
601
601
  }
602
- function re(e, t) {
602
+ function le(e, t) {
603
603
  if (!e || !t)
604
604
  return;
605
605
  const n = new URL(t);
@@ -610,7 +610,7 @@ function re(e, t) {
610
610
  console.error("There was an error while trying to load client styling from URL", i);
611
611
  });
612
612
  }
613
- function le(e, t, n) {
613
+ function ce(e, t, n) {
614
614
  if (window.emMessageBus) {
615
615
  const i = document.createElement("style");
616
616
  window.emMessageBus.subscribe(t, (s) => {
@@ -618,128 +618,127 @@ function le(e, t, n) {
618
618
  });
619
619
  }
620
620
  }
621
- function ce(e) {
622
- Nt(e, "svelte-vlp16o", '*,*::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)}.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}}');
621
+ function ae(e) {
622
+ Wt(e, "svelte-vlp16o", '*,*::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)}.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}}');
623
623
  }
624
- const ae = (e) => ({}), ht = (e) => ({}), de = (e) => ({}), mt = (e) => ({});
625
- function gt(e) {
626
- let t, n, i, s, o, r, c, d, l, v, p, k, _, w, m, f, j, h = (
624
+ const de = (e) => ({}), at = (e) => ({}), ue = (e) => ({}), dt = (e) => ({});
625
+ function ut(e) {
626
+ let t, n, i, s, o, r, l, f, d, _, $, g, h = (
627
627
  /*modaltype*/
628
628
  (e[3] == "error" || /*modaltype*/
629
- e[3] == "bonusDescription") && pt()
629
+ e[3] == "bonusDescription") && ft()
630
630
  );
631
- const S = (
631
+ const b = (
632
632
  /*#slots*/
633
633
  e[14].title
634
- ), y = lt(
635
- S,
634
+ ), m = it(
635
+ b,
636
636
  e,
637
637
  /*$$scope*/
638
638
  e[13],
639
- mt
639
+ dt
640
640
  );
641
- let g = (
641
+ let c = (
642
+ /*modaltype*/
643
+ e[3] != "2fa-old" && ht(e)
644
+ ), p = (
642
645
  /*isloading*/
643
- e[4] === "true" && _t()
646
+ e[4] === "true" && mt()
644
647
  );
645
- const W = (
648
+ const k = (
646
649
  /*#slots*/
647
650
  e[14].content
648
- ), x = lt(
649
- W,
651
+ ), y = it(
652
+ k,
650
653
  e,
651
654
  /*$$scope*/
652
655
  e[13],
653
- ht
656
+ at
654
657
  );
655
658
  return {
656
659
  c() {
657
- t = C("div"), n = C("div"), i = C("div"), s = C("div"), h && h.c(), o = Y(), r = C("div"), y && y.c(), c = Y(), d = C("div"), l = ut("svg"), v = ut("path"), p = Y(), g && g.c(), k = Y(), _ = C("div"), x && x.c(), $(r, "class", "TitleText"), $(s, "class", "ModalTitle"), $(v, "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"), $(l, "xmlns", "http://www.w3.org/2000/svg"), $(l, "viewBox", "0 0 13 13"), $(l, "fill", "none"), $(l, "class", "CloseButton"), $(d, "class", "ModalCloseIcon"), $(i, "class", "ModalHeader"), $(_, "class", "ModalContentWrapper"), z(
660
+ t = v("div"), n = v("div"), i = v("div"), s = v("div"), h && h.c(), o = R(), r = v("div"), m && m.c(), l = R(), c && c.c(), f = R(), p && p.c(), d = R(), _ = v("div"), y && y.c(), w(r, "class", "TitleText"), w(s, "class", "ModalTitle"), w(i, "class", "ModalHeader"), w(_, "class", "ModalContentWrapper"), T(
658
661
  _,
659
662
  "hidden",
660
663
  /*isloading*/
661
664
  e[4] === "true"
662
- ), $(n, "class", "ModalContainer"), z(
665
+ ), w(n, "class", "ModalContainer"), T(
663
666
  n,
664
667
  "video-mode",
665
668
  /*modaltype*/
666
669
  e[3] === "video"
667
- ), z(
670
+ ), T(
668
671
  n,
669
672
  "twofa-mode",
670
673
  /*modaltype*/
671
674
  e[3] === "2fa"
672
- ), $(t, "id", "Modal"), Z(() => (
673
- /*div6_elementresize_handler*/
675
+ ), w(t, "id", "Modal"), U(() => (
676
+ /*div5_elementresize_handler*/
674
677
  e[18].call(t)
675
678
  ));
676
679
  },
677
- m(u, L) {
678
- D(u, t, L), b(t, n), b(n, i), b(i, s), h && h.m(s, null), b(s, o), b(s, r), y && y.m(r, null), b(i, c), b(i, d), b(d, l), b(l, v), b(n, p), g && g.m(n, null), b(n, k), b(n, _), x && x.m(_, null), e[15](_), e[16](n), e[17](t), w = Yt(
680
+ m(u, x) {
681
+ I(u, t, x), C(t, n), C(n, i), C(i, s), h && h.m(s, null), C(s, o), C(s, r), m && m.m(r, null), C(i, l), c && c.m(i, null), C(n, f), p && p.m(n, null), C(n, d), C(n, _), y && y.m(_, null), e[15](_), e[16](n), e[17](t), $ = Ut(
679
682
  t,
680
- /*div6_elementresize_handler*/
683
+ /*div5_elementresize_handler*/
681
684
  e[18].bind(t)
682
- ), m = !0, f || (j = et(
683
- l,
684
- "click",
685
- /*closeModal*/
686
- e[9]
687
- ), f = !0);
685
+ ), g = !0;
688
686
  },
689
- p(u, L) {
687
+ p(u, x) {
690
688
  /*modaltype*/
691
689
  u[3] == "error" || /*modaltype*/
692
- u[3] == "bonusDescription" ? h || (h = pt(), h.c(), h.m(s, o)) : h && (h.d(1), h = null), y && y.p && (!m || L & /*$$scope*/
693
- 8192) && at(
694
- y,
695
- S,
690
+ u[3] == "bonusDescription" ? h || (h = ft(), h.c(), h.m(s, o)) : h && (h.d(1), h = null), m && m.p && (!g || x & /*$$scope*/
691
+ 8192) && ot(
692
+ m,
693
+ b,
696
694
  u,
697
695
  /*$$scope*/
698
696
  u[13],
699
- m ? ct(
700
- S,
697
+ g ? st(
698
+ b,
701
699
  /*$$scope*/
702
700
  u[13],
703
- L,
704
- de
705
- ) : dt(
701
+ x,
702
+ ue
703
+ ) : rt(
706
704
  /*$$scope*/
707
705
  u[13]
708
706
  ),
709
- mt
710
- ), /*isloading*/
711
- u[4] === "true" ? g || (g = _t(), g.c(), g.m(n, k)) : g && (g.d(1), g = null), x && x.p && (!m || L & /*$$scope*/
712
- 8192) && at(
713
- x,
714
- W,
707
+ dt
708
+ ), /*modaltype*/
709
+ u[3] != "2fa-old" ? c ? c.p(u, x) : (c = ht(u), c.c(), c.m(i, null)) : c && (c.d(1), c = null), /*isloading*/
710
+ u[4] === "true" ? p || (p = mt(), p.c(), p.m(n, d)) : p && (p.d(1), p = null), y && y.p && (!g || x & /*$$scope*/
711
+ 8192) && ot(
712
+ y,
713
+ k,
715
714
  u,
716
715
  /*$$scope*/
717
716
  u[13],
718
- m ? ct(
719
- W,
717
+ g ? st(
718
+ k,
720
719
  /*$$scope*/
721
720
  u[13],
722
- L,
723
- ae
724
- ) : dt(
721
+ x,
722
+ de
723
+ ) : rt(
725
724
  /*$$scope*/
726
725
  u[13]
727
726
  ),
728
- ht
729
- ), (!m || L & /*isloading*/
730
- 16) && z(
727
+ at
728
+ ), (!g || x & /*isloading*/
729
+ 16) && T(
731
730
  _,
732
731
  "hidden",
733
732
  /*isloading*/
734
733
  u[4] === "true"
735
- ), (!m || L & /*modaltype*/
736
- 8) && z(
734
+ ), (!g || x & /*modaltype*/
735
+ 8) && T(
737
736
  n,
738
737
  "video-mode",
739
738
  /*modaltype*/
740
739
  u[3] === "video"
741
- ), (!m || L & /*modaltype*/
742
- 8) && z(
740
+ ), (!g || x & /*modaltype*/
741
+ 8) && T(
743
742
  n,
744
743
  "twofa-mode",
745
744
  /*modaltype*/
@@ -747,176 +746,196 @@ function gt(e) {
747
746
  );
748
747
  },
749
748
  i(u) {
750
- m || (N(y, u), N(x, u), m = !0);
749
+ g || (A(m, u), A(y, u), g = !0);
751
750
  },
752
751
  o(u) {
753
- G(y, u), G(x, u), m = !1;
752
+ J(m, u), J(y, u), g = !1;
754
753
  },
755
754
  d(u) {
756
- u && O(t), h && h.d(), y && y.d(u), g && g.d(), x && x.d(u), e[15](null), e[16](null), e[17](null), w(), f = !1, j();
755
+ u && E(t), h && h.d(), m && m.d(u), c && c.d(), p && p.d(), y && y.d(u), e[15](null), e[16](null), e[17](null), $();
757
756
  }
758
757
  };
759
758
  }
760
- function pt(e) {
759
+ function ft(e) {
761
760
  let t;
762
761
  return {
763
762
  c() {
764
- t = C("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>', $(t, "class", "WarningIcon");
763
+ t = v("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>', w(t, "class", "WarningIcon");
765
764
  },
766
765
  m(n, i) {
767
- D(n, t, i);
766
+ I(n, t, i);
768
767
  },
769
768
  d(n) {
770
- n && O(t);
769
+ n && E(t);
770
+ }
771
+ };
772
+ }
773
+ function ht(e) {
774
+ let t, n, i, s, o;
775
+ return {
776
+ c() {
777
+ t = v("div"), n = lt("svg"), i = lt("path"), w(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"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "viewBox", "0 0 13 13"), w(n, "fill", "none"), w(n, "class", "CloseButton"), w(t, "class", "ModalCloseIcon");
778
+ },
779
+ m(r, l) {
780
+ I(r, t, l), C(t, n), C(n, i), s || (o = K(
781
+ n,
782
+ "click",
783
+ /*closeModal*/
784
+ e[9]
785
+ ), s = !0);
786
+ },
787
+ p: N,
788
+ d(r) {
789
+ r && E(t), s = !1, o();
771
790
  }
772
791
  };
773
792
  }
774
- function _t(e) {
793
+ function mt(e) {
775
794
  let t;
776
795
  return {
777
796
  c() {
778
- t = C("div"), t.innerHTML = '<div class="ModalLoader"></div>', $(t, "class", "ModalLoadingOverlay");
797
+ t = v("div"), t.innerHTML = '<div class="ModalLoader"></div>', w(t, "class", "ModalLoadingOverlay");
779
798
  },
780
799
  m(n, i) {
781
- D(n, t, i);
800
+ I(n, t, i);
782
801
  },
783
802
  d(n) {
784
- n && O(t);
803
+ n && E(t);
785
804
  }
786
805
  };
787
806
  }
788
- function ue(e) {
807
+ function fe(e) {
789
808
  let t, n, i = (
790
809
  /*show*/
791
- e[2] === "true" && gt(e)
810
+ e[2] === "true" && ut(e)
792
811
  );
793
812
  return {
794
813
  c() {
795
- t = C("div"), i && i.c();
814
+ t = v("div"), i && i.c();
796
815
  },
797
816
  m(s, o) {
798
- D(s, t, o), i && i.m(t, null), e[19](t), n = !0;
817
+ I(s, t, o), i && i.m(t, null), e[19](t), n = !0;
799
818
  },
800
819
  p(s, [o]) {
801
820
  /*show*/
802
821
  s[2] === "true" ? i ? (i.p(s, o), o & /*show*/
803
- 4 && N(i, 1)) : (i = gt(s), i.c(), N(i, 1), i.m(t, null)) : i && (Gt(), G(i, 1, 1, () => {
822
+ 4 && A(i, 1)) : (i = ut(s), i.c(), A(i, 1), i.m(t, null)) : i && (Kt(), J(i, 1, 1, () => {
804
823
  i = null;
805
- }), Kt());
824
+ }), Qt());
806
825
  },
807
826
  i(s) {
808
- n || (N(i), n = !0);
827
+ n || (A(i), n = !0);
809
828
  },
810
829
  o(s) {
811
- G(i), n = !1;
830
+ J(i), n = !1;
812
831
  },
813
832
  d(s) {
814
- s && O(t), i && i.d(), e[19](null);
833
+ s && E(t), i && i.d(), e[19](null);
815
834
  }
816
835
  };
817
836
  }
818
- function fe(e, t, n) {
819
- let { $$slots: i = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: r } = t, { clientstylingurl: c } = t, { show: d } = t, { modaltype: l = "" } = t, { isloading: v = "false" } = t, { width: p } = t, { height: k } = t, _, w, m, f, j = !1, h, S;
820
- const y = () => {
821
- h && clearTimeout(h), _ && (_.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), h = setTimeout(
837
+ function he(e, t, n) {
838
+ let { $$slots: i = {}, $$scope: s } = t, { mbsource: o } = t, { clientstyling: r } = t, { clientstylingurl: l } = t, { show: f } = t, { modaltype: d = "" } = t, { isloading: _ = "false" } = t, { width: $ } = t, { height: g } = t, h, b, m, c, p = !1, k, y;
839
+ const u = () => {
840
+ k && clearTimeout(k), h && (h.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), k = setTimeout(
822
841
  () => {
823
842
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
824
843
  },
825
844
  200
826
845
  ));
827
- }, g = () => Q(this, null, function* () {
828
- if (!f || !m || j)
846
+ }, x = () => q(this, null, function* () {
847
+ if (!c || !m || p)
829
848
  return;
830
- S && clearTimeout(h), j = !0;
831
- const a = f.offsetWidth, kt = f.offsetHeight;
832
- n(8, f.style.width = `${a}px`, f), n(8, f.style.height = `${kt}px`, f), f.offsetHeight, yield X();
833
- const Lt = m.scrollHeight, Et = m.scrollWidth;
834
- n(8, f.style.width = `${Et}px`, f), n(8, f.style.height = `${Lt}px`, f), S = setTimeout(
849
+ y && clearTimeout(k), p = !0;
850
+ const a = c.offsetWidth, Lt = c.offsetHeight;
851
+ n(8, c.style.width = `${a}px`, c), n(8, c.style.height = `${Lt}px`, c), c.offsetHeight, yield Z();
852
+ const Et = m.scrollHeight, St = m.scrollWidth;
853
+ n(8, c.style.width = `${St}px`, c), n(8, c.style.height = `${Et}px`, c), y = setTimeout(
835
854
  () => {
836
- f && (n(8, f.style.width = "auto", f), n(8, f.style.height = "auto", f)), j = !1;
855
+ c && (n(8, c.style.width = "auto", c), n(8, c.style.height = "auto", c)), p = !1;
837
856
  },
838
857
  300
839
858
  );
840
859
  });
841
- Vt(() => {
842
- if (X().then(() => {
843
- g();
860
+ qt(() => {
861
+ if (Z().then(() => {
862
+ x();
844
863
  }), m) {
845
864
  const a = new ResizeObserver(() => {
846
- g();
865
+ x();
847
866
  });
848
867
  return a.observe(m), () => {
849
868
  a.disconnect();
850
869
  };
851
870
  }
852
871
  return () => {
853
- h && clearTimeout(h), S && clearTimeout(h);
872
+ k && clearTimeout(k), y && clearTimeout(k);
854
873
  };
855
874
  });
856
- function W(a) {
857
- I[a ? "unshift" : "push"](() => {
875
+ function xt(a) {
876
+ z[a ? "unshift" : "push"](() => {
858
877
  m = a, n(7, m);
859
878
  });
860
879
  }
861
- function x(a) {
862
- I[a ? "unshift" : "push"](() => {
863
- f = a, n(8, f);
880
+ function Ct(a) {
881
+ z[a ? "unshift" : "push"](() => {
882
+ c = a, n(8, c);
864
883
  });
865
884
  }
866
- function u(a) {
867
- I[a ? "unshift" : "push"](() => {
868
- _ = a, n(6, _);
885
+ function vt(a) {
886
+ z[a ? "unshift" : "push"](() => {
887
+ h = a, n(6, h);
869
888
  });
870
889
  }
871
- function L() {
872
- p = this.clientWidth, k = this.clientHeight, n(0, p), n(1, k);
890
+ function Mt() {
891
+ $ = this.clientWidth, g = this.clientHeight, n(0, $), n(1, g);
873
892
  }
874
- function Mt(a) {
875
- I[a ? "unshift" : "push"](() => {
876
- w = a, n(5, w);
893
+ function kt(a) {
894
+ z[a ? "unshift" : "push"](() => {
895
+ b = a, n(5, b);
877
896
  });
878
897
  }
879
898
  return e.$$set = (a) => {
880
- "mbsource" in a && n(10, o = a.mbsource), "clientstyling" in a && n(11, r = a.clientstyling), "clientstylingurl" in a && n(12, c = a.clientstylingurl), "show" in a && n(2, d = a.show), "modaltype" in a && n(3, l = a.modaltype), "isloading" in a && n(4, v = a.isloading), "width" in a && n(0, p = a.width), "height" in a && n(1, k = a.height), "$$scope" in a && n(13, s = a.$$scope);
899
+ "mbsource" in a && n(10, o = a.mbsource), "clientstyling" in a && n(11, r = a.clientstyling), "clientstylingurl" in a && n(12, l = a.clientstylingurl), "show" in a && n(2, f = a.show), "modaltype" in a && n(3, d = a.modaltype), "isloading" in a && n(4, _ = a.isloading), "width" in a && n(0, $ = a.width), "height" in a && n(1, g = a.height), "$$scope" in a && n(13, s = a.$$scope);
881
900
  }, e.$$.update = () => {
882
901
  e.$$.dirty & /*isloading*/
883
- 16 && v && X().then(() => {
884
- g();
902
+ 16 && _ && Z().then(() => {
903
+ x();
885
904
  }), e.$$.dirty & /*clientstyling, customStylingContainer*/
886
- 2080 && r && w && oe(w, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
887
- 4128 && c && w && re(w, c), e.$$.dirty & /*mbsource, customStylingContainer*/
888
- 1056 && o && w && le(w, `${o}.Style`);
905
+ 2080 && r && b && re(b, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
906
+ 4128 && l && b && le(b, l), e.$$.dirty & /*mbsource, customStylingContainer*/
907
+ 1056 && o && b && ce(b, `${o}.Style`);
889
908
  }, [
890
- p,
891
- k,
909
+ $,
910
+ g,
911
+ f,
892
912
  d,
893
- l,
894
- v,
895
- w,
896
913
  _,
914
+ b,
915
+ h,
897
916
  m,
898
- f,
899
- y,
917
+ c,
918
+ u,
900
919
  o,
901
920
  r,
902
- c,
921
+ l,
903
922
  s,
904
923
  i,
905
- W,
906
- x,
907
- u,
908
- L,
909
- Mt
924
+ xt,
925
+ Ct,
926
+ vt,
927
+ Mt,
928
+ kt
910
929
  ];
911
930
  }
912
- class vt extends ie {
931
+ class yt extends se {
913
932
  constructor(t) {
914
- super(), ee(
933
+ super(), ne(
915
934
  this,
916
935
  t,
936
+ he,
917
937
  fe,
918
- ue,
919
- At,
938
+ It,
920
939
  {
921
940
  mbsource: 10,
922
941
  clientstyling: 11,
@@ -927,93 +946,93 @@ class vt extends ie {
927
946
  width: 0,
928
947
  height: 1
929
948
  },
930
- ce
949
+ ae
931
950
  );
932
951
  }
933
952
  get mbsource() {
934
953
  return this.$$.ctx[10];
935
954
  }
936
955
  set mbsource(t) {
937
- this.$$set({ mbsource: t }), E();
956
+ this.$$set({ mbsource: t }), L();
938
957
  }
939
958
  get clientstyling() {
940
959
  return this.$$.ctx[11];
941
960
  }
942
961
  set clientstyling(t) {
943
- this.$$set({ clientstyling: t }), E();
962
+ this.$$set({ clientstyling: t }), L();
944
963
  }
945
964
  get clientstylingurl() {
946
965
  return this.$$.ctx[12];
947
966
  }
948
967
  set clientstylingurl(t) {
949
- this.$$set({ clientstylingurl: t }), E();
968
+ this.$$set({ clientstylingurl: t }), L();
950
969
  }
951
970
  get show() {
952
971
  return this.$$.ctx[2];
953
972
  }
954
973
  set show(t) {
955
- this.$$set({ show: t }), E();
974
+ this.$$set({ show: t }), L();
956
975
  }
957
976
  get modaltype() {
958
977
  return this.$$.ctx[3];
959
978
  }
960
979
  set modaltype(t) {
961
- this.$$set({ modaltype: t }), E();
980
+ this.$$set({ modaltype: t }), L();
962
981
  }
963
982
  get isloading() {
964
983
  return this.$$.ctx[4];
965
984
  }
966
985
  set isloading(t) {
967
- this.$$set({ isloading: t }), E();
986
+ this.$$set({ isloading: t }), L();
968
987
  }
969
988
  get width() {
970
989
  return this.$$.ctx[0];
971
990
  }
972
991
  set width(t) {
973
- this.$$set({ width: t }), E();
992
+ this.$$set({ width: t }), L();
974
993
  }
975
994
  get height() {
976
995
  return this.$$.ctx[1];
977
996
  }
978
997
  set height(t) {
979
- this.$$set({ height: t }), E();
998
+ this.$$set({ height: t }), L();
980
999
  }
981
1000
  }
982
- ne(vt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
1001
+ ie(yt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
983
1002
  const we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
984
1003
  __proto__: null,
985
- default: vt
1004
+ default: yt
986
1005
  }, Symbol.toStringTag, { value: "Module" }));
987
1006
  export {
988
- oe as A,
989
- re as B,
990
- le as C,
1007
+ re as A,
1008
+ le as B,
1009
+ ce as C,
991
1010
  we as D,
992
- ie as S,
993
- Bt as a,
994
- ee as b,
995
- ne as c,
996
- Nt as d,
997
- O as e,
998
- E as f,
999
- D as g,
1000
- C as h,
1001
- wt as i,
1002
- $ as j,
1003
- me as k,
1004
- I as l,
1005
- pe as m,
1006
- q as n,
1007
- Vt as o,
1008
- $e as p,
1009
- ge as q,
1010
- F as r,
1011
- At as s,
1012
- z as t,
1013
- _e as u,
1014
- b as v,
1015
- et as w,
1016
- ut as x,
1017
- Y as y,
1018
- Rt as z
1011
+ se as S,
1012
+ Nt as a,
1013
+ ne as b,
1014
+ ie as c,
1015
+ Wt as d,
1016
+ E as e,
1017
+ L as f,
1018
+ I as g,
1019
+ v as h,
1020
+ pt as i,
1021
+ w as j,
1022
+ ge as k,
1023
+ z as l,
1024
+ _e as m,
1025
+ N as n,
1026
+ qt as o,
1027
+ be as p,
1028
+ pe as q,
1029
+ P as r,
1030
+ It as s,
1031
+ T as t,
1032
+ $e as u,
1033
+ C as v,
1034
+ K as w,
1035
+ lt as x,
1036
+ R as y,
1037
+ Ft as z
1019
1038
  };