@everymatrix/cashier-page 1.86.3 → 1.86.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.
Files changed (83) hide show
  1. package/components/{CashierCarousel-BhLbwlL5.js → CashierCarousel-BNKjZ4dF.js} +1165 -1144
  2. package/components/CashierCarousel-CecQbbdW.cjs +23 -0
  3. package/components/{CashierCarousel-Bwhda3Gl.js → CashierCarousel-D8MiOwuE.js} +1332 -1311
  4. package/components/{CashierError-CXwvUOLy.js → CashierError-7qg__v0Z.js} +40 -40
  5. package/components/{CashierError-D4Au4WNB.cjs → CashierError-BorUJmCn.cjs} +1 -1
  6. package/components/{CashierError-CXcO-Kju.js → CashierError-DZSJKCbW.js} +40 -40
  7. package/components/{CashierHeader-CmAjJv-w.cjs → CashierHeader-B3b8zbwP.cjs} +1 -1
  8. package/components/{CashierHeader-DRj1BUdj.js → CashierHeader-B9Y-DaUB.js} +56 -56
  9. package/components/{CashierHeader-BgAqvq1Q.js → CashierHeader-CzpZDjFX.js} +60 -60
  10. package/components/{CashierIframeRedirect-DmvuwOL2.js → CashierIframeRedirect-B_A79AFN.js} +24 -24
  11. package/components/{CashierIframeRedirect-Ddt7NW02.cjs → CashierIframeRedirect-YYamzRsf.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-B76kjw0o.js → CashierIframeRedirect-aTaiu0hG.js} +24 -24
  13. package/components/{CashierMethodDetails-BX_W3rwH.js → CashierMethodDetails-Bxh5WhVb.js} +151 -151
  14. package/components/{CashierMethodDetails-i7grZPp4.js → CashierMethodDetails-BzVSr2on.js} +305 -305
  15. package/components/{CashierMethodDetails-DmvyMFjk.cjs → CashierMethodDetails-C1kjc4-Q.cjs} +2 -2
  16. package/components/{CashierMethodsList-B6tMxcnh.js → CashierMethodsList-CBnuQYXc.js} +48 -48
  17. package/components/{CashierMethodsList-DSq72RRw.js → CashierMethodsList-CLQK5Xcn.js} +80 -80
  18. package/components/{CashierMethodsList-LHoZgwVR.cjs → CashierMethodsList-D9ypDDJW.cjs} +1 -1
  19. package/components/{CashierModal-CTYxaPKG.js → CashierModal-BE9c03E8.js} +56 -56
  20. package/components/{CashierModal-C845c3D0.cjs → CashierModal-Diij1t-w.cjs} +1 -1
  21. package/components/{CashierModal-ndVMjksn.js → CashierModal-R6fQk7sI.js} +69 -69
  22. package/components/{CashierNotifications-Bp4KJnpm.js → CashierNotifications-5EjGguMj.js} +34 -34
  23. package/components/{CashierNotifications-tfTPEiSk.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
  24. package/components/{CashierNotifications-JNstA5Yb.js → CashierNotifications-mhDeZtGd.js} +34 -34
  25. package/components/{CashierPage-Bd71Nhaq.js → CashierPage-BREFnfc1.js} +89 -89
  26. package/components/{CashierPage-CHtYMgc0.cjs → CashierPage-DcE7E_Wf.cjs} +1 -1
  27. package/components/{CashierPage-4nTfbT_j.js → CashierPage-y5YsPxSa.js} +142 -142
  28. package/components/{CashierReceiptPage-CnyLmUmL.js → CashierReceiptPage-BbHKdDra.js} +97 -97
  29. package/components/{CashierReceiptPage-DV7Iz4wR.js → CashierReceiptPage-CNwhHWwV.js} +97 -97
  30. package/components/{CashierReceiptPage-HRthn--H.cjs → CashierReceiptPage-DGAjOoFe.cjs} +1 -1
  31. package/components/{CashierSessionExpirationModal-Ckhir3qN.cjs → CashierSessionExpirationModal-33ygvBxj.cjs} +2 -2
  32. package/components/{CashierSessionExpirationModal-DM8-SPd3.js → CashierSessionExpirationModal-BQujD7Vd.js} +90 -99
  33. package/components/{CashierSessionExpirationModal-CvYI4jUg.js → CashierSessionExpirationModal-D6h6euRq.js} +110 -119
  34. package/components/{CashierSpinner-CeX51xPH.js → CashierSpinner-CYSebSGZ.js} +17 -17
  35. package/components/{CashierSpinner-a2VW8q1r.js → CashierSpinner-DIyI0RD1.js} +17 -17
  36. package/components/{CashierSpinner-ODmoTC6W.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
  37. package/components/{CashierStepUp-CjnvqYJo.cjs → CashierStepUp-B9H7E8wY.cjs} +1 -1
  38. package/components/{CashierStepUp-5um8gbUX.js → CashierStepUp-DEb05cBS.js} +66 -66
  39. package/components/{CashierStepUp-CyO7gmgP.js → CashierStepUp-DnvNxlcq.js} +83 -83
  40. package/components/{CashierTransactionHistory-Cm3ikVPK.js → CashierTransactionHistory-ButX2_sB.js} +84 -84
  41. package/components/{CashierTransactionHistory-5JNtVHcj.js → CashierTransactionHistory-CX3RviXD.js} +115 -115
  42. package/components/{CashierTransactionHistory-CmgO6bXN.cjs → CashierTransactionHistory-D8cuhIj_.cjs} +1 -1
  43. package/components/{CashierVerifications-hID6hjDs.js → CashierVerifications-CPUhZGV4.js} +37 -37
  44. package/components/{CashierVerifications-DkayuISY.cjs → CashierVerifications-DPeQTcCN.cjs} +1 -1
  45. package/components/{CashierVerifications-BmZYiJaN.js → CashierVerifications-DVccv6qc.js} +40 -40
  46. package/components/{TxnStatusIcon-BDnNMhFD.js → TxnStatusIcon-CpJJHtXq.js} +19 -19
  47. package/components/{TxnStatusIcon-Le-TBKNh.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
  48. package/components/{TxnStatusIcon-HrmfQdAc.js → TxnStatusIcon-Krgh5oF3.js} +19 -19
  49. package/components/{TxnTypeIcons-DZRNYWUy.js → TxnTypeIcons-Az6Gbxxw.js} +14 -14
  50. package/components/{TxnTypeIcons-__im0AE_.js → TxnTypeIcons-Bvy6NVGO.js} +14 -14
  51. package/components/{TxnTypeIcons-sZUo9qa8.cjs → TxnTypeIcons-iU9VGsWs.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  57. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  58. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  59. package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
  60. package/stencil/index-b2193545-CF_fVoFe.js +519 -0
  61. package/stencil/index-b2193545-DfttkCgg.js +503 -0
  62. package/stencil/{ui-image-D69wsX4B.js → ui-image-BsYHwNhO.js} +1 -1
  63. package/stencil/{ui-image-BIr_PDb-.js → ui-image-CNaRr0ax.js} +1 -1
  64. package/stencil/{ui-image-CEbrFHSD.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
  65. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  66. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  67. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  68. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
  69. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  70. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
  71. package/stencil/{ui-skeleton-i8axfHXy.js → ui-skeleton-B9YTz-WD.js} +2 -2
  72. package/stencil/{ui-skeleton-UELn0TdO.js → ui-skeleton-CQ-FgYMx.js} +2 -2
  73. package/stencil/{ui-skeleton-CTOStr1f.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
  74. package/stencil/{ui-skeleton-ed169f8f-6tILWWI7.cjs → ui-skeleton-ed169f8f-BEwquWmd.cjs} +1 -1
  75. package/stencil/{ui-skeleton-ed169f8f-DU5yFWqG.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +1 -1
  76. package/stencil/{ui-skeleton-ed169f8f-DmzkEnLt.js → ui-skeleton-ed169f8f-BNn31z1X.js} +1 -1
  77. package/components/CashierCarousel-CfPrrhkY.cjs +0 -23
  78. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  79. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  80. package/stencil/index-97d17652-p-iQtjus.js +0 -542
  81. package/stencil/index-b2193545-Bvpy7mp9.js +0 -503
  82. package/stencil/index-b2193545-DxDmFccl.js +0 -519
  83. package/stencil/index-b2193545-P1qvDl70.cjs +0 -1
@@ -1,29 +1,29 @@
1
1
  var D = (i, e, t) => new Promise((o, a) => {
2
2
  var f = (h) => {
3
3
  try {
4
- v(t.next(h));
4
+ x(t.next(h));
5
5
  } catch (u) {
6
6
  a(u);
7
7
  }
8
8
  }, b = (h) => {
9
9
  try {
10
- v(t.throw(h));
10
+ x(t.throw(h));
11
11
  } catch (u) {
12
12
  a(u);
13
13
  }
14
- }, v = (h) => h.done ? o(h.value) : Promise.resolve(h.value).then(f, b);
15
- v((t = t.apply(i, e)).next());
14
+ }, x = (h) => h.done ? o(h.value) : Promise.resolve(h.value).then(f, b);
15
+ x((t = t.apply(i, e)).next());
16
16
  });
17
- import { S as ee, b as te, f as k, c as ie, s as ne, d as oe, g as C, k as E, t as W, o as B, a6 as le, p as F, r as se, O as Y, v as ae, e as R, h as O, R as q, j as m, T as H, L as re, l as _, a7 as de, z as ce, u as U, m as Z, n as A, a8 as fe, B as j, C as he, D as ue } from "./CashierCarousel-Bwhda3Gl.js";
17
+ import { S as ee, b as te, s as ie, f as k, c as ne, e as E, t as B, g as I, a6 as oe, a7 as le, k as F, m as C, q as se, R as Y, d as R, u as q, h as U, j as X, W as H, l as _, a8 as ae, x as re, n as O, X as Z, o as m, L as de, y as j, B as ce, C as fe, D as he, E as ue } from "./CashierCarousel-D8MiOwuE.js";
18
18
  function me(i) {
19
- oe(i, "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}}');
19
+ ne(i, "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}}');
20
20
  }
21
- const ge = (i) => ({}), G = (i) => ({}), pe = (i) => ({}), J = (i) => ({});
22
- function K(i) {
23
- let e, t, o, a, f, b, v, h, u, L, T, M, g, y, d, s, S, r = (
21
+ const ge = (i) => ({}), A = (i) => ({}), pe = (i) => ({}), G = (i) => ({});
22
+ function J(i) {
23
+ let e, t, o, a, f, b, x, h, u, L, T, M, g, y, d, s, S, r = (
24
24
  /*modaltype*/
25
25
  (i[3] == "error" || /*modaltype*/
26
- i[3] == "bonusDescription") && N()
26
+ i[3] == "bonusDescription") && K()
27
27
  );
28
28
  const z = (
29
29
  /*#slots*/
@@ -33,25 +33,25 @@ function K(i) {
33
33
  i,
34
34
  /*$$scope*/
35
35
  i[13],
36
- J
36
+ G
37
37
  );
38
38
  let c = (
39
39
  /*isloading*/
40
- i[4] === "true" && P()
40
+ i[4] === "true" && N()
41
41
  );
42
- const I = (
42
+ const W = (
43
43
  /*#slots*/
44
44
  i[14].content
45
45
  ), w = R(
46
- I,
46
+ W,
47
47
  i,
48
48
  /*$$scope*/
49
49
  i[13],
50
- G
50
+ A
51
51
  );
52
52
  return {
53
53
  c() {
54
- e = C("div"), t = C("div"), o = C("div"), a = C("div"), r && r.c(), f = O(), b = C("div"), p && p.c(), v = O(), h = C("div"), u = q("svg"), L = q("path"), T = O(), c && c.c(), M = O(), g = C("div"), w && w.c(), m(b, "class", "TitleText"), m(a, "class", "ModalTitle"), m(L, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), m(u, "xmlns", "http://www.w3.org/2000/svg"), m(u, "viewBox", "0 0 13 13"), m(u, "fill", "none"), m(u, "class", "CloseButton"), m(h, "class", "ModalCloseIcon"), m(o, "class", "ModalHeader"), m(g, "class", "ModalContentWrapper"), H(
54
+ e = C("div"), t = C("div"), o = C("div"), a = C("div"), r && r.c(), f = O(), b = C("div"), p && p.c(), x = O(), h = C("div"), u = Z("svg"), L = Z("path"), T = O(), c && c.c(), M = O(), g = C("div"), w && w.c(), m(b, "class", "TitleText"), m(a, "class", "ModalTitle"), m(L, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), m(u, "xmlns", "http://www.w3.org/2000/svg"), m(u, "viewBox", "0 0 13 13"), m(u, "fill", "none"), m(u, "class", "CloseButton"), m(h, "class", "ModalCloseIcon"), m(o, "class", "ModalHeader"), m(g, "class", "ModalContentWrapper"), H(
55
55
  g,
56
56
  "hidden",
57
57
  /*isloading*/
@@ -66,76 +66,76 @@ function K(i) {
66
66
  "twofa-mode",
67
67
  /*modaltype*/
68
68
  i[3] === "2fa"
69
- ), m(e, "id", "Modal"), re(() => (
69
+ ), m(e, "id", "Modal"), de(() => (
70
70
  /*div6_elementresize_handler*/
71
71
  i[18].call(e)
72
72
  ));
73
73
  },
74
- m(l, x) {
75
- E(l, e, x), _(e, t), _(t, o), _(o, a), r && r.m(a, null), _(a, f), _(a, b), p && p.m(b, null), _(o, v), _(o, h), _(h, u), _(u, L), _(t, T), c && c.m(t, null), _(t, M), _(t, g), w && w.m(g, null), i[15](g), i[16](t), i[17](e), y = de(
74
+ m(l, v) {
75
+ F(l, e, v), _(e, t), _(t, o), _(o, a), r && r.m(a, null), _(a, f), _(a, b), p && p.m(b, null), _(o, x), _(o, h), _(h, u), _(u, L), _(t, T), c && c.m(t, null), _(t, M), _(t, g), w && w.m(g, null), i[15](g), i[16](t), i[17](e), y = ae(
76
76
  e,
77
77
  /*div6_elementresize_handler*/
78
78
  i[18].bind(e)
79
- ), d = !0, s || (S = ce(
79
+ ), d = !0, s || (S = re(
80
80
  u,
81
81
  "click",
82
82
  /*closeModal*/
83
83
  i[9]
84
84
  ), s = !0);
85
85
  },
86
- p(l, x) {
86
+ p(l, v) {
87
87
  /*modaltype*/
88
88
  l[3] == "error" || /*modaltype*/
89
- l[3] == "bonusDescription" ? r || (r = N(), r.c(), r.m(a, f)) : r && (r.d(1), r = null), p && p.p && (!d || x & /*$$scope*/
90
- 8192) && U(
89
+ l[3] == "bonusDescription" ? r || (r = K(), r.c(), r.m(a, f)) : r && (r.d(1), r = null), p && p.p && (!d || v & /*$$scope*/
90
+ 8192) && q(
91
91
  p,
92
92
  z,
93
93
  l,
94
94
  /*$$scope*/
95
95
  l[13],
96
- d ? A(
96
+ d ? X(
97
97
  z,
98
98
  /*$$scope*/
99
99
  l[13],
100
- x,
100
+ v,
101
101
  pe
102
- ) : Z(
102
+ ) : U(
103
103
  /*$$scope*/
104
104
  l[13]
105
105
  ),
106
- J
106
+ G
107
107
  ), /*isloading*/
108
- l[4] === "true" ? c || (c = P(), c.c(), c.m(t, M)) : c && (c.d(1), c = null), w && w.p && (!d || x & /*$$scope*/
109
- 8192) && U(
108
+ l[4] === "true" ? c || (c = N(), c.c(), c.m(t, M)) : c && (c.d(1), c = null), w && w.p && (!d || v & /*$$scope*/
109
+ 8192) && q(
110
110
  w,
111
- I,
111
+ W,
112
112
  l,
113
113
  /*$$scope*/
114
114
  l[13],
115
- d ? A(
116
- I,
115
+ d ? X(
116
+ W,
117
117
  /*$$scope*/
118
118
  l[13],
119
- x,
119
+ v,
120
120
  ge
121
- ) : Z(
121
+ ) : U(
122
122
  /*$$scope*/
123
123
  l[13]
124
124
  ),
125
- G
126
- ), (!d || x & /*isloading*/
125
+ A
126
+ ), (!d || v & /*isloading*/
127
127
  16) && H(
128
128
  g,
129
129
  "hidden",
130
130
  /*isloading*/
131
131
  l[4] === "true"
132
- ), (!d || x & /*modaltype*/
132
+ ), (!d || v & /*modaltype*/
133
133
  8) && H(
134
134
  t,
135
135
  "video-mode",
136
136
  /*modaltype*/
137
137
  l[3] === "video"
138
- ), (!d || x & /*modaltype*/
138
+ ), (!d || v & /*modaltype*/
139
139
  8) && H(
140
140
  t,
141
141
  "twofa-mode",
@@ -144,76 +144,76 @@ function K(i) {
144
144
  );
145
145
  },
146
146
  i(l) {
147
- d || (W(p, l), W(w, l), d = !0);
147
+ d || (I(p, l), I(w, l), d = !0);
148
148
  },
149
149
  o(l) {
150
150
  B(p, l), B(w, l), d = !1;
151
151
  },
152
152
  d(l) {
153
- l && F(e), r && r.d(), p && p.d(l), c && c.d(), w && w.d(l), i[15](null), i[16](null), i[17](null), y(), s = !1, S();
153
+ l && E(e), r && r.d(), p && p.d(l), c && c.d(), w && w.d(l), i[15](null), i[16](null), i[17](null), y(), s = !1, S();
154
154
  }
155
155
  };
156
156
  }
157
- function N(i) {
157
+ function K(i) {
158
158
  let e;
159
159
  return {
160
160
  c() {
161
161
  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>', m(e, "class", "WarningIcon");
162
162
  },
163
163
  m(t, o) {
164
- E(t, e, o);
164
+ F(t, e, o);
165
165
  },
166
166
  d(t) {
167
- t && F(e);
167
+ t && E(e);
168
168
  }
169
169
  };
170
170
  }
171
- function P(i) {
171
+ function N(i) {
172
172
  let e;
173
173
  return {
174
174
  c() {
175
175
  e = C("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
176
176
  },
177
177
  m(t, o) {
178
- E(t, e, o);
178
+ F(t, e, o);
179
179
  },
180
180
  d(t) {
181
- t && F(e);
181
+ t && E(e);
182
182
  }
183
183
  };
184
184
  }
185
185
  function we(i) {
186
186
  let e, t, o = (
187
187
  /*show*/
188
- i[2] === "true" && K(i)
188
+ i[2] === "true" && J(i)
189
189
  );
190
190
  return {
191
191
  c() {
192
192
  e = C("div"), o && o.c();
193
193
  },
194
194
  m(a, f) {
195
- E(a, e, f), o && o.m(e, null), i[19](e), t = !0;
195
+ F(a, e, f), o && o.m(e, null), i[19](e), t = !0;
196
196
  },
197
197
  p(a, [f]) {
198
198
  /*show*/
199
199
  a[2] === "true" ? o ? (o.p(a, f), f & /*show*/
200
- 4 && W(o, 1)) : (o = K(a), o.c(), W(o, 1), o.m(e, null)) : o && (fe(), B(o, 1, 1, () => {
200
+ 4 && I(o, 1)) : (o = J(a), o.c(), I(o, 1), o.m(e, null)) : o && (oe(), B(o, 1, 1, () => {
201
201
  o = null;
202
202
  }), le());
203
203
  },
204
204
  i(a) {
205
- t || (W(o), t = !0);
205
+ t || (I(o), t = !0);
206
206
  },
207
207
  o(a) {
208
208
  B(o), t = !1;
209
209
  },
210
210
  d(a) {
211
- a && F(e), o && o.d(), i[19](null);
211
+ a && E(e), o && o.d(), i[19](null);
212
212
  }
213
213
  };
214
214
  }
215
215
  function ye(i, e, t) {
216
- let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl: v } = e, { show: h } = e, { modaltype: u = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: M } = e, g, y, d, s, S = !1, r, z;
216
+ let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl: x } = e, { show: h } = e, { modaltype: u = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: M } = e, g, y, d, s, S = !1, r, z;
217
217
  const p = () => {
218
218
  r && clearTimeout(r), g && (g.classList.add("closing"), r = setTimeout(
219
219
  () => {
@@ -225,10 +225,10 @@ function ye(i, e, t) {
225
225
  if (!s || !d || S)
226
226
  return;
227
227
  z && clearTimeout(r), S = !0;
228
- const n = s.offsetWidth, V = s.offsetHeight;
229
- t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${V}px`, s), s.offsetHeight, yield Y();
230
- const X = d.scrollHeight, $ = d.scrollWidth;
231
- t(8, s.style.width = `${$}px`, s), t(8, s.style.height = `${X}px`, s), z = setTimeout(
228
+ const n = s.offsetWidth, Q = s.offsetHeight;
229
+ t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${Q}px`, s), s.offsetHeight, yield Y();
230
+ const V = d.scrollHeight, $ = d.scrollWidth;
231
+ t(8, s.style.width = `${$}px`, s), t(8, s.style.height = `${V}px`, s), z = setTimeout(
232
232
  () => {
233
233
  s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)), S = !1;
234
234
  },
@@ -250,7 +250,7 @@ function ye(i, e, t) {
250
250
  r && clearTimeout(r), z && clearTimeout(r);
251
251
  };
252
252
  });
253
- function I(n) {
253
+ function W(n) {
254
254
  j[n ? "unshift" : "push"](() => {
255
255
  d = n, t(7, d);
256
256
  });
@@ -265,24 +265,24 @@ function ye(i, e, t) {
265
265
  g = n, t(6, g);
266
266
  });
267
267
  }
268
- function x() {
268
+ function v() {
269
269
  T = this.clientWidth, M = this.clientHeight, t(0, T), t(1, M);
270
270
  }
271
- function Q(n) {
271
+ function P(n) {
272
272
  j[n ? "unshift" : "push"](() => {
273
273
  y = n, t(5, y);
274
274
  });
275
275
  }
276
276
  return i.$$set = (n) => {
277
- "mbsource" in n && t(10, f = n.mbsource), "clientstyling" in n && t(11, b = n.clientstyling), "clientstylingurl" in n && t(12, v = n.clientstylingurl), "show" in n && t(2, h = n.show), "modaltype" in n && t(3, u = n.modaltype), "isloading" in n && t(4, L = n.isloading), "width" in n && t(0, T = n.width), "height" in n && t(1, M = n.height), "$$scope" in n && t(13, a = n.$$scope);
277
+ "mbsource" in n && t(10, f = n.mbsource), "clientstyling" in n && t(11, b = n.clientstyling), "clientstylingurl" in n && t(12, x = n.clientstylingurl), "show" in n && t(2, h = n.show), "modaltype" in n && t(3, u = n.modaltype), "isloading" in n && t(4, L = n.isloading), "width" in n && t(0, T = n.width), "height" in n && t(1, M = n.height), "$$scope" in n && t(13, a = n.$$scope);
278
278
  }, i.$$.update = () => {
279
279
  i.$$.dirty & /*isloading*/
280
280
  16 && L && Y().then(() => {
281
281
  c();
282
282
  }), i.$$.dirty & /*clientstyling, customStylingContainer*/
283
- 2080 && b && y && he(y, b), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
284
- 4128 && v && y && ue(y, v), i.$$.dirty & /*mbsource, customStylingContainer*/
285
- 1056 && f && y && ae(y, `${f}.Style`);
283
+ 2080 && b && y && ce(y, b), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
284
+ 4128 && x && y && fe(y, x), i.$$.dirty & /*mbsource, customStylingContainer*/
285
+ 1056 && f && y && he(y, `${f}.Style`);
286
286
  }, [
287
287
  T,
288
288
  M,
@@ -296,14 +296,14 @@ function ye(i, e, t) {
296
296
  p,
297
297
  f,
298
298
  b,
299
- v,
299
+ x,
300
300
  a,
301
301
  o,
302
- I,
302
+ W,
303
303
  w,
304
304
  l,
305
- x,
306
- Q
305
+ v,
306
+ P
307
307
  ];
308
308
  }
309
309
  class _e extends ee {
@@ -313,7 +313,7 @@ class _e extends ee {
313
313
  e,
314
314
  ye,
315
315
  we,
316
- ne,
316
+ ie,
317
317
  {
318
318
  mbsource: 10,
319
319
  clientstyling: 11,
@@ -376,7 +376,7 @@ class _e extends ee {
376
376
  this.$$set({ height: e }), k();
377
377
  }
378
378
  }
379
- ie(_e, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
379
+ ue(_e, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
380
380
  export {
381
381
  _e as default
382
382
  };
@@ -1,26 +1,26 @@
1
- import { S as C, b as v, f as d, c as _, s as k, d as N, g as h, x as b, h as z, j as S, k as E, l as f, z as L, y as p, G as x, p as M, B as T } from "./CashierCarousel-BhLbwlL5.js";
2
- function B(i) {
3
- N(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
1
+ import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-D8MiOwuE.js";
2
+ function H(n) {
3
+ k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function H(i) {
6
- let t, s, r, u, l, a, n, m;
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = b(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
- i[0]
12
- ), u = z(), l = h("button"), a = b(
11
+ n[0]
12
+ ), u = S(), l = h("button"), a = x(
13
13
  /*button*/
14
- i[1]
15
- ), S(t, "class", "CashierNotifications");
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = L(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
22
- i[3]
23
- ), n = !0);
22
+ n[3]
23
+ ), i = !0);
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
@@ -35,67 +35,67 @@ function H(i) {
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), i[6](null), n = !1, m();
41
+ o && N(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function R(i, t, s) {
46
- let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
49
  }, o = () => {
50
50
  let e = document.createElement("style");
51
- e.innerHTML = l, n.appendChild(e);
51
+ e.innerHTML = l, i.appendChild(e);
52
52
  }, c = () => {
53
53
  let e = new URL(a), y = document.createElement("style");
54
54
  fetch(e.href).then((g) => g.text()).then((g) => {
55
55
  y.innerHTML = g, setTimeout(
56
56
  () => {
57
- n.appendChild(y);
57
+ i.appendChild(y);
58
58
  },
59
59
  1
60
60
  );
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- T[e ? "unshift" : "push"](() => {
65
- n = e, s(2, n);
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
66
  });
67
67
  }
68
- return i.$$set = (e) => {
68
+ return n.$$set = (e) => {
69
69
  "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
- }, i.$$.update = () => {
71
- i.$$.dirty & /*clientstyling, customStylingContainer*/
72
- 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
- 36 && a && n && c();
70
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
74
  }, [
75
75
  r,
76
76
  u,
77
- n,
77
+ i,
78
78
  m,
79
79
  l,
80
80
  a,
81
81
  w
82
82
  ];
83
83
  }
84
- class U extends C {
84
+ class q extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
+ U,
89
90
  R,
90
- H,
91
- k,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
95
95
  clientstyling: 4,
96
96
  clientstylingurl: 5
97
97
  },
98
- B
98
+ H
99
99
  );
100
100
  }
101
101
  get text() {
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- U as default
128
+ q as default
129
129
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-CfPrrhkY.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-CecQbbdW.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;