@everymatrix/cashier-method-details 1.46.0 → 1.46.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-BeEK5pGj.cjs"),C=require("./CashierError-CxH7AHkC.cjs");function y(n,e){C.addMessages(n,e)}function O(n){C.init({fallbackLocale:"en"}),C.$locale.set(n)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}}};function q(n){t.append_styles(n,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const A=n=>({}),L=n=>({}),U=n=>({}),B=n=>({}),P=n=>({}),v=n=>({});function H(n){let e,i,a;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,u){t.insert(l,e,u),i||(a=t.listen(e,"click",n[5]),i=!0)},p:t.noop,d(l){l&&t.detach(e),i=!1,a()}}}function Z(n){let e,i=n[1]&&H(n);return{c(){i&&i.c(),e=t.empty()},m(a,l){i&&i.m(a,l),t.insert(a,e,l)},p(a,l){a[1]?i?i.p(a,l):(i=H(a),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(a){a&&t.detach(e),i&&i.d(a)}}}function D(n){let e,i=n[3](n[2])+"",a;return{c(){e=t.element("span"),a=t.text(i),t.attr(e,"class","CashierHeaderTitle")},m(l,u){t.insert(l,e,u),t.append(e,a)},p(l,u){u&12&&i!==(i=l[3](l[2])+"")&&t.set_data(a,i)},d(l){l&&t.detach(e)}}}function F(n){let e,i,a;return{c(){e=t.element("span"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(l,u){t.insert(l,e,u),i||(a=t.listen(e,"click",n[4]),i=!0)},p:t.noop,d(l){l&&t.detach(e),i=!1,a()}}}function I(n){let e,i,a,l;const u=n[13].leftButton,m=t.create_slot(u,n,n[12],v),r=m||Z(n),w=n[13].title,_=t.create_slot(w,n,n[12],B),c=_||D(n),d=n[13].rightButton,h=t.create_slot(d,n,n[12],L),g=h||F(n);return{c(){e=t.element("div"),r&&r.c(),i=t.space(),c&&c.c(),a=t.space(),g&&g.c(),t.attr(e,"class","CashierHeader")},m(s,f){t.insert(s,e,f),r&&r.m(e,null),t.append(e,i),c&&c.m(e,null),t.append(e,a),g&&g.m(e,null),n[14](e),l=!0},p(s,[f]){m?m.p&&(!l||f&4096)&&t.update_slot_base(m,u,s,s[12],l?t.get_slot_changes(u,s[12],f,P):t.get_all_dirty_from_scope(s[12]),v):r&&r.p&&(!l||f&2)&&r.p(s,l?f:-1),_?_.p&&(!l||f&4096)&&t.update_slot_base(_,w,s,s[12],l?t.get_slot_changes(w,s[12],f,U):t.get_all_dirty_from_scope(s[12]),B):c&&c.p&&(!l||f&12)&&c.p(s,l?f:-1),h&&h.p&&(!l||f&4096)&&t.update_slot_base(h,d,s,s[12],l?t.get_slot_changes(d,s[12],f,A):t.get_all_dirty_from_scope(s[12]),L)},i(s){l||(t.transition_in(r,s),t.transition_in(c,s),t.transition_in(g,s),l=!0)},o(s){t.transition_out(r,s),t.transition_out(c,s),t.transition_out(g,s),l=!1},d(s){s&&t.detach(e),r&&r.d(s),c&&c.d(s),g&&g.d(s),n[14](null)}}}function W(n,e,i){let a;t.component_subscribe(n,C.$format,o=>i(3,a=o));let{$$slots:l={},$$scope:u}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:_=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,h,g=!1,s;const f=()=>{let o=w;o&&fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(b=>{y(b,p[b])})}).catch(p=>{console.log(p)})};Object.keys(k).forEach(o=>{y(o,k[o])});const M=()=>{let o=document.createElement("style");o.innerHTML=m,h.appendChild(o)},E=()=>{let o=new URL(r),p=document.createElement("style");fetch(o.href).then(b=>b.text()).then(b=>{p.innerHTML=b,setTimeout(()=>{h.appendChild(p)},1)})},S=()=>{O(d)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},x=()=>{window.postMessage({type:"BackCashier"},window.location.href)},R=()=>{i(1,g=!!_&&_!=="false")},z=()=>{i(2,s=c||"header.general")};function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,i(0,h)})}return n.$$set=o=>{"clientstyling"in o&&i(6,m=o.clientstyling),"clientstylingurl"in o&&i(7,r=o.clientstylingurl),"translationurl"in o&&i(8,w=o.translationurl),"showbackbutton"in o&&i(9,_=o.showbackbutton),"title"in o&&i(10,c=o.title),"lang"in o&&i(11,d=o.lang),"$$scope"in o&&i(12,u=o.$$scope)},n.$$.update=()=>{n.$$.dirty&2048&&d&&S(),n.$$.dirty&3072&&d&&c&&z(),n.$$.dirty&65&&m&&h&&M(),n.$$.dirty&129&&r&&h&&E(),n.$$.dirty&2304&&d&&w&&f(),n.$$.dirty&512&&_&&R()},[h,g,s,a,j,x,m,r,w,_,c,d,u,l,N]}class T extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,I,t.safe_not_equal,{clientstyling:6,clientstylingurl:7,translationurl:8,showbackbutton:9,title:10,lang:11},q)}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[9]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[10]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-BeEK5pGj.cjs"),C=require("./CashierError-D28ahunz.cjs");function y(n,e){C.addMessages(n,e)}function O(n){C.init({fallbackLocale:"en"}),C.$locale.set(n)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}}};function q(n){t.append_styles(n,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const A=n=>({}),L=n=>({}),U=n=>({}),B=n=>({}),P=n=>({}),v=n=>({});function H(n){let e,i,a;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,u){t.insert(l,e,u),i||(a=t.listen(e,"click",n[5]),i=!0)},p:t.noop,d(l){l&&t.detach(e),i=!1,a()}}}function Z(n){let e,i=n[1]&&H(n);return{c(){i&&i.c(),e=t.empty()},m(a,l){i&&i.m(a,l),t.insert(a,e,l)},p(a,l){a[1]?i?i.p(a,l):(i=H(a),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(a){a&&t.detach(e),i&&i.d(a)}}}function D(n){let e,i=n[3](n[2])+"",a;return{c(){e=t.element("span"),a=t.text(i),t.attr(e,"class","CashierHeaderTitle")},m(l,u){t.insert(l,e,u),t.append(e,a)},p(l,u){u&12&&i!==(i=l[3](l[2])+"")&&t.set_data(a,i)},d(l){l&&t.detach(e)}}}function F(n){let e,i,a;return{c(){e=t.element("span"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(l,u){t.insert(l,e,u),i||(a=t.listen(e,"click",n[4]),i=!0)},p:t.noop,d(l){l&&t.detach(e),i=!1,a()}}}function I(n){let e,i,a,l;const u=n[13].leftButton,m=t.create_slot(u,n,n[12],v),r=m||Z(n),w=n[13].title,_=t.create_slot(w,n,n[12],B),c=_||D(n),d=n[13].rightButton,h=t.create_slot(d,n,n[12],L),g=h||F(n);return{c(){e=t.element("div"),r&&r.c(),i=t.space(),c&&c.c(),a=t.space(),g&&g.c(),t.attr(e,"class","CashierHeader")},m(s,f){t.insert(s,e,f),r&&r.m(e,null),t.append(e,i),c&&c.m(e,null),t.append(e,a),g&&g.m(e,null),n[14](e),l=!0},p(s,[f]){m?m.p&&(!l||f&4096)&&t.update_slot_base(m,u,s,s[12],l?t.get_slot_changes(u,s[12],f,P):t.get_all_dirty_from_scope(s[12]),v):r&&r.p&&(!l||f&2)&&r.p(s,l?f:-1),_?_.p&&(!l||f&4096)&&t.update_slot_base(_,w,s,s[12],l?t.get_slot_changes(w,s[12],f,U):t.get_all_dirty_from_scope(s[12]),B):c&&c.p&&(!l||f&12)&&c.p(s,l?f:-1),h&&h.p&&(!l||f&4096)&&t.update_slot_base(h,d,s,s[12],l?t.get_slot_changes(d,s[12],f,A):t.get_all_dirty_from_scope(s[12]),L)},i(s){l||(t.transition_in(r,s),t.transition_in(c,s),t.transition_in(g,s),l=!0)},o(s){t.transition_out(r,s),t.transition_out(c,s),t.transition_out(g,s),l=!1},d(s){s&&t.detach(e),r&&r.d(s),c&&c.d(s),g&&g.d(s),n[14](null)}}}function W(n,e,i){let a;t.component_subscribe(n,C.$format,o=>i(3,a=o));let{$$slots:l={},$$scope:u}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:_=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,h,g=!1,s;const f=()=>{let o=w;o&&fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(b=>{y(b,p[b])})}).catch(p=>{console.log(p)})};Object.keys(k).forEach(o=>{y(o,k[o])});const M=()=>{let o=document.createElement("style");o.innerHTML=m,h.appendChild(o)},E=()=>{let o=new URL(r),p=document.createElement("style");fetch(o.href).then(b=>b.text()).then(b=>{p.innerHTML=b,setTimeout(()=>{h.appendChild(p)},1)})},S=()=>{O(d)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},x=()=>{window.postMessage({type:"BackCashier"},window.location.href)},R=()=>{i(1,g=!!_&&_!=="false")},z=()=>{i(2,s=c||"header.general")};function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,i(0,h)})}return n.$$set=o=>{"clientstyling"in o&&i(6,m=o.clientstyling),"clientstylingurl"in o&&i(7,r=o.clientstylingurl),"translationurl"in o&&i(8,w=o.translationurl),"showbackbutton"in o&&i(9,_=o.showbackbutton),"title"in o&&i(10,c=o.title),"lang"in o&&i(11,d=o.lang),"$$scope"in o&&i(12,u=o.$$scope)},n.$$.update=()=>{n.$$.dirty&2048&&d&&S(),n.$$.dirty&3072&&d&&c&&z(),n.$$.dirty&65&&m&&h&&M(),n.$$.dirty&129&&r&&h&&E(),n.$$.dirty&2304&&d&&w&&f(),n.$$.dirty&512&&_&&R()},[h,g,s,a,j,x,m,r,w,_,c,d,u,l,N]}class T extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,I,t.safe_not_equal,{clientstyling:6,clientstylingurl:7,translationurl:8,showbackbutton:9,title:10,lang:11},q)}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[9]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[10]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
@@ -1,5 +1,5 @@
1
1
  import { S as J, b as K, f as b, c as Q, a as V, d as X, e as B, g as k, h as S, j as L, k as C, l as E, u as v, m as H, o as T, t as M, p as x, v as y, w as $, x as tt, y as et, z as nt, C as it, A as U, n as Z } from "./CashierConfirmModal-Ccz0Sdnq.js";
