@everymatrix/cashier-page 1.67.0 → 1.67.3

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 (64) hide show
  1. package/components/{CashierConfirmModal-4RYp7Eiq.js → CashierConfirmModal-DSousiGi.js} +63 -63
  2. package/components/{CashierConfirmModal-untxGhsx.js → CashierConfirmModal-Dqt01j--.js} +63 -63
  3. package/components/{CashierConfirmModal-DMmJumcl.cjs → CashierConfirmModal-aR9avzhT.cjs} +1 -1
  4. package/components/CashierError-B5iCX53y.cjs +18 -0
  5. package/components/{CashierError-Cns-3PNq.js → CashierError-BJ0E1_1v.js} +820 -822
  6. package/components/{CashierError-DUzkCsXh.js → CashierError-CDMTA5XZ.js} +823 -825
  7. package/components/{CashierHeader-UB8k3unf.js → CashierHeader-CIGQbunN.js} +75 -75
  8. package/components/CashierHeader-DL5BrZ9i.cjs +1 -0
  9. package/components/{CashierHeader-B70dCV9P.js → CashierHeader-DdaYQk1z.js} +76 -76
  10. package/components/{CashierIframeRedirect-B3F7pZ1B.cjs → CashierIframeRedirect-DFbde_A6.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-ftwTZ2xd.js → CashierIframeRedirect-DgRv7mIi.js} +39 -39
  12. package/components/{CashierIframeRedirect-CFX4sGYO.js → CashierIframeRedirect-uKBvAgPd.js} +32 -32
  13. package/components/{CashierMethodDetails-D0Y5nPiN.cjs → CashierMethodDetails-B3iGe4hR.cjs} +1 -1
  14. package/components/{CashierMethodDetails-CCXOr2gb.js → CashierMethodDetails-C2_u6BK8.js} +269 -269
  15. package/components/{CashierMethodDetails-B6Mr4aP0.js → CashierMethodDetails-C8zoV6W4.js} +260 -260
  16. package/components/{CashierMethodsList-DVjbbHO_.js → CashierMethodsList-D8b1qu2l.js} +111 -111
  17. package/components/{CashierMethodsList-DaNccxCT.cjs → CashierMethodsList-TjtjgYd2.cjs} +1 -1
  18. package/components/{CashierMethodsList-lyl4lzH4.js → CashierMethodsList-zbTtJNbj.js} +106 -106
  19. package/components/{CashierModal-BuM2Yq-y.cjs → CashierModal-C4UbhpUy.cjs} +1 -1
  20. package/components/{CashierModal-BrwIBn9a.js → CashierModal-D7l5xNNv.js} +35 -35
  21. package/components/{CashierModal-ZfKvGxFq.js → CashierModal-i5BLXeMG.js} +40 -40
  22. package/components/{CashierNotifications-dn6rnyK_.js → CashierNotifications-C8IpBoiL.js} +18 -18
  23. package/components/{CashierNotifications-BLJS7gpv.cjs → CashierNotifications-NZjMeobR.cjs} +1 -1
  24. package/components/{CashierNotifications-C48iLynX.js → CashierNotifications-NeYZwpe0.js} +19 -19
  25. package/components/{CashierPage-DwwVZWaQ.js → CashierPage-B5AOrnIR.js} +105 -105
  26. package/components/{CashierPage-B6U1sEpL.cjs → CashierPage-BUhLJIX9.cjs} +1 -1
  27. package/components/{CashierPage-Oq46yP5A.js → CashierPage-Bta_wcmm.js} +178 -178
  28. package/components/{CashierReceiptPage-B7SvdgM-.js → CashierReceiptPage-Clg1Fc7Z.js} +28 -28
  29. package/components/{CashierReceiptPage-D_fuJVBK.cjs → CashierReceiptPage-DHzc7FzL.cjs} +1 -1
  30. package/components/{CashierReceiptPage-YAGlqjjm.js → CashierReceiptPage-QzdS-ShS.js} +28 -28
  31. package/components/{CashierSessionExpirationModal-D3E8pXO5.cjs → CashierSessionExpirationModal-Ctwh56Tb.cjs} +2 -2
  32. package/components/{CashierSessionExpirationModal-CZreGxnI.js → CashierSessionExpirationModal-DvQFH1r5.js} +249 -240
  33. package/components/{CashierSessionExpirationModal-B4sZWPat.js → CashierSessionExpirationModal-lYRN5IL1.js} +264 -255
  34. package/components/{CashierSpinner-y6HodxHT.js → CashierSpinner-BWEendA2.js} +14 -14
  35. package/components/{CashierSpinner-BhmndmKG.cjs → CashierSpinner-CMKSvNOT.cjs} +1 -1
  36. package/components/{CashierSpinner-BAfTKICK.js → CashierSpinner-DIo0_MsH.js} +17 -17
  37. package/components/{CashierTransactionHistory-CNFeJ6tL.js → CashierTransactionHistory-CC-C7I-S.js} +82 -82
  38. package/components/{CashierTransactionHistory-skFu8ocY.cjs → CashierTransactionHistory-ClzvfAky.cjs} +1 -1
  39. package/components/{CashierTransactionHistory-CGPCwBBR.js → CashierTransactionHistory-DfHVhVcP.js} +95 -95
  40. package/components/{CashierVerifications-DXULEiAu.cjs → CashierVerifications-B2LJC-xc.cjs} +1 -1
  41. package/components/{CashierVerifications-BnmIMTOt.js → CashierVerifications-BCw9TH6P.js} +42 -42
  42. package/components/{CashierVerifications-BPZjO4hX.js → CashierVerifications-OYhB9s9G.js} +33 -33
  43. package/components/{CashierVideoModal-BZg_b6bd.cjs → CashierVideoModal-B-7IPsEa.cjs} +1 -1
  44. package/components/{CashierVideoModal-DHNu0BQz.js → CashierVideoModal-BFng4vaT.js} +38 -38
  45. package/components/{CashierVideoModal-CVDvqrcy.js → CashierVideoModal-BOcjBUjZ.js} +39 -39
  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-97d17652-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
  51. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
  52. package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
  53. package/stencil/{ui-image-CMb1eK44.cjs → ui-image-B2ynFkLT.cjs} +1 -1
  54. package/stencil/{ui-image-CQQDA5b0.js → ui-image-D7A7MInC.js} +1 -1
  55. package/stencil/{ui-image-CmwNU-jf.js → ui-image-D_Js9Evk.js} +1 -1
  56. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
  57. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
  58. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
  59. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
  60. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Df0q0jE8.js} +2 -2
  61. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-EP2dwjfi.js} +2 -2
  62. package/components/CashierError-DaAmOVnU.cjs +0 -5
  63. package/components/CashierHeader-D09r-jkw.cjs +0 -1
  64. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierConfirmModal-DMmJumcl.cjs"),A=require("./CashierError-DaAmOVnU.cjs"),S=require("./CashierMethodDetails-D0Y5nPiN.cjs");function H(r,t){A.addMessages(r,t)}function ye(r){A.init({fallbackLocale:"en"}),A.$locale.set(r)}const j={en:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};if(typeof window!="undefined"){let r=function(t){return function(...o){try{return t.apply(this,o)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CashierVideoModal-BZg_b6bd.cjs")).then(({default:t})=>{!customElements.get("cashier-video-modal")&&customElements.define("cashier-video-modal",t.element)})}function ke(r){i.append_styles(r,"svelte-1emynn4","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function N(r,t,o){const a=r.slice();return a[52]=t[o],a[54]=o,a}function W(r){let t,o,a,c,u=i.ensure_array_like(r[4]),d=[];for(let l=0;l<u.length;l+=1)d[l]=K(N(r,u,l));let m=r[7]&&G(r);return{c(){t=i.element("div");for(let l=0;l<d.length;l+=1)d[l].c();o=i.space(),m&&m.c(),a=i.space(),c=i.element("cashier-video-modal"),i.attr(t,"class","CashierVerificationsWrapper"),i.set_custom_element_data(c,"clientstylingurl",r[1]),i.set_custom_element_data(c,"clientstyling",r[0]),i.set_custom_element_data(c,"ismobileview",r[2]),i.set_custom_element_data(c,"videosrc",r[8])},m(l,h){i.insert(l,t,h);for(let s=0;s<d.length;s+=1)d[s]&&d[s].m(t,null);i.insert(l,o,h),m&&m.m(l,h),i.insert(l,a,h),i.insert(l,c,h)},p(l,h){if(h[0]&1072){u=i.ensure_array_like(l[4]);let s;for(s=0;s<u.length;s+=1){const k=N(l,u,s);d[s]?d[s].p(k,h):(d[s]=K(k),d[s].c(),d[s].m(t,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=u.length}l[7]?m?m.p(l,h):(m=G(l),m.c(),m.m(a.parentNode,a)):m&&(m.d(1),m=null),h[0]&2&&i.set_custom_element_data(c,"clientstylingurl",l[1]),h[0]&1&&i.set_custom_element_data(c,"clientstyling",l[0]),h[0]&4&&i.set_custom_element_data(c,"ismobileview",l[2]),h[0]&256&&i.set_custom_element_data(c,"videosrc",l[8])},d(l){l&&(i.detach(t),i.detach(o),i.detach(a),i.detach(c)),i.destroy_each(d,l),m&&m.d(l)}}}function Y(r){let t,o,a;function c(...u){return r[19](r[54],...u)}return{c(){t=i.element("span"),t.innerHTML='<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',i.attr(t,"class","CashierVerificationChevron")},m(u,d){i.insert(u,t,d),o||(a=i.listen(t,"click",c),o=!0)},p(u,d){r=u},d(u){u&&i.detach(t),o=!1,a()}}}function K(r){let t,o,a,c,u=r[52]+"",d,m,l,h,s=r[4].length>1&&r[54]===0&&Y(r);function k(...v){return r[20](r[54],...v)}return{c(){t=i.element("div"),o=i.element("div"),o.innerHTML='<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',a=i.space(),c=i.element("p"),d=i.space(),s&&s.c(),m=i.space(),i.attr(o,"class","IconVerification"),i.attr(c,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[5])},m(v,w){i.insert(v,t,w),i.append(t,o),i.append(t,a),i.append(t,c),c.innerHTML=u,i.append(t,d),s&&s.m(t,null),i.append(t,m),l||(h=i.listen(t,"click",k),l=!0)},p(v,w){r=v,w[0]&16&&u!==(u=r[52]+"")&&(c.innerHTML=u),r[4].length>1&&r[54]===0?s?s.p(r,w):(s=Y(r),s.c(),s.m(t,m)):s&&(s.d(1),s=null),w[0]&32&&i.toggle_class(t,"ShowAll",r[5])},d(v){v&&i.detach(t),s&&s.d(),l=!1,h()}}}function G(r){let t,o,a,c,u=r[9]("verification.video.how-to")+"",d,m,l;return{c(){t=i.element("div"),o=i.element("div"),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',a=i.space(),c=i.element("div"),d=i.text(u),i.attr(o,"class","IconVideo"),i.attr(c,"class","CashierVerificationVideoLink"),i.toggle_class(c,"CashierVerificationVideoLinkDesktop",r[6]),i.attr(t,"class","CashierVerificationVideo")},m(h,s){i.insert(h,t,s),i.append(t,o),i.append(t,a),i.append(t,c),i.append(c,d),m||(l=i.listen(c,"click",r[21]),m=!0)},p(h,s){s[0]&512&&u!==(u=h[9]("verification.video.how-to")+"")&&i.set_data(d,u),s[0]&64&&i.toggle_class(c,"CashierVerificationVideoLinkDesktop",h[6])},d(h){h&&i.detach(t),m=!1,l()}}}function _e(r){let t,o=r[4]&&W(r);return{c(){t=i.element("div"),o&&o.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[6])},m(a,c){i.insert(a,t,c),o&&o.m(t,null),r[22](t)},p(a,c){a[4]?o?o.p(a,c):(o=W(a),o.c(),o.m(t,null)):o&&(o.d(1),o=null),c[0]&64&&i.toggle_class(t,"CashierVerificationsDesktop",a[6])},i:i.noop,o:i.noop,d(a){a&&i.detach(t),o&&o.d(),r[22](null)}}}const Pe="verification_explanation_video_widgets.MP4";function Ve(r,t,o){let a,c;i.component_subscribe(r,A.$format,e=>o(9,a=e)),i.component_subscribe(r,S.xPaymentSessionToken,e=>o(28,c=e)),S.dayjs.extend(S.utc);let{endpoint:u}=t,{lang:d="en"}=t,{translationurl:m=""}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{session:s=""}=t,{customerid:k=""}=t,{ismobileview:v=""}=t,{playersession:w=""}=t,_,x=new Set,F=new Set,D,C,O,T=!0,z=!0,M=!1,B="";var V;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(V||(V={}));var L;(function(e){e.Requested="Requested"})(L||(L={}));var g;(function(e){e.Unknown="Unknown",e.Unverified="Unverified",e.InProgress="InProgress",e.Failed="Failed",e.Verified="Verified",e.Referred="Referred",e.True="True",e.False="False",e.AwaitingForResponse="AwaitingForResponse"})(g||(g={}));var b;(function(e){e.Unknown="Unknown",e.Documents="Documents",e.Age="Age",e.Pep="Pep",e.Sanction="Sanction",e.Aml="Aml",e.ProofOfAddress="ProofOfAddress",e.SourceOfWealth="SourceOfWealth",e.SocialMedia="SocialMedia",e.Biometric="Biometric"})(b||(b={}));const J=[g.InProgress,g.Referred,g.AwaitingForResponse],X=()=>{let e=m;if(e)return fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(f=>{H(f,n[f])})}).catch(n=>{console.log(n)})};Object.keys(j).forEach(e=>{H(e,j[e])});const Q=()=>{ye(d)},$=()=>{let e=document.createElement("style");e.innerHTML=l,_.appendChild(e)},ee=()=>{let e=new URL(h),n=document.createElement("style");fetch(e.href).then(f=>f.text()).then(f=>{n.innerHTML=f,setTimeout(()=>{_.appendChild(n)},1)})},I=()=>{o(18,C=te());const e=new URL(`${u}/v1/player/${k}/verification/GetKYCCustomerStatus?language=${d}`),n=new Headers;n.append("accept","application/json"),n.append("Content-Type","application/json"),n.append("x-sessionid",`${w}`),n.append("X-Client-Request-Timestamp",S.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const f={method:"POST",headers:n,body:JSON.stringify({})};fetch(e,f).then(p=>p.json()).then(p=>{D=re(p.Verifications),D.VerificationStatuses.forEach(y=>{y.VerificationUrlType!=="Widget"&&x.add(y.Vendor)}),o(4,O=R())})},ie=()=>{c&&I()},te=()=>{let e=(s||c).split(".")[1];if(e){let n=JSON.parse(atob(e));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},re=e=>{var f;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const n=ne(e);if(n&&n.length){const p=oe(n);return{VerificationSummaryStatus:p.Status,VerificationUrl:(f=p.Flags)==null?void 0:f.DeferredUrlKey,VerificationStatuses:E(n,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:E(e,[g.Failed])}},oe=e=>e.reduce((n,f)=>n?new Date(n)<new Date(f)?f:n:f,0),E=(e,n)=>e.filter(f=>n.includes(f.Status)).map(f=>{var p,y;return{Type:f.Type,Vendor:f.VendorName,VerificationDocuments:f.Documents?[...f.Documents]:[],VerificationUrlType:(p=f.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=f.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(n=>J.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||se(n)||ae(n):!1),se=e=>{const n=e.Documents&&e.VendorName===V.Manual,f=e.Documents&&e.Documents.some(p=>p.Status===L.Requested);return n&&f},ae=e=>e.VendorName===V.ShuftiPro&&e.Status===g.Referred,R=()=>{switch(D.VerificationSummaryStatus){case g.InProgress:const e=[];return x.forEach(n=>{e.push(le(n))}),e;case g.Referred:return[a("verification.idenfy.referred-awaiting")];case g.Failed:return[a("verification.message.failed")]}},le=e=>{const n=D.VerificationStatuses.filter(f=>f.Vendor===e);if(e===V.ShuftiPro)return ce(n);{const f=a("verification.idenfy.link-name"),p={link:`<a href="${n[0].VerificationUrl}" target="_blank">${f}</a>`};return a("verification.idenfy.in-progress",{values:p})}},ce=e=>{const n=[],f={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(P=>{p.includes(P.Type)&&(n.push(P.Type),f[P.Type]=fe(P,de(P.Type)))});let y=n.every(P=>F.has(P)),we=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return y?a("verification.shuftipro.validations-started"):a(we,{values:f})},fe=(e,n)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`,de=e=>a(`verification.shuftipro.link-name.${e}`),q=(e,n)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const f=e.target.className.split(" ")[1];F.add(f),o(4,O=R())}return}n===0&&o(5,T=!T)},ue=()=>{o(6,z=v==="false")},he=()=>{o(8,B=C+"/"+d+"/"+Pe);try{fetch(B,{method:"HEAD"}).then(e=>{o(7,M=e.ok)})}catch(e){o(7,M=!1)}},U=()=>{window.postMessage({type:"ShowCashierVideoModal"},window.location.href)},me=(e,n)=>q(n,e),pe=(e,n)=>q(n,e),ge=()=>U();function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{_=e,o(3,_)})}return r.$$set=e=>{"endpoint"in e&&o(12,u=e.endpoint),"lang"in e&&o(13,d=e.lang),"translationurl"in e&&o(14,m=e.translationurl),"clientstyling"in e&&o(0,l=e.clientstyling),"clientstylingurl"in e&&o(1,h=e.clientstylingurl),"session"in e&&o(15,s=e.session),"customerid"in e&&o(16,k=e.customerid),"ismobileview"in e&&o(2,v=e.ismobileview),"playersession"in e&&o(17,w=e.playersession)},r.$$.update=()=>{r.$$.dirty[0]&8192&&d&&Q(),r.$$.dirty[0]&167936&&u&&s&&w&&I(),r.$$.dirty[0]&167936&&u&&!s&&w&&ie(),r.$$.dirty[0]&16384&&m&&X(),r.$$.dirty[0]&9&&l&&_&&$(),r.$$.dirty[0]&10&&h&&_&&ee(),r.$$.dirty[0]&4&&v&&ue(),r.$$.dirty[0]&262144&&C&&he()},[l,h,v,_,O,T,z,M,B,a,q,U,u,d,m,s,k,w,C,me,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init(this,t,Ve,_e,i.safe_not_equal,{endpoint:12,lang:13,translationurl:14,clientstyling:0,clientstylingurl:1,session:15,customerid:16,ismobileview:2,playersession:17},ke,[-1,-1])}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[16]}set customerid(t){this.$$set({customerid:t}),i.flush()}get ismobileview(){return this.$$.ctx[2]}set ismobileview(t){this.$$set({ismobileview:t}),i.flush()}get playersession(){return this.$$.ctx[17]}set playersession(t){this.$$set({playersession:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},ismobileview:{},playersession:{}},[],[],!0);exports.default=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierConfirmModal-aR9avzhT.cjs"),A=require("./CashierError-B5iCX53y.cjs"),S=require("./CashierMethodDetails-B3iGe4hR.cjs");function H(r,t){A.addMessages(r,t)}function ye(r){A.init({fallbackLocale:"en"}),A.$locale.set(r)}const j={en:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};if(typeof window!="undefined"){let r=function(t){return function(...o){try{return t.apply(this,o)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CashierVideoModal-B-7IPsEa.cjs")).then(({default:t})=>{!customElements.get("cashier-video-modal")&&customElements.define("cashier-video-modal",t.element)})}function ke(r){i.append_styles(r,"svelte-1emynn4","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function N(r,t,o){const a=r.slice();return a[52]=t[o],a[54]=o,a}function W(r){let t,o,a,c,u=i.ensure_array_like(r[4]),d=[];for(let l=0;l<u.length;l+=1)d[l]=K(N(r,u,l));let m=r[7]&&G(r);return{c(){t=i.element("div");for(let l=0;l<d.length;l+=1)d[l].c();o=i.space(),m&&m.c(),a=i.space(),c=i.element("cashier-video-modal"),i.attr(t,"class","CashierVerificationsWrapper"),i.set_custom_element_data(c,"clientstylingurl",r[1]),i.set_custom_element_data(c,"clientstyling",r[0]),i.set_custom_element_data(c,"ismobileview",r[2]),i.set_custom_element_data(c,"videosrc",r[8])},m(l,h){i.insert(l,t,h);for(let s=0;s<d.length;s+=1)d[s]&&d[s].m(t,null);i.insert(l,o,h),m&&m.m(l,h),i.insert(l,a,h),i.insert(l,c,h)},p(l,h){if(h[0]&1072){u=i.ensure_array_like(l[4]);let s;for(s=0;s<u.length;s+=1){const k=N(l,u,s);d[s]?d[s].p(k,h):(d[s]=K(k),d[s].c(),d[s].m(t,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=u.length}l[7]?m?m.p(l,h):(m=G(l),m.c(),m.m(a.parentNode,a)):m&&(m.d(1),m=null),h[0]&2&&i.set_custom_element_data(c,"clientstylingurl",l[1]),h[0]&1&&i.set_custom_element_data(c,"clientstyling",l[0]),h[0]&4&&i.set_custom_element_data(c,"ismobileview",l[2]),h[0]&256&&i.set_custom_element_data(c,"videosrc",l[8])},d(l){l&&(i.detach(t),i.detach(o),i.detach(a),i.detach(c)),i.destroy_each(d,l),m&&m.d(l)}}}function Y(r){let t,o,a;function c(...u){return r[19](r[54],...u)}return{c(){t=i.element("span"),t.innerHTML='<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',i.attr(t,"class","CashierVerificationChevron")},m(u,d){i.insert(u,t,d),o||(a=i.listen(t,"click",c),o=!0)},p(u,d){r=u},d(u){u&&i.detach(t),o=!1,a()}}}function K(r){let t,o,a,c,u=r[52]+"",d,m,l,h,s=r[4].length>1&&r[54]===0&&Y(r);function k(...v){return r[20](r[54],...v)}return{c(){t=i.element("div"),o=i.element("div"),o.innerHTML='<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',a=i.space(),c=i.element("p"),d=i.space(),s&&s.c(),m=i.space(),i.attr(o,"class","IconVerification"),i.attr(c,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[5])},m(v,w){i.insert(v,t,w),i.append(t,o),i.append(t,a),i.append(t,c),c.innerHTML=u,i.append(t,d),s&&s.m(t,null),i.append(t,m),l||(h=i.listen(t,"click",k),l=!0)},p(v,w){r=v,w[0]&16&&u!==(u=r[52]+"")&&(c.innerHTML=u),r[4].length>1&&r[54]===0?s?s.p(r,w):(s=Y(r),s.c(),s.m(t,m)):s&&(s.d(1),s=null),w[0]&32&&i.toggle_class(t,"ShowAll",r[5])},d(v){v&&i.detach(t),s&&s.d(),l=!1,h()}}}function G(r){let t,o,a,c,u=r[9]("verification.video.how-to")+"",d,m,l;return{c(){t=i.element("div"),o=i.element("div"),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',a=i.space(),c=i.element("div"),d=i.text(u),i.attr(o,"class","IconVideo"),i.attr(c,"class","CashierVerificationVideoLink"),i.toggle_class(c,"CashierVerificationVideoLinkDesktop",r[6]),i.attr(t,"class","CashierVerificationVideo")},m(h,s){i.insert(h,t,s),i.append(t,o),i.append(t,a),i.append(t,c),i.append(c,d),m||(l=i.listen(c,"click",r[21]),m=!0)},p(h,s){s[0]&512&&u!==(u=h[9]("verification.video.how-to")+"")&&i.set_data(d,u),s[0]&64&&i.toggle_class(c,"CashierVerificationVideoLinkDesktop",h[6])},d(h){h&&i.detach(t),m=!1,l()}}}function _e(r){let t,o=r[4]&&W(r);return{c(){t=i.element("div"),o&&o.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[6])},m(a,c){i.insert(a,t,c),o&&o.m(t,null),r[22](t)},p(a,c){a[4]?o?o.p(a,c):(o=W(a),o.c(),o.m(t,null)):o&&(o.d(1),o=null),c[0]&64&&i.toggle_class(t,"CashierVerificationsDesktop",a[6])},i:i.noop,o:i.noop,d(a){a&&i.detach(t),o&&o.d(),r[22](null)}}}const Pe="verification_explanation_video_widgets.MP4";function Ve(r,t,o){let a,c;i.component_subscribe(r,A.$format,e=>o(9,a=e)),i.component_subscribe(r,S.xPaymentSessionToken,e=>o(28,c=e)),S.dayjs.extend(S.utc);let{endpoint:u}=t,{lang:d="en"}=t,{translationurl:m=""}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{session:s=""}=t,{customerid:k=""}=t,{ismobileview:v=""}=t,{playersession:w=""}=t,_,x=new Set,F=new Set,D,C,O,T=!0,z=!0,M=!1,B="";var V;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(V||(V={}));var L;(function(e){e.Requested="Requested"})(L||(L={}));var g;(function(e){e.Unknown="Unknown",e.Unverified="Unverified",e.InProgress="InProgress",e.Failed="Failed",e.Verified="Verified",e.Referred="Referred",e.True="True",e.False="False",e.AwaitingForResponse="AwaitingForResponse"})(g||(g={}));var b;(function(e){e.Unknown="Unknown",e.Documents="Documents",e.Age="Age",e.Pep="Pep",e.Sanction="Sanction",e.Aml="Aml",e.ProofOfAddress="ProofOfAddress",e.SourceOfWealth="SourceOfWealth",e.SocialMedia="SocialMedia",e.Biometric="Biometric"})(b||(b={}));const J=[g.InProgress,g.Referred,g.AwaitingForResponse],X=()=>{let e=m;if(e)return fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(f=>{H(f,n[f])})}).catch(n=>{console.log(n)})};Object.keys(j).forEach(e=>{H(e,j[e])});const Q=()=>{ye(d)},$=()=>{let e=document.createElement("style");e.innerHTML=l,_.appendChild(e)},ee=()=>{let e=new URL(h),n=document.createElement("style");fetch(e.href).then(f=>f.text()).then(f=>{n.innerHTML=f,setTimeout(()=>{_.appendChild(n)},1)})},I=()=>{o(18,C=te());const e=new URL(`${u}/v1/player/${k}/verification/GetKYCCustomerStatus?language=${d}`),n=new Headers;n.append("accept","application/json"),n.append("Content-Type","application/json"),n.append("x-sessionid",`${w}`),n.append("X-Client-Request-Timestamp",S.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const f={method:"POST",headers:n,body:JSON.stringify({})};fetch(e,f).then(p=>p.json()).then(p=>{D=re(p.Verifications),D.VerificationStatuses.forEach(y=>{y.VerificationUrlType!=="Widget"&&x.add(y.Vendor)}),o(4,O=R())})},ie=()=>{c&&I()},te=()=>{let e=(s||c).split(".")[1];if(e){let n=JSON.parse(atob(e));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},re=e=>{var f;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const n=ne(e);if(n&&n.length){const p=oe(n);return{VerificationSummaryStatus:p.Status,VerificationUrl:(f=p.Flags)==null?void 0:f.DeferredUrlKey,VerificationStatuses:E(n,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:E(e,[g.Failed])}},oe=e=>e.reduce((n,f)=>n?new Date(n)<new Date(f)?f:n:f,0),E=(e,n)=>e.filter(f=>n.includes(f.Status)).map(f=>{var p,y;return{Type:f.Type,Vendor:f.VendorName,VerificationDocuments:f.Documents?[...f.Documents]:[],VerificationUrlType:(p=f.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=f.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(n=>J.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||se(n)||ae(n):!1),se=e=>{const n=e.Documents&&e.VendorName===V.Manual,f=e.Documents&&e.Documents.some(p=>p.Status===L.Requested);return n&&f},ae=e=>e.VendorName===V.ShuftiPro&&e.Status===g.Referred,R=()=>{switch(D.VerificationSummaryStatus){case g.InProgress:const e=[];return x.forEach(n=>{e.push(le(n))}),e;case g.Referred:return[a("verification.idenfy.referred-awaiting")];case g.Failed:return[a("verification.message.failed")]}},le=e=>{const n=D.VerificationStatuses.filter(f=>f.Vendor===e);if(e===V.ShuftiPro)return ce(n);{const f=a("verification.idenfy.link-name"),p={link:`<a href="${n[0].VerificationUrl}" target="_blank">${f}</a>`};return a("verification.idenfy.in-progress",{values:p})}},ce=e=>{const n=[],f={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(P=>{p.includes(P.Type)&&(n.push(P.Type),f[P.Type]=fe(P,de(P.Type)))});let y=n.every(P=>F.has(P)),we=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return y?a("verification.shuftipro.validations-started"):a(we,{values:f})},fe=(e,n)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`,de=e=>a(`verification.shuftipro.link-name.${e}`),q=(e,n)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const f=e.target.className.split(" ")[1];F.add(f),o(4,O=R())}return}n===0&&o(5,T=!T)},ue=()=>{o(6,z=v==="false")},he=()=>{o(8,B=C+"/"+d+"/"+Pe);try{fetch(B,{method:"HEAD"}).then(e=>{o(7,M=e.ok)})}catch(e){o(7,M=!1)}},U=()=>{window.postMessage({type:"ShowCashierVideoModal"},window.location.href)},me=(e,n)=>q(n,e),pe=(e,n)=>q(n,e),ge=()=>U();function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{_=e,o(3,_)})}return r.$$set=e=>{"endpoint"in e&&o(12,u=e.endpoint),"lang"in e&&o(13,d=e.lang),"translationurl"in e&&o(14,m=e.translationurl),"clientstyling"in e&&o(0,l=e.clientstyling),"clientstylingurl"in e&&o(1,h=e.clientstylingurl),"session"in e&&o(15,s=e.session),"customerid"in e&&o(16,k=e.customerid),"ismobileview"in e&&o(2,v=e.ismobileview),"playersession"in e&&o(17,w=e.playersession)},r.$$.update=()=>{r.$$.dirty[0]&8192&&d&&Q(),r.$$.dirty[0]&167936&&u&&s&&w&&I(),r.$$.dirty[0]&167936&&u&&!s&&w&&ie(),r.$$.dirty[0]&16384&&m&&X(),r.$$.dirty[0]&9&&l&&_&&$(),r.$$.dirty[0]&10&&h&&_&&ee(),r.$$.dirty[0]&4&&v&&ue(),r.$$.dirty[0]&262144&&C&&he()},[l,h,v,_,O,T,z,M,B,a,q,U,u,d,m,s,k,w,C,me,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init(this,t,Ve,_e,i.safe_not_equal,{endpoint:12,lang:13,translationurl:14,clientstyling:0,clientstylingurl:1,session:15,customerid:16,ismobileview:2,playersession:17},ke,[-1,-1])}get endpoint(){return this.$$.ctx[12]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[15]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[16]}set customerid(t){this.$$set({customerid:t}),i.flush()}get ismobileview(){return this.$$.ctx[2]}set ismobileview(t){this.$$set({ismobileview:t}),i.flush()}get playersession(){return this.$$.ctx[17]}set playersession(t){this.$$set({playersession:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},ismobileview:{},playersession:{}},[],[],!0);exports.default=Z;
@@ -1,10 +1,10 @@
1
- import { S as Oe, b as Te, s as Be, f as k, c as Me, n as J, e as C, J as T, m as S, p as w, v as P, w as Z, K as X, L as Le, D, q as O, A as xe, o as V, B as U, y as qe, z as Fe, E as ze } from "./CashierConfirmModal-4RYp7Eiq.js";
2
- import { a as Ie, i as Ee, $ as Re, b as Ue } from "./CashierError-DUzkCsXh.js";
3
- import { d as Q, u as He, x as Ne } from "./CashierMethodDetails-CCXOr2gb.js";
1
+ import { S as Oe, b as Te, f as k, c as Me, a as Be, d as Le, g as w, j as P, I as T, k as C, n as Z, v as S, w as J, K as X, h as O, E as D, M as xe, l as V, A as U, y as qe, z as Fe, C as ze } from "./CashierConfirmModal-DSousiGi.js";
2
+ import { a as Ie, i as Ee, $ as Re, b as Ue } from "./CashierError-CDMTA5XZ.js";
3
+ import { d as Q, u as He, x as je } from "./CashierMethodDetails-C2_u6BK8.js";
4
4
  function $(t, i) {
5
5
  Ie(t, i);
6
6
  }
7
- function je(t) {
7
+ function Ne(t) {
8
8
  Ee({
9
9
  fallbackLocale: "en"
10
10
  }), Re.set(t);
@@ -77,12 +77,12 @@ if (typeof window != "undefined") {
77
77
  }
78
78
  };
79
79
  };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-DHNu0BQz.js").then(({ default: i }) => {
80
+ customElements.define = t(customElements.define), import("./CashierVideoModal-BOcjBUjZ.js").then(({ default: i }) => {
81
81
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
82
82
  });
83
83
  }
84
84
  function We(t) {
85
- Me(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
85
+ Le(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
86
86
  }
87
87
  function ie(t, i, r) {
88
88
  const n = t.slice();
@@ -127,10 +127,10 @@ function te(t) {
127
127
  );
128
128
  },
129
129
  m(a, u) {
130
- S(a, i, u);
130
+ C(a, i, u);
131
131
  for (let s = 0; s < f.length; s += 1)
132
132
  f[s] && f[s].m(i, null);
133
- S(a, r, u), h && h.m(a, u), S(a, n, u), S(a, l, u);
133
+ C(a, r, u), h && h.m(a, u), C(a, n, u), C(a, l, u);
134
134
  },
135
135
  p(a, u) {
136
136
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -176,7 +176,7 @@ function te(t) {
176
176
  );
177
177
  },
178
178
  d(a) {
179
- a && (C(i), C(r), C(n), C(l)), Le(f, a), h && h.d(a);
179
+ a && (S(i), S(r), S(n), S(l)), xe(f, a), h && h.d(a);
180
180
  }
181
181
  };
182
182
  }
@@ -197,13 +197,13 @@ function re(t) {
197
197
  i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', P(i, "class", "CashierVerificationChevron");
198
198
  },
199
199
  m(d, f) {
200
- S(d, i, f), r || (n = U(i, "click", l), r = !0);
200
+ C(d, i, f), r || (n = U(i, "click", l), r = !0);
201
201
  },
202
202
  p(d, f) {
203
203
  t = d;
204
204
  },
205
205
  d(d) {
206
- d && C(i), r = !1, n();
206
+ d && S(i), r = !1, n();
207
207
  }
208
208
  };
209
209
  }
@@ -236,7 +236,7 @@ function oe(t) {
236
236
  );
237
237
  },
238
238
  m(g, v) {
239
- S(g, i, v), V(i, r), V(i, n), V(i, l), l.innerHTML = d, V(i, f), s && s.m(i, null), V(i, h), a || (u = U(i, "click", b), a = !0);
239
+ C(g, i, v), V(i, r), V(i, n), V(i, l), l.innerHTML = d, V(i, f), s && s.m(i, null), V(i, h), a || (u = U(i, "click", b), a = !0);
240
240
  },
241
241
  p(g, v) {
242
242
  t = g, v[0] & /*displayMessages*/
@@ -252,7 +252,7 @@ function oe(t) {
252
252
  );
253
253
  },
254
254
  d(g) {
255
- g && C(i), s && s.d(), a = !1, u();
255
+ g && S(i), s && s.d(), a = !1, u();
256
256
  }
257
257
  };
258
258
  }
@@ -263,7 +263,7 @@ function se(t) {
263
263
  ), f, h, a;
264
264
  return {
265
265
  c() {
266
- i = w("div"), r = w("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', n = O(), l = w("div"), f = Fe(d), P(r, "class", "IconVideo"), P(l, "class", "CashierVerificationVideoLink"), T(
266
+ i = w("div"), r = w("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', n = O(), l = w("div"), f = qe(d), P(r, "class", "IconVideo"), P(l, "class", "CashierVerificationVideoLink"), T(
267
267
  l,
268
268
  "CashierVerificationVideoLinkDesktop",
269
269
  /*desktopView*/
@@ -271,7 +271,7 @@ function se(t) {
271
271
  ), P(i, "class", "CashierVerificationVideo");
272
272
  },
273
273
  m(u, s) {
274
- S(u, i, s), V(i, r), V(i, n), V(i, l), V(l, f), h || (a = U(
274
+ C(u, i, s), V(i, r), V(i, n), V(i, l), V(l, f), h || (a = U(
275
275
  l,
276
276
  "click",
277
277
  /*click_handler_2*/
@@ -281,7 +281,7 @@ function se(t) {
281
281
  p(u, s) {
282
282
  s[0] & /*$_*/
283
283
  512 && d !== (d = /*$_*/
284
- u[9]("verification.video.how-to") + "") && qe(f, d), s[0] & /*desktopView*/
284
+ u[9]("verification.video.how-to") + "") && Fe(f, d), s[0] & /*desktopView*/
285
285
  64 && T(
286
286
  l,
287
287
  "CashierVerificationVideoLinkDesktop",
@@ -290,7 +290,7 @@ function se(t) {
290
290
  );
291
291
  },
292
292
  d(u) {
293
- u && C(i), h = !1, a();
293
+ u && S(i), h = !1, a();
294
294
  }
295
295
  };
296
296
  }
@@ -309,7 +309,7 @@ function Ke(t) {
309
309
  );
310
310
  },
311
311
  m(n, l) {
312
- S(n, i, l), r && r.m(i, null), t[22](i);
312
+ C(n, i, l), r && r.m(i, null), t[22](i);
313
313
  },
314
314
  p(n, l) {
315
315
  /*displayMessages*/
@@ -321,22 +321,22 @@ function Ke(t) {
321
321
  n[6]
322
322
  );
323
323
  },
324
- i: J,
325
- o: J,
324
+ i: Z,
325
+ o: Z,
326
326
  d(n) {
327
- n && C(i), r && r.d(), t[22](null);
327
+ n && S(i), r && r.d(), t[22](null);
328
328
  }
329
329
  };
330
330
  }
331
331
  const Ye = "verification_explanation_video_widgets.MP4";
332
332
  function Ge(t, i, r) {
333
333
  let n, l;
334
- Z(t, Ue, (e) => r(9, n = e)), Z(t, Ne, (e) => r(28, l = e)), Q.extend(He);
335
- let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: b = "" } = i, { ismobileview: g = "" } = i, { playersession: v = "" } = i, _, H = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set(), L, x, q, F = !0, j = !0, z = !1, I = "";
336
- var B;
334
+ J(t, Ue, (e) => r(9, n = e)), J(t, je, (e) => r(28, l = e)), Q.extend(He);
335
+ let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: b = "" } = i, { ismobileview: g = "" } = i, { playersession: v = "" } = i, _, H = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), L, x, q, F = !0, N = !0, z = !1, I = "";
336
+ var M;
337
337
  (function(e) {
338
338
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
339
- })(B || (B = {}));
339
+ })(M || (M = {}));
340
340
  var E;
341
341
  (function(e) {
342
342
  e.Requested = "Requested";
@@ -345,10 +345,10 @@ function Ge(t, i, r) {
345
345
  (function(e) {
346
346
  e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
347
347
  })(p || (p = {}));
348
- var M;
348
+ var B;
349
349
  (function(e) {
350
350
  e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
351
- })(M || (M = {}));
351
+ })(B || (B = {}));
352
352
  const ne = [
353
353
  p.InProgress,
354
354
  p.Referred,
@@ -368,7 +368,7 @@ function Ge(t, i, r) {
368
368
  $(e, ee[e]);
369
369
  });
370
370
  const le = () => {
371
- je(f);
371
+ Ne(f);
372
372
  }, ce = () => {
373
373
  let e = document.createElement("style");
374
374
  e.innerHTML = a, _.appendChild(e);
@@ -438,9 +438,9 @@ function Ge(t, i, r) {
438
438
  VerificationUrl: (y = c.FlowInfo) == null ? void 0 : y.Url
439
439
  };
440
440
  }), pe = (e) => e.filter((o) => ne.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || ge(o) || ve(o) : !1), ge = (e) => {
441
- const o = e.Documents && e.VendorName === B.Manual, c = e.Documents && e.Documents.some((m) => m.Status === E.Requested);
441
+ const o = e.Documents && e.VendorName === M.Manual, c = e.Documents && e.Documents.some((m) => m.Status === E.Requested);
442
442
  return o && c;
443
- }, ve = (e) => e.VendorName === B.ShuftiPro && e.Status === p.Referred, Y = () => {
443
+ }, ve = (e) => e.VendorName === M.ShuftiPro && e.Status === p.Referred, Y = () => {
444
444
  switch (L.VerificationSummaryStatus) {
445
445
  case p.InProgress:
446
446
  const e = [];
@@ -454,7 +454,7 @@ function Ge(t, i, r) {
454
454
  }
455
455
  }, we = (e) => {
456
456
  const o = L.VerificationStatuses.filter((c) => c.Vendor === e);
457
- if (e === B.ShuftiPro)
457
+ if (e === M.ShuftiPro)
458
458
  return ye(o);
459
459
  {
460
460
  const c = n("verification.idenfy.link-name"), m = {
@@ -464,26 +464,26 @@ function Ge(t, i, r) {
464
464
  }
465
465
  }, ye = (e) => {
466
466
  const o = [], c = {}, m = [
467
- M.Biometric,
468
- M.Documents,
469
- M.ProofOfAddress
467
+ B.Biometric,
468
+ B.Documents,
469
+ B.ProofOfAddress
470
470
  ];
471
471
  e.forEach((A) => {
472
472
  m.includes(A.Type) && (o.push(A.Type), c[A.Type] = ke(A, Ve(A.Type)));
473
473
  });
474
- let y = o.every((A) => N.has(A)), Ae = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
474
+ let y = o.every((A) => j.has(A)), Ae = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
475
475
  return y ? n("verification.shuftipro.validations-started") : n(Ae, { values: c });
476
476
  }, ke = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Ve = (e) => n(`verification.shuftipro.link-name.${e}`), R = (e, o) => {
477
477
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
478
478
  if (e.target.closest(".verificationLink")) {
479
479
  const c = e.target.className.split(" ")[1];
480
- N.add(c), r(4, q = Y());
480
+ j.add(c), r(4, q = Y());
481
481
  }
482
482
  return;
483
483
  }
484
484
  o === 0 && r(5, F = !F);
485
485
  }, Pe = () => {
486
- r(6, j = g === "false");
486
+ r(6, N = g === "false");
487
487
  }, be = () => {
488
488
  r(8, I = x + "/" + f + "/" + Ye);
489
489
  try {
@@ -497,7 +497,7 @@ function Ge(t, i, r) {
497
497
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
498
498
  }, De = (e, o) => R(o, e), Ce = (e, o) => R(o, e), Se = () => G();
499
499
  function _e(e) {
500
- xe[e ? "unshift" : "push"](() => {
500
+ ze[e ? "unshift" : "push"](() => {
501
501
  _ = e, r(3, _);
502
502
  });
503
503
  }
@@ -520,7 +520,7 @@ function Ge(t, i, r) {
520
520
  _,
521
521
  q,
522
522
  F,
523
- j,
523
+ N,
524
524
  z,
525
525
  I,
526
526
  n,
@@ -539,7 +539,7 @@ function Ge(t, i, r) {
539
539
  _e
540
540
  ];
541
541
  }
542
- class Je extends Oe {
542
+ class Ze extends Oe {
543
543
  constructor(i) {
544
544
  super(), Te(
545
545
  this,
@@ -617,7 +617,7 @@ class Je extends Oe {
617
617
  this.$$set({ playersession: i }), k();
618
618
  }
619
619
  }
620
- ze(Je, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
620
+ Me(Ze, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
621
621
  export {
622
- Je as default
622
+ Ze as default
623
623
  };