@everymatrix/cashier-verifications 1.76.4 → 1.76.5

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 k() {
1
+ function C() {
2
2
  }
3
- const lt = (t) => t;
3
+ const ut = (t) => t;
4
4
  function pt(t, e) {
5
5
  for (const n in e)
6
6
  t[n] = e[n];
@@ -12,35 +12,31 @@ function pt(t, e) {
12
12
  function ft(t) {
13
13
  return t();
14
14
  }
15
- function et() {
15
+ function tt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function j(t) {
18
+ function O(t) {
19
19
  t.forEach(ft);
20
20
  }
21
21
  function Q(t) {
22
22
  return typeof t == "function";
23
23
  }
24
- function wt(t, e) {
24
+ function bt(t, e) {
25
25
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
26
26
  }
27
- let T;
28
- function de(t, e) {
29
- return t === e ? !0 : (T || (T = document.createElement("a")), T.href = e, t === T.href);
30
- }
31
- function bt(t) {
27
+ function wt(t) {
32
28
  return Object.keys(t).length === 0;
33
29
  }
34
30
  function xt(t, ...e) {
35
31
  if (t == null) {
36
32
  for (const i of e)
37
33
  i(void 0);
38
- return k;
34
+ return C;
39
35
  }
40
36
  const n = t.subscribe(...e);
41
37
  return n.unsubscribe ? () => n.unsubscribe() : n;
42
38
  }
43
- function he(t, e, n) {
39
+ function de(t, e, n) {
44
40
  t.$$.on_destroy.push(xt(e, n));
45
41
  }
46
42
  function Ct(t, e, n, i) {
@@ -83,31 +79,31 @@ function Lt(t) {
83
79
  return -1;
84
80
  }
85
81
  const dt = typeof window < "u";
86
- let Mt = dt ? () => window.performance.now() : () => Date.now(), X = dt ? (t) => requestAnimationFrame(t) : k;
87
- const L = /* @__PURE__ */ new Set();
82
+ let kt = dt ? () => window.performance.now() : () => Date.now(), X = dt ? (t) => requestAnimationFrame(t) : C;
83
+ const k = /* @__PURE__ */ new Set();
88
84
  function ht(t) {
89
- L.forEach((e) => {
90
- e.c(t) || (L.delete(e), e.f());
91
- }), L.size !== 0 && X(ht);
85
+ k.forEach((e) => {
86
+ e.c(t) || (k.delete(e), e.f());
87
+ }), k.size !== 0 && X(ht);
92
88
  }
93
- function kt(t) {
89
+ function Mt(t) {
94
90
  let e;
95
- return L.size === 0 && X(ht), {
91
+ return k.size === 0 && X(ht), {
96
92
  promise: new Promise((n) => {
97
- L.add(e = { c: t, f: n });
93
+ k.add(e = { c: t, f: n });
98
94
  }),
99
95
  abort() {
100
- L.delete(e);
96
+ k.delete(e);
101
97
  }
102
98
  };
103
99
  }
104
- function x(t, e) {
100
+ function M(t, e) {
105
101
  t.appendChild(e);
106
102
  }
107
103
  function St(t, e, n) {
108
104
  const i = Y(t);
109
105
  if (!i.getElementById(e)) {
110
- const s = C("style");
106
+ const s = x("style");
111
107
  s.id = e, s.textContent = n, _t(i, s);
112
108
  }
113
109
  }
@@ -122,30 +118,30 @@ function Y(t) {
122
118
  ) : t.ownerDocument;
123
119
  }
124
120
  function jt(t) {
125
- const e = C("style");
121
+ const e = x("style");
126
122
  return e.textContent = "/* empty */", _t(Y(t), e), e.sheet;
127
123
  }
128
124
  function _t(t, e) {
129
- return x(
125
+ return M(
130
126
  /** @type {Document} */
131
127
  t.head || t,
132
128
  e
133
129
  ), e.sheet;
134
130
  }
135
- function tt(t, e, n) {
131
+ function F(t, e, n) {
136
132
  t.insertBefore(e, n || null);
137
133
  }
138
- function O(t) {
134
+ function v(t) {
139
135
  t.parentNode && t.parentNode.removeChild(t);
140
136
  }
141
- function _e(t, e) {
137
+ function he(t, e) {
142
138
  for (let n = 0; n < t.length; n += 1)
143
139
  t[n] && t[n].d(e);
144
140
  }
145
- function C(t) {
141
+ function x(t) {
146
142
  return document.createElement(t);
147
143
  }
148
- function nt(t) {
144
+ function et(t) {
149
145
  return document.createElementNS("http://www.w3.org/2000/svg", t);
150
146
  }
151
147
  function $t(t) {
@@ -160,35 +156,35 @@ function At() {
160
156
  function Z(t, e, n, i) {
161
157
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
162
158
  }
163
- function y(t, e, n) {
159
+ function m(t, e, n) {
164
160
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
165
161
  }
166
- function $e(t, e, n) {
162
+ function _e(t, e, n) {
167
163
  const i = e.toLowerCase();
168
- i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : y(t, e, n);
164
+ i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : m(t, e, n);
169
165
  }
170
166
  function Nt(t) {
171
167
  return Array.from(t.childNodes);
172
168
  }
173
- function ge(t, e) {
169
+ function $e(t, e) {
174
170
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
175
171
  e);
176
172
  }
177
- let H;
173
+ let T;
178
174
  function zt() {
179
- if (H === void 0) {
180
- H = !1;
175
+ if (T === void 0) {
176
+ T = !1;
181
177
  try {
182
178
  typeof window < "u" && window.parent && window.parent.document;
183
179
  } catch {
184
- H = !0;
180
+ T = !0;
185
181
  }
186
182
  }
187
- return H;
183
+ return T;
188
184
  }
189
185
  function Bt(t, e) {
190
186
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
191
- const i = C("iframe");
187
+ const i = x("iframe");
192
188
  i.setAttribute(
193
189
  "style",
194
190
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -204,8 +200,8 @@ function Bt(t, e) {
204
200
  }
205
201
  )) : (i.src = "about:blank", i.onload = () => {
206
202
  r = Z(i.contentWindow, "resize", e), e();
207
- }), x(t, i), () => {
208
- (s || r && i.contentWindow) && r(), O(i);
203
+ }), M(t, i), () => {
204
+ (s || r && i.contentWindow) && r(), v(i);
209
205
  };
210
206
  }
211
207
  function me(t, e, n) {
@@ -235,33 +231,33 @@ function Ht(t, e) {
235
231
  const n = { stylesheet: jt(e), rules: {} };
236
232
  return I.set(t, n), n;
237
233
  }
238
- function it(t, e, n, i, s, r, l, o = 0) {
239
- const f = 16.666 / i;
240
- let u = `{
234
+ function nt(t, e, n, i, s, r, l, o = 0) {
235
+ const u = 16.666 / i;
236
+ let c = `{
241
237
  `;
242
- for (let $ = 0; $ <= 1; $ += f) {
243
- const b = e + (n - e) * r($);
244
- u += $ * 100 + `%{${l(b, 1 - b)}}
238
+ for (let g = 0; g <= 1; g += u) {
239
+ const w = e + (n - e) * r(g);
240
+ c += g * 100 + `%{${l(w, 1 - w)}}
245
241
  `;
246
242
  }
247
- const _ = u + `100% {${l(n, 1 - n)}}
248
- }`, a = `__svelte_${Tt(_)}_${o}`, g = Y(t), { stylesheet: m, rules: c } = I.get(g) || Ht(g, t);
249
- c[a] || (c[a] = !0, m.insertRule(`@keyframes ${a} ${_}`, m.cssRules.length));
250
- const h = t.style.animation || "";
251
- return t.style.animation = `${h ? `${h}, ` : ""}${a} ${i}ms linear ${s}ms 1 both`, U += 1, a;
243
+ const $ = c + `100% {${l(n, 1 - n)}}
244
+ }`, f = `__svelte_${Tt($)}_${o}`, h = Y(t), { stylesheet: _, rules: a } = I.get(h) || Ht(h, t);
245
+ a[f] || (a[f] = !0, _.insertRule(`@keyframes ${f} ${$}`, _.cssRules.length));
246
+ const y = t.style.animation || "";
247
+ return t.style.animation = `${y ? `${y}, ` : ""}${f} ${i}ms linear ${s}ms 1 both`, U += 1, f;
252
248
  }
253
- function qt(t, e) {
249
+ function Dt(t, e) {
254
250
  const n = (t.style.animation || "").split(", "), i = n.filter(
255
251
  e ? (r) => r.indexOf(e) < 0 : (r) => r.indexOf("__svelte") === -1
256
252
  // remove all Svelte animations
257
253
  ), s = n.length - i.length;
258
- s && (t.style.animation = i.join(", "), U -= s, U || Dt());
254
+ s && (t.style.animation = i.join(", "), U -= s, U || It());
259
255
  }
260
- function Dt() {
256
+ function It() {
261
257
  X(() => {
262
258
  U || (I.forEach((t) => {
263
259
  const { ownerNode: e } = t.stylesheet;
264
- e && O(e);
260
+ e && v(e);
265
261
  }), I.clear());
266
262
  });
267
263
  }
@@ -269,61 +265,61 @@ let P;
269
265
  function z(t) {
270
266
  P = t;
271
267
  }
272
- function It() {
268
+ function Ut() {
273
269
  if (!P)
274
270
  throw new Error("Function called outside component initialization");
275
271
  return P;
276
272
  }
277
- function Ut(t) {
278
- It().$$.on_mount.push(t);
273
+ function Wt(t) {
274
+ Ut().$$.on_mount.push(t);
279
275
  }
280
- const E = [], W = [];
281
- let M = [];
282
- const st = [], Wt = /* @__PURE__ */ Promise.resolve();
276
+ const L = [], W = [];
277
+ let S = [];
278
+ const it = [], Ft = /* @__PURE__ */ Promise.resolve();
283
279
  let G = !1;
284
- function Ft() {
285
- G || (G = !0, Wt.then(p));
280
+ function qt() {
281
+ G || (G = !0, Ft.then(p));
286
282
  }
287
- function S(t) {
288
- M.push(t);
283
+ function j(t) {
284
+ S.push(t);
289
285
  }
290
286
  const J = /* @__PURE__ */ new Set();
291
- let v = 0;
287
+ let E = 0;
292
288
  function p() {
293
- if (v !== 0)
289
+ if (E !== 0)
294
290
  return;
295
291
  const t = P;
296
292
  do {
297
293
  try {
298
- for (; v < E.length; ) {
299
- const e = E[v];
300
- v++, z(e), Jt(e.$$);
294
+ for (; E < L.length; ) {
295
+ const e = L[E];
296
+ E++, z(e), Jt(e.$$);
301
297
  }
302
298
  } catch (e) {
303
- throw E.length = 0, v = 0, e;
299
+ throw L.length = 0, E = 0, e;
304
300
  }
305
- for (z(null), E.length = 0, v = 0; W.length; )
301
+ for (z(null), L.length = 0, E = 0; W.length; )
306
302
  W.pop()();
307
- for (let e = 0; e < M.length; e += 1) {
308
- const n = M[e];
303
+ for (let e = 0; e < S.length; e += 1) {
304
+ const n = S[e];
309
305
  J.has(n) || (J.add(n), n());
310
306
  }
311
- M.length = 0;
312
- } while (E.length);
313
- for (; st.length; )
314
- st.pop()();
307
+ S.length = 0;
308
+ } while (L.length);
309
+ for (; it.length; )
310
+ it.pop()();
315
311
  G = !1, J.clear(), z(t);
316
312
  }
317
313
  function Jt(t) {
318
314
  if (t.fragment !== null) {
319
- t.update(), j(t.before_update);
315
+ t.update(), O(t.before_update);
320
316
  const e = t.dirty;
321
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(S);
317
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(j);
322
318
  }
323
319
  }
324
320
  function Vt(t) {
325
321
  const e = [], n = [];
326
- M.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), M = e;
322
+ S.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), S = e;
327
323
  }
328
324
  let N;
329
325
  function Zt() {
@@ -334,154 +330,154 @@ function Zt() {
334
330
  function V(t, e, n) {
335
331
  t.dispatchEvent(Pt(`${e ? "intro" : "outro"}${n}`));
336
332
  }
337
- const q = /* @__PURE__ */ new Set();
338
- let w;
333
+ const H = /* @__PURE__ */ new Set();
334
+ let b;
339
335
  function Gt() {
340
- w = {
336
+ b = {
341
337
  r: 0,
342
338
  c: [],
343
- p: w
339
+ p: b
344
340
  // parent group
345
341
  };
346
342
  }
347
343
  function Kt() {
348
- w.r || j(w.c), w = w.p;
344
+ b.r || O(b.c), b = b.p;
349
345
  }
350
346
  function B(t, e) {
351
- t && t.i && (q.delete(t), t.i(e));
347
+ t && t.i && (H.delete(t), t.i(e));
352
348
  }
353
349
  function K(t, e, n, i) {
354
350
  if (t && t.o) {
355
- if (q.has(t))
351
+ if (H.has(t))
356
352
  return;
357
- q.add(t), w.c.push(() => {
358
- q.delete(t), i && (n && t.d(1), i());
353
+ H.add(t), b.c.push(() => {
354
+ H.delete(t), i && (n && t.d(1), i());
359
355
  }), t.o(e);
360
356
  } else
361
357
  i && i();
362
358
  }
363
359
  const Qt = { duration: 0 };
364
- function rt(t, e, n, i) {
365
- let r = e(t, n, { direction: "both" }), l = i ? 0 : 1, o = null, f = null, u = null, _;
366
- function a() {
367
- u && qt(t, u);
360
+ function st(t, e, n, i) {
361
+ let r = e(t, n, { direction: "both" }), l = i ? 0 : 1, o = null, u = null, c = null, $;
362
+ function f() {
363
+ c && Dt(t, c);
368
364
  }
369
- function g(c, h) {
370
- const $ = (
365
+ function h(a, y) {
366
+ const g = (
371
367
  /** @type {Program['d']} */
372
- c.b - l
368
+ a.b - l
373
369
  );
374
- return h *= Math.abs($), {
370
+ return y *= Math.abs(g), {
375
371
  a: l,
376
- b: c.b,
377
- d: $,
378
- duration: h,
379
- start: c.start,
380
- end: c.start + h,
381
- group: c.group
372
+ b: a.b,
373
+ d: g,
374
+ duration: y,
375
+ start: a.start,
376
+ end: a.start + y,
377
+ group: a.group
382
378
  };
383
379
  }
384
- function m(c) {
380
+ function _(a) {
385
381
  const {
386
- delay: h = 0,
387
- duration: $ = 300,
388
- easing: b = lt,
389
- tick: A = k,
382
+ delay: y = 0,
383
+ duration: g = 300,
384
+ easing: w = ut,
385
+ tick: A = C,
390
386
  css: d
391
- } = r || Qt, F = {
392
- start: Mt() + h,
393
- b: c
387
+ } = r || Qt, q = {
388
+ start: kt() + y,
389
+ b: a
394
390
  };
395
- c || (F.group = w, w.r += 1), "inert" in t && (c ? _ !== void 0 && (t.inert = _) : (_ = /** @type {HTMLElement} */
396
- t.inert, t.inert = !0)), o || f ? f = F : (d && (a(), u = it(t, l, c, $, h, b, d)), c && A(0, 1), o = g(F, $), S(() => V(t, c, "start")), kt((R) => {
397
- if (f && R > f.start && (o = g(f, $), f = null, V(t, o.b, "start"), d && (a(), u = it(
391
+ a || (q.group = b, b.r += 1), "inert" in t && (a ? $ !== void 0 && (t.inert = $) : ($ = /** @type {HTMLElement} */
392
+ t.inert, t.inert = !0)), o || u ? u = q : (d && (f(), c = nt(t, l, a, g, y, w, d)), a && A(0, 1), o = h(q, g), j(() => V(t, a, "start")), Mt((R) => {
393
+ if (u && R > u.start && (o = h(u, g), u = null, V(t, o.b, "start"), d && (f(), c = nt(
398
394
  t,
399
395
  l,
400
396
  o.b,
401
397
  o.duration,
402
398
  0,
403
- b,
399
+ w,
404
400
  r.css
405
401
  ))), o) {
406
402
  if (R >= o.end)
407
- A(l = o.b, 1 - l), V(t, o.b, "end"), f || (o.b ? a() : --o.group.r || j(o.group.c)), o = null;
403
+ A(l = o.b, 1 - l), V(t, o.b, "end"), u || (o.b ? f() : --o.group.r || O(o.group.c)), o = null;
408
404
  else if (R >= o.start) {
409
405
  const yt = R - o.start;
410
- l = o.a + o.d * b(yt / o.duration), A(l, 1 - l);
406
+ l = o.a + o.d * w(yt / o.duration), A(l, 1 - l);
411
407
  }
412
408
  }
413
- return !!(o || f);
409
+ return !!(o || u);
414
410
  }));
415
411
  }
416
412
  return {
417
- run(c) {
413
+ run(a) {
418
414
  Q(r) ? Zt().then(() => {
419
- r = r({ direction: c ? "in" : "out" }), m(c);
420
- }) : m(c);
415
+ r = r({ direction: a ? "in" : "out" }), _(a);
416
+ }) : _(a);
421
417
  },
422
418
  end() {
423
- a(), o = f = null;
419
+ f(), o = u = null;
424
420
  }
425
421
  };
426
422
  }
427
- function ye(t) {
423
+ function ge(t) {
428
424
  return t?.length !== void 0 ? t : Array.from(t);
429
425
  }
430
426
  function Xt(t, e, n) {
431
427
  const { fragment: i, after_update: s } = t.$$;
432
- i && i.m(e, n), S(() => {
428
+ i && i.m(e, n), j(() => {
433
429
  const r = t.$$.on_mount.map(ft).filter(Q);
434
- t.$$.on_destroy ? t.$$.on_destroy.push(...r) : j(r), t.$$.on_mount = [];
435
- }), s.forEach(S);
430
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : O(r), t.$$.on_mount = [];
431
+ }), s.forEach(j);
436
432
  }
437
433
  function Yt(t, e) {
438
434
  const n = t.$$;
439
- n.fragment !== null && (Vt(n.after_update), j(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
435
+ n.fragment !== null && (Vt(n.after_update), O(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
440
436
  }
441
437
  function te(t, e) {
442
- t.$$.dirty[0] === -1 && (E.push(t), Ft(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
438
+ t.$$.dirty[0] === -1 && (L.push(t), qt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
443
439
  }
444
440
  function ee(t, e, n, i, s, r, l = null, o = [-1]) {
445
- const f = P;
441
+ const u = P;
446
442
  z(t);
447
- const u = t.$$ = {
443
+ const c = t.$$ = {
448
444
  fragment: null,
449
445
  ctx: [],
450
446
  // state
451
447
  props: r,
452
- update: k,
448
+ update: C,
453
449
  not_equal: s,
454
- bound: et(),
450
+ bound: tt(),
455
451
  // lifecycle
456
452
  on_mount: [],
457
453
  on_destroy: [],
458
454
  on_disconnect: [],
459
455
  before_update: [],
460
456
  after_update: [],
461
- context: new Map(e.context || (f ? f.$$.context : [])),
457
+ context: new Map(e.context || (u ? u.$$.context : [])),
462
458
  // everything else
463
- callbacks: et(),
459
+ callbacks: tt(),
464
460
  dirty: o,
465
461
  skip_bound: !1,
466
- root: e.target || f.$$.root
462
+ root: e.target || u.$$.root
467
463
  };
468
- l && l(u.root);
469
- let _ = !1;
470
- if (u.ctx = n ? n(t, e.props || {}, (a, g, ...m) => {
471
- const c = m.length ? m[0] : g;
472
- return u.ctx && s(u.ctx[a], u.ctx[a] = c) && (!u.skip_bound && u.bound[a] && u.bound[a](c), _ && te(t, a)), g;
473
- }) : [], u.update(), _ = !0, j(u.before_update), u.fragment = i ? i(u.ctx) : !1, e.target) {
464
+ l && l(c.root);
465
+ let $ = !1;
466
+ if (c.ctx = n ? n(t, e.props || {}, (f, h, ..._) => {
467
+ const a = _.length ? _[0] : h;
468
+ return c.ctx && s(c.ctx[f], c.ctx[f] = a) && (!c.skip_bound && c.bound[f] && c.bound[f](a), $ && te(t, f)), h;
469
+ }) : [], c.update(), $ = !0, O(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
474
470
  if (e.hydrate) {
475
- const a = Nt(e.target);
476
- u.fragment && u.fragment.l(a), a.forEach(O);
471
+ const f = Nt(e.target);
472
+ c.fragment && c.fragment.l(f), f.forEach(v);
477
473
  } else
478
- u.fragment && u.fragment.c();
474
+ c.fragment && c.fragment.c();
479
475
  e.intro && B(t.$$.fragment), Xt(t, e.target, e.anchor), p();
480
476
  }
481
- z(f);
477
+ z(u);
482
478
  }
483
- let gt;
484
- typeof HTMLElement == "function" && (gt = class extends HTMLElement {
479
+ let mt;
480
+ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
485
481
  /** The Svelte component constructor */
486
482
  $$ctor;
487
483
  /** Slots */
@@ -523,17 +519,17 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
523
519
  let r;
524
520
  return {
525
521
  c: function() {
526
- r = C("slot"), s !== "default" && y(r, "name", s);
522
+ r = x("slot"), s !== "default" && m(r, "name", s);
527
523
  },
528
524
  /**
529
525
  * @param {HTMLElement} target
530
526
  * @param {HTMLElement} [anchor]
531
527
  */
532
- m: function(f, u) {
533
- tt(f, r, u);
528
+ m: function(u, c) {
529
+ F(u, r, c);
534
530
  },
535
- d: function(f) {
536
- f && O(r);
531
+ d: function(u) {
532
+ u && v(r);
537
533
  }
538
534
  };
539
535
  };
@@ -628,7 +624,7 @@ function D(t, e, n, i) {
628
624
  }
629
625
  }
630
626
  function ne(t, e, n, i, s, r) {
631
- let l = class extends gt {
627
+ let l = class extends mt {
632
628
  constructor() {
633
629
  super(t, n, s), this.$$p_d = e;
634
630
  }
@@ -643,8 +639,8 @@ function ne(t, e, n, i, s, r) {
643
639
  get() {
644
640
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
645
641
  },
646
- set(f) {
647
- f = D(o, f, e), this.$$d[o] = f, this.$$c?.$set({ [o]: f });
642
+ set(u) {
643
+ u = D(o, u, e), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
648
644
  }
649
645
  });
650
646
  }), i.forEach((o) => {
@@ -675,7 +671,7 @@ class ie {
675
671
  $$set = void 0;
676
672
  /** @returns {void} */
677
673
  $destroy() {
678
- Yt(this, 1), this.$destroy = k;
674
+ Yt(this, 1), this.$destroy = C;
679
675
  }
680
676
  /**
681
677
  * @template {Extract<keyof Events, string>} K
@@ -685,7 +681,7 @@ class ie {
685
681
  */
686
682
  $on(e, n) {
687
683
  if (!Q(n))
688
- return k;
684
+ return C;
689
685
  const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
690
686
  return i.push(n), () => {
691
687
  const s = i.indexOf(n);
@@ -697,7 +693,7 @@ class ie {
697
693
  * @returns {void}
698
694
  */
699
695
  $set(e) {
700
- this.$$set && !bt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
696
+ this.$$set && !wt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
701
697
  }
702
698
  }
703
699
  const se = "4";
@@ -725,7 +721,7 @@ function ce(t, e, n) {
725
721
  });
726
722
  }
727
723
  }
728
- function ot(t, { delay: e = 0, duration: n = 400, easing: i = lt } = {}) {
724
+ function rt(t, { delay: e = 0, duration: n = 400, easing: i = ut } = {}) {
729
725
  const s = +getComputedStyle(t).opacity;
730
726
  return {
731
727
  delay: e,
@@ -734,106 +730,125 @@ function ot(t, { delay: e = 0, duration: n = 400, easing: i = lt } = {}) {
734
730
  css: (r) => `opacity: ${r * s}`
735
731
  };
736
732
  }
737
- function ue(t) {
738
- St(t, "svelte-2w7akv", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){#Modal{display:grid;place-items:center start;grid-template-rows:minmax(10vh, 1fr) auto minmax(5vh, 1fr)}.ModalContainer{grid-row:2;max-width:90%;max-height:80vh;overflow-y:auto;margin:auto}}");
733
+ function le(t) {
734
+ St(t, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
739
735
  }
740
- const le = (t) => ({}), ct = (t) => ({});
741
- function ut(t) {
742
- let e, n, i, s, r, l, o, f, u, _, a, g;
743
- const m = (
736
+ const ue = (t) => ({}), ot = (t) => ({});
737
+ function ct(t) {
738
+ let e, n, i, s, r, l, o, u, c = (
739
+ /*modaltype*/
740
+ t[3] !== "error" && lt(t)
741
+ );
742
+ const $ = (
744
743
  /*#slots*/
745
744
  t[12].content
746
- ), c = Ct(
747
- m,
745
+ ), f = Ct(
746
+ $,
748
747
  t,
749
748
  /*$$scope*/
750
749
  t[11],
751
- ct
750
+ ot
752
751
  );
753
752
  return {
754
753
  c() {
755
- e = C("div"), n = C("div"), i = C("div"), s = nt("svg"), r = nt("path"), l = Ot(), c && c.c(), y(r, "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"), y(r, "fill", "#111111"), y(s, "xmlns", "http://www.w3.org/2000/svg"), y(s, "width", "13"), y(s, "height", "13"), y(s, "viewBox", "0 0 13 13"), y(s, "fill", "none"), y(s, "class", "CloseButton"), y(i, "class", "ModalContainer"), y(i, "style", o = /*isvideo*/
756
- t[3] === "true" ? "height: 70%" : "height: auto"), y(n, "id", "Modal"), S(() => (
754
+ e = x("div"), n = x("div"), i = x("div"), c && c.c(), s = Ot(), f && f.c(), m(i, "class", "ModalContainer"), m(i, "style", r = /*modaltype*/
755
+ t[3] === "video" ? "height: 70%" : "height: auto"), m(n, "id", "Modal"), j(() => (
757
756
  /*div1_elementresize_handler*/
758
757
  t[14].call(n)
759
758
  ));
760
759
  },
761
- m(h, $) {
762
- tt(h, e, $), x(e, n), x(n, i), x(i, s), x(s, r), x(i, l), c && c.m(i, null), t[13](n), f = Bt(
760
+ m(h, _) {
761
+ F(h, e, _), M(e, n), M(n, i), c && c.m(i, null), M(i, s), f && f.m(i, null), t[13](n), l = Bt(
763
762
  n,
764
763
  /*div1_elementresize_handler*/
765
764
  t[14].bind(n)
766
- ), t[15](e), _ = !0, a || (g = Z(
767
- s,
768
- "click",
769
- /*closeModal*/
770
- t[7]
771
- ), a = !0);
765
+ ), t[15](e), u = !0;
772
766
  },
773
- p(h, $) {
774
- t = h, c && c.p && (!_ || $ & /*$$scope*/
767
+ p(h, _) {
768
+ t = h, /*modaltype*/
769
+ t[3] !== "error" ? c ? c.p(t, _) : (c = lt(t), c.c(), c.m(i, s)) : c && (c.d(1), c = null), f && f.p && (!u || _ & /*$$scope*/
775
770
  2048) && Et(
776
- c,
777
- m,
771
+ f,
772
+ $,
778
773
  t,
779
774
  /*$$scope*/
780
775
  t[11],
781
- _ ? vt(
782
- m,
776
+ u ? vt(
777
+ $,
783
778
  /*$$scope*/
784
779
  t[11],
785
- $,
786
- le
780
+ _,
781
+ ue
787
782
  ) : Lt(
788
783
  /*$$scope*/
789
784
  t[11]
790
785
  ),
791
- ct
792
- ), (!_ || $ & /*isvideo*/
793
- 8 && o !== (o = /*isvideo*/
794
- t[3] === "true" ? "height: 70%" : "height: auto")) && y(i, "style", o);
786
+ ot
787
+ ), (!u || _ & /*modaltype*/
788
+ 8 && r !== (r = /*modaltype*/
789
+ t[3] === "video" ? "height: 70%" : "height: auto")) && m(i, "style", r);
795
790
  },
796
791
  i(h) {
797
- _ || (B(c, h), h && S(() => {
798
- _ && (u || (u = rt(
792
+ u || (B(f, h), h && j(() => {
793
+ u && (o || (o = st(
799
794
  n,
800
- ot,
795
+ rt,
801
796
  /*duration*/
802
797
  t[4],
803
798
  !0
804
- )), u.run(1));
805
- }), _ = !0);
799
+ )), o.run(1));
800
+ }), u = !0);
806
801
  },
807
802
  o(h) {
808
- K(c, h), h && (u || (u = rt(
803
+ K(f, h), h && (o || (o = st(
809
804
  n,
810
- ot,
805
+ rt,
811
806
  /*duration*/
812
807
  t[4],
813
808
  !1
814
- )), u.run(0)), _ = !1;
809
+ )), o.run(0)), u = !1;
815
810
  },
816
811
  d(h) {
817
- h && O(e), c && c.d(h), t[13](null), f(), h && u && u.end(), t[15](null), a = !1, g();
812
+ h && v(e), c && c.d(), f && f.d(h), t[13](null), l(), h && o && o.end(), t[15](null);
813
+ }
814
+ };
815
+ }
816
+ function lt(t) {
817
+ let e, n, i, s;
818
+ return {
819
+ c() {
820
+ e = et("svg"), n = et("path"), m(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), m(n, "fill", "#111111"), m(e, "xmlns", "http://www.w3.org/2000/svg"), m(e, "width", "13"), m(e, "height", "13"), m(e, "viewBox", "0 0 13 13"), m(e, "fill", "none"), m(e, "class", "CloseButton");
821
+ },
822
+ m(r, l) {
823
+ F(r, e, l), M(e, n), i || (s = Z(
824
+ e,
825
+ "click",
826
+ /*closeModal*/
827
+ t[7]
828
+ ), i = !0);
829
+ },
830
+ p: C,
831
+ d(r) {
832
+ r && v(e), i = !1, s();
818
833
  }
819
834
  };
820
835
  }
821
836
  function fe(t) {
822
837
  let e, n, i = (
823
838
  /*show*/
824
- t[2] === "true" && ut(t)
839
+ t[2] === "true" && ct(t)
825
840
  );
826
841
  return {
827
842
  c() {
828
843
  i && i.c(), e = At();
829
844
  },
830
845
  m(s, r) {
831
- i && i.m(s, r), tt(s, e, r), n = !0;
846
+ i && i.m(s, r), F(s, e, r), n = !0;
832
847
  },
833
848
  p(s, [r]) {
834
849
  /*show*/
835
850
  s[2] === "true" ? i ? (i.p(s, r), r & /*show*/
836
- 4 && B(i, 1)) : (i = ut(s), i.c(), B(i, 1), i.m(e.parentNode, e)) : i && (Gt(), K(i, 1, 1, () => {
851
+ 4 && B(i, 1)) : (i = ct(s), i.c(), B(i, 1), i.m(e.parentNode, e)) : i && (Gt(), K(i, 1, 1, () => {
837
852
  i = null;
838
853
  }), Kt());
839
854
  },
@@ -844,75 +859,75 @@ function fe(t) {
844
859
  K(i), n = !1;
845
860
  },
846
861
  d(s) {
847
- s && O(e), i && i.d(s);
862
+ s && v(e), i && i.d(s);
848
863
  }
849
864
  };
850
865
  }
851
866
  function ae(t, e, n) {
852
- let { $$slots: i = {}, $$scope: s } = e, { mbsource: r } = e, { clientstyling: l } = e, { clientstylingurl: o } = e, { show: f } = e, { isvideo: u = "" } = e, { duration: _ = 200 } = e, { width: a } = e, { height: g } = e, m, c;
853
- const h = () => {
854
- window.postMessage({ type: "CloseModal" }, window.location.href);
867
+ let { $$slots: i = {}, $$scope: s } = e, { mbsource: r } = e, { clientstyling: l } = e, { clientstylingurl: o } = e, { show: u } = e, { modaltype: c = "" } = e, { duration: $ = 200 } = e, { width: f } = e, { height: h } = e, _, a;
868
+ const y = () => {
869
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
855
870
  };
856
- Ut(() => () => {
871
+ Wt(() => () => {
857
872
  });
858
- function $(d) {
873
+ function g(d) {
859
874
  W[d ? "unshift" : "push"](() => {
860
- m = d, n(6, m);
875
+ _ = d, n(6, _);
861
876
  });
862
877
  }
863
- function b() {
864
- a = this.clientWidth, g = this.clientHeight, n(0, a), n(1, g);
878
+ function w() {
879
+ f = this.clientWidth, h = this.clientHeight, n(0, f), n(1, h);
865
880
  }
866
881
  function A(d) {
867
882
  W[d ? "unshift" : "push"](() => {
868
- c = d, n(5, c);
883
+ a = d, n(5, a);
869
884
  });
870
885
  }
871
886
  return t.$$set = (d) => {
872
- "mbsource" in d && n(8, r = d.mbsource), "clientstyling" in d && n(9, l = d.clientstyling), "clientstylingurl" in d && n(10, o = d.clientstylingurl), "show" in d && n(2, f = d.show), "isvideo" in d && n(3, u = d.isvideo), "duration" in d && n(4, _ = d.duration), "width" in d && n(0, a = d.width), "height" in d && n(1, g = d.height), "$$scope" in d && n(11, s = d.$$scope);
887
+ "mbsource" in d && n(8, r = d.mbsource), "clientstyling" in d && n(9, l = d.clientstyling), "clientstylingurl" in d && n(10, o = d.clientstylingurl), "show" in d && n(2, u = d.show), "modaltype" in d && n(3, c = d.modaltype), "duration" in d && n(4, $ = d.duration), "width" in d && n(0, f = d.width), "height" in d && n(1, h = d.height), "$$scope" in d && n(11, s = d.$$scope);
873
888
  }, t.$$.update = () => {
874
889
  t.$$.dirty & /*clientstyling, customStylingContainer*/
875
- 544 && l && c && re(c, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
876
- 1056 && o && c && oe(c, o), t.$$.dirty & /*mbsource, customStylingContainer*/
877
- 288 && r && c && ce(c, `${r}.Style`);
890
+ 544 && l && a && re(a, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
891
+ 1056 && o && a && oe(a, o), t.$$.dirty & /*mbsource, customStylingContainer*/
892
+ 288 && r && a && ce(a, `${r}.Style`);
878
893
  }, [
879
- a,
880
- g,
881
894
  f,
895
+ h,
882
896
  u,
883
- _,
884
897
  c,
885
- m,
886
- h,
898
+ $,
899
+ a,
900
+ _,
901
+ y,
887
902
  r,
888
903
  l,
889
904
  o,
890
905
  s,
891
906
  i,
892
- $,
893
- b,
907
+ g,
908
+ w,
894
909
  A
895
910
  ];
896
911
  }
897
- class mt extends ie {
912
+ class gt extends ie {
898
913
  constructor(e) {
899
914
  super(), ee(
900
915
  this,
901
916
  e,
902
917
  ae,
903
918
  fe,
904
- wt,
919
+ bt,
905
920
  {
906
921
  mbsource: 8,
907
922
  clientstyling: 9,
908
923
  clientstylingurl: 10,
909
924
  show: 2,
910
- isvideo: 3,
925
+ modaltype: 3,
911
926
  duration: 4,
912
927
  width: 0,
913
928
  height: 1
914
929
  },
915
- ue
930
+ le
916
931
  );
917
932
  }
918
933
  get mbsource() {
@@ -939,11 +954,11 @@ class mt extends ie {
939
954
  set show(e) {
940
955
  this.$$set({ show: e }), p();
941
956
  }
942
- get isvideo() {
957
+ get modaltype() {
943
958
  return this.$$.ctx[3];
944
959
  }
945
- set isvideo(e) {
946
- this.$$set({ isvideo: e }), p();
960
+ set modaltype(e) {
961
+ this.$$set({ modaltype: e }), p();
947
962
  }
948
963
  get duration() {
949
964
  return this.$$.ctx[4];
@@ -964,41 +979,41 @@ class mt extends ie {
964
979
  this.$$set({ height: e }), p();
965
980
  }
966
981
  }
967
- ne(mt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, isvideo: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
968
- const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
982
+ ne(gt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
983
+ const ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
969
984
  __proto__: null,
970
- default: mt
985
+ default: gt
971
986
  }, Symbol.toStringTag, { value: "Module" }));
972
987
  export {
973
988
  oe as A,
974
989
  ce as B,
975
990
  re as C,
976
- pe as D,
991
+ ye as D,
977
992
  ie as S,
978
993
  xt as a,
979
994
  ee as b,
980
995
  ne as c,
981
996
  St as d,
982
- O as e,
997
+ v as e,
983
998
  p as f,
984
- tt as g,
985
- C as h,
999
+ F as g,
1000
+ x as h,
986
1001
  Q as i,
987
- y as j,
988
- he as k,
1002
+ m as j,
1003
+ de as k,
989
1004
  W as l,
990
- $e as m,
991
- k as n,
992
- Ut as o,
993
- ye as p,
994
- _e as q,
995
- j as r,
996
- wt as s,
1005
+ _e as m,
1006
+ C as n,
1007
+ Wt as o,
1008
+ ge as p,
1009
+ he as q,
1010
+ O as r,
1011
+ bt as s,
997
1012
  me as t,
998
- de as u,
999
- x as v,
1000
- Ot as w,
1013
+ Ot as u,
1014
+ At as v,
1015
+ M as w,
1001
1016
  Z as x,
1002
- ge as y,
1017
+ $e as y,
1003
1018
  $t as z
1004
1019
  };