2
- import { a as lt, i as st, $ as at, b as ot } from "./CashierError-CujgVRnj.js";
2
+ import { a as lt, i as st, $ as at, b as ot } from "./CashierError-CHjWGH0v.js";
3
3
  function j(e, t) {
4
4
  lt(e, t);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { S as U, b as q, f as b, c as Z, a as F, d as P, g as p, h as H, E as c, D as R, j as C, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-Ccz0Sdnq.js";
2
- import { a as J, i as K, $ as Q } from "./CashierError-CujgVRnj.js";
1
+ import { S as U, b as q, f as C, c as Z, a as F, d as P, g as p, h as H, E as c, D as R, j as b, k, l as L, A as M, n as v, v as E, C as G } from "./CashierConfirmModal-Ccz0Sdnq.js";
2
+ import { a as J, i as K, $ as Q } from "./CashierError-CHjWGH0v.js";
3
3
  function T(i, e) {
4
4
  J(i, e);
5
5
  }
@@ -34,7 +34,7 @@ if (typeof window != "undefined") {
34
34
  }
35
35
  };
36
36
  };
37
- customElements.define = i(customElements.define), import("./CashierHeader-BjbX0y3M.js").then(({ default: e }) => {
37
+ customElements.define = i(customElements.define), import("./CashierHeader-DVKMYYOC.js").then(({ default: e }) => {
38
38
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
39
39
  });
40
40
  }
@@ -55,13 +55,13 @@ if (typeof window != "undefined") {
55
55
  });
