@everymatrix/cashier-page 1.74.6 → 1.74.8
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.
- package/components/{CashierConfirmModal-D6-yvknK.js → CashierConfirmModal-Dx60VYf6.js} +76 -76
- package/components/{CashierConfirmModal-C5Z0fFCo.cjs → CashierConfirmModal-irSMDzV_.cjs} +2 -2
- package/components/{CashierConfirmModal-DluW6utN.js → CashierConfirmModal-rwhmlwC5.js} +183 -183
- package/components/{CashierError-B_HILIqI.js → CashierError-BIqFaX3H.js} +1 -1
- package/components/{CashierError-CQ8ceQ8e.js → CashierError-BWuNinWy.js} +1 -1
- package/components/{CashierError-DZ5vqVXV.cjs → CashierError-CORG04aE.cjs} +1 -1
- package/components/{CashierHeader-CNyLXgin.js → CashierHeader-CXaZ-6Ua.js} +2 -2
- package/components/{CashierHeader-DW3Xs1f3.js → CashierHeader-Ca2cghIW.js} +2 -2
- package/components/{CashierHeader-Cjxrbu0V.cjs → CashierHeader-Dl6r6hK0.cjs} +1 -1
- package/components/{CashierIframeRedirect-IwNw_njq.js → CashierIframeRedirect-7GBPLJHr.js} +4 -4
- package/components/{CashierIframeRedirect-DU1GgNLD.cjs → CashierIframeRedirect-BjLvrvKL.cjs} +1 -1
- package/components/{CashierIframeRedirect-D81gVeBk.js → CashierIframeRedirect-ChyzshIQ.js} +4 -4
- package/components/{CashierMethodDetails-CfpOwAD9.js → CashierMethodDetails-BuRbRo-R.js} +1283 -1260
- package/components/{CashierMethodDetails-BI-MRKy-.js → CashierMethodDetails-CEFupmfP.js} +1173 -1150
- package/components/CashierMethodDetails-DxYPk7Br.cjs +86 -0
- package/components/{CashierMethodsList-CsOA_enM.cjs → CashierMethodsList-BI_GHUxf.cjs} +1 -1
- package/components/{CashierMethodsList-PU5P66EA.js → CashierMethodsList-BqmFmDOC.js} +3 -3
- package/components/{CashierMethodsList-CqVd20oA.js → CashierMethodsList-CB_m5hK-.js} +3 -3
- package/components/CashierModal-Bh6E-PDS.js +229 -0
- package/components/CashierModal-BwVWBmwZ.cjs +1 -0
- package/components/CashierModal-CTayVmDw.js +229 -0
- package/components/{CashierNotifications-CkXKlPIz.js → CashierNotifications-77FpsD4N.js} +1 -1
- package/components/{CashierNotifications-a3GpFzzw.js → CashierNotifications-CM4Cti_x.js} +1 -1
- package/components/{CashierNotifications-JBaW5ppf.cjs → CashierNotifications-YOOhP2yz.cjs} +1 -1
- package/components/{CashierPage-oKC2gyuD.js → CashierPage-B90j2bUX.js} +1133 -1124
- package/components/CashierPage-Bi90dl_Y.cjs +1 -0
- package/components/{CashierPage-CmBa1fJm.js → CashierPage-Dq-XwH-T.js} +1133 -1124
- package/components/{CashierReceiptPage-CZHo7bk4.js → CashierReceiptPage-BsBy8_a9.js} +213 -197
- package/components/{CashierReceiptPage-D1aUxYNu.cjs → CashierReceiptPage-C-5P1j5e.cjs} +1 -1
- package/components/{CashierReceiptPage-DKAwy-XO.js → CashierReceiptPage-TGTe-vYp.js} +211 -195
- package/components/{CashierSessionExpirationModal-B1ynET49.js → CashierSessionExpirationModal-Bwks132l.js} +46 -46
- package/components/{CashierSessionExpirationModal-CswZVz0A.js → CashierSessionExpirationModal-D7u1LLSa.js} +46 -46
- package/components/{CashierSessionExpirationModal-DztF8_bN.cjs → CashierSessionExpirationModal-lqr-I0nF.cjs} +2 -2
- package/components/{CashierSpinner-C0dfKfvc.cjs → CashierSpinner-BhE9RAhI.cjs} +1 -1
- package/components/{CashierSpinner-Pf85g3j2.js → CashierSpinner-C6RPqoHx.js} +1 -1
- package/components/{CashierSpinner-nZ-w8uRg.js → CashierSpinner-sEBjrLfs.js} +1 -1
- package/components/CashierTransactionHistory-BSO5XGtr.cjs +1 -0
- package/components/CashierTransactionHistory-CkMKi6Fz.js +1306 -0
- package/components/CashierTransactionHistory-DiONlMGi.js +1306 -0
- package/components/{CashierVerifications-DmMaSPNE.js → CashierVerifications-B63zidU5.js} +281 -351
- package/components/{CashierVerifications-CEYgwiGj.js → CashierVerifications-DkUcWYyo.js} +286 -356
- package/components/CashierVerifications-J6r2bd7v.cjs +1 -0
- package/components/{TxnStatusIcon-DIdoWxaS.js → TxnStatusIcon-Bqtf3sG3.js} +1 -1
- package/components/{TxnStatusIcon-Bk0oBxLN.cjs → TxnStatusIcon-C9hNDByt.cjs} +1 -1
- package/components/{TxnStatusIcon-DN0llRTe.js → TxnStatusIcon-fiVxFVX_.js} +1 -1
- package/components/{TxnTypeIcons-BPVFmF5k.js → TxnTypeIcons-CA9VDuG4.js} +1 -1
- package/components/{TxnTypeIcons-CVoF9ajj.cjs → TxnTypeIcons-D6ZYjaVc.cjs} +1 -1
- package/components/{TxnTypeIcons-BuQgMseI.js → TxnTypeIcons-DMjccElF.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierMethodDetails-CijnX6lX.cjs +0 -86
- package/components/CashierModal-B4of2Oxh.js +0 -228
- package/components/CashierModal-CvWSs-3j.js +0 -228
- package/components/CashierModal-DSuBZJDR.cjs +0 -1
- package/components/CashierPage-BRFjfzR5.cjs +0 -1
- package/components/CashierTransactionHistory-BcgsMpUM.js +0 -1303
- package/components/CashierTransactionHistory-CLxBvVPx.cjs +0 -1
- package/components/CashierTransactionHistory-DSCunt4_.js +0 -1303
- package/components/CashierVerifications-CaQ-G815.cjs +0 -1
- package/components/CashierVideoModal-BAMzRbW4.js +0 -198
- package/components/CashierVideoModal-CqlPtM2X.js +0 -198
- package/components/CashierVideoModal-z4snZUdS.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierConfirmModal-C5Z0fFCo.cjs"),T=require("./CashierError-DZ5vqVXV.cjs"),O=require("./CashierMethodDetails-CijnX6lX.cjs");function W(r,t){T.addMessages(r,t)}function ye(r){T.init({fallbackLocale:"en"}),T.$locale.set(r)}const Y={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-z4snZUdS.cjs")).then(({default:t})=>{!customElements.get("cashier-video-modal")&&customElements.define("cashier-video-modal",t.element)})}function ke(r){i.append_styles(r,"svelte-3ui5us","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;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 K(r,t,o){const a=r.slice();return a[54]=t[o],a[56]=o,a}function _e(r){let t,o,a,s,c=i.ensure_array_like(r[4]),d=[];for(let f=0;f<c.length;f+=1)d[f]=Z(K(r,c,f));let m=r[7]&&J(r);return{c(){t=i.element("div");for(let f=0;f<d.length;f+=1)d[f].c();o=i.space(),m&&m.c(),a=i.space(),s=i.element("cashier-video-modal"),i.attr(t,"class","CashierVerificationsWrapper"),i.set_custom_element_data(s,"clientstylingurl",r[1]),i.set_custom_element_data(s,"clientstyling",r[0]),i.set_custom_element_data(s,"ismobileview",r[2]),i.set_custom_element_data(s,"videosrc",r[8])},m(f,h){i.insert(f,t,h);for(let l=0;l<d.length;l+=1)d[l]&&d[l].m(t,null);i.insert(f,o,h),m&&m.m(f,h),i.insert(f,a,h),i.insert(f,s,h)},p(f,h){if(h[0]&2096){c=i.ensure_array_like(f[4]);let l;for(l=0;l<c.length;l+=1){const y=K(f,c,l);d[l]?d[l].p(y,h):(d[l]=Z(y),d[l].c(),d[l].m(t,null))}for(;l<d.length;l+=1)d[l].d(1);d.length=c.length}f[7]?m?m.p(f,h):(m=J(f),m.c(),m.m(a.parentNode,a)):m&&(m.d(1),m=null),h[0]&2&&i.set_custom_element_data(s,"clientstylingurl",f[1]),h[0]&1&&i.set_custom_element_data(s,"clientstyling",f[0]),h[0]&4&&i.set_custom_element_data(s,"ismobileview",f[2]),h[0]&256&&i.set_custom_element_data(s,"videosrc",f[8])},d(f){f&&(i.detach(t),i.detach(o),i.detach(a),i.detach(s)),i.destroy_each(d,f),m&&m.d(f)}}}function be(r){let t;return{c(){t=i.element("cashier-spinner"),i.set_custom_element_data(t,"clientstylingurl",r[1]),i.set_custom_element_data(t,"clientstyling",r[0])},m(o,a){i.insert(o,t,a)},p(o,a){a[0]&2&&i.set_custom_element_data(t,"clientstylingurl",o[1]),a[0]&1&&i.set_custom_element_data(t,"clientstyling",o[0])},d(o){o&&i.detach(t)}}}function G(r){let t,o,a;function s(...c){return r[21](r[56],...c)}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(c,d){i.insert(c,t,d),o||(a=i.listen(t,"click",s),o=!0)},p(c,d){r=c},d(c){c&&i.detach(t),o=!1,a()}}}function Z(r){let t,o,a,s,c=r[54]+"",d,m,f,h,l=r[4].length>1&&r[56]===0&&G(r);function y(...v){return r[22](r[56],...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(),s=i.element("p"),d=i.space(),l&&l.c(),m=i.space(),i.attr(o,"class","IconVerification"),i.attr(s,"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,s),s.innerHTML=c,i.append(t,d),l&&l.m(t,null),i.append(t,m),f||(h=i.listen(t,"click",y),f=!0)},p(v,w){r=v,w[0]&16&&c!==(c=r[54]+"")&&(s.innerHTML=c),r[4].length>1&&r[56]===0?l?l.p(r,w):(l=G(r),l.c(),l.m(t,m)):l&&(l.d(1),l=null),w[0]&32&&i.toggle_class(t,"ShowAll",r[5])},d(v){v&&i.detach(t),l&&l.d(),f=!1,h()}}}function J(r){let t,o,a,s,c=r[10]("verification.video.how-to")+"",d,m,f;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(),s=i.element("div"),d=i.text(c),i.attr(o,"class","IconVideo"),i.attr(s,"class","CashierVerificationVideoLink"),i.toggle_class(s,"CashierVerificationVideoLinkDesktop",r[6]),i.attr(t,"class","CashierVerificationVideo")},m(h,l){i.insert(h,t,l),i.append(t,o),i.append(t,a),i.append(t,s),i.append(s,d),m||(f=i.listen(s,"click",r[23]),m=!0)},p(h,l){l[0]&1024&&c!==(c=h[10]("verification.video.how-to")+"")&&i.set_data(d,c),l[0]&64&&i.toggle_class(s,"CashierVerificationVideoLinkDesktop",h[6])},d(h){h&&i.detach(t),m=!1,f()}}}function Ve(r){let t;function o(c,d){if(c[9])return be;if(c[4])return _e}let a=o(r),s=a&&a(r);return{c(){t=i.element("div"),s&&s.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[6])},m(c,d){i.insert(c,t,d),s&&s.m(t,null),r[24](t)},p(c,d){a===(a=o(c))&&s?s.p(c,d):(s&&s.d(1),s=a&&a(c),s&&(s.c(),s.m(t,null))),d[0]&64&&i.toggle_class(t,"CashierVerificationsDesktop",c[6])},i:i.noop,o:i.noop,d(c){c&&i.detach(t),s&&s.d(),r[24](null)}}}const Pe="verification_explanation_video_widgets.MP4";function De(r,t,o){let a,s;i.component_subscribe(r,T.$format,e=>o(10,a=e)),i.component_subscribe(r,O.xPaymentSessionToken,e=>o(30,s=e)),O.dayjs.extend(O.utc);let{endpoint:c}=t,{lang:d="en"}=t,{translationurl:m=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{session:l=""}=t,{customerid:y=""}=t,{ismobileview:v=""}=t,{playersession:w=""}=t,{mbsource:D=""}=t,_,I=new Set,E=new Set,S,C,M,B=!0,R=!0,q=!1,L="",F=!1;var V;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(V||(V={}));var x;(function(e){e.Requested="Requested"})(x||(x={}));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 P;(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"})(P||(P={})),i.onMount(()=>()=>{});const Q=[g.InProgress,g.Referred,g.AwaitingForResponse],$=()=>{let e=m;if(e)return fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(u=>{W(u,n[u])})}).catch(n=>{console.log(n)})};Object.keys(Y).forEach(e=>{W(e,Y[e])});const ee=()=>{ye(d)},U=()=>{o(20,C=re());const e=new URL(`${c}/v1/player/${y}/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",O.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const u={method:"POST",headers:n,body:JSON.stringify({})};o(9,F=!0),fetch(e,u).then(p=>p.json()).then(p=>{const k=ie(p==null?void 0:p.Verifications);S=oe(k),S.VerificationStatuses.forEach(A=>{A.VerificationUrlType!=="Widget"&&I.add(A.Vendor)}),o(4,M=H())}).finally(()=>o(9,F=!1))},ie=e=>e?e.sort((n,u)=>new Date(u.Created).getTime()-new Date(n.Created).getTime()):[],te=()=>{s&&U()},re=()=>{let e=(l||s).split(".")[1];if(e){let n=JSON.parse(atob(e));return n.cdn+"/cashier/operator-assets/"+(n==null?void 0:n.mid)}return""},oe=e=>{var u;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const n=se(e);if(n&&n.length){const p=ne(n);return{VerificationSummaryStatus:p.Status,VerificationUrl:(u=p.Flags)==null?void 0:u.DeferredUrlKey,VerificationStatuses:j(n,p.Status)}}else return{VerificationSummaryStatus:e.some(k=>k.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:j(e,[g.Failed])}},ne=e=>e.reduce((n,u)=>n?new Date(n)<new Date(u)?u:n:u,0),j=(e,n)=>e.filter(u=>n.includes(u.Status)).map(u=>{var p,k;return{Type:u.Type,Vendor:u.VendorName,VerificationDocuments:u.Documents?[...u.Documents]:[],VerificationUrlType:(p=u.FlowInfo)==null?void 0:p.Type,VerificationUrl:(k=u.FlowInfo)==null?void 0:k.Url}}),se=e=>e.filter(n=>Q.includes(n.Status)?n.FlowInfo&&n.FlowInfo.Url||ae(n)||le(n):!1),ae=e=>{const n=e.Documents&&e.VendorName===V.Manual,u=e.Documents&&e.Documents.some(p=>p.Status===x.Requested);return n&&u},le=e=>e.VendorName===V.ShuftiPro&&e.Status===g.Referred,H=()=>{switch(S.VerificationSummaryStatus){case g.InProgress:const e=[];return I.forEach(n=>{e.push(ce(n))}),e;case g.Referred:return[a("verification.idenfy.referred-awaiting")];case g.Failed:return[a("verification.message.failed")]}},ce=e=>{const n=S.VerificationStatuses.filter(u=>u.Vendor===e);if(e===V.ShuftiPro)return fe(n);{const u=a("verification.idenfy.link-name"),p={link:`<a href="${n[0].VerificationUrl}" target="_blank">${u}</a>`};return a("verification.idenfy.in-progress",{values:p})}},fe=e=>{const n=[],u={},p=[P.Biometric,P.Documents,P.ProofOfAddress];e.forEach(b=>{p.includes(b.Type)&&(n.push(b.Type),u[b.Type]=de(b,ue(b.Type)))});let k=n.every(b=>E.has(b)),A=`verification.shuftipro.in-progress.${n.sort().join(".")}`;return k?a("verification.shuftipro.validations-started"):a(A,{values:u})},de=(e,n)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`,ue=e=>a(`verification.shuftipro.link-name.${e}`),z=(e,n)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const u=e.target.className.split(" ")[1];E.add(u),o(4,M=H())}return}n===0&&o(5,B=!B)},me=()=>{o(6,R=v==="false")},he=()=>{o(8,L=C+"/"+d+"/"+Pe);try{fetch(L,{method:"HEAD"}).then(e=>{o(7,q=e.ok)})}catch(e){o(7,q=!1)}},N=()=>{window.postMessage({type:"ShowCashierVideoModal"},window.location.href)},pe=(e,n)=>z(n,e),ge=(e,n)=>z(n,e),ve=()=>N();function we(e){i.binding_callbacks[e?"unshift":"push"](()=>{_=e,o(3,_)})}return r.$$set=e=>{"endpoint"in e&&o(13,c=e.endpoint),"lang"in e&&o(14,d=e.lang),"translationurl"in e&&o(15,m=e.translationurl),"clientstyling"in e&&o(0,f=e.clientstyling),"clientstylingurl"in e&&o(1,h=e.clientstylingurl),"session"in e&&o(16,l=e.session),"customerid"in e&&o(17,y=e.customerid),"ismobileview"in e&&o(2,v=e.ismobileview),"playersession"in e&&o(18,w=e.playersession),"mbsource"in e&&o(19,D=e.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&16384&&d&&ee(),r.$$.dirty[0]&335872&&c&&l&&w&&U(),r.$$.dirty[0]&335872&&c&&!l&&w&&te(),r.$$.dirty[0]&32768&&m&&$(),r.$$.dirty[0]&9&&f&&_&&i.setClientStyling(),r.$$.dirty[0]&10&&h&&_&&i.setClientStylingURL(),r.$$.dirty[0]&4&&v&&me(),r.$$.dirty[0]&1048576&&C&&he(),r.$$.dirty[0]&524296&&D&&_&&i.setStreamStyling(_,`${D}.Style`)},[f,h,v,_,M,B,R,q,L,F,a,z,N,c,d,m,l,y,w,D,C,pe,ge,ve,we]}class X extends i.SvelteComponent{constructor(t){super(),i.init(this,t,De,Ve,i.safe_not_equal,{endpoint:13,lang:14,translationurl:15,clientstyling:0,clientstylingurl:1,session:16,customerid:17,ismobileview:2,playersession:18,mbsource:19},ke,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[15]}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[16]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[17]}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[18]}set playersession(t){this.$$set({playersession:t}),i.flush()}get mbsource(){return this.$$.ctx[19]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(X,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},ismobileview:{},playersession:{},mbsource:{}},[],[],!0);exports.default=X;
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { S as j, b as q, f as m, c as B, a as R, d as Z, A as F, k as b, n as p, v as _, x as G, y as N, z as U, g as C, h as L, H as k, j as l, L as V, l as h, R as v, D as H, F as I, G as J } from "./CashierConfirmModal-D6-yvknK.js";
|
|
2
|
-
import { i as M } from "./CashierMethodDetails-BI-MRKy-.js";
|
|
3
|
-
function K(s) {
|
|
4
|
-
Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
5
|
-
}
|
|
6
|
-
function S(s) {
|
|
7
|
-
let e, i, t, n, o, u, g, r = !/*desktopView*/
|
|
8
|
-
s[2] && x(s), a = (
|
|
9
|
-
/*desktopView*/
|
|
10
|
-
s[2] && z(s)
|
|
11
|
-
);
|
|
12
|
-
return {
|
|
13
|
-
c() {
|
|
14
|
-
e = C("div"), r && r.c(), i = L(), t = C("div"), a && a.c(), n = L(), o = C("video"), u = C("source"), k(u.src, g = /*videosrc*/
|
|
15
|
-
s[0]) || l(u, "src", g), o.autoplay = !0, o.controls = !0, l(o, "controlslist", "nodownload"), l(o, "disablepictureinpicture", ""), l(t, "class", "CashierVideo"), l(e, "class", "CashierVideoWrapper"), V(
|
|
16
|
-
e,
|
|
17
|
-
"CashierVideoWrapperDesktop",
|
|
18
|
-
/*desktopView*/
|
|
19
|
-
s[2]
|
|
20
|
-
);
|
|
21
|
-
},
|
|
22
|
-
m(c, d) {
|
|
23
|
-
b(c, e, d), r && r.m(e, null), h(e, i), h(e, t), a && a.m(t, null), h(t, n), h(t, o), h(o, u), s[11](e);
|
|
24
|
-
},
|
|
25
|
-
p(c, d) {
|
|
26
|
-
/*desktopView*/
|
|
27
|
-
c[2] ? r && (r.d(1), r = null) : r ? r.p(c, d) : (r = x(c), r.c(), r.m(e, i)), /*desktopView*/
|
|
28
|
-
c[2] ? a ? a.p(c, d) : (a = z(c), a.c(), a.m(t, n)) : a && (a.d(1), a = null), d & /*videosrc*/
|
|
29
|
-
1 && !k(u.src, g = /*videosrc*/
|
|
30
|
-
c[0]) && l(u, "src", g), d & /*desktopView*/
|
|
31
|
-
4 && V(
|
|
32
|
-
e,
|
|
33
|
-
"CashierVideoWrapperDesktop",
|
|
34
|
-
/*desktopView*/
|
|
35
|
-
c[2]
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
d(c) {
|
|
39
|
-
c && _(e), r && r.d(), a && a.d(), s[11](null);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function x(s) {
|
|
44
|
-
let e, i, t, n, o;
|
|
45
|
-
return {
|
|
46
|
-
c() {
|
|
47
|
-
e = C("div"), i = v("svg"), t = v("path"), l(t, "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"), l(t, "fill", "#111111"), l(i, "xmlns", "http://www.w3.org/2000/svg"), l(i, "width", "13"), l(i, "height", "13"), l(i, "viewBox", "0 0 13 13"), l(i, "fill", "none"), l(e, "class", "CashierVideoHeader");
|
|
48
|
-
},
|
|
49
|
-
m(u, g) {
|
|
50
|
-
b(u, e, g), h(e, i), h(i, t), n || (o = H(
|
|
51
|
-
i,
|
|
52
|
-
"click",
|
|
53
|
-
/*click_handler*/
|
|
54
|
-
s[9]
|
|
55
|
-
), n = !0);
|
|
56
|
-
},
|
|
57
|
-
p,
|
|
58
|
-
d(u) {
|
|
59
|
-
u && _(e), n = !1, o();
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function z(s) {
|
|
64
|
-
let e, i, t, n;
|
|
65
|
-
return {
|
|
66
|
-
c() {
|
|
67
|
-
e = v("svg"), i = v("path"), l(i, "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"), l(i, "fill", "#111111"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(e, "width", "13"), l(e, "height", "13"), l(e, "viewBox", "0 0 13 13"), l(e, "fill", "none");
|
|
68
|
-
},
|
|
69
|
-
m(o, u) {
|
|
70
|
-
b(o, e, u), h(e, i), t || (n = H(
|
|
71
|
-
e,
|
|
72
|
-
"click",
|
|
73
|
-
/*click_handler_1*/
|
|
74
|
-
s[10]
|
|
75
|
-
), t = !0);
|
|
76
|
-
},
|
|
77
|
-
p,
|
|
78
|
-
d(o) {
|
|
79
|
-
o && _(e), t = !1, n();
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function O(s) {
|
|
84
|
-
let e, i = (
|
|
85
|
-
/*show*/
|
|
86
|
-
s[3] && S(s)
|
|
87
|
-
);
|
|
88
|
-
return {
|
|
89
|
-
c() {
|
|
90
|
-
i && i.c(), e = F();
|
|
91
|
-
},
|
|
92
|
-
m(t, n) {
|
|
93
|
-
i && i.m(t, n), b(t, e, n);
|
|
94
|
-
},
|
|
95
|
-
p(t, [n]) {
|
|
96
|
-
/*show*/
|
|
97
|
-
t[3] ? i ? i.p(t, n) : (i = S(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
98
|
-
},
|
|
99
|
-
i: p,
|
|
100
|
-
o: p,
|
|
101
|
-
d(t) {
|
|
102
|
-
t && _(e), i && i.d(t);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function P(s, e, i) {
|
|
107
|
-
let { clientstyling: t = "" } = e, { clientstylingurl: n = "" } = e, { ismobileview: o } = e, { videosrc: u } = e, { mbsource: g = "" } = e, r = window.navigator.userAgent, a = !0, c = !1, d;
|
|
108
|
-
const w = () => {
|
|
109
|
-
i(3, c = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
110
|
-
}, y = (f) => {
|
|
111
|
-
f.data.type == "ShowCashierVideoModal" && (i(3, c = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), f.data.type == "HideCashierVideoModal" && w();
|
|
112
|
-
}, D = () => {
|
|
113
|
-
i(2, a = !M(r));
|
|
114
|
-
};
|
|
115
|
-
G(() => (window.addEventListener("message", y, !1), () => {
|
|
116
|
-
window.removeEventListener("message", y);
|
|
117
|
-
}));
|
|
118
|
-
const W = () => w(), A = () => w();
|
|
119
|
-
function E(f) {
|
|
120
|
-
I[f ? "unshift" : "push"](() => {
|
|
121
|
-
d = f, i(1, d);
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
return s.$$set = (f) => {
|
|
125
|
-
"clientstyling" in f && i(5, t = f.clientstyling), "clientstylingurl" in f && i(6, n = f.clientstylingurl), "ismobileview" in f && i(7, o = f.ismobileview), "videosrc" in f && i(0, u = f.videosrc), "mbsource" in f && i(8, g = f.mbsource);
|
|
126
|
-
}, s.$$.update = () => {
|
|
127
|
-
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
128
|
-
34 && t && d && J(d, t), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
129
|
-
66 && n && d && N(d, n), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
130
|
-
258 && g && d && U(d, `${g}.Style`);
|
|
131
|
-
}, M(r) && D(), [
|
|
132
|
-
u,
|
|
133
|
-
d,
|
|
134
|
-
a,
|
|
135
|
-
c,
|
|
136
|
-
w,
|
|
137
|
-
t,
|
|
138
|
-
n,
|
|
139
|
-
o,
|
|
140
|
-
g,
|
|
141
|
-
W,
|
|
142
|
-
A,
|
|
143
|
-
E
|
|
144
|
-
];
|
|
145
|
-
}
|
|
146
|
-
class Q extends j {
|
|
147
|
-
constructor(e) {
|
|
148
|
-
super(), q(
|
|
149
|
-
this,
|
|
150
|
-
e,
|
|
151
|
-
P,
|
|
152
|
-
O,
|
|
153
|
-
R,
|
|
154
|
-
{
|
|
155
|
-
clientstyling: 5,
|
|
156
|
-
clientstylingurl: 6,
|
|
157
|
-
ismobileview: 7,
|
|
158
|
-
videosrc: 0,
|
|
159
|
-
mbsource: 8
|
|
160
|
-
},
|
|
161
|
-
K
|
|
162
|
-
);
|
|
163
|
-
}
|
|
164
|
-
get clientstyling() {
|
|
165
|
-
return this.$$.ctx[5];
|
|
166
|
-
}
|
|
167
|
-
set clientstyling(e) {
|
|
168
|
-
this.$$set({ clientstyling: e }), m();
|
|
169
|
-
}
|
|
170
|
-
get clientstylingurl() {
|
|
171
|
-
return this.$$.ctx[6];
|
|
172
|
-
}
|
|
173
|
-
set clientstylingurl(e) {
|
|
174
|
-
this.$$set({ clientstylingurl: e }), m();
|
|
175
|
-
}
|
|
176
|
-
get ismobileview() {
|
|
177
|
-
return this.$$.ctx[7];
|
|
178
|
-
}
|
|
179
|
-
set ismobileview(e) {
|
|
180
|
-
this.$$set({ ismobileview: e }), m();
|
|
181
|
-
}
|
|
182
|
-
get videosrc() {
|
|
183
|
-
return this.$$.ctx[0];
|
|
184
|
-
}
|
|
185
|
-
set videosrc(e) {
|
|
186
|
-
this.$$set({ videosrc: e }), m();
|
|
187
|
-
}
|
|
188
|
-
get mbsource() {
|
|
189
|
-
return this.$$.ctx[8];
|
|
190
|
-
}
|
|
191
|
-
set mbsource(e) {
|
|
192
|
-
this.$$set({ mbsource: e }), m();
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
B(Q, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
|
|
196
|
-
export {
|
|
197
|
-
Q as default
|
|
198
|
-
};
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { S as j, b as q, f as m, c as B, a as R, d as Z, A as F, k as b, n as p, v as _, x as G, y as N, z as U, g as C, h as L, H as k, j as l, L as V, l as h, R as v, D as H, F as I, G as J } from "./CashierConfirmModal-DluW6utN.js";
|
|
2
|
-
import { i as M } from "./CashierMethodDetails-CfpOwAD9.js";
|
|
3
|
-
function K(s) {
|
|
4
|
-
Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
5
|
-
}
|
|
6
|
-
function S(s) {
|
|
7
|
-
let e, i, t, n, o, u, g, r = !/*desktopView*/
|
|
8
|
-
s[2] && x(s), a = (
|
|
9
|
-
/*desktopView*/
|
|
10
|
-
s[2] && z(s)
|
|
11
|
-
);
|
|
12
|
-
return {
|
|
13
|
-
c() {
|
|
14
|
-
e = C("div"), r && r.c(), i = L(), t = C("div"), a && a.c(), n = L(), o = C("video"), u = C("source"), k(u.src, g = /*videosrc*/
|
|
15
|
-
s[0]) || l(u, "src", g), o.autoplay = !0, o.controls = !0, l(o, "controlslist", "nodownload"), l(o, "disablepictureinpicture", ""), l(t, "class", "CashierVideo"), l(e, "class", "CashierVideoWrapper"), V(
|
|
16
|
-
e,
|
|
17
|
-
"CashierVideoWrapperDesktop",
|
|
18
|
-
/*desktopView*/
|
|
19
|
-
s[2]
|
|
20
|
-
);
|
|
21
|
-
},
|
|
22
|
-
m(c, d) {
|
|
23
|
-
b(c, e, d), r && r.m(e, null), h(e, i), h(e, t), a && a.m(t, null), h(t, n), h(t, o), h(o, u), s[11](e);
|
|
24
|
-
},
|
|
25
|
-
p(c, d) {
|
|
26
|
-
/*desktopView*/
|
|
27
|
-
c[2] ? r && (r.d(1), r = null) : r ? r.p(c, d) : (r = x(c), r.c(), r.m(e, i)), /*desktopView*/
|
|
28
|
-
c[2] ? a ? a.p(c, d) : (a = z(c), a.c(), a.m(t, n)) : a && (a.d(1), a = null), d & /*videosrc*/
|
|
29
|
-
1 && !k(u.src, g = /*videosrc*/
|
|
30
|
-
c[0]) && l(u, "src", g), d & /*desktopView*/
|
|
31
|
-
4 && V(
|
|
32
|
-
e,
|
|
33
|
-
"CashierVideoWrapperDesktop",
|
|
34
|
-
/*desktopView*/
|
|
35
|
-
c[2]
|
|
36
|
-
);
|
|
37
|
-
},
|
|
38
|
-
d(c) {
|
|
39
|
-
c && _(e), r && r.d(), a && a.d(), s[11](null);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function x(s) {
|
|
44
|
-
let e, i, t, n, o;
|
|
45
|
-
return {
|
|
46
|
-
c() {
|
|
47
|
-
e = C("div"), i = v("svg"), t = v("path"), l(t, "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"), l(t, "fill", "#111111"), l(i, "xmlns", "http://www.w3.org/2000/svg"), l(i, "width", "13"), l(i, "height", "13"), l(i, "viewBox", "0 0 13 13"), l(i, "fill", "none"), l(e, "class", "CashierVideoHeader");
|
|
48
|
-
},
|
|
49
|
-
m(u, g) {
|
|
50
|
-
b(u, e, g), h(e, i), h(i, t), n || (o = H(
|
|
51
|
-
i,
|
|
52
|
-
"click",
|
|
53
|
-
/*click_handler*/
|
|
54
|
-
s[9]
|
|
55
|
-
), n = !0);
|
|
56
|
-
},
|
|
57
|
-
p,
|
|
58
|
-
d(u) {
|
|
59
|
-
u && _(e), n = !1, o();
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function z(s) {
|
|
64
|
-
let e, i, t, n;
|
|
65
|
-
return {
|
|
66
|
-
c() {
|
|
67
|
-
e = v("svg"), i = v("path"), l(i, "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"), l(i, "fill", "#111111"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(e, "width", "13"), l(e, "height", "13"), l(e, "viewBox", "0 0 13 13"), l(e, "fill", "none");
|
|
68
|
-
},
|
|
69
|
-
m(o, u) {
|
|
70
|
-
b(o, e, u), h(e, i), t || (n = H(
|
|
71
|
-
e,
|
|
72
|
-
"click",
|
|
73
|
-
/*click_handler_1*/
|
|
74
|
-
s[10]
|
|
75
|
-
), t = !0);
|
|
76
|
-
},
|
|
77
|
-
p,
|
|
78
|
-
d(o) {
|
|
79
|
-
o && _(e), t = !1, n();
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function O(s) {
|
|
84
|
-
let e, i = (
|
|
85
|
-
/*show*/
|
|
86
|
-
s[3] && S(s)
|
|
87
|
-
);
|
|
88
|
-
return {
|
|
89
|
-
c() {
|
|
90
|
-
i && i.c(), e = F();
|
|
91
|
-
},
|
|
92
|
-
m(t, n) {
|
|
93
|
-
i && i.m(t, n), b(t, e, n);
|
|
94
|
-
},
|
|
95
|
-
p(t, [n]) {
|
|
96
|
-
/*show*/
|
|
97
|
-
t[3] ? i ? i.p(t, n) : (i = S(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
98
|
-
},
|
|
99
|
-
i: p,
|
|
100
|
-
o: p,
|
|
101
|
-
d(t) {
|
|
102
|
-
t && _(e), i && i.d(t);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function P(s, e, i) {
|
|
107
|
-
let { clientstyling: t = "" } = e, { clientstylingurl: n = "" } = e, { ismobileview: o } = e, { videosrc: u } = e, { mbsource: g = "" } = e, r = window.navigator.userAgent, a = !0, c = !1, d;
|
|
108
|
-
const w = () => {
|
|
109
|
-
i(3, c = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
110
|
-
}, y = (f) => {
|
|
111
|
-
f.data.type == "ShowCashierVideoModal" && (i(3, c = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), f.data.type == "HideCashierVideoModal" && w();
|
|
112
|
-
}, D = () => {
|
|
113
|
-
i(2, a = !M(r));
|
|
114
|
-
};
|
|
115
|
-
G(() => (window.addEventListener("message", y, !1), () => {
|
|
116
|
-
window.removeEventListener("message", y);
|
|
117
|
-
}));
|
|
118
|
-
const W = () => w(), A = () => w();
|
|
119
|
-
function E(f) {
|
|
120
|
-
I[f ? "unshift" : "push"](() => {
|
|
121
|
-
d = f, i(1, d);
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
return s.$$set = (f) => {
|
|
125
|
-
"clientstyling" in f && i(5, t = f.clientstyling), "clientstylingurl" in f && i(6, n = f.clientstylingurl), "ismobileview" in f && i(7, o = f.ismobileview), "videosrc" in f && i(0, u = f.videosrc), "mbsource" in f && i(8, g = f.mbsource);
|
|
126
|
-
}, s.$$.update = () => {
|
|
127
|
-
s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
128
|
-
34 && t && d && J(d, t), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
129
|
-
66 && n && d && N(d, n), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
130
|
-
258 && g && d && U(d, `${g}.Style`);
|
|
131
|
-
}, M(r) && D(), [
|
|
132
|
-
u,
|
|
133
|
-
d,
|
|
134
|
-
a,
|
|
135
|
-
c,
|
|
136
|
-
w,
|
|
137
|
-
t,
|
|
138
|
-
n,
|
|
139
|
-
o,
|
|
140
|
-
g,
|
|
141
|
-
W,
|
|
142
|
-
A,
|
|
143
|
-
E
|
|
144
|
-
];
|
|
145
|
-
}
|
|
146
|
-
class Q extends j {
|
|
147
|
-
constructor(e) {
|
|
148
|
-
super(), q(
|
|
149
|
-
this,
|
|
150
|
-
e,
|
|
151
|
-
P,
|
|
152
|
-
O,
|
|
153
|
-
R,
|
|
154
|
-
{
|
|
155
|
-
clientstyling: 5,
|
|
156
|
-
clientstylingurl: 6,
|
|
157
|
-
ismobileview: 7,
|
|
158
|
-
videosrc: 0,
|
|
159
|
-
mbsource: 8
|
|
160
|
-
},
|
|
161
|
-
K
|
|
162
|
-
);
|
|
163
|
-
}
|
|
164
|
-
get clientstyling() {
|
|
165
|
-
return this.$$.ctx[5];
|
|
166
|
-
}
|
|
167
|
-
set clientstyling(e) {
|
|
168
|
-
this.$$set({ clientstyling: e }), m();
|
|
169
|
-
}
|
|
170
|
-
get clientstylingurl() {
|
|
171
|
-
return this.$$.ctx[6];
|
|
172
|
-
}
|
|
173
|
-
set clientstylingurl(e) {
|
|
174
|
-
this.$$set({ clientstylingurl: e }), m();
|
|
175
|
-
}
|
|
176
|
-
get ismobileview() {
|
|
177
|
-
return this.$$.ctx[7];
|
|
178
|
-
}
|
|
179
|
-
set ismobileview(e) {
|
|
180
|
-
this.$$set({ ismobileview: e }), m();
|
|
181
|
-
}
|
|
182
|
-
get videosrc() {
|
|
183
|
-
return this.$$.ctx[0];
|
|
184
|
-
}
|
|
185
|
-
set videosrc(e) {
|
|
186
|
-
this.$$set({ videosrc: e }), m();
|
|
187
|
-
}
|
|
188
|
-
get mbsource() {
|
|
189
|
-
return this.$$.ctx[8];
|
|
190
|
-
}
|
|
191
|
-
set mbsource(e) {
|
|
192
|
-
this.$$set({ mbsource: e }), m();
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
B(Q, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
|
|
196
|
-
export {
|
|
197
|
-
Q as default
|
|
198
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-C5Z0fFCo.cjs"),m=require("./CashierMethodDetails-CijnX6lX.cjs");function M(l){e.append_styles(l,"svelte-1d17c9c",".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}")}function C(l){let t,i,s,n,o,f,g,r=!l[2]&&w(l),a=l[2]&&v(l);return{c(){t=e.element("div"),r&&r.c(),i=e.space(),s=e.element("div"),a&&a.c(),n=e.space(),o=e.element("video"),f=e.element("source"),e.src_url_equal(f.src,g=l[0])||e.attr(f,"src",g),o.autoplay=!0,o.controls=!0,e.attr(o,"controlslist","nodownload"),e.attr(o,"disablepictureinpicture",""),e.attr(s,"class","CashierVideo"),e.attr(t,"class","CashierVideoWrapper"),e.toggle_class(t,"CashierVideoWrapperDesktop",l[2])},m(c,d){e.insert(c,t,d),r&&r.m(t,null),e.append(t,i),e.append(t,s),a&&a.m(s,null),e.append(s,n),e.append(s,o),e.append(o,f),l[11](t)},p(c,d){c[2]?r&&(r.d(1),r=null):r?r.p(c,d):(r=w(c),r.c(),r.m(t,i)),c[2]?a?a.p(c,d):(a=v(c),a.c(),a.m(s,n)):a&&(a.d(1),a=null),d&1&&!e.src_url_equal(f.src,g=c[0])&&e.attr(f,"src",g),d&4&&e.toggle_class(t,"CashierVideoWrapperDesktop",c[2])},d(c){c&&e.detach(t),r&&r.d(),a&&a.d(),l[11](null)}}}function w(l){let t,i,s,n,o;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("path"),e.attr(s,"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"),e.attr(s,"fill","#111111"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","13"),e.attr(i,"height","13"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(t,"class","CashierVideoHeader")},m(f,g){e.insert(f,t,g),e.append(t,i),e.append(i,s),n||(o=e.listen(i,"click",l[9]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,o()}}}function v(l){let t,i,s,n;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"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"),e.attr(i,"fill","#111111"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","13"),e.attr(t,"height","13"),e.attr(t,"viewBox","0 0 13 13"),e.attr(t,"fill","none")},m(o,f){e.insert(o,t,f),e.append(t,i),s||(n=e.listen(t,"click",l[10]),s=!0)},p:e.noop,d(o){o&&e.detach(t),s=!1,n()}}}function V(l){let t,i=l[3]&&C(l);return{c(){i&&i.c(),t=e.empty()},m(s,n){i&&i.m(s,n),e.insert(s,t,n)},p(s,[n]){s[3]?i?i.p(s,n):(i=C(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i&&i.d(s)}}}function S(l,t,i){let{clientstyling:s=""}=t,{clientstylingurl:n=""}=t,{ismobileview:o}=t,{videosrc:f}=t,{mbsource:g=""}=t,r=window.navigator.userAgent,a=!0,c=!1,d;const h=()=>{i(3,c=!1),window.postMessage({type:"ClosedCashierVideoModal"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},p=u=>{u.data.type=="ShowCashierVideoModal"&&(i(3,c=!0),window.postMessage({type:"DisableScroll"},window.location.href)),u.data.type=="HideCashierVideoModal"&&h()},b=()=>{i(2,a=!m.isMobile(r))};e.onMount(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)}));const y=()=>h(),L=()=>h();function k(u){e.binding_callbacks[u?"unshift":"push"](()=>{d=u,i(1,d)})}return l.$$set=u=>{"clientstyling"in u&&i(5,s=u.clientstyling),"clientstylingurl"in u&&i(6,n=u.clientstylingurl),"ismobileview"in u&&i(7,o=u.ismobileview),"videosrc"in u&&i(0,f=u.videosrc),"mbsource"in u&&i(8,g=u.mbsource)},l.$$.update=()=>{l.$$.dirty&34&&s&&d&&e.setClientStyling(d,s),l.$$.dirty&66&&n&&d&&e.setClientStylingURL(d,n),l.$$.dirty&258&&g&&d&&e.setStreamStyling(d,`${g}.Style`)},m.isMobile(r)&&b(),[f,d,a,c,h,s,n,o,g,y,L,k]}class _ extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,V,e.safe_not_equal,{clientstyling:5,clientstylingurl:6,ismobileview:7,videosrc:0,mbsource:8},M)}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get ismobileview(){return this.$$.ctx[7]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}get videosrc(){return this.$$.ctx[0]}set videosrc(t){this.$$set({videosrc:t}),e.flush()}get mbsource(){return this.$$.ctx[8]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(_,{clientstyling:{},clientstylingurl:{},ismobileview:{},videosrc:{},mbsource:{}},[],[],!0);exports.default=_;
|