@everymatrix/cashier-method-details 1.24.6 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -664,76 +664,76 @@ function Fn(t){let r,o,i,s,a,l,c,u,d,y,b,v;return{c(){r=m("div"),o=m("div"),i=m(
664
664
  function jn(t){let r,n,o,i,s,a,l,c;return{c(){r=m("div"),n=m("span"),o=b(/*text*/t[0]),i=g(),s=m("button"),a=b(/*button*/t[1]),this.c=e,w(r,"class","cashier-notifications")},m(e,u){p(e,r,u),h(r,n),h(n,o),h(r,i),h(r,s),h(s,a),l||(c=E(s,"click",/*notificationClick*/t[2]),l=!0)},p(e,[t]){/*text*/1&t&&C(o,/*text*/e[0]),/*button*/2&t&&C(a,/*button*/e[1])},i:e,o:e,d(e){e&&f(r),l=!1,c()}}}function Vn(e,t,r){let{text:n}=t,{button:o}=t;return e.$$set=e=>{"text"in e&&r(0,n=e.text),"button"in e&&r(1,o=e.button)},[n,o,()=>{dispatchEvent(new CustomEvent("notificationButtonClick",{bubbles:!0,cancelable:!0,composed:!0}))}]}!customElements.get("cashier-confirm-modal")&&customElements.define("cashier-confirm-modal",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.1)}.CashierModalWindow .CashierModalContainer{width:500px;display:flex;gap:20px;align-items:center;position:relative;padding:15px;min-height:200px;box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.1);justify-content:center;border-radius:10px;flex-direction:column;background-color:#fff}.CashierModalWindow .ModalOkBtn{color:#FFF;display:flex;align-items:center;justify-content:center;font-size:14px;font-style:normal;font-weight:400;height:46px;border-radius:50px;line-height:normal;border:none;background-color:rgb(126, 197, 30);width:100%;margin:12px 0;cursor:pointer}.CashierModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:-50px;right:-50px;padding:6px;border-radius:50%;color:#FFFFFF;background:rgba(84, 77, 77, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.CashierModalWindow .ModalCloseBtn svg{width:32px;height:32px}.CashierModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:30px}.CashierModalContainer .ModalCloseBtn{top:-30px;right:-30px}.CashierModalContainer .ModalCloseBtn svg{width:20px;height:20px}}",this.shadowRoot.appendChild(t),X(this,{target:this.shadowRoot,props:A(this.attributes),customElement:!0},Gn,Fn,i,{},null),e&&e.target&&p(e.target,this,e.anchor)}});!customElements.get("cashier-notifications")&&customElements.define("cashier-notifications",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='.cashier-notifications{position:absolute;margin:12px 0;background-color:rgb(17, 17, 17);color:rgb(255, 255, 255);display:flex;border-radius:4px;align-items:center;gap:12px;padding:12px 15px;min-height:65px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.cashier-notifications span,.cashier-notifications button{font-family:"Roboto", sans-serif;border:none;font-variant:normal}.cashier-notifications span{line-height:normal}.cashier-notifications button{color:rgb(126, 197, 30);background-color:rgb(17, 17, 17);cursor:pointer;font-size:14px;font-style:normal;font-weight:700}',this.shadowRoot.appendChild(t),X(this,{target:this.shadowRoot,props:A(this.attributes),customElement:!0},Vn,jn,i,{text:0,button:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),F()))}static get observedAttributes(){return["text","button"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),F()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),F()}});
665
665
  /* src/CashierMethodDetails.svelte generated by Svelte v3.59.2 */
666
666
  const{document:zn,window:Xn}=u;function Wn(e,t,r){const n=e.slice();return n[71]=t[r],n[72]=t,n[73]=r,n}function Kn(e,t,r){const n=e.slice();return n[74]=t[r],n}
667
- // (336:2) {#if isTranslationLoaded && selectedPaymentMethod.Name}
667
+ // (343:2) {#if selectedPaymentMethod.Name}
668
668
  function qn(e){let t,r,n,o,i,s,l,c,u,y,v,T,_,B,x,A,L,H,S,P=/*selectedPaymentMethod*/e[10].Label+"",M=/*mobileView*/e[8]&&Zn(e),O=!/*selectedPaymentMethod*/e[10].HideAmountField&&Yn(e),R=/*fields*/e[11],N=[];for(let t=0;t<R.length;t+=1)N[t]=yo(Wn(e,R,t));function k(e,t){/*isProcessingTxn*/
669
- return e[18]?bo:go}let I=k(e),$=I(e),D=/*showRetryNotification*/e[17]&&vo(e),U=/*showRedirectNotification*/e[15]&&Eo(e);return{c(){t=m("div"),r=m("form"),n=m("div"),o=m("div"),i=m("div"),s=m("img"),u=g(),y=m("div"),v=b(P),T=g(),M&&M.c(),_=g(),O&&O.c(),B=g();for(let e=0;e<N.length;e+=1)N[e].c();x=g(),$.c(),A=g(),D&&D.c(),L=g(),U&&U.c(),a(s.src,l=/*selectedPaymentMethod*/e[10].Logos[0].LogoUrl)||w(s,"src",l),w(s,"alt",c=/*selectedPaymentMethod*/e[10].Label),w(i,"class","SelectedLogoWrapper"),w(y,"class","SelectedLogoDescription"),w(o,"class","form-logo"),w(n,"class","FieldWrapper"),w(t,"class","MethodsDetails")},m(a,l){p(a,t,l),h(t,r),h(r,n),h(n,o),h(o,i),h(i,s),h(o,u),h(o,y),h(y,v),h(o,T),M&&M.m(o,null),h(n,_),O&&O.m(n,null),h(r,B);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(r,null);var c;h(r,x),$.m(r,null),h(r,A),D&&D.m(r,null),h(t,L),U&&U.m(t,null),H||(S=E(r,"submit",(c=/*prepareTxn*/e[23],function(e){
669
+ return e[18]?bo:go}let I=k(e),$=I(e),D=/*showRetryNotification*/e[17]&&vo(e),U=/*showRedirectNotification*/e[15]&&Eo(e);return{c(){t=m("div"),r=m("form"),n=m("div"),o=m("div"),i=m("div"),s=m("img"),u=g(),y=m("div"),v=b(P),T=g(),M&&M.c(),_=g(),O&&O.c(),B=g();for(let e=0;e<N.length;e+=1)N[e].c();x=g(),$.c(),A=g(),D&&D.c(),L=g(),U&&U.c(),a(s.src,l=/*selectedPaymentMethod*/e[10].Logos[0].LogoUrl)||w(s,"src",l),w(s,"alt",c=/*selectedPaymentMethod*/e[10].Label),w(i,"class","SelectedLogoWrapper"),w(y,"class","SelectedLogoDescription"),w(o,"class","form-logo"),w(n,"class","FieldWrapper"),w(t,"class","MethodsDetails")},m(a,l){p(a,t,l),h(t,r),h(r,n),h(n,o),h(o,i),h(i,s),h(o,u),h(o,y),h(y,v),h(o,T),M&&M.m(o,null),h(n,_),O&&O.m(n,null),h(r,B);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(r,null);var c;h(r,x),$.m(r,null),h(r,A),D&&D.m(r,null),h(t,L),U&&U.m(t,null),H||(S=E(r,"submit",(c=/*prepareTxn*/e[22],function(e){
670
670
  // @ts-ignore
671
- return e.preventDefault(),c.call(this,e)})),H=!0)},p(e,i){if(/*selectedPaymentMethod*/1024&i[0]&&!a(s.src,l=/*selectedPaymentMethod*/e[10].Logos[0].LogoUrl)&&w(s,"src",l),/*selectedPaymentMethod*/1024&i[0]&&c!==(c=/*selectedPaymentMethod*/e[10].Label)&&w(s,"alt",c),/*selectedPaymentMethod*/1024&i[0]&&P!==(P=/*selectedPaymentMethod*/e[10].Label+"")&&C(v,P),/*mobileView*/e[8]?M?M.p(e,i):(M=Zn(e),M.c(),M.m(o,null)):M&&(M.d(1),M=null),/*selectedPaymentMethod*/e[10].HideAmountField?O&&(O.d(1),O=null):O?O.p(e,i):(O=Yn(e),O.c(),O.m(n,null)),/*fields, FieldTypes, prepareFields, openedLookup, showLookup, openUrlInNewTab, qrCodeContainer, showField*/105912449&i[0]){let t;for(R=/*fields*/e[11],t=0;t<R.length;t+=1){const n=Wn(e,R,t);N[t]?N[t].p(n,i):(N[t]=yo(n),N[t].c(),N[t].m(r,x))}for(;t<N.length;t+=1)N[t].d(1);N.length=R.length}I===(I=k(e))&&$?$.p(e,i):($.d(1),$=I(e),$&&($.c(),$.m(r,A))),/*showRetryNotification*/e[17]?D?D.p(e,i):(D=vo(e),D.c(),D.m(r,null)):D&&(D.d(1),D=null),/*showRedirectNotification*/e[15]?U?U.p(e,i):(U=Eo(e),U.c(),U.m(t,null)):U&&(U.d(1),U=null)},d(e){e&&f(t),M&&M.d(),O&&O.d(),d(N,e),$.d(),D&&D.d(),U&&U.d(),H=!1,S()}}}
672
- // (347:12) {#if mobileView}
673
- function Zn(e){let t,r,n,o,i=/*$_*/e[21]("change")+"";return{c(){t=m("div"),r=b(i),w(t,"class","ChangePaymeth")},m(i,s){p(i,t,s),h(t,r),n||(o=E(t,"click",/*click_handler*/e[35]),n=!0)},p(e,t){/*$_*/2097152&t[0]&&i!==(i=/*$_*/e[21]("change")+"")&&C(r,i)},d(e){e&&f(t),n=!1,o()}}}
674
- // (351:10) {#if !selectedPaymentMethod.HideAmountField}
675
- function Yn(e){let t,r,n,o,i,s=/*$_*/e[21]("amountLabel")+"";function a(e,t){/*selectedPaymentMethod*/
676
- return e[10].IsAmountConfigurable?Jn:Qn}let l=a(e),c=l(e);return{c(){t=m("div"),r=m("label"),n=m("span"),o=b(s),i=g(),c.c(),w(n,"class","Required"),w(t,"class","Amount")},m(e,s){p(e,t,s),h(t,r),h(r,n),h(n,o),h(r,i),c.m(r,null)},p(e,t){/*$_*/2097152&t[0]&&s!==(s=/*$_*/e[21]("amountLabel")+"")&&C(o,s),l===(l=a(e))&&c?c.p(e,t):(c.d(1),c=l(e),c&&(c.c(),c.m(r,null)))},d(e){e&&f(t),c.d()}}}
677
- // (365:14) {:else}
671
+ return e.preventDefault(),c.call(this,e)})),H=!0)},p(e,i){if(/*selectedPaymentMethod*/1024&i[0]&&!a(s.src,l=/*selectedPaymentMethod*/e[10].Logos[0].LogoUrl)&&w(s,"src",l),/*selectedPaymentMethod*/1024&i[0]&&c!==(c=/*selectedPaymentMethod*/e[10].Label)&&w(s,"alt",c),/*selectedPaymentMethod*/1024&i[0]&&P!==(P=/*selectedPaymentMethod*/e[10].Label+"")&&C(v,P),/*mobileView*/e[8]?M?M.p(e,i):(M=Zn(e),M.c(),M.m(o,null)):M&&(M.d(1),M=null),/*selectedPaymentMethod*/e[10].HideAmountField?O&&(O.d(1),O=null):O?O.p(e,i):(O=Yn(e),O.c(),O.m(n,null)),/*fields, FieldTypes, prepareFields, openedLookup, showLookup, openUrlInNewTab, qrCodeContainer, showField*/52959361&i[0]){let t;for(R=/*fields*/e[11],t=0;t<R.length;t+=1){const n=Wn(e,R,t);N[t]?N[t].p(n,i):(N[t]=yo(n),N[t].c(),N[t].m(r,x))}for(;t<N.length;t+=1)N[t].d(1);N.length=R.length}I===(I=k(e))&&$?$.p(e,i):($.d(1),$=I(e),$&&($.c(),$.m(r,A))),/*showRetryNotification*/e[17]?D?D.p(e,i):(D=vo(e),D.c(),D.m(r,null)):D&&(D.d(1),D=null),/*showRedirectNotification*/e[15]?U?U.p(e,i):(U=Eo(e),U.c(),U.m(t,null)):U&&(U.d(1),U=null)},d(e){e&&f(t),M&&M.d(),O&&O.d(),d(N,e),$.d(),D&&D.d(),U&&U.d(),H=!1,S()}}}
672
+ // (354:12) {#if mobileView}
673
+ function Zn(e){let t,r,n,o,i=/*$_*/e[20]("change")+"";return{c(){t=m("div"),r=b(i),w(t,"class","ChangePaymeth")},m(i,s){p(i,t,s),h(t,r),n||(o=E(t,"click",/*click_handler*/e[34]),n=!0)},p(e,t){/*$_*/1048576&t[0]&&i!==(i=/*$_*/e[20]("change")+"")&&C(r,i)},d(e){e&&f(t),n=!1,o()}}}
674
+ // (358:10) {#if !selectedPaymentMethod.HideAmountField}
675
+ function Yn(e){let t,r,n,o,i,s=/*$_*/e[20]("amountLabel")+"";function a(e,t){/*selectedPaymentMethod*/
676
+ return e[10].IsAmountConfigurable?Jn:Qn}let l=a(e),c=l(e);return{c(){t=m("div"),r=m("label"),n=m("span"),o=b(s),i=g(),c.c(),w(n,"class","Required"),w(t,"class","Amount")},m(e,s){p(e,t,s),h(t,r),h(r,n),h(n,o),h(r,i),c.m(r,null)},p(e,t){/*$_*/1048576&t[0]&&s!==(s=/*$_*/e[20]("amountLabel")+"")&&C(o,s),l===(l=a(e))&&c?c.p(e,t):(c.d(1),c=l(e),c&&(c.c(),c.m(r,null)))},d(e){e&&f(t),c.d()}}}
677
+ // (372:14) {:else}
678
678
  function Qn(e){let t,r,n,o;return{c(){t=m("span"),r=b(/*amount*/e[1]),n=g(),o=b(/*currency*/e[5]),w(t,"class","NonConfigurableAmount")},m(e,i){p(e,t,i),h(t,r),h(t,n),h(t,o)},p(e,t){/*amount*/2&t[0]&&C(r,/*amount*/e[1]),/*currency*/32&t[0]&&C(o,/*currency*/e[5])},d(e){e&&f(t)}}}
679
- // (357:14) {#if selectedPaymentMethod.IsAmountConfigurable}
680
- function Jn(e){let t,r,n,o,i,s,a=/*selectedPaymentMethod*/e[10].DisplayCurrency&&eo(e);return{c(){t=m("input"),n=g(),a&&a.c(),o=v(),w(t,"type","number"),w(t,"placeholder",r=/*$_*/e[21]("amountPlaceholder"))},m(r,l){p(r,t,l),B(t,/*amount*/e[1]),p(r,n,l),a&&a.m(r,l),p(r,o,l),i||(s=E(t,"input",/*input_input_handler*/e[36]),i=!0)},p(e,n){/*$_*/2097152&n[0]&&r!==(r=/*$_*/e[21]("amountPlaceholder"))&&w(t,"placeholder",r),/*amount*/2&n[0]&&_(t.value)!==/*amount*/e[1]&&B(t,/*amount*/e[1]),/*selectedPaymentMethod*/e[10].DisplayCurrency?a?a.p(e,n):(a=eo(e),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(e){e&&f(t),e&&f(n),a&&a.d(e),e&&f(o),i=!1,s()}}}
681
- // (359:16) {#if selectedPaymentMethod.DisplayCurrency}
682
- function eo(e){let t,r,n,o,i=/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit?`${/*$_*/e[21]("generalMin")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit} ${/*currency*/e[5]}`:"",s=/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit?`/ ${/*$_*/e[21]("generalMax")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit} ${/*currency*/e[5]}`:"";return{c(){t=m("span"),r=b(i),n=g(),o=b(s),w(t,"class","AmountLimits")},m(e,i){p(e,t,i),h(t,r),h(t,n),h(t,o)},p(e,t){/*selectedPaymentMethod, $_, currency*/2098208&t[0]&&i!==(i=/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit?`${/*$_*/e[21]("generalMin")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit} ${/*currency*/e[5]}`:"")&&C(r,i),/*selectedPaymentMethod, $_, currency*/2098208&t[0]&&s!==(s=/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit?`/ ${/*$_*/e[21]("generalMax")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit} ${/*currency*/e[5]}`:"")&&C(o,s)},d(e){e&&f(t)}}}
683
- // (375:12) {#if showField(field)}
679
+ // (364:14) {#if selectedPaymentMethod.IsAmountConfigurable}
680
+ function Jn(e){let t,r,n,o,i,s,a=/*selectedPaymentMethod*/e[10].DisplayCurrency&&eo(e);return{c(){t=m("input"),n=g(),a&&a.c(),o=v(),w(t,"type","number"),w(t,"placeholder",r=/*$_*/e[20]("amountPlaceholder"))},m(r,l){p(r,t,l),B(t,/*amount*/e[1]),p(r,n,l),a&&a.m(r,l),p(r,o,l),i||(s=E(t,"input",/*input_input_handler*/e[35]),i=!0)},p(e,n){/*$_*/1048576&n[0]&&r!==(r=/*$_*/e[20]("amountPlaceholder"))&&w(t,"placeholder",r),/*amount*/2&n[0]&&_(t.value)!==/*amount*/e[1]&&B(t,/*amount*/e[1]),/*selectedPaymentMethod*/e[10].DisplayCurrency?a?a.p(e,n):(a=eo(e),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(e){e&&f(t),e&&f(n),a&&a.d(e),e&&f(o),i=!1,s()}}}
681
+ // (366:16) {#if selectedPaymentMethod.DisplayCurrency}
682
+ function eo(e){let t,r,n,o,i=/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit?`${/*$_*/e[20]("generalMin")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit} ${/*currency*/e[5]}`:"",s=/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit?`/ ${/*$_*/e[20]("generalMax")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit} ${/*currency*/e[5]}`:"";return{c(){t=m("span"),r=b(i),n=g(),o=b(s),w(t,"class","AmountLimits")},m(e,i){p(e,t,i),h(t,r),h(t,n),h(t,o)},p(e,t){/*selectedPaymentMethod, $_, currency*/1049632&t[0]&&i!==(i=/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit?`${/*$_*/e[20]("generalMin")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MinAmountLimit} ${/*currency*/e[5]}`:"")&&C(r,i),/*selectedPaymentMethod, $_, currency*/1049632&t[0]&&s!==(s=/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit?`/ ${/*$_*/e[20]("generalMax")} ${/*selectedPaymentMethod*/e[10].DisplayCurrency.MaxAmountLimit} ${/*currency*/e[5]}`:"")&&C(o,s)},d(e){e&&f(t)}}}
683
+ // (382:12) {#if showField(field)}
684
684
  function to(e){let t,r,n,o,i=/*field*/e[71].label&&/*field*/e[71].type!==/*FieldTypes*/e[0].Link&&/*field*/e[71].type!==/*FieldTypes*/e[0].Boolean&&ro(e),s=/*field*/e[71].description&&/*field*/e[71].description!==/*field*/e[71].label&&/*field*/e[71].type!==/*FieldTypes*/e[0].QRCode&&/*field*/e[71].type!==/*FieldTypes*/e[0].Boolean&&/*field*/e[71].type!==/*FieldTypes*/e[0].Link&&no(e);function a(e,t){/*field*/
685
685
  return e[71].type===/*FieldTypes*/e[0].Text?fo:/*field*/e[71].type===/*FieldTypes*/e[0].Number||/*field*/e[71].type===/*FieldTypes*/e[0].Money?po:/*field*/e[71].type===/*FieldTypes*/e[0].Password?ho:/*field*/e[71].type===/*FieldTypes*/e[0].Hidden?uo:/*field*/e[71].type===/*FieldTypes*/e[0].Lookup?co:/*field*/e[71].type===/*FieldTypes*/e[0].Boolean?lo:/*field*/e[71].type===/*FieldTypes*/e[0].QRCode?ao:/*field*/e[71].type===/*FieldTypes*/e[0].Link?so:/*field*/e[71].type===/*FieldTypes*/e[0].Label?io:oo}let l=a(e),c=l(e);return{c(){t=m("div"),r=m("label"),i&&i.c(),n=g(),s&&s.c(),o=g(),c.c(),w(t,"class","FieldWrapper"),x(t,"Hidden",/*field*/e[71].type===/*FieldTypes*/e[0].Hidden)},m(e,a){p(e,t,a),h(t,r),i&&i.m(r,null),h(r,n),s&&s.m(r,null),h(r,o),c.m(r,null)},p(e,u){/*field*/e[71].label&&/*field*/e[71].type!==/*FieldTypes*/e[0].Link&&/*field*/e[71].type!==/*FieldTypes*/e[0].Boolean?i?i.p(e,u):(i=ro(e),i.c(),i.m(r,n)):i&&(i.d(1),i=null),/*field*/e[71].description&&/*field*/e[71].description!==/*field*/e[71].label&&/*field*/e[71].type!==/*FieldTypes*/e[0].QRCode&&/*field*/e[71].type!==/*FieldTypes*/e[0].Boolean&&/*field*/e[71].type!==/*FieldTypes*/e[0].Link?s?s.p(e,u):(s=no(e),s.c(),s.m(r,o)):s&&(s.d(1),s=null),l===(l=a(e))&&c?c.p(e,u):(c.d(1),c=l(e),c&&(c.c(),c.m(r,null))),/*fields, FieldTypes*/2049&u[0]&&x(t,"Hidden",/*field*/e[71].type===/*FieldTypes*/e[0].Hidden)},d(e){e&&f(t),i&&i.d(),s&&s.d(),c.d()}}}
686
- // (378:16) {#if field.label && field.type !== FieldTypes.Link && field.type !== FieldTypes.Boolean}
686
+ // (385:16) {#if field.label && field.type !== FieldTypes.Link && field.type !== FieldTypes.Boolean}
687
687
  function ro(e){let t,r,n=/*field*/e[71].label+"";return{c(){t=m("span"),r=b(n),x(t,"Required",/*field*/e[71].isRequired)},m(e,n){p(e,t,n),h(t,r)},p(e,o){/*fields*/2048&o[0]&&n!==(n=/*field*/e[71].label+"")&&C(r,n),/*fields*/2048&o[0]&&x(t,"Required",/*field*/e[71].isRequired)},d(e){e&&f(t)}}}
688
- // (381:16) {#if field.description && field.description !== field.label && field.type !== FieldTypes.QRCode && field.type !== FieldTypes.Boolean && field.type !== FieldTypes.Link}
688
+ // (388:16) {#if field.description && field.description !== field.label && field.type !== FieldTypes.QRCode && field.type !== FieldTypes.Boolean && field.type !== FieldTypes.Link}
689
689
  function no(e){let t,r,n=/*field*/e[71].description+"";return{c(){t=m("span"),r=b(n),w(t,"class","Description")},m(e,n){p(e,t,n),h(t,r)},p(e,t){/*fields*/2048&t[0]&&n!==(n=/*field*/e[71].description+"")&&C(r,n)},d(e){e&&f(t)}}}
690
- // (421:16) {:else}
690
+ // (428:16) {:else}
691
691
  function oo(e){let t,r,n,o;function i(){
692
- /*input_input_handler_5*/e[46].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","text"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&t.value!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
693
- // (419:58)
692
+ /*input_input_handler_5*/e[45].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","text"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&t.value!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
693
+ // (426:58)
694
694
  function io(t){let r;return{c(){r=m("span"),w(r,"class","Label")},m(e,t){p(e,r,t)},p:e,d(e){e&&f(r)}}}
695
- // (417:57)
695
+ // (424:57)
696
696
  function so(e){let t,r=/*field*/e[71].descriptionWithLink+"";return{c(){t=m("span")},m(e,n){p(e,t,n),t.innerHTML=r},p(e,n){/*fields*/2048&n[0]&&r!==(r=/*field*/e[71].descriptionWithLink+"")&&(t.innerHTML=r)},d(e){e&&f(t)}}}
697
- // (413:59)
697
+ // (420:59)
698
698
  function ao(e){let t,r,n,o,i,s=/*field*/e[71].defaultValue+"";function a(){/*click_handler_3*/
699
- return e[45](/*field*/e[71])}return{c(){t=m("div"),r=m("div"),n=b(s),w(t,"class","QRCode")},m(s,l){p(s,t,l),h(t,r),h(r,n),
700
- /*div0_binding*/e[44](r),o||(i=E(t,"click",a),o=!0)},p(t,r){e=t,/*fields*/2048&r[0]&&s!==(s=/*field*/e[71].defaultValue+"")&&C(n,s)},d(r){r&&f(t)
701
- /*div0_binding*/,e[44](null),o=!1,i()}}}
702
- // (407:60)
699
+ return e[44](/*field*/e[71])}return{c(){t=m("div"),r=m("div"),n=b(s),w(t,"class","QRCode")},m(s,l){p(s,t,l),h(t,r),h(r,n),
700
+ /*div0_binding*/e[43](r),o||(i=E(t,"click",a),o=!0)},p(t,r){e=t,/*fields*/2048&r[0]&&s!==(s=/*field*/e[71].defaultValue+"")&&C(n,s)},d(r){r&&f(t)
701
+ /*div0_binding*/,e[43](null),o=!1,i()}}}
702
+ // (414:60)
703
703
  function lo(e){let t,r,n,o,i,s,a,l,c,u=/*field*/e[71].descriptionWithLink+"";function d(){
704
- /*input_change_handler*/e[43].call(r,/*field*/e[71])}return{c(){t=m("div"),r=m("input"),o=g(),i=m("span"),s=g(),a=m("span"),w(r,"type","checkbox"),w(r,"placeholder",n=/*field*/e[71].placeholder),w(i,"class","Checkmark"),w(a,"class","Description"),w(t,"class","Checkbox")},m(n,f){p(n,t,f),h(t,r),B(r,/*prepareFields*/e[12][/*field*/e[71].name]),h(t,o),h(t,i),h(t,s),h(t,a),a.innerHTML=u,l||(c=E(r,"change",d),l=!0)},p(t,o){e=t,/*fields*/2048&o[0]&&n!==(n=/*field*/e[71].placeholder)&&w(r,"placeholder",n),/*prepareFields, fields*/6144&o[0]&&B(r,/*prepareFields*/e[12][/*field*/e[71].name]),/*fields*/2048&o[0]&&u!==(u=/*field*/e[71].descriptionWithLink+"")&&(a.innerHTML=u)},d(e){e&&f(t),l=!1,c()}}}
705
- // (396:59)
704
+ /*input_change_handler*/e[42].call(r,/*field*/e[71])}return{c(){t=m("div"),r=m("input"),o=g(),i=m("span"),s=g(),a=m("span"),w(r,"type","checkbox"),w(r,"placeholder",n=/*field*/e[71].placeholder),w(i,"class","Checkmark"),w(a,"class","Description"),w(t,"class","Checkbox")},m(n,f){p(n,t,f),h(t,r),B(r,/*prepareFields*/e[12][/*field*/e[71].name]),h(t,o),h(t,i),h(t,s),h(t,a),a.innerHTML=u,l||(c=E(r,"change",d),l=!0)},p(t,o){e=t,/*fields*/2048&o[0]&&n!==(n=/*field*/e[71].placeholder)&&w(r,"placeholder",n),/*prepareFields, fields*/6144&o[0]&&B(r,/*prepareFields*/e[12][/*field*/e[71].name]),/*fields*/2048&o[0]&&u!==(u=/*field*/e[71].descriptionWithLink+"")&&(a.innerHTML=u)},d(e){e&&f(t),l=!1,c()}}}
705
+ // (403:59)
706
706
  function co(e){let t,r,n,o,i,s,a,l=/*prepareFields*/(e[12][/*field*/e[71].name]||"")+"";function c(...t){/*click_handler_1*/
707
- return e[41](/*index*/e[73],...t)}let u=/*field*/e[71].values,y=[];for(let t=0;t<u.length;t+=1)y[t]=mo(Kn(e,u,t));return{c(){t=m("div"),r=m("div"),n=b(l),o=g(),i=m("div");for(let e=0;e<y.length;e+=1)y[e].c();w(r,"class","Selected"),w(r,"id",/*index*/e[73]),w(i,"class","OptionList"),x(i,"Opened",/*openedLookup*/e[20]===/*index*/e[73]),w(t,"class","CustomSelect")},m(e,l){p(e,t,l),h(t,r),h(r,n),h(t,o),h(t,i);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(i,null);s||(a=E(r,"click",c),s=!0)},p(t,r){if(e=t,/*prepareFields, fields*/6144&r[0]&&l!==(l=/*prepareFields*/(e[12][/*field*/e[71].name]||"")+"")&&C(n,l),/*prepareFields, fields*/6144&r[0]){let t;for(u=/*field*/e[71].values,t=0;t<u.length;t+=1){const n=Kn(e,u,t);y[t]?y[t].p(n,r):(y[t]=mo(n),y[t].c(),y[t].m(i,null))}for(;t<y.length;t+=1)y[t].d(1);y.length=u.length}/*openedLookup*/1048576&r[0]&&x(i,"Opened",/*openedLookup*/e[20]===/*index*/e[73])},d(e){e&&f(t),d(y,e),s=!1,a()}}}
708
- // (393:59)
707
+ return e[40](/*index*/e[73],...t)}let u=/*field*/e[71].values,y=[];for(let t=0;t<u.length;t+=1)y[t]=mo(Kn(e,u,t));return{c(){t=m("div"),r=m("div"),n=b(l),o=g(),i=m("div");for(let e=0;e<y.length;e+=1)y[e].c();w(r,"class","Selected"),w(r,"id",/*index*/e[73]),w(i,"class","OptionList"),x(i,"Opened",/*openedLookup*/e[19]===/*index*/e[73]),w(t,"class","CustomSelect")},m(e,l){p(e,t,l),h(t,r),h(r,n),h(t,o),h(t,i);for(let e=0;e<y.length;e+=1)y[e]&&y[e].m(i,null);s||(a=E(r,"click",c),s=!0)},p(t,r){if(e=t,/*prepareFields, fields*/6144&r[0]&&l!==(l=/*prepareFields*/(e[12][/*field*/e[71].name]||"")+"")&&C(n,l),/*prepareFields, fields*/6144&r[0]){let t;for(u=/*field*/e[71].values,t=0;t<u.length;t+=1){const n=Kn(e,u,t);y[t]?y[t].p(n,r):(y[t]=mo(n),y[t].c(),y[t].m(i,null))}for(;t<y.length;t+=1)y[t].d(1);y.length=u.length}/*openedLookup*/524288&r[0]&&x(i,"Opened",/*openedLookup*/e[19]===/*index*/e[73])},d(e){e&&f(t),d(y,e),s=!1,a()}}}
708
+ // (400:59)
709
709
  function uo(e){let t,r,n,o;function i(){
710
- /*input_input_handler_4*/e[40].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","hidden"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
711
- // (390:61)
710
+ /*input_input_handler_4*/e[39].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","hidden"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
711
+ // (397:61)
712
712
  function ho(e){let t,r,n,o;function i(){
713
- /*input_input_handler_3*/e[39].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","password"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&t.value!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
714
- // (387:94)
713
+ /*input_input_handler_3*/e[38].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","password"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&t.value!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
714
+ // (394:94)
715
715
  function po(e){let t,r,n,o;function i(){
716
- /*input_input_handler_2*/e[38].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","number"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&_(t.value)!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
717
- // (384:16) {#if field.type === FieldTypes.Text}
716
+ /*input_input_handler_2*/e[37].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","number"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&_(t.value)!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
717
+ // (391:16) {#if field.type === FieldTypes.Text}
718
718
  function fo(e){let t,r,n,o;function i(){
719
- /*input_input_handler_1*/e[37].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","text"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&t.value!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
720
- // (400:22) {#each field.values as value}
721
- function mo(e){let t,r,n,o,i,s=/*value*/e[74].value+"";function a(){/*click_handler_2*/
722
- return e[42](/*field*/e[71],/*value*/e[74])}return{c(){t=m("div"),r=m("span"),n=b(s)},m(e,s){p(e,t,s),h(t,r),h(r,n),o||(i=E(t,"click",a),o=!0)},p(t,r){e=t,/*fields*/2048&r[0]&&s!==(s=/*value*/e[74].value+"")&&C(n,s)},d(e){e&&f(t),o=!1,i()}}}
723
- // (374:10) {#each fields as field, index}
724
- function yo(e){let t,r=/*showField*/e[26](/*field*/e[71]),n=r&&to(e);return{c(){n&&n.c(),t=v()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,o){/*fields*/2048&o[0]&&(r=/*showField*/e[26](/*field*/e[71])),r?n?n.p(e,o):(n=to(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
725
- // (436:8) {:else}
726
- function bo(e){let t,r,n,o,i,s=/*$_*/e[21]("processingButton")+"";return{c(){t=m("button"),r=y("svg"),n=y("path"),o=g(),i=b(s),w(n,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),w(n,"fill","white"),w(r,"class","ButtonSpinner"),w(r,"xmlns","http://www.w3.org/2000/svg"),w(r,"width","15"),w(r,"height","14"),w(r,"viewBox","0 0 15 14"),w(r,"fill","none"),w(t,"class","PrimaryButton")},m(e,s){p(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i)},p(e,t){/*$_*/2097152&t[0]&&s!==(s=/*$_*/e[21]("processingButton")+"")&&C(i,s)},d(e){e&&f(t)}}}
727
- // (428:8) {#if !isProcessingTxn}
728
- function go(e){let t,r,n,o,i,s,a,l,c,u,d=/*$_*/e[21]("makeDepositButton")+"",v=/*amount*/(e[1]||/*$_*/e[21]("amountPlaceholder"))+"";return{c(){t=m("button"),r=y("svg"),n=y("path"),o=g(),i=b(d),s=g(),a=m("span"),l=b(v),c=g(),u=b(/*currency*/e[5]),w(n,"fill-rule","evenodd"),w(n,"clip-rule","evenodd"),w(n,"d","M7.51564 0.574496C6.49714 0.733152 5.5928 1.46162 5.21164 2.43037C5.01714 2.92471 4.98674 3.24368 4.98671 4.78987L4.98668 5.99306L4.55336 6.00671C4.20693 6.01762 4.08258 6.03221 3.93336 6.07946C3.43136 6.23846 3.00318 6.58293 2.73943 7.04C2.70133 7.106 2.63639 7.256 2.59508 7.37334L2.52002 7.58665V13.9067L2.59268 14.12C2.6993 14.4331 2.83849 14.6518 3.09336 14.9067C3.34821 15.1615 3.56693 15.3007 3.88002 15.4073L4.09336 15.48H11.9067L12.12 15.4073C12.4331 15.3007 12.6518 15.1615 12.9067 14.9067C13.1616 14.6518 13.3007 14.4331 13.4074 14.12L13.48 13.9067V7.58665L13.405 7.37334C13.1846 6.74712 12.6999 6.27875 12.0667 6.08C11.9191 6.03371 11.7891 6.0184 11.4467 6.00696L11.0134 5.99253L11.0133 4.78959C11.0133 4.128 11.0008 3.45465 10.9855 3.29334C10.9257 2.66268 10.7188 2.13556 10.3497 1.67368C9.66549 0.817589 8.6023 0.405214 7.51564 0.574496ZM8.46436 1.58665C9.01596 1.7035 9.52999 2.11659 9.79758 2.65809C9.98521 3.03771 9.98202 3.00646 9.99305 4.58L10.003 6H5.99702L6.00699 4.58C6.01802 3.00646 6.01483 3.03771 6.20246 2.65809C6.31793 2.42446 6.43799 2.26065 6.61818 2.09103C6.89043 1.83468 7.21371 1.65496 7.52352 1.58775C7.74977 1.53865 8.23518 1.53809 8.46436 1.58665ZM11.9201 7.0955C12.0975 7.17871 12.2992 7.37412 12.3874 7.54806C12.4231 7.61846 12.465 7.75796 12.4805 7.85803C12.4993 7.97978 12.5061 8.97962 12.501 10.88L12.4934 13.72L12.4082 13.8997C12.26 14.2127 12.0016 14.419 11.6821 14.4796C11.4864 14.5167 4.51364 14.5167 4.31793 14.4796C3.99843 14.419 3.74008 14.2127 3.59183 13.8997L3.50668 13.72L3.49905 10.88C3.49393 8.97728 3.50074 7.97987 3.51964 7.85778C3.57627 7.49218 3.79218 7.21543 4.12918 7.0765L4.28002 7.01431L8.02668 7.0205L11.7734 7.02665L11.9201 7.0955Z"),w(n,"fill","white"),w(r,"class","ButtonLock"),w(r,"xmlns","http://www.w3.org/2000/svg"),w(r,"width","16"),w(r,"height","16"),w(r,"viewBox","0 0 16 16"),w(r,"fill","none"),w(a,"class","ButtonAmount"),w(t,"class","PrimaryButton"),w(t,"type","submit")},m(e,f){p(e,t,f),h(t,r),h(r,n),h(t,o),h(t,i),h(t,s),h(t,a),h(a,l),h(a,c),h(a,u)},p(e,t){/*$_*/2097152&t[0]&&d!==(d=/*$_*/e[21]("makeDepositButton")+"")&&C(i,d),/*amount, $_*/2097154&t[0]&&v!==(v=/*amount*/(e[1]||/*$_*/e[21]("amountPlaceholder"))+"")&&C(l,v),/*currency*/32&t[0]&&C(u,/*currency*/e[5])},d(e){e&&f(t)}}}
729
- // (444:8) {#if showRetryNotification}
730
- function vo(e){let t,r,n;return{c(){t=m("cashier-notifications"),T(t,"text",r=/*$_*/e[21]("retryText")),T(t,"button",n=/*$_*/e[21]("retryButton"))},m(e,r){p(e,t,r)},p(e,o){/*$_*/2097152&o[0]&&r!==(r=/*$_*/e[21]("retryText"))&&T(t,"text",r),/*$_*/2097152&o[0]&&n!==(n=/*$_*/e[21]("retryButton"))&&T(t,"button",n)},d(e){e&&f(t)}}}
731
- // (452:6) {#if showRedirectNotification}
732
- function Eo(e){let t,r,n,o,i,s,l,c,u,d,y,v,T,_,B=/*$_*/e[21]("redirectTitle")+"",x=/*$_*/e[21]("redirectMessage")+"",A=/*$_*/e[21]("backToPayment")+"";return{c(){t=m("div"),r=m("img"),o=g(),i=m("span"),s=b(B),l=g(),c=m("span"),u=b(x),d=g(),y=m("div"),v=b(A),a(r.src,n="//static.everymatrix.com/mmstage/cashier/assets/redirect.png")||w(r,"src","//static.everymatrix.com/mmstage/cashier/assets/redirect.png"),w(r,"alt",""),w(i,"class","RedirectionTitle"),w(c,"class","RedirectionMessage"),w(y,"class","RedirectionClose"),w(t,"class","RedirectionNotification")},m(n,a){p(n,t,a),h(t,r),h(t,o),h(t,i),h(i,s),h(t,l),h(t,c),h(c,u),h(t,d),h(t,y),h(y,v),T||(_=E(y,"click",/*click_handler_4*/e[47]),T=!0)},p(e,t){/*$_*/2097152&t[0]&&B!==(B=/*$_*/e[21]("redirectTitle")+"")&&C(s,B),/*$_*/2097152&t[0]&&x!==(x=/*$_*/e[21]("redirectMessage")+"")&&C(u,x),/*$_*/2097152&t[0]&&A!==(A=/*$_*/e[21]("backToPayment")+"")&&C(v,A)},d(e){e&&f(t),T=!1,_()}}}
733
- // (462:2) {#if redirectUrl && redirectMode === RedirectionModeStringEnum.Default}
719
+ /*input_input_handler_1*/e[36].call(t,/*field*/e[71])}return{c(){t=m("input"),w(t,"type","text"),w(t,"placeholder",r=/*field*/e[71].placeholder)},m(r,s){p(r,t,s),B(t,/*prepareFields*/e[12][/*field*/e[71].name]),n||(o=E(t,"input",i),n=!0)},p(n,o){e=n,/*fields*/2048&o[0]&&r!==(r=/*field*/e[71].placeholder)&&w(t,"placeholder",r),/*prepareFields, fields*/6144&o[0]&&t.value!==/*prepareFields*/e[12][/*field*/e[71].name]&&B(t,/*prepareFields*/e[12][/*field*/e[71].name])},d(e){e&&f(t),n=!1,o()}}}
720
+ // (407:22) {#each field.values as value}
721
+ function mo(e){let t,r,n,o,i,s=/*value*/e[74].Value+"";function a(){/*click_handler_2*/
722
+ return e[41](/*field*/e[71],/*value*/e[74])}return{c(){t=m("div"),r=m("span"),n=b(s)},m(e,s){p(e,t,s),h(t,r),h(r,n),o||(i=E(t,"click",a),o=!0)},p(t,r){e=t,/*fields*/2048&r[0]&&s!==(s=/*value*/e[74].Value+"")&&C(n,s)},d(e){e&&f(t),o=!1,i()}}}
723
+ // (381:10) {#each fields as field, index}
724
+ function yo(e){let t,r=/*showField*/e[25](/*field*/e[71]),n=r&&to(e);return{c(){n&&n.c(),t=v()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,o){/*fields*/2048&o[0]&&(r=/*showField*/e[25](/*field*/e[71])),r?n?n.p(e,o):(n=to(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
725
+ // (443:8) {:else}
726
+ function bo(e){let t,r,n,o,i,s=/*$_*/e[20]("processingButton")+"";return{c(){t=m("button"),r=y("svg"),n=y("path"),o=g(),i=b(s),w(n,"d","M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"),w(n,"fill","white"),w(r,"class","ButtonSpinner"),w(r,"xmlns","http://www.w3.org/2000/svg"),w(r,"width","15"),w(r,"height","14"),w(r,"viewBox","0 0 15 14"),w(r,"fill","none"),w(t,"class","PrimaryButton")},m(e,s){p(e,t,s),h(t,r),h(r,n),h(t,o),h(t,i)},p(e,t){/*$_*/1048576&t[0]&&s!==(s=/*$_*/e[20]("processingButton")+"")&&C(i,s)},d(e){e&&f(t)}}}
727
+ // (435:8) {#if !isProcessingTxn}
728
+ function go(e){let t,r,n,o,i,s,a,l,c,u,d=/*$_*/e[20]("makeDepositButton")+"",v=/*amount*/(e[1]||/*$_*/e[20]("amountPlaceholder"))+"";return{c(){t=m("button"),r=y("svg"),n=y("path"),o=g(),i=b(d),s=g(),a=m("span"),l=b(v),c=g(),u=b(/*currency*/e[5]),w(n,"fill-rule","evenodd"),w(n,"clip-rule","evenodd"),w(n,"d","M7.51564 0.574496C6.49714 0.733152 5.5928 1.46162 5.21164 2.43037C5.01714 2.92471 4.98674 3.24368 4.98671 4.78987L4.98668 5.99306L4.55336 6.00671C4.20693 6.01762 4.08258 6.03221 3.93336 6.07946C3.43136 6.23846 3.00318 6.58293 2.73943 7.04C2.70133 7.106 2.63639 7.256 2.59508 7.37334L2.52002 7.58665V13.9067L2.59268 14.12C2.6993 14.4331 2.83849 14.6518 3.09336 14.9067C3.34821 15.1615 3.56693 15.3007 3.88002 15.4073L4.09336 15.48H11.9067L12.12 15.4073C12.4331 15.3007 12.6518 15.1615 12.9067 14.9067C13.1616 14.6518 13.3007 14.4331 13.4074 14.12L13.48 13.9067V7.58665L13.405 7.37334C13.1846 6.74712 12.6999 6.27875 12.0667 6.08C11.9191 6.03371 11.7891 6.0184 11.4467 6.00696L11.0134 5.99253L11.0133 4.78959C11.0133 4.128 11.0008 3.45465 10.9855 3.29334C10.9257 2.66268 10.7188 2.13556 10.3497 1.67368C9.66549 0.817589 8.6023 0.405214 7.51564 0.574496ZM8.46436 1.58665C9.01596 1.7035 9.52999 2.11659 9.79758 2.65809C9.98521 3.03771 9.98202 3.00646 9.99305 4.58L10.003 6H5.99702L6.00699 4.58C6.01802 3.00646 6.01483 3.03771 6.20246 2.65809C6.31793 2.42446 6.43799 2.26065 6.61818 2.09103C6.89043 1.83468 7.21371 1.65496 7.52352 1.58775C7.74977 1.53865 8.23518 1.53809 8.46436 1.58665ZM11.9201 7.0955C12.0975 7.17871 12.2992 7.37412 12.3874 7.54806C12.4231 7.61846 12.465 7.75796 12.4805 7.85803C12.4993 7.97978 12.5061 8.97962 12.501 10.88L12.4934 13.72L12.4082 13.8997C12.26 14.2127 12.0016 14.419 11.6821 14.4796C11.4864 14.5167 4.51364 14.5167 4.31793 14.4796C3.99843 14.419 3.74008 14.2127 3.59183 13.8997L3.50668 13.72L3.49905 10.88C3.49393 8.97728 3.50074 7.97987 3.51964 7.85778C3.57627 7.49218 3.79218 7.21543 4.12918 7.0765L4.28002 7.01431L8.02668 7.0205L11.7734 7.02665L11.9201 7.0955Z"),w(n,"fill","white"),w(r,"class","ButtonLock"),w(r,"xmlns","http://www.w3.org/2000/svg"),w(r,"width","16"),w(r,"height","16"),w(r,"viewBox","0 0 16 16"),w(r,"fill","none"),w(a,"class","ButtonAmount"),w(t,"class","PrimaryButton"),w(t,"type","submit")},m(e,f){p(e,t,f),h(t,r),h(r,n),h(t,o),h(t,i),h(t,s),h(t,a),h(a,l),h(a,c),h(a,u)},p(e,t){/*$_*/1048576&t[0]&&d!==(d=/*$_*/e[20]("makeDepositButton")+"")&&C(i,d),/*amount, $_*/1048578&t[0]&&v!==(v=/*amount*/(e[1]||/*$_*/e[20]("amountPlaceholder"))+"")&&C(l,v),/*currency*/32&t[0]&&C(u,/*currency*/e[5])},d(e){e&&f(t)}}}
729
+ // (451:8) {#if showRetryNotification}
730
+ function vo(e){let t,r,n;return{c(){t=m("cashier-notifications"),T(t,"text",r=/*$_*/e[20]("retryText")),T(t,"button",n=/*$_*/e[20]("retryButton"))},m(e,r){p(e,t,r)},p(e,o){/*$_*/1048576&o[0]&&r!==(r=/*$_*/e[20]("retryText"))&&T(t,"text",r),/*$_*/1048576&o[0]&&n!==(n=/*$_*/e[20]("retryButton"))&&T(t,"button",n)},d(e){e&&f(t)}}}
731
+ // (459:6) {#if showRedirectNotification}
732
+ function Eo(e){let t,r,n,o,i,s,l,c,u,d,y,v,T,_,B=/*$_*/e[20]("redirectTitle")+"",x=/*$_*/e[20]("redirectMessage")+"",A=/*$_*/e[20]("backToPayment")+"";return{c(){t=m("div"),r=m("img"),o=g(),i=m("span"),s=b(B),l=g(),c=m("span"),u=b(x),d=g(),y=m("div"),v=b(A),a(r.src,n="//static.everymatrix.com/mmstage/cashier/assets/redirect.png")||w(r,"src","//static.everymatrix.com/mmstage/cashier/assets/redirect.png"),w(r,"alt",""),w(i,"class","RedirectionTitle"),w(c,"class","RedirectionMessage"),w(y,"class","RedirectionClose"),w(t,"class","RedirectionNotification")},m(n,a){p(n,t,a),h(t,r),h(t,o),h(t,i),h(i,s),h(t,l),h(t,c),h(c,u),h(t,d),h(t,y),h(y,v),T||(_=E(y,"click",/*click_handler_4*/e[46]),T=!0)},p(e,t){/*$_*/1048576&t[0]&&B!==(B=/*$_*/e[20]("redirectTitle")+"")&&C(s,B),/*$_*/1048576&t[0]&&x!==(x=/*$_*/e[20]("redirectMessage")+"")&&C(u,x),/*$_*/1048576&t[0]&&A!==(A=/*$_*/e[20]("backToPayment")+"")&&C(v,A)},d(e){e&&f(t),T=!1,_()}}}
733
+ // (469:2) {#if redirectUrl && redirectMode === RedirectionModeStringEnum.Default}
734
734
  function wo(e){let t,r;return{c(){t=m("div"),r=m("cashier-iframe-redirect"),T(r,"lang",/*lang*/e[3]),T(r,"translationurl",/*translationurl*/e[4]),T(r,"iframeurl",/*redirectUrl*/e[14]),w(t,"class","IframeRedirect")},m(e,n){p(e,t,n),h(t,r)},p(e,t){/*lang*/8&t[0]&&T(r,"lang",/*lang*/e[3]),/*translationurl*/16&t[0]&&T(r,"translationurl",/*translationurl*/e[4]),/*redirectUrl*/16384&t[0]&&T(r,"iframeurl",/*redirectUrl*/e[14])},d(e){e&&f(t)}}}
735
- // (471:2) {#if showConfirmModal}
736
- function To(e){let t,r,n,o,i,s,a,l,c,u,d,y=/*$_*/e[21]("confirmDepositText")+"",v=/*$_*/e[21]("confirmDepositButton")+"";return{c(){t=m("cashier-confirm-modal"),r=m("span"),n=b(y),o=g(),i=b(/*amount*/e[1]),s=g(),a=b(/*currency*/e[5]),l=b(" ?"),c=g(),u=m("div"),d=b(v),w(r,"slot","text"),w(u,"slot","confirm")},m(e,f){p(e,t,f),h(t,r),h(r,n),h(r,o),h(r,i),h(r,s),h(r,a),h(r,l),h(t,c),h(t,u),h(u,d)},p(e,t){/*$_*/2097152&t[0]&&y!==(y=/*$_*/e[21]("confirmDepositText")+"")&&C(n,y),/*amount*/2&t[0]&&C(i,/*amount*/e[1]),/*currency*/32&t[0]&&C(a,/*currency*/e[5]),/*$_*/2097152&t[0]&&v!==(v=/*$_*/e[21]("confirmDepositButton")+"")&&C(d,v)},d(e){e&&f(t)}}}function _o(t){let r,n,o,i,s,l,c,u;$(/*onwindowresize*/t[34]);let d=/*isTranslationLoaded*/t[19]&&/*selectedPaymentMethod*/t[10].Name&&qn(t),y=/*redirectUrl*/t[14]&&/*redirectMode*/t[16]===/*RedirectionModeStringEnum*/t[2].Default&&wo(t),b=/*showConfirmModal*/t[13]&&To(t);return{c(){r=m("script"),o=g(),i=m("div"),d&&d.c(),s=g(),y&&y.c(),l=g(),b&&b.c(),this.c=e,a(r.src,n=Co)||w(r,"src",n),w(i,"class","CashierMethodDetails")},m(e,n){h(zn.head,r),p(e,o,n),p(e,i,n),d&&d.m(i,null),h(i,s),y&&y.m(i,null),h(i,l),b&&b.m(i,null)
737
- /*div_binding*/,t[48](i),c||(u=E(Xn,"resize",/*onwindowresize*/t[34]),c=!0)},p(e,t){/*isTranslationLoaded*/e[19]&&/*selectedPaymentMethod*/e[10].Name?d?d.p(e,t):(d=qn(e),d.c(),d.m(i,s)):d&&(d.d(1),d=null),/*redirectUrl*/e[14]&&/*redirectMode*/e[16]===/*RedirectionModeStringEnum*/e[2].Default?y?y.p(e,t):(y=wo(e),y.c(),y.m(i,l)):y&&(y.d(1),y=null),/*showConfirmModal*/e[13]?b?b.p(e,t):(b=To(e),b.c(),b.m(i,null)):b&&(b.d(1),b=null)},i:e,o:e,d(e){f(r),e&&f(o),e&&f(i),d&&d.d(),y&&y.d(),b&&b.d()
738
- /*div_binding*/,t[48](null),c=!1,u()}}}let Co="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js";function Bo(e,t,r){let n;c(e,Rn,(e=>r(21,n=e)));class o{constructor(e){this.correlationFieldName=e.CorrelationFieldName||null,this.correlationFieldValue=e.CorrelationFieldValue&&e.CorrelationFieldValue.length>0?e.CorrelationFieldValue.split(","):[],this.name=e.Name||null,this.label=e.Label||null,this.description=e.Description||null,this.type=e.Type||null,this.defaultValue=this.calcDefaultValue(e),this.format=e.Format||null,this.placeholder=e.Placeholder||null,this.isReadonly=e.IsReadonly||!1,this.isRequired=e.IsRequired||!1,this.maxValue=e.MaxValue||null,this.minValue=e.MinValue||null,this.isPrimaryField=e.IsPrimaryField||!1,this.demandUserInput=e.DemandUserInput||!1,this.autoTrim=e.AutoTrim||!1,this.autoUppercase=e.AutoUppercase||!1,this.notEqualToFieldName=e.NotEqualToFieldName||null,this.values=e.Values,this.useCopyButton=e.UseCopyButton||!1,this.inputMask=e.InputMask,this.tags=e.Tags||null}calcDefaultValue(e){return 2===this.type?"True"===e.DefaultValue:e.DefaultValue||null}get descriptionWithLink(){if("Boolean"===i[this.type]&&this.placeholder||"Link"===i[this.type]){const e=/{link}/i,t=`<a href="${this.placeholder||this.defaultValue}" target="_blank" rel="noopener noreferrer">${this.label}</a>`;return this.description.match(e)?this.description.replace(e,t):`${this.description} ${t}`}return this.description}}let{FieldTypes:i}=t;!function(e){e.Unknown="Unknown",e.Text="Text",e.Boolean="Boolean",e.Number="Number",e.Money="Money",e.DateTime="DateTime",e.Lookup="Lookup",e.IpAddress="IpAddress",e.Date="Date",e.Time="Time",e.LookupCollection="LookupCollection",e.Hidden="Hidden",e.Label="Label",e.Password="Password",e.Link="Link",e.Image="Image",e.Html="Html",e.QRCode="QR"}(i||(i={}));let s,{endpoint:a}=t,{session:l}=t,{lang:u}=t,{translationurl:h}=t,{customerid:p}=t,{currency:f}=t,{amount:d}=t,{selectedpaymentmethodname:m}=t,{clientstyling:y=""}=t,{clientstylingurl:b=""}=t,{RedirectionModeStringEnum:g}=t;!function(e){e.Default="Default",e.RedirectWithRetry="Redirect"}(g||(g={}));let v,E,w,T,C,B,x,A,L,H,P,M={},R=[],N={},k=!1,I=[],$=!1,D=window.navigator.userAgent,U=window.matchMedia("(max-width: 750px)");const F=()=>{var e;e=u,dn.set(e)};Object.keys(kn).forEach((e=>{Nn(e,kn[e])}));var G;G=()=>(window.addEventListener("closeModal",q,!1),window.addEventListener("confirmModal",Z,!1),window.addEventListener("closeIframe",K,!1),window.addEventListener("notificationButtonClick",Y,!1),document.addEventListener("click",j),()=>{window.removeEventListener("closeModal",q),window.removeEventListener("confirmModal",Z),window.removeEventListener("closeIframe",K),window.removeEventListener("notificationButtonClick",Y)}),S().$$.on_mount.push(G);const j=e=>{e.composedPath().includes(H)||r(20,L=null)},V=(e,t)=>{t!==L?(H=e.composedPath()[0],r(20,L=t)):r(20,L=null)},z=()=>{dispatchEvent(new CustomEvent("backToMethodList",{bubbles:!0,cancelable:!0,composed:!0})),X()},X=()=>{dispatchEvent(new CustomEvent("hidePaymentDetails",{detail:{hideMethodDetails:$},bubbles:!0,cancelable:!0,composed:!0}))},W=()=>{dispatchEvent(new CustomEvent("hideMethodsList",{detail:{hideMethodsList:$},bubbles:!0,cancelable:!0,composed:!0}))},K=()=>{r(14,E=null)},q=()=>{r(13,k=!1)},Z=()=>{r(18,x=!0);const e=new URL(`${a}/v1/player/${p}/payment/GetPaymentConfirm`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json");const n={method:"POST",mode:"cors",headers:t,body:JSON.stringify({XPaymentSessionToken:s})};fetch(e,n).then((e=>e.json())).then((e=>{s=e.XPaymentSessionToken,r(14,E=e.RedirectUrl),r(16,C=e.RedirectionMode),r(18,x=!1),e.RedirectionMode===g.RedirectWithRetry&&(w=window.open(e.RedirectUrl,"_blank"),r(15,T=!!w),w||r(17,B=!0))}))},Y=()=>{w=window.open(E,"_blank"),r(15,T=!0),r(17,B=!1)},Q=e=>{e&&window.postMessage({type:"NavigateTo",path:e,target:"_blank",externalLink:!1},window.location.href)};return e.$$set=e=>{"FieldTypes"in e&&r(0,i=e.FieldTypes),"endpoint"in e&&r(28,a=e.endpoint),"session"in e&&r(29,l=e.session),"lang"in e&&r(3,u=e.lang),"translationurl"in e&&r(4,h=e.translationurl),"customerid"in e&&r(30,p=e.customerid),"currency"in e&&r(5,f=e.currency),"amount"in e&&r(1,d=e.amount),"selectedpaymentmethodname"in e&&r(31,m=e.selectedpaymentmethodname),"clientstyling"in e&&r(32,y=e.clientstyling),"clientstylingurl"in e&&r(33,b=e.clientstylingurl),"RedirectionModeStringEnum"in e&&r(2,g=e.RedirectionModeStringEnum)},e.$$.update=()=>{/*endpoint, session, currency*/805306400&e.$$.dirty[0]|/*selectedpaymentmethodname*/1&e.$$.dirty[1]&&a&&l&&m&&f&&(()=>{const e=new URL(`${a}/v1/player/${p}/payment/GetPaymentMethod`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json");const n={method:"POST",mode:"cors",headers:t,body:JSON.stringify({PaymentMethodName:m,Currency:f,XPaymentSessionToken:l})};fetch(e,n).then((e=>e.json())).then((e=>{s=e.XPaymentSessionToken,r(10,M=e.PaymentMethod),r(11,R=M.Fields&&M.Fields.map((e=>new o(e)))),r(12,N={}),W()}))})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstyling*/2&e.$$.dirty[1]&&y&&v&&(()=>{let e=document.createElement("style");e.innerHTML=y,v.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/4&e.$$.dirty[1]&&b&&v&&(()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{v.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*lang*/8&e.$$.dirty[0]&&u&&F(),/*lang, translationurl*/24&e.$$.dirty[0]&&u&&h&&(()=>{if(h)fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nn(t,e[t]),r(19,A=!0)}))})).catch((e=>{r(19,A=!0)}))})(),/*qrCodeContainer*/128&e.$$.dirty[0]|/*selectedpaymentmethodname*/1&e.$$.dirty[1]&&m&&I.length&&I.forEach((e=>{if(e&&e.innerText){const t=e.innerText;e.innerText="",new QRCode(e,{text:t,width:250,height:250})}})),/*innerWidth*/512&e.$$.dirty[0]&&P&&r(8,$=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(D)||U.matches),/*mobileView*/256&e.$$.dirty[0]&&$.toString()&&W()},[i,d,g,u,h,f,v,I,$,P,M,R,N,k,E,T,C,B,x,A,L,n,V,()=>{r(18,x=!0);const e=new URL(`${a}/v1/player/${p}/payment/GetPaymentPrepare`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json");const n={method:"POST",mode:"cors",headers:t,body:JSON.stringify({XPaymentSessionToken:s,Transaction:{PaymentMethod:M.Name,Amount:d,Currency:f,CustomFields:N},Account:{}})};fetch(e,n).then((e=>e.json())).then((e=>{s=e.XPaymentSessionToken,r(18,x=!1),r(13,k=!0)}))},z,Q,e=>!e.correlationFieldName||e.correlationFieldName&&N[e.correlationFieldName]===e.correlationFieldValue,o,a,l,p,m,y,b,function(){r(9,P=Xn.innerWidth)},()=>z(),function(){d=_(this.value),r(1,d)},function(e){N[e.name]=this.value,r(12,N)},function(e){N[e.name]=_(this.value),r(12,N)},function(e){N[e.name]=this.value,r(12,N)},function(e){N[e.name]=this.value,r(12,N)},(e,t)=>V(t,e),(e,t)=>{r(12,N[e.name]=t.name,N),r(11,R)},function(e){N[e.name]=this.value,r(12,N)},function(e){O[e?"unshift":"push"]((()=>{I[I.length]=e,r(7,I)}))},e=>{Q(e.description)},function(e){N[e.name]=this.value,r(12,N)},()=>{r(15,T=!1)},function(e){O[e?"unshift":"push"]((()=>{v=e,r(6,v)}))}]}class xo extends W{constructor(e){super();const t=document.createElement("style");t.textContent='@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.MethodsDetails{position:relative;display:flex;flex-direction:column;gap:5px}.MethodsDetails:has(.RedirectionNotification) form{visibility:hidden}.form-logo{align-items:center;display:flex;height:50px;border-bottom:1px solid var(--emw--color-gray-100, #E8E9EB)}.form-logo .SelectedLogoDescription{color:var(--emw--color-black, #111);font-size:var(--emw--font-size-small, 14px);margin:7px 5px 7px 7px;word-break:break-word}.form-logo .SelectedLogoWrapper{width:56px;height:32px;flex-shrink:0;background:var(--emw--color-background, #FFF);border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-large, 6px)}.form-logo .SelectedLogoWrapper img{max-height:32px;max-width:56px}.form-logo .ChangePaymeth{margin-left:auto;cursor:pointer;color:var(--emw--color-black, #111);font-size:var(--emw--font-size-small, 14px);text-decoration-line:underline}.RedirectionNotification{height:100%;width:inherit;position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.RedirectionNotification .RedirectionClose{display:flex;width:234px;height:36px;flex-direction:column;justify-content:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:500;line-height:normal;text-transform:uppercase;border-radius:4px;background:var(--emw--color-primary, #7EC51E)}.RedirectionNotification .RedirectionTitle{color:var(--emw--color-black, #111);font-size:var(--emw--font-size-x-small, 12px);font-style:normal;text-transform:none;font-weight:var(--emw--font-weight-bold, 600)}.RedirectionNotification .RedirectionMessage{color:var(--emw--color-gray-300, #666);font-size:var(--emw--font-size-x-small, 12px);font-style:normal;text-transform:none}cashier-iframe-redirect{height:inherit;width:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emw--color-gray-transparency-20, rgba(0, 0, 0, 0.2))}.FieldWrapper,label{display:flex;flex-direction:column}.FieldWrapper{background-color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));border-radius:6px;box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.1);padding:0 15px 15px;margin-bottom:10px}.FieldWrapper:has(.QRCode, .Label){box-shadow:none;background:transparent}.FieldWrapper.Hidden{height:0;visibility:hidden;margin:0;padding:0}.AmountLimits{color:var(--emw--color-gray-300, #666);font-size:var(--emw--font-size-x-small, 12px);margin:5px 0 0 2px;line-height:var(--emw--font-size-x-small, 12px)}input,.Selected{border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);height:40px;line-height:var(--emw--size-small, 14px);color:var(--emw--color-black, #111);padding:0 15px}input:focus,.Selected:focus{outline:none}label{color:var(--emw--color-black, #111);font-size:var(--emw--size-small, 14px);margin-top:7px;line-height:27px}label span.Required:before{content:"*";display:inline-block;margin-right:2px}.Description{color:var(--emw--color-gray-300, #666);font-size:var(--emw--font-size-x-small, 12px);margin:0 0 5px 2px;line-height:var(--emw--font-size-x-small, 12px)}.PrimaryButton{color:var(--emw--color-white, #FFF);text-align:center;font-size:var(--emw--font-size-small, 14px);font-style:normal;font-weight:400;height:46px;border-radius:50px;line-height:normal;border:none;background:var(--emw--color-primary, #7EC51E);width:100%;margin:12px 0;cursor:pointer;text-transform:uppercase}.PrimaryButton .ButtonSpinner{animation:loading-spinner 1s linear infinite}.QRCode{width:250px;margin:auto}.Checkbox{display:flex;position:relative;margin-top:12px}.Checkbox .Description{margin:0 0 0 20px;cursor:pointer;line-height:var(--emw--font-size-medium, 16px)}.Checkbox .Checkmark{position:absolute;top:2px;left:0;height:12px;width:12px;border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);background-color:var(--emw--color-white, #FFF);cursor:pointer}.Checkbox .Checkmark:after{content:"";position:absolute;display:none}.Checkbox .Checkmark:after{left:4px;top:0;width:2px;height:8px;border:solid var(--emw--color-white, #FFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.Checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Checkbox input:checked~.Checkmark{background-color:var(--emw--color-primary, #7EC51E);border-color:var(--emw--color-primary, #7EC51E)}.Checkbox input:checked~.Checkmark:after{display:block}.CustomSelect{width:100%;position:relative}.Selected{display:flex;align-items:center;cursor:pointer}.Selected:after{position:absolute;content:"";top:19px;right:10px;width:0;height:0;border:6px solid transparent;border-color:rgb(168, 169, 170) transparent transparent transparent}.OptionList{display:none;position:absolute;top:100%;left:0;right:0;z-index:99;background-color:white;border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin-top:5px}.OptionList div{padding:8px 16px;cursor:pointer;user-select:none}.OptionList div:hover{background-color:var(--emw--color-background-secondary, #F9F9F9)}.OptionList.Opened{display:block}',this.shadowRoot.appendChild(t),X(this,{target:this.shadowRoot,props:A(this.attributes),customElement:!0},Bo,_o,i,{PaymentMethodDetails:27,FieldTypes:0,endpoint:28,session:29,lang:3,translationurl:4,customerid:30,currency:5,amount:1,selectedpaymentmethodname:31,clientstyling:32,clientstylingurl:33,RedirectionModeStringEnum:2},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),F()))}static get observedAttributes(){return["PaymentMethodDetails","FieldTypes","endpoint","session","lang","translationurl","customerid","currency","amount","selectedpaymentmethodname","clientstyling","clientstylingurl","RedirectionModeStringEnum"]}get PaymentMethodDetails(){return this.$$.ctx[27]}get FieldTypes(){return this.$$.ctx[0]}set FieldTypes(e){this.$$set({FieldTypes:e}),F()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),F()}get session(){return this.$$.ctx[29]}set session(e){this.$$set({session:e}),F()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),F()}get translationurl(){return this.$$.ctx[4]}set translationurl(e){this.$$set({translationurl:e}),F()}get customerid(){return this.$$.ctx[30]}set customerid(e){this.$$set({customerid:e}),F()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),F()}get amount(){return this.$$.ctx[1]}set amount(e){this.$$set({amount:e}),F()}get selectedpaymentmethodname(){return this.$$.ctx[31]}set selectedpaymentmethodname(e){this.$$set({selectedpaymentmethodname:e}),F()}get clientstyling(){return this.$$.ctx[32]}set clientstyling(e){this.$$set({clientstyling:e}),F()}get clientstylingurl(){return this.$$.ctx[33]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),F()}get RedirectionModeStringEnum(){return this.$$.ctx[2]}set RedirectionModeStringEnum(e){this.$$set({RedirectionModeStringEnum:e}),F()}}return!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",xo),xo}));
735
+ // (478:2) {#if showConfirmModal}
736
+ function To(e){let t,r,n,o,i,s,a,l,c,u,d,y=/*$_*/e[20]("confirmDepositText")+"",v=/*$_*/e[20]("confirmDepositButton")+"";return{c(){t=m("cashier-confirm-modal"),r=m("span"),n=b(y),o=g(),i=b(/*amount*/e[1]),s=g(),a=b(/*currency*/e[5]),l=b(" ?"),c=g(),u=m("div"),d=b(v),w(r,"slot","text"),w(u,"slot","confirm")},m(e,f){p(e,t,f),h(t,r),h(r,n),h(r,o),h(r,i),h(r,s),h(r,a),h(r,l),h(t,c),h(t,u),h(u,d)},p(e,t){/*$_*/1048576&t[0]&&y!==(y=/*$_*/e[20]("confirmDepositText")+"")&&C(n,y),/*amount*/2&t[0]&&C(i,/*amount*/e[1]),/*currency*/32&t[0]&&C(a,/*currency*/e[5]),/*$_*/1048576&t[0]&&v!==(v=/*$_*/e[20]("confirmDepositButton")+"")&&C(d,v)},d(e){e&&f(t)}}}function _o(t){let r,n,o,i,s,l,c,u;$(/*onwindowresize*/t[33]);let d=/*selectedPaymentMethod*/t[10].Name&&qn(t),y=/*redirectUrl*/t[14]&&/*redirectMode*/t[16]===/*RedirectionModeStringEnum*/t[2].Default&&wo(t),b=/*showConfirmModal*/t[13]&&To(t);return{c(){r=m("script"),o=g(),i=m("div"),d&&d.c(),s=g(),y&&y.c(),l=g(),b&&b.c(),this.c=e,a(r.src,n=Co)||w(r,"src",n),w(i,"class","CashierMethodDetails")},m(e,n){h(zn.head,r),p(e,o,n),p(e,i,n),d&&d.m(i,null),h(i,s),y&&y.m(i,null),h(i,l),b&&b.m(i,null)
737
+ /*div_binding*/,t[47](i),c||(u=E(Xn,"resize",/*onwindowresize*/t[33]),c=!0)},p(e,t){/*selectedPaymentMethod*/e[10].Name?d?d.p(e,t):(d=qn(e),d.c(),d.m(i,s)):d&&(d.d(1),d=null),/*redirectUrl*/e[14]&&/*redirectMode*/e[16]===/*RedirectionModeStringEnum*/e[2].Default?y?y.p(e,t):(y=wo(e),y.c(),y.m(i,l)):y&&(y.d(1),y=null),/*showConfirmModal*/e[13]?b?b.p(e,t):(b=To(e),b.c(),b.m(i,null)):b&&(b.d(1),b=null)},i:e,o:e,d(e){f(r),e&&f(o),e&&f(i),d&&d.d(),y&&y.d(),b&&b.d()
738
+ /*div_binding*/,t[47](null),c=!1,u()}}}let Co="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js";function Bo(e,t,r){let n;c(e,Rn,(e=>r(20,n=e)));class o{constructor(e){this.correlationFieldName=e.CorrelationFieldName||null,this.correlationFieldValue=e.CorrelationFieldValue&&e.CorrelationFieldValue.length>0?e.CorrelationFieldValue.split(","):[],this.name=e.Name||null,this.label=e.Label||null,this.description=e.Description||null,this.type=e.Type||null,this.defaultValue=this.calcDefaultValue(e),this.format=e.Format||null,this.placeholder=e.Placeholder||null,this.isReadonly=e.IsReadonly||!1,this.isRequired=e.IsRequired||!1,this.maxValue=e.MaxValue||null,this.minValue=e.MinValue||null,this.isPrimaryField=e.IsPrimaryField||!1,this.demandUserInput=e.DemandUserInput||!1,this.autoTrim=e.AutoTrim||!1,this.autoUppercase=e.AutoUppercase||!1,this.notEqualToFieldName=e.NotEqualToFieldName||null,this.values=e.Values,this.useCopyButton=e.UseCopyButton||!1,this.inputMask=e.InputMask,this.tags=e.Tags||null}calcDefaultValue(e){return 2===this.type?"True"===e.DefaultValue:e.DefaultValue||null}get descriptionWithLink(){if("Boolean"===i[this.type]&&this.placeholder||"Link"===i[this.type]){const e=/{link}/i,t=`<a href="${this.placeholder||this.defaultValue}" target="_blank" rel="noopener noreferrer">${this.label}</a>`;return this.description.match(e)?this.description.replace(e,t):`${this.description} ${t}`}return this.description}}let{FieldTypes:i}=t;!function(e){e.Unknown="Unknown",e.Text="Text",e.Boolean="Boolean",e.Number="Number",e.Money="Money",e.DateTime="DateTime",e.Lookup="Lookup",e.IpAddress="IpAddress",e.Date="Date",e.Time="Time",e.LookupCollection="LookupCollection",e.Hidden="Hidden",e.Label="Label",e.Password="Password",e.Link="Link",e.Image="Image",e.Html="Html",e.QRCode="QR"}(i||(i={}));let s,{endpoint:a}=t,{session:l}=t,{lang:u}=t,{translationurl:h}=t,{customerid:p}=t,{currency:f}=t,{amount:d}=t,{selectedpaymentmethodname:m}=t,{clientstyling:y=""}=t,{clientstylingurl:b=""}=t,{RedirectionModeStringEnum:g}=t;!function(e){e.Default="Default",e.RedirectWithRetry="Redirect"}(g||(g={}));let v,E,w,T,C,B,x,A,L,H,P={},M=[],R={},N=!1,k=[],I=!1,$=window.navigator.userAgent,D=window.matchMedia("(max-width: 750px)");const U=()=>{var e;e=u,dn.set(e)};Object.keys(kn).forEach((e=>{Nn(e,kn[e])}));var F;F=()=>(window.addEventListener("closeModal",K,!1),window.addEventListener("confirmModal",q,!1),window.addEventListener("closeIframe",W,!1),window.addEventListener("notificationButtonClick",Z,!1),document.addEventListener("click",G),()=>{window.removeEventListener("closeModal",K),window.removeEventListener("confirmModal",q),window.removeEventListener("closeIframe",W),window.removeEventListener("notificationButtonClick",Z)}),S().$$.on_mount.push(F);const G=e=>{e.composedPath().includes(L)||r(19,A=null)},j=(e,t)=>{t!==A?(L=e.composedPath()[0],r(19,A=t)):r(19,A=null)},V=()=>{dispatchEvent(new CustomEvent("backToMethodList",{bubbles:!0,cancelable:!0,composed:!0})),z()},z=()=>{dispatchEvent(new CustomEvent("hidePaymentDetails",{detail:{hideMethodDetails:I},bubbles:!0,cancelable:!0,composed:!0}))},X=()=>{dispatchEvent(new CustomEvent("hideMethodsList",{detail:{hideMethodsList:I},bubbles:!0,cancelable:!0,composed:!0}))},W=()=>{r(14,E=null)},K=()=>{r(13,N=!1)},q=()=>{r(18,x=!0);const e=new URL(`${a}/v1/player/${p}/payment/GetPaymentConfirm`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json");const n={method:"POST",mode:"cors",headers:t,body:JSON.stringify({XPaymentSessionToken:s})};fetch(e,n).then((e=>e.json())).then((e=>{s=e.XPaymentSessionToken,r(14,E=e.RedirectUrl),r(16,C=e.RedirectionMode),r(18,x=!1),e.RedirectionMode===g.RedirectWithRetry&&(w=window.open(e.RedirectUrl,"_blank"),r(15,T=!!w),w||r(17,B=!0))}))},Z=()=>{w=window.open(E,"_blank"),r(15,T=!0),r(17,B=!1)},Y=e=>{e&&window.postMessage({type:"NavigateTo",path:e,target:"_blank",externalLink:!1},window.location.href)};return e.$$set=e=>{"FieldTypes"in e&&r(0,i=e.FieldTypes),"endpoint"in e&&r(27,a=e.endpoint),"session"in e&&r(28,l=e.session),"lang"in e&&r(3,u=e.lang),"translationurl"in e&&r(4,h=e.translationurl),"customerid"in e&&r(29,p=e.customerid),"currency"in e&&r(5,f=e.currency),"amount"in e&&r(1,d=e.amount),"selectedpaymentmethodname"in e&&r(30,m=e.selectedpaymentmethodname),"clientstyling"in e&&r(31,y=e.clientstyling),"clientstylingurl"in e&&r(32,b=e.clientstylingurl),"RedirectionModeStringEnum"in e&&r(2,g=e.RedirectionModeStringEnum)},e.$$.update=()=>{/*endpoint, session, selectedpaymentmethodname, currency*/1476395040&e.$$.dirty[0]&&a&&l&&m&&f&&(()=>{const e=new URL(`${a}/v1/player/${p}/payment/GetPaymentMethod`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json");const n={method:"POST",mode:"cors",headers:t,body:JSON.stringify({PaymentMethodName:m,Currency:f,XPaymentSessionToken:l})};fetch(e,n).then((e=>e.json())).then((e=>{s=e.XPaymentSessionToken,r(10,P=e.PaymentMethod),r(11,M=P.Fields&&P.Fields.map((e=>new o(e)))),r(12,R={}),X()}))})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstyling*/1&e.$$.dirty[1]&&y&&v&&(()=>{let e=document.createElement("style");e.innerHTML=y,v.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/2&e.$$.dirty[1]&&b&&v&&(()=>{let e=new URL(b),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{v.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*lang*/8&e.$$.dirty[0]&&u&&U(),/*lang, translationurl*/24&e.$$.dirty[0]&&u&&h&&(()=>{if(h)fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nn(t,e[t])}))})).catch((e=>{}))})(),/*selectedpaymentmethodname, qrCodeContainer*/1073741952&e.$$.dirty[0]&&m&&k.length&&k.forEach((e=>{if(e&&e.innerText){const t=e.innerText;e.innerText="",new QRCode(e,{text:t,width:250,height:250})}})),/*innerWidth*/512&e.$$.dirty[0]&&H&&r(8,I=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))($)||D.matches),/*mobileView*/256&e.$$.dirty[0]&&I.toString()&&X()},[i,d,g,u,h,f,v,k,I,H,P,M,R,N,E,T,C,B,x,A,n,j,()=>{r(18,x=!0);const e=new URL(`${a}/v1/player/${p}/payment/GetPaymentPrepare`),t=new Headers;t.append("accept","application/json"),t.append("Content-Type","application/json");const n={method:"POST",mode:"cors",headers:t,body:JSON.stringify({XPaymentSessionToken:s,Transaction:{PaymentMethod:P.Name,Amount:d,Currency:f,CustomFields:R},Account:{}})};fetch(e,n).then((e=>e.json())).then((e=>{s=e.XPaymentSessionToken,r(18,x=!1),r(13,N=!0)}))},V,Y,e=>{if(!e.correlationFieldName)return!0;const t=e.correlationFieldValue.includes(R[e.correlationFieldName]);return!t&&R[e.name]&&delete R[e.name],t},o,a,l,p,m,y,b,function(){r(9,H=Xn.innerWidth)},()=>V(),function(){d=_(this.value),r(1,d)},function(e){R[e.name]=this.value,r(12,R)},function(e){R[e.name]=_(this.value),r(12,R)},function(e){R[e.name]=this.value,r(12,R)},function(e){R[e.name]=this.value,r(12,R)},(e,t)=>j(t,e),(e,t)=>{r(12,R[e.name]=t.Name,R),r(11,M)},function(e){R[e.name]=this.value,r(12,R)},function(e){O[e?"unshift":"push"]((()=>{k[k.length]=e,r(7,k)}))},e=>{Y(e.description)},function(e){R[e.name]=this.value,r(12,R)},()=>{r(15,T=!1)},function(e){O[e?"unshift":"push"]((()=>{v=e,r(6,v)}))}]}class xo extends W{constructor(e){super();const t=document.createElement("style");t.textContent='@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.MethodsDetails{position:relative;display:flex;flex-direction:column;gap:5px}.MethodsDetails:has(.RedirectionNotification) form{visibility:hidden}.form-logo{align-items:center;display:flex;height:50px;border-bottom:1px solid var(--emw--color-gray-100, #E8E9EB)}.form-logo .SelectedLogoDescription{color:var(--emw--color-black, #111);font-size:var(--emw--font-size-small, 14px);margin:7px 5px 7px 7px;word-break:break-word}.form-logo .SelectedLogoWrapper{width:56px;height:32px;flex-shrink:0;background:var(--emw--color-background, #FFF);border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-large, 6px)}.form-logo .SelectedLogoWrapper img{max-height:32px;max-width:56px}.form-logo .ChangePaymeth{margin-left:auto;cursor:pointer;color:var(--emw--color-black, #111);font-size:var(--emw--font-size-small, 14px);text-decoration-line:underline}.RedirectionNotification{height:100%;width:inherit;position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.RedirectionNotification .RedirectionClose{display:flex;width:234px;height:36px;flex-direction:column;justify-content:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:500;line-height:normal;text-transform:uppercase;border-radius:4px;background:var(--emw--color-primary, #7EC51E)}.RedirectionNotification .RedirectionTitle{color:var(--emw--color-black, #111);font-size:var(--emw--font-size-x-small, 12px);font-style:normal;text-transform:none;font-weight:var(--emw--font-weight-bold, 600)}.RedirectionNotification .RedirectionMessage{color:var(--emw--color-gray-300, #666);font-size:var(--emw--font-size-x-small, 12px);font-style:normal;text-transform:none}cashier-iframe-redirect{height:inherit;width:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emw--color-gray-transparency-20, rgba(0, 0, 0, 0.2))}.FieldWrapper,label{display:flex;flex-direction:column}.FieldWrapper{background-color:var(--emw--color-gray-transparency-100, rgb(255, 255, 255));border-radius:6px;box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.1);padding:0 15px 15px;margin-bottom:10px}.FieldWrapper:has(.QRCode, .Label){box-shadow:none;background:transparent}.FieldWrapper.Hidden{height:0;visibility:hidden;margin:0;padding:0}.AmountLimits{color:var(--emw--color-gray-300, #666);font-size:var(--emw--font-size-x-small, 12px);margin:5px 0 0 2px;line-height:var(--emw--font-size-x-small, 12px)}input,.Selected{border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);height:40px;line-height:var(--emw--size-small, 14px);color:var(--emw--color-black, #111);padding:0 15px}input:focus,.Selected:focus{outline:none}label{color:var(--emw--color-black, #111);font-size:var(--emw--size-small, 14px);margin-top:7px;line-height:27px}label span.Required:before{content:"*";display:inline-block;margin-right:2px}.Description{color:var(--emw--color-gray-300, #666);font-size:var(--emw--font-size-x-small, 12px);margin:0 0 5px 2px;line-height:var(--emw--font-size-x-small, 12px)}.PrimaryButton{color:var(--emw--color-white, #FFF);text-align:center;font-size:var(--emw--font-size-small, 14px);font-style:normal;font-weight:400;height:46px;border-radius:50px;line-height:normal;border:none;background:var(--emw--color-primary, #7EC51E);width:100%;margin:12px 0;cursor:pointer;text-transform:uppercase}.PrimaryButton .ButtonSpinner{animation:loading-spinner 1s linear infinite}.QRCode{width:250px;margin:auto}.Checkbox{display:flex;position:relative;margin-top:12px}.Checkbox .Description{margin:0 0 0 20px;cursor:pointer;line-height:var(--emw--font-size-medium, 16px)}.Checkbox .Checkmark{position:absolute;top:2px;left:0;height:12px;width:12px;border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);background-color:var(--emw--color-white, #FFF);cursor:pointer}.Checkbox .Checkmark:after{content:"";position:absolute;display:none}.Checkbox .Checkmark:after{left:4px;top:0;width:2px;height:8px;border:solid var(--emw--color-white, #FFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.Checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Checkbox input:checked~.Checkmark{background-color:var(--emw--color-primary, #7EC51E);border-color:var(--emw--color-primary, #7EC51E)}.Checkbox input:checked~.Checkmark:after{display:block}.CustomSelect{width:100%;position:relative}.Selected{display:flex;align-items:center;cursor:pointer}.Selected:after{position:absolute;content:"";top:19px;right:10px;width:0;height:0;border:6px solid transparent;border-color:rgb(168, 169, 170) transparent transparent transparent}.OptionList{display:none;position:absolute;top:100%;left:0;right:0;z-index:99;background-color:white;border:1px solid var(--emw--color-gray-100, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin-top:5px}.OptionList div{padding:8px 16px;cursor:pointer;user-select:none}.OptionList div:hover{background-color:var(--emw--color-background-secondary, #F9F9F9)}.OptionList.Opened{display:block}',this.shadowRoot.appendChild(t),X(this,{target:this.shadowRoot,props:A(this.attributes),customElement:!0},Bo,_o,i,{PaymentMethodDetails:26,FieldTypes:0,endpoint:27,session:28,lang:3,translationurl:4,customerid:29,currency:5,amount:1,selectedpaymentmethodname:30,clientstyling:31,clientstylingurl:32,RedirectionModeStringEnum:2},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),F()))}static get observedAttributes(){return["PaymentMethodDetails","FieldTypes","endpoint","session","lang","translationurl","customerid","currency","amount","selectedpaymentmethodname","clientstyling","clientstylingurl","RedirectionModeStringEnum"]}get PaymentMethodDetails(){return this.$$.ctx[26]}get FieldTypes(){return this.$$.ctx[0]}set FieldTypes(e){this.$$set({FieldTypes:e}),F()}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$$set({endpoint:e}),F()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),F()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),F()}get translationurl(){return this.$$.ctx[4]}set translationurl(e){this.$$set({translationurl:e}),F()}get customerid(){return this.$$.ctx[29]}set customerid(e){this.$$set({customerid:e}),F()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),F()}get amount(){return this.$$.ctx[1]}set amount(e){this.$$set({amount:e}),F()}get selectedpaymentmethodname(){return this.$$.ctx[30]}set selectedpaymentmethodname(e){this.$$set({selectedpaymentmethodname:e}),F()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(e){this.$$set({clientstyling:e}),F()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),F()}get RedirectionModeStringEnum(){return this.$$.ctx[2]}set RedirectionModeStringEnum(e){this.$$set({RedirectionModeStringEnum:e}),F()}}return!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",xo),xo}));
739
739
  //# sourceMappingURL=cashier-method-details.js.map