@everymatrix/cashier-page 1.50.111 → 1.50.113

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 (157) hide show
  1. package/components/CashierCarousel-BYV8Xckb.cjs +1 -0
  2. package/components/CashierCarousel-C6yCHnNu.js +711 -0
  3. package/components/CashierCarousel-CLvMcbY2.js +711 -0
  4. package/components/CashierCarousel-CzGNWLJO.js +711 -0
  5. package/components/CashierCarousel-D4YPJJSf.cjs +1 -0
  6. package/components/CashierCarousel-RgQcR298.js +708 -0
  7. package/components/CashierCarousel-Zwpfq5jr.js +708 -0
  8. package/components/CashierCarousel-qSYP5NCN.js +708 -0
  9. package/components/CashierCarousel-zU8L8Yam.cjs +1 -0
  10. package/components/CashierError-BL0jeQ4_.js +849 -0
  11. package/components/CashierError-BVdl-0pi.js +857 -0
  12. package/components/CashierError-C2ruon3b.js +849 -0
  13. package/components/CashierError-DPGJyyLW.cjs +1 -0
  14. package/components/CashierError-DgkAGP_e.cjs +1 -0
  15. package/components/CashierError-GqYpZTX0.js +857 -0
  16. package/components/CashierError-LuAGDH_D.js +849 -0
  17. package/components/CashierError-WrE-pTbs.cjs +1 -0
  18. package/components/CashierError-mcfx0wTg.js +849 -0
  19. package/components/CashierHeader-6MLbSyIx.cjs +1 -0
  20. package/components/CashierHeader-BGSzlhTj.cjs +1 -0
  21. package/components/CashierHeader-Bjhl9m25.js +477 -0
  22. package/components/CashierHeader-CAsEVisq.js +477 -0
  23. package/components/CashierHeader-CNS7j6eE.js +477 -0
  24. package/components/CashierHeader-CwvF548z.js +477 -0
  25. package/components/CashierHeader-D9Pd3FE7.js +477 -0
  26. package/components/CashierHeader-DOgjR6nW.cjs +1 -0
  27. package/components/CashierHeader-NByP26Hh.js +477 -0
  28. package/components/CashierIframeRedirect-33BCyM5c.js +387 -0
  29. package/components/CashierIframeRedirect-BQdPQBYK.cjs +1 -0
  30. package/components/CashierIframeRedirect-Bibs1BQl.js +387 -0
  31. package/components/CashierIframeRedirect-BrsKHiD-.js +387 -0
  32. package/components/CashierIframeRedirect-CpZppvVh.js +387 -0
  33. package/components/CashierIframeRedirect-CsBH1gmJ.cjs +1 -0
  34. package/components/CashierIframeRedirect-Dd5B3UEI.js +387 -0
  35. package/components/CashierIframeRedirect-DmxcVBgy.js +387 -0
  36. package/components/CashierIframeRedirect-UurUphr3.cjs +1 -0
  37. package/components/CashierMethodDetails-BHDPppNJ.js +11320 -0
  38. package/components/CashierMethodDetails-BK3Ds1Di.js +11233 -0
  39. package/components/CashierMethodDetails-BmEO4K5V.js +11368 -0
  40. package/components/CashierMethodDetails-C6l6jsdt.cjs +85 -0
  41. package/components/CashierMethodDetails-CKMBfDFW.js +11274 -0
  42. package/components/CashierMethodDetails-CfB2Kudp.js +11319 -0
  43. package/components/CashierMethodDetails-D-3xXEA0.cjs +85 -0
  44. package/components/CashierMethodDetails-Dmm5-4Bg.cjs +85 -0
  45. package/components/CashierMethodDetails-eIkkI2Ds.js +11369 -0
  46. package/components/CashierMethodsList-BG3ZXNnv.cjs +1 -0
  47. package/components/CashierMethodsList-BUNXenEI.js +955 -0
  48. package/components/CashierMethodsList-BoxIF7vP.js +969 -0
  49. package/components/CashierMethodsList-CZ6X0-B0.js +969 -0
  50. package/components/CashierMethodsList-ChF0ggt5.js +955 -0
  51. package/components/CashierMethodsList-Cw5gyvuC.cjs +1 -0
  52. package/components/CashierMethodsList-DJXZcEPK.js +955 -0
  53. package/components/CashierMethodsList-DVKqlXQx.js +969 -0
  54. package/components/CashierMethodsList-Dj8c1drZ.cjs +1 -0
  55. package/components/CashierModal-BLFNSD0R.js +386 -0
  56. package/components/CashierModal-BVB84K7O.js +386 -0
  57. package/components/CashierModal-BsdvB2xr.js +402 -0
  58. package/components/CashierModal-BwdcNkWX.cjs +1 -0
  59. package/components/CashierModal-CNlh3Dz8.js +402 -0
  60. package/components/CashierModal-CaPaRAyn.js +386 -0
  61. package/components/CashierModal-PgkqZ-dD.cjs +1 -0
  62. package/components/CashierModal-X0JXE-VV.js +402 -0
  63. package/components/CashierModal-wFY3s5dP.cjs +1 -0
  64. package/components/CashierNotifications-Blsm-_hR.js +129 -0
  65. package/components/CashierNotifications-CauDPpd0.cjs +1 -0
  66. package/components/CashierNotifications-CjJEjdxA.js +129 -0
  67. package/components/CashierNotifications-D6UwpqKr.cjs +1 -0
  68. package/components/CashierNotifications-DBFOcZ9S.js +129 -0
  69. package/components/CashierNotifications-DupzES3u.js +129 -0
  70. package/components/CashierNotifications-ImD80dd9.js +129 -0
  71. package/components/CashierNotifications-MbBHgYUi.js +129 -0
  72. package/components/CashierNotifications-aocI0dwK.cjs +1 -0
  73. package/components/CashierPage-BLmYMRAT.js +10286 -0
  74. package/components/CashierPage-BcoUz4sy.js +10304 -0
  75. package/components/CashierPage-C-_uS0DP.cjs +23 -0
  76. package/components/CashierPage-D5nA8HEN.cjs +23 -0
  77. package/components/CashierPage-DAY_poj0.cjs +23 -0
  78. package/components/CashierPage-DDoMQsij.js +10304 -0
  79. package/components/CashierPage-DK6Ng6dD.js +10251 -0
  80. package/components/CashierPage-DWHzDWE-.js +10233 -0
  81. package/components/CashierPage-Db-fNMwu.js +10251 -0
  82. package/components/CashierReceiptPage-B_r5svXm.js +2063 -0
  83. package/components/CashierReceiptPage-BkJJ9VMR.js +2063 -0
  84. package/components/CashierReceiptPage-BtbixKyh.cjs +29 -0
  85. package/components/CashierReceiptPage-ByhsQi-Y.cjs +29 -0
  86. package/components/CashierReceiptPage-CYO3A4px.js +2043 -0
  87. package/components/CashierReceiptPage-CYWNzS-t.js +2043 -0
  88. package/components/CashierReceiptPage-D2LF-Cfs.js +2063 -0
  89. package/components/CashierReceiptPage-DbU3gGyp.js +2043 -0
  90. package/components/CashierReceiptPage-vKqYhCZl.cjs +29 -0
  91. package/components/CashierSessionExpirationModal-B3so8FGP.cjs +2 -0
  92. package/components/CashierSessionExpirationModal-BLrVVg8r.js +1212 -0
  93. package/components/CashierSessionExpirationModal-C9QplNCU.js +1212 -0
  94. package/components/CashierSessionExpirationModal-Cll5D4xS.cjs +2 -0
  95. package/components/CashierSessionExpirationModal-D7438bGG.js +1212 -0
  96. package/components/CashierSessionExpirationModal-DFs76eVZ.js +1212 -0
  97. package/components/CashierSessionExpirationModal-DGGLAXRf.js +1212 -0
  98. package/components/CashierSessionExpirationModal-DUi74T2N.js +1212 -0
  99. package/components/CashierSessionExpirationModal-pEEj89lN.cjs +2 -0
  100. package/components/CashierSpinner-Bojn3cx4.cjs +1 -0
  101. package/components/CashierSpinner-CrLzUq-b.js +79 -0
  102. package/components/CashierSpinner-DFa2JUv1.js +79 -0
  103. package/components/CashierSpinner-DeQUisHv.js +79 -0
  104. package/components/CashierSpinner-Dk_AWH9k.js +79 -0
  105. package/components/CashierSpinner-DsEoOmar.cjs +1 -0
  106. package/components/CashierSpinner-UnUIC_vy.js +79 -0
  107. package/components/CashierSpinner-VEuFkxJO.js +79 -0
  108. package/components/CashierSpinner-vS1pC0X6.cjs +1 -0
  109. package/components/CashierStepUp-2Ac01AmQ.js +1161 -0
  110. package/components/CashierStepUp-8LupN5IV.js +1161 -0
  111. package/components/CashierStepUp-BsU_s7T9.js +1161 -0
  112. package/components/CashierStepUp-CRvIkD4C.js +1200 -0
  113. package/components/CashierStepUp-D5N2i9dr.js +1201 -0
  114. package/components/CashierStepUp-D5pMbD33.cjs +1 -0
  115. package/components/CashierStepUp-DWfy-EhN.cjs +1 -0
  116. package/components/CashierStepUp-DzJFcK-D.cjs +1 -0
  117. package/components/CashierStepUp-ovaXA_le.js +1200 -0
  118. package/components/CashierTransactionHistory-B04fOH7Y.js +1415 -0
  119. package/components/CashierTransactionHistory-BH0-fPO5.js +1415 -0
  120. package/components/CashierTransactionHistory-C1sFc875.js +1415 -0
  121. package/components/CashierTransactionHistory-CuY66DYm.js +1415 -0
  122. package/components/CashierTransactionHistory-Cw3Cp13n.cjs +1 -0
  123. package/components/CashierTransactionHistory-D1gojTnz.cjs +1 -0
  124. package/components/CashierTransactionHistory-DSoU4BAt.cjs +1 -0
  125. package/components/CashierTransactionHistory-DVNnMTBU.js +1415 -0
  126. package/components/CashierTransactionHistory-wrsYe4Kj.js +1415 -0
  127. package/components/CashierVerifications-BIhkT7xC.js +700 -0
  128. package/components/CashierVerifications-BcQ2LHrN.cjs +1 -0
  129. package/components/CashierVerifications-BoypDVWQ.cjs +1 -0
  130. package/components/CashierVerifications-CCHd_J3y.js +700 -0
  131. package/components/CashierVerifications-Ccrp5BP2.js +696 -0
  132. package/components/CashierVerifications-DYxNLeFk.js +700 -0
  133. package/components/CashierVerifications-DgpLTX5u.js +696 -0
  134. package/components/CashierVerifications-DiC2yoLU.js +696 -0
  135. package/components/CashierVerifications-xAtq_Nw_.cjs +1 -0
  136. package/components/TxnStatusIcon-5XmjXdYX.js +142 -0
  137. package/components/TxnStatusIcon-CKN6xRTe.cjs +1 -0
  138. package/components/TxnStatusIcon-CZEwNSRj.js +142 -0
  139. package/components/TxnStatusIcon-D8sZqoF_.cjs +1 -0
  140. package/components/TxnStatusIcon-DEYsExEh.js +142 -0
  141. package/components/TxnStatusIcon-Dnu-8W2z.js +142 -0
  142. package/components/TxnStatusIcon-KjjF6vov.js +142 -0
  143. package/components/TxnStatusIcon-vkIBVdfU.js +142 -0
  144. package/components/TxnStatusIcon-xSYt11Zt.cjs +1 -0
  145. package/components/TxnTypeIcons-BH3JMq5I.cjs +1 -0
  146. package/components/TxnTypeIcons-BTHWx7gk.cjs +1 -0
  147. package/components/TxnTypeIcons-BewtXIqm.js +101 -0
  148. package/components/TxnTypeIcons-BvLnF_at.cjs +1 -0
  149. package/components/TxnTypeIcons-CcB8sFEb.js +101 -0
  150. package/components/TxnTypeIcons-DEkSxez6.js +101 -0
  151. package/components/TxnTypeIcons-DczwMwTe.js +101 -0
  152. package/components/TxnTypeIcons-VbuF3Vpq.js +101 -0
  153. package/components/TxnTypeIcons-ci3PNKW-.js +101 -0
  154. package/es2015/cashier-page.cjs +1 -1
  155. package/es2015/cashier-page.js +1 -1
  156. package/esnext/cashier-page.js +1 -1
  157. package/package.json +1 -1
