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