@everymatrix/cashier-page 1.50.0 → 1.50.110

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 (258) hide show
  1. package/components/CashierCarousel-BDml_k6w.js +708 -0
  2. package/components/CashierCarousel-BVmyFDx4.cjs +1 -0
  3. package/components/CashierCarousel-Bd1AqAVR.cjs +1 -0
  4. package/components/CashierCarousel-BeapCEtK.cjs +1 -0
  5. package/components/CashierCarousel-Bugw5tyI.js +708 -0
  6. package/components/CashierCarousel-COl4VcVY.js +711 -0
  7. package/components/CashierCarousel-CXUvw0R7.js +711 -0
  8. package/components/CashierCarousel-CroFG8Xo.js +711 -0
  9. package/components/CashierCarousel-DfQzq9Go.js +711 -0
  10. package/components/CashierCarousel-Dtp7hznQ.cjs +1 -0
  11. package/components/CashierCarousel-YirC6RJx.js +708 -0
  12. package/components/CashierCarousel-YzIHQA_U.js +708 -0
  13. package/components/CashierError-823wzpBc.cjs +1 -0
  14. package/components/CashierError-BDhHDbx7.cjs +1 -0
  15. package/components/CashierError-BFogL6zj.js +849 -0
  16. package/components/CashierError-BU_nAUO7.cjs +1 -0
  17. package/components/CashierError-Cql8hgCS.cjs +1 -0
  18. package/components/CashierError-Cye53nP1.js +849 -0
  19. package/components/CashierError-D1XdESJ-.js +849 -0
  20. package/components/CashierError-DFpXjpnw.js +849 -0
  21. package/components/CashierError-DNPGd_Qy.js +849 -0
  22. package/components/CashierError-DeSxsrV5.js +849 -0
  23. package/components/CashierError-DhLbUDdZ.js +849 -0
  24. package/components/CashierError-uh3dtxeS.js +849 -0
  25. package/components/CashierHeader-B0bhoFUA.js +477 -0
  26. package/components/CashierHeader-BJUPYAsB.js +477 -0
  27. package/components/CashierHeader-BppY3Whf.js +477 -0
  28. package/components/CashierHeader-BsoummJc.js +477 -0
  29. package/components/CashierHeader-CHgw-pMp.js +477 -0
  30. package/components/CashierHeader-Ciphzksz.cjs +1 -0
  31. package/components/CashierHeader-D6fFga5G.js +477 -0
  32. package/components/CashierHeader-DFTZEscY.cjs +1 -0
  33. package/components/CashierHeader-DGQgK3Mi.cjs +1 -0
  34. package/components/CashierHeader-DGtwYREo.js +477 -0
  35. package/components/CashierHeader-DXiUgEC4.cjs +1 -0
  36. package/components/CashierHeader-qF4Dp4lm.js +477 -0
  37. package/components/CashierIframeRedirect-BF2MxkzL.cjs +1 -0
  38. package/components/CashierIframeRedirect-BR16-UED.js +387 -0
  39. package/components/CashierIframeRedirect-BX7-YCI8.cjs +1 -0
  40. package/components/CashierIframeRedirect-BaAtwDvz.js +387 -0
  41. package/components/CashierIframeRedirect-C2V-UdlY.js +387 -0
  42. package/components/CashierIframeRedirect-CsVyY3cR.js +387 -0
  43. package/components/CashierIframeRedirect-CwxZ7TXO.js +387 -0
  44. package/components/CashierIframeRedirect-DTNEJYcp.cjs +1 -0
  45. package/components/CashierIframeRedirect-DsTB0VPT.js +387 -0
  46. package/components/CashierIframeRedirect-DvPoIaeZ.cjs +1 -0
  47. package/components/CashierIframeRedirect-DwHUOnqx.js +387 -0
  48. package/components/CashierIframeRedirect-DzZ0ny59.js +387 -0
  49. package/components/CashierMethodDetails--VgKronF.js +11361 -0
  50. package/components/CashierMethodDetails-BJzw7HpC.js +11311 -0
  51. package/components/CashierMethodDetails-BduwgGFf.js +11312 -0
  52. package/components/CashierMethodDetails-CFTNshq8.js +11364 -0
  53. package/components/CashierMethodDetails-Cx5hAXMm.js +11319 -0
  54. package/components/CashierMethodDetails-DM9jw46k.cjs +85 -0
  55. package/components/CashierMethodDetails-DU7kvJBt.js +11315 -0
  56. package/components/CashierMethodDetails-DYrbrr8o.cjs +85 -0
  57. package/components/CashierMethodDetails-DqHPQoci.js +11360 -0
  58. package/components/CashierMethodDetails-LuXonXkb.cjs +85 -0
  59. package/components/CashierMethodDetails-Mf9CjdnH.cjs +85 -0
  60. package/components/CashierMethodDetails-wUxBeaoT.js +11368 -0
  61. package/components/CashierMethodsList-B_w3Kuar.js +969 -0
  62. package/components/CashierMethodsList-Bajk_fN2.cjs +1 -0
  63. package/components/CashierMethodsList-BmBonjbW.js +955 -0
  64. package/components/CashierMethodsList-Bmp_KFjq.js +955 -0
  65. package/components/CashierMethodsList-CZDLiDr_.cjs +1 -0
  66. package/components/CashierMethodsList-DNKyMqx9.cjs +1 -0
  67. package/components/CashierMethodsList-Da48wqYP.js +969 -0
  68. package/components/CashierMethodsList-DikeveqL.js +955 -0
  69. package/components/CashierMethodsList-DoZUls2T.js +969 -0
  70. package/components/CashierMethodsList-TDZO2lgt.cjs +1 -0
  71. package/components/CashierMethodsList-_2jprmvV.js +969 -0
  72. package/components/CashierMethodsList-vNXo4202.js +955 -0
  73. package/components/CashierModal-2KqFqz9P.js +402 -0
  74. package/components/CashierModal-BjBuHzUT.js +386 -0
  75. package/components/CashierModal-BjCLh7Ni.cjs +1 -0
  76. package/components/CashierModal-Bm2VVV9v.js +386 -0
  77. package/components/CashierModal-CD-mRbW-.js +386 -0
  78. package/components/CashierModal-Ci9EsZWx.cjs +1 -0
  79. package/components/CashierModal-CoQj_0GG.js +402 -0
  80. package/components/CashierModal-D3CCFA8n.js +402 -0
  81. package/components/CashierModal-Dg-s3ob3.cjs +1 -0
  82. package/components/CashierModal-IjvEDr1e.cjs +1 -0
  83. package/components/CashierModal-Tx-_I3C5.js +402 -0
  84. package/components/CashierModal-_6k8SMmv.js +386 -0
  85. package/components/{CashierNotifications-Dx7SHS2Y.js → CashierNotifications-8gjVa_uU.js} +13 -13
  86. package/components/CashierNotifications-B-ca_1gR.js +129 -0
  87. package/components/CashierNotifications-B8CttXUW.cjs +1 -0
  88. package/components/CashierNotifications-BwSNv1p7.js +129 -0
  89. package/components/CashierNotifications-C1ho-Jaz.cjs +1 -0
  90. package/components/CashierNotifications-CKOYETVR.js +129 -0
  91. package/components/CashierNotifications-CMN-xRMO.cjs +1 -0
  92. package/components/CashierNotifications-CW1ZTrj2.js +129 -0
  93. package/components/CashierNotifications-DpuHjG3p.js +129 -0
  94. package/components/CashierNotifications-Dwb6PONf.js +129 -0
  95. package/components/CashierNotifications-Pv9TuEmZ.js +129 -0
  96. package/components/CashierNotifications-RLUOVh_a.cjs +1 -0
  97. package/components/CashierPage-BaIwIJHa.cjs +23 -0
  98. package/components/CashierPage-BuVeTvKW.js +10251 -0
  99. package/components/CashierPage-CJp9QSIi.cjs +23 -0
  100. package/components/CashierPage-CdLRZC8f.js +10304 -0
  101. package/components/CashierPage-CefJ-ocg.js +10251 -0
  102. package/components/CashierPage-D1htTrxx.js +10304 -0
  103. package/components/CashierPage-DA1UIZ8S.js +10304 -0
  104. package/components/CashierPage-DDxb0MKa.js +10304 -0
  105. package/components/CashierPage-Dav0dith.js +10251 -0
  106. package/components/CashierPage-Ditk0AIr.cjs +23 -0
  107. package/components/CashierPage-WcM68RV2.js +10251 -0
  108. package/components/CashierPage-iXK3cQSt.cjs +23 -0
  109. package/components/CashierReceiptPage-B0JUFD2S.cjs +29 -0
  110. package/components/CashierReceiptPage-B8Z2MIBL.js +2063 -0
  111. package/components/CashierReceiptPage-BFGN9mSN.js +2043 -0
  112. package/components/CashierReceiptPage-BIUhFAGF.js +2063 -0
  113. package/components/CashierReceiptPage-BItCN-Ho.js +2043 -0
  114. package/components/CashierReceiptPage-BRRJnEPY.js +2043 -0
  115. package/components/CashierReceiptPage-BY5K-pb-.js +2063 -0
  116. package/components/CashierReceiptPage-Bbk02vgF.cjs +29 -0
  117. package/components/CashierReceiptPage-BwxezsZt.js +2043 -0
  118. package/components/CashierReceiptPage-Cce54jka.cjs +29 -0
  119. package/components/CashierReceiptPage-M-ZC6CP_.js +2063 -0
  120. package/components/CashierReceiptPage-v1DECVU-.cjs +29 -0
  121. package/components/CashierSessionExpirationModal-BK2_wm99.cjs +2 -0
  122. package/components/CashierSessionExpirationModal-BShnnd_h.js +1212 -0
  123. package/components/CashierSessionExpirationModal-BWNXPWxc.js +1212 -0
  124. package/components/CashierSessionExpirationModal-CLxmnB3R.js +1212 -0
  125. package/components/CashierSessionExpirationModal-CSMPQDFH.cjs +2 -0
  126. package/components/CashierSessionExpirationModal-Comz8M40.cjs +2 -0
  127. package/components/CashierSessionExpirationModal-D0BpNBmZ.js +1212 -0
  128. package/components/CashierSessionExpirationModal-D1pgZ4Hb.js +1212 -0
  129. package/components/CashierSessionExpirationModal-DjUO431d.cjs +2 -0
  130. package/components/CashierSessionExpirationModal-DqSIsJxv.js +1212 -0
  131. package/components/CashierSessionExpirationModal-DukMm7cR.js +1212 -0
  132. package/components/CashierSessionExpirationModal-oBtX4-uP.js +1212 -0
  133. package/components/CashierSpinner-BJnp0qhe.js +79 -0
  134. package/components/CashierSpinner-BbF9Pu3y.cjs +1 -0
  135. package/components/CashierSpinner-BwEdDRlw.js +79 -0
  136. package/components/CashierSpinner-CPS-fbCS.cjs +1 -0
  137. package/components/CashierSpinner-CijlQ7Jb.js +79 -0
  138. package/components/CashierSpinner-Cp08TAwN.cjs +1 -0
  139. package/components/CashierSpinner-CrFft3Sn.cjs +1 -0
  140. package/components/CashierSpinner-CtI4X8lZ.js +79 -0
  141. package/components/CashierSpinner-D-uLFs59.js +79 -0
  142. package/components/CashierSpinner-D6_uiSDw.js +79 -0
  143. package/components/CashierSpinner-HGOslVca.js +79 -0
  144. package/components/CashierSpinner-iQ3LWBE8.js +79 -0
  145. package/components/CashierStepUp-B5SFdX4c.js +1161 -0
  146. package/components/CashierStepUp-B8jEpfpI.cjs +1 -0
  147. package/components/CashierStepUp-BA1TZFgZ.cjs +1 -0
  148. package/components/CashierStepUp-BbuAT98T.js +1161 -0
  149. package/components/CashierStepUp-BrKQHB8z.js +1200 -0
  150. package/components/CashierStepUp-Cuw-UFB4.js +1200 -0
  151. package/components/CashierStepUp-CxYfVJbG.js +1161 -0
  152. package/components/CashierStepUp-Db-BT4Wt.js +1200 -0
  153. package/components/CashierStepUp-DgIrjq3H.js +1200 -0
  154. package/components/CashierStepUp-Dmu5H4_4.cjs +1 -0
  155. package/components/CashierStepUp-DrhTGMAU.js +1161 -0
  156. package/components/CashierStepUp-DwDnE54o.cjs +1 -0
  157. package/components/CashierTransactionHistory-8Ijjq6-a.cjs +1 -0
  158. package/components/CashierTransactionHistory-B6EZhgfX.js +1415 -0
  159. package/components/CashierTransactionHistory-BGaRKnAl.js +1415 -0
  160. package/components/CashierTransactionHistory-Brkk9hj3.cjs +1 -0
  161. package/components/CashierTransactionHistory-C1n-D4Wb.js +1415 -0
  162. package/components/CashierTransactionHistory-CGxJcTl5.cjs +1 -0
  163. package/components/CashierTransactionHistory-CdC-Ml8p.js +1415 -0
  164. package/components/CashierTransactionHistory-CjRne0U9.js +1415 -0
  165. package/components/CashierTransactionHistory-CzZswOtC.js +1415 -0
  166. package/components/CashierTransactionHistory-D6IaNMgy.js +1415 -0
  167. package/components/CashierTransactionHistory-DYKLHPml.cjs +1 -0
  168. package/components/CashierTransactionHistory-DtsTfXjZ.js +1415 -0
  169. package/components/CashierVerifications-BDgGTdjX.js +696 -0
  170. package/components/CashierVerifications-BKoNok_b.js +700 -0
  171. package/components/CashierVerifications-BRTvf5t4.js +696 -0
  172. package/components/CashierVerifications-BU-pPwnt.js +696 -0
  173. package/components/CashierVerifications-BdgCPyvj.cjs +1 -0
  174. package/components/CashierVerifications-Bu_4fcwt.cjs +1 -0
  175. package/components/CashierVerifications-C2sK0JMU.cjs +1 -0
  176. package/components/CashierVerifications-CHcdLAGz.cjs +1 -0
  177. package/components/CashierVerifications-CMynKu53.js +696 -0
  178. package/components/CashierVerifications-C_sQECJN.js +700 -0
  179. package/components/CashierVerifications-CrLvzaUH.js +700 -0
  180. package/components/CashierVerifications-DtoCEJ_H.js +700 -0
  181. package/components/TxnStatusIcon-5dGHqNJj.js +142 -0
  182. package/components/TxnStatusIcon-B3gjjhUj.js +142 -0
  183. package/components/TxnStatusIcon-BAWpcB0g.js +142 -0
  184. package/components/TxnStatusIcon-CltqIISZ.js +142 -0
  185. package/components/TxnStatusIcon-D-oJwJ2f.js +142 -0
  186. package/components/TxnStatusIcon-D-vBlig8.js +142 -0
  187. package/components/TxnStatusIcon-D77NSDRc.js +142 -0
  188. package/components/TxnStatusIcon-D8rS44nE.cjs +1 -0
  189. package/components/TxnStatusIcon-De9rtFVI.cjs +1 -0
  190. package/components/TxnStatusIcon-Jv2ynILA.js +142 -0
  191. package/components/TxnStatusIcon-KsibSvGt.cjs +1 -0
  192. package/components/TxnStatusIcon-WGZKBMbi.cjs +1 -0
  193. package/components/TxnTypeIcons-B8JYAm1N.js +101 -0
  194. package/components/TxnTypeIcons-BAu7ZXcx.js +101 -0
  195. package/components/TxnTypeIcons-BC2MMQk1.cjs +1 -0
  196. package/components/TxnTypeIcons-BTTcl99h.js +101 -0
  197. package/components/TxnTypeIcons-C1PPXlv0.js +101 -0
  198. package/components/TxnTypeIcons-CQ2NkaXf.cjs +1 -0
  199. package/components/TxnTypeIcons-DBLDYLhO.js +101 -0
  200. package/components/TxnTypeIcons-DHDq_jkt.cjs +1 -0
  201. package/components/TxnTypeIcons-DsBV_auh.js +101 -0
  202. package/components/TxnTypeIcons-H_ILduEQ.js +101 -0
  203. package/components/TxnTypeIcons-OBZcuGyc.cjs +1 -0
  204. package/components/TxnTypeIcons-jcfxBCN0.js +101 -0
  205. package/es2015/cashier-page.cjs +1 -1
  206. package/es2015/cashier-page.js +7 -7
  207. package/esnext/cashier-page.js +14 -0
  208. package/package.json +10 -15
  209. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  210. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  211. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  212. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  213. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  214. package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
  215. package/stencil/index-b2193545-CF_fVoFe.js +519 -0
  216. package/stencil/index-b2193545-DfttkCgg.js +503 -0
  217. package/stencil/ui-image-BsYHwNhO.js +7 -0
  218. package/stencil/ui-image-CNaRr0ax.js +25 -0
  219. package/stencil/ui-image-IJc7Zz_R.cjs +1 -0
  220. package/stencil/ui-image-b7b48fe5-BKRtoUuG.js +39 -0
  221. package/stencil/ui-image-b7b48fe5-HA45CrsG.js +39 -0
  222. package/stencil/ui-image-b7b48fe5-MC0x5ZQd.cjs +1 -0
  223. package/stencil/ui-image_2-CmVho0dS.js +157 -0
  224. package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
  225. package/stencil/ui-image_2-Daq38JGa.js +157 -0
  226. package/stencil/ui-skeleton-B9YTz-WD.js +29 -0
  227. package/stencil/ui-skeleton-CQ-FgYMx.js +11 -0
  228. package/stencil/ui-skeleton-UxIIZ8UD.cjs +1 -0
  229. package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
  230. package/stencil/ui-skeleton-ed169f8f-BMrkXoR5.js +155 -0
  231. package/stencil/ui-skeleton-ed169f8f-BNn31z1X.js +155 -0
  232. package/components/CashierConfirmModal-Bho8FqJK.js +0 -1052
  233. package/components/CashierConfirmModal-KmRU3Mgr.cjs +0 -4
  234. package/components/CashierError-B6IaVYAb.cjs +0 -5
  235. package/components/CashierError-B6Kgc33u.js +0 -3759
  236. package/components/CashierHeader-DisTPfvX.js +0 -394
  237. package/components/CashierHeader-iNNp6cpC.cjs +0 -1
  238. package/components/CashierIframeRedirect-DkJY9SOb.js +0 -375
  239. package/components/CashierIframeRedirect-schHNvai.cjs +0 -1
  240. package/components/CashierMethodDetails-BSTbYrHT.js +0 -8164
  241. package/components/CashierMethodDetails-BjsnmtMr.cjs +0 -18
  242. package/components/CashierMethodsList-C75jsuOd.cjs +0 -1
  243. package/components/CashierMethodsList-CmTYla6n.js +0 -661
  244. package/components/CashierModal-FkJdngyj.cjs +0 -1
  245. package/components/CashierModal-XEf2DPsH.js +0 -232
  246. package/components/CashierNotifications-BJzRxOV_.cjs +0 -1
  247. package/components/CashierPage-DiyftSnl.cjs +0 -1
  248. package/components/CashierPage-aTsZIWLP.js +0 -2001
  249. package/components/CashierReceiptPage-BLPzX5RM.cjs +0 -1
  250. package/components/CashierReceiptPage-BMbXsPzB.js +0 -1092
  251. package/components/CashierSessionExpirationModal-HOfAhCNe.js +0 -1174
  252. package/components/CashierSessionExpirationModal-q87nskSB.cjs +0 -2
  253. package/components/CashierSpinner-CQi2Ol7j.js +0 -71
  254. package/components/CashierSpinner-CySOWnIQ.cjs +0 -1
  255. package/components/CashierVerifications-BVBxmsiH.cjs +0 -1
  256. package/components/CashierVerifications-DE4G3q6t.js +0 -617
  257. package/components/CashierVideoModal-DlhKKfRC.js +0 -191
  258. package/components/CashierVideoModal-DyD6vHBh.cjs +0 -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-DDxb0MKa.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-BaIwIJHa.cjs"),w=require("./CashierHeader-DGQgK3Mi.cjs");function y(i,t){e.addMessages(i,t)}function q(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const v={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-Cp08TAwN.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function I(i){e.append_styles(i,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.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)}.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)}")}function L(i){let t,n,r;return{c(){t=e.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>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(r=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,r()}}}function k(i){let t,n,r;return{c(){t=e.element("div"),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>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(r=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,r()}}}function S(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,r){e.insert(n,t,r)},p(n,r){r&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),r&32&&e.set_custom_element_data(t,"clientstyling",n[5]),r&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function T(i){let t,n,r,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[9]&&S(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),r=e.space(),a&&a.c(),f=e.space(),c&&c.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(s,u){e.insert(s,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,r),a&&a.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(n,r)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?a?a.p(s,u):(a=k(s),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(n,"lang",s[0]),u&4&&e.set_custom_element_data(n,"translationurl",s[2]),u&128&&e.set_custom_element_data(n,"title",s[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(n,"clientstyling",s[5]),u&16&&e.set_custom_element_data(n,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:r="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,s=!0;const u=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(v).forEach(l=>{y(l,v[l])});const E=()=>{q(r)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>C(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,r=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&r&&E(),i.$$.dirty&4&&m&&u(),i.$$.dirty&288&&g&&a&&w.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&w.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&w.setStreamStyling(a,`${h}.Style`,c)},[r,f,m,d,h,g,_,o,a,s,M,C,F,j]}class H extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,O,T,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},I)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;