@everymatrix/cashier-page 1.77.11 → 1.77.13

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 (62) hide show
  1. package/components/{CashierError-85r_lbiV.cjs → CashierError-BHJdKZpw.cjs} +1 -1
  2. package/components/{CashierError-In4OzIIA.js → CashierError-CqQ7LIEZ.js} +1 -1
  3. package/components/{CashierError-CteHkwfB.js → CashierError-Dx52V-JN.js} +1 -1
  4. package/components/{CashierHeader-bssm74cT.cjs → CashierHeader-BOx31rXH.cjs} +1 -1
  5. package/components/{CashierHeader-BeeK80Nf.js → CashierHeader-CM8xOoay.js} +1 -1
  6. package/components/{CashierHeader-DGh4L4vF.js → CashierHeader-D5GrbmZ3.js} +1 -1
  7. package/components/{CashierIframeRedirect-B2PCgM3_.cjs → CashierIframeRedirect-BLTs567Q.cjs} +1 -1
  8. package/components/{CashierIframeRedirect-tRttmemn.js → CashierIframeRedirect-BQI_WNTm.js} +3 -3
  9. package/components/{CashierIframeRedirect-CWs1zVlC.js → CashierIframeRedirect-CfhyGpRA.js} +3 -3
  10. package/components/{CashierMethodDetails-KOKgXTk_.js → CashierMethodDetails-B_ASW5rF.js} +6 -6
  11. package/components/{CashierMethodDetails-DIEXQ_bs.cjs → CashierMethodDetails-BwNRzFI6.cjs} +3 -3
  12. package/components/{CashierMethodDetails-TxMW9KHM.js → CashierMethodDetails-D8VRwNdV.js} +6 -6
  13. package/components/{CashierMethodsList-DqvRecs3.js → CashierMethodsList-BVfUYmpk.js} +2 -2
  14. package/components/{CashierMethodsList-D-fPkIFf.js → CashierMethodsList-C0aG8tsC.js} +2 -2
  15. package/components/{CashierMethodsList-H3zMjlXV.cjs → CashierMethodsList-npr5zJgs.cjs} +1 -1
  16. package/components/{CashierModal-CQu7VSLY.cjs → CashierModal-2cnnovqE.cjs} +1 -1
  17. package/components/{CashierModal-CZVHRmZu.js → CashierModal-BHc5HSTe.js} +1 -1
  18. package/components/{CashierModal-C49IE2Ol.js → CashierModal-CbuQofh-.js} +1 -1
  19. package/components/{CashierNotifications-CX0e5h0X.cjs → CashierNotifications-BLaPiOn8.cjs} +1 -1
  20. package/components/{CashierNotifications-Cdscp8qT.js → CashierNotifications-DtWkxfO3.js} +1 -1
  21. package/components/{CashierNotifications-DmdtMYZ2.js → CashierNotifications-TgstJKGI.js} +1 -1
  22. package/components/{CashierPage-CuhMQy2u.js → CashierPage-BwjswAkC.js} +10 -10
  23. package/components/{CashierPage-Cqjou1Zw.cjs → CashierPage-D-MYSvc0.cjs} +1 -1
  24. package/components/{CashierPage-Bfxoln_K.js → CashierPage-dXmq_Hen.js} +10 -10
  25. package/components/{CashierReceiptPage-N5y_pYYM.cjs → CashierReceiptPage-B5reQZhu.cjs} +1 -1
  26. package/components/{CashierReceiptPage-CvQ8KIUg.js → CashierReceiptPage-BTYpNniy.js} +3 -3
  27. package/components/{CashierReceiptPage-DilqzlXG.js → CashierReceiptPage-DkR4DUUc.js} +3 -3
  28. package/components/{CashierSessionExpirationModal-DmwU3gBW.js → CashierSessionExpirationModal-BBdAWU5S.js} +3 -3
  29. package/components/{CashierSessionExpirationModal-o4a_hIKV.cjs → CashierSessionExpirationModal-BHPfFQyq.cjs} +1 -1
  30. package/components/{CashierSessionExpirationModal-B-396VOt.js → CashierSessionExpirationModal-D7ReQGLy.js} +3 -3
  31. package/components/{CashierSpinner-DWl8E_o4.cjs → CashierSpinner-D-AxMp28.cjs} +1 -1
  32. package/components/{CashierSpinner-Cz3Wh-IF.js → CashierSpinner-DxCxilP-.js} +1 -1
  33. package/components/{CashierSpinner-lg9LHAJP.js → CashierSpinner-DyBUswJj.js} +1 -1
  34. package/components/{CashierTransactionHistory-DxdsXml4.cjs → CashierTransactionHistory-BPJ6qdHg.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-BVpChEDs.js → CashierTransactionHistory-BfeGY-0M.js} +6 -6
  36. package/components/{CashierTransactionHistory-BBF3VYjO.js → CashierTransactionHistory-DukB9tbv.js} +6 -6
  37. package/components/{CashierVerifications-D7pR1ROU.js → CashierVerifications-B5ukU98d.js} +2 -2
  38. package/components/{CashierVerifications-DGL-EpBk.cjs → CashierVerifications-CbI8-LQJ.cjs} +1 -1
  39. package/components/{CashierVerifications-CFJf1j4c.js → CashierVerifications-DNIOWqqv.js} +2 -2
  40. package/components/{TxnStatusIcon-DAlixEXq.js → TxnStatusIcon-BRdtWvXi.js} +1 -1
  41. package/components/{TxnStatusIcon-CTlOyy_y.cjs → TxnStatusIcon-D_3tf3v1.cjs} +1 -1
  42. package/components/{TxnStatusIcon-rx3aknw5.js → TxnStatusIcon-Nw7K6rsN.js} +1 -1
  43. package/components/{TxnTypeIcons-xUx3dWMd.js → TxnTypeIcons-BPru8uaF.js} +1 -1
  44. package/components/{TxnTypeIcons-CBrT37yr.cjs → TxnTypeIcons-C2wA07iX.cjs} +1 -1
  45. package/components/{TxnTypeIcons-Dvyjxf9B.js → TxnTypeIcons-Cgy1Q6p5.js} +1 -1
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/{index-256b7d4e-CSg5Fmgt.js → index-256b7d4e-B27ydHcs.js} +1 -1
  51. package/stencil/{index-256b7d4e-7jcaQ7rC.js → index-256b7d4e-DrOXnq3q.js} +1 -1
  52. package/stencil/{index-256b7d4e-BnoVkrXr.cjs → index-256b7d4e-yFNBIexD.cjs} +1 -1
  53. package/stencil/{ui-image-B0TLi195.js → ui-image-C-OHr-lS.js} +1 -1
  54. package/stencil/{ui-image-CLll1WRz.cjs → ui-image-C3HIAxIv.cjs} +1 -1
  55. package/stencil/{ui-image-CayMADxC.js → ui-image-CNzFkj7P.js} +1 -1
  56. package/stencil/{ui-image-8975d115-DxO6YS6C.js → ui-image-ae115205-Bmmit6PH.js} +18 -8
  57. package/stencil/{ui-image-8975d115-C8pJTCfZ.js → ui-image-ae115205-C9w0DS-q.js} +18 -8
  58. package/stencil/ui-image-ae115205-CcwMMc09.cjs +1 -0
  59. package/stencil/{ui-image_2-CXGY1IY3.cjs → ui-image_2-C-3C7pxb.cjs} +1 -1
  60. package/stencil/{ui-image_2-rhY_9uoo.js → ui-image_2-D4c_LX5r.js} +2 -2
  61. package/stencil/{ui-image_2-DwuycSdC.js → ui-image_2-hEBXfomA.js} +2 -2
  62. package/stencil/ui-image-8975d115-BIwRmPA-.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierError-85r_lbiV.cjs"),H=require("./CashierMethodDetails-DIEXQ_bs.cjs");require("./CashierIframeRedirect-B2PCgM3_.cjs");function le(o,t){e.addMessages(o,t)}function Ie(o){e.init({fallbackLocale:"en"}),e.$locale.set(o)}const re={en:{deposit:{success:{title:"{amount}",subTitle:"Deposited in your account",text:"Your deposit is successful"},pending:{title:"{amount}",subTitle:"Transaction is in progress",text:"Thank you. Your deposit is being processed."},reject:{title:"Deposit Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Your withdrawal is successful"},pending:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdrawal Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},reference:"Reference ID: {code}",close:"CLOSE",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}},goToPromotions:"Go To Promotions",goToSupport:"Contact Support",goToMerchantHomePage:"Merchant's Home Website",goToSports:"Go To Sports",goToCasino:"Visit Casino",externalLink:"External Link",uploadDocuments:"Upload Documents",goToHomepage:"Go To Homepage"},tr:{deposit:{success:{title:"{amount}",subTitle:"Hesabınıza yatırıldı",text:"Para yatırma işleminiz başarılı"},pending:{title:"{amount}",subTitle:"İşlem devam ediyor",text:"Teşekkür ederim. Para yatırma işleminiz yapılıyor."},reject:{title:"Para Yatırma Reddedildi",subTitle:" ",text:" "},fail:{title:"Hata",subTitle:" ",text:"{errorText}"},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount}",subTitle:"Hesabınızdan çekildi",text:"Para çekme işleminiz başarılı"},pending:{title:"{amount}",subTitle:"Hesabınızdan çekildi",text:"Teşekkür ederim. Para çekme işleminiz işleniyor."},reject:{title:"Para Çekme Reddedildi",subTitle:" ",text:" "},fail:{title:"Hata",subTitle:" ",text:"{errorText}"},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},goToPromotions:"Promosyonlara Git",goToSupport:"Destek ile İletişime Geç",goToMerchantHomePage:"Satıcının Ana Web Sitesi",goToSports:"Spora Git",goToCasino:"Casinoya Git",externalLink:"Harici Bağlantı",uploadDocuments:"Belge Yükle",goToHomepage:"Ana Sayfaya Git",reference:"Referans Kimliği: {code}",close:"KAPALI",receipt:{maintenance:{title:"Yakında Geri Döneceğiz",text:"Planlı bir bakım nedeniyle kapalıyız ve birkaç dakika içinde tekrar çevrimiçi olmayı bekliyoruz"}}},"pt-br":{deposit:{success:{title:"{amount}",subTitle:"Depositado em sua conta",text:"Seu depósito foi bem-sucedido"},pending:{title:"{amount}",subTitle:"Transação em andamento",text:"Obrigado. Seu depósito está sendo processado."},reject:{title:"Depósito Rejeitado",subTitle:"",text:"{errorText}"},fail:{title:"Erro",subTitle:"",text:"{errorText}"},cancel:{title:"Você cancelou a transação",subTitle:"",text:"{errorText}"}},goToPromotions:"Ir para Promoções",goToSupport:"Contatar Suporte",goToMerchantHomePage:"Site Principal do Comerciante",goToSports:"Ir para Esportes",goToCasino:"Visitar Cassino",externalLink:"Link Externo",uploadDocuments:"Enviar Documentos",goToHomepage:"Ir para Página Inicial",reference:"Referência ID: {code}",close:"VOLTAR AO PROVEDOR DE PAGAMENTO",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}}},"es-mx":{deposit:{success:{title:"{amount}",subTitle:"Depositado en tu cuenta",text:"Tu depósito fue exitoso"},pending:{title:"{amount}",subTitle:"Transacción en proceso",text:"Gracias. Tu depósito está siendo procesado."},reject:{title:"Depósito Rechazado",subTitle:" ",text:"{errorText}"},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"Has cancelado la transacción",subTitle:" ",text:"{errorText}"}},goToPromotions:"Pergi ke Promosi",goToSupport:"Hubungi Sokongan",goToMerchantHomePage:"Laman Web Utama Peniaga",goToSports:"Pergi ke Sukan",goToCasino:"Lawati Kasino",externalLink:"Pautan Luaran",uploadDocuments:"Muat Naik Dokumen",goToHomepage:"Pergi ke Laman Utama",reference:"Referencia ID: {code}",close:"REGRESAR A PROVEEDOR DE PAGO",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}}},"en-us":{deposit:{success:{title:"{amount}",subTitle:"Deposited in your account",text:"Your deposit is successful"},pending:{title:"{amount}",subTitle:"Transaction is in progress",text:"Thank you. Your deposit is being processed."},reject:{title:"Deposit Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Your withdrawal is successful"},pending:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdrawal Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},goToPromotions:"Go To Promotions",goToSupport:"Contact Support",goToMerchantHomePage:"Merchant's Home Website",close:"Close",goToSports:"Go To Sports",goToCasino:"Visit Casino",externalLink:"External Link",uploadDocuments:"Upload Documents",goToHomepage:"Go To Homepage",reference:"Reference ID: {code}",close:"CLOSE",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}}}},Me=(o,t)=>`${o+We[t]}`,He=(o,t)=>`${G[t]}.${O[o]}.title`,Be=(o,t)=>`${G[t]}.${O[o]}.subTitle`,Ae=(o,t)=>`${G[t]}.${O[o]}.text`,ze=o=>`${O[`${o}`]}`,We={Success:"/txn-success.png",Voided:"/txn-success.png",Rejected:"/txn-failed.png",Failed:"/txn-failed.png",Canceled:"/txn-failed.png",PendingNotification:"/txn-pending.png",PendingConfirmation:"/txn-pending.png",PendingApprovalStage1:"/txn-pending.png",PendingApprovalStage2:"/txn-pending.png",PendingApprovalStage3:"/txn-pending.png",PendingOfflineNotification:"/txn-pending.png"},G={Deposit:"deposit",Withdraw:"withdrawal"},O={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};function je(o){e.append_styles(o,"svelte-131vpua",".CashierReceiptPageWidget{height:100%;position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.success{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.fail{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.pending{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.reject{background:#E6E6E6}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.DefaultButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.DefaultButton:hover{background:var(--emw--color-hover, #71B11B)}.DefaultButton:active{background:var(--emw--color-active, #5C950F)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}")}function ce(o,t,n){const i=o.slice();return i[58]=t[n],i}function ue(o,t,n){const i=o.slice();return i[61]=t[n],i[63]=n,i}function Ne(o){let t;function n(l,r){if(l[16])return Ye;if(l[23]&&!l[24])return Oe}let i=n(o),s=i&&i(o);return{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","CashierReceiptPage")},m(l,r){e.insert(l,t,r),s&&s.m(t,null)},p(l,r){i===(i=n(l))&&s?s.p(l,r):(s&&s.d(1),s=i&&i(l),s&&(s.c(),s.m(t,null)))},d(l){l&&e.detach(t),s&&s.d()}}}function Ve(o){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",o[9]),e.set_custom_element_data(t,"clientstyling",o[8])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&512&&e.set_custom_element_data(t,"clientstylingurl",n[9]),i[0]&256&&e.set_custom_element_data(t,"clientstyling",n[8])},d(n){n&&e.detach(t)}}}function Oe(o){let t,n=o[23]===o[14].Maintenance&&de(o);return{c(){t=e.element("cashier-error"),n&&n.c(),e.set_custom_element_data(t,"assetsurl",o[6]),e.set_custom_element_data(t,"translationurl",o[5]),e.set_custom_element_data(t,"clientstylingurl",o[9]),e.set_custom_element_data(t,"clientstyling",o[8]),e.set_custom_element_data(t,"lang",o[2]),e.set_custom_element_data(t,"hidebuttons","true"),e.set_custom_element_data(t,"errorcode",o[23])},m(i,s){e.insert(i,t,s),n&&n.m(t,null)},p(i,s){i[23]===i[14].Maintenance?n?n.p(i,s):(n=de(i),n.c(),n.m(t,null)):n&&(n.d(1),n=null),s[0]&64&&e.set_custom_element_data(t,"assetsurl",i[6]),s[0]&32&&e.set_custom_element_data(t,"translationurl",i[5]),s[0]&512&&e.set_custom_element_data(t,"clientstylingurl",i[9]),s[0]&256&&e.set_custom_element_data(t,"clientstyling",i[8]),s[0]&4&&e.set_custom_element_data(t,"lang",i[2]),s[0]&8388608&&e.set_custom_element_data(t,"errorcode",i[23])},d(i){i&&e.detach(t),n&&n.d()}}}function Ye(o){let t,n,i,s,l,r,m,p,g,h,L,_,f,b,z,R,B=H.isMobile(o[28])&&o[10]&&o[26],E,D,I,C=o[4]&&o[4]!=="false"&&me(o),T=o[3]&&o[3]!=="false"&&fe(o);function W(c,u){return c[6]?qe:Ue}let A=W(o),S=A(o),y=o[16].referenceId&&pe(o),w=B&&ge(o),d=o[17].length&&he(o),v=o[13].length>0&&be(o);return{c(){t=e.element("div"),C&&C.c(),n=e.space(),T&&T.c(),i=e.space(),s=e.element("div"),S.c(),l=e.space(),r=e.element("div"),m=e.element("h2"),p=e.text(o[19]),g=e.space(),h=e.element("div"),L=e.text(o[18]),_=e.space(),f=e.element("div"),b=e.text(o[20]),z=e.space(),y&&y.c(),R=e.space(),w&&w.c(),E=e.space(),d&&d.c(),D=e.space(),v&&v.c(),I=e.empty(),e.attr(t,"class","HeaderButtonContainer"),e.attr(m,"class","Title"),e.attr(h,"class","SubTitle"),e.attr(r,"class","TitleWrapper"),e.attr(s,"class","ReceiptWrapper"),e.attr(f,"class","Text")},m(c,u){e.insert(c,t,u),C&&C.m(t,null),e.append(t,n),T&&T.m(t,null),e.insert(c,i,u),e.insert(c,s,u),S.m(s,null),e.append(s,l),e.append(s,r),e.append(r,m),e.append(m,p),e.append(r,g),e.append(r,h),e.append(h,L),e.insert(c,_,u),e.insert(c,f,u),e.append(f,b),e.insert(c,z,u),y&&y.m(c,u),e.insert(c,R,u),w&&w.m(c,u),e.insert(c,E,u),d&&d.m(c,u),e.insert(c,D,u),v&&v.m(c,u),e.insert(c,I,u)},p(c,u){c[4]&&c[4]!=="false"?C?C.p(c,u):(C=me(c),C.c(),C.m(t,n)):C&&(C.d(1),C=null),c[3]&&c[3]!=="false"?T?T.p(c,u):(T=fe(c),T.c(),T.m(t,null)):T&&(T.d(1),T=null),A===(A=W(c))&&S?S.p(c,u):(S.d(1),S=A(c),S&&(S.c(),S.m(s,l))),u[0]&524288&&e.set_data(p,c[19]),u[0]&262144&&e.set_data(L,c[18]),u[0]&1048576&&e.set_data(b,c[20]),c[16].referenceId?y?y.p(c,u):(y=pe(c),y.c(),y.m(R.parentNode,R)):y&&(y.d(1),y=null),u[0]&67109888&&(B=H.isMobile(c[28])&&c[10]&&c[26]),B?w?w.p(c,u):(w=ge(c),w.c(),w.m(E.parentNode,E)):w&&(w.d(1),w=null),c[17].length?d?d.p(c,u):(d=he(c),d.c(),d.m(D.parentNode,D)):d&&(d.d(1),d=null),c[13].length>0?v?v.p(c,u):(v=be(c),v.c(),v.m(I.parentNode,I)):v&&(v.d(1),v=null)},d(c){c&&(e.detach(t),e.detach(i),e.detach(s),e.detach(_),e.detach(f),e.detach(z),e.detach(R),e.detach(E),e.detach(D),e.detach(I)),C&&C.d(),T&&T.d(),S.d(),y&&y.d(c),w&&w.d(c),d&&d.d(c),v&&v.d(c)}}}function de(o){let t,n,i,s=o[27]("receipt.maintenance.title")+"",l,r,m,p=o[27]("receipt.maintenance.text")+"",g;function h(f,b){return f[6]?Ge:Ke}let L=h(o),_=L(o);return{c(){t=e.element("div"),_.c(),n=e.space(),i=e.element("span"),l=e.text(s),r=e.space(),m=e.element("span"),g=e.text(p),e.attr(t,"slot","icon"),e.attr(i,"slot","title"),e.attr(i,"class","CashierErrorTitle"),e.attr(m,"slot","text"),e.attr(m,"class","CashierErrorText")},m(f,b){e.insert(f,t,b),_.m(t,null),e.insert(f,n,b),e.insert(f,i,b),e.append(i,l),e.insert(f,r,b),e.insert(f,m,b),e.append(m,g)},p(f,b){L===(L=h(f))&&_?_.p(f,b):(_.d(1),_=L(f),_&&(_.c(),_.m(t,null))),b[0]&134217728&&s!==(s=f[27]("receipt.maintenance.title")+"")&&e.set_data(l,s),b[0]&134217728&&p!==(p=f[27]("receipt.maintenance.text")+"")&&e.set_data(g,p)},d(f){f&&(e.detach(t),e.detach(n),e.detach(i),e.detach(r),e.detach(m)),_.d()}}}function Ke(o){let t;return{c(){t=e.element("div"),e.attr(t,"class","ImagePlaceholder Maintenance")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function Ge(o){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=`${o[6]}/maintenance.svg`)||e.attr(t,"src",n),e.attr(t,"width","300px"),e.attr(t,"alt","error")},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&64&&!e.src_url_equal(t.src,n=`${i[6]}/maintenance.svg`)&&e.attr(t,"src",n)},d(i){i&&e.detach(t)}}}function me(o){let t,n,i;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.33279 0.00663425C7.89688 0.105453 6.49895 0.511564 5.2336 1.19749C3.96825 1.88341 2.86499 2.83313 1.9985 3.9824C0.985792 5.31809 0.356137 6.84155 0.0769857 8.63039C-0.0256619 9.28509 -0.0256619 10.7147 0.0769857 11.3694C0.505101 14.1158 1.83326 16.3704 3.9851 18.0027C5.31451 19.0117 6.84672 19.6451 8.63053 19.923C9.28522 20.0257 10.7148 20.0257 11.3695 19.923C13.803 19.5437 15.8709 18.4471 17.4232 16.7121C18.8001 15.1736 19.595 13.4737 19.923 11.3694C20.0257 10.7147 20.0257 9.28509 19.923 8.63039C19.6451 6.84655 19.0117 5.31433 18.0028 3.9849C17.1973 2.91304 16.1846 2.01398 15.0249 1.34112C13.8652 0.668249 12.5821 0.235297 11.2518 0.0679732C10.614 0.00852964 9.97311 -0.0119547 9.33279 0.00663425ZM11.3019 1.33481C14.7956 1.87685 17.641 4.45559 18.4885 7.848C18.69 8.65292 18.7288 9.00343 18.7288 9.99988C18.7288 10.6946 18.715 10.97 18.6675 11.2855C18.4018 13.0557 17.6016 14.7024 16.374 16.0052C15.1464 17.308 13.5501 18.2045 11.7988 18.5748C10.686 18.8127 9.31401 18.8127 8.20117 18.5748C4.93272 17.8788 2.33398 15.3927 1.52156 12.1868C1.31126 11.3556 1.2712 11.0101 1.2712 9.99988C1.2712 8.98966 1.31126 8.64416 1.52156 7.81295C1.91376 6.29839 2.70396 4.91631 3.81023 3.81003C4.9165 2.70374 6.29856 1.91353 7.81311 1.52133C8.0885 1.45123 8.49409 1.36986 8.7144 1.34107L9.21512 1.27347C9.46673 1.23967 10.9689 1.28349 11.3019 1.33481ZM9.5481 5.25925C8.67685 5.35439 7.88821 5.8138 7.33116 6.54987C7.12462 6.82277 7.042 7.06437 7.09332 7.25339C7.17594 7.56009 7.55398 7.71781 7.87945 7.58262C7.94079 7.55633 8.16236 7.36355 8.37016 7.15325C8.79201 6.72763 8.99981 6.59995 9.41541 6.51232C10.5533 6.27197 11.541 6.85532 11.596 7.79918C11.6086 8.02326 11.5998 8.08084 11.5259 8.24107C11.3632 8.59659 11.0177 8.88826 10.5095 9.09982C10.1439 9.24341 9.76155 9.33975 9.3716 9.38649L9.1275 9.40902L9.13876 10.5306L9.14878 11.6523L9.23265 11.8025C9.42542 12.1517 9.96745 12.2118 10.2378 11.9152C10.3793 11.7587 10.4056 11.6247 10.4256 10.9638L10.4431 10.3416L10.6635 10.2815C12.1518 9.88095 13.1433 8.66669 12.973 7.44993C12.8579 6.62248 12.3709 5.96027 11.586 5.56845C11.0778 5.31433 10.2278 5.18539 9.5481 5.25925ZM9.37285 13.0568C9.06365 13.2108 8.90092 13.4799 8.89967 13.8404C8.89717 14.6003 9.77342 15.0071 10.3405 14.5089C10.4789 14.3866 10.576 14.2244 10.6186 14.0447C10.6612 13.8649 10.6471 13.6764 10.5783 13.505C10.3755 13.0493 9.81098 12.839 9.37285 13.0568Z" fill="#111111"></path></svg>'},m(s,l){e.insert(s,t,l),n||(i=e.listen(t,"click",o[30]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,i()}}}function fe(o){let t,n,i;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><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" fill="#111111"></path></svg>'},m(s,l){e.insert(s,t,l),n||(i=e.listen(t,"click",o[29]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,i()}}}function Ue(o){let t,n;return{c(){t=e.element("div"),e.attr(t,"class",n=`ImagePlaceholder ${o[25]}`)},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&33554432&&n!==(n=`ImagePlaceholder ${i[25]}`)&&e.attr(t,"class",n)},d(i){i&&e.detach(t)}}}function qe(o){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=o[21])||e.attr(t,"src",n),e.attr(t,"class","StatusLogo"),e.attr(t,"alt","")},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&2097152&&!e.src_url_equal(t.src,n=i[21])&&e.attr(t,"src",n)},d(i){i&&e.detach(t)}}}function pe(o){let t,n=o[27]("reference",{values:{code:o[16].referenceId}})+"",i;return{c(){t=e.element("div"),i=e.text(n),e.attr(t,"class","Reference")},m(s,l){e.insert(s,t,l),e.append(t,i)},p(s,l){l[0]&134283264&&n!==(n=s[27]("reference",{values:{code:s[16].referenceId}})+"")&&e.set_data(i,n)},d(s){s&&e.detach(t)}}}function ge(o){let t;return{c(){t=e.element("cashier-verifications"),e.set_custom_element_data(t,"lang",o[2]),e.set_custom_element_data(t,"translationurl",o[5]),e.set_custom_element_data(t,"endpoint",o[0]),e.set_custom_element_data(t,"clientstylingurl",o[9]),e.set_custom_element_data(t,"clientstyling",o[8]),e.set_custom_element_data(t,"customerid",o[7]),e.set_custom_element_data(t,"playersession",o[1])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"lang",n[2]),i[0]&32&&e.set_custom_element_data(t,"translationurl",n[5]),i[0]&1&&e.set_custom_element_data(t,"endpoint",n[0]),i[0]&512&&e.set_custom_element_data(t,"clientstylingurl",n[9]),i[0]&256&&e.set_custom_element_data(t,"clientstyling",n[8]),i[0]&128&&e.set_custom_element_data(t,"customerid",n[7]),i[0]&2&&e.set_custom_element_data(t,"playersession",n[1])},d(n){n&&e.detach(t)}}}function he(o){let t,n=e.ensure_array_like(o[17]),i=[];for(let s=0;s<n.length;s+=1)i[s]=_e(ue(o,n,s));return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=e.empty()},m(s,l){for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(s,l);e.insert(s,t,l)},p(s,l){if(l[0]&4358144|l[1]&2){n=e.ensure_array_like(s[17]);let r;for(r=0;r<n.length;r+=1){const m=ue(s,n,r);i[r]?i[r].p(m,l):(i[r]=_e(m),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(i,s)}}}function Qe(o){let t,n=o[61].defaultValue+"",i;return{c(){t=e.element("span"),i=e.text(n),e.attr(t,"class","Label")},m(s,l){e.insert(s,t,l),e.append(t,i)},p(s,l){l[0]&131072&&n!==(n=s[61].defaultValue+"")&&e.set_data(i,n)},d(s){s&&e.detach(t)}}}function Ze(o){let t,n=o[61].description+"",i,s,l,r=o[61].name+"",m,p;return{c(){t=e.element("span"),i=e.text(n),s=e.space(),l=e.element("a"),m=e.text(r),e.attr(l,"href",p=o[61].defaultValue),e.attr(l,"target","_blank"),e.attr(l,"rel","noopener noreferrer")},m(g,h){e.insert(g,t,h),e.append(t,i),e.append(t,s),e.append(t,l),e.append(l,m)},p(g,h){h[0]&131072&&n!==(n=g[61].description+"")&&e.set_data(i,n),h[0]&131072&&r!==(r=g[61].name+"")&&e.set_data(m,r),h[0]&131072&&p!==(p=g[61].defaultValue)&&e.attr(l,"href",p)},d(g){g&&e.detach(t)}}}function Xe(o){let t,n,i;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=o[61].defaultValue)||e.attr(t,"src",n),e.attr(t,"title",i=o[61].description),e.attr(t,"alt","")},m(s,l){e.insert(s,t,l)},p(s,l){l[0]&131072&&!e.src_url_equal(t.src,n=s[61].defaultValue)&&e.attr(t,"src",n),l[0]&131072&&i!==(i=s[61].description)&&e.attr(t,"title",i)},d(s){s&&e.detach(t)}}}function Je(o){let t,n=o[61].defaultValue+"";return{c(){t=e.element("span")},m(i,s){e.insert(i,t,s),t.innerHTML=n},p(i,s){s[0]&131072&&n!==(n=i[61].defaultValue+"")&&(t.innerHTML=n)},d(i){i&&e.detach(t)}}}function Fe(o){let t,n,i=o[61].defaultValue+"",s,l,r;function m(){return o[44](o[61])}return{c(){t=e.element("div"),n=e.element("div"),s=e.text(i),e.attr(t,"class","QRCode")},m(p,g){e.insert(p,t,g),e.append(t,n),e.append(n,s),o[43](n),l||(r=e.listen(t,"click",m),l=!0)},p(p,g){o=p,g[0]&131072&&i!==(i=o[61].defaultValue+"")&&e.set_data(s,i)},d(p){p&&e.detach(t),o[43](null),l=!1,r()}}}function _e(o){let t,n;function i(r,m){return r[61].type===r[15].QRCode?Fe:r[61].type===r[15].Html?Je:r[61].type===r[15].Image?Xe:r[61].type===r[15].Link?Ze:Qe}let s=i(o),l=s(o);return{c(){t=e.element("div"),l.c(),n=e.space(),e.attr(t,"class","ReceiptField")},m(r,m){e.insert(r,t,m),l.m(t,null),e.append(t,n)},p(r,m){s===(s=i(r))&&l?l.p(r,m):(l.d(1),l=s(r),l&&(l.c(),l.m(t,n)))},d(r){r&&e.detach(t),l.d()}}}function be(o){let t,n=e.ensure_array_like(o[13]),i=[];for(let s=0;s<n.length;s+=1)i[s]=we(ce(o,n,s));return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=e.empty()},m(s,l){for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(s,l);e.insert(s,t,l)},p(s,l){if(l[0]&134225920|l[1]&1){n=e.ensure_array_like(s[13]);let r;for(r=0;r<n.length;r+=1){const m=ce(s,n,r);i[r]?i[r].p(m,l):(i[r]=we(m),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(i,s)}}}function we(o){let t,n=o[27](`${o[58].translationKey}`)+"",i,s,l,r,m;function p(){return o[45](o[58])}return{c(){t=e.element("button"),i=e.text(n),s=e.space(),e.attr(t,"class",l=`${o[58].cssClass} DefaultButton`)},m(g,h){e.insert(g,t,h),e.append(t,i),e.append(t,s),r||(m=e.listen(t,"click",p),r=!0)},p(g,h){o=g,h[0]&134225920&&n!==(n=o[27](`${o[58].translationKey}`)+"")&&e.set_data(i,n),h[0]&8192&&l!==(l=`${o[58].cssClass} DefaultButton`)&&e.attr(t,"class",l)},d(g){g&&e.detach(t),r=!1,m()}}}function $e(o){let t;function n(l,r){return l[12]?Ve:Ne}let i=n(o),s=i(o);return{c(){t=e.element("div"),s.c(),e.attr(t,"class","CashierReceiptPageWidget")},m(l,r){e.insert(l,t,r),s.m(t,null),o[46](t)},p(l,r){i===(i=n(l))&&s?s.p(l,r):(s.d(1),s=i(l),s&&(s.c(),s.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),s.d(),o[46](null)}}}let et="_blank";function tt(o,t,n){let i;e.component_subscribe(o,e.$format,a=>n(27,i=a)),H.dayjs.extend(H.utc);let{endpoint:s}=t,{session:l}=t,{lang:r="en"}=t,{local:m="en-US"}=t,{showerrors:p="true"}=t,{showclosebutton:g="false"}=t,{showcontactbutton:h="false"}=t,{translationurl:L}=t,{assetsurl:_=""}=t,{customerid:f}=t,{transactionid:b}=t,{currencydecimals:z="2"}=t,{clientstyling:R=""}=t,{clientstylingurl:B=""}=t,{mbsource:E=""}=t,{showverifications:D="true"}=t,I=!1,{customsucceessbuttons:C=""}=t,{custompendingbuttons:T=""}=t,{customfailedbuttons:W=""}=t,{currencysymbol:A=""}=t,{currencyposition:S=""}=t,y=[];var w;(function(a){a.Success="Success",a.Maintenance="Maintenance"})(w||(w={}));var d;(function(a){a.Unknown="Unknown",a.Text="Text",a.Boolean="Boolean",a.Number="Number",a.Money="Money",a.DateTime="DateTime",a.Lookup="Lookup",a.IpAddress="IpAddress",a.Date="Date",a.Time="Time",a.LookupCollection="LookupCollection",a.Hidden="Hidden",a.Label="Label",a.Password="Password",a.Link="Link",a.Image="Image",a.Html="Html",a.QRCode="QR"})(d||(d={}));const v=(a,[k,x])=>[...a,...Array.isArray(k)?[...k.map(P=>[P,x])]:[[k,x]]],c=new Map([[["Unknown",0],d.Unknown],[["Text",1],d.Text],[["Boolean",2],d.Boolean],[["Number",3],d.Number],[["Money",4],d.Money],[["DateTime",5],d.DateTime],[["Lookup",6],d.Lookup],[["IpAddress",7],d.IpAddress],[["Date",8],d.Date],[["Time",9],d.Time],[["LookupCollection",10],d.LookupCollection],[["Hidden",11],d.Hidden],[["Label",12],d.Label],[["Password",13],d.Password],[["Link",14],d.Link],[["Image",15],d.Image],[["Html",19],d.Html],[["QR",20],d.QRCode]].reduce(v,[]));let u,U=[],q,Q,Z,X,M,N=[],Y,K,J="",Te=window.navigator.userAgent,F=!1;const $={promotions:{event:"Cashier:goToPromotions",translationKey:"goToPromotions",cssClass:"PromotionsButton"},support:{event:"Cashier:goToContact",translationKey:"goToSupport",cssClass:"SupportButton"},merchanthomepage:{event:"Cashier:goToVendorWebsite",translationKey:"goToMerchantHomePage",cssClass:"MerchantHomePageButton"},sports:{event:"Cashier:goToSports",translationKey:"goToSports",cssClass:"SportsButton"},casino:{event:"Cashier:goToCasino",translationKey:"goToCasino",cssClass:"CasinoButton"},externallink:{event:"Cashier:externalRedirect",translationKey:"externalLink",cssClass:"ExternalLinkButton"},documentupload:{event:"Cashier:uploadDocuments",translationKey:"uploadDocuments",cssClass:"UploadDocumentButton"},home:{event:"Cashier:goToHome",translationKey:"goToHomepage",cssClass:"HomeButton"},close:{event:"CloseCashierReceiptPage",translationKey:"close",cssClass:"CloseButton"}},V=a=>{n(13,y=[]),a.split(",").forEach(x=>{$[x.trim()]&&y.push($[x.trim()])})},ye=()=>{Ie(r)};e.onMount(()=>(window.addEventListener("message",ee,!1),H.initCurrencyFormatter(m,A,S,z),()=>{window.removeEventListener("message",ee)}));const ee=a=>{var k;switch(a.data.type){case"CloseReceiptInSecondTab":(k=window.opener)==null||k.postMessage(a.data);break}},ke=()=>{let a=L;if(a)return fetch(a).then(k=>k.json()).then(k=>{Object.keys(k).forEach(x=>{le(x,k[x])})}).catch(()=>{})};Object.keys(re).forEach(a=>{le(a,re[a])});const ve=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Pe=()=>{window.postMessage({type:"LiveChatReceiptPage"},window.location.href)},Se=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:Y,showErrorOutsideReceiptPage:K},window.location.href)},Le=()=>{const a=new URL(`${s}/v1/player/${f}/payment/GetPaymentInfo`),k=new Headers;k.append("accept","application/json"),k.append("Content-Type","application/json"),k.append("X-SessionId",`${l}`),k.append("X-Client-Request-Timestamp",H.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const x={method:"POST",headers:k,body:JSON.stringify({TransactionCode:b})};n(12,I=!0),fetch(a,x).then(P=>P.json()).then(P=>{var ie,se,oe,ae;if(P.ResponseCode!==w.Success){n(23,Y=P.ResponseCode),n(24,K=p.toLowerCase()==="false"||!p),Se();return}switch(n(16,u={type:P.Transaction.Type,referenceId:P.Transaction.Code,status:(ie=P.Transaction.Status)==null?void 0:ie.Status,message:(se=P.Transaction.Status)==null?void 0:se.Message,amount:(oe=P.Transaction.Amounts[0])==null?void 0:oe.Amount,currency:(ae=P.Transaction.Amounts[0])==null?void 0:ae.Currency}),n(17,U=P.ReceiptInfo&&P.ReceiptInfo.ReceiptFields?P.ReceiptInfo.ReceiptFields.map(j=>({type:c.get(j.Type),name:j.Name,description:j.Description,defaultValue:j.DefaultValue,useCopyButton:j.UseCopyButton,usePrintButton:j.UsePrintButton})):[]),n(19,Q=i(He(u.status,u.type),{values:{amount:H.formatCurrency(Number(u.amount),u.currency)}})),n(18,q=i(Be(u.status,u.type))),n(20,Z=i(Ae(u.status,u.type),{values:{errorText:u.message}})),u.status){case"Voided":case"Success":V(C||"sports, close"),H.dispatchCustomEvent(u.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:u.amount,currency:u.currency,failureReason:u.message});break;case"PendingNotification":case"PendingConfirmation":case"PendingApprovalStage1":case"PendingApprovalStage2":case"PendingApprovalStage3":case"PendingOfflineNotification":V(T||"home, close");break;case"Rejected":case"Cancelled":case"Failed":V(W||"support, close"),H.dispatchCustomEvent(u.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:f,amount:u.amount,currency:u.currency,failureReason:u.message}),D==="true"&&n(26,F=!0);break;default:V("close")}_?n(21,X=Me(_,u.status)):n(25,J=ze(u.status))}).finally(()=>n(12,I=!1))},te=a=>{window.postMessage({type:a},window.location.href)},ne=a=>{a&&window.postMessage({type:"NavigateTo",path:a,target:et,externalLink:!1},window.location.href)};function Re(a){e.binding_callbacks[a?"unshift":"push"](()=>{N[N.length]=a,n(22,N)})}const Ee=a=>{ne(a.description)},xe=a=>te(a.event);function De(a){e.binding_callbacks[a?"unshift":"push"](()=>{M=a,n(11,M)})}return o.$$set=a=>{"endpoint"in a&&n(0,s=a.endpoint),"session"in a&&n(1,l=a.session),"lang"in a&&n(2,r=a.lang),"local"in a&&n(33,m=a.local),"showerrors"in a&&n(34,p=a.showerrors),"showclosebutton"in a&&n(3,g=a.showclosebutton),"showcontactbutton"in a&&n(4,h=a.showcontactbutton),"translationurl"in a&&n(5,L=a.translationurl),"assetsurl"in a&&n(6,_=a.assetsurl),"customerid"in a&&n(7,f=a.customerid),"transactionid"in a&&n(35,b=a.transactionid),"currencydecimals"in a&&n(36,z=a.currencydecimals),"clientstyling"in a&&n(8,R=a.clientstyling),"clientstylingurl"in a&&n(9,B=a.clientstylingurl),"mbsource"in a&&n(37,E=a.mbsource),"showverifications"in a&&n(10,D=a.showverifications),"customsucceessbuttons"in a&&n(38,C=a.customsucceessbuttons),"custompendingbuttons"in a&&n(39,T=a.custompendingbuttons),"customfailedbuttons"in a&&n(40,W=a.customfailedbuttons),"currencysymbol"in a&&n(41,A=a.currencysymbol),"currencyposition"in a&&n(42,S=a.currencyposition)},o.$$.update=()=>{o.$$.dirty[0]&131|o.$$.dirty[1]&24&&s&&l&&f&&b&&p&&Le(),o.$$.dirty[0]&4&&r&&ye(),o.$$.dirty[0]&36&&r&&L&&ke(),o.$$.dirty[0]&2304&&R&&M&&e.setClientStyling(M,R),o.$$.dirty[0]&2560&&B&&M&&e.setClientStylingURL(M,B),o.$$.dirty[0]&2048|o.$$.dirty[1]&64&&E&&M&&e.setStreamStyling(M,`${E}.Style`)},[s,l,r,g,h,L,_,f,R,B,D,M,I,y,w,d,u,U,q,Q,Z,X,N,Y,K,J,F,i,Te,ve,Pe,te,ne,m,p,b,z,E,C,T,W,A,S,Re,Ee,xe,De]}class Ce extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,tt,$e,e.safe_not_equal,{endpoint:0,session:1,lang:2,local:33,showerrors:34,showclosebutton:3,showcontactbutton:4,translationurl:5,assetsurl:6,customerid:7,transactionid:35,currencydecimals:36,clientstyling:8,clientstylingurl:9,mbsource:37,showverifications:10,customsucceessbuttons:38,custompendingbuttons:39,customfailedbuttons:40,currencysymbol:41,currencyposition:42},je,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[33]}set local(t){this.$$set({local:t}),e.flush()}get showerrors(){return this.$$.ctx[34]}set showerrors(t){this.$$set({showerrors:t}),e.flush()}get showclosebutton(){return this.$$.ctx[3]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get showcontactbutton(){return this.$$.ctx[4]}set showcontactbutton(t){this.$$set({showcontactbutton:t}),e.flush()}get translationurl(){return this.$$.ctx[5]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get assetsurl(){return this.$$.ctx[6]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get customerid(){return this.$$.ctx[7]}set customerid(t){this.$$set({customerid:t}),e.flush()}get transactionid(){return this.$$.ctx[35]}set transactionid(t){this.$$set({transactionid:t}),e.flush()}get currencydecimals(){return this.$$.ctx[36]}set currencydecimals(t){this.$$set({currencydecimals:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[37]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get showverifications(){return this.$$.ctx[10]}set showverifications(t){this.$$set({showverifications:t}),e.flush()}get customsucceessbuttons(){return this.$$.ctx[38]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),e.flush()}get custompendingbuttons(){return this.$$.ctx[39]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),e.flush()}get customfailedbuttons(){return this.$$.ctx[40]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),e.flush()}get currencysymbol(){return this.$$.ctx[41]}set currencysymbol(t){this.$$set({currencysymbol:t}),e.flush()}get currencyposition(){return this.$$.ctx[42]}set currencyposition(t){this.$$set({currencyposition:t}),e.flush()}}e.create_custom_element(Ce,{endpoint:{},session:{},lang:{},local:{},showerrors:{},showclosebutton:{},showcontactbutton:{},translationurl:{},assetsurl:{},customerid:{},transactionid:{},currencydecimals:{},clientstyling:{},clientstylingurl:{},mbsource:{},showverifications:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},currencysymbol:{},currencyposition:{}},[],[],!0);exports.default=Ce;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierError-BHJdKZpw.cjs"),H=require("./CashierMethodDetails-BwNRzFI6.cjs");require("./CashierIframeRedirect-BLTs567Q.cjs");function le(o,t){e.addMessages(o,t)}function Ie(o){e.init({fallbackLocale:"en"}),e.$locale.set(o)}const re={en:{deposit:{success:{title:"{amount}",subTitle:"Deposited in your account",text:"Your deposit is successful"},pending:{title:"{amount}",subTitle:"Transaction is in progress",text:"Thank you. Your deposit is being processed."},reject:{title:"Deposit Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Your withdrawal is successful"},pending:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdrawal Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},reference:"Reference ID: {code}",close:"CLOSE",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}},goToPromotions:"Go To Promotions",goToSupport:"Contact Support",goToMerchantHomePage:"Merchant's Home Website",goToSports:"Go To Sports",goToCasino:"Visit Casino",externalLink:"External Link",uploadDocuments:"Upload Documents",goToHomepage:"Go To Homepage"},tr:{deposit:{success:{title:"{amount}",subTitle:"Hesabınıza yatırıldı",text:"Para yatırma işleminiz başarılı"},pending:{title:"{amount}",subTitle:"İşlem devam ediyor",text:"Teşekkür ederim. Para yatırma işleminiz yapılıyor."},reject:{title:"Para Yatırma Reddedildi",subTitle:" ",text:" "},fail:{title:"Hata",subTitle:" ",text:"{errorText}"},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount}",subTitle:"Hesabınızdan çekildi",text:"Para çekme işleminiz başarılı"},pending:{title:"{amount}",subTitle:"Hesabınızdan çekildi",text:"Teşekkür ederim. Para çekme işleminiz işleniyor."},reject:{title:"Para Çekme Reddedildi",subTitle:" ",text:" "},fail:{title:"Hata",subTitle:" ",text:"{errorText}"},cancel:{title:"İşlemi iptal ettiniz",subTitle:" ",text:" "}},goToPromotions:"Promosyonlara Git",goToSupport:"Destek ile İletişime Geç",goToMerchantHomePage:"Satıcının Ana Web Sitesi",goToSports:"Spora Git",goToCasino:"Casinoya Git",externalLink:"Harici Bağlantı",uploadDocuments:"Belge Yükle",goToHomepage:"Ana Sayfaya Git",reference:"Referans Kimliği: {code}",close:"KAPALI",receipt:{maintenance:{title:"Yakında Geri Döneceğiz",text:"Planlı bir bakım nedeniyle kapalıyız ve birkaç dakika içinde tekrar çevrimiçi olmayı bekliyoruz"}}},"pt-br":{deposit:{success:{title:"{amount}",subTitle:"Depositado em sua conta",text:"Seu depósito foi bem-sucedido"},pending:{title:"{amount}",subTitle:"Transação em andamento",text:"Obrigado. Seu depósito está sendo processado."},reject:{title:"Depósito Rejeitado",subTitle:"",text:"{errorText}"},fail:{title:"Erro",subTitle:"",text:"{errorText}"},cancel:{title:"Você cancelou a transação",subTitle:"",text:"{errorText}"}},goToPromotions:"Ir para Promoções",goToSupport:"Contatar Suporte",goToMerchantHomePage:"Site Principal do Comerciante",goToSports:"Ir para Esportes",goToCasino:"Visitar Cassino",externalLink:"Link Externo",uploadDocuments:"Enviar Documentos",goToHomepage:"Ir para Página Inicial",reference:"Referência ID: {code}",close:"VOLTAR AO PROVEDOR DE PAGAMENTO",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}}},"es-mx":{deposit:{success:{title:"{amount}",subTitle:"Depositado en tu cuenta",text:"Tu depósito fue exitoso"},pending:{title:"{amount}",subTitle:"Transacción en proceso",text:"Gracias. Tu depósito está siendo procesado."},reject:{title:"Depósito Rechazado",subTitle:" ",text:"{errorText}"},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"Has cancelado la transacción",subTitle:" ",text:"{errorText}"}},goToPromotions:"Pergi ke Promosi",goToSupport:"Hubungi Sokongan",goToMerchantHomePage:"Laman Web Utama Peniaga",goToSports:"Pergi ke Sukan",goToCasino:"Lawati Kasino",externalLink:"Pautan Luaran",uploadDocuments:"Muat Naik Dokumen",goToHomepage:"Pergi ke Laman Utama",reference:"Referencia ID: {code}",close:"REGRESAR A PROVEEDOR DE PAGO",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}}},"en-us":{deposit:{success:{title:"{amount}",subTitle:"Deposited in your account",text:"Your deposit is successful"},pending:{title:"{amount}",subTitle:"Transaction is in progress",text:"Thank you. Your deposit is being processed."},reject:{title:"Deposit Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},withdrawal:{success:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Your withdrawal is successful"},pending:{title:"{amount}",subTitle:"Withdrawn from your account",text:"Thank you. Your withdrawal is being processed."},reject:{title:"Withdrawal Rejected",subTitle:" ",text:" "},fail:{title:"Error",subTitle:" ",text:"{errorText}"},cancel:{title:"You have cancelled the transaction",subTitle:" ",text:" "}},goToPromotions:"Go To Promotions",goToSupport:"Contact Support",goToMerchantHomePage:"Merchant's Home Website",close:"Close",goToSports:"Go To Sports",goToCasino:"Visit Casino",externalLink:"External Link",uploadDocuments:"Upload Documents",goToHomepage:"Go To Homepage",reference:"Reference ID: {code}",close:"CLOSE",receipt:{maintenance:{title:"We’ll Be Back Soon",text:"We are down for a scheduled maintenance and expect to be back online in a few minutes"}}}},Me=(o,t)=>`${o+We[t]}`,He=(o,t)=>`${G[t]}.${O[o]}.title`,Be=(o,t)=>`${G[t]}.${O[o]}.subTitle`,Ae=(o,t)=>`${G[t]}.${O[o]}.text`,ze=o=>`${O[`${o}`]}`,We={Success:"/txn-success.png",Voided:"/txn-success.png",Rejected:"/txn-failed.png",Failed:"/txn-failed.png",Canceled:"/txn-failed.png",PendingNotification:"/txn-pending.png",PendingConfirmation:"/txn-pending.png",PendingApprovalStage1:"/txn-pending.png",PendingApprovalStage2:"/txn-pending.png",PendingApprovalStage3:"/txn-pending.png",PendingOfflineNotification:"/txn-pending.png"},G={Deposit:"deposit",Withdraw:"withdrawal"},O={Success:"success",Voided:"success",Rejected:"reject",Failed:"fail",Canceled:"cancel",PendingNotification:"pending",PendingConfirmation:"pending",PendingApprovalStage1:"pending",PendingApprovalStage3:"pending",PendingApprovalStage2:"pending",PendingOfflineNotification:"pending"};function je(o){e.append_styles(o,"svelte-131vpua",".CashierReceiptPageWidget{height:100%;position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background:var(--emw--color-background, #fff);padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.success{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.fail{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.pending{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#E6E6E6}.ReceiptWrapper .ImagePlaceholder.reject{background:#E6E6E6}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.DefaultButton{color:var(--emw--color-white, #FFF);border:none;background:var(--emw--color-primary, #7EC51E);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 5px);height:36px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:var(--emw--spacing-large, 20px) 0;width:100%}.DefaultButton:hover{background:var(--emw--color-hover, #71B11B)}.DefaultButton:active{background:var(--emw--color-active, #5C950F)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}")}function ce(o,t,n){const i=o.slice();return i[58]=t[n],i}function ue(o,t,n){const i=o.slice();return i[61]=t[n],i[63]=n,i}function Ne(o){let t;function n(l,r){if(l[16])return Ye;if(l[23]&&!l[24])return Oe}let i=n(o),s=i&&i(o);return{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","CashierReceiptPage")},m(l,r){e.insert(l,t,r),s&&s.m(t,null)},p(l,r){i===(i=n(l))&&s?s.p(l,r):(s&&s.d(1),s=i&&i(l),s&&(s.c(),s.m(t,null)))},d(l){l&&e.detach(t),s&&s.d()}}}function Ve(o){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",o[9]),e.set_custom_element_data(t,"clientstyling",o[8])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&512&&e.set_custom_element_data(t,"clientstylingurl",n[9]),i[0]&256&&e.set_custom_element_data(t,"clientstyling",n[8])},d(n){n&&e.detach(t)}}}function Oe(o){let t,n=o[23]===o[14].Maintenance&&de(o);return{c(){t=e.element("cashier-error"),n&&n.c(),e.set_custom_element_data(t,"assetsurl",o[6]),e.set_custom_element_data(t,"translationurl",o[5]),e.set_custom_element_data(t,"clientstylingurl",o[9]),e.set_custom_element_data(t,"clientstyling",o[8]),e.set_custom_element_data(t,"lang",o[2]),e.set_custom_element_data(t,"hidebuttons","true"),e.set_custom_element_data(t,"errorcode",o[23])},m(i,s){e.insert(i,t,s),n&&n.m(t,null)},p(i,s){i[23]===i[14].Maintenance?n?n.p(i,s):(n=de(i),n.c(),n.m(t,null)):n&&(n.d(1),n=null),s[0]&64&&e.set_custom_element_data(t,"assetsurl",i[6]),s[0]&32&&e.set_custom_element_data(t,"translationurl",i[5]),s[0]&512&&e.set_custom_element_data(t,"clientstylingurl",i[9]),s[0]&256&&e.set_custom_element_data(t,"clientstyling",i[8]),s[0]&4&&e.set_custom_element_data(t,"lang",i[2]),s[0]&8388608&&e.set_custom_element_data(t,"errorcode",i[23])},d(i){i&&e.detach(t),n&&n.d()}}}function Ye(o){let t,n,i,s,l,r,m,p,g,h,L,_,f,b,z,R,B=H.isMobile(o[28])&&o[10]&&o[26],E,D,I,C=o[4]&&o[4]!=="false"&&me(o),T=o[3]&&o[3]!=="false"&&fe(o);function W(c,u){return c[6]?qe:Ue}let A=W(o),S=A(o),y=o[16].referenceId&&pe(o),w=B&&ge(o),d=o[17].length&&he(o),v=o[13].length>0&&be(o);return{c(){t=e.element("div"),C&&C.c(),n=e.space(),T&&T.c(),i=e.space(),s=e.element("div"),S.c(),l=e.space(),r=e.element("div"),m=e.element("h2"),p=e.text(o[19]),g=e.space(),h=e.element("div"),L=e.text(o[18]),_=e.space(),f=e.element("div"),b=e.text(o[20]),z=e.space(),y&&y.c(),R=e.space(),w&&w.c(),E=e.space(),d&&d.c(),D=e.space(),v&&v.c(),I=e.empty(),e.attr(t,"class","HeaderButtonContainer"),e.attr(m,"class","Title"),e.attr(h,"class","SubTitle"),e.attr(r,"class","TitleWrapper"),e.attr(s,"class","ReceiptWrapper"),e.attr(f,"class","Text")},m(c,u){e.insert(c,t,u),C&&C.m(t,null),e.append(t,n),T&&T.m(t,null),e.insert(c,i,u),e.insert(c,s,u),S.m(s,null),e.append(s,l),e.append(s,r),e.append(r,m),e.append(m,p),e.append(r,g),e.append(r,h),e.append(h,L),e.insert(c,_,u),e.insert(c,f,u),e.append(f,b),e.insert(c,z,u),y&&y.m(c,u),e.insert(c,R,u),w&&w.m(c,u),e.insert(c,E,u),d&&d.m(c,u),e.insert(c,D,u),v&&v.m(c,u),e.insert(c,I,u)},p(c,u){c[4]&&c[4]!=="false"?C?C.p(c,u):(C=me(c),C.c(),C.m(t,n)):C&&(C.d(1),C=null),c[3]&&c[3]!=="false"?T?T.p(c,u):(T=fe(c),T.c(),T.m(t,null)):T&&(T.d(1),T=null),A===(A=W(c))&&S?S.p(c,u):(S.d(1),S=A(c),S&&(S.c(),S.m(s,l))),u[0]&524288&&e.set_data(p,c[19]),u[0]&262144&&e.set_data(L,c[18]),u[0]&1048576&&e.set_data(b,c[20]),c[16].referenceId?y?y.p(c,u):(y=pe(c),y.c(),y.m(R.parentNode,R)):y&&(y.d(1),y=null),u[0]&67109888&&(B=H.isMobile(c[28])&&c[10]&&c[26]),B?w?w.p(c,u):(w=ge(c),w.c(),w.m(E.parentNode,E)):w&&(w.d(1),w=null),c[17].length?d?d.p(c,u):(d=he(c),d.c(),d.m(D.parentNode,D)):d&&(d.d(1),d=null),c[13].length>0?v?v.p(c,u):(v=be(c),v.c(),v.m(I.parentNode,I)):v&&(v.d(1),v=null)},d(c){c&&(e.detach(t),e.detach(i),e.detach(s),e.detach(_),e.detach(f),e.detach(z),e.detach(R),e.detach(E),e.detach(D),e.detach(I)),C&&C.d(),T&&T.d(),S.d(),y&&y.d(c),w&&w.d(c),d&&d.d(c),v&&v.d(c)}}}function de(o){let t,n,i,s=o[27]("receipt.maintenance.title")+"",l,r,m,p=o[27]("receipt.maintenance.text")+"",g;function h(f,b){return f[6]?Ge:Ke}let L=h(o),_=L(o);return{c(){t=e.element("div"),_.c(),n=e.space(),i=e.element("span"),l=e.text(s),r=e.space(),m=e.element("span"),g=e.text(p),e.attr(t,"slot","icon"),e.attr(i,"slot","title"),e.attr(i,"class","CashierErrorTitle"),e.attr(m,"slot","text"),e.attr(m,"class","CashierErrorText")},m(f,b){e.insert(f,t,b),_.m(t,null),e.insert(f,n,b),e.insert(f,i,b),e.append(i,l),e.insert(f,r,b),e.insert(f,m,b),e.append(m,g)},p(f,b){L===(L=h(f))&&_?_.p(f,b):(_.d(1),_=L(f),_&&(_.c(),_.m(t,null))),b[0]&134217728&&s!==(s=f[27]("receipt.maintenance.title")+"")&&e.set_data(l,s),b[0]&134217728&&p!==(p=f[27]("receipt.maintenance.text")+"")&&e.set_data(g,p)},d(f){f&&(e.detach(t),e.detach(n),e.detach(i),e.detach(r),e.detach(m)),_.d()}}}function Ke(o){let t;return{c(){t=e.element("div"),e.attr(t,"class","ImagePlaceholder Maintenance")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function Ge(o){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=`${o[6]}/maintenance.svg`)||e.attr(t,"src",n),e.attr(t,"width","300px"),e.attr(t,"alt","error")},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&64&&!e.src_url_equal(t.src,n=`${i[6]}/maintenance.svg`)&&e.attr(t,"src",n)},d(i){i&&e.detach(t)}}}function me(o){let t,n,i;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.33279 0.00663425C7.89688 0.105453 6.49895 0.511564 5.2336 1.19749C3.96825 1.88341 2.86499 2.83313 1.9985 3.9824C0.985792 5.31809 0.356137 6.84155 0.0769857 8.63039C-0.0256619 9.28509 -0.0256619 10.7147 0.0769857 11.3694C0.505101 14.1158 1.83326 16.3704 3.9851 18.0027C5.31451 19.0117 6.84672 19.6451 8.63053 19.923C9.28522 20.0257 10.7148 20.0257 11.3695 19.923C13.803 19.5437 15.8709 18.4471 17.4232 16.7121C18.8001 15.1736 19.595 13.4737 19.923 11.3694C20.0257 10.7147 20.0257 9.28509 19.923 8.63039C19.6451 6.84655 19.0117 5.31433 18.0028 3.9849C17.1973 2.91304 16.1846 2.01398 15.0249 1.34112C13.8652 0.668249 12.5821 0.235297 11.2518 0.0679732C10.614 0.00852964 9.97311 -0.0119547 9.33279 0.00663425ZM11.3019 1.33481C14.7956 1.87685 17.641 4.45559 18.4885 7.848C18.69 8.65292 18.7288 9.00343 18.7288 9.99988C18.7288 10.6946 18.715 10.97 18.6675 11.2855C18.4018 13.0557 17.6016 14.7024 16.374 16.0052C15.1464 17.308 13.5501 18.2045 11.7988 18.5748C10.686 18.8127 9.31401 18.8127 8.20117 18.5748C4.93272 17.8788 2.33398 15.3927 1.52156 12.1868C1.31126 11.3556 1.2712 11.0101 1.2712 9.99988C1.2712 8.98966 1.31126 8.64416 1.52156 7.81295C1.91376 6.29839 2.70396 4.91631 3.81023 3.81003C4.9165 2.70374 6.29856 1.91353 7.81311 1.52133C8.0885 1.45123 8.49409 1.36986 8.7144 1.34107L9.21512 1.27347C9.46673 1.23967 10.9689 1.28349 11.3019 1.33481ZM9.5481 5.25925C8.67685 5.35439 7.88821 5.8138 7.33116 6.54987C7.12462 6.82277 7.042 7.06437 7.09332 7.25339C7.17594 7.56009 7.55398 7.71781 7.87945 7.58262C7.94079 7.55633 8.16236 7.36355 8.37016 7.15325C8.79201 6.72763 8.99981 6.59995 9.41541 6.51232C10.5533 6.27197 11.541 6.85532 11.596 7.79918C11.6086 8.02326 11.5998 8.08084 11.5259 8.24107C11.3632 8.59659 11.0177 8.88826 10.5095 9.09982C10.1439 9.24341 9.76155 9.33975 9.3716 9.38649L9.1275 9.40902L9.13876 10.5306L9.14878 11.6523L9.23265 11.8025C9.42542 12.1517 9.96745 12.2118 10.2378 11.9152C10.3793 11.7587 10.4056 11.6247 10.4256 10.9638L10.4431 10.3416L10.6635 10.2815C12.1518 9.88095 13.1433 8.66669 12.973 7.44993C12.8579 6.62248 12.3709 5.96027 11.586 5.56845C11.0778 5.31433 10.2278 5.18539 9.5481 5.25925ZM9.37285 13.0568C9.06365 13.2108 8.90092 13.4799 8.89967 13.8404C8.89717 14.6003 9.77342 15.0071 10.3405 14.5089C10.4789 14.3866 10.576 14.2244 10.6186 14.0447C10.6612 13.8649 10.6471 13.6764 10.5783 13.505C10.3755 13.0493 9.81098 12.839 9.37285 13.0568Z" fill="#111111"></path></svg>'},m(s,l){e.insert(s,t,l),n||(i=e.listen(t,"click",o[30]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,i()}}}function fe(o){let t,n,i;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><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" fill="#111111"></path></svg>'},m(s,l){e.insert(s,t,l),n||(i=e.listen(t,"click",o[29]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,i()}}}function Ue(o){let t,n;return{c(){t=e.element("div"),e.attr(t,"class",n=`ImagePlaceholder ${o[25]}`)},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&33554432&&n!==(n=`ImagePlaceholder ${i[25]}`)&&e.attr(t,"class",n)},d(i){i&&e.detach(t)}}}function qe(o){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=o[21])||e.attr(t,"src",n),e.attr(t,"class","StatusLogo"),e.attr(t,"alt","")},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&2097152&&!e.src_url_equal(t.src,n=i[21])&&e.attr(t,"src",n)},d(i){i&&e.detach(t)}}}function pe(o){let t,n=o[27]("reference",{values:{code:o[16].referenceId}})+"",i;return{c(){t=e.element("div"),i=e.text(n),e.attr(t,"class","Reference")},m(s,l){e.insert(s,t,l),e.append(t,i)},p(s,l){l[0]&134283264&&n!==(n=s[27]("reference",{values:{code:s[16].referenceId}})+"")&&e.set_data(i,n)},d(s){s&&e.detach(t)}}}function ge(o){let t;return{c(){t=e.element("cashier-verifications"),e.set_custom_element_data(t,"lang",o[2]),e.set_custom_element_data(t,"translationurl",o[5]),e.set_custom_element_data(t,"endpoint",o[0]),e.set_custom_element_data(t,"clientstylingurl",o[9]),e.set_custom_element_data(t,"clientstyling",o[8]),e.set_custom_element_data(t,"customerid",o[7]),e.set_custom_element_data(t,"playersession",o[1])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"lang",n[2]),i[0]&32&&e.set_custom_element_data(t,"translationurl",n[5]),i[0]&1&&e.set_custom_element_data(t,"endpoint",n[0]),i[0]&512&&e.set_custom_element_data(t,"clientstylingurl",n[9]),i[0]&256&&e.set_custom_element_data(t,"clientstyling",n[8]),i[0]&128&&e.set_custom_element_data(t,"customerid",n[7]),i[0]&2&&e.set_custom_element_data(t,"playersession",n[1])},d(n){n&&e.detach(t)}}}function he(o){let t,n=e.ensure_array_like(o[17]),i=[];for(let s=0;s<n.length;s+=1)i[s]=_e(ue(o,n,s));return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=e.empty()},m(s,l){for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(s,l);e.insert(s,t,l)},p(s,l){if(l[0]&4358144|l[1]&2){n=e.ensure_array_like(s[17]);let r;for(r=0;r<n.length;r+=1){const m=ue(s,n,r);i[r]?i[r].p(m,l):(i[r]=_e(m),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(i,s)}}}function Qe(o){let t,n=o[61].defaultValue+"",i;return{c(){t=e.element("span"),i=e.text(n),e.attr(t,"class","Label")},m(s,l){e.insert(s,t,l),e.append(t,i)},p(s,l){l[0]&131072&&n!==(n=s[61].defaultValue+"")&&e.set_data(i,n)},d(s){s&&e.detach(t)}}}function Ze(o){let t,n=o[61].description+"",i,s,l,r=o[61].name+"",m,p;return{c(){t=e.element("span"),i=e.text(n),s=e.space(),l=e.element("a"),m=e.text(r),e.attr(l,"href",p=o[61].defaultValue),e.attr(l,"target","_blank"),e.attr(l,"rel","noopener noreferrer")},m(g,h){e.insert(g,t,h),e.append(t,i),e.append(t,s),e.append(t,l),e.append(l,m)},p(g,h){h[0]&131072&&n!==(n=g[61].description+"")&&e.set_data(i,n),h[0]&131072&&r!==(r=g[61].name+"")&&e.set_data(m,r),h[0]&131072&&p!==(p=g[61].defaultValue)&&e.attr(l,"href",p)},d(g){g&&e.detach(t)}}}function Xe(o){let t,n,i;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=o[61].defaultValue)||e.attr(t,"src",n),e.attr(t,"title",i=o[61].description),e.attr(t,"alt","")},m(s,l){e.insert(s,t,l)},p(s,l){l[0]&131072&&!e.src_url_equal(t.src,n=s[61].defaultValue)&&e.attr(t,"src",n),l[0]&131072&&i!==(i=s[61].description)&&e.attr(t,"title",i)},d(s){s&&e.detach(t)}}}function Je(o){let t,n=o[61].defaultValue+"";return{c(){t=e.element("span")},m(i,s){e.insert(i,t,s),t.innerHTML=n},p(i,s){s[0]&131072&&n!==(n=i[61].defaultValue+"")&&(t.innerHTML=n)},d(i){i&&e.detach(t)}}}function Fe(o){let t,n,i=o[61].defaultValue+"",s,l,r;function m(){return o[44](o[61])}return{c(){t=e.element("div"),n=e.element("div"),s=e.text(i),e.attr(t,"class","QRCode")},m(p,g){e.insert(p,t,g),e.append(t,n),e.append(n,s),o[43](n),l||(r=e.listen(t,"click",m),l=!0)},p(p,g){o=p,g[0]&131072&&i!==(i=o[61].defaultValue+"")&&e.set_data(s,i)},d(p){p&&e.detach(t),o[43](null),l=!1,r()}}}function _e(o){let t,n;function i(r,m){return r[61].type===r[15].QRCode?Fe:r[61].type===r[15].Html?Je:r[61].type===r[15].Image?Xe:r[61].type===r[15].Link?Ze:Qe}let s=i(o),l=s(o);return{c(){t=e.element("div"),l.c(),n=e.space(),e.attr(t,"class","ReceiptField")},m(r,m){e.insert(r,t,m),l.m(t,null),e.append(t,n)},p(r,m){s===(s=i(r))&&l?l.p(r,m):(l.d(1),l=s(r),l&&(l.c(),l.m(t,n)))},d(r){r&&e.detach(t),l.d()}}}function be(o){let t,n=e.ensure_array_like(o[13]),i=[];for(let s=0;s<n.length;s+=1)i[s]=we(ce(o,n,s));return{c(){for(let s=0;s<i.length;s+=1)i[s].c();t=e.empty()},m(s,l){for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(s,l);e.insert(s,t,l)},p(s,l){if(l[0]&134225920|l[1]&1){n=e.ensure_array_like(s[13]);let r;for(r=0;r<n.length;r+=1){const m=ce(s,n,r);i[r]?i[r].p(m,l):(i[r]=we(m),i[r].c(),i[r].m(t.parentNode,t))}for(;r<i.length;r+=1)i[r].d(1);i.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(i,s)}}}function we(o){let t,n=o[27](`${o[58].translationKey}`)+"",i,s,l,r,m;function p(){return o[45](o[58])}return{c(){t=e.element("button"),i=e.text(n),s=e.space(),e.attr(t,"class",l=`${o[58].cssClass} DefaultButton`)},m(g,h){e.insert(g,t,h),e.append(t,i),e.append(t,s),r||(m=e.listen(t,"click",p),r=!0)},p(g,h){o=g,h[0]&134225920&&n!==(n=o[27](`${o[58].translationKey}`)+"")&&e.set_data(i,n),h[0]&8192&&l!==(l=`${o[58].cssClass} DefaultButton`)&&e.attr(t,"class",l)},d(g){g&&e.detach(t),r=!1,m()}}}function $e(o){let t;function n(l,r){return l[12]?Ve:Ne}let i=n(o),s=i(o);return{c(){t=e.element("div"),s.c(),e.attr(t,"class","CashierReceiptPageWidget")},m(l,r){e.insert(l,t,r),s.m(t,null),o[46](t)},p(l,r){i===(i=n(l))&&s?s.p(l,r):(s.d(1),s=i(l),s&&(s.c(),s.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),s.d(),o[46](null)}}}let et="_blank";function tt(o,t,n){let i;e.component_subscribe(o,e.$format,a=>n(27,i=a)),H.dayjs.extend(H.utc);let{endpoint:s}=t,{session:l}=t,{lang:r="en"}=t,{local:m="en-US"}=t,{showerrors:p="true"}=t,{showclosebutton:g="false"}=t,{showcontactbutton:h="false"}=t,{translationurl:L}=t,{assetsurl:_=""}=t,{customerid:f}=t,{transactionid:b}=t,{currencydecimals:z="2"}=t,{clientstyling:R=""}=t,{clientstylingurl:B=""}=t,{mbsource:E=""}=t,{showverifications:D="true"}=t,I=!1,{customsucceessbuttons:C=""}=t,{custompendingbuttons:T=""}=t,{customfailedbuttons:W=""}=t,{currencysymbol:A=""}=t,{currencyposition:S=""}=t,y=[];var w;(function(a){a.Success="Success",a.Maintenance="Maintenance"})(w||(w={}));var d;(function(a){a.Unknown="Unknown",a.Text="Text",a.Boolean="Boolean",a.Number="Number",a.Money="Money",a.DateTime="DateTime",a.Lookup="Lookup",a.IpAddress="IpAddress",a.Date="Date",a.Time="Time",a.LookupCollection="LookupCollection",a.Hidden="Hidden",a.Label="Label",a.Password="Password",a.Link="Link",a.Image="Image",a.Html="Html",a.QRCode="QR"})(d||(d={}));const v=(a,[k,x])=>[...a,...Array.isArray(k)?[...k.map(P=>[P,x])]:[[k,x]]],c=new Map([[["Unknown",0],d.Unknown],[["Text",1],d.Text],[["Boolean",2],d.Boolean],[["Number",3],d.Number],[["Money",4],d.Money],[["DateTime",5],d.DateTime],[["Lookup",6],d.Lookup],[["IpAddress",7],d.IpAddress],[["Date",8],d.Date],[["Time",9],d.Time],[["LookupCollection",10],d.LookupCollection],[["Hidden",11],d.Hidden],[["Label",12],d.Label],[["Password",13],d.Password],[["Link",14],d.Link],[["Image",15],d.Image],[["Html",19],d.Html],[["QR",20],d.QRCode]].reduce(v,[]));let u,U=[],q,Q,Z,X,M,N=[],Y,K,J="",Te=window.navigator.userAgent,F=!1;const $={promotions:{event:"Cashier:goToPromotions",translationKey:"goToPromotions",cssClass:"PromotionsButton"},support:{event:"Cashier:goToContact",translationKey:"goToSupport",cssClass:"SupportButton"},merchanthomepage:{event:"Cashier:goToVendorWebsite",translationKey:"goToMerchantHomePage",cssClass:"MerchantHomePageButton"},sports:{event:"Cashier:goToSports",translationKey:"goToSports",cssClass:"SportsButton"},casino:{event:"Cashier:goToCasino",translationKey:"goToCasino",cssClass:"CasinoButton"},externallink:{event:"Cashier:externalRedirect",translationKey:"externalLink",cssClass:"ExternalLinkButton"},documentupload:{event:"Cashier:uploadDocuments",translationKey:"uploadDocuments",cssClass:"UploadDocumentButton"},home:{event:"Cashier:goToHome",translationKey:"goToHomepage",cssClass:"HomeButton"},close:{event:"CloseCashierReceiptPage",translationKey:"close",cssClass:"CloseButton"}},V=a=>{n(13,y=[]),a.split(",").forEach(x=>{$[x.trim()]&&y.push($[x.trim()])})},ye=()=>{Ie(r)};e.onMount(()=>(window.addEventListener("message",ee,!1),H.initCurrencyFormatter(m,A,S,z),()=>{window.removeEventListener("message",ee)}));const ee=a=>{var k;switch(a.data.type){case"CloseReceiptInSecondTab":(k=window.opener)==null||k.postMessage(a.data);break}},ke=()=>{let a=L;if(a)return fetch(a).then(k=>k.json()).then(k=>{Object.keys(k).forEach(x=>{le(x,k[x])})}).catch(()=>{})};Object.keys(re).forEach(a=>{le(a,re[a])});const ve=()=>{window.postMessage({type:"CloseCashierReceiptPage"},window.location.href)},Pe=()=>{window.postMessage({type:"LiveChatReceiptPage"},window.location.href)},Se=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:Y,showErrorOutsideReceiptPage:K},window.location.href)},Le=()=>{const a=new URL(`${s}/v1/player/${f}/payment/GetPaymentInfo`),k=new Headers;k.append("accept","application/json"),k.append("Content-Type","application/json"),k.append("X-SessionId",`${l}`),k.append("X-Client-Request-Timestamp",H.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const x={method:"POST",headers:k,body:JSON.stringify({TransactionCode:b})};n(12,I=!0),fetch(a,x).then(P=>P.json()).then(P=>{var ie,se,oe,ae;if(P.ResponseCode!==w.Success){n(23,Y=P.ResponseCode),n(24,K=p.toLowerCase()==="false"||!p),Se();return}switch(n(16,u={type:P.Transaction.Type,referenceId:P.Transaction.Code,status:(ie=P.Transaction.Status)==null?void 0:ie.Status,message:(se=P.Transaction.Status)==null?void 0:se.Message,amount:(oe=P.Transaction.Amounts[0])==null?void 0:oe.Amount,currency:(ae=P.Transaction.Amounts[0])==null?void 0:ae.Currency}),n(17,U=P.ReceiptInfo&&P.ReceiptInfo.ReceiptFields?P.ReceiptInfo.ReceiptFields.map(j=>({type:c.get(j.Type),name:j.Name,description:j.Description,defaultValue:j.DefaultValue,useCopyButton:j.UseCopyButton,usePrintButton:j.UsePrintButton})):[]),n(19,Q=i(He(u.status,u.type),{values:{amount:H.formatCurrency(Number(u.amount),u.currency)}})),n(18,q=i(Be(u.status,u.type))),n(20,Z=i(Ae(u.status,u.type),{values:{errorText:u.message}})),u.status){case"Voided":case"Success":V(C||"sports, close"),H.dispatchCustomEvent(u.type==="Deposit"?"deposit_success":"withdrawal_success",{userID:f,amount:u.amount,currency:u.currency,failureReason:u.message});break;case"PendingNotification":case"PendingConfirmation":case"PendingApprovalStage1":case"PendingApprovalStage2":case"PendingApprovalStage3":case"PendingOfflineNotification":V(T||"home, close");break;case"Rejected":case"Cancelled":case"Failed":V(W||"support, close"),H.dispatchCustomEvent(u.type==="Deposit"?"deposit_failed":"withdrawal_failed",{userID:f,amount:u.amount,currency:u.currency,failureReason:u.message}),D==="true"&&n(26,F=!0);break;default:V("close")}_?n(21,X=Me(_,u.status)):n(25,J=ze(u.status))}).finally(()=>n(12,I=!1))},te=a=>{window.postMessage({type:a},window.location.href)},ne=a=>{a&&window.postMessage({type:"NavigateTo",path:a,target:et,externalLink:!1},window.location.href)};function Re(a){e.binding_callbacks[a?"unshift":"push"](()=>{N[N.length]=a,n(22,N)})}const Ee=a=>{ne(a.description)},xe=a=>te(a.event);function De(a){e.binding_callbacks[a?"unshift":"push"](()=>{M=a,n(11,M)})}return o.$$set=a=>{"endpoint"in a&&n(0,s=a.endpoint),"session"in a&&n(1,l=a.session),"lang"in a&&n(2,r=a.lang),"local"in a&&n(33,m=a.local),"showerrors"in a&&n(34,p=a.showerrors),"showclosebutton"in a&&n(3,g=a.showclosebutton),"showcontactbutton"in a&&n(4,h=a.showcontactbutton),"translationurl"in a&&n(5,L=a.translationurl),"assetsurl"in a&&n(6,_=a.assetsurl),"customerid"in a&&n(7,f=a.customerid),"transactionid"in a&&n(35,b=a.transactionid),"currencydecimals"in a&&n(36,z=a.currencydecimals),"clientstyling"in a&&n(8,R=a.clientstyling),"clientstylingurl"in a&&n(9,B=a.clientstylingurl),"mbsource"in a&&n(37,E=a.mbsource),"showverifications"in a&&n(10,D=a.showverifications),"customsucceessbuttons"in a&&n(38,C=a.customsucceessbuttons),"custompendingbuttons"in a&&n(39,T=a.custompendingbuttons),"customfailedbuttons"in a&&n(40,W=a.customfailedbuttons),"currencysymbol"in a&&n(41,A=a.currencysymbol),"currencyposition"in a&&n(42,S=a.currencyposition)},o.$$.update=()=>{o.$$.dirty[0]&131|o.$$.dirty[1]&24&&s&&l&&f&&b&&p&&Le(),o.$$.dirty[0]&4&&r&&ye(),o.$$.dirty[0]&36&&r&&L&&ke(),o.$$.dirty[0]&2304&&R&&M&&e.setClientStyling(M,R),o.$$.dirty[0]&2560&&B&&M&&e.setClientStylingURL(M,B),o.$$.dirty[0]&2048|o.$$.dirty[1]&64&&E&&M&&e.setStreamStyling(M,`${E}.Style`)},[s,l,r,g,h,L,_,f,R,B,D,M,I,y,w,d,u,U,q,Q,Z,X,N,Y,K,J,F,i,Te,ve,Pe,te,ne,m,p,b,z,E,C,T,W,A,S,Re,Ee,xe,De]}class Ce extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,tt,$e,e.safe_not_equal,{endpoint:0,session:1,lang:2,local:33,showerrors:34,showclosebutton:3,showcontactbutton:4,translationurl:5,assetsurl:6,customerid:7,transactionid:35,currencydecimals:36,clientstyling:8,clientstylingurl:9,mbsource:37,showverifications:10,customsucceessbuttons:38,custompendingbuttons:39,customfailedbuttons:40,currencysymbol:41,currencyposition:42},je,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[33]}set local(t){this.$$set({local:t}),e.flush()}get showerrors(){return this.$$.ctx[34]}set showerrors(t){this.$$set({showerrors:t}),e.flush()}get showclosebutton(){return this.$$.ctx[3]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get showcontactbutton(){return this.$$.ctx[4]}set showcontactbutton(t){this.$$set({showcontactbutton:t}),e.flush()}get translationurl(){return this.$$.ctx[5]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get assetsurl(){return this.$$.ctx[6]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get customerid(){return this.$$.ctx[7]}set customerid(t){this.$$set({customerid:t}),e.flush()}get transactionid(){return this.$$.ctx[35]}set transactionid(t){this.$$set({transactionid:t}),e.flush()}get currencydecimals(){return this.$$.ctx[36]}set currencydecimals(t){this.$$set({currencydecimals:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[37]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get showverifications(){return this.$$.ctx[10]}set showverifications(t){this.$$set({showverifications:t}),e.flush()}get customsucceessbuttons(){return this.$$.ctx[38]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),e.flush()}get custompendingbuttons(){return this.$$.ctx[39]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),e.flush()}get customfailedbuttons(){return this.$$.ctx[40]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),e.flush()}get currencysymbol(){return this.$$.ctx[41]}set currencysymbol(t){this.$$set({currencysymbol:t}),e.flush()}get currencyposition(){return this.$$.ctx[42]}set currencyposition(t){this.$$set({currencyposition:t}),e.flush()}}e.create_custom_element(Ce,{endpoint:{},session:{},lang:{},local:{},showerrors:{},showclosebutton:{},showcontactbutton:{},translationurl:{},assetsurl:{},customerid:{},transactionid:{},currencydecimals:{},clientstyling:{},clientstylingurl:{},mbsource:{},showverifications:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},currencysymbol:{},currencyposition:{}},[],[],!0);exports.default=Ce;
@@ -1,6 +1,6 @@
1
- import { a as Ke, i as Ue, $ as qe, S as Qe, b as Ze, s as Xe, f as k, d as Je, z as Z, g as d, l as m, n as h, p as u, q as Fe, r as $e, y as he, F as p, w as B, m as C, o as H, x as A, v as ie, A as $, O as F, P as He, G as Q, C as et, D as tt, E as nt, c as it, B as st } from "./CashierError-In4OzIIA.js";
2
- import { d as be, u as ot, a as at, f as lt, b as we, i as _e } from "./CashierMethodDetails-TxMW9KHM.js";
3
- import "./CashierIframeRedirect-tRttmemn.js";
1
+ import { a as Ke, i as Ue, $ as qe, S as Qe, b as Ze, s as Xe, f as k, d as Je, z as Z, g as d, l as m, n as h, p as u, q as Fe, r as $e, y as he, F as p, w as B, m as C, o as H, x as A, v as ie, A as $, O as F, P as He, G as Q, C as et, D as tt, E as nt, c as it, B as st } from "./CashierError-CqQ7LIEZ.js";
2
+ import { d as be, u as ot, a as at, f as lt, b as we, i as _e } from "./CashierMethodDetails-D8VRwNdV.js";
3
+ import "./CashierIframeRedirect-BQI_WNTm.js";
4
4
  function Ce(s, e) {
5
5
  Ke(s, e);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { a as Ze, i as Xe, $ as Je, S as Fe, b as $e, s as et, f as k, c as tt, y as Z, e as d, k as m, m as h, o as u, p as nt, q as it, x as Ce, F as p, v as B, l as C, n as H, w as A, r as ie, z as $, O as F, P as ze, G as Q, A as st, B as ot, C as at, D as lt, E as rt } from "./CashierError-CteHkwfB.js";
2
- import { d as Te, u as ct, a as ut, f as ft, b as ke, i as ye } from "./CashierMethodDetails-KOKgXTk_.js";
3
- import "./CashierIframeRedirect-CWs1zVlC.js";
1
+ import { a as Ze, i as Xe, $ as Je, S as Fe, b as $e, s as et, f as k, c as tt, y as Z, e as d, k as m, m as h, o as u, p as nt, q as it, x as Ce, F as p, v as B, l as C, n as H, w as A, r as ie, z as $, O as F, P as ze, G as Q, A as st, B as ot, C as at, D as lt, E as rt } from "./CashierError-Dx52V-JN.js";
2
+ import { d as Te, u as ct, a as ut, f as ft, b as ke, i as ye } from "./CashierMethodDetails-B_ASW5rF.js";
3
+ import "./CashierIframeRedirect-CfhyGpRA.js";
4
4
  function ve(s, e) {
5
5
  Ze(s, e);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, s as Nn, f as j, d as vn, g as me, t as fe, h as le, X as un, Y as fn, l as pe, v as mn, q as It, r as kn, a0 as Dn, e as We, R as In, Z as Pt, K as Ut, w as qe, u as Ye, j as je, k as Xe, m as C, _ as Pn, A as Ft, n as G, x as Ke, o as ke, p as E, y as Ht, z as zt, U as Bt, G as Gt, C as Un, D as Fn, E as Hn, c as zn, B as Bn } from "./CashierError-In4OzIIA.js";
2
- import { f as Wt } from "./CashierModal-CZVHRmZu.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-TxMW9KHM.js";
1
+ import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, s as Nn, f as j, d as vn, g as me, t as fe, h as le, X as un, Y as fn, l as pe, v as mn, q as It, r as kn, a0 as Dn, e as We, R as In, Z as Pt, K as Ut, w as qe, u as Ye, j as je, k as Xe, m as C, _ as Pn, A as Ft, n as G, x as Ke, o as ke, p as E, y as Ht, z as zt, U as Bt, G as Gt, C as Un, D as Fn, E as Hn, c as zn, B as Bn } from "./CashierError-CqQ7LIEZ.js";
2
+ import { f as Wt } from "./CashierModal-BHc5HSTe.js";
3
+ import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-D8VRwNdV.js";
4
4
  function Xt(n, t) {
5
5
  xn(n, t);
6
6
  }
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-85r_lbiV.cjs"),At=require("./CashierModal-CQu7VSLY.cjs"),be=require("./CashierMethodDetails-DIEXQ_bs.cjs");function yt(i,n){t.addMessages(i,n)}function en(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const wt={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"CONTINUE",sessionExpirationLoadingButton:"PROCESSING..."},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME..."},"en-us":{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"CONTINUE",sessionExpirationLoadingButton:"PROCESSING..."}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:zt,setPrototypeOf:Ct,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:V,create:Bt}=Object,{apply:Ze,construct:Qe}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});V||(V=function(n){return n});Ze||(Ze=function(n,o,r){return n.apply(o,r)});Qe||(Qe=function(n,o){return new n(...o)});const De=W(Array.prototype.forEach),xt=W(Array.prototype.pop),Ae=W(Array.prototype.push),Pe=W(String.prototype.toLowerCase),Xe=W(String.prototype.toString),Rt=W(String.prototype.match),ye=W(String.prototype.replace),rn=W(String.prototype.indexOf),sn=W(String.prototype.trim),Q=W(Object.prototype.hasOwnProperty),P=W(RegExp.prototype.test),we=an(TypeError);function W(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),l=1;l<o;l++)r[l-1]=arguments[l];return Ze(i,n,r)}}function an(i){return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return Qe(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe;Ct&&Ct(i,null);let r=n.length;for(;r--;){let l=n[r];if(typeof l=="string"){const f=o(l);f!==l&&(tn(n)||(n[r]=f),l=f)}i[l]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)Q(i,n)||(i[n]=null);return i}function ue(i){const n=Bt(null);for(const[o,r]of zt(i))Q(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=ue(r):n[o]=r);return n}function Ce(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return W(r.get);if(typeof r.value=="function")return W(r.value)}i=nn(i)}function o(){return null}return o}const Lt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),qe=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ve=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cn=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Je=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=U(["#text"]),Ot=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ke=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Nt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ie=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=V(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mn=V(/<%[\w\W]*|[\w\W]*%>/gm),pn=V(/\${[\w\W]*}/gm),dn=V(/^data-[\-\w.\u00B7-\uFFFF]/),hn=V(/^aria-[\-\w]+$/),Gt=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=V(/^(?:\w+script|data):/i),gn=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=V(/^html$/i),En=V(/^[a-z][.\w]*(-[.\w]+)+$/i);var vt=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:mn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:_n,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const xe={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},Sn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";o&&o.hasAttribute(l)&&(r=o.getAttribute(l));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(_){return _},createScriptURL(_){return _}})}catch(_){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==xe.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,l=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:_,Node:v,Element:k,NodeFilter:w,NamedNodeMap:C=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:ae,DOMParser:le,trustedTypes:Y}=i,b=k.prototype,x=Ce(b,"cloneNode"),M=Ce(b,"remove"),re=Ce(b,"nextSibling"),F=Ce(b,"childNodes"),d=Ce(b,"parentNode");if(typeof _=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let p,B="";const{implementation:j,createNodeIterator:X,createDocumentFragment:R,getElementsByTagName:J}=o,{importNode:te}=r;let g={};n.isSupported=typeof zt=="function"&&typeof d=="function"&&j&&j.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:G,ERB_EXPR:K,TMPLIT_EXPR:O,DATA_ATTR:fe,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:ne,ATTR_WHITESPACE:h,CUSTOM_ELEMENT:S}=vt;let{IS_ALLOWED_URI:se}=vt,A=null;const Re=m({},[...Lt,...qe,...Ve,...Je,...Mt]);let y=null;const Le=m({},[...Ot,...Ke,...Nt,...Ie]);let a=Object.seal(Bt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),T=null,Z=null,H=!0,Ue=!0,$e=!1,et=!0,me=!1,Fe=!0,ce=!1,He=!1,ze=!1,pe=!1,Me=!1,Oe=!1,tt=!0,nt=!1;const Xt="user-content-";let Be=!0,Ee=!1,de={},he=null;const it=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const rt=m({},["audio","video","img","source","image","track"]);let Ge=null;const st=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ne="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xhtml";let _e=ie,We=!1,Ye=null;const qt=m({},[Ne,ve,ie],Xe);let Te=null;const Vt=["application/xhtml+xml","text/html"],Jt="text/html";let L=null,ge=null;const Kt=o.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},je=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ge&&ge===e)){if((!e||typeof e!="object")&&(e={}),e=ue(e),Te=Vt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Jt:e.PARSER_MEDIA_TYPE,L=Te==="application/xhtml+xml"?Xe:Pe,A=Q(e,"ALLOWED_TAGS")?m({},e.ALLOWED_TAGS,L):Re,y=Q(e,"ALLOWED_ATTR")?m({},e.ALLOWED_ATTR,L):Le,Ye=Q(e,"ALLOWED_NAMESPACES")?m({},e.ALLOWED_NAMESPACES,Xe):qt,Ge=Q(e,"ADD_URI_SAFE_ATTR")?m(ue(st),e.ADD_URI_SAFE_ATTR,L):st,ot=Q(e,"ADD_DATA_URI_TAGS")?m(ue(rt),e.ADD_DATA_URI_TAGS,L):rt,he=Q(e,"FORBID_CONTENTS")?m({},e.FORBID_CONTENTS,L):it,T=Q(e,"FORBID_TAGS")?m({},e.FORBID_TAGS,L):{},Z=Q(e,"FORBID_ATTR")?m({},e.FORBID_ATTR,L):{},de=Q(e,"USE_PROFILES")?e.USE_PROFILES:!1,H=e.ALLOW_ARIA_ATTR!==!1,Ue=e.ALLOW_DATA_ATTR!==!1,$e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,et=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=e.SAFE_FOR_TEMPLATES||!1,Fe=e.SAFE_FOR_XML!==!1,ce=e.WHOLE_DOCUMENT||!1,pe=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,tt=e.SANITIZE_DOM!==!1,nt=e.SANITIZE_NAMED_PROPS||!1,Be=e.KEEP_CONTENT!==!1,Ee=e.IN_PLACE||!1,se=e.ALLOWED_URI_REGEXP||Gt,_e=e.NAMESPACE||ie,a=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(a.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(a.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(a.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(Ue=!1),Me&&(pe=!0),de&&(A=m({},Mt),y=[],de.html===!0&&(m(A,Lt),m(y,Ot)),de.svg===!0&&(m(A,qe),m(y,Ke),m(y,Ie)),de.svgFilters===!0&&(m(A,Ve),m(y,Ke),m(y,Ie)),de.mathMl===!0&&(m(A,Je),m(y,Nt),m(y,Ie))),e.ADD_TAGS&&(A===Re&&(A=ue(A)),m(A,e.ADD_TAGS,L)),e.ADD_ATTR&&(y===Le&&(y=ue(y)),m(y,e.ADD_ATTR,L)),e.ADD_URI_SAFE_ATTR&&m(Ge,e.ADD_URI_SAFE_ATTR,L),e.FORBID_CONTENTS&&(he===it&&(he=ue(he)),m(he,e.FORBID_CONTENTS,L)),Be&&(A["#text"]=!0),ce&&m(A,["html","head","body"]),A.table&&(m(A,["tbody"]),delete T.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw we('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw we('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');p=e.TRUSTED_TYPES_POLICY,B=p.createHTML("")}else p===void 0&&(p=Sn(Y,l)),p!==null&&typeof B=="string"&&(B=p.createHTML(""));U&&U(e),ge=e}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Zt=m({},["title","style","font","a","script"]),ut=m({},[...qe,...Ve,...cn]),ft=m({},[...Je,...un]),Qt=function(e){let s=d(e);(!s||!s.tagName)&&(s={namespaceURI:_e,tagName:"template"});const c=Pe(e.tagName),E=Pe(s.tagName);return Ye[e.namespaceURI]?e.namespaceURI===ve?s.namespaceURI===ie?c==="svg":s.namespaceURI===Ne?c==="svg"&&(E==="annotation-xml"||lt[E]):!!ut[c]:e.namespaceURI===Ne?s.namespaceURI===ie?c==="math":s.namespaceURI===ve?c==="math"&&ct[E]:!!ft[c]:e.namespaceURI===ie?s.namespaceURI===ve&&!ct[E]||s.namespaceURI===Ne&&!lt[E]?!1:!ft[c]&&(Zt[c]||!ut[c]):!!(Te==="application/xhtml+xml"&&Ye[e.namespaceURI]):!1},$=function(e){Ae(n.removed,{element:e});try{d(e).removeChild(e)}catch(s){M(e)}},ke=function(e,s){try{Ae(n.removed,{attribute:s.getAttributeNode(e),from:s})}catch(c){Ae(n.removed,{attribute:null,from:s})}if(s.removeAttribute(e),e==="is"&&!y[e])if(pe||Me)try{$(s)}catch(c){}else try{s.setAttribute(e,"")}catch(c){}},mt=function(e){let s=null,c=null;if(ze)e="<remove></remove>"+e;else{const N=Rt(e,/^[\r\n\t ]+/);c=N&&N[0]}Te==="application/xhtml+xml"&&_e===ie&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const E=p?p.createHTML(e):e;if(_e===ie)try{s=new le().parseFromString(E,Te)}catch(N){}if(!s||!s.documentElement){s=j.createDocument(_e,"template",null);try{s.documentElement.innerHTML=We?B:E}catch(N){}}const D=s.body||s.documentElement;return e&&c&&D.insertBefore(o.createTextNode(c),D.childNodes[0]||null),_e===ie?J.call(s,ce?"html":"body")[0]:ce?s.documentElement:D},pt=function(e){return X.call(e.ownerDocument||e,e,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},dt=function(e){return e instanceof ae&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof C)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},ht=function(e){return typeof v=="function"&&e instanceof v},oe=function(e,s,c){g[e]&&De(g[e],E=>{E.call(n,s,c,ge)})},_t=function(e){let s=null;if(oe("beforeSanitizeElements",e,null),dt(e))return $(e),!0;const c=L(e.nodeName);if(oe("uponSanitizeElement",e,{tagName:c,allowedTags:A}),e.hasChildNodes()&&!ht(e.firstElementChild)&&P(/<[/\w]/g,e.innerHTML)&&P(/<[/\w]/g,e.textContent)||e.nodeType===xe.progressingInstruction||Fe&&e.nodeType===xe.comment&&P(/<[/\w]/g,e.data))return $(e),!0;if(!A[c]||T[c]){if(!T[c]&&Et(c)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c)))return!1;if(Be&&!he[c]){const E=d(e)||e.parentNode,D=F(e)||e.childNodes;if(D&&E){const N=D.length;for(let z=N-1;z>=0;--z){const ee=x(D[z],!0);ee.__removalCount=(e.__removalCount||0)+1,E.insertBefore(ee,re(e))}}}return $(e),!0}return e instanceof k&&!Qt(e)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,e.innerHTML)?($(e),!0):(me&&e.nodeType===xe.text&&(s=e.textContent,De([G,K,O],E=>{s=ye(s,E," ")}),e.textContent!==s&&(Ae(n.removed,{element:e.cloneNode()}),e.textContent=s)),oe("afterSanitizeElements",e,null),!1)},gt=function(e,s,c){if(tt&&(s==="id"||s==="name")&&(c in o||c in Kt))return!1;if(!(Ue&&!Z[s]&&P(fe,s))){if(!(H&&P(q,s))){if(!y[s]||Z[s]){if(!(Et(e)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,e)||a.tagNameCheck instanceof Function&&a.tagNameCheck(e))&&(a.attributeNameCheck instanceof RegExp&&P(a.attributeNameCheck,s)||a.attributeNameCheck instanceof Function&&a.attributeNameCheck(s))||s==="is"&&a.allowCustomizedBuiltInElements&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c))))return!1}else if(!Ge[s]){if(!P(se,ye(c,h,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&e!=="script"&&rn(c,"data:")===0&&ot[e])){if(!($e&&!P(ne,ye(c,h,"")))){if(c)return!1}}}}}}return!0},Et=function(e){return e!=="annotation-xml"&&Rt(e,S)},Tt=function(e){oe("beforeSanitizeAttributes",e,null);const{attributes:s}=e;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:y};let E=s.length;for(;E--;){const D=s[E],{name:N,namespaceURI:z,value:ee}=D,Se=L(N);let I=N==="value"?ee:sn(ee);if(c.attrName=Se,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,oe("uponSanitizeAttribute",e,c),I=c.attrValue,Fe&&P(/((--!?|])>)|<\/(style|title)/i,I)){ke(N,e);continue}if(c.forceKeepAttr||(ke(N,e),!c.keepAttr))continue;if(!et&&P(/\/>/i,I)){ke(N,e);continue}me&&De([G,K,O],bt=>{I=ye(I,bt," ")});const St=L(e.nodeName);if(gt(St,Se,I)){if(nt&&(Se==="id"||Se==="name")&&(ke(N,e),I=Xt+I),p&&typeof Y=="object"&&typeof Y.getAttributeType=="function"&&!z)switch(Y.getAttributeType(St,Se)){case"TrustedHTML":{I=p.createHTML(I);break}case"TrustedScriptURL":{I=p.createScriptURL(I);break}}try{z?e.setAttributeNS(z,N,I):e.setAttribute(N,I),dt(e)?$(e):xt(n.removed)}catch(bt){}}}oe("afterSanitizeAttributes",e,null)},$t=function u(e){let s=null;const c=pt(e);for(oe("beforeSanitizeShadowDOM",e,null);s=c.nextNode();)oe("uponSanitizeShadowNode",s,null),!_t(s)&&(s.content instanceof f&&u(s.content),Tt(s));oe("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(u){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,E=null,D=null;if(We=!u,We&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw we("dirty is not a string, aborting")}else throw we("toString is not a function");if(!n.isSupported)return u;if(He||je(e),n.removed=[],typeof u=="string"&&(Ee=!1),Ee){if(u.nodeName){const ee=L(u.nodeName);if(!A[ee]||T[ee])throw we("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof v)s=mt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===xe.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!pe&&!me&&!ce&&u.indexOf("<")===-1)return p&&Oe?p.createHTML(u):u;if(s=mt(u),!s)return pe?null:Oe?B:""}s&&ze&&$(s.firstChild);const N=pt(Ee?u:s);for(;E=N.nextNode();)_t(E)||(E.content instanceof f&&$t(E.content),Tt(E));if(Ee)return u;if(pe){if(Me)for(D=R.call(s.ownerDocument);s.firstChild;)D.appendChild(s.firstChild);else D=s;return(y.shadowroot||y.shadowrootmode)&&(D=te.call(r,D,!0)),D}let z=ce?s.outerHTML:s.innerHTML;return ce&&A["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(z="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-BHJdKZpw.cjs"),At=require("./CashierModal-2cnnovqE.cjs"),be=require("./CashierMethodDetails-BwNRzFI6.cjs");function yt(i,n){t.addMessages(i,n)}function en(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const wt={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"CONTINUE",sessionExpirationLoadingButton:"PROCESSING..."},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME..."},"en-us":{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"CONTINUE",sessionExpirationLoadingButton:"PROCESSING..."}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:zt,setPrototypeOf:Ct,isFrozen:tn,getPrototypeOf:nn,getOwnPropertyDescriptor:on}=Object;let{freeze:U,seal:V,create:Bt}=Object,{apply:Ze,construct:Qe}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});V||(V=function(n){return n});Ze||(Ze=function(n,o,r){return n.apply(o,r)});Qe||(Qe=function(n,o){return new n(...o)});const De=W(Array.prototype.forEach),xt=W(Array.prototype.pop),Ae=W(Array.prototype.push),Pe=W(String.prototype.toLowerCase),Xe=W(String.prototype.toString),Rt=W(String.prototype.match),ye=W(String.prototype.replace),rn=W(String.prototype.indexOf),sn=W(String.prototype.trim),Q=W(Object.prototype.hasOwnProperty),P=W(RegExp.prototype.test),we=an(TypeError);function W(i){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),l=1;l<o;l++)r[l-1]=arguments[l];return Ze(i,n,r)}}function an(i){return function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return Qe(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe;Ct&&Ct(i,null);let r=n.length;for(;r--;){let l=n[r];if(typeof l=="string"){const f=o(l);f!==l&&(tn(n)||(n[r]=f),l=f)}i[l]=!0}return i}function ln(i){for(let n=0;n<i.length;n++)Q(i,n)||(i[n]=null);return i}function ue(i){const n=Bt(null);for(const[o,r]of zt(i))Q(i,o)&&(Array.isArray(r)?n[o]=ln(r):r&&typeof r=="object"&&r.constructor===Object?n[o]=ue(r):n[o]=r);return n}function Ce(i,n){for(;i!==null;){const r=on(i,n);if(r){if(r.get)return W(r.get);if(typeof r.value=="function")return W(r.value)}i=nn(i)}function o(){return null}return o}const Lt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),qe=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ve=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cn=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Je=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),un=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=U(["#text"]),Ot=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ke=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Nt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ie=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fn=V(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mn=V(/<%[\w\W]*|[\w\W]*%>/gm),pn=V(/\${[\w\W]*}/gm),dn=V(/^data-[\-\w.\u00B7-\uFFFF]/),hn=V(/^aria-[\-\w]+$/),Gt=V(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=V(/^(?:\w+script|data):/i),gn=V(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wt=V(/^html$/i),En=V(/^[a-z][.\w]*(-[.\w]+)+$/i);var vt=Object.freeze({__proto__:null,MUSTACHE_EXPR:fn,ERB_EXPR:mn,TMPLIT_EXPR:pn,DATA_ATTR:dn,ARIA_ATTR:hn,IS_ALLOWED_URI:Gt,IS_SCRIPT_OR_DATA:_n,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Wt,CUSTOM_ELEMENT:En});const xe={element:1,text:3,progressingInstruction:7,comment:8,document:9},Tn=function(){return typeof window=="undefined"?null:window},Sn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";o&&o.hasAttribute(l)&&(r=o.getAttribute(l));const f="dompurify"+(r?"#"+r:"");try{return n.createPolicy(f,{createHTML(_){return _},createScriptURL(_){return _}})}catch(_){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Yt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn();const n=u=>Yt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==xe.document)return n.isSupported=!1,n;let{document:o}=i;const r=o,l=r.currentScript,{DocumentFragment:f,HTMLTemplateElement:_,Node:v,Element:k,NodeFilter:w,NamedNodeMap:C=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:ae,DOMParser:le,trustedTypes:Y}=i,b=k.prototype,x=Ce(b,"cloneNode"),M=Ce(b,"remove"),re=Ce(b,"nextSibling"),F=Ce(b,"childNodes"),d=Ce(b,"parentNode");if(typeof _=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let p,B="";const{implementation:j,createNodeIterator:X,createDocumentFragment:R,getElementsByTagName:J}=o,{importNode:te}=r;let g={};n.isSupported=typeof zt=="function"&&typeof d=="function"&&j&&j.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:G,ERB_EXPR:K,TMPLIT_EXPR:O,DATA_ATTR:fe,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:ne,ATTR_WHITESPACE:h,CUSTOM_ELEMENT:S}=vt;let{IS_ALLOWED_URI:se}=vt,A=null;const Re=m({},[...Lt,...qe,...Ve,...Je,...Mt]);let y=null;const Le=m({},[...Ot,...Ke,...Nt,...Ie]);let a=Object.seal(Bt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),T=null,Z=null,H=!0,Ue=!0,$e=!1,et=!0,me=!1,Fe=!0,ce=!1,He=!1,ze=!1,pe=!1,Me=!1,Oe=!1,tt=!0,nt=!1;const Xt="user-content-";let Be=!0,Ee=!1,de={},he=null;const it=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ot=null;const rt=m({},["audio","video","img","source","image","track"]);let Ge=null;const st=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ne="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",ie="http://www.w3.org/1999/xhtml";let _e=ie,We=!1,Ye=null;const qt=m({},[Ne,ve,ie],Xe);let Te=null;const Vt=["application/xhtml+xml","text/html"],Jt="text/html";let L=null,ge=null;const Kt=o.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},je=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ge&&ge===e)){if((!e||typeof e!="object")&&(e={}),e=ue(e),Te=Vt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Jt:e.PARSER_MEDIA_TYPE,L=Te==="application/xhtml+xml"?Xe:Pe,A=Q(e,"ALLOWED_TAGS")?m({},e.ALLOWED_TAGS,L):Re,y=Q(e,"ALLOWED_ATTR")?m({},e.ALLOWED_ATTR,L):Le,Ye=Q(e,"ALLOWED_NAMESPACES")?m({},e.ALLOWED_NAMESPACES,Xe):qt,Ge=Q(e,"ADD_URI_SAFE_ATTR")?m(ue(st),e.ADD_URI_SAFE_ATTR,L):st,ot=Q(e,"ADD_DATA_URI_TAGS")?m(ue(rt),e.ADD_DATA_URI_TAGS,L):rt,he=Q(e,"FORBID_CONTENTS")?m({},e.FORBID_CONTENTS,L):it,T=Q(e,"FORBID_TAGS")?m({},e.FORBID_TAGS,L):{},Z=Q(e,"FORBID_ATTR")?m({},e.FORBID_ATTR,L):{},de=Q(e,"USE_PROFILES")?e.USE_PROFILES:!1,H=e.ALLOW_ARIA_ATTR!==!1,Ue=e.ALLOW_DATA_ATTR!==!1,$e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,et=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=e.SAFE_FOR_TEMPLATES||!1,Fe=e.SAFE_FOR_XML!==!1,ce=e.WHOLE_DOCUMENT||!1,pe=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,tt=e.SANITIZE_DOM!==!1,nt=e.SANITIZE_NAMED_PROPS||!1,Be=e.KEEP_CONTENT!==!1,Ee=e.IN_PLACE||!1,se=e.ALLOWED_URI_REGEXP||Gt,_e=e.NAMESPACE||ie,a=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(a.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(a.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(a.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(Ue=!1),Me&&(pe=!0),de&&(A=m({},Mt),y=[],de.html===!0&&(m(A,Lt),m(y,Ot)),de.svg===!0&&(m(A,qe),m(y,Ke),m(y,Ie)),de.svgFilters===!0&&(m(A,Ve),m(y,Ke),m(y,Ie)),de.mathMl===!0&&(m(A,Je),m(y,Nt),m(y,Ie))),e.ADD_TAGS&&(A===Re&&(A=ue(A)),m(A,e.ADD_TAGS,L)),e.ADD_ATTR&&(y===Le&&(y=ue(y)),m(y,e.ADD_ATTR,L)),e.ADD_URI_SAFE_ATTR&&m(Ge,e.ADD_URI_SAFE_ATTR,L),e.FORBID_CONTENTS&&(he===it&&(he=ue(he)),m(he,e.FORBID_CONTENTS,L)),Be&&(A["#text"]=!0),ce&&m(A,["html","head","body"]),A.table&&(m(A,["tbody"]),delete T.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw we('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw we('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');p=e.TRUSTED_TYPES_POLICY,B=p.createHTML("")}else p===void 0&&(p=Sn(Y,l)),p!==null&&typeof B=="string"&&(B=p.createHTML(""));U&&U(e),ge=e}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Zt=m({},["title","style","font","a","script"]),ut=m({},[...qe,...Ve,...cn]),ft=m({},[...Je,...un]),Qt=function(e){let s=d(e);(!s||!s.tagName)&&(s={namespaceURI:_e,tagName:"template"});const c=Pe(e.tagName),E=Pe(s.tagName);return Ye[e.namespaceURI]?e.namespaceURI===ve?s.namespaceURI===ie?c==="svg":s.namespaceURI===Ne?c==="svg"&&(E==="annotation-xml"||lt[E]):!!ut[c]:e.namespaceURI===Ne?s.namespaceURI===ie?c==="math":s.namespaceURI===ve?c==="math"&&ct[E]:!!ft[c]:e.namespaceURI===ie?s.namespaceURI===ve&&!ct[E]||s.namespaceURI===Ne&&!lt[E]?!1:!ft[c]&&(Zt[c]||!ut[c]):!!(Te==="application/xhtml+xml"&&Ye[e.namespaceURI]):!1},$=function(e){Ae(n.removed,{element:e});try{d(e).removeChild(e)}catch(s){M(e)}},ke=function(e,s){try{Ae(n.removed,{attribute:s.getAttributeNode(e),from:s})}catch(c){Ae(n.removed,{attribute:null,from:s})}if(s.removeAttribute(e),e==="is"&&!y[e])if(pe||Me)try{$(s)}catch(c){}else try{s.setAttribute(e,"")}catch(c){}},mt=function(e){let s=null,c=null;if(ze)e="<remove></remove>"+e;else{const N=Rt(e,/^[\r\n\t ]+/);c=N&&N[0]}Te==="application/xhtml+xml"&&_e===ie&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const E=p?p.createHTML(e):e;if(_e===ie)try{s=new le().parseFromString(E,Te)}catch(N){}if(!s||!s.documentElement){s=j.createDocument(_e,"template",null);try{s.documentElement.innerHTML=We?B:E}catch(N){}}const D=s.body||s.documentElement;return e&&c&&D.insertBefore(o.createTextNode(c),D.childNodes[0]||null),_e===ie?J.call(s,ce?"html":"body")[0]:ce?s.documentElement:D},pt=function(e){return X.call(e.ownerDocument||e,e,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},dt=function(e){return e instanceof ae&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof C)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},ht=function(e){return typeof v=="function"&&e instanceof v},oe=function(e,s,c){g[e]&&De(g[e],E=>{E.call(n,s,c,ge)})},_t=function(e){let s=null;if(oe("beforeSanitizeElements",e,null),dt(e))return $(e),!0;const c=L(e.nodeName);if(oe("uponSanitizeElement",e,{tagName:c,allowedTags:A}),e.hasChildNodes()&&!ht(e.firstElementChild)&&P(/<[/\w]/g,e.innerHTML)&&P(/<[/\w]/g,e.textContent)||e.nodeType===xe.progressingInstruction||Fe&&e.nodeType===xe.comment&&P(/<[/\w]/g,e.data))return $(e),!0;if(!A[c]||T[c]){if(!T[c]&&Et(c)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c)))return!1;if(Be&&!he[c]){const E=d(e)||e.parentNode,D=F(e)||e.childNodes;if(D&&E){const N=D.length;for(let z=N-1;z>=0;--z){const ee=x(D[z],!0);ee.__removalCount=(e.__removalCount||0)+1,E.insertBefore(ee,re(e))}}}return $(e),!0}return e instanceof k&&!Qt(e)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,e.innerHTML)?($(e),!0):(me&&e.nodeType===xe.text&&(s=e.textContent,De([G,K,O],E=>{s=ye(s,E," ")}),e.textContent!==s&&(Ae(n.removed,{element:e.cloneNode()}),e.textContent=s)),oe("afterSanitizeElements",e,null),!1)},gt=function(e,s,c){if(tt&&(s==="id"||s==="name")&&(c in o||c in Kt))return!1;if(!(Ue&&!Z[s]&&P(fe,s))){if(!(H&&P(q,s))){if(!y[s]||Z[s]){if(!(Et(e)&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,e)||a.tagNameCheck instanceof Function&&a.tagNameCheck(e))&&(a.attributeNameCheck instanceof RegExp&&P(a.attributeNameCheck,s)||a.attributeNameCheck instanceof Function&&a.attributeNameCheck(s))||s==="is"&&a.allowCustomizedBuiltInElements&&(a.tagNameCheck instanceof RegExp&&P(a.tagNameCheck,c)||a.tagNameCheck instanceof Function&&a.tagNameCheck(c))))return!1}else if(!Ge[s]){if(!P(se,ye(c,h,""))){if(!((s==="src"||s==="xlink:href"||s==="href")&&e!=="script"&&rn(c,"data:")===0&&ot[e])){if(!($e&&!P(ne,ye(c,h,"")))){if(c)return!1}}}}}}return!0},Et=function(e){return e!=="annotation-xml"&&Rt(e,S)},Tt=function(e){oe("beforeSanitizeAttributes",e,null);const{attributes:s}=e;if(!s)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:y};let E=s.length;for(;E--;){const D=s[E],{name:N,namespaceURI:z,value:ee}=D,Se=L(N);let I=N==="value"?ee:sn(ee);if(c.attrName=Se,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,oe("uponSanitizeAttribute",e,c),I=c.attrValue,Fe&&P(/((--!?|])>)|<\/(style|title)/i,I)){ke(N,e);continue}if(c.forceKeepAttr||(ke(N,e),!c.keepAttr))continue;if(!et&&P(/\/>/i,I)){ke(N,e);continue}me&&De([G,K,O],bt=>{I=ye(I,bt," ")});const St=L(e.nodeName);if(gt(St,Se,I)){if(nt&&(Se==="id"||Se==="name")&&(ke(N,e),I=Xt+I),p&&typeof Y=="object"&&typeof Y.getAttributeType=="function"&&!z)switch(Y.getAttributeType(St,Se)){case"TrustedHTML":{I=p.createHTML(I);break}case"TrustedScriptURL":{I=p.createScriptURL(I);break}}try{z?e.setAttributeNS(z,N,I):e.setAttribute(N,I),dt(e)?$(e):xt(n.removed)}catch(bt){}}}oe("afterSanitizeAttributes",e,null)},$t=function u(e){let s=null;const c=pt(e);for(oe("beforeSanitizeShadowDOM",e,null);s=c.nextNode();)oe("uponSanitizeShadowNode",s,null),!_t(s)&&(s.content instanceof f&&u(s.content),Tt(s));oe("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(u){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=null,c=null,E=null,D=null;if(We=!u,We&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw we("dirty is not a string, aborting")}else throw we("toString is not a function");if(!n.isSupported)return u;if(He||je(e),n.removed=[],typeof u=="string"&&(Ee=!1),Ee){if(u.nodeName){const ee=L(u.nodeName);if(!A[ee]||T[ee])throw we("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof v)s=mt("<!---->"),c=s.ownerDocument.importNode(u,!0),c.nodeType===xe.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?s=c:s.appendChild(c);else{if(!pe&&!me&&!ce&&u.indexOf("<")===-1)return p&&Oe?p.createHTML(u):u;if(s=mt(u),!s)return pe?null:Oe?B:""}s&&ze&&$(s.firstChild);const N=pt(Ee?u:s);for(;E=N.nextNode();)_t(E)||(E.content instanceof f&&$t(E.content),Tt(E));if(Ee)return u;if(pe){if(Me)for(D=R.call(s.ownerDocument);s.firstChild;)D.appendChild(s.firstChild);else D=s;return(y.shadowroot||y.shadowrootmode)&&(D=te.call(r,D,!0)),D}let z=ce?s.outerHTML:s.innerHTML;return ce&&A["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&P(Wt,s.ownerDocument.doctype.name)&&(z="<!DOCTYPE "+s.ownerDocument.doctype.name+`>
2
2
  `+z),me&&De([G,K,O],ee=>{z=ye(z,ee," ")}),p&&Oe?p.createHTML(z):z},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};je(u),He=!0},n.clearConfig=function(){ge=null,He=!1},n.isValidAttribute=function(u,e,s){ge||je({});const c=L(u),E=L(e);return gt(c,E,s)},n.addHook=function(u,e){typeof e=="function"&&(g[u]=g[u]||[],Ae(g[u],e))},n.removeHook=function(u){if(g[u])return xt(g[u])},n.removeHooks=function(u){g[u]&&(g[u]=[])},n.removeAllHooks=function(){g={}},n}var kt=Yt();function bn(i){t.append_styles(i,"svelte-878602","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #3854FF)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}")}const An=i=>({}),Dt=i=>({}),yn=i=>({}),It=i=>({}),wn=i=>({}),Pt=i=>({}),Cn=i=>({}),Ut=i=>({class:"CashierSessionExpirationIcon"});function Ft(i){let n,o,r,l,f,_=i[8]("sessionExpirationHeader")+"",v,k,w,C,ae,le,Y,b,x,M,re,F,d,p,B;const j=i[22].icon,X=t.create_slot(j,i,i[21],Ut),R=X||xn(i),J=i[22].title,te=t.create_slot(J,i,i[21],Pt),g=te||Rn(i),G=i[22].text,K=t.create_slot(G,i,i[21],It),O=K||Ln(i),fe=[On,Mn],q=[];function ne(h,S){return h[6]?0:1}return x=ne(i),M=q[x]=fe[x](i),{c(){n=t.element("div"),o=t.element("div"),r=t.element("div"),l=t.element("div"),f=t.element("div"),v=t.text(_),k=t.space(),w=t.element("div"),C=t.element("div"),R&&R.c(),ae=t.space(),g&&g.c(),le=t.space(),O&&O.c(),Y=t.space(),b=t.element("button"),M.c(),t.attr(f,"class","CashierSessionExpirationModalHeaderTitle"),t.attr(l,"class","CashierSessionExpirationModalHeader"),t.attr(b,"type","button"),b.disabled=i[6],t.attr(b,"class","CashierSessionExpirationButton"),t.attr(C,"class","CashierSessionExpiration"),t.attr(w,"class","CashierSessionExpirationModalContainer"),t.attr(r,"class","CashierSessionExpirationModalWrapper"),t.attr(o,"class","CashierSessionExpirationModalWindow"),t.attr(o,"id","CashierSessionExpirationModal"),t.add_render_callback(()=>i[24].call(o))},m(h,S){t.insert(h,n,S),t.append(n,o),t.append(o,r),t.append(r,l),t.append(l,f),t.append(f,v),t.append(r,k),t.append(r,w),t.append(w,C),R&&R.m(C,null),t.append(C,ae),g&&g.m(C,null),t.append(C,le),O&&O.m(C,null),t.append(C,Y),t.append(C,b),q[x].m(b,null),i[23](C),re=t.add_iframe_resize_listener(o,i[24].bind(o)),i[25](n),d=!0,p||(B=[t.listen(b,"click",i[9]),t.listen(o,"click",i[10])],p=!0)},p(h,S){i=h,(!d||S[0]&256)&&_!==(_=i[8]("sessionExpirationHeader")+"")&&t.set_data(v,_),X?X.p&&(!d||S[0]&2097152)&&t.update_slot_base(X,j,i,i[21],d?t.get_slot_changes(j,i[21],S,Cn):t.get_all_dirty_from_scope(i[21]),Ut):R&&R.p&&(!d||S[0]&8)&&R.p(i,d?S:[-1,-1]),te?te.p&&(!d||S[0]&2097152)&&t.update_slot_base(te,J,i,i[21],d?t.get_slot_changes(J,i[21],S,wn):t.get_all_dirty_from_scope(i[21]),Pt):g&&g.p&&(!d||S[0]&256)&&g.p(i,d?S:[-1,-1]),K?K.p&&(!d||S[0]&2097152)&&t.update_slot_base(K,G,i,i[21],d?t.get_slot_changes(G,i[21],S,yn):t.get_all_dirty_from_scope(i[21]),It):O&&O.p&&(!d||S[0]&384)&&O.p(i,d?S:[-1,-1]);let se=x;x=ne(i),x===se?q[x].p(i,S):(t.group_outros(),t.transition_out(q[se],1,1,()=>{q[se]=null}),t.check_outros(),M=q[x],M?M.p(i,S):(M=q[x]=fe[x](i),M.c()),t.transition_in(M,1),M.m(b,null)),(!d||S[0]&64)&&(b.disabled=i[6])},i(h){d||(t.transition_in(R,h),t.transition_in(g,h),t.transition_in(O,h),t.transition_in(M),h&&t.add_render_callback(()=>{d&&(F||(F=t.create_bidirectional_transition(o,At.fade,{duration:i[2]},!0)),F.run(1))}),d=!0)},o(h){t.transition_out(R,h),t.transition_out(g,h),t.transition_out(O,h),t.transition_out(M),h&&(F||(F=t.create_bidirectional_transition(o,At.fade,{duration:i[2]},!1)),F.run(0)),d=!1},d(h){h&&t.detach(n),R&&R.d(h),g&&g.d(h),O&&O.d(h),q[x].d(),i[23](null),re(),h&&F&&F.end(),i[25](null),p=!1,t.run_all(B)}}}function Ht(i){let n,o;return{c(){n=t.element("img"),t.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||t.attr(n,"src",o),t.attr(n,"width","300px"),t.attr(n,"alt","error")},m(r,l){t.insert(r,n,l)},p(r,l){l[0]&8&&!t.src_url_equal(n.src,o=`${r[3]}/set-timeout-icon.png`)&&t.attr(n,"src",o)},d(r){r&&t.detach(n)}}}function xn(i){let n,o=i[3]&&Ht(i);return{c(){o&&o.c(),n=t.empty()},m(r,l){o&&o.m(r,l),t.insert(r,n,l)},p(r,l){r[3]?o?o.p(r,l):(o=Ht(r),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(r){r&&t.detach(n),o&&o.d(r)}}}function Rn(i){let n,o=i[8]("sessionExpirationTitle")+"",r;return{c(){n=t.element("span"),r=t.text(o),t.attr(n,"class","CashierSessionExpirationTitle")},m(l,f){t.insert(l,n,f),t.append(n,r)},p(l,f){f[0]&256&&o!==(o=l[8]("sessionExpirationTitle")+"")&&t.set_data(r,o)},d(l){l&&t.detach(n)}}}function Ln(i){let n,o=kt.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=t.element("span"),t.attr(n,"class","CashierSessionExpirationText")},m(r,l){t.insert(r,n,l),n.innerHTML=o},p(r,l){l[0]&384&&o!==(o=kt.sanitize(r[8]("sessionExpirationGeneralText",{values:{second:r[7]}}))+"")&&(n.innerHTML=o)},d(r){r&&t.detach(n)}}}function Mn(i){let n;const o=i[22].button,r=t.create_slot(o,i,i[21],Dt),l=r||Nn(i);return{c(){l&&l.c()},m(f,_){l&&l.m(f,_),n=!0},p(f,_){r?r.p&&(!n||_[0]&2097152)&&t.update_slot_base(r,o,f,f[21],n?t.get_slot_changes(o,f[21],_,An):t.get_all_dirty_from_scope(f[21]),Dt):l&&l.p&&(!n||_[0]&256)&&l.p(f,n?_:[-1,-1])},i(f){n||(t.transition_in(l,f),n=!0)},o(f){t.transition_out(l,f),n=!1},d(f){l&&l.d(f)}}}function On(i){let n,o,r,l,f,_=i[8]("sessionExpirationLoadingButton")+"",v;return{c(){n=t.element("div"),o=t.svg_element("svg"),r=t.svg_element("path"),l=t.space(),f=t.element("span"),v=t.text(_),t.attr(r,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),t.attr(r,"fill","white"),t.attr(o,"class","CashierSessionExpirationButtonSpinner"),t.attr(o,"xmlns","http://www.w3.org/2000/svg"),t.attr(o,"width","15"),t.attr(o,"height","14"),t.attr(o,"viewBox","0 0 15 14"),t.attr(o,"fill","none"),t.attr(f,"class","CashierSessionExpirationButtonText")},m(k,w){t.insert(k,n,w),t.append(n,o),t.append(o,r),t.append(n,l),t.append(n,f),t.append(f,v)},p(k,w){w[0]&256&&_!==(_=k[8]("sessionExpirationLoadingButton")+"")&&t.set_data(v,_)},i:t.noop,o:t.noop,d(k){k&&t.detach(n)}}}function Nn(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",r;return{c(){n=t.element("span"),r=t.text(o),t.attr(n,"class","CashierSessionExpirationButtonText")},m(l,f){t.insert(l,n,f),t.append(n,r)},p(l,f){f[0]&256&&o!==(o=l[8]("sessionExpirationGeneralButton")+"")&&t.set_data(r,o)},d(l){l&&t.detach(n)}}}function vn(i){let n,o,r=i[5]&&Ft(i);return{c(){r&&r.c(),n=t.empty()},m(l,f){r&&r.m(l,f),t.insert(l,n,f),o=!0},p(l,f){l[5]?r?(r.p(l,f),f[0]&32&&t.transition_in(r,1)):(r=Ft(l),r.c(),t.transition_in(r,1),r.m(n.parentNode,n)):r&&(t.group_outros(),t.transition_out(r,1,1,()=>{r=null}),t.check_outros())},i(l){o||(t.transition_in(r),o=!0)},o(l){t.transition_out(r),o=!1},d(l){l&&t.detach(n),r&&r.d(l)}}}const kn=90;function Dn(i,n,o){let r,l;t.component_subscribe(i,be.xPaymentSessionToken,a=>o(20,r=a)),t.component_subscribe(i,t.$format,a=>o(8,l=a));let{$$slots:f={},$$scope:_}=n;be.dayjs.extend(be.utc);let{clientstyling:v=""}=n,{clientstylingurl:k=""}=n,{width:w}=n,{height:C}=n,{duration:ae=200}=n,{assetsurl:le=""}=n,{lang:Y="en"}=n,{translationurl:b=""}=n,{endpoint:x}=n,{currency:M}=n,{customerid:re}=n,{selectedpaymentmethodname:F}=n,{mbsource:d=""}=n,p,B=!1,j=!1,X,R,J,te,g;var G;(function(a){a.PlayerSessionIsNotValid="PlayerSessionIsNotValid",a.Success="Success",a.JwtTokenError="JwtTokenError"})(G||(G={}));const K=a=>{a.data.type==="StartSessionCountdown"&&(te=a.data.paymentMethodName)},O=a=>{try{return JSON.parse(atob(a.split(".")[1]))}catch(T){return null}},fe=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:g},window.location.href)},q=a=>{o(5,B=!1);const T=O(a);T&&(R=T==null?void 0:T.exp,o(7,X=R),J&&clearInterval(J),J=setInterval(()=>{const Z=Math.floor(new Date().getTime()/1e3);o(7,X=R-Z),X<=kn&&o(5,B=!0),Z>=R&&(ne(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},ne=()=>{o(7,X=0),o(5,B=!1),clearInterval(J)},h=()=>{if(j)return;const a=new URL(`${x}/v1/player/${re}/payment/GetPaymentMethod`),T=new Headers;o(6,j=!0),T.append("accept","application/json"),T.append("Content-Type","application/json"),T.append("X-Client-Request-Timestamp",be.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const Z={method:"POST",mode:"cors",headers:T,body:JSON.stringify({PaymentMethodName:te||F,Currency:M,XPaymentSessionToken:r})};fetch(a,Z).then(H=>H.json()).then(H=>{if(H.error){window.postMessage({type:"ShowSessionError",error:H.error},window.location.href),ne();return}if(H.ResponseCode===G.PlayerSessionIsNotValid||H.ResponseCode===G.JwtTokenError){g=H.ResponseCode,ne(),fe();return}if(H.ResponseCode!==G.Success){g=H.ResponseCode,ne();return}H.XPaymentSessionToken&&be.xPaymentSessionToken.set(H.XPaymentSessionToken)}).finally(()=>o(6,j=!1))},S=a=>{const T=a.currentTarget;a.target===T&&h()},se=()=>{fetch(b).then(T=>T.json()).then(T=>{Object.keys(T).forEach(Z=>{yt(Z,T[Z])})}).catch(T=>{console.log(T)})};Object.keys(wt).forEach(a=>{yt(a,wt[a])});const A=()=>{en(Y)};t.onMount(()=>(window.addEventListener("message",K,!1),()=>{window.removeEventListener("message",K)})),t.onDestroy(()=>{clearInterval(J)});function Re(a){t.binding_callbacks[a?"unshift":"push"](()=>{p=a,o(4,p)})}function y(){w=this.clientWidth,C=this.clientHeight,o(0,w),o(1,C)}function Le(a){t.binding_callbacks[a?"unshift":"push"](()=>{p=a,o(4,p)})}return i.$$set=a=>{"clientstyling"in a&&o(11,v=a.clientstyling),"clientstylingurl"in a&&o(12,k=a.clientstylingurl),"width"in a&&o(0,w=a.width),"height"in a&&o(1,C=a.height),"duration"in a&&o(2,ae=a.duration),"assetsurl"in a&&o(3,le=a.assetsurl),"lang"in a&&o(13,Y=a.lang),"translationurl"in a&&o(14,b=a.translationurl),"endpoint"in a&&o(15,x=a.endpoint),"currency"in a&&o(16,M=a.currency),"customerid"in a&&o(17,re=a.customerid),"selectedpaymentmethodname"in a&&o(18,F=a.selectedpaymentmethodname),"mbsource"in a&&o(19,d=a.mbsource),"$$scope"in a&&o(21,_=a.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&1048576&&q(r),i.$$.dirty[0]&8192&&Y&&A(),i.$$.dirty[0]&2064&&v&&p&&t.setClientStyling(p,v),i.$$.dirty[0]&4112&&k&&p&&t.setClientStylingURL(p,k),i.$$.dirty[0]&524304&&d&&p&&t.setStreamStyling(p,`${d}.Style`),i.$$.dirty[0]&16384&&b&&se()},[w,C,ae,le,p,B,j,X,l,h,S,v,k,Y,b,x,M,re,F,d,r,_,f,Re,y,Le]}class jt extends t.SvelteComponent{constructor(n){super(),t.init$1(this,n,Dn,vn,t.safe_not_equal,{clientstyling:11,clientstylingurl:12,width:0,height:1,duration:2,assetsurl:3,lang:13,translationurl:14,endpoint:15,currency:16,customerid:17,selectedpaymentmethodname:18,mbsource:19},bn,[-1,-1])}get clientstyling(){return this.$$.ctx[11]}set clientstyling(n){this.$$set({clientstyling:n}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),t.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),t.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),t.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),t.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),t.flush()}get lang(){return this.$$.ctx[13]}set lang(n){this.$$set({lang:n}),t.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(n){this.$$set({translationurl:n}),t.flush()}get endpoint(){return this.$$.ctx[15]}set endpoint(n){this.$$set({endpoint:n}),t.flush()}get currency(){return this.$$.ctx[16]}set currency(n){this.$$set({currency:n}),t.flush()}get customerid(){return this.$$.ctx[17]}set customerid(n){this.$$set({customerid:n}),t.flush()}get selectedpaymentmethodname(){return this.$$.ctx[18]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),t.flush()}get mbsource(){return this.$$.ctx[19]}set mbsource(n){this.$$set({mbsource:n}),t.flush()}}t.create_custom_element(jt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=jt;
@@ -1,6 +1,6 @@
1
- import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, s as Nn, f as j, c as vn, e as me, t as fe, g as le, X as un, Y as fn, k as pe, r as mn, p as It, q as Dn, a0 as kn, d as We, R as In, Z as Pt, K as Ut, v as qe, u as Ye, h as je, j as Xe, l as C, _ as Pn, z as Ft, m as G, w as Ke, n as De, o as T, x as Ht, y as zt, U as Bt, G as Gt, A as Un, B as Fn, C as Hn, D as zn, E as Bn } from "./CashierError-CteHkwfB.js";
2
- import { f as Wt } from "./CashierModal-C49IE2Ol.js";
3
- import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-KOKgXTk_.js";
1
+ import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, s as Nn, f as j, c as vn, e as me, t as fe, g as le, X as un, Y as fn, k as pe, r as mn, p as It, q as Dn, a0 as kn, d as We, R as In, Z as Pt, K as Ut, v as qe, u as Ye, h as je, j as Xe, l as C, _ as Pn, z as Ft, m as G, w as Ke, n as De, o as T, x as Ht, y as zt, U as Bt, G as Gt, A as Un, B as Fn, C as Hn, D as zn, E as Bn } from "./CashierError-Dx52V-JN.js";
2
+ import { f as Wt } from "./CashierModal-CbuQofh-.js";
3
+ import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-B_ASW5rF.js";
4
4
  function Xt(n, t) {
5
5
  xn(n, t);
6
6
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-85r_lbiV.cjs");function h(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function d(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function f(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i;t.onMount(()=>()=>{});function u(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`)},[i,l,o,a,u]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,d,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-BHJdKZpw.cjs");function h(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function d(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function f(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i;t.onMount(()=>()=>{});function u(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`)},[i,l,o,a,u]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,d,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
@@ -1,4 +1,4 @@
1
- import { S as h, b as d, s as f, f as o, d as m, z as c, g as y, l as g, n as p, p as k, r as b, y as S, C as x, D as v, E as w, c as C } from "./CashierError-In4OzIIA.js";
1
+ import { S as h, b as d, s as f, f as o, d as m, z as c, g as y, l as g, n as p, p as k, r as b, y as S, C as x, D as v, E as w, c as C } from "./CashierError-CqQ7LIEZ.js";
2
2
  function _(e) {
3
3
  m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S as h, b as m, s as f, f as o, c as y, y as c, e as d, k as g, m as p, o as k, q as b, x, A as S, B as v, C as w, D as C } from "./CashierError-CteHkwfB.js";
1
+ import { S as h, b as m, s as f, f as o, c as y, y as c, e as d, k as g, m as p, o as k, q as b, x, A as S, B as v, C as w, D as C } from "./CashierError-Dx52V-JN.js";
2
2
  function _(e) {
3
3
  y(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }