@everymatrix/cashier-iframe-redirect 1.98.7 → 1.98.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-J5lMr-gE.cjs");function k(i,e){t.addMessages(i,e)}function x(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}},da:{header:{general:"Kasse",deposit:"Indbetaling",withdraw:"Udbetaling"}},de:{header:{general:"Kasse",deposit:"Einzahlung",withdraw:"Auszahlung"}},nl:{header:{general:"Kassa",deposit:"Storting",withdraw:"Opname"}},ru:{header:{general:"Касса",deposit:"Депозит",withdraw:"Вывод"}},az:{header:{general:"Kassa",deposit:"Depozit",withdraw:"Çıxarış"}}};function D(i){t.append_styles(i,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}")}const E=i=>({}),v=i=>({}),I=i=>({}),L=i=>({}),U=i=>({}),H=i=>({});function S(i){let e,n,o;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"><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"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,f){t.insert(s,e,f),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function q(i){let e,n=i[1]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function P(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,f){t.insert(s,e,f),t.append(e,o)},p(s,f){f&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function M(i){let e,n,o;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"><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"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(s,f){t.insert(s,e,f),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[3]&&M(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n,o,s;const f=i[16].leftButton,m=t.create_slot(f,i,i[15],H),r=m||q(i),w=i[16].title,g=t.create_slot(w,i,i[15],L),c=g||P(i),d=i[16].rightButton,_=t.create_slot(d,i,i[15],v),u=_||Z(i);return{c(){e=t.element("div"),r&&r.c(),n=t.space(),c&&c.c(),o=t.space(),u&&u.c(),t.attr(e,"class","CashierHeader")},m(l,h){t.insert(l,e,h),r&&r.m(e,null),t.append(e,n),c&&c.m(e,null),t.append(e,o),u&&u.m(e,null),i[17](e),s=!0},p(l,[h]){m?m.p&&(!s||h&32768)&&t.update_slot_base(m,f,l,l[15],s?t.get_slot_changes(f,l[15],h,U):t.get_all_dirty_from_scope(l[15]),H):r&&r.p&&(!s||h&2)&&r.p(l,s?h:-1),g?g.p&&(!s||h&32768)&&t.update_slot_base(g,w,l,l[15],s?t.get_slot_changes(w,l[15],h,I):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||h&20)&&c.p(l,s?h:-1),_?_.p&&(!s||h&32768)&&t.update_slot_base(_,d,l,l[15],s?t.get_slot_changes(d,l[15],h,E):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||h&8)&&u.p(l,s?h:-1)},i(l){s||(t.transition_in(r,l),t.transition_in(c,l),t.transition_in(u,l),s=!0)},o(l){t.transition_out(r,l),t.transition_out(c,l),t.transition_out(u,l),s=!1},d(l){l&&t.detach(e),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:f}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:g=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,{showclosebutton:_=""}=e,{mbsource:u=""}=e,l,h,b=!1,p,C=!1;const z=()=>{fetch(w).then(a=>a.json()).then(a=>{Object.keys(a).forEach(y=>{k(y,a[y])})}).catch(a=>{console.log(a)})};Object.keys(B).forEach(a=>{k(a,B[a])});const F=()=>{x(d)},R=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},j=()=>{window.postMessage({type:"BackCashier"},window.location.href)},A=()=>{n(1,b=!!g&&g!=="false")},N=()=>{n(3,C=!!_&&_!=="false")},O=()=>{n(2,p=c||"header.general")};t.onMount(()=>()=>{});function K(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,w=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,d=a.lang),"showclosebutton"in a&&n(13,_=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,f=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&d&&F(),i.$$.dirty&6144&&d&&c&&O(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&t.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&t.setStreamStyling(l,`${u}.Style`,h),i.$$.dirty&4608&&d&&w&&z(),i.$$.dirty&1024&&g&&A(),i.$$.dirty&8192&&_&&N()},[l,b,p,C,o,R,j,m,r,w,g,c,d,_,u,f,s,K]}class T extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,W,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},D)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
@@ -1,13 +1,13 @@
1
- import { a as X, i as $, $ as tt, S as et, b as st, s as nt, f as w, c as it, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as M, m as p, n as j, o as k, p as lt, q as at, r as U, v as ot, w as rt, x as ct, y as q, z as I, A as ut, B as ft, C as ht, D as gt, E as dt } from "./CashierIframeRedirect-CRUP1rm1.js";
2
- function N(s, t) {
1
+ import { a as X, i as $, $ as tt, S as et, b as st, s as it, f as m, c as nt, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as p, l as z, m as C, n as j, o as k, p as lt, q as at, r as U, v as ot, w as rt, x as ct, y as q, z as I, A as ut, B as ft, C as ht, D as gt, E as dt } from "./CashierIframeRedirect-BYu5hXxh.js";
2
+ function x(s, t) {
3
3
  X(s, t);
4
4
  }
5
- function _t(s) {
5
+ function wt(s) {
6
6
  $({
7
7
  fallbackLocale: "en"
8
8
  }), tt.set(s);
9
9
  }
10
- const R = {
10
+ const N = {
11
11
  en: {
12
12
  header: {
13
13
  general: "Cashier",
@@ -49,20 +49,34 @@ const R = {
49
49
  deposit: "Storting",
50
50
  withdraw: "Opname"
51
51
  }
52
+ },
53
+ ru: {
54
+ header: {
55
+ general: "Касса",
56
+ deposit: "Депозит",
57
+ withdraw: "Вывод"
58
+ }
59
+ },
60
+ az: {
61
+ header: {
62
+ general: "Kassa",
63
+ deposit: "Depozit",
64
+ withdraw: "Çıxarış"
65
+ }
52
66
  }
53
67
  };
54
- function mt(s) {
55
- it(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}");
68
+ function _t(s) {
69
+ nt(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}");
56
70
  }
57
- const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
58
- function D(s) {
71
+ const mt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), pt = (s) => ({}), E = (s) => ({});
72
+ function K(s) {
59
73
  let t, e, l;
60
74
  return {
61
75
  c() {
62
- t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
76
+ t = C("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
63
77
  },
64
- m(n, f) {
65
- C(n, t, f), e || (l = I(
78
+ m(i, f) {
79
+ p(i, t, f), e || (l = I(
66
80
  t,
67
81
  "click",
68
82
  /*back*/
@@ -70,26 +84,26 @@ function D(s) {
70
84
  ), e = !0);
71
85
  },
72
86
  p: q,
73
- d(n) {
74
- n && b(t), e = !1, l();
87
+ d(i) {
88
+ i && b(t), e = !1, l();
75
89
  }
76
90
  };
77
91
  }
78
- function pt(s) {
92
+ function Ct(s) {
79
93
  let t, e = (
80
94
  /*backButton*/
81
- s[1] && D(s)
95
+ s[1] && K(s)
82
96
  );
83
97
  return {
84
98
  c() {
85
99
  e && e.c(), t = U();
86
100
  },
87
- m(l, n) {
88
- e && e.m(l, n), C(l, t, n);
101
+ m(l, i) {
102
+ e && e.m(l, i), p(l, t, i);
89
103
  },
90
- p(l, n) {
104
+ p(l, i) {
91
105
  /*backButton*/
92
- l[1] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
106
+ l[1] ? e ? e.p(l, i) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
93
107
  },
94
108
  d(l) {
95
109
  l && b(t), e && e.d(l);
@@ -106,32 +120,32 @@ function kt(s) {
106
120
  ), l;
107
121
  return {
108
122
  c() {
109
- t = p("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
123
+ t = C("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
110
124
  },
111
- m(n, f) {
112
- C(n, t, f), M(t, l);
125
+ m(i, f) {
126
+ p(i, t, f), z(t, l);
113
127
  },
114
- p(n, f) {
128
+ p(i, f) {
115
129
  f & /*$_, titleText*/
116
130
  20 && e !== (e = /*$_*/
117
- n[4](
131
+ i[4](
118
132
  /*titleText*/
119
- n[2]
133
+ i[2]
120
134
  ) + "") && ot(l, e);
121
135
  },
122
- d(n) {
123
- n && b(t);
136
+ d(i) {
137
+ i && b(t);
124
138
  }
125
139
  };
126
140
  }
127
- function K(s) {
141
+ function O(s) {
128
142
  let t, e, l;
129
143
  return {
130
144
  c() {
131
- t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
145
+ t = C("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
132
146
  },
133
- m(n, f) {
134
- C(n, t, f), e || (l = I(
147
+ m(i, f) {
148
+ p(i, t, f), e || (l = I(
135
149
  t,
136
150
  "click",
137
151
  /*close*/
@@ -139,26 +153,26 @@ function K(s) {
139
153
  ), e = !0);
140
154
  },
141
155
  p: q,
142
- d(n) {
143
- n && b(t), e = !1, l();
156
+ d(i) {
157
+ i && b(t), e = !1, l();
144
158
  }
145
159
  };
146
160
  }
147
161
  function yt(s) {
148
162
  let t, e = (
149
163
  /*closeButton*/
150
- s[3] && K(s)
164
+ s[3] && O(s)
151
165
  );
152
166
  return {
153
167
  c() {
154
168
  e && e.c(), t = U();
155
169
  },
156
- m(l, n) {
157
- e && e.m(l, n), C(l, t, n);
170
+ m(l, i) {
171
+ e && e.m(l, i), p(l, t, i);
158
172
  },
159
- p(l, n) {
173
+ p(l, i) {
160
174
  /*closeButton*/
161
- l[3] ? e ? e.p(l, n) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
175
+ l[3] ? e ? e.p(l, i) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
162
176
  },
163
177
  d(l) {
164
178
  l && b(t), e && e.d(l);
@@ -166,25 +180,25 @@ function yt(s) {
166
180
  };
167
181
  }
168
182
  function Bt(s) {
169
- let t, e, l, n;
183
+ let t, e, l, i;
170
184
  const f = (
171
185
  /*#slots*/
172
186
  s[16].leftButton
173
- ), _ = y(
187
+ ), w = y(
174
188
  f,
175
189
  s,
176
190
  /*$$scope*/
177
191
  s[15],
178
- O
179
- ), o = _ || pt(s), m = (
192
+ E
193
+ ), o = w || Ct(s), _ = (
180
194
  /*#slots*/
181
195
  s[16].title
182
196
  ), h = y(
183
- m,
197
+ _,
184
198
  s,
185
199
  /*$$scope*/
186
200
  s[15],
187
- E
201
+ D
188
202
  ), r = h || kt(s), g = (
189
203
  /*#slots*/
190
204
  s[16].rightButton
@@ -193,152 +207,152 @@ function Bt(s) {
193
207
  s,
194
208
  /*$$scope*/
195
209
  s[15],
196
- x
210
+ R
197
211
  ), c = d || yt(s);
198
212
  return {
199
213
  c() {
200
- t = p("div"), o && o.c(), e = j(), r && r.c(), l = j(), c && c.c(), k(t, "class", "CashierHeader");
214
+ t = C("div"), o && o.c(), e = j(), r && r.c(), l = j(), c && c.c(), k(t, "class", "CashierHeader");
201
215
  },
202
- m(i, u) {
203
- C(i, t, u), o && o.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), n = !0;
216
+ m(n, u) {
217
+ p(n, t, u), o && o.m(t, null), z(t, e), r && r.m(t, null), z(t, l), c && c.m(t, null), s[17](t), i = !0;
204
218
  },
205
- p(i, [u]) {
206
- _ ? _.p && (!n || u & /*$$scope*/
219
+ p(n, [u]) {
220
+ w ? w.p && (!i || u & /*$$scope*/
207
221
  32768) && L(
208
- _,
222
+ w,
209
223
  f,
210
- i,
224
+ n,
211
225
  /*$$scope*/
212
- i[15],
213
- n ? S(
226
+ n[15],
227
+ i ? S(
214
228
  f,
215
229
  /*$$scope*/
216
- i[15],
230
+ n[15],
217
231
  u,
218
- Ct
232
+ pt
219
233
  ) : H(
220
234
  /*$$scope*/
221
- i[15]
235
+ n[15]
222
236
  ),
223
- O
224
- ) : o && o.p && (!n || u & /*backButton*/
225
- 2) && o.p(i, n ? u : -1), h ? h.p && (!n || u & /*$$scope*/
237
+ E
238
+ ) : o && o.p && (!i || u & /*backButton*/
239
+ 2) && o.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
226
240
  32768) && L(
227
241
  h,
228
- m,
229
- i,
242
+ _,
243
+ n,
230
244
  /*$$scope*/
231
- i[15],
232
- n ? S(
233
- m,
245
+ n[15],
246
+ i ? S(
247
+ _,
234
248
  /*$$scope*/
235
- i[15],
249
+ n[15],
236
250
  u,
237
251
  bt
238
252
  ) : H(
239
253
  /*$$scope*/
240
- i[15]
254
+ n[15]
241
255
  ),
242
- E
243
- ) : r && r.p && (!n || u & /*$_, titleText*/
244
- 20) && r.p(i, n ? u : -1), d ? d.p && (!n || u & /*$$scope*/
256
+ D
257
+ ) : r && r.p && (!i || u & /*$_, titleText*/
258
+ 20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
245
259
  32768) && L(
246
260
  d,
247
261
  g,
248
- i,
262
+ n,
249
263
  /*$$scope*/
250
- i[15],
251
- n ? S(
264
+ n[15],
265
+ i ? S(
252
266
  g,
253
267
  /*$$scope*/
254
- i[15],
268
+ n[15],
255
269
  u,
256
- wt
270
+ mt
257
271
  ) : H(
258
272
  /*$$scope*/
259
- i[15]
273
+ n[15]
260
274
  ),
261
- x
262
- ) : c && c.p && (!n || u & /*closeButton*/
263
- 8) && c.p(i, n ? u : -1);
275
+ R
276
+ ) : c && c.p && (!i || u & /*closeButton*/
277
+ 8) && c.p(n, i ? u : -1);
264
278
  },
265
- i(i) {
266
- n || (v(o, i), v(r, i), v(c, i), n = !0);
279
+ i(n) {
280
+ i || (v(o, n), v(r, n), v(c, n), i = !0);
267
281
  },
268
- o(i) {
269
- B(o, i), B(r, i), B(c, i), n = !1;
282
+ o(n) {
283
+ B(o, n), B(r, n), B(c, n), i = !1;
270
284
  },
271
- d(i) {
272
- i && b(t), o && o.d(i), r && r.d(i), c && c.d(i), s[17](null);
285
+ d(n) {
286
+ n && b(t), o && o.d(n), r && r.d(n), c && c.d(n), s[17](null);
273
287
  }
274
288
  };
275
289
  }
276
290
  function vt(s, t, e) {
277
291
  let l;
278
292
  lt(s, dt, (a) => e(4, l = a));
279
- let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, i, u, T = !1, F, z = !1;
293
+ let { $$slots: i = {}, $$scope: f } = t, { clientstyling: w = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, M = !1, T, F = !1;
280
294
  const Z = () => {
281
- fetch(m).then((a) => a.json()).then((a) => {
295
+ fetch(_).then((a) => a.json()).then((a) => {
282
296
  Object.keys(a).forEach((A) => {
283
- N(A, a[A]);
297
+ x(A, a[A]);
284
298
  });
285
299
  }).catch((a) => {
286
300
  console.log(a);
287
301
  });
288
302
  };
289
- Object.keys(R).forEach((a) => {
290
- N(a, R[a]);
303
+ Object.keys(N).forEach((a) => {
304
+ x(a, N[a]);
291
305
  });
292
306
  const P = () => {
293
- _t(g);
307
+ wt(g);
294
308
  }, W = () => {
295
309
  window.postMessage({ type: "CloseCashier" }, window.location.href);
296
310
  }, Y = () => {
297
311
  window.postMessage({ type: "BackCashier" }, window.location.href);
298
312
  }, G = () => {
299
- e(1, T = !!h && h !== "false");
313
+ e(1, M = !!h && h !== "false");
300
314
  }, J = () => {
301
- e(3, z = !!d && d !== "false");
315
+ e(3, F = !!d && d !== "false");
302
316
  }, Q = () => {
303
- e(2, F = r || "header.general");
317
+ e(2, T = r || "header.general");
304
318
  };
305
319
  at(() => () => {
306
320
  });
307
321
  function V(a) {
308
322
  ct[a ? "unshift" : "push"](() => {
309
- i = a, e(0, i);
323
+ n = a, e(0, n);
310
324
  });
311
325
  }
312
326
  return s.$$set = (a) => {
313
- "clientstyling" in a && e(7, _ = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, m = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
327
+ "clientstyling" in a && e(7, w = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, _ = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
314
328
  }, s.$$.update = () => {
315
329
  s.$$.dirty & /*lang*/
316
330
  4096 && g && P(), s.$$.dirty & /*lang, title*/
317
331
  6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
318
- 129 && _ && i && ut(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
319
- 257 && o && i && ft(i, o), s.$$.dirty & /*mbsource, customStylingContainer*/
320
- 16385 && c && i && ht(i, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
321
- 4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
332
+ 129 && w && n && ut(n, w), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
333
+ 257 && o && n && ft(n, o), s.$$.dirty & /*mbsource, customStylingContainer*/
334
+ 16385 && c && n && ht(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
335
+ 4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
322
336
  1024 && h && G(), s.$$.dirty & /*showclosebutton*/
323
337
  8192 && d && J();
324
338
  }, [
325
- i,
339
+ n,
340
+ M,
326
341
  T,
327
342
  F,
328
- z,
329
343
  l,
330
344
  W,
331
345
  Y,
332
- _,
346
+ w,
333
347
  o,
334
- m,
348
+ _,
335
349
  h,
336
350
  r,
337
351
  g,
338
352
  d,
339
353
  c,
340
354
  f,
341
- n,
355
+ i,
342
356
  V
343
357
  ];
344
358
  }
@@ -349,7 +363,7 @@ class Lt extends et {
349
363
  t,
350
364
  vt,
351
365
  Bt,
352
- nt,
366
+ it,
353
367
  {
354
368
  clientstyling: 7,
355
369
  clientstylingurl: 8,
@@ -360,56 +374,56 @@ class Lt extends et {
360
374
  showclosebutton: 13,
361
375
  mbsource: 14
362
376
  },
363
- mt
377
+ _t
364
378
  );
365
379
  }
366
380
  get clientstyling() {
367
381
  return this.$$.ctx[7];
368
382
  }
369
383
  set clientstyling(t) {
370
- this.$$set({ clientstyling: t }), w();
384
+ this.$$set({ clientstyling: t }), m();
371
385
  }
372
386
  get clientstylingurl() {
373
387
  return this.$$.ctx[8];
374
388
  }
375
389
  set clientstylingurl(t) {
376
- this.$$set({ clientstylingurl: t }), w();
390
+ this.$$set({ clientstylingurl: t }), m();
377
391
  }
378
392
  get translationurl() {
379
393
  return this.$$.ctx[9];
380
394
  }
381
395
  set translationurl(t) {
382
- this.$$set({ translationurl: t }), w();
396
+ this.$$set({ translationurl: t }), m();
383
397
  }
384
398
  get showbackbutton() {
385
399
  return this.$$.ctx[10];
386
400
  }
387
401
  set showbackbutton(t) {
388
- this.$$set({ showbackbutton: t }), w();
402
+ this.$$set({ showbackbutton: t }), m();
389
403
  }
390
404
  get title() {
391
405
  return this.$$.ctx[11];
392
406
  }
393
407
  set title(t) {
394
- this.$$set({ title: t }), w();
408
+ this.$$set({ title: t }), m();
395
409
  }
396
410
  get lang() {
397
411
  return this.$$.ctx[12];
398
412
  }
399
413
  set lang(t) {
400
- this.$$set({ lang: t }), w();
414
+ this.$$set({ lang: t }), m();
401
415
  }
402
416
  get showclosebutton() {
403
417
  return this.$$.ctx[13];
404
418
  }
405
419
  set showclosebutton(t) {
406
- this.$$set({ showclosebutton: t }), w();
420
+ this.$$set({ showclosebutton: t }), m();
407
421
  }
408
422
  get mbsource() {
409
423
  return this.$$.ctx[14];
410
424
  }
411
425
  set mbsource(t) {
412
- this.$$set({ mbsource: t }), w();
426
+ this.$$set({ mbsource: t }), m();
413
427
  }
414
428
  }
415
429
  gt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
@@ -1,13 +1,13 @@
1
- import { a as X, i as $, $ as tt, S as et, b as st, f as w, s as nt, c as it, d as lt, e as y, g as b, t as B, h as v, u as L, j as H, k as S, l as C, m as M, n as p, o as j, p as k, q as at, r as ot, v as U, w as rt, x as ct, y as ut, z as q, A as I, B as ft, C as ht, D as gt, E as dt } from "./CashierIframeRedirect-CDwJQB56.js";
2
- function N(s, t) {
1
+ import { a as X, i as $, $ as tt, S as et, b as st, f as m, s as it, c as nt, d as lt, e as y, g as b, t as B, h as v, u as L, j as H, k as S, l as p, m as z, n as C, o as j, p as k, q as at, r as ot, v as U, w as rt, x as ct, y as ut, z as q, A as I, B as ft, C as ht, D as gt, E as dt } from "./CashierIframeRedirect-CYg9Cm_6.js";
2
+ function x(s, t) {
3
3
  X(s, t);
4
4
  }
5
- function _t(s) {
5
+ function wt(s) {
6
6
  $({
7
7
  fallbackLocale: "en"
8
8
  }), tt.set(s);
9
9
  }
10
- const R = {
10
+ const N = {
11
11
  en: {
12
12
  header: {
13
13
  general: "Cashier",
@@ -49,20 +49,34 @@ const R = {
49
49
  deposit: "Storting",
50
50
  withdraw: "Opname"
51
51
  }
52
+ },
53
+ ru: {
54
+ header: {
55
+ general: "Касса",
56
+ deposit: "Депозит",
57
+ withdraw: "Вывод"
58
+ }
59
+ },
60
+ az: {
61
+ header: {
62
+ general: "Kassa",
63
+ deposit: "Depozit",
64
+ withdraw: "Çıxarış"
65
+ }
52
66
  }
53
67
  };
54
- function mt(s) {
68
+ function _t(s) {
55
69
  lt(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}");
56
70
  }
57
- const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
58
- function D(s) {
71
+ const mt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), pt = (s) => ({}), E = (s) => ({});
72
+ function K(s) {
59
73
  let t, e, l;
60
74
  return {
61
75
  c() {
62
- t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
76
+ t = C("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
63
77
  },
64
- m(n, f) {
65
- C(n, t, f), e || (l = I(
78
+ m(i, f) {
79
+ p(i, t, f), e || (l = I(
66
80
  t,
67
81
  "click",
68
82
  /*back*/
@@ -70,26 +84,26 @@ function D(s) {
70
84
  ), e = !0);
71
85
  },
72
86
  p: q,
73
- d(n) {
74
- n && b(t), e = !1, l();
87
+ d(i) {
88
+ i && b(t), e = !1, l();
75
89
  }
76
90
  };
77
91
  }
78
- function pt(s) {
92
+ function Ct(s) {
79
93
  let t, e = (
80
94
  /*backButton*/
81
- s[1] && D(s)
95
+ s[1] && K(s)
82
96
  );
83
97
  return {
84
98
  c() {
85
99
  e && e.c(), t = U();
86
100
  },
87
- m(l, n) {
88
- e && e.m(l, n), C(l, t, n);
101
+ m(l, i) {
102
+ e && e.m(l, i), p(l, t, i);
89
103
  },
90
- p(l, n) {
104
+ p(l, i) {
91
105
  /*backButton*/
92
- l[1] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
106
+ l[1] ? e ? e.p(l, i) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
93
107
  },
94
108
  d(l) {
95
109
  l && b(t), e && e.d(l);
@@ -106,32 +120,32 @@ function kt(s) {
106
120
  ), l;
107
121
  return {
108
122
  c() {
109
- t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
123
+ t = C("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
110
124
  },
111
- m(n, f) {
112
- C(n, t, f), M(t, l);
125
+ m(i, f) {
126
+ p(i, t, f), z(t, l);
113
127
  },
114
- p(n, f) {
128
+ p(i, f) {
115
129
  f & /*$_, titleText*/
116
130
  20 && e !== (e = /*$_*/
117
- n[4](
131
+ i[4](
118
132
  /*titleText*/
119
- n[2]
133
+ i[2]
120
134
  ) + "") && rt(l, e);
121
135
  },
122
- d(n) {
123
- n && b(t);
136
+ d(i) {
137
+ i && b(t);
124
138
  }
125
139
  };
126
140
  }
127
- function K(s) {
141
+ function O(s) {
128
142
  let t, e, l;
129
143
  return {
130
144
  c() {
131
- t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
145
+ t = C("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
132
146
  },
133
- m(n, f) {
134
- C(n, t, f), e || (l = I(
147
+ m(i, f) {
148
+ p(i, t, f), e || (l = I(
135
149
  t,
136
150
  "click",
137
151
  /*close*/
@@ -139,26 +153,26 @@ function K(s) {
139
153
  ), e = !0);
140
154
  },
141
155
  p: q,
142
- d(n) {
143
- n && b(t), e = !1, l();
156
+ d(i) {
157
+ i && b(t), e = !1, l();
144
158
  }
145
159
  };
146
160
  }
147
161
  function yt(s) {
148
162
  let t, e = (
149
163
  /*closeButton*/
150
- s[3] && K(s)
164
+ s[3] && O(s)
151
165
  );
152
166
  return {
153
167
  c() {
154
168
  e && e.c(), t = U();
155
169
  },
156
- m(l, n) {
157
- e && e.m(l, n), C(l, t, n);
170
+ m(l, i) {
171
+ e && e.m(l, i), p(l, t, i);
158
172
  },
159
- p(l, n) {
173
+ p(l, i) {
160
174
  /*closeButton*/
161
- l[3] ? e ? e.p(l, n) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
175
+ l[3] ? e ? e.p(l, i) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
162
176
  },
163
177
  d(l) {
164
178
  l && b(t), e && e.d(l);
@@ -166,25 +180,25 @@ function yt(s) {
166
180
  };
167
181
  }
168
182
  function Bt(s) {
169
- let t, e, l, n;
183
+ let t, e, l, i;
170
184
  const f = (
171
185
  /*#slots*/
172
186
  s[16].leftButton
173
- ), _ = y(
187
+ ), w = y(
174
188
  f,
175
189
  s,
176
190
  /*$$scope*/
177
191
  s[15],
178
- O
179
- ), o = _ || pt(s), m = (
192
+ E
193
+ ), o = w || Ct(s), _ = (
180
194
  /*#slots*/
181
195
  s[16].title
182
196
  ), h = y(
183
- m,
197
+ _,
184
198
  s,
185
199
  /*$$scope*/
186
200
  s[15],
187
- E
201
+ D
188
202
  ), r = h || kt(s), g = (
189
203
  /*#slots*/
190
204
  s[16].rightButton
@@ -193,152 +207,152 @@ function Bt(s) {
193
207
  s,
194
208
  /*$$scope*/
195
209
  s[15],
196
- x
210
+ R
197
211
  ), c = d || yt(s);
198
212
  return {
199
213
  c() {
200
- t = p("div"), o && o.c(), e = j(), r && r.c(), l = j(), c && c.c(), k(t, "class", "CashierHeader");
214
+ t = C("div"), o && o.c(), e = j(), r && r.c(), l = j(), c && c.c(), k(t, "class", "CashierHeader");
201
215
  },
202
- m(i, u) {
203
- C(i, t, u), o && o.m(t, null), M(t, e), r && r.m(t, null), M(t, l), c && c.m(t, null), s[17](t), n = !0;
216
+ m(n, u) {
217
+ p(n, t, u), o && o.m(t, null), z(t, e), r && r.m(t, null), z(t, l), c && c.m(t, null), s[17](t), i = !0;
204
218
  },
205
- p(i, [u]) {
206
- _ ? _.p && (!n || u & /*$$scope*/
219
+ p(n, [u]) {
220
+ w ? w.p && (!i || u & /*$$scope*/
207
221
  32768) && L(
208
- _,
222
+ w,
209
223
  f,
210
- i,
224
+ n,
211
225
  /*$$scope*/
212
- i[15],
213
- n ? S(
226
+ n[15],
227
+ i ? S(
214
228
  f,
215
229
  /*$$scope*/
216
- i[15],
230
+ n[15],
217
231
  u,
218
- Ct
232
+ pt
219
233
  ) : H(
220
234
  /*$$scope*/
221
- i[15]
235
+ n[15]
222
236
  ),
223
- O
224
- ) : o && o.p && (!n || u & /*backButton*/
225
- 2) && o.p(i, n ? u : -1), h ? h.p && (!n || u & /*$$scope*/
237
+ E
238
+ ) : o && o.p && (!i || u & /*backButton*/
239
+ 2) && o.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
226
240
  32768) && L(
227
241
  h,
228
- m,
229
- i,
242
+ _,
243
+ n,
230
244
  /*$$scope*/
231
- i[15],
232
- n ? S(
233
- m,
245
+ n[15],
246
+ i ? S(
247
+ _,
234
248
  /*$$scope*/
235
- i[15],
249
+ n[15],
236
250
  u,
237
251
  bt
238
252
  ) : H(
239
253
  /*$$scope*/
240
- i[15]
254
+ n[15]
241
255
  ),
242
- E
243
- ) : r && r.p && (!n || u & /*$_, titleText*/
244
- 20) && r.p(i, n ? u : -1), d ? d.p && (!n || u & /*$$scope*/
256
+ D
257
+ ) : r && r.p && (!i || u & /*$_, titleText*/
258
+ 20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
245
259
  32768) && L(
246
260
  d,
247
261
  g,
248
- i,
262
+ n,
249
263
  /*$$scope*/
250
- i[15],
251
- n ? S(
264
+ n[15],
265
+ i ? S(
252
266
  g,
253
267
  /*$$scope*/
254
- i[15],
268
+ n[15],
255
269
  u,
256
- wt
270
+ mt
257
271
  ) : H(
258
272
  /*$$scope*/
259
- i[15]
273
+ n[15]
260
274
  ),
261
- x
262
- ) : c && c.p && (!n || u & /*closeButton*/
263
- 8) && c.p(i, n ? u : -1);
275
+ R
276
+ ) : c && c.p && (!i || u & /*closeButton*/
277
+ 8) && c.p(n, i ? u : -1);
264
278
  },
265
- i(i) {
266
- n || (v(o, i), v(r, i), v(c, i), n = !0);
279
+ i(n) {
280
+ i || (v(o, n), v(r, n), v(c, n), i = !0);
267
281
  },
268
- o(i) {
269
- B(o, i), B(r, i), B(c, i), n = !1;
282
+ o(n) {
283
+ B(o, n), B(r, n), B(c, n), i = !1;
270
284
  },
271
- d(i) {
272
- i && b(t), o && o.d(i), r && r.d(i), c && c.d(i), s[17](null);
285
+ d(n) {
286
+ n && b(t), o && o.d(n), r && r.d(n), c && c.d(n), s[17](null);
273
287
  }
274
288
  };
275
289
  }
276
290
  function vt(s, t, e) {
277
291
  let l;
278
292
  at(s, ft, (a) => e(4, l = a));
279
- let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, i, u, T = !1, F, z = !1;
293
+ let { $$slots: i = {}, $$scope: f } = t, { clientstyling: w = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, M = !1, T, F = !1;
280
294
  const Z = () => {
281
- fetch(m).then((a) => a.json()).then((a) => {
295
+ fetch(_).then((a) => a.json()).then((a) => {
282
296
  Object.keys(a).forEach((A) => {
283
- N(A, a[A]);
297
+ x(A, a[A]);
284
298
  });
285
299
  }).catch((a) => {
286
300
  console.log(a);
287
301
  });
288
302
  };
289
- Object.keys(R).forEach((a) => {
290
- N(a, R[a]);
303
+ Object.keys(N).forEach((a) => {
304
+ x(a, N[a]);
291
305
  });
292
306
  const P = () => {
293
- _t(g);
307
+ wt(g);
294
308
  }, W = () => {
295
309
  window.postMessage({ type: "CloseCashier" }, window.location.href);
296
310
  }, Y = () => {
297
311
  window.postMessage({ type: "BackCashier" }, window.location.href);
298
312
  }, G = () => {
299
- e(1, T = !!h && h !== "false");
313
+ e(1, M = !!h && h !== "false");
300
314
  }, J = () => {
301
- e(3, z = !!d && d !== "false");
315
+ e(3, F = !!d && d !== "false");
302
316
  }, Q = () => {
303
- e(2, F = r || "header.general");
317
+ e(2, T = r || "header.general");
304
318
  };
305
319
  ot(() => () => {
306
320
  });
307
321
  function V(a) {
308
322
  ut[a ? "unshift" : "push"](() => {
309
- i = a, e(0, i);
323
+ n = a, e(0, n);
310
324
  });
311
325
  }
312
326
  return s.$$set = (a) => {
313
- "clientstyling" in a && e(7, _ = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, m = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
327
+ "clientstyling" in a && e(7, w = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, _ = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
314
328
  }, s.$$.update = () => {
315
329
  s.$$.dirty & /*lang*/
316
330
  4096 && g && P(), s.$$.dirty & /*lang, title*/
317
331
  6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
318
- 129 && _ && i && ht(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
319
- 257 && o && i && gt(i, o), s.$$.dirty & /*mbsource, customStylingContainer*/
320
- 16385 && c && i && dt(i, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
321
- 4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
332
+ 129 && w && n && ht(n, w), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
333
+ 257 && o && n && gt(n, o), s.$$.dirty & /*mbsource, customStylingContainer*/
334
+ 16385 && c && n && dt(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
335
+ 4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
322
336
  1024 && h && G(), s.$$.dirty & /*showclosebutton*/
323
337
  8192 && d && J();
324
338
  }, [
325
- i,
339
+ n,
340
+ M,
326
341
  T,
327
342
  F,
328
- z,
329
343
  l,
330
344
  W,
331
345
  Y,
332
- _,
346
+ w,
333
347
  o,
334
- m,
348
+ _,
335
349
  h,
336
350
  r,
337
351
  g,
338
352
  d,
339
353
  c,
340
354
  f,
341
- n,
355
+ i,
342
356
  V
343
357
  ];
344
358
  }
@@ -349,7 +363,7 @@ class Lt extends et {
349
363
  t,
350
364
  vt,
351
365
  Bt,
352
- nt,
366
+ it,
353
367
  {
354
368
  clientstyling: 7,
355
369
  clientstylingurl: 8,
@@ -360,59 +374,59 @@ class Lt extends et {
360
374
  showclosebutton: 13,
361
375
  mbsource: 14
362
376
  },
363
- mt
377
+ _t
364
378
  );
365
379
  }
366
380
  get clientstyling() {
367
381
  return this.$$.ctx[7];
368
382
  }
369
383
  set clientstyling(t) {
370
- this.$$set({ clientstyling: t }), w();
384
+ this.$$set({ clientstyling: t }), m();
371
385
  }
372
386
  get clientstylingurl() {
373
387
  return this.$$.ctx[8];
374
388
  }
375
389
  set clientstylingurl(t) {
376
- this.$$set({ clientstylingurl: t }), w();
390
+ this.$$set({ clientstylingurl: t }), m();
377
391
  }
378
392
  get translationurl() {
379
393
  return this.$$.ctx[9];
380
394
  }
381
395
  set translationurl(t) {
382
- this.$$set({ translationurl: t }), w();
396
+ this.$$set({ translationurl: t }), m();
383
397
  }
384
398
  get showbackbutton() {
385
399
  return this.$$.ctx[10];
386
400
  }
387
401
  set showbackbutton(t) {
388
- this.$$set({ showbackbutton: t }), w();
402
+ this.$$set({ showbackbutton: t }), m();
389
403
  }
390
404
  get title() {
391
405
  return this.$$.ctx[11];
392
406
  }
393
407
  set title(t) {
394
- this.$$set({ title: t }), w();
408
+ this.$$set({ title: t }), m();
395
409
  }
396
410
  get lang() {
397
411
  return this.$$.ctx[12];
398
412
  }
399
413
  set lang(t) {
400
- this.$$set({ lang: t }), w();
414
+ this.$$set({ lang: t }), m();
401
415
  }
402
416
  get showclosebutton() {
403
417
  return this.$$.ctx[13];
404
418
  }
405
419
  set showclosebutton(t) {
406
- this.$$set({ showclosebutton: t }), w();
420
+ this.$$set({ showclosebutton: t }), m();
407
421
  }
408
422
  get mbsource() {
409
423
  return this.$$.ctx[14];
410
424
  }
411
425
  set mbsource(t) {
412
- this.$$set({ mbsource: t }), w();
426
+ this.$$set({ mbsource: t }), m();
413
427
  }
414
428
  }
415
- it(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
429
+ nt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
416
430
  export {
417
431
  Lt as default
418
432
  };
@@ -3858,6 +3858,12 @@ const pt = {
3858
3858
  },
3859
3859
  nl: {
3860
3860
  redirectHeader: "Stortingsomleiding"
3861
+ },
3862
+ ru: {
3863
+ redirectHeader: "Перенаправление депозита"
3864
+ },
3865
+ az: {
3866
+ redirectHeader: "Depozit yönləndirməsi"
3861
3867
  }
3862
3868
  }, k = "__WIDGET_GLOBAL_STYLE_CACHE__";
3863
3869
  function bi(e, t) {
@@ -3924,7 +3930,7 @@ if (typeof window != "undefined") {
3924
3930
  }
3925
3931
  };
3926
3932
  };
3927
- customElements.define = e(customElements.define), import("./CashierHeader-BnjmhKlL.js").then(({ default: t }) => {
3933
+ customElements.define = e(customElements.define), import("./CashierHeader-CYs1lb-4.js").then(({ default: t }) => {
3928
3934
  !customElements.get("cashier-header") && customElements.define("cashier-header", t.element);
3929
3935
  });
3930
3936
  }
@@ -3940,7 +3946,7 @@ if (typeof window != "undefined") {
3940
3946
  }
3941
3947
  };
3942
3948
  };
3943
- customElements.define = e(customElements.define), import("./CashierSpinner-BMvR7X7u.js").then(({ default: t }) => {
3949
+ customElements.define = e(customElements.define), import("./CashierSpinner-B5FMBF15.js").then(({ default: t }) => {
3944
3950
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", t.element);
3945
3951
  });
3946
3952
  }
@@ -3821,6 +3821,12 @@ const ht = {
3821
3821
  },
3822
3822
  nl: {
3823
3823
  redirectHeader: "Stortingsomleiding"
3824
+ },
3825
+ ru: {
3826
+ redirectHeader: "Перенаправление депозита"
3827
+ },
3828
+ az: {
3829
+ redirectHeader: "Depozit yönləndirməsi"
3824
3830
  }
3825
3831
  }, j = "__WIDGET_GLOBAL_STYLE_CACHE__";
3826
3832
  function ii(e, t) {
@@ -3887,7 +3893,7 @@ if (typeof window < "u") {
3887
3893
  }
3888
3894
  };
3889
3895
  };
3890
- customElements.define = e(customElements.define), import("./CashierHeader-V1vIoagX.js").then(({ default: t }) => {
3896
+ customElements.define = e(customElements.define), import("./CashierHeader-Im9g9J6j.js").then(({ default: t }) => {
3891
3897
  !customElements.get("cashier-header") && customElements.define("cashier-header", t.element);
3892
3898
  });
3893
3899
  }
@@ -3903,7 +3909,7 @@ if (typeof window < "u") {
3903
3909
  }
3904
3910
  };
3905
3911
  };
3906
- customElements.define = e(customElements.define), import("./CashierSpinner-D0F-BdIs.js").then(({ default: t }) => {
3912
+ customElements.define = e(customElements.define), import("./CashierSpinner-Bab11l7d.js").then(({ default: t }) => {
3907
3913
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", t.element);
3908
3914
  });
3909
3915
  }
@@ -2,4 +2,4 @@
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,Z.MISSING_INTL_API,o);var U=r.getPluralRules(t,{type:h.pluralType}).select(c-(h.offset||0));S=h.options[U]||h.options.other}if(!S)throw new ft(h.value,c,Object.keys(h.options),o);a.push.apply(a,me(S.value,t,r,n,i,c-(h.offset||0)));continue}}return Gn(a)}function jn(e,t){return t?C(C(C({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=C(C({},e[n]),t[n]||{}),r},{})):e}function kn(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=jn(e[n],t[n]),r},C({},e)):e}function Pe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Vn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ae(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Be([void 0],r,!1)))},{cache:Pe(e.number),strategy:Oe.variadic}),getDateTimeFormat:Ae(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Be([void 0],r,!1)))},{cache:Pe(e.dateTime),strategy:Oe.variadic}),getPluralRules:Ae(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Be([void 0],r,!1)))},{cache:Pe(e.pluralRules),strategy:Oe.variadic})}}var qt=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(f,c){return!f.length||c.type!==v.literal||typeof f[f.length-1]!="string"?f.push(c.value):f[f.length-1]+=c.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return me(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var a=Kr(o,["formatters"]);this.ast=e.__parse(t,C(C({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=kn(e.formats,n),this.formatters=i&&i.formatters||Vn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Rn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Xn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const M={},zn=(e,t,r)=>r&&(t in M||(M[t]={}),e in M[t]||(M[t][e]=r),r),Qt=(e,t)=>{if(t==null)return;if(t in M&&e in M[t])return M[t][e];const r=ae(t);for(let n=0;n<r.length;n++){const i=r[n],s=Zn(i,e);if(s)return zn(e,t,s)}};let ze;const oe=xe({});function Wn(e){return ze[e]||null}function Jt(e){return e in ze}function Zn(e,t){if(!Jt(e))return null;const r=Wn(e);return Xn(r,t)}function qn(e){if(e==null)return;const t=ae(e);for(let r=0;r<t.length;r++){const n=t[r];if(Jt(n))return n}}function We(e,...t){delete M[e],oe.update(r=>(r[e]=Yr.all([r[e]||{},...t]),r))}J([oe],([e])=>Object.keys(e));oe.subscribe(e=>ze=e);const de={};function Qn(e,t){de[e].delete(t),de[e].size===0&&delete de[e]}function Yt(e){return de[e]}function Jn(e){return ae(e).map(t=>{const r=Yt(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ge(e){return e==null?!1:ae(e).some(t=>{var r;return(r=Yt(t))==null?void 0:r.size})}function Yn(e,t){return Promise.all(t.map(n=>(Qn(e,n),n().then(i=>i.default||i)))).then(n=>We(e,...n))}const K={};function Kt(e){if(!ge(e))return e in K?K[e]:Promise.resolve();const t=Jn(e);return K[e]=Promise.all(t.map(([r,n])=>Yn(r,n))).then(()=>{if(ge(e))return Kt(e);delete K[e]}),K[e]}var ct=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable,ti=(e,t)=>{var r={};for(var n in e)Kn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ct)for(var n of ct(e))t.indexOf(n)<0&&ei.call(e,n)&&(r[n]=e[n]);return r};const ri={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function ni({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${ae(e).join('", "')}".${ge($())?`
4
4
 
5
- Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ii={fallbackLocale:null,loadingDelay:200,formats:ri,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ee=ii;function q(){return ee}function er(e){const t=e,{formats:r}=t,n=ti(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{qt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ni:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ee,n,{initialLocale:i}),r&&("number"in r&&Object.assign(ee.formats.number,r.number),"date"in r&&Object.assign(ee.formats.date,r.date),"time"in r&&Object.assign(ee.formats.time,r.time)),R.set(i)}const Le=xe(!1);var si=Object.defineProperty,oi=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,dt=(e,t,r)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,li=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&dt(e,r,t[r]);if(mt)for(var r of mt(t))hi.call(t,r)&&dt(e,r,t[r]);return e},fi=(e,t)=>oi(e,ai(t));let je;const ye=xe(null);function pt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ae(e,t=q().fallbackLocale){const r=pt(e);return t?[...new Set([...r,...pt(t)])]:r}function $(){return je!=null?je:void 0}ye.subscribe(e=>{je=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ci=e=>{if(e&&qn(e)&&ge(e)){const{loadingDelay:t}=q();let r;return typeof window!="undefined"&&$()!=null&&t?r=window.setTimeout(()=>Le.set(!0),t):Le.set(!0),Kt(e).then(()=>{ye.set(e)}).finally(()=>{clearTimeout(r),Le.set(!1)})}return ye.set(e)},R=fi(li({},ye),{set:ci}),Se=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var mi=Object.defineProperty,_e=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,bt=(e,t,r)=>t in e?mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&bt(e,r,t[r]);if(_e)for(var r of _e(t))rr.call(t,r)&&bt(e,r,t[r]);return e},Y=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_e)for(var n of _e(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const ie=(e,t)=>{const{formats:r}=q();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},di=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ie("number",n)),new Intl.NumberFormat(r,i)}),pi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ie("date",n):Object.keys(i).length===0&&(i=ie("date","short")),new Intl.DateTimeFormat(r,i)}),bi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ie("time",n):Object.keys(i).length===0&&(i=ie("time","short")),new Intl.DateTimeFormat(r,i)}),gi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return di(Ze({locale:r},n))},yi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return pi(Ze({locale:r},n))},_i=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return bi(Ze({locale:r},n))},Ei=Se((e,t=$())=>new qt(e,t,q().formats,{ignoreTag:q().ignoreTag})),xi=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=$(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Qt(e,l);if(!h)h=(s=(i=(n=(r=q()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let f=h;try{f=Ei(h,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},vi=(e,t)=>_i(t).format(e),Hi=(e,t)=>yi(t).format(e),Si=(e,t)=>gi(t).format(e),wi=(e,t=$())=>Qt(e,t),Ti=J([R,oe],()=>xi);J([R],()=>vi);J([R],()=>Hi);J([R],()=>Si);J([R,oe],()=>wi);function gt(e,t){We(e,t)}function Bi(e){er({fallbackLocale:"en"}),R.set(e)}const yt={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"}},V="__WIDGET_GLOBAL_STYLE_CACHE__";function nr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function ir(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function sr(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ai(e,t),r;window[V]||(window[V]={}),r=Oi(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[V][t]){const a=window[V][t];a.refCount>1?a.refCount=a.refCount-1:delete window[V][t]}s()};return r.unsubscribe=o,r}function Ai(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Oi(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[V];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-BV5k5voz.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-DiZBjE5d.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function Ci(e){wt(e,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}")}function _t(e){let t,r,n;return{c(){t=L("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',A(t,"slot","leftButton"),A(t,"class","CashierHeaderLeftButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function Et(e){let t,r,n;return{c(){t=L("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',A(t,"slot","rightButton"),A(t,"class","CashierHeaderRightButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function xt(e){let t;return{c(){t=L("cashier-spinner"),E(t,"clientstylingurl",e[6]),E(t,"clientstyling",e[5]),E(t,"mbsource",e[4])},m(r,n){Q(r,t,n)},p(r,n){n&64&&E(t,"clientstylingurl",r[6]),n&32&&E(t,"clientstyling",r[5]),n&16&&E(t,"mbsource",r[4])},d(r){r&&G(t)}}}function Pi(e){let t,r,n,i,s,o,a,l,u,h=!!e[3]&&e[3]!=="false"&&_t(e),f=(!e[3]||e[3]==="false")&&Et(e),c=e[9]&&xt(e);return{c(){t=L("div"),r=L("cashier-header"),h&&h.c(),n=le(),f&&f.c(),i=le(),c&&c.c(),s=le(),o=L("iframe"),E(r,"lang",e[0]),E(r,"translationurl",e[2]),E(r,"title",e[7]),E(r,"showbackbutton",e[3]),E(r,"clientstylingurl",e[6]),E(r,"clientstyling",e[5]),E(r,"mbsource",e[4]),tt(o.src,a=e[1])||A(o,"src",a),A(o,"frameborder","0"),A(t,"class","CashierRedirectIframe")},m(m,d){Q(m,t,d),D(t,r),h&&h.m(r,null),D(r,n),f&&f.m(r,null),D(t,i),c&&c.m(t,null),D(t,s),D(t,o),e[13](t),l||(u=Ee(o,"load",e[12]),l=!0)},p(m,[d]){m[3]&&m[3]!=="false"?h?h.p(m,d):(h=_t(m),h.c(),h.m(r,n)):h&&(h.d(1),h=null),!m[3]||m[3]==="false"?f?f.p(m,d):(f=Et(m),f.c(),f.m(r,null)):f&&(f.d(1),f=null),d&1&&E(r,"lang",m[0]),d&4&&E(r,"translationurl",m[2]),d&128&&E(r,"title",m[7]),d&8&&E(r,"showbackbutton",m[3]),d&64&&E(r,"clientstylingurl",m[6]),d&32&&E(r,"clientstyling",m[5]),d&16&&E(r,"mbsource",m[4]),m[9]?c?c.p(m,d):(c=xt(m),c.c(),c.m(t,s)):c&&(c.d(1),c=null),d&2&&!tt(o.src,a=m[1])&&A(o,"src",a)},i:H,o:H,d(m){m&&G(t),h&&h.d(),f&&f.d(),c&&c.d(),e[13](null),l=!1,u()}}}function Li(e,t,r){let{lang:n="en"}=t,{iframeurl:i}=t,{translationurl:s=""}=t,{showbackbutton:o=""}=t,{mbsource:a}=t,{clientstyling:l}=t,{clientstylingurl:u}=t,{title:h=""}=t,f,c,m=!0;const d=()=>{let b=s;if(b)return fetch(b).then(O=>O.json()).then(O=>{Object.keys(O).forEach(qe=>{gt(qe,O[qe])})}).catch(O=>{console.log(O)})};Object.keys(yt).forEach(b=>{gt(b,yt[b])});const x=()=>{Bi(n)},T=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},N=b=>{b.target.src&&r(9,m=!1)},I=()=>window.postMessage({type:"DisableScroll"},window.location.href),S=()=>window.postMessage({type:"EnableScroll"},window.location.href);Tt(()=>(I(),()=>{S()}));const U=b=>N(b);function P(b){pe[b?"unshift":"push"](()=>{f=b,r(8,f)})}return e.$$set=b=>{"lang"in b&&r(0,n=b.lang),"iframeurl"in b&&r(1,i=b.iframeurl),"translationurl"in b&&r(2,s=b.translationurl),"showbackbutton"in b&&r(3,o=b.showbackbutton),"mbsource"in b&&r(4,a=b.mbsource),"clientstyling"in b&&r(5,l=b.clientstyling),"clientstylingurl"in b&&r(6,u=b.clientstylingurl),"title"in b&&r(7,h=b.title)},e.$$.update=()=>{e.$$.dirty&1&&n&&x(),e.$$.dirty&4&&s&&d(),e.$$.dirty&288&&l&&f&&nr(f,l),e.$$.dirty&320&&u&&f&&ir(f,u),e.$$.dirty&272&&a&&f&&sr(f,`${a}.Style`,c)},[n,i,s,o,a,l,u,h,f,m,T,N,U,P]}class or extends Pt{constructor(t){super(),At(this,t,Li,Pi,Ve,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},Ci)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),B()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),B()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),B()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),B()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),B()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),B()}}Ct(or,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);const Ni=Object.freeze(Object.defineProperty({__proto__:null,default:or},Symbol.toStringTag,{value:"Module"}));exports.$format=Ti;exports.$locale=R;exports.CashierIframeRedirect_ce=Ni;exports.SvelteComponent=Pt;exports.addMessages=We;exports.append=D;exports.append_styles=wt;exports.attr=A;exports.binding_callbacks=pe;exports.component_subscribe=dr;exports.create_custom_element=Ct;exports.create_slot=pr;exports.detach=G;exports.element=L;exports.empty=xr;exports.flush=B;exports.get_all_dirty_from_scope=yr;exports.get_slot_changes=br;exports.init=er;exports.init$1=At;exports.insert=Q;exports.listen=Ee;exports.noop=H;exports.onMount=Tt;exports.safe_not_equal=Ve;exports.setClientStyling=nr;exports.setClientStylingURL=ir;exports.setStreamStyling=sr;exports.set_data=Hr;exports.space=le;exports.text=Xe;exports.transition_in=Bt;exports.transition_out=Pr;exports.update_slot_base=gr;
5
+ Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const ii={fallbackLocale:null,loadingDelay:200,formats:ri,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ee=ii;function q(){return ee}function er(e){const t=e,{formats:r}=t,n=ti(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{qt.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch(s){console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=ni:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(ee,n,{initialLocale:i}),r&&("number"in r&&Object.assign(ee.formats.number,r.number),"date"in r&&Object.assign(ee.formats.date,r.date),"time"in r&&Object.assign(ee.formats.time,r.time)),R.set(i)}const Le=xe(!1);var si=Object.defineProperty,oi=Object.defineProperties,ai=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,dt=(e,t,r)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,li=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&dt(e,r,t[r]);if(mt)for(var r of mt(t))hi.call(t,r)&&dt(e,r,t[r]);return e},fi=(e,t)=>oi(e,ai(t));let je;const ye=xe(null);function pt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ae(e,t=q().fallbackLocale){const r=pt(e);return t?[...new Set([...r,...pt(t)])]:r}function $(){return je!=null?je:void 0}ye.subscribe(e=>{je=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ci=e=>{if(e&&qn(e)&&ge(e)){const{loadingDelay:t}=q();let r;return typeof window!="undefined"&&$()!=null&&t?r=window.setTimeout(()=>Le.set(!0),t):Le.set(!0),Kt(e).then(()=>{ye.set(e)}).finally(()=>{clearTimeout(r),Le.set(!1)})}return ye.set(e)},R=fi(li({},ye),{set:ci}),Se=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var mi=Object.defineProperty,_e=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,bt=(e,t,r)=>t in e?mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&bt(e,r,t[r]);if(_e)for(var r of _e(t))rr.call(t,r)&&bt(e,r,t[r]);return e},Y=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&_e)for(var n of _e(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const ie=(e,t)=>{const{formats:r}=q();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},di=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ie("number",n)),new Intl.NumberFormat(r,i)}),pi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ie("date",n):Object.keys(i).length===0&&(i=ie("date","short")),new Intl.DateTimeFormat(r,i)}),bi=Se(e=>{var t=e,{locale:r,format:n}=t,i=Y(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ie("time",n):Object.keys(i).length===0&&(i=ie("time","short")),new Intl.DateTimeFormat(r,i)}),gi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return di(Ze({locale:r},n))},yi=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return pi(Ze({locale:r},n))},_i=(e={})=>{var t=e,{locale:r=$()}=t,n=Y(t,["locale"]);return bi(Ze({locale:r},n))},Ei=Se((e,t=$())=>new qt(e,t,q().formats,{ignoreTag:q().ignoreTag})),xi=(e,t={})=>{var r,n,i,s;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:a,locale:l=$(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Qt(e,l);if(!h)h=(s=(i=(n=(r=q()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let f=h;try{f=Ei(h,l).format(a)}catch(c){c instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,c.message)}return f},vi=(e,t)=>_i(t).format(e),Hi=(e,t)=>yi(t).format(e),Si=(e,t)=>gi(t).format(e),wi=(e,t=$())=>Qt(e,t),Ti=J([R,oe],()=>xi);J([R],()=>vi);J([R],()=>Hi);J([R],()=>Si);J([R,oe],()=>wi);function gt(e,t){We(e,t)}function Bi(e){er({fallbackLocale:"en"}),R.set(e)}const yt={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"},ru:{redirectHeader:"Перенаправление депозита"},az:{redirectHeader:"Depozit yönləndirməsi"}},V="__WIDGET_GLOBAL_STYLE_CACHE__";function nr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function ir(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function sr(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ai(e,t),r;window[V]||(window[V]={}),r=Oi(e,t);const s=r.unsubscribe.bind(r),o=()=>{if(window[V][t]){const a=window[V][t];a.refCount>1?a.refCount=a.refCount-1:delete window[V][t]}s()};return r.unsubscribe=o,r}function Ai(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Oi(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[V];let s=i[t]&&i[t].sheet;s?i[t].refCount=i[t].refCount+1:(s=new CSSStyleSheet,s.replaceSync(r),i[t]={sheet:s,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(s)||(n.adoptedStyleSheets=[...o,s])})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-BUc8KrTj.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-C_k1zwNc.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function Ci(e){wt(e,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}")}function _t(e){let t,r,n;return{c(){t=L("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',A(t,"slot","leftButton"),A(t,"class","CashierHeaderLeftButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function Et(e){let t,r,n;return{c(){t=L("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',A(t,"slot","rightButton"),A(t,"class","CashierHeaderRightButton")},m(i,s){Q(i,t,s),r||(n=Ee(t,"click",e[10]),r=!0)},p:H,d(i){i&&G(t),r=!1,n()}}}function xt(e){let t;return{c(){t=L("cashier-spinner"),E(t,"clientstylingurl",e[6]),E(t,"clientstyling",e[5]),E(t,"mbsource",e[4])},m(r,n){Q(r,t,n)},p(r,n){n&64&&E(t,"clientstylingurl",r[6]),n&32&&E(t,"clientstyling",r[5]),n&16&&E(t,"mbsource",r[4])},d(r){r&&G(t)}}}function Pi(e){let t,r,n,i,s,o,a,l,u,h=!!e[3]&&e[3]!=="false"&&_t(e),f=(!e[3]||e[3]==="false")&&Et(e),c=e[9]&&xt(e);return{c(){t=L("div"),r=L("cashier-header"),h&&h.c(),n=le(),f&&f.c(),i=le(),c&&c.c(),s=le(),o=L("iframe"),E(r,"lang",e[0]),E(r,"translationurl",e[2]),E(r,"title",e[7]),E(r,"showbackbutton",e[3]),E(r,"clientstylingurl",e[6]),E(r,"clientstyling",e[5]),E(r,"mbsource",e[4]),tt(o.src,a=e[1])||A(o,"src",a),A(o,"frameborder","0"),A(t,"class","CashierRedirectIframe")},m(m,d){Q(m,t,d),D(t,r),h&&h.m(r,null),D(r,n),f&&f.m(r,null),D(t,i),c&&c.m(t,null),D(t,s),D(t,o),e[13](t),l||(u=Ee(o,"load",e[12]),l=!0)},p(m,[d]){m[3]&&m[3]!=="false"?h?h.p(m,d):(h=_t(m),h.c(),h.m(r,n)):h&&(h.d(1),h=null),!m[3]||m[3]==="false"?f?f.p(m,d):(f=Et(m),f.c(),f.m(r,null)):f&&(f.d(1),f=null),d&1&&E(r,"lang",m[0]),d&4&&E(r,"translationurl",m[2]),d&128&&E(r,"title",m[7]),d&8&&E(r,"showbackbutton",m[3]),d&64&&E(r,"clientstylingurl",m[6]),d&32&&E(r,"clientstyling",m[5]),d&16&&E(r,"mbsource",m[4]),m[9]?c?c.p(m,d):(c=xt(m),c.c(),c.m(t,s)):c&&(c.d(1),c=null),d&2&&!tt(o.src,a=m[1])&&A(o,"src",a)},i:H,o:H,d(m){m&&G(t),h&&h.d(),f&&f.d(),c&&c.d(),e[13](null),l=!1,u()}}}function Li(e,t,r){let{lang:n="en"}=t,{iframeurl:i}=t,{translationurl:s=""}=t,{showbackbutton:o=""}=t,{mbsource:a}=t,{clientstyling:l}=t,{clientstylingurl:u}=t,{title:h=""}=t,f,c,m=!0;const d=()=>{let b=s;if(b)return fetch(b).then(O=>O.json()).then(O=>{Object.keys(O).forEach(qe=>{gt(qe,O[qe])})}).catch(O=>{console.log(O)})};Object.keys(yt).forEach(b=>{gt(b,yt[b])});const x=()=>{Bi(n)},T=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},N=b=>{b.target.src&&r(9,m=!1)},I=()=>window.postMessage({type:"DisableScroll"},window.location.href),S=()=>window.postMessage({type:"EnableScroll"},window.location.href);Tt(()=>(I(),()=>{S()}));const U=b=>N(b);function P(b){pe[b?"unshift":"push"](()=>{f=b,r(8,f)})}return e.$$set=b=>{"lang"in b&&r(0,n=b.lang),"iframeurl"in b&&r(1,i=b.iframeurl),"translationurl"in b&&r(2,s=b.translationurl),"showbackbutton"in b&&r(3,o=b.showbackbutton),"mbsource"in b&&r(4,a=b.mbsource),"clientstyling"in b&&r(5,l=b.clientstyling),"clientstylingurl"in b&&r(6,u=b.clientstylingurl),"title"in b&&r(7,h=b.title)},e.$$.update=()=>{e.$$.dirty&1&&n&&x(),e.$$.dirty&4&&s&&d(),e.$$.dirty&288&&l&&f&&nr(f,l),e.$$.dirty&320&&u&&f&&ir(f,u),e.$$.dirty&272&&a&&f&&sr(f,`${a}.Style`,c)},[n,i,s,o,a,l,u,h,f,m,T,N,U,P]}class or extends Pt{constructor(t){super(),At(this,t,Li,Pi,Ve,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},Ci)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),B()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),B()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),B()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),B()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),B()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),B()}}Ct(or,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);const Ni=Object.freeze(Object.defineProperty({__proto__:null,default:or},Symbol.toStringTag,{value:"Module"}));exports.$format=Ti;exports.$locale=R;exports.CashierIframeRedirect_ce=Ni;exports.SvelteComponent=Pt;exports.addMessages=We;exports.append=D;exports.append_styles=wt;exports.attr=A;exports.binding_callbacks=pe;exports.component_subscribe=dr;exports.create_custom_element=Ct;exports.create_slot=pr;exports.detach=G;exports.element=L;exports.empty=xr;exports.flush=B;exports.get_all_dirty_from_scope=yr;exports.get_slot_changes=br;exports.init=er;exports.init$1=At;exports.insert=Q;exports.listen=Ee;exports.noop=H;exports.onMount=Tt;exports.safe_not_equal=Ve;exports.setClientStyling=nr;exports.setClientStylingURL=ir;exports.setStreamStyling=sr;exports.set_data=Hr;exports.space=le;exports.text=Xe;exports.transition_in=Bt;exports.transition_out=Pr;exports.update_slot_base=gr;
@@ -1,4 +1,4 @@
1
- import { S as m, b as y, s as f, f as o, c as d, y as c, e as g, k as p, m as k, o as b, q as S, x, A as v, B as w, C, D as _ } from "./CashierIframeRedirect-CRUP1rm1.js";
1
+ import { S as m, b as y, s as f, f as o, c as d, y as c, e as g, k as p, m as k, o as b, q as S, x, A as v, B as w, C, D as _ } from "./CashierIframeRedirect-BYu5hXxh.js";
2
2
  function z(e) {
3
3
  d(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S as y, b as d, s as f, f as o, d as m, z as c, g, l as p, n as k, p as b, r as S, y as x, C as v, D as w, E as C, c as _ } from "./CashierIframeRedirect-CDwJQB56.js";
1
+ import { S as y, b as d, s as f, f as o, d as m, z as c, g, l as p, n as k, p as b, r as S, y as x, C as v, D as w, E as C, c as _ } from "./CashierIframeRedirect-CYg9Cm_6.js";
2
2
  function z(e) {
3
3
  m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-Dp-Oia-l.cjs");function d(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function f(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function y(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i,u;t.onMount(()=>()=>{});function h(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`,u)},[i,l,o,a,h]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,y,f,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},d)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-J5lMr-gE.cjs");function d(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function f(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function y(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i,u;t.onMount(()=>()=>{});function h(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`,u)},[i,l,o,a,h]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,y,f,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},d)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-Dp-Oia-l.cjs")).then(e=>e.CashierIframeRedirect_ce).then(({default:e})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-J5lMr-gE.cjs")).then(e=>e.CashierIframeRedirect_ce).then(({default:e})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-CRUP1rm1.js").then((e) => e.F).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-BYu5hXxh.js").then((e) => e.F).then(({ default: e }) => {
14
14
  !customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { F as s } from "../components/CashierIframeRedirect-CDwJQB56.js";
1
+ import { F as s } from "../components/CashierIframeRedirect-CYg9Cm_6.js";
2
2
  function i(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-iframe-redirect",
3
- "version": "1.98.7",
3
+ "version": "1.98.9",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-iframe-redirect.cjs",
6
6
  "module": "esnext/cashier-iframe-redirect.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierIframeRedirect-Dp-Oia-l.cjs");function k(i,e){t.addMessages(i,e)}function I(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}},da:{header:{general:"Kasse",deposit:"Indbetaling",withdraw:"Udbetaling"}},de:{header:{general:"Kasse",deposit:"Einzahlung",withdraw:"Auszahlung"}},nl:{header:{general:"Kassa",deposit:"Storting",withdraw:"Opname"}}};function K(i){t.append_styles(i,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}")}const U=i=>({}),v=i=>({}),q=i=>({}),L=i=>({}),x=i=>({}),H=i=>({});function S(i){let e,n,o;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"><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"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function D(i){let e,n=i[1]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function P(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,h){t.insert(s,e,h),t.append(e,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function M(i){let e,n,o;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"><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"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(s,h){t.insert(s,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[3]&&M(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n,o,s;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],H),r=m||D(i),w=i[16].title,g=t.create_slot(w,i,i[15],L),c=g||P(i),d=i[16].rightButton,_=t.create_slot(d,i,i[15],v),u=_||Z(i);return{c(){e=t.element("div"),r&&r.c(),n=t.space(),c&&c.c(),o=t.space(),u&&u.c(),t.attr(e,"class","CashierHeader")},m(l,f){t.insert(l,e,f),r&&r.m(e,null),t.append(e,n),c&&c.m(e,null),t.append(e,o),u&&u.m(e,null),i[17](e),s=!0},p(l,[f]){m?m.p&&(!s||f&32768)&&t.update_slot_base(m,h,l,l[15],s?t.get_slot_changes(h,l[15],f,x):t.get_all_dirty_from_scope(l[15]),H):r&&r.p&&(!s||f&2)&&r.p(l,s?f:-1),g?g.p&&(!s||f&32768)&&t.update_slot_base(g,w,l,l[15],s?t.get_slot_changes(w,l[15],f,q):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||f&20)&&c.p(l,s?f:-1),_?_.p&&(!s||f&32768)&&t.update_slot_base(_,d,l,l[15],s?t.get_slot_changes(d,l[15],f,U):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||f&8)&&u.p(l,s?f:-1)},i(l){s||(t.transition_in(r,l),t.transition_in(c,l),t.transition_in(u,l),s=!0)},o(l){t.transition_out(r,l),t.transition_out(c,l),t.transition_out(u,l),s=!1},d(l){l&&t.detach(e),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:g=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,{showclosebutton:_=""}=e,{mbsource:u=""}=e,l,f,b=!1,p,C=!1;const F=()=>{fetch(w).then(a=>a.json()).then(a=>{Object.keys(a).forEach(y=>{k(y,a[y])})}).catch(a=>{console.log(a)})};Object.keys(B).forEach(a=>{k(a,B[a])});const z=()=>{I(d)},R=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},j=()=>{window.postMessage({type:"BackCashier"},window.location.href)},A=()=>{n(1,b=!!g&&g!=="false")},N=()=>{n(3,C=!!_&&_!=="false")},O=()=>{n(2,p=c||"header.general")};t.onMount(()=>()=>{});function E(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,w=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,d=a.lang),"showclosebutton"in a&&n(13,_=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&d&&z(),i.$$.dirty&6144&&d&&c&&O(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&t.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&t.setStreamStyling(l,`${u}.Style`,f),i.$$.dirty&4608&&d&&w&&F(),i.$$.dirty&1024&&g&&A(),i.$$.dirty&8192&&_&&N()},[l,b,p,C,o,R,j,m,r,w,g,c,d,_,u,h,s,E]}class T extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,W,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},K)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;