56
56
  }
57
57
  function W(i) {
58
- P(i, "svelte-mxoveh", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 32px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
58
+ P(i, "svelte-10xutbi", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
59
59
  }
60
60
  function D(i) {
61
61
  let e, t, l;
62
62
  return {
63
63
  c() {
64
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', C(e, "slot", "leftButton"), C(e, "class", "CashierHeaderLeftButton");
64
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', b(e, "slot", "leftButton"), b(e, "class", "CashierHeaderLeftButton");
65
65
  },
66
66
  m(u, h) {
67
67
  k(u, e, h), t || (l = M(
@@ -81,7 +81,7 @@ function j(i) {
81
81
  let e, t, l;
82
82
  return {
83
83
  c() {
84
- e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', C(e, "slot", "rightButton"), C(e, "class", "CashierHeaderRightButton");
84
+ e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', b(e, "slot", "rightButton"), b(e, "class", "CashierHeaderRightButton");
85
85
  },
86
86
  m(u, h) {
87
87
  k(u, e, h), t || (l = M(
@@ -178,7 +178,7 @@ function X(i) {
178
178
  /*clientstyling*/
179
179
  i[4]
180
180
  ), R(d.src, g = /*iframeurl*/
181
- i[1]) || C(d, "src", g), C(d, "frameborder", "0"), C(e, "class", "CashierRedirectIframe");
181
+ i[1]) || b(d, "src", g), b(d, "frameborder", "0"), b(e, "class", "CashierRedirectIframe");
182
182
  },
183
183
  m(s, f) {
184
184
  k(s, e, f), L(e, t), a && a.m(t, null), L(t, l), r && r.m(t, null), L(e, u), o && o.m(e, null), L(e, h), L(e, d), i[12](e), w || (_ = M(
@@ -232,7 +232,7 @@ function X(i) {
232
232
  ), /*isLoading*/
233
233
  s[8] ? o ? o.p(s, f) : (o = I(s), o.c(), o.m(e, h)) : o && (o.d(1), o = null), f & /*iframeurl*/
234
234
  2 && !R(d.src, g = /*iframeurl*/
235
- s[1]) && C(d, "src", g);
235
+ s[1]) && b(d, "src", g);
236
236
  },
237
237
  i: v,
238
238
  o: v,
@@ -330,43 +330,43 @@ class x extends U {
330
330
  return this.$$.ctx[0];
331
331
  }
332
332
  set lang(e) {
333
- this.$$set({ lang: e }), b();
333
+ this.$$set({ lang: e }), C();
334
334
  }
335
335
  get iframeurl() {
336
336
  return this.$$.ctx[1];
337
337
  }
338
338
  set iframeurl(e) {
339
- this.$$set({ iframeurl: e }), b();
339
+ this.$$set({ iframeurl: e }), C();
340
340
  }
341
341
  get translationurl() {
342
342
  return this.$$.ctx[2];
343
343
  }
344
344
  set translationurl(e) {
345
- this.$$set({ translationurl: e }), b();
345
+ this.$$set({ translationurl: e }), C();
346
346
  }
347
347
  get showbackbutton() {
348
348
  return this.$$.ctx[3];
349
349
  }
350
350
  set showbackbutton(e) {
351
- this.$$set({ showbackbutton: e }), b();
351
+ this.$$set({ showbackbutton: e }), C();
352
352
  }
353
353
  get clientstyling() {
354
354
  return this.$$.ctx[4];
355
355
  }
356
356
  set clientstyling(e) {
357
- this.$$set({ clientstyling: e }), b();
357
+ this.$$set({ clientstyling: e }), C();
358
358
  }
359
359
  get clientstylingurl() {
360
360
  return this.$$.ctx[5];
361
361
  }
362
362
  set clientstylingurl(e) {
363
- this.$$set({ clientstylingurl: e }), b();
363
+ this.$$set({ clientstylingurl: e }), C();
364
364
  }
365
365
  get title() {
366
366
  return this.$$.ctx[6];
367
367
  }
368
368
  set title(e) {
369
- this.$$set({ title: e }), b();
369
+ this.$$set({ title: e }), C();
370
370
  }
371
371
  }
372
372
  Z(x, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-BeEK5pGj.cjs"),C=require("./CashierError-D28ahunz.cjs");function y(i,e){C.addMessages(i,e)}function S(i){C.init({fallbackLocale:"en"}),C.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"}};if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-Bw8l5TeD.cjs")).then(({default:e})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",e.element)})}if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-BYRAyXQ3.cjs")).then(({default:e})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",e.element)})}function q(i){t.append_styles(i,"svelte-10xutbi",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);height:calc(100% - var(--mmw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}function v(i){let e,n,s;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"slot","leftButton"),t.attr(e,"class","CashierHeaderLeftButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function k(i){let e,n,s;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"slot","rightButton"),t.attr(e,"class","CashierHeaderRightButton")},m(f,m){t.insert(f,e,m),n||(s=t.listen(e,"click",i[9]),n=!0)},p:t.noop,d(f){f&&t.detach(e),n=!1,s()}}}function E(i){let e;return{c(){e=t.element("cashier-spinner"),t.set_custom_element_data(e,"clientstylingurl",i[5]),t.set_custom_element_data(e,"clientstyling",i[4])},m(n,s){t.insert(n,e,s)},p(n,s){s&32&&t.set_custom_element_data(e,"clientstylingurl",n[5]),s&16&&t.set_custom_element_data(e,"clientstyling",n[4])},d(n){n&&t.detach(e)}}}function O(i){let e,n,s,f,m,d,g,_,w,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[8]&&E(i);return{c(){e=t.element("div"),n=t.element("cashier-header"),o&&o.c(),s=t.space(),a&&a.c(),f=t.space(),c&&c.c(),m=t.space(),d=t.element("iframe"),t.set_custom_element_data(n,"lang",i[0]),t.set_custom_element_data(n,"translationurl",i[2]),t.set_custom_element_data(n,"title",i[6]),t.set_custom_element_data(n,"showbackbutton",i[3]),t.set_custom_element_data(n,"clientstylingurl",i[5]),t.set_custom_element_data(n,"clientstyling",i[4]),t.src_url_equal(d.src,g=i[1])||t.attr(d,"src",g),t.attr(d,"frameborder","0"),t.attr(e,"class","CashierRedirectIframe")},m(r,u){t.insert(r,e,u),t.append(e,n),o&&o.m(n,null),t.append(n,s),a&&a.m(n,null),t.append(e,f),c&&c.m(e,null),t.append(e,m),t.append(e,d),i[12](e),_||(w=t.listen(d,"load",i[11]),_=!0)},p(r,[u]){r[3]&&r[3]!=="false"?o?o.p(r,u):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,u):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&t.set_custom_element_data(n,"lang",r[0]),u&4&&t.set_custom_element_data(n,"translationurl",r[2]),u&64&&t.set_custom_element_data(n,"title",r[6]),u&8&&t.set_custom_element_data(n,"showbackbutton",r[3]),u&32&&t.set_custom_element_data(n,"clientstylingurl",r[5]),u&16&&t.set_custom_element_data(n,"clientstyling",r[4]),r[8]?c?c.p(r,u):(c=E(r),c.c(),c.m(e,m)):c&&(c.d(1),c=null),u&2&&!t.src_url_equal(d.src,g=r[1])&&t.attr(d,"src",g)},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o&&o.d(),a&&a.d(),c&&c.d(),i[12](null),_=!1,w()}}}function j(i,e,n){let{lang:s="en"}=e,{iframeurl:f}=e,{translationurl:m=""}=e,{showbackbutton:d=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{title:w=""}=e,o=!0,a;const c=()=>{let l=m;if(l)return fetch(l).then(h=>h.json()).then(h=>{Object.keys(h).forEach(p=>{y(p,h[p])})}).catch(h=>{console.log(h)})};Object.keys(L).forEach(l=>{y(l,L[l])});const r=()=>{S(s)},u=()=>{let l=document.createElement("style");l.innerHTML=g,a.appendChild(l)},M=()=>{let l=new URL(_),h=document.createElement("style");fetch(l.href).then(p=>p.text()).then(p=>{h.innerHTML=p,setTimeout(()=>{a.appendChild(h)},1)})},B=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},b=l=>{l.target.src&&n(8,o=!1)},R=l=>b(l);function T(l){t.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(7,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"clientstyling"in l&&n(4,g=l.clientstyling),"clientstylingurl"in l&&n(5,_=l.clientstylingurl),"title"in l&&n(6,w=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&r(),i.$$.dirty&4&&m&&c(),i.$$.dirty&144&&g&&a&&u(),i.$$.dirty&160&&_&&a&&M()},[s,f,m,d,g,_,w,a,o,B,b,R,T]}class H extends t.SvelteComponent{constructor(e){super(),t.init(this,e,j,O,t.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,clientstyling:4,clientstylingurl:5,title:6},q)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),t.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(e){this.$$set({iframeurl:e}),t.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get title(){return this.$$.ctx[6]}set title(e){this.$$set({title:e}),t.flush()}}t.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;