@everymatrix/cashier-page 1.54.4 → 1.54.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.
Files changed (46) hide show
  1. package/components/{CashierConfirmModal-bl1anpXG.js → CashierConfirmModal-Bop0eOiK.js} +57 -57
  2. package/components/CashierConfirmModal-KmRU3Mgr.cjs +4 -0
  3. package/components/CashierConfirmModal-T9FhMxP2.js +1052 -0
  4. package/components/CashierError-CjhQG79n.js +3764 -0
  5. package/components/CashierError-Dx4LFH3W.cjs +5 -0
  6. package/components/{CashierError-CNghn61_.js → CashierError-guAFhbld.js} +497 -501
  7. package/components/{CashierHeader-Cukt_6q5.js → CashierHeader-CqGPO-Fk.js} +81 -81
  8. package/components/CashierHeader-D3hGyEcT.js +401 -0
  9. package/components/CashierHeader-Y_xPFrm_.cjs +1 -0
  10. package/components/CashierIframeRedirect-BoqcRUMr.js +378 -0
  11. package/components/CashierIframeRedirect-C2c1nHdX.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CfOyb27d.js → CashierIframeRedirect-tBrZ72pm.js} +33 -33
  13. package/components/CashierMethodDetails-DDyg0dkw.cjs +18 -0
  14. package/components/{CashierMethodDetails-BIl7Is4q.js → CashierMethodDetails-Dsx6mHYI.js} +63 -63
  15. package/components/CashierMethodDetails-PDt60MQR.js +8164 -0
  16. package/components/CashierMethodsList-BOR1hHRu.js +667 -0
  17. package/components/CashierMethodsList-DTBsyc8x.cjs +1 -0
  18. package/components/{CashierMethodsList-sDyTLsi_.js → CashierMethodsList-xC6EsOBa.js} +76 -76
  19. package/components/CashierModal-CZ_PAOXO.js +232 -0
  20. package/components/{CashierModal-BvsZYr3E.js → CashierModal-DnFkgCZP.js} +31 -31
  21. package/components/CashierModal-FkJdngyj.cjs +1 -0
  22. package/components/{CashierNotifications-DLiOLPVS.js → CashierNotifications-BCI1m1DC.js} +18 -18
  23. package/components/CashierNotifications-BJzRxOV_.cjs +1 -0
  24. package/components/CashierNotifications-u0zBDLtX.js +129 -0
  25. package/components/CashierPage-B4oBQHo8.cjs +1 -0
  26. package/components/{CashierPage-ChYGXNFh.js → CashierPage-BOqzOu5f.js} +202 -201
  27. package/components/CashierPage-_JwIM1m3.js +1998 -0
  28. package/components/CashierReceiptPage-DguMfgJk.cjs +1 -0
  29. package/components/CashierReceiptPage-Dp9crOnz.js +1156 -0
  30. package/components/{CashierReceiptPage-BnZNWRHD.js → CashierReceiptPage-YWmVmYmI.js} +76 -76
  31. package/components/CashierSessionExpirationModal-C4AvaTH-.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-m8mfQG7I.js → CashierSessionExpirationModal-D0BRhJB-.js} +234 -243
  33. package/components/CashierSessionExpirationModal-cVtdVVp6.js +1172 -0
  34. package/components/CashierSpinner-BjkjegeG.js +71 -0
  35. package/components/{CashierSpinner-BGK4UpXs.js → CashierSpinner-C4PbqmeQ.js} +25 -25
  36. package/components/CashierSpinner-CySOWnIQ.cjs +1 -0
  37. package/components/CashierVerifications-C-55D-Ds.cjs +1 -0
  38. package/components/{CashierVerifications-ghULlvRf.js → CashierVerifications-CRhSDc6g.js} +27 -27
  39. package/components/CashierVerifications-Cr6kxmHD.js +628 -0
  40. package/components/CashierVideoModal-BWI2U3UH.cjs +1 -0
  41. package/components/CashierVideoModal-CEfQgtP6.js +202 -0
  42. package/components/{CashierVideoModal-CIyp7q0i.js → CashierVideoModal-CeguehvU.js} +36 -36
  43. package/es2015/cashier-page.cjs +1 -0
  44. package/es2015/cashier-page.js +16 -0
  45. package/esnext/cashier-page.js +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "use strict";var we=Object.defineProperty,_e=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable;var Q=(s,t,n)=>t in s?we(s,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[t]=n,G=(s,t)=>{for(var n in t||(t={}))be.call(t,n)&&Q(s,n,t[n]);if(K)for(var n of K(t))Le.call(t,n)&&Q(s,n,t[n]);return s},J=(s,t)=>_e(s,ye(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-KmRU3Mgr.cjs"),B=require("./CashierError-Dx4LFH3W.cjs"),V=require("./CashierMethodDetails-DDyg0dkw.cjs");function $(s,t){B.addMessages(s,t)}function Me(s){B.init({fallbackLocale:"en"}),B.$locale.set(s)}const ee={en:{generalMin:"Min",generalMax:"Max",showAll:"SHOW ALL",showLess:"SHOW LESS"},uk:{generalMin:"Мін",generalMax:"Макс"},hr:{generalMin:"Minimalno",generalMax:"Maksimalno",showAll:"Prikaži sve",showLess:"Prikaži manje"},tr:{generalMin:"Min",generalMax:"Maks",showAll:"HEPSİNİ GÖSTER",showLess:"DAHA AZ GÖSTER"},"en-us":{generalMin:"Min",generalMax:"Max",showAll:"SHOW ALL",showLess:"SHOW LESS"}};function ve(s){e.append_styles(s,"svelte-yskyrk","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}")}function te(s,t,n){const c=s.slice();return c[47]=t[n],c[49]=n,c}function se(s){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",s[4]),e.set_custom_element_data(t,"clientstyling",s[3])},m(n,c){e.insert(n,t,c)},p(n,c){c[0]&16&&e.set_custom_element_data(t,"clientstylingurl",n[4]),c[0]&8&&e.set_custom_element_data(t,"clientstyling",n[3])},d(n){n&&e.detach(t)}}}function ne(s){let t,n,c,r=e.ensure_array_like(s[8]),i=[];for(let o=0;o<r.length;o+=1)i[o]=le(te(s,r,o));let a=s[7]&&ie(s);return{c(){t=e.element("div"),n=e.element("div");for(let o=0;o<i.length;o+=1)i[o].c();c=e.space(),a&&a.c(),e.attr(n,"class","CashierMethodList"),e.attr(t,"class","CashierMethodListWidget")},m(o,m){e.insert(o,t,m),e.append(t,n);for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(n,null);e.append(t,c),a&&a.m(t,null),s[26](t)},p(o,m){if(m[0]&57664){r=e.ensure_array_like(o[8]);let d;for(d=0;d<r.length;d+=1){const L=te(o,r,d);i[d]?i[d].p(L,m):(i[d]=le(L),i[d].c(),i[d].m(n,null))}for(;d<i.length;d+=1)i[d].d(1);i.length=r.length}o[7]?a?a.p(o,m):(a=ie(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&e.detach(t),e.destroy_each(i,o),a&&a.d(),s[26](null)}}}function le(s){let t,n,c,r,i,a,o,m,d=(s[47].Label||s[47].Name)+"",L,M,y,g,k=s[13]("generalMin")+"",C,p,w=s[14].format(s[47].DisplayCurrency.MinAmountLimit)+"",S,x,_=s[47].DisplayCurrency.Name+"",A,H,b,N=s[13]("generalMax")+"",P,O,E=s[14].format(s[47].DisplayCurrency.MaxAmountLimit)+"",U,R,j=s[47].DisplayCurrency.Name+"",z,W,D,q;function I(){return s[24](s[47])}return{c(){t=e.element("div"),n=e.element("div"),c=e.element("img"),a=e.space(),o=e.element("div"),m=e.element("span"),L=e.text(d),M=e.space(),y=e.element("div"),g=e.element("span"),C=e.text(k),p=e.space(),S=e.text(w),x=e.space(),A=e.text(_),H=e.space(),b=e.element("span"),P=e.text(N),O=e.space(),U=e.text(E),R=e.space(),z=e.text(j),W=e.space(),e.src_url_equal(c.src,r=s[47].LogoUrl)||e.attr(c,"src",r),e.attr(c,"alt",i=s[47].Label),e.attr(n,"class","MethodLogo"),e.attr(o,"class","MethodTitle"),e.attr(g,"class","Limits"),e.attr(b,"class","Limits"),e.attr(y,"class","MethodLimits"),e.attr(t,"class","SelectorWrapper"),e.toggle_class(t,"checked",s[6]===s[47].Name)},m(T,f){e.insert(T,t,f),e.append(t,n),e.append(n,c),e.append(t,a),e.append(t,o),e.append(o,m),e.append(m,L),e.append(t,M),e.append(t,y),e.append(y,g),e.append(g,C),e.append(g,p),e.append(g,S),e.append(g,x),e.append(g,A),e.append(y,H),e.append(y,b),e.append(b,P),e.append(b,O),e.append(b,U),e.append(b,R),e.append(b,z),e.append(t,W),D||(q=[e.listen(t,"click",I),e.listen(t,"keyup",Se)],D=!0)},p(T,f){s=T,f[0]&256&&!e.src_url_equal(c.src,r=s[47].LogoUrl)&&e.attr(c,"src",r),f[0]&256&&i!==(i=s[47].Label)&&e.attr(c,"alt",i),f[0]&256&&d!==(d=(s[47].Label||s[47].Name)+"")&&e.set_data(L,d),f[0]&8192&&k!==(k=s[13]("generalMin")+"")&&e.set_data(C,k),f[0]&256&&w!==(w=s[14].format(s[47].DisplayCurrency.MinAmountLimit)+"")&&e.set_data(S,w),f[0]&256&&_!==(_=s[47].DisplayCurrency.Name+"")&&e.set_data(A,_),f[0]&8192&&N!==(N=s[13]("generalMax")+"")&&e.set_data(P,N),f[0]&256&&E!==(E=s[14].format(s[47].DisplayCurrency.MaxAmountLimit)+"")&&e.set_data(U,E),f[0]&256&&j!==(j=s[47].DisplayCurrency.Name+"")&&e.set_data(z,j),f[0]&320&&e.toggle_class(t,"checked",s[6]===s[47].Name)},d(T){T&&e.detach(t),D=!1,e.run_all(q)}}}function ie(s){let t,n,c,r;return{c(){t=e.element("div"),n=e.text(s[7]),e.attr(t,"class","ShowAllButton")},m(i,a){e.insert(i,t,a),e.append(t,n),c||(r=e.listen(t,"click",s[25]),c=!0)},p(i,a){a[0]&128&&e.set_data(n,i[7])},d(i){i&&e.detach(t),c=!1,r()}}}function oe(s){let t,n,c;return{c(){t=e.element("cashier-error"),n=e.element("span"),c=e.text(s[10]),e.attr(n,"slot","text"),e.set_custom_element_data(t,"lang",s[0]),e.set_custom_element_data(t,"assetsurl",s[1]),e.set_custom_element_data(t,"translationurl",s[2]),e.set_custom_element_data(t,"clientstylingurl",s[4]),e.set_custom_element_data(t,"clientstyling",s[3]),e.set_custom_element_data(t,"hidebuttons","true")},m(r,i){e.insert(r,t,i),e.append(t,n),e.append(n,c)},p(r,i){i[0]&1024&&e.set_data(c,r[10]),i[0]&1&&e.set_custom_element_data(t,"lang",r[0]),i[0]&2&&e.set_custom_element_data(t,"assetsurl",r[1]),i[0]&4&&e.set_custom_element_data(t,"translationurl",r[2]),i[0]&16&&e.set_custom_element_data(t,"clientstylingurl",r[4]),i[0]&8&&e.set_custom_element_data(t,"clientstyling",r[3])},d(r){r&&e.detach(t)}}}function ke(s){let t,n,c,r=s[12]&&se(s),i=(s[9]||s[11])&&ne(s),a=s[10]&&oe(s);return{c(){r&&r.c(),t=e.space(),i&&i.c(),n=e.space(),a&&a.c(),c=e.empty()},m(o,m){r&&r.m(o,m),e.insert(o,t,m),i&&i.m(o,m),e.insert(o,n,m),a&&a.m(o,m),e.insert(o,c,m)},p(o,m){o[12]?r?r.p(o,m):(r=se(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9]||o[11]?i?i.p(o,m):(i=ne(o),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),o[10]?a?a.p(o,m):(a=oe(o),a.c(),a.m(c.parentNode,c)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&(e.detach(t),e.detach(n),e.detach(c)),r&&r.d(o),i&&i.d(o),a&&a.d(o)}}}const Se=()=>{};function Ce(s,t,n){let c;e.component_subscribe(s,B.$format,l=>n(13,c=l)),V.dayjs.extend(V.utc);let{lang:r="en"}=t,{local:i="en-US"}=t,{endpoint:a}=t,{session:o}=t,{customerid:m}=t,{assetsurl:d}=t,{currency:L}=t,{numberofmethodsshown:M}=t,{translationurl:y=""}=t,{clientstyling:g=""}=t,{clientstylingurl:k=""}=t,{ismobileview:C}=t,p=[],w,S,x="",_=[],A=!0,H=new Intl.NumberFormat(i,{minimumFractionDigits:2}),b="",N,P=!0,O=!1;var E;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(E||(E={})),e.createEventDispatcher();const U=()=>{let l=y;if(l)return fetch(l).then(u=>u.json()).then(u=>{Object.keys(u).forEach(v=>{$(v,u[v])})}).catch(u=>{console.log(u)})};Object.keys(ee).forEach(l=>{$(l,ee[l])});const R=()=>{Me(r)},j=()=>{n(12,O=!0);const l=new URL(`${a}/v1/player/${m}/payment/GetPaymentMetadata`),u=new Headers;u.append("accept","application/json"),u.append("Content-Type","application/json"),u.append("X-Client-Request-Timestamp",V.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const v={method:"POST",headers:u,body:JSON.stringify({XPaymentSessionToken:o,Currency:L,Tags:{UserAgent:window.navigator.userAgent}})};fetch(l,v).then(h=>h.json()).then(h=>{var F;if(h.error){n(10,b=h.error);return}if(h.ResponseCode!==E.Success){N=h.ResponseCode,q();return}p=(F=h.PaymentMethods)!=null&&F.Ordering?z(h):W(h),n(7,x=M&&+M>0&&p.length>+M?c("showAll"):""),n(8,_=x?p.slice(0,+M):p),window.postMessage({type:"StartSessionCountdown",paymentMethodName:p[0].Name,xPaymentSessionToken:h.XPaymentSessionToken},window.location.href)}).finally(()=>n(12,O=!1))},z=l=>{const u=[];return l.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(v=>{const h=l.PaymentMethods.PaymentMethods.find(F=>F.Name===v);if(h){const F=(h==null?void 0:h.Logos.find(Y=>Y.LogoType==="Desktop"))||{},pe=(h==null?void 0:h.Logos.find(Y=>Y.LogoType==="Mobile"))||{},Z=P?F:pe;u.push(J(G({},h),{LogoUrl:Z.LogoUrl?`https:${Z.LogoUrl}`:""}))}}),u},W=l=>l.PaymentMethods.PaymentMethods.map(u=>J(G({},u),{LogoUrl:u.Logos&&u.Logos.length&&u.Logos[0].LogoUrl?`https:${u.Logos[0].LogoUrl}`:""})),D=l=>{n(6,S=l.Name),window.postMessage({type:"SelectPayMeth",details:l},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:l,bubbles:!0,cancelable:!0,composed:!0}))},q=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:N},window.location.href)},I=()=>{n(11,P=C==="false")},T=()=>{_==p?ae():f()},f=()=>{n(8,_=p),n(7,x=c("showLess"))},ae=()=>{n(8,_=p.slice(0,+M)),S&&!_.find(l=>l.Name===S)&&_.splice(0,0,p.find(l=>l.Name===S)),n(7,x=c("showAll"))},ce=()=>{n(9,A=!0)},me=l=>{n(9,A=!l.hideMethodsList)},de=()=>{let l=document.createElement("style");l.innerHTML=g,w.appendChild(l)},ue=()=>{let l=new URL(k),u=document.createElement("style");fetch(l.href).then(v=>v.text()).then(v=>{u.innerHTML=v,setTimeout(()=>{w.appendChild(u)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X,!1)}));const X=l=>{switch(l.data.type){case"BackToMethodList":ce();break;case"HideMethodsList":me(l.data.details);break}},he=l=>D(l),fe=()=>T();function ge(l){e.binding_callbacks[l?"unshift":"push"](()=>{w=l,n(5,w)})}return s.$$set=l=>{"lang"in l&&n(0,r=l.lang),"local"in l&&n(17,i=l.local),"endpoint"in l&&n(18,a=l.endpoint),"session"in l&&n(19,o=l.session),"customerid"in l&&n(20,m=l.customerid),"assetsurl"in l&&n(1,d=l.assetsurl),"currency"in l&&n(21,L=l.currency),"numberofmethodsshown"in l&&n(22,M=l.numberofmethodsshown),"translationurl"in l&&n(2,y=l.translationurl),"clientstyling"in l&&n(3,g=l.clientstyling),"clientstylingurl"in l&&n(4,k=l.clientstylingurl),"ismobileview"in l&&n(23,C=l.ismobileview)},s.$$.update=()=>{s.$$.dirty[0]&1835008&&a&&o&&m&&j(),s.$$.dirty[0]&1&&r&&R(),s.$$.dirty[0]&40&&g&&w&&de(),s.$$.dirty[0]&48&&k&&w&&ue(),s.$$.dirty[0]&8388608&&C&&I(),s.$$.dirty[0]&5&&r&&y&&U()},[r,d,y,g,k,w,S,x,_,A,b,P,O,c,H,D,T,i,a,o,m,L,M,C,he,fe,ge]}class re extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ce,ke,e.safe_not_equal,{lang:0,local:17,endpoint:18,session:19,customerid:20,assetsurl:1,currency:21,numberofmethodsshown:22,translationurl:2,clientstyling:3,clientstylingurl:4,ismobileview:23},ve,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[17]}set local(t){this.$$set({local:t}),e.flush()}get endpoint(){return this.$$.ctx[18]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[20]}set customerid(t){this.$$set({customerid:t}),e.flush()}get assetsurl(){return this.$$.ctx[1]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get currency(){return this.$$.ctx[21]}set currency(t){this.$$set({currency:t}),e.flush()}get numberofmethodsshown(){return this.$$.ctx[22]}set numberofmethodsshown(t){this.$$set({numberofmethodsshown:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get ismobileview(){return this.$$.ctx[23]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}}e.create_custom_element(re,{lang:{},local:{},endpoint:{},session:{},customerid:{},assetsurl:{},currency:{},numberofmethodsshown:{},translationurl:{},clientstyling:{},clientstylingurl:{},ismobileview:{}},[],[],!0);exports.default=re;
@@ -1,13 +1,13 @@
1
- import { S as Se, b as Ce, f as v, c as Ee, a as Te, d as Ae, h as S, x as Ne, k as j, n as ne, v as z, w as xe, Q as Pe, G as De, g as p, E as f, K as ie, j as w, l as c, M as Fe, y as x, D as le, I as oe, A as ee, z as P, r as Oe, C as Ue } from "./CashierConfirmModal-bl1anpXG.js";
2
- import { a as je, i as ze, $ as He, b as Re } from "./CashierError-CNghn61_.js";
3
- import { d as re, u as We } from "./CashierMethodDetails-BIl7Is4q.js";
1
+ import { S as Se, b as Ce, s as Ee, f as v, c as Te, n as ne, e as z, l as H, p as S, w as Ae, v as Ne, Q as xe, H as Pe, E as f, o as p, K as ie, L as De, m as c, q as w, x, y as P, z as Fe, r as Oe, B as le, J as oe, A as ee, D as Ue } from "./CashierConfirmModal-Bop0eOiK.js";
2
+ import { a as ze, i as He, $ as je, b as Re } from "./CashierError-guAFhbld.js";
3
+ import { d as re, u as We } from "./CashierMethodDetails-Dsx6mHYI.js";
4
4
  function ae(t, e) {
5
- je(t, e);
5
+ ze(t, e);
6
6
  }
7
7
  function Be(t) {
8
- ze({
8
+ He({
9
9
  fallbackLocale: "en"
10
- }), He.set(t);
10
+ }), je.set(t);
11
11
  }
12
12
  const ce = {
13
13
  en: {
@@ -39,8 +39,8 @@ const ce = {
39
39
  showLess: "SHOW LESS"
40
40
  }
41
41
  };
42
- function Ie(t) {
43
- Ae(t, "svelte-yskyrk", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
42
+ function qe(t) {
43
+ Te(t, "svelte-yskyrk", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
44
44
  }
45
45
  function me(t, e, n) {
46
46
  const a = t.slice();
@@ -63,7 +63,7 @@ function ue(t) {
63
63
  );
64
64
  },
65
65
  m(n, a) {
66
- j(n, e, a);
66
+ H(n, e, a);
67
67
  },
68
68
  p(n, a) {
69
69
  a[0] & /*clientstylingurl*/
@@ -104,7 +104,7 @@ function de(t) {
104
104
  a = S(), r && r.c(), w(n, "class", "CashierMethodList"), w(e, "class", "CashierMethodListWidget");
105
105
  },
106
106
  m(l, m) {
107
- j(l, e, m), c(e, n);
107
+ H(l, e, m), c(e, n);
108
108
  for (let u = 0; u < i.length; u += 1)
109
109
  i[u] && i[u].m(n, null);
110
110
  c(e, a), r && r.m(e, null), t[26](e);
@@ -129,7 +129,7 @@ function de(t) {
129
129
  l[7] ? r ? r.p(l, m) : (r = fe(l), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
130
130
  },
131
131
  d(l) {
132
- l && z(e), Fe(i, l), r && r.d(), t[26](null);
132
+ l && z(e), De(i, l), r && r.d(), t[26](null);
133
133
  }
134
134
  };
135
135
  }
@@ -141,16 +141,16 @@ function he(t) {
141
141
  ), C, E, _, y, A = (
142
142
  /*$_*/
143
143
  t[13]("generalMin") + ""
144
- ), D, b, M = (
144
+ ), D, b, L = (
145
145
  /*formatter*/
146
146
  t[14].format(
147
147
  /*payMeth*/
148
148
  t[47].DisplayCurrency.MinAmountLimit
149
149
  ) + ""
150
- ), N, F, L = (
150
+ ), N, F, M = (
151
151
  /*payMeth*/
152
152
  t[47].DisplayCurrency.Name + ""
153
- ), H, J, k, R = (
153
+ ), j, G, k, R = (
154
154
  /*$_*/
155
155
  t[13]("generalMax") + ""
156
156
  ), W, B, O = (
@@ -159,10 +159,10 @@ function he(t) {
159
159
  /*payMeth*/
160
160
  t[47].DisplayCurrency.MaxAmountLimit
161
161
  ) + ""
162
- ), G, V, I = (
162
+ ), J, V, q = (
163
163
  /*payMeth*/
164
164
  t[47].DisplayCurrency.Name + ""
165
- ), Y, X, q, K;
165
+ ), Y, X, I, K;
166
166
  function Q() {
167
167
  return (
168
168
  /*click_handler*/
@@ -174,7 +174,7 @@ function he(t) {
174
174
  }
175
175
  return {
176
176
  c() {
177
- e = p("div"), n = p("div"), a = p("img"), r = S(), l = p("div"), m = p("span"), C = x(u), E = S(), _ = p("div"), y = p("span"), D = x(A), b = S(), N = x(M), F = S(), H = x(L), J = S(), k = p("span"), W = x(R), B = S(), G = x(O), V = S(), Y = x(I), X = S(), le(a.src, o = /*payMeth*/
177
+ e = p("div"), n = p("div"), a = p("img"), r = S(), l = p("div"), m = p("span"), C = P(u), E = S(), _ = p("div"), y = p("span"), D = P(A), b = S(), N = P(L), F = S(), j = P(M), G = S(), k = p("span"), W = P(R), B = S(), J = P(O), V = S(), Y = P(q), X = S(), le(a.src, o = /*payMeth*/
178
178
  t[47].LogoUrl) || w(a, "src", o), w(a, "alt", i = /*payMeth*/
179
179
  t[47].Label), w(n, "class", "MethodLogo"), w(l, "class", "MethodTitle"), w(y, "class", "Limits"), w(k, "class", "Limits"), w(_, "class", "MethodLimits"), w(e, "class", "SelectorWrapper"), oe(
180
180
  e,
@@ -185,10 +185,10 @@ function he(t) {
185
185
  );
186
186
  },
187
187
  m(U, g) {
188
- j(U, e, g), c(e, n), c(n, a), c(e, r), c(e, l), c(l, m), c(m, C), c(e, E), c(e, _), c(_, y), c(y, D), c(y, b), c(y, N), c(y, F), c(y, H), c(_, J), c(_, k), c(k, W), c(k, B), c(k, G), c(k, V), c(k, Y), c(e, X), q || (K = [
188
+ H(U, e, g), c(e, n), c(n, a), c(e, r), c(e, l), c(l, m), c(m, C), c(e, E), c(e, _), c(_, y), c(y, D), c(y, b), c(y, N), c(y, F), c(y, j), c(_, G), c(_, k), c(k, W), c(k, B), c(k, J), c(k, V), c(k, Y), c(e, X), I || (K = [
189
189
  ee(e, "click", Q),
190
- ee(e, "keyup", Ge)
191
- ], q = !0);
190
+ ee(e, "keyup", Je)
191
+ ], I = !0);
192
192
  },
193
193
  p(U, g) {
194
194
  t = U, g[0] & /*paymentMethodsToShow*/
@@ -198,25 +198,25 @@ function he(t) {
198
198
  t[47].Label) && w(a, "alt", i), g[0] & /*paymentMethodsToShow*/
199
199
  256 && u !== (u = /*payMeth*/
200
200
  (t[47].Label || /*payMeth*/
201
- t[47].Name) + "") && P(C, u), g[0] & /*$_*/
201
+ t[47].Name) + "") && x(C, u), g[0] & /*$_*/
202
202
  8192 && A !== (A = /*$_*/
203
- t[13]("generalMin") + "") && P(D, A), g[0] & /*paymentMethodsToShow*/
204
- 256 && M !== (M = /*formatter*/
203
+ t[13]("generalMin") + "") && x(D, A), g[0] & /*paymentMethodsToShow*/
204
+ 256 && L !== (L = /*formatter*/
205
205
  t[14].format(
206
206
  /*payMeth*/
207
207
  t[47].DisplayCurrency.MinAmountLimit
208
- ) + "") && P(N, M), g[0] & /*paymentMethodsToShow*/
209
- 256 && L !== (L = /*payMeth*/
210
- t[47].DisplayCurrency.Name + "") && P(H, L), g[0] & /*$_*/
208
+ ) + "") && x(N, L), g[0] & /*paymentMethodsToShow*/
209
+ 256 && M !== (M = /*payMeth*/
210
+ t[47].DisplayCurrency.Name + "") && x(j, M), g[0] & /*$_*/
211
211
  8192 && R !== (R = /*$_*/
212
- t[13]("generalMax") + "") && P(W, R), g[0] & /*paymentMethodsToShow*/
212
+ t[13]("generalMax") + "") && x(W, R), g[0] & /*paymentMethodsToShow*/
213
213
  256 && O !== (O = /*formatter*/
214
214
  t[14].format(
215
215
  /*payMeth*/
216
216
  t[47].DisplayCurrency.MaxAmountLimit
217
- ) + "") && P(G, O), g[0] & /*paymentMethodsToShow*/
218
- 256 && I !== (I = /*payMeth*/
219
- t[47].DisplayCurrency.Name + "") && P(Y, I), g[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
217
+ ) + "") && x(J, O), g[0] & /*paymentMethodsToShow*/
218
+ 256 && q !== (q = /*payMeth*/
219
+ t[47].DisplayCurrency.Name + "") && x(Y, q), g[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
220
220
  320 && oe(
221
221
  e,
222
222
  "checked",
@@ -226,7 +226,7 @@ function he(t) {
226
226
  );
227
227
  },
228
228
  d(U) {
229
- U && z(e), q = !1, Oe(K);
229
+ U && z(e), I = !1, Oe(K);
230
230
  }
231
231
  };
232
232
  }
@@ -234,13 +234,13 @@ function fe(t) {
234
234
  let e, n, a, o;
235
235
  return {
236
236
  c() {
237
- e = p("div"), n = x(
237
+ e = p("div"), n = P(
238
238
  /*methodsButtonToggleText*/
239
239
  t[7]
240
240
  ), w(e, "class", "ShowAllButton");
241
241
  },
242
242
  m(i, r) {
243
- j(i, e, r), c(e, n), a || (o = ee(
243
+ H(i, e, r), c(e, n), a || (o = ee(
244
244
  e,
245
245
  "click",
246
246
  /*click_handler_1*/
@@ -249,7 +249,7 @@ function fe(t) {
249
249
  },
250
250
  p(i, r) {
251
251
  r[0] & /*methodsButtonToggleText*/
252
- 128 && P(
252
+ 128 && x(
253
253
  n,
254
254
  /*methodsButtonToggleText*/
255
255
  i[7]
@@ -264,7 +264,7 @@ function ge(t) {
264
264
  let e, n, a;
265
265
  return {
266
266
  c() {
267
- e = p("cashier-error"), n = p("span"), a = x(
267
+ e = p("cashier-error"), n = p("span"), a = P(
268
268
  /*errorMessage*/
269
269
  t[10]
270
270
  ), w(n, "slot", "text"), f(
@@ -295,11 +295,11 @@ function ge(t) {
295
295
  ), f(e, "hidebuttons", "true");
296
296
  },
297
297
  m(o, i) {
298
- j(o, e, i), c(e, n), c(n, a);
298
+ H(o, e, i), c(e, n), c(n, a);
299
299
  },
300
300
  p(o, i) {
301
301
  i[0] & /*errorMessage*/
302
- 1024 && P(
302
+ 1024 && x(
303
303
  a,
304
304
  /*errorMessage*/
305
305
  o[10]
@@ -340,7 +340,7 @@ function ge(t) {
340
340
  }
341
341
  };
342
342
  }
343
- function qe(t) {
343
+ function Ie(t) {
344
344
  let e, n, a, o = (
345
345
  /*showSpinner*/
346
346
  t[12] && ue(t)
@@ -354,10 +354,10 @@ function qe(t) {
354
354
  );
355
355
  return {
356
356
  c() {
357
- o && o.c(), e = S(), i && i.c(), n = S(), r && r.c(), a = Ne();
357
+ o && o.c(), e = S(), i && i.c(), n = S(), r && r.c(), a = Ae();
358
358
  },
359
359
  m(l, m) {
360
- o && o.m(l, m), j(l, e, m), i && i.m(l, m), j(l, n, m), r && r.m(l, m), j(l, a, m);
360
+ o && o.m(l, m), H(l, e, m), i && i.m(l, m), H(l, n, m), r && r.m(l, m), H(l, a, m);
361
361
  },
362
362
  p(l, m) {
363
363
  /*showSpinner*/
@@ -373,17 +373,17 @@ function qe(t) {
373
373
  }
374
374
  };
375
375
  }
376
- const Ge = () => {
376
+ const Je = () => {
377
377
  };
378
378
  function Ye(t, e, n) {
379
379
  let a;
380
- xe(t, Re, (s) => n(13, a = s)), re.extend(We);
381
- let { lang: o = "en" } = e, { local: i = "en-US" } = e, { endpoint: r } = e, { session: l } = e, { customerid: m } = e, { assetsurl: u } = e, { currency: C } = e, { numberofmethodsshown: E } = e, { translationurl: _ = "" } = e, { clientstyling: y = "" } = e, { clientstylingurl: A = "" } = e, { ismobileview: D } = e, b = [], M, N, F = "", L = [], H = !0, J = new Intl.NumberFormat(i, { minimumFractionDigits: 2 }), k = "", R, W = !0, B = !1;
380
+ Ne(t, Re, (s) => n(13, a = s)), re.extend(We);
381
+ let { lang: o = "en" } = e, { local: i = "en-US" } = e, { endpoint: r } = e, { session: l } = e, { customerid: m } = e, { assetsurl: u } = e, { currency: C } = e, { numberofmethodsshown: E } = e, { translationurl: _ = "" } = e, { clientstyling: y = "" } = e, { clientstylingurl: A = "" } = e, { ismobileview: D } = e, b = [], L, N, F = "", M = [], j = !0, G = new Intl.NumberFormat(i, { minimumFractionDigits: 2 }), k = "", R, W = !0, B = !1;
382
382
  var O;
383
383
  (function(s) {
384
384
  s.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", s.Success = "Success", s.JwtTokenError = "JwtTokenError";
385
- })(O || (O = {})), Pe();
386
- const G = () => {
385
+ })(O || (O = {})), xe();
386
+ const J = () => {
387
387
  let s = _;
388
388
  if (s)
389
389
  return fetch(s).then((d) => d.json()).then((d) => {
@@ -399,7 +399,7 @@ function Ye(t, e, n) {
399
399
  });
400
400
  const V = () => {
401
401
  Be(o);
402
- }, I = () => {
402
+ }, q = () => {
403
403
  n(12, B = !0);
404
404
  const s = new URL(`${r}/v1/player/${m}/payment/GetPaymentMetadata`), d = new Headers();
405
405
  d.append("accept", "application/json"), d.append("Content-Type", "application/json"), d.append("X-Client-Request-Timestamp", re.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
@@ -421,7 +421,7 @@ function Ye(t, e, n) {
421
421
  R = h.ResponseCode, K();
422
422
  return;
423
423
  }
424
- b = h.PaymentMethods?.Ordering ? Y(h) : X(h), n(7, F = E && +E > 0 && b.length > +E ? a("showAll") : ""), n(8, L = F ? b.slice(0, +E) : b), window.postMessage(
424
+ b = h.PaymentMethods?.Ordering ? Y(h) : X(h), n(7, F = E && +E > 0 && b.length > +E ? a("showAll") : ""), n(8, M = F ? b.slice(0, +E) : b), window.postMessage(
425
425
  {
426
426
  type: "StartSessionCountdown",
427
427
  paymentMethodName: b[0].Name,
@@ -445,7 +445,7 @@ function Ye(t, e, n) {
445
445
  }, X = (s) => s.PaymentMethods.PaymentMethods.map((d) => ({
446
446
  ...d,
447
447
  LogoUrl: d.Logos && d.Logos.length && d.Logos[0].LogoUrl ? `https:${d.Logos[0].LogoUrl}` : ""
448
- })), q = (s) => {
448
+ })), I = (s) => {
449
449
  n(6, N = s.Name), window.postMessage({ type: "SelectPayMeth", details: s }, window.location.href), dispatchEvent(new CustomEvent(
450
450
  "selectPayMeth",
451
451
  {
@@ -466,24 +466,24 @@ function Ye(t, e, n) {
466
466
  }, Q = () => {
467
467
  n(11, W = D === "false");
468
468
  }, U = () => {
469
- L == b ? we() : g();
469
+ M == b ? we() : g();
470
470
  }, g = () => {
471
- n(8, L = b), n(7, F = a("showLess"));
471
+ n(8, M = b), n(7, F = a("showLess"));
472
472
  }, we = () => {
473
- n(8, L = b.slice(0, +E)), N && !L.find((s) => s.Name === N) && L.splice(0, 0, b.find((s) => s.Name === N)), n(7, F = a("showAll"));
473
+ n(8, M = b.slice(0, +E)), N && !M.find((s) => s.Name === N) && M.splice(0, 0, b.find((s) => s.Name === N)), n(7, F = a("showAll"));
474
474
  }, pe = () => {
475
- n(9, H = !0);
475
+ n(9, j = !0);
476
476
  }, ye = (s) => {
477
- n(9, H = !s.hideMethodsList);
477
+ n(9, j = !s.hideMethodsList);
478
478
  }, be = () => {
479
479
  let s = document.createElement("style");
480
- s.innerHTML = y, M.appendChild(s);
481
- }, Me = () => {
480
+ s.innerHTML = y, L.appendChild(s);
481
+ }, Le = () => {
482
482
  let s = new URL(A), d = document.createElement("style");
483
483
  fetch(s.href).then((T) => T.text()).then((T) => {
484
484
  d.innerHTML = T, setTimeout(
485
485
  () => {
486
- M.appendChild(d);
486
+ L.appendChild(d);
487
487
  },
488
488
  1
489
489
  ), setTimeout(
@@ -493,7 +493,7 @@ function Ye(t, e, n) {
493
493
  );
494
494
  });
495
495
  };
496
- De(() => (window.addEventListener("message", te, !1), () => {
496
+ Pe(() => (window.addEventListener("message", te, !1), () => {
497
497
  window.removeEventListener("message", te, !1);
498
498
  }));
499
499
  const te = (s) => {
@@ -505,39 +505,39 @@ function Ye(t, e, n) {
505
505
  ye(s.data.details);
506
506
  break;
507
507
  }
508
- }, Le = (s) => q(s), ve = () => U();
508
+ }, Me = (s) => I(s), ve = () => U();
509
509
  function _e(s) {
510
- Ue[s ? "unshift" : "push"](() => {
511
- M = s, n(5, M);
510
+ Fe[s ? "unshift" : "push"](() => {
511
+ L = s, n(5, L);
512
512
  });
513
513
  }
514
514
  return t.$$set = (s) => {
515
515
  "lang" in s && n(0, o = s.lang), "local" in s && n(17, i = s.local), "endpoint" in s && n(18, r = s.endpoint), "session" in s && n(19, l = s.session), "customerid" in s && n(20, m = s.customerid), "assetsurl" in s && n(1, u = s.assetsurl), "currency" in s && n(21, C = s.currency), "numberofmethodsshown" in s && n(22, E = s.numberofmethodsshown), "translationurl" in s && n(2, _ = s.translationurl), "clientstyling" in s && n(3, y = s.clientstyling), "clientstylingurl" in s && n(4, A = s.clientstylingurl), "ismobileview" in s && n(23, D = s.ismobileview);
516
516
  }, t.$$.update = () => {
517
517
  t.$$.dirty[0] & /*endpoint, session, customerid*/
518
- 1835008 && r && l && m && I(), t.$$.dirty[0] & /*lang*/
518
+ 1835008 && r && l && m && q(), t.$$.dirty[0] & /*lang*/
519
519
  1 && o && V(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
520
- 40 && y && M && be(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
521
- 48 && A && M && Me(), t.$$.dirty[0] & /*ismobileview*/
520
+ 40 && y && L && be(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
521
+ 48 && A && L && Le(), t.$$.dirty[0] & /*ismobileview*/
522
522
  8388608 && D && Q(), t.$$.dirty[0] & /*lang, translationurl*/
523
- 5 && o && _ && G();
523
+ 5 && o && _ && J();
524
524
  }, [
525
525
  o,
526
526
  u,
527
527
  _,
528
528
  y,
529
529
  A,
530
- M,
530
+ L,
531
531
  N,
532
532
  F,
533
- L,
534
- H,
533
+ M,
534
+ j,
535
535
  k,
536
536
  W,
537
537
  B,
538
538
  a,
539
- J,
540
- q,
539
+ G,
540
+ I,
541
541
  U,
542
542
  i,
543
543
  r,
@@ -546,19 +546,19 @@ function Ye(t, e, n) {
546
546
  C,
547
547
  E,
548
548
  D,
549
- Le,
549
+ Me,
550
550
  ve,
551
551
  _e
552
552
  ];
553
553
  }
554
- class Je extends Se {
554
+ class Ge extends Se {
555
555
  constructor(e) {
556
556
  super(), Ce(
557
557
  this,
558
558
  e,
559
559
  Ye,
560
- qe,
561
- Te,
560
+ Ie,
561
+ Ee,
562
562
  {
563
563
  lang: 0,
564
564
  local: 17,
@@ -573,7 +573,7 @@ class Je extends Se {
573
573
  clientstylingurl: 4,
574
574
  ismobileview: 23
575
575
  },
576
- Ie,
576
+ qe,
577
577
  [-1, -1]
578
578
  );
579
579
  }
@@ -650,7 +650,7 @@ class Je extends Se {
650
650
  this.$$set({ ismobileview: e }), v();
651
651
  }
652
652
  }
653
- Ee(Je, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
653
+ Ue(Ge, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
654
654
  export {
655
- Je as default
655
+ Ge as default
656
656
  };