@@ -0,0 +1,477 @@
1
+ import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as O, o as k, p as at, q as rt, r as I, v as ct, w as ut, x as ft, y as q, z as G, A as ht, B as dt } from "./CashierPage-BcoUz4sy.js";
2
+ function R(s, t) {
3
+ tt(s, t);
4
+ }
5
+ function gt(s) {
6
+ et({
7
+ fallbackLocale: "en"
8
+ }), st.set(s);
9
+ }
10
+ const z = {
11
+ en: {
12
+ header: {
13
+ general: "Cashier",
14
+ deposit: "Deposit",
15
+ withdraw: "Withdraw"
16
+ }
17
+ },
18
+ tr: {
19
+ header: {
20
+ general: "Cashier",
21
+ deposit: "Para Yatır",
22
+ withdraw: "Çekim"
23
+ }
24
+ },
25
+ fr: {
26
+ header: {
27
+ general: "Caisse",
28
+ deposit: "Dépôt",
29
+ withdraw: "Retrait"
30
+ }
31
+ },
32
+ da: {
33
+ header: {
34
+ general: "Kasse",
35
+ deposit: "Indbetaling",
36
+ withdraw: "Udbetaling"
37
+ }
38
+ },
39
+ de: {
40
+ header: {
41
+ general: "Kasse",
42
+ deposit: "Einzahlung",
43
+ withdraw: "Auszahlung"
44
+ }
45
+ },
46
+ nl: {
47
+ header: {
48
+ general: "Kassa",
49
+ deposit: "Storting",
50
+ withdraw: "Opname"
51
+ }
52
+ }
53
+ }, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
54
+ function wt(s, t) {
55
+ if (s) {
56
+ const e = document.createElement("style");
57
+ e.innerHTML = t, s.appendChild(e);
58
+ }
59
+ }
60
+ function _t(s, t) {
61
+ if (!s || !t)
62
+ return;
63
+ const e = new URL(t);
64
+ fetch(e.href).then((i) => i.text()).then((i) => {
65
+ const n = document.createElement("style");
66
+ n.innerHTML = i, s && s.appendChild(n);
67
+ }).catch((i) => {
68
+ console.error("There was an error while trying to load client styling from URL", i);
69
+ });
70
+ }
71
+ function bt(s, t, e, i = !1) {
72
+ if (!window.emMessageBus)
73
+ return;
74
+ if (!("adoptedStyleSheets" in Document.prototype) || !i)
75
+ return e = mt(s, t), e;
76
+ window[m] || (window[m] = {}), e = pt(s, t);
77
+ const a = e.unsubscribe.bind(e), h = () => {
78
+ if (window[m][t]) {
79
+ const r = window[m][t];
80
+ r.refCount > 1 ? r.refCount = r.refCount - 1 : delete window[m][t];
81
+ }
82
+ a();
83
+ };
84
+ return e.unsubscribe = h, e;
85
+ }
86
+ function mt(s, t) {
87
+ const e = document.createElement("style");
88
+ return window.emMessageBus.subscribe(t, (i) => {
89
+ s && (e.innerHTML = i, s.appendChild(e));
90
+ });
91
+ }
92
+ function pt(s, t) {
93
+ return window.emMessageBus.subscribe(t, (e) => {
94
+ if (!s)
95
+ return;
96
+ const i = s.getRootNode(), n = window[m];
97
+ let a = n[t] && n[t].sheet;
98
+ a ? n[t].refCount = n[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(e), n[t] = {
99
+ sheet: a,
100
+ refCount: 1
101
+ });
102
+ const h = i.adoptedStyleSheets || [];
103
+ h.includes(a) || (i.adoptedStyleSheets = [...h, a]);
104
+ });
105
+ }
106
+ function Ct(s) {
107
+ ot(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
108
+ }
109
+ const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), U = (s) => ({}), St = (s) => ({}), x = (s) => ({});
110
+ function D(s) {
111
+ let t, e, i;
112
+ return {
113
+ c() {
114
+ t = y("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
115
+ },
116
+ m(n, a) {
117
+ C(n, t, a), e || (i = G(
118
+ t,
119
+ "click",
120
+ /*back*/
121
+ s[6]
122
+ ), e = !0);
123
+ },
124
+ p: q,
125
+ d(n) {
126
+ n && p(t), e = !1, i();
127
+ }
128
+ };
129
+ }
130
+ function Bt(s) {
131
+ let t, e = (
132
+ /*backButton*/
133
+ s[1] && D(s)
134
+ );
135
+ return {
136
+ c() {
137
+ e && e.c(), t = I();
138
+ },
139
+ m(i, n) {
140
+ e && e.m(i, n), C(i, t, n);
141
+ },
142
+ p(i, n) {
143
+ /*backButton*/
144
+ i[1] ? e ? e.p(i, n) : (e = D(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
145
+ },
146
+ d(i) {
147
+ i && p(t), e && e.d(i);
148
+ }
149
+ };
150
+ }
151
+ function Lt(s) {
152
+ let t, e = (
153
+ /*$_*/
154
+ s[4](
155
+ /*titleText*/
156
+ s[2]
157
+ ) + ""
158
+ ), i;
159
+ return {
160
+ c() {
161
+ t = y("span"), i = ut(e), k(t, "class", "CashierHeaderTitle");
162
+ },
163
+ m(n, a) {
164
+ C(n, t, a), M(t, i);
165
+ },
166
+ p(n, a) {
167
+ a & /*$_, titleText*/
168
+ 20 && e !== (e = /*$_*/
169
+ n[4](
170
+ /*titleText*/
171
+ n[2]
172
+ ) + "") && ct(i, e);
173
+ },
174
+ d(n) {
175
+ n && p(t);
176
+ }
177
+ };
178
+ }
179
+ function K(s) {
180
+ let t, e, i;
181
+ return {
182
+ c() {
183
+ t = y("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
184
+ },
185
+ m(n, a) {
186
+ C(n, t, a), e || (i = G(
187
+ t,
188
+ "click",
189
+ /*close*/
190
+ s[5]
191
+ ), e = !0);
192
+ },
193
+ p: q,
194
+ d(n) {
195
+ n && p(t), e = !1, i();
196
+ }
197
+ };
198
+ }
199
+ function vt(s) {
200
+ let t, e = (
201
+ /*closeButton*/
202
+ s[3] && K(s)
203
+ );
204
+ return {
205
+ c() {
206
+ e && e.c(), t = I();
207
+ },
208
+ m(i, n) {
209
+ e && e.m(i, n), C(i, t, n);
210
+ },
211
+ p(i, n) {
212
+ /*closeButton*/
213
+ i[3] ? e ? e.p(i, n) : (e = K(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
214
+ },
215
+ d(i) {
216
+ i && p(t), e && e.d(i);
217
+ }
218
+ };
219
+ }
220
+ function Ht(s) {
221
+ let t, e, i, n;
222
+ const a = (
223
+ /*#slots*/
224
+ s[16].leftButton
225
+ ), h = S(
226
+ a,
227
+ s,
228
+ /*$$scope*/
229
+ s[15],
230
+ x
231
+ ), r = h || Bt(s), _ = (
232
+ /*#slots*/
233
+ s[16].title
234
+ ), d = S(
235
+ _,
236
+ s,
237
+ /*$$scope*/
238
+ s[15],
239
+ U
240
+ ), c = d || Lt(s), g = (
241
+ /*#slots*/
242
+ s[16].rightButton
243
+ ), w = S(
244
+ g,
245
+ s,
246
+ /*$$scope*/
247
+ s[15],
248
+ N
249
+ ), u = w || vt(s);
250
+ return {
251
+ c() {
252
+ t = y("div"), r && r.c(), e = O(), c && c.c(), i = O(), u && u.c(), k(t, "class", "CashierHeader");
253
+ },
254
+ m(l, f) {
255
+ C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
256
+ },
257
+ p(l, [f]) {
258
+ h ? h.p && (!n || f & /*$$scope*/
259
+ 32768) && v(
260
+ h,
261
+ a,
262
+ l,
263
+ /*$$scope*/
264
+ l[15],
265
+ n ? T(
266
+ a,
267
+ /*$$scope*/
268
+ l[15],
269
+ f,
270
+ St
271
+ ) : H(
272
+ /*$$scope*/
273
+ l[15]
274
+ ),
275
+ x
276
+ ) : r && r.p && (!n || f & /*backButton*/
277
+ 2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
278
+ 32768) && v(
279
+ d,
280
+ _,
281
+ l,
282
+ /*$$scope*/
283
+ l[15],
284
+ n ? T(
285
+ _,
286
+ /*$$scope*/
287
+ l[15],
288
+ f,
289
+ kt
290
+ ) : H(
291
+ /*$$scope*/
292
+ l[15]
293
+ ),
294
+ U
295
+ ) : c && c.p && (!n || f & /*$_, titleText*/
296
+ 20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
297
+ 32768) && v(
298
+ w,
299
+ g,
300
+ l,
301
+ /*$$scope*/
302
+ l[15],
303
+ n ? T(
304
+ g,
305
+ /*$$scope*/
306
+ l[15],
307
+ f,
308
+ yt
309
+ ) : H(
310
+ /*$$scope*/
311
+ l[15]
312
+ ),
313
+ N
314
+ ) : u && u.p && (!n || f & /*closeButton*/
315
+ 8) && u.p(l, n ? f : -1);
316
+ },
317
+ i(l) {
318
+ n || (L(r, l), L(c, l), L(u, l), n = !0);
319
+ },
320
+ o(l) {
321
+ B(r, l), B(c, l), B(u, l), n = !1;
322
+ },
323
+ d(l) {
324
+ l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
325
+ }
326
+ };
327
+ }
328
+ function Tt(s, t, e) {
329
+ let i;
330
+ at(s, dt, (o) => e(4, i = o));
331
+ let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, E = !1;
332
+ const W = () => {
333
+ fetch(_).then((o) => o.json()).then((o) => {
334
+ Object.keys(o).forEach((F) => {
335
+ R(F, o[F]);
336
+ });
337
+ }).catch((o) => {
338
+ console.log(o);
339
+ });
340
+ };
341
+ Object.keys(z).forEach((o) => {
342
+ R(o, z[o]);
343
+ });
344
+ const Y = () => {
345
+ gt(g);
346
+ }, Z = () => {
347
+ window.postMessage({ type: "CloseCashier" }, window.location.href);
348
+ }, J = () => {
349
+ window.postMessage({ type: "BackCashier" }, window.location.href);
350
+ }, Q = () => {
351
+ e(1, A = !!d && d !== "false");
352
+ }, V = () => {
353
+ e(3, E = !!w && w !== "false");
354
+ }, X = () => {
355
+ e(2, j = c || "header.general");
356
+ };
357
+ rt(() => () => {
358
+ });
359
+ function $(o) {
360
+ ft[o ? "unshift" : "push"](() => {
361
+ l = o, e(0, l);
362
+ });
363
+ }
364
+ return s.$$set = (o) => {
365
+ "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
366
+ }, s.$$.update = () => {
367
+ s.$$.dirty & /*lang*/
368
+ 4096 && g && Y(), s.$$.dirty & /*lang, title*/
369
+ 6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
370
+ 129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
371
+ 257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
372
+ 16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
373
+ 4608 && g && _ && W(), s.$$.dirty & /*showbackbutton*/
374
+ 1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
375
+ 8192 && w && V();
376
+ }, [
377
+ l,
378
+ A,
379
+ j,
380
+ E,
381
+ i,
382
+ Z,
383
+ J,
384
+ h,
385
+ r,
386
+ _,
387
+ d,
388
+ c,
389
+ g,
390
+ w,
391
+ u,
392
+ a,
393
+ n,
394
+ $
395
+ ];
396
+ }
397
+ class P extends nt {
398
+ constructor(t) {
399
+ super(), it(
400
+ this,
401
+ t,
402
+ Tt,
403
+ Ht,
404
+ lt,
405
+ {
406
+ clientstyling: 7,
407
+ clientstylingurl: 8,
408
+ translationurl: 9,
409
+ showbackbutton: 10,
410
+ title: 11,
411
+ lang: 12,
412
+ showclosebutton: 13,
413
+ mbsource: 14
414
+ },
415
+ Ct
416
+ );
417
+ }
418
+ get clientstyling() {
419
+ return this.$$.ctx[7];
420
+ }
421
+ set clientstyling(t) {
422
+ this.$$set({ clientstyling: t }), b();
423
+ }
424
+ get clientstylingurl() {
425
+ return this.$$.ctx[8];
426
+ }
427
+ set clientstylingurl(t) {
428
+ this.$$set({ clientstylingurl: t }), b();
429
+ }
430
+ get translationurl() {
431
+ return this.$$.ctx[9];
432
+ }
433
+ set translationurl(t) {
434
+ this.$$set({ translationurl: t }), b();
435
+ }
436
+ get showbackbutton() {
437
+ return this.$$.ctx[10];
438
+ }
439
+ set showbackbutton(t) {
440
+ this.$$set({ showbackbutton: t }), b();
441
+ }
442
+ get title() {
443
+ return this.$$.ctx[11];
444
+ }
445
+ set title(t) {
446
+ this.$$set({ title: t }), b();
447
+ }
448
+ get lang() {
449
+ return this.$$.ctx[12];
450
+ }
451
+ set lang(t) {
452
+ this.$$set({ lang: t }), b();
453
+ }
454
+ get showclosebutton() {
455
+ return this.$$.ctx[13];
456
+ }
457
+ set showclosebutton(t) {
458
+ this.$$set({ showclosebutton: t }), b();
459
+ }
460
+ get mbsource() {
461
+ return this.$$.ctx[14];
462
+ }
463
+ set mbsource(t) {
464
+ this.$$set({ mbsource: t }), b();
465
+ }
466
+ }
467
+ ht(P, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
468
+ const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
469
+ __proto__: null,
470
+ default: P
471
+ }, Symbol.toStringTag, { value: "Module" }));
472
+ export {
473
+ At as C,
474
+ _t as a,
475
+ bt as b,
476
+ wt as s
477
+ };
@@ -0,0 +1 @@
1
+ "use strict";const n=require("./CashierPage-D5nA8HEN.cjs");function k(s,t){n.addMessages(s,t)}function I(s){n.init({fallbackLocale:"en"}),n.$locale.set(s)}const L={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}},da:{header:{general:"Kasse",deposit:"Indbetaling",withdraw:"Udbetaling"}},de:{header:{general:"Kasse",deposit:"Einzahlung",withdraw:"Auszahlung"}},nl:{header:{general:"Kassa",deposit:"Storting",withdraw:"Opname"}}},m="__WIDGET_GLOBAL_STYLE_CACHE__";function A(s,t){if(s){const e=document.createElement("style");e.innerHTML=t,s.appendChild(e)}}function R(s,t){if(!s||!t)return;const e=new URL(t);fetch(e.href).then(l=>l.text()).then(l=>{const i=document.createElement("style");i.innerHTML=l,s&&s.appendChild(i)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function E(s,t,e,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return e=P(s,t),e;window[m]||(window[m]={}),e=q(s,t);const a=e.unsubscribe.bind(e),d=()=>{if(window[m][t]){const c=window[m][t];c.refCount>1?c.refCount=c.refCount-1:delete window[m][t]}a()};return e.unsubscribe=d,e}function P(s,t){const e=document.createElement("style");return window.emMessageBus.subscribe(t,l=>{s&&(e.innerHTML=l,s.appendChild(e))})}function q(s,t){return window.emMessageBus.subscribe(t,e=>{if(!s)return;const l=s.getRootNode(),i=window[m];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(e),i[t]={sheet:a,refCount:1});const d=l.adoptedStyleSheets||[];d.includes(a)||(l.adoptedStyleSheets=[...d,a])})}function G(s){n.append_styles(s,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}const W=s=>({}),B=s=>({}),Y=s=>({}),v=s=>({}),Z=s=>({}),H=s=>({});function T(s){let t,e,l;return{c(){t=n.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',n.attr(t,"class","CashierHeaderLeftButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[6]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function J(s){let t,e=s[1]&&T(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[1]?e?e.p(l,i):(e=T(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function Q(s){let t,e=s[4](s[2])+"",l;return{c(){t=n.element("span"),l=n.text(e),n.attr(t,"class","CashierHeaderTitle")},m(i,a){n.insert(i,t,a),n.append(t,l)},p(i,a){a&20&&e!==(e=i[4](i[2])+"")&&n.set_data(l,e)},d(i){i&&n.detach(t)}}}function M(s){let t,e,l;return{c(){t=n.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>',n.attr(t,"class","CashierHeaderRightButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[5]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function V(s){let t,e=s[3]&&M(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[3]?e?e.p(l,i):(e=M(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function X(s){let t,e,l,i;const a=s[16].leftButton,d=n.create_slot(a,s,s[15],H),c=d||J(s),b=s[16].title,g=n.create_slot(b,s,s[15],v),u=g||Q(s),_=s[16].rightButton,w=n.create_slot(_,s,s[15],B),f=w||V(s);return{c(){t=n.element("div"),c&&c.c(),e=n.space(),u&&u.c(),l=n.space(),f&&f.c(),n.attr(t,"class","CashierHeader")},m(o,h){n.insert(o,t,h),c&&c.m(t,null),n.append(t,e),u&&u.m(t,null),n.append(t,l),f&&f.m(t,null),s[17](t),i=!0},p(o,[h]){d?d.p&&(!i||h&32768)&&n.update_slot_base(d,a,o,o[15],i?n.get_slot_changes(a,o[15],h,Z):n.get_all_dirty_from_scope(o[15]),H):c&&c.p&&(!i||h&2)&&c.p(o,i?h:-1),g?g.p&&(!i||h&32768)&&n.update_slot_base(g,b,o,o[15],i?n.get_slot_changes(b,o[15],h,Y):n.get_all_dirty_from_scope(o[15]),v):u&&u.p&&(!i||h&20)&&u.p(o,i?h:-1),w?w.p&&(!i||h&32768)&&n.update_slot_base(w,_,o,o[15],i?n.get_slot_changes(_,o[15],h,W):n.get_all_dirty_from_scope(o[15]),B):f&&f.p&&(!i||h&8)&&f.p(o,i?h:-1)},i(o){i||(n.transition_in(c,o),n.transition_in(u,o),n.transition_in(f,o),i=!0)},o(o){n.transition_out(c,o),n.transition_out(u,o),n.transition_out(f,o),i=!1},d(o){o&&n.detach(t),c&&c.d(o),u&&u.d(o),f&&f.d(o),s[17](null)}}}function $(s,t,e){let l;n.component_subscribe(s,n.$format,r=>e(4,l=r));let{$$slots:i={},$$scope:a}=t,{clientstyling:d=""}=t,{clientstylingurl:c=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:w=""}=t,{mbsource:f=""}=t,o,h,p=!1,C,y=!1;const O=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(S=>{k(S,r[S])})}).catch(r=>{console.log(r)})};Object.keys(L).forEach(r=>{k(r,L[r])});const j=()=>{I(_)},z=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},U=()=>{window.postMessage({type:"BackCashier"},window.location.href)},N=()=>{e(1,p=!!g&&g!=="false")},D=()=>{e(3,y=!!w&&w!=="false")},K=()=>{e(2,C=u||"header.general")};n.onMount(()=>()=>{});function x(r){n.binding_callbacks[r?"unshift":"push"](()=>{o=r,e(0,o)})}return s.$$set=r=>{"clientstyling"in r&&e(7,d=r.clientstyling),"clientstylingurl"in r&&e(8,c=r.clientstylingurl),"translationurl"in r&&e(9,b=r.translationurl),"showbackbutton"in r&&e(10,g=r.showbackbutton),"title"in r&&e(11,u=r.title),"lang"in r&&e(12,_=r.lang),"showclosebutton"in r&&e(13,w=r.showclosebutton),"mbsource"in r&&e(14,f=r.mbsource),"$$scope"in r&&e(15,a=r.$$scope)},s.$$.update=()=>{s.$$.dirty&4096&&_&&j(),s.$$.dirty&6144&&_&&u&&K(),s.$$.dirty&129&&d&&o&&A(o,d),s.$$.dirty&257&&c&&o&&R(o,c),s.$$.dirty&16385&&f&&o&&E(o,`${f}.Style`,h),s.$$.dirty&4608&&_&&b&&O(),s.$$.dirty&1024&&g&&N(),s.$$.dirty&8192&&w&&D()},[o,p,C,y,l,z,U,d,c,b,g,u,_,w,f,a,i,x]}class F extends n.SvelteComponent{constructor(t){super(),n.init$1(this,t,$,X,n.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},G)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),n.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),n.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),n.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(F,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const tt=Object.freeze(Object.defineProperty({__proto__:null,default:F},Symbol.toStringTag,{value:"Module"}));exports.CashierHeader_ce=tt;exports.setClientStyling=A;exports.setClientStylingURL=R;exports.setStreamStyling=E;