@everymatrix/cashier-method-details 1.92.3 → 1.92.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/components/CashierError-5dDtryj5.cjs +1 -0
  2. package/components/{CashierError-CrvHbmc9.js → CashierError-64w0bFkx.js} +152 -148
  3. package/components/{CashierError-Bs9L1-OX.js → CashierError-lk1NRPRm.js} +157 -137
  4. package/components/{CashierMethodDetails-D6Hz1311.cjs → CashierMethodDetails-B4tukYFA.cjs} +9 -9
  5. package/components/{CashierMethodDetails-_TA2tIR5.js → CashierMethodDetails-CANUgxSm.js} +1757 -1756
  6. package/components/{CashierMethodDetails-C_L9hHNA.js → CashierMethodDetails-ChfVhFMG.js} +1577 -1576
  7. package/components/{CashierModal-B1KoqOss.js → CashierModal-CYDtgsjF.js} +1 -1
  8. package/components/{CashierModal-CmuOuAlF.cjs → CashierModal-Da-sk2zU.cjs} +1 -1
  9. package/components/{CashierModal-BdfIDZ2x.js → CashierModal-hyp7eD8X.js} +1 -1
  10. package/components/{CashierNotifications-DYYn7cjB.cjs → CashierNotifications-BNopxxhP.cjs} +1 -1
  11. package/components/{CashierNotifications-R15AhefH.js → CashierNotifications-DhexHttZ.js} +1 -1
  12. package/components/{CashierNotifications-DGaolu_U.js → CashierNotifications-WXql8dok.js} +1 -1
  13. package/components/{CashierReceiptPage-DH1sBCAk.js → CashierReceiptPage-4__w6DXp.js} +1 -1
  14. package/components/{CashierReceiptPage-CWsNRkLt.js → CashierReceiptPage-7dkH8ggq.js} +1 -1
  15. package/components/{CashierReceiptPage-BTkC3aRZ.cjs → CashierReceiptPage-B4y1ZCTx.cjs} +1 -1
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-C20XMR6e.cjs +0 -1
@@ -1,14 +1,30 @@
1
- import { o as Z, p as $, $ as ee, S as te, i as ie, s as ne, f as C, a as ae, q as I, d as h, r as P, u as W, v as x, w as O, x as S, c as v, e as b, g as k, h as D, j as T, y as re, z as oe, A as R, b as M, t as A, l as se, k as le, B as q, C as B, D as ue, E as ce, F as de, G as me, m as fe } from "./CashierMethodDetails-_TA2tIR5.js";
1
+ var R = (i, e, t) => new Promise((r, o) => {
2
+ var a = (c) => {
3
+ try {
4
+ l(t.next(c));
5
+ } catch (d) {
6
+ o(d);
7
+ }
8
+ }, n = (c) => {
9
+ try {
10
+ l(t.throw(c));
11
+ } catch (d) {
12
+ o(d);
13
+ }
14
+ }, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(a, n);
15
+ l((t = t.apply(i, e)).next());
16
+ });
17
+ import { o as ee, p as te, $ as ie, S as ne, i as ae, s as re, f as T, a as oe, q as A, d as h, r as I, u as P, v as W, w as x, x as O, c as v, e as b, g as k, h as L, j as C, y as se, z as le, A as B, b as D, t as M, l as ue, k as ce, B as N, C as S, D as de, E as me, F as fe, G as pe, m as ye } from "./CashierMethodDetails-CANUgxSm.js";
2
18
  import "../stencil/ui-image-CP8Lp7fB.js";
3
- function F(i, e) {
4
- Z(i, e);
19
+ function q(i, e) {
20
+ ee(i, e);
5
21
  }
6
- function pe(i) {
7
- $({
22
+ function ge(i) {
23
+ te({
8
24
  fallbackLocale: "en"
9
- }), ee.set(i);
25
+ }), ie.set(i);
10
26
  }
11
- const U = {
27
+ const F = {
12
28
  en: {
13
29
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
14
30
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -155,63 +171,63 @@ const U = {
155
171
  DuplicatePaymentAccount: "Le compte que vous avez utilisé pour demander un retrait a été jugé suspect, et votre transaction a été annulée pour des raisons de sécurité. Veuillez contacter notre support en direct pour plus de détails."
156
172
  }
157
173
  };
158
- function ye(i) {
159
- ae(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
174
+ function he(i) {
175
+ oe(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
160
176
  }
161
- const ge = (i) => ({}), H = (i) => ({}), he = (i) => ({}), K = (i) => ({}), ve = (i) => ({}), G = (i) => ({}), be = (i) => ({}), j = (i) => ({ class: "CashierErrorIcon" });
162
- function Y(i) {
177
+ const ve = (i) => ({}), U = (i) => ({}), be = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), K = (i) => ({}), _e = (i) => ({}), G = (i) => ({ class: "CashierErrorIcon" });
178
+ function j(i) {
163
179
  let e, t;
164
180
  return {
165
181
  c() {
166
- e = k("ui-image"), q(e.src, t = `${/*assetsurl*/
167
- i[0]}/error-general-icon.png`) || B(e, "src", t), B(e, "width", "300px"), B(e, "alt", "error");
182
+ e = k("ui-image"), N(e.src, t = `${/*assetsurl*/
183
+ i[0]}/error-general-icon.png`) || S(e, "src", t), S(e, "width", "300px"), S(e, "alt", "error");
168
184
  },
169
185
  m(r, o) {
170
186
  v(r, e, o);
171
187
  },
172
188
  p(r, o) {
173
189
  o & /*assetsurl*/
174
- 1 && !q(e.src, t = `${/*assetsurl*/
175
- r[0]}/error-general-icon.png`) && B(e, "src", t);
190
+ 1 && !N(e.src, t = `${/*assetsurl*/
191
+ r[0]}/error-general-icon.png`) && S(e, "src", t);
176
192
  },
177
193
  d(r) {
178
194
  r && h(e);
179
195
  }
180
196
  };
181
197
  }
182
- function ke(i) {
198
+ function ze(i) {
183
199
  let e, t = (
184
200
  /*assetsurl*/
185
- i[0] && Y(i)
201
+ i[0] && j(i)
186
202
  );
187
203
  return {
188
204
  c() {
189
- t && t.c(), e = R();
205
+ t && t.c(), e = B();
190
206
  },
191
207
  m(r, o) {
192
208
  t && t.m(r, o), v(r, e, o);
193
209
  },
194
210
  p(r, o) {
195
211
  /*assetsurl*/
196
- r[0] ? t ? t.p(r, o) : (t = Y(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
212
+ r[0] ? t ? t.p(r, o) : (t = j(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
197
213
  },
198
214
  d(r) {
199
215
  r && h(e), t && t.d(r);
200
216
  }
201
217
  };
202
218
  }
203
- function J(i) {
219
+ function Y(i) {
204
220
  let e;
205
221
  function t(a, n) {
206
222
  return (
207
223
  /*depositWageringAmount*/
208
- a[3] < 0 ? ze : _e
224
+ a[3] < 0 ? Te : Ee
209
225
  );
210
226
  }
211
227
  let r = t(i), o = r(i);
212
228
  return {
213
229
  c() {
214
- o.c(), e = R();
230
+ o.c(), e = B();
215
231
  },
216
232
  m(a, n) {
217
233
  o.m(a, n), v(a, e, n);
@@ -224,17 +240,17 @@ function J(i) {
224
240
  }
225
241
  };
226
242
  }
227
- function _e(i) {
243
+ function Ee(i) {
228
244
  let e, t = (
229
245
  /*$_*/
230
246
  i[5]("DepositWageringLimitText") + ""
231
247
  ), r, o, a = (
232
248
  /*depositWageringAmount*/
233
- i[3] > 0 && X(i)
249
+ i[3] > 0 && J(i)
234
250
  );
235
251
  return {
236
252
  c() {
237
- e = k("span"), r = A(t), o = D(), a && a.c(), T(e, "class", "CashierErrorText");
253
+ e = k("span"), r = M(t), o = L(), a && a.c(), C(e, "class", "CashierErrorText");
238
254
  },
239
255
  m(n, l) {
240
256
  v(n, e, l), b(e, r), b(e, o), a && a.m(e, null);
@@ -242,22 +258,22 @@ function _e(i) {
242
258
  p(n, l) {
243
259
  l & /*$_*/
244
260
  32 && t !== (t = /*$_*/
245
- n[5]("DepositWageringLimitText") + "") && M(r, t), /*depositWageringAmount*/
246
- n[3] > 0 ? a ? a.p(n, l) : (a = X(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
261
+ n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
262
+ n[3] > 0 ? a ? a.p(n, l) : (a = J(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
247
263
  },
248
264
  d(n) {
249
265
  n && h(e), a && a.d();
250
266
  }
251
267
  };
252
268
  }
253
- function ze(i) {
269
+ function Te(i) {
254
270
  let e, t, r = (
255
271
  /*$_*/
256
272
  i[5]("DepositWageringFetching") + ""
257
273
  ), o;
258
274
  return {
259
275
  c() {
260
- e = k("div"), t = k("span"), o = A(r), T(t, "class", "CashierErrorText LoadingText"), T(e, "class", "WageringFetch");
276
+ e = k("div"), t = k("span"), o = M(r), C(t, "class", "CashierErrorText LoadingText"), C(e, "class", "WageringFetch");
261
277
  },
262
278
  m(a, n) {
263
279
  v(a, e, n), b(e, t), b(t, o);
@@ -265,21 +281,21 @@ function ze(i) {
265
281
  p(a, n) {
266
282
  n & /*$_*/
267
283
  32 && r !== (r = /*$_*/
268
- a[5]("DepositWageringFetching") + "") && M(o, r);
284
+ a[5]("DepositWageringFetching") + "") && D(o, r);
269
285
  },
270
286
  d(a) {
271
287
  a && h(e);
272
288
  }
273
289
  };
274
290
  }
275
- function X(i) {
291
+ function J(i) {
276
292
  let e, t, r;
277
293
  return {
278
294
  c() {
279
- e = A(
295
+ e = M(
280
296
  /*depositWageringAmount*/
281
297
  i[3]
282
- ), t = D(), r = A(
298
+ ), t = L(), r = M(
283
299
  /*depositWageringCurrency*/
284
300
  i[4]
285
301
  );
@@ -289,12 +305,12 @@ function X(i) {
289
305
  },
290
306
  p(o, a) {
291
307
  a & /*depositWageringAmount*/
292
- 8 && M(
308
+ 8 && D(
293
309
  e,
294
310
  /*depositWageringAmount*/
295
311
  o[3]
296
312
  ), a & /*depositWageringCurrency*/
297
- 16 && M(
313
+ 16 && D(
298
314
  r,
299
315
  /*depositWageringCurrency*/
300
316
  o[4]
@@ -305,18 +321,18 @@ function X(i) {
305
321
  }
306
322
  };
307
323
  }
308
- function Ee(i) {
324
+ function Ce(i) {
309
325
  let e, t = (
310
326
  /*$_*/
311
327
  i[5](`${/*errorcode*/
312
328
  i[1] || "errorGeneralText"}`) + ""
313
329
  ), r, o, a, n = (
314
330
  /*errorcode*/
315
- i[1] == "DepositWageringLimit" && J(i)
331
+ i[1] == "DepositWageringLimit" && Y(i)
316
332
  );
317
333
  return {
318
334
  c() {
319
- e = k("span"), r = A(t), o = D(), n && n.c(), a = R(), T(e, "class", "CashierErrorText");
335
+ e = k("span"), r = M(t), o = L(), n && n.c(), a = B(), C(e, "class", "CashierErrorText");
320
336
  },
321
337
  m(l, c) {
322
338
  v(l, e, c), b(e, r), v(l, o, c), n && n.m(l, c), v(l, a, c);
@@ -325,25 +341,25 @@ function Ee(i) {
325
341
  c & /*$_, errorcode*/
326
342
  34 && t !== (t = /*$_*/
327
343
  l[5](`${/*errorcode*/
328
- l[1] || "errorGeneralText"}`) + "") && M(r, t), /*errorcode*/
329
- l[1] == "DepositWageringLimit" ? n ? n.p(l, c) : (n = J(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
344
+ l[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
345
+ l[1] == "DepositWageringLimit" ? n ? n.p(l, c) : (n = Y(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
330
346
  },
331
347
  d(l) {
332
348
  l && (h(e), h(o), h(a)), n && n.d(l);
333
349
  }
334
350
  };
335
351
  }
336
- function Ce(i) {
352
+ function we(i) {
337
353
  let e, t, r = (
338
354
  /*$_*/
339
355
  i[5]("errorGeneralButton") + ""
340
356
  ), o, a, n;
341
357
  return {
342
358
  c() {
343
- e = k("button"), t = k("span"), o = A(r), T(e, "class", "CashierErrorButton");
359
+ e = k("button"), t = k("span"), o = M(r), C(e, "class", "CashierErrorButton");
344
360
  },
345
361
  m(l, c) {
346
- v(l, e, c), b(e, t), b(t, o), a || (n = se(
362
+ v(l, e, c), b(e, t), b(t, o), a || (n = ue(
347
363
  e,
348
364
  "click",
349
365
  /*close*/
@@ -353,168 +369,172 @@ function Ce(i) {
353
369
  p(l, c) {
354
370
  c & /*$_*/
355
371
  32 && r !== (r = /*$_*/
356
- l[5]("errorGeneralButton") + "") && M(o, r);
372
+ l[5]("errorGeneralButton") + "") && D(o, r);
357
373
  },
358
374
  d(l) {
359
375
  l && h(e), a = !1, n();
360
376
  }
361
377
  };
362
378
  }
363
- function Te(i) {
379
+ function Le(i) {
364
380
  let e, t, r, o, a, n;
365
381
  const l = (
366
382
  /*#slots*/
367
383
  i[13].icon
368
- ), c = I(
384
+ ), c = A(
369
385
  l,
370
386
  i,
371
387
  /*$$scope*/
372
388
  i[12],
373
- j
374
- ), m = c || ke(i), _ = (
389
+ G
390
+ ), d = c || ze(i), _ = (
375
391
  /*#slots*/
376
392
  i[13].title
377
- ), f = I(
393
+ ), f = A(
378
394
  _,
379
395
  i,
380
396
  /*$$scope*/
381
397
  i[12],
382
- G
398
+ K
383
399
  ), z = (
384
400
  /*#slots*/
385
401
  i[13].text
386
- ), p = I(
402
+ ), p = A(
387
403
  z,
388
404
  i,
389
405
  /*$$scope*/
390
406
  i[12],
391
- K
392
- ), y = p || Ee(i), w = (
407
+ H
408
+ ), y = p || Ce(i), w = (
393
409
  /*#slots*/
394
410
  i[13].button
395
- ), E = I(
411
+ ), E = A(
396
412
  w,
397
413
  i,
398
414
  /*$$scope*/
399
415
  i[12],
400
- H
401
- ), g = E || Ce(i);
416
+ U
417
+ ), g = E || we(i);
402
418
  return {
403
419
  c() {
404
- e = k("div"), t = k("div"), m && m.c(), r = D(), f && f.c(), o = D(), y && y.c(), a = D(), g && g.c(), T(t, "class", "CashierErrorContent"), T(e, "class", "CashierError");
420
+ e = k("div"), t = k("div"), d && d.c(), r = L(), f && f.c(), o = L(), y && y.c(), a = L(), g && g.c(), C(t, "class", "CashierErrorContent"), C(e, "class", "CashierError");
405
421
  },
406
- m(s, d) {
407
- v(s, e, d), b(e, t), m && m.m(t, null), b(t, r), f && f.m(t, null), b(t, o), y && y.m(t, null), b(t, a), g && g.m(t, null), i[14](e), n = !0;
422
+ m(s, m) {
423
+ v(s, e, m), b(e, t), d && d.m(t, null), b(t, r), f && f.m(t, null), b(t, o), y && y.m(t, null), b(t, a), g && g.m(t, null), i[14](e), n = !0;
408
424
  },
409
- p(s, [d]) {
410
- c ? c.p && (!n || d & /*$$scope*/
411
- 4096) && x(
425
+ p(s, [m]) {
426
+ c ? c.p && (!n || m & /*$$scope*/
427
+ 4096) && W(
412
428
  c,
413
429
  l,
414
430
  s,
415
431
  /*$$scope*/
416
432
  s[12],
417
- n ? S(
433
+ n ? O(
418
434
  l,
419
435
  /*$$scope*/
420
436
  s[12],
421
- d,
422
- be
423
- ) : O(
437
+ m,
438
+ _e
439
+ ) : x(
424
440
  /*$$scope*/
425
441
  s[12]
426
442
  ),
427
- j
428
- ) : m && m.p && (!n || d & /*assetsurl*/
429
- 1) && m.p(s, n ? d : -1), f && f.p && (!n || d & /*$$scope*/
430
- 4096) && x(
443
+ G
444
+ ) : d && d.p && (!n || m & /*assetsurl*/
445
+ 1) && d.p(s, n ? m : -1), f && f.p && (!n || m & /*$$scope*/
446
+ 4096) && W(
431
447
  f,
432
448
  _,
433
449
  s,
434
450
  /*$$scope*/
435
451
  s[12],
436
- n ? S(
452
+ n ? O(
437
453
  _,
438
454
  /*$$scope*/
439
455
  s[12],
440
- d,
441
- ve
442
- ) : O(
456
+ m,
457
+ ke
458
+ ) : x(
443
459
  /*$$scope*/
444
460
  s[12]
445
461
  ),
446
- G
447
- ), p ? p.p && (!n || d & /*$$scope*/
448
- 4096) && x(
462
+ K
463
+ ), p ? p.p && (!n || m & /*$$scope*/
464
+ 4096) && W(
449
465
  p,
450
466
  z,
451
467
  s,
452
468
  /*$$scope*/
453
469
  s[12],
454
- n ? S(
470
+ n ? O(
455
471
  z,
456
472
  /*$$scope*/
457
473
  s[12],
458
- d,
459
- he
460
- ) : O(
474
+ m,
475
+ be
476
+ ) : x(
461
477
  /*$$scope*/
462
478
  s[12]
463
479
  ),
464
- K
465
- ) : y && y.p && (!n || d & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
466
- 58) && y.p(s, n ? d : -1), E ? E.p && (!n || d & /*$$scope*/
467
- 4096) && x(
480
+ H
481
+ ) : y && y.p && (!n || m & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
482
+ 58) && y.p(s, n ? m : -1), E ? E.p && (!n || m & /*$$scope*/
483
+ 4096) && W(
468
484
  E,
469
485
  w,
470
486
  s,
471
487
  /*$$scope*/
472
488
  s[12],
473
- n ? S(
489
+ n ? O(
474
490
  w,
475
491
  /*$$scope*/
476
492
  s[12],
477
- d,
478
- ge
479
- ) : O(
493
+ m,
494
+ ve
495
+ ) : x(
480
496
  /*$$scope*/
481
497
  s[12]
482
498
  ),
483
- H
484
- ) : g && g.p && (!n || d & /*$_*/
485
- 32) && g.p(s, n ? d : -1);
499
+ U
500
+ ) : g && g.p && (!n || m & /*$_*/
501
+ 32) && g.p(s, n ? m : -1);
486
502
  },
487
503
  i(s) {
488
- n || (W(m, s), W(f, s), W(y, s), W(g, s), n = !0);
504
+ n || (P(d, s), P(f, s), P(y, s), P(g, s), n = !0);
489
505
  },
490
506
  o(s) {
491
- P(m, s), P(f, s), P(y, s), P(g, s), n = !1;
507
+ I(d, s), I(f, s), I(y, s), I(g, s), n = !1;
492
508
  },
493
509
  d(s) {
494
- s && h(e), m && m.d(s), f && f.d(s), y && y.d(s), g && g.d(s), i[14](null);
510
+ s && h(e), d && d.d(s), f && f.d(s), y && y.d(s), g && g.d(s), i[14](null);
495
511
  }
496
512
  };
497
513
  }
498
- function we(i, e, t) {
514
+ function De(i, e, t) {
499
515
  let r;
500
- re(i, ue, (u) => t(5, r = u));
501
- let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: c = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, E;
516
+ se(i, de, (u) => t(5, r = u));
517
+ let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: c = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, E;
502
518
  const g = () => {
503
- pe(l);
504
- }, s = () => {
505
- let u = new URL(f);
506
- fetch(u).then((L) => L.json()).then((L) => {
507
- Object.keys(L).forEach((N) => {
508
- F(N, L[N]);
509
- });
510
- }).catch((L) => {
511
- console.error(L);
512
- });
513
- };
514
- Object.keys(U).forEach((u) => {
515
- F(u, U[u]);
519
+ ge(l);
520
+ }, s = () => R(this, null, function* () {
521
+ if (f)
522
+ try {
523
+ const u = yield fetch(f);
524
+ if (!u.ok)
525
+ throw new Error(`HTTP error! status: ${u.status}`);
526
+ const Q = yield u.json();
527
+ Object.entries(Q).forEach(([Z, $]) => {
528
+ q(Z, $);
529
+ });
530
+ } catch (u) {
531
+ console.error(u);
532
+ }
533
+ });
534
+ Object.keys(F).forEach((u) => {
535
+ q(u, F[u]);
516
536
  });
517
- const d = () => {
537
+ const m = () => {
518
538
  window.postMessage({ type: "ErrorClose" }, window.location.href);
519
539
  }, V = (u) => {
520
540
  if (u.data)
@@ -524,22 +544,22 @@ function we(i, e, t) {
524
544
  break;
525
545
  }
526
546
  };
527
- oe(() => (window.addEventListener("message", V, !1), () => {
547
+ le(() => (window.addEventListener("message", V, !1), () => {
528
548
  window.removeEventListener("message", V);
529
549
  }));
530
- function Q(u) {
531
- le[u ? "unshift" : "push"](() => {
550
+ function X(u) {
551
+ ce[u ? "unshift" : "push"](() => {
532
552
  p = u, t(2, p);
533
553
  });
534
554
  }
535
555
  return i.$$set = (u) => {
536
- "assetsurl" in u && t(0, n = u.assetsurl), "lang" in u && t(7, l = u.lang), "errorcode" in u && t(1, c = u.errorcode), "clientstyling" in u && t(8, m = u.clientstyling), "clientstylingurl" in u && t(9, _ = u.clientstylingurl), "translationurl" in u && t(10, f = u.translationurl), "mbsource" in u && t(11, z = u.mbsource), "$$scope" in u && t(12, a = u.$$scope);
556
+ "assetsurl" in u && t(0, n = u.assetsurl), "lang" in u && t(7, l = u.lang), "errorcode" in u && t(1, c = u.errorcode), "clientstyling" in u && t(8, d = u.clientstyling), "clientstylingurl" in u && t(9, _ = u.clientstylingurl), "translationurl" in u && t(10, f = u.translationurl), "mbsource" in u && t(11, z = u.mbsource), "$$scope" in u && t(12, a = u.$$scope);
537
557
  }, i.$$.update = () => {
538
558
  i.$$.dirty & /*lang*/
539
559
  128 && l && g(), i.$$.dirty & /*clientstyling, customStylingContainer*/
540
- 260 && m && p && ce(p, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
541
- 516 && _ && p && de(p, _), i.$$.dirty & /*mbsource, customStylingContainer*/
542
- 2052 && z && p && me(p, `${z}.Style`, y), i.$$.dirty & /*translationurl*/
560
+ 260 && d && p && me(p, d), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
561
+ 516 && _ && p && fe(p, _), i.$$.dirty & /*mbsource, customStylingContainer*/
562
+ 2052 && z && p && pe(p, `${z}.Style`, y), i.$$.dirty & /*translationurl*/
543
563
  1024 && f && s();
544
564
  }, [
545
565
  n,
@@ -548,25 +568,25 @@ function we(i, e, t) {
548
568
  w,
549
569
  E,
550
570
  r,
551
- d,
552
- l,
553
571
  m,
572
+ l,
573
+ d,
554
574
  _,
555
575
  f,
556
576
  z,
557
577
  a,
558
578
  o,
559
- Q
579
+ X
560
580
  ];
561
581
  }
562
- class Le extends te {
582
+ class Me extends ne {
563
583
  constructor(e) {
564
- super(), ie(
584
+ super(), ae(
565
585
  this,
566
586
  e,
567
- we,
568
- Te,
569
- ne,
587
+ De,
588
+ Le,
589
+ re,
570
590
  {
571
591
  assetsurl: 0,
572
592
  lang: 7,
@@ -576,53 +596,53 @@ class Le extends te {
576
596
  translationurl: 10,
577
597
  mbsource: 11
578
598
  },
579
- ye
599
+ he
580
600
  );
581
601
  }
582
602
  get assetsurl() {
583
603
  return this.$$.ctx[0];
584
604
  }
585
605
  set assetsurl(e) {
586
- this.$$set({ assetsurl: e }), C();
606
+ this.$$set({ assetsurl: e }), T();
587
607
  }
588
608
  get lang() {
589
609
  return this.$$.ctx[7];
590
610
  }
591
611
  set lang(e) {
592
- this.$$set({ lang: e }), C();
612
+ this.$$set({ lang: e }), T();
593
613
  }
594
614
  get errorcode() {
595
615
  return this.$$.ctx[1];
596
616
  }
597
617
  set errorcode(e) {
598
- this.$$set({ errorcode: e }), C();
618
+ this.$$set({ errorcode: e }), T();
599
619
  }
600
620
  get clientstyling() {
601
621
  return this.$$.ctx[8];
602
622
  }
603
623
  set clientstyling(e) {
604
- this.$$set({ clientstyling: e }), C();
624
+ this.$$set({ clientstyling: e }), T();
605
625
  }
606
626
  get clientstylingurl() {
607
627
  return this.$$.ctx[9];
608
628
  }
609
629
  set clientstylingurl(e) {
610
- this.$$set({ clientstylingurl: e }), C();
630
+ this.$$set({ clientstylingurl: e }), T();
611
631
  }
612
632
  get translationurl() {
613
633
  return this.$$.ctx[10];
614
634
  }
615
635
  set translationurl(e) {
616
- this.$$set({ translationurl: e }), C();
636
+ this.$$set({ translationurl: e }), T();
617
637
  }
618
638
  get mbsource() {
619
639
  return this.$$.ctx[11];
620
640
  }
621
641
  set mbsource(e) {
622
- this.$$set({ mbsource: e }), C();
642
+ this.$$set({ mbsource: e }), T();
623
643
  }
624
644
  }
625
- fe(Le, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
645
+ ye(Me, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
626
646
  export {
627
- Le as default
647
+ Me as default
628
648
  };