@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,386 @@
1
+ import { S as te, b as ie, s as ne, f as C, d as oe, g as S, t as O, h as z, a8 as le, a7 as se, l as H, n as b, r as ae, a0 as j, e as B, u as F, j as Y, k as D, L, m as _, G as re, o as I, p as h, H as de, y as W, z as ce, A as fe, Q as R, c as ue } from "./CashierPage-Dav0dith.js";
2
+ import { s as he, a as me, b as ge } from "./CashierHeader-BJUPYAsB.js";
3
+ function pe(i) {
4
+ oe(i, "svelte-e2luo5", '*,*::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)}.Uppercase{text-transform:uppercase}.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}}');
5
+ }
6
+ const we = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), q = (i) => ({});
7
+ function A(i) {
8
+ let e, t, n, a, f, m, v, T, k, y, x, u, d = (
9
+ /*modaltype*/
10
+ (i[3] == "error" || /*modaltype*/
11
+ i[3] == "bonusDescription") && G()
12
+ );
13
+ const g = (
14
+ /*#slots*/
15
+ i[14].title
16
+ ), p = B(
17
+ g,
18
+ i,
19
+ /*$$scope*/
20
+ i[13],
21
+ q
22
+ );
23
+ let r = (
24
+ /*modaltype*/
25
+ i[3] != "2fa-old" && P(i)
26
+ ), l = (
27
+ /*isloading*/
28
+ i[4] === "true" && Q()
29
+ );
30
+ const M = (
31
+ /*#slots*/
32
+ i[14].content
33
+ ), c = B(
34
+ M,
35
+ i,
36
+ /*$$scope*/
37
+ i[13],
38
+ U
39
+ );
40
+ return {
41
+ c() {
42
+ e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f = I(), m = b("div"), p && p.c(), v = I(), r && r.c(), T = I(), l && l.c(), k = I(), y = b("div"), c && c.c(), h(m, "class", "TitleText"), h(a, "class", "ModalTitle"), h(n, "class", "ModalHeader"), h(y, "class", "ModalContentWrapper"), L(
43
+ y,
44
+ "hidden",
45
+ /*isloading*/
46
+ i[4] === "true"
47
+ ), h(t, "class", "ModalContainer"), L(
48
+ t,
49
+ "video-mode",
50
+ /*modaltype*/
51
+ i[3] === "video"
52
+ ), L(
53
+ t,
54
+ "twofa-mode",
55
+ /*modaltype*/
56
+ i[3] === "2fa"
57
+ ), h(e, "id", "Modal"), de(() => (
58
+ /*div5_elementresize_handler*/
59
+ i[18].call(e)
60
+ ));
61
+ },
62
+ m(s, w) {
63
+ H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), x = re(
64
+ e,
65
+ /*div5_elementresize_handler*/
66
+ i[18].bind(e)
67
+ ), u = !0;
68
+ },
69
+ p(s, w) {
70
+ /*modaltype*/
71
+ s[3] == "error" || /*modaltype*/
72
+ s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
73
+ 8192) && F(
74
+ p,
75
+ g,
76
+ s,
77
+ /*$$scope*/
78
+ s[13],
79
+ u ? D(
80
+ g,
81
+ /*$$scope*/
82
+ s[13],
83
+ w,
84
+ ye
85
+ ) : Y(
86
+ /*$$scope*/
87
+ s[13]
88
+ ),
89
+ q
90
+ ), /*modaltype*/
91
+ s[3] != "2fa-old" ? r ? r.p(s, w) : (r = P(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
92
+ s[4] === "true" ? l || (l = Q(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
93
+ 8192) && F(
94
+ c,
95
+ M,
96
+ s,
97
+ /*$$scope*/
98
+ s[13],
99
+ u ? D(
100
+ M,
101
+ /*$$scope*/
102
+ s[13],
103
+ w,
104
+ we
105
+ ) : Y(
106
+ /*$$scope*/
107
+ s[13]
108
+ ),
109
+ U
110
+ ), (!u || w & /*isloading*/
111
+ 16) && L(
112
+ y,
113
+ "hidden",
114
+ /*isloading*/
115
+ s[4] === "true"
116
+ ), (!u || w & /*modaltype*/
117
+ 8) && L(
118
+ t,
119
+ "video-mode",
120
+ /*modaltype*/
121
+ s[3] === "video"
122
+ ), (!u || w & /*modaltype*/
123
+ 8) && L(
124
+ t,
125
+ "twofa-mode",
126
+ /*modaltype*/
127
+ s[3] === "2fa"
128
+ );
129
+ },
130
+ i(s) {
131
+ u || (z(p, s), z(c, s), u = !0);
132
+ },
133
+ o(s) {
134
+ O(p, s), O(c, s), u = !1;
135
+ },
136
+ d(s) {
137
+ s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), x();
138
+ }
139
+ };
140
+ }
141
+ function G(i) {
142
+ let e;
143
+ return {
144
+ c() {
145
+ e = b("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>', h(e, "class", "WarningIcon");
146
+ },
147
+ m(t, n) {
148
+ H(t, e, n);
149
+ },
150
+ d(t) {
151
+ t && S(e);
152
+ }
153
+ };
154
+ }
155
+ function P(i) {
156
+ let e, t, n, a, f;
157
+ return {
158
+ c() {
159
+ e = b("div"), t = R("svg"), n = R("path"), h(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
160
+ },
161
+ m(m, v) {
162
+ H(m, e, v), _(e, t), _(t, n), a || (f = fe(
163
+ t,
164
+ "click",
165
+ /*closeModal*/
166
+ i[9]
167
+ ), a = !0);
168
+ },
169
+ p: ce,
170
+ d(m) {
171
+ m && S(e), a = !1, f();
172
+ }
173
+ };
174
+ }
175
+ function Q(i) {
176
+ let e;
177
+ return {
178
+ c() {
179
+ e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', h(e, "class", "ModalLoadingOverlay");
180
+ },
181
+ m(t, n) {
182
+ H(t, e, n);
183
+ },
184
+ d(t) {
185
+ t && S(e);
186
+ }
187
+ };
188
+ }
189
+ function _e(i) {
190
+ let e, t, n = (
191
+ /*show*/
192
+ i[2] === "true" && A(i)
193
+ );
194
+ return {
195
+ c() {
196
+ e = b("div"), n && n.c();
197
+ },
198
+ m(a, f) {
199
+ H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
200
+ },
201
+ p(a, [f]) {
202
+ /*show*/
203
+ a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
204
+ 4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
205
+ n = null;
206
+ }), se());
207
+ },
208
+ i(a) {
209
+ t || (z(n), t = !0);
210
+ },
211
+ o(a) {
212
+ O(n), t = !1;
213
+ },
214
+ d(a) {
215
+ a && S(e), n && n.d(), i[19](null);
216
+ }
217
+ };
218
+ }
219
+ function be(i, e, t) {
220
+ let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: x } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
221
+ const w = () => {
222
+ c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
223
+ () => {
224
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
225
+ },
226
+ 200
227
+ ));
228
+ }, E = async () => {
229
+ if (!l || !r || M)
230
+ return;
231
+ s && clearTimeout(c), M = !0;
232
+ const o = l.offsetWidth, X = l.offsetHeight;
233
+ t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${X}px`, l), l.offsetHeight, await j();
234
+ const $ = r.scrollHeight, ee = r.scrollWidth;
235
+ t(8, l.style.width = `${ee}px`, l), t(8, l.style.height = `${$}px`, l), s = setTimeout(
236
+ () => {
237
+ l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), M = !1;
238
+ },
239
+ 300
240
+ );
241
+ };
242
+ ae(() => {
243
+ if (j().then(() => {
244
+ E();
245
+ }), r) {
246
+ const o = new ResizeObserver(() => {
247
+ E();
248
+ });
249
+ return o.observe(r), () => {
250
+ o.disconnect();
251
+ };
252
+ }
253
+ return () => {
254
+ c && clearTimeout(c), s && clearTimeout(c);
255
+ };
256
+ });
257
+ function Z(o) {
258
+ W[o ? "unshift" : "push"](() => {
259
+ r = o, t(7, r);
260
+ });
261
+ }
262
+ function J(o) {
263
+ W[o ? "unshift" : "push"](() => {
264
+ l = o, t(8, l);
265
+ });
266
+ }
267
+ function K(o) {
268
+ W[o ? "unshift" : "push"](() => {
269
+ d = o, t(6, d);
270
+ });
271
+ }
272
+ function N() {
273
+ x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
274
+ }
275
+ function V(o) {
276
+ W[o ? "unshift" : "push"](() => {
277
+ g = o, t(5, g);
278
+ });
279
+ }
280
+ return i.$$set = (o) => {
281
+ "mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, x = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
282
+ }, i.$$.update = () => {
283
+ i.$$.dirty & /*isloading*/
284
+ 16 && y && j().then(() => {
285
+ E();
286
+ }), i.$$.dirty & /*clientstyling, customStylingContainer*/
287
+ 2080 && m && g && he(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
288
+ 4128 && v && g && me(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
289
+ 1056 && f && g && ge(g, `${f}.Style`, p);
290
+ }, [
291
+ x,
292
+ u,
293
+ T,
294
+ k,
295
+ y,
296
+ g,
297
+ d,
298
+ r,
299
+ l,
300
+ w,
301
+ f,
302
+ m,
303
+ v,
304
+ a,
305
+ n,
306
+ Z,
307
+ J,
308
+ K,
309
+ N,
310
+ V
311
+ ];
312
+ }
313
+ class ve extends te {
314
+ constructor(e) {
315
+ super(), ie(
316
+ this,
317
+ e,
318
+ be,
319
+ _e,
320
+ ne,
321
+ {
322
+ mbsource: 10,
323
+ clientstyling: 11,
324
+ clientstylingurl: 12,
325
+ show: 2,
326
+ modaltype: 3,
327
+ isloading: 4,
328
+ width: 0,
329
+ height: 1
330
+ },
331
+ pe
332
+ );
333
+ }
334
+ get mbsource() {
335
+ return this.$$.ctx[10];
336
+ }
337
+ set mbsource(e) {
338
+ this.$$set({ mbsource: e }), C();
339
+ }
340
+ get clientstyling() {
341
+ return this.$$.ctx[11];
342
+ }
343
+ set clientstyling(e) {
344
+ this.$$set({ clientstyling: e }), C();
345
+ }
346
+ get clientstylingurl() {
347
+ return this.$$.ctx[12];
348
+ }
349
+ set clientstylingurl(e) {
350
+ this.$$set({ clientstylingurl: e }), C();
351
+ }
352
+ get show() {
353
+ return this.$$.ctx[2];
354
+ }
355
+ set show(e) {
356
+ this.$$set({ show: e }), C();
357
+ }
358
+ get modaltype() {
359
+ return this.$$.ctx[3];
360
+ }
361
+ set modaltype(e) {
362
+ this.$$set({ modaltype: e }), C();
363
+ }
364
+ get isloading() {
365
+ return this.$$.ctx[4];
366
+ }
367
+ set isloading(e) {
368
+ this.$$set({ isloading: e }), C();
369
+ }
370
+ get width() {
371
+ return this.$$.ctx[0];
372
+ }
373
+ set width(e) {
374
+ this.$$set({ width: e }), C();
375
+ }
376
+ get height() {
377
+ return this.$$.ctx[1];
378
+ }
379
+ set height(e) {
380
+ this.$$set({ height: e }), C();
381
+ }
382
+ }
383
+ ue(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
384
+ export {
385
+ ve as default
386
+ };
@@ -1,4 +1,4 @@
1
- import { S as C, b as v, f as d, c as _, a as k, d as N, g as h, y as b, h as z, j as S, k as E, l as f, A as L, z as p, n as x, v as M, C as T } from "./CashierConfirmModal-Bho8FqJK.js";
1
+ import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-WcM68RV2.js";
2
2
  function H(n) {
3
3
  N(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
  }
@@ -6,16 +6,16 @@ function R(n) {
6
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
11
  n[0]
12
- ), u = z(), l = h("button"), a = b(
12
+ ), u = E(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), S(t, "class", "CashierNotifications");
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), n[6](t), i || (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 = S(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -35,10 +35,10 @@ function R(n) {
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), n[6](null), i = !1, m();
41
+ o && k(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
@@ -61,7 +61,7 @@ function U(n, t, s) {
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- T[e ? "unshift" : "push"](() => {
64
+ M[e ? "unshift" : "push"](() => {
65
65
  i = e, s(2, i);
66
66
  });
67
67
  }
@@ -81,14 +81,14 @@ function U(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class j extends C {
84
+ class q extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
89
  U,
90
90
  R,
91
- k,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
@@ -123,7 +123,7 @@ class j extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- j as default
128
+ q as default
129
129
  };
@@ -0,0 +1,129 @@
1
+ import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-BuVeTvKW.js";
2
+ function H(n) {
3
+ N(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
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
17
+ m(o, c) {
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 = S(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && k(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
53
+ let e = new URL(a), y = document.createElement("style");
54
+ fetch(e.href).then((g) => g.text()).then((g) => {
55
+ y.innerHTML = g, setTimeout(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
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
+ }, n.$$.update = () => {
71
+ n.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && i && c();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-BaIwIJHa.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),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},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 h 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(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;