@everymatrix/cashier-page 1.94.36 → 1.94.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/components/CashierCarousel-CWqhxf1D.cjs +1 -0
  2. package/components/{CashierCarousel-Ju7cQ53J.js → CashierCarousel-DFK922WR.js} +214 -178
  3. package/components/{CashierCarousel-B4jAzsnI.js → CashierCarousel-k7Y3Z9n1.js} +214 -178
  4. package/components/CashierError-C1W-9X8J.cjs +1 -0
  5. package/components/CashierError-C9gnnAyr.js +814 -0
  6. package/components/CashierError-WkiOBVs-.js +798 -0
  7. package/components/CashierHeader-BK500Xjw.cjs +1 -0
  8. package/components/{CashierHeader-BGpZFT0g.js → CashierHeader-Byz_chFz.js} +53 -32
  9. package/components/{CashierHeader-CP6ffv1-.js → CashierHeader-COwiXVNs.js} +53 -32
  10. package/components/CashierIframeRedirect-BDGjUNum.cjs +1 -0
  11. package/components/{CashierIframeRedirect-BhGJdt1S.js → CashierIframeRedirect-BoyUKotK.js} +69 -60
  12. package/components/{CashierIframeRedirect-Bf0iNUJc.js → CashierIframeRedirect-rUhN76X2.js} +69 -60
  13. package/components/{CashierMethodDetails-BJYlZyTr.js → CashierMethodDetails-CGdI_qop.js} +2488 -2194
  14. package/components/{CashierMethodDetails-DF2piOnQ.js → CashierMethodDetails-UYwG3pD4.js} +2389 -2095
  15. package/components/CashierMethodDetails-rXDr1XNZ.cjs +85 -0
  16. package/components/{CashierMethodsList-i6RsCq8_.js → CashierMethodsList-BJOLHbcD.js} +169 -133
  17. package/components/{CashierMethodsList-CceoUQus.js → CashierMethodsList-BL0sUyuY.js} +182 -146
  18. package/components/CashierMethodsList-CZV52Zob.cjs +1 -0
  19. package/components/{CashierModal-B_CMXPj2.js → CashierModal-B_7Q4iwq.js} +2 -2
  20. package/components/{CashierModal-Dd14V9-9.cjs → CashierModal-BxI26VGr.cjs} +1 -1
  21. package/components/{CashierModal-CvAq_Ya6.js → CashierModal-Dl0z5NVU.js} +2 -2
  22. package/components/{CashierNotifications-CGOL4Hgi.js → CashierNotifications-0c5qC2wE.js} +1 -1
  23. package/components/{CashierNotifications-B2ACV2Wj.js → CashierNotifications-BELBGieS.js} +1 -1
  24. package/components/{CashierNotifications-DiuiOKKG.cjs → CashierNotifications-IlgXqW4M.cjs} +1 -1
  25. package/components/CashierPage-56J3O0u0.cjs +23 -0
  26. package/components/{CashierPage-C78qNR_6.js → CashierPage-D9p8Vv64.js} +1159 -1018
  27. package/components/{CashierPage-9QGvgJdD.js → CashierPage-f3Bp0yQu.js} +1058 -917
  28. package/components/{CashierReceiptPage-BO_YWEks.cjs → CashierReceiptPage-CiR_vfro.cjs} +2 -2
  29. package/components/{CashierReceiptPage-C5xtHwlF.js → CashierReceiptPage-D2QaqABB.js} +800 -524
  30. package/components/{CashierReceiptPage-BN3nEO9S.js → CashierReceiptPage-HHsf22Go.js} +759 -483
  31. package/components/CashierSessionExpirationModal-BGSdk_Mj.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-BAxa-peO.js → CashierSessionExpirationModal-BgA16ICX.js} +366 -342
  33. package/components/{CashierSessionExpirationModal-BmDU66u_.js → CashierSessionExpirationModal-YD2SyMu-.js} +342 -318
  34. package/components/{CashierSpinner-78TTHLfL.js → CashierSpinner-B1exigYR.js} +2 -2
  35. package/components/{CashierSpinner-Cxrxu50U.js → CashierSpinner-WMxJlzPU.js} +2 -2
  36. package/components/{CashierSpinner-4oFy3A9w.cjs → CashierSpinner-xDUg2Ia3.cjs} +1 -1
  37. package/components/CashierStepUp-BJcULKh3.cjs +1 -0
  38. package/components/CashierStepUp-BX4oMHdc.js +1200 -0
  39. package/components/CashierStepUp-C_ptl1y7.js +1161 -0
  40. package/components/{CashierTransactionHistory-D4QXPykp.js → CashierTransactionHistory-CHZesJO5.js} +563 -488
  41. package/components/{CashierTransactionHistory-Cp1_tsYu.js → CashierTransactionHistory-CrflKpwN.js} +550 -475
  42. package/components/CashierTransactionHistory-TDbLeWcJ.cjs +1 -0
  43. package/components/{CashierVerifications-DCt6vl4P.js → CashierVerifications-BDZn88UR.js} +310 -249
  44. package/components/{CashierVerifications-DIXTooXo.js → CashierVerifications-CoqfO6l6.js} +309 -256
  45. package/components/CashierVerifications-QKE-9H4t.cjs +1 -0
  46. package/components/{TxnStatusIcon-BohNSp8i.cjs → TxnStatusIcon-BOdjGqDN.cjs} +1 -1
  47. package/components/{TxnStatusIcon-DxkpWqST.js → TxnStatusIcon-CXbH_076.js} +1 -1
  48. package/components/{TxnStatusIcon-BYUMew_B.js → TxnStatusIcon-Cvq52nxs.js} +1 -1
  49. package/components/{TxnTypeIcons-BNIyiw8U.js → TxnTypeIcons-BZnwBNqe.js} +1 -1
  50. package/components/{TxnTypeIcons-C3j3WSxa.js → TxnTypeIcons-D-qWVgkw.js} +1 -1
  51. package/components/{TxnTypeIcons-BUklfomB.cjs → TxnTypeIcons-DuRqxFjm.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-BcDm5UC1.cjs +0 -1
  57. package/components/CashierError-DiBxWuzE.js +0 -642
  58. package/components/CashierError-DuQCc57p.js +0 -658
  59. package/components/CashierError-qOoBUKKi.cjs +0 -1
  60. package/components/CashierHeader-DJMhpwtG.cjs +0 -1
  61. package/components/CashierIframeRedirect-Cnzm6DaQ.cjs +0 -1
  62. package/components/CashierMethodDetails-BWunEzWc.cjs +0 -85
  63. package/components/CashierMethodsList-Usolzb6T.cjs +0 -1
  64. package/components/CashierPage-CWUHd9kH.cjs +0 -23
  65. package/components/CashierSessionExpirationModal-BaxvOINh.cjs +0 -2
  66. package/components/CashierStepUp-BRMl9Byl.js +0 -1092
  67. package/components/CashierStepUp-BsfyLsnN.cjs +0 -1
  68. package/components/CashierStepUp-CbqhLfIu.js +0 -1131
  69. package/components/CashierTransactionHistory-DS0DSRSZ.cjs +0 -1
  70. package/components/CashierVerifications-BHJ7Twd4.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const n=require("./CashierPage-56J3O0u0.cjs");function k(s,t){n.addMessages(s,t)}function I(s){n.init({fallbackLocale:"en"}),n.$locale.set(s)}const L={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"}}},m="__WIDGET_GLOBAL_STYLE_CACHE__";function A(s,t){if(s){const e=document.createElement("style");e.innerHTML=t,s.appendChild(e)}}function R(s,t){if(!s||!t)return;const e=new URL(t);fetch(e.href).then(l=>l.text()).then(l=>{const i=document.createElement("style");i.innerHTML=l,s&&s.appendChild(i)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function E(s,t,e,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return e=P(s,t),e;window[m]||(window[m]={}),e=q(s,t);const a=e.unsubscribe.bind(e),d=()=>{if(window[m][t]){const c=window[m][t];c.refCount>1?c.refCount=c.refCount-1:delete window[m][t]}a()};return e.unsubscribe=d,e}function P(s,t){const e=document.createElement("style");return window.emMessageBus.subscribe(t,l=>{s&&(e.innerHTML=l,s.appendChild(e))})}function q(s,t){return window.emMessageBus.subscribe(t,e=>{if(!s)return;const l=s.getRootNode(),i=window[m];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(e),i[t]={sheet:a,refCount:1});const d=l.adoptedStyleSheets||[];d.includes(a)||(l.adoptedStyleSheets=[...d,a])})}function G(s){n.append_styles(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)}")}const W=s=>({}),B=s=>({}),Y=s=>({}),v=s=>({}),Z=s=>({}),H=s=>({});function T(s){let t,e,l;return{c(){t=n.element("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>',n.attr(t,"class","CashierHeaderLeftButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[6]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function J(s){let t,e=s[1]&&T(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[1]?e?e.p(l,i):(e=T(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function Q(s){let t,e=s[4](s[2])+"",l;return{c(){t=n.element("span"),l=n.text(e),n.attr(t,"class","CashierHeaderTitle")},m(i,a){n.insert(i,t,a),n.append(t,l)},p(i,a){a&20&&e!==(e=i[4](i[2])+"")&&n.set_data(l,e)},d(i){i&&n.detach(t)}}}function M(s){let t,e,l;return{c(){t=n.element("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>',n.attr(t,"class","CashierHeaderRightButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[5]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function V(s){let t,e=s[3]&&M(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[3]?e?e.p(l,i):(e=M(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function X(s){let t,e,l,i;const a=s[16].leftButton,d=n.create_slot(a,s,s[15],H),c=d||J(s),b=s[16].title,g=n.create_slot(b,s,s[15],v),u=g||Q(s),_=s[16].rightButton,w=n.create_slot(_,s,s[15],B),f=w||V(s);return{c(){t=n.element("div"),c&&c.c(),e=n.space(),u&&u.c(),l=n.space(),f&&f.c(),n.attr(t,"class","CashierHeader")},m(o,h){n.insert(o,t,h),c&&c.m(t,null),n.append(t,e),u&&u.m(t,null),n.append(t,l),f&&f.m(t,null),s[17](t),i=!0},p(o,[h]){d?d.p&&(!i||h&32768)&&n.update_slot_base(d,a,o,o[15],i?n.get_slot_changes(a,o[15],h,Z):n.get_all_dirty_from_scope(o[15]),H):c&&c.p&&(!i||h&2)&&c.p(o,i?h:-1),g?g.p&&(!i||h&32768)&&n.update_slot_base(g,b,o,o[15],i?n.get_slot_changes(b,o[15],h,Y):n.get_all_dirty_from_scope(o[15]),v):u&&u.p&&(!i||h&20)&&u.p(o,i?h:-1),w?w.p&&(!i||h&32768)&&n.update_slot_base(w,_,o,o[15],i?n.get_slot_changes(_,o[15],h,W):n.get_all_dirty_from_scope(o[15]),B):f&&f.p&&(!i||h&8)&&f.p(o,i?h:-1)},i(o){i||(n.transition_in(c,o),n.transition_in(u,o),n.transition_in(f,o),i=!0)},o(o){n.transition_out(c,o),n.transition_out(u,o),n.transition_out(f,o),i=!1},d(o){o&&n.detach(t),c&&c.d(o),u&&u.d(o),f&&f.d(o),s[17](null)}}}function $(s,t,e){let l;n.component_subscribe(s,n.$format,r=>e(4,l=r));let{$$slots:i={},$$scope:a}=t,{clientstyling:d=""}=t,{clientstylingurl:c=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:w=""}=t,{mbsource:f=""}=t,o,h,p=!1,C,y=!1;const O=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(S=>{k(S,r[S])})}).catch(r=>{console.log(r)})};Object.keys(L).forEach(r=>{k(r,L[r])});const j=()=>{I(_)},z=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},U=()=>{window.postMessage({type:"BackCashier"},window.location.href)},N=()=>{e(1,p=!!g&&g!=="false")},D=()=>{e(3,y=!!w&&w!=="false")},K=()=>{e(2,C=u||"header.general")};n.onMount(()=>()=>{});function x(r){n.binding_callbacks[r?"unshift":"push"](()=>{o=r,e(0,o)})}return s.$$set=r=>{"clientstyling"in r&&e(7,d=r.clientstyling),"clientstylingurl"in r&&e(8,c=r.clientstylingurl),"translationurl"in r&&e(9,b=r.translationurl),"showbackbutton"in r&&e(10,g=r.showbackbutton),"title"in r&&e(11,u=r.title),"lang"in r&&e(12,_=r.lang),"showclosebutton"in r&&e(13,w=r.showclosebutton),"mbsource"in r&&e(14,f=r.mbsource),"$$scope"in r&&e(15,a=r.$$scope)},s.$$.update=()=>{s.$$.dirty&4096&&_&&j(),s.$$.dirty&6144&&_&&u&&K(),s.$$.dirty&129&&d&&o&&A(o,d),s.$$.dirty&257&&c&&o&&R(o,c),s.$$.dirty&16385&&f&&o&&E(o,`${f}.Style`,h),s.$$.dirty&4608&&_&&b&&O(),s.$$.dirty&1024&&g&&N(),s.$$.dirty&8192&&w&&D()},[o,p,C,y,l,z,U,d,c,b,g,u,_,w,f,a,i,x]}class F extends n.SvelteComponent{constructor(t){super(),n.init$1(this,t,$,X,n.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},G)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),n.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),n.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),n.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(F,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const tt=Object.freeze(Object.defineProperty({__proto__:null,default:F},Symbol.toStringTag,{value:"Module"}));exports.CashierHeader_ce=tt;exports.setClientStyling=A;exports.setClientStylingURL=R;exports.setStreamStyling=E;
@@ -1,5 +1,5 @@
1
- import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as E, o as k, p as at, q as rt, r as G, v as ct, w as ut, x as ft, y as I, z as P, A as ht, B as dt } from "./CashierPage-C78qNR_6.js";
2
- function O(s, t) {
1
+ import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as O, o as k, p as at, q as rt, r as I, v as ct, w as ut, x as ft, y as q, z as G, A as ht, B as dt } from "./CashierPage-D9p8Vv64.js";
2
+ function R(s, t) {
3
3
  tt(s, t);
4
4
  }
5
5
  function gt(s) {
@@ -28,6 +28,27 @@ const z = {
28
28
  deposit: "Dépôt",
29
29
  withdraw: "Retrait"
30
30
  }
31
+ },
32
+ da: {
33
+ header: {
34
+ general: "Kasse",
35
+ deposit: "Indbetaling",
36
+ withdraw: "Udbetaling"
37
+ }
38
+ },
39
+ de: {
40
+ header: {
41
+ general: "Kasse",
42
+ deposit: "Einzahlung",
43
+ withdraw: "Auszahlung"
44
+ }
45
+ },
46
+ nl: {
47
+ header: {
48
+ general: "Kassa",
49
+ deposit: "Storting",
50
+ withdraw: "Opname"
51
+ }
31
52
  }
32
53
  }, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
33
54
  function wt(s, t) {
@@ -85,7 +106,7 @@ function pt(s, t) {
85
106
  function Ct(s) {
86
107
  ot(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)}");
87
108
  }
88
- const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
109
+ const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), U = (s) => ({}), St = (s) => ({}), x = (s) => ({});
89
110
  function D(s) {
90
111
  let t, e, i;
91
112
  return {
@@ -93,14 +114,14 @@ function D(s) {
93
114
  t = y("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");
94
115
  },
95
116
  m(n, a) {
96
- C(n, t, a), e || (i = P(
117
+ C(n, t, a), e || (i = G(
97
118
  t,
98
119
  "click",
99
120
  /*back*/
100
121
  s[6]
101
122
  ), e = !0);
102
123
  },
103
- p: I,
124
+ p: q,
104
125
  d(n) {
105
126
  n && p(t), e = !1, i();
106
127
  }
@@ -113,7 +134,7 @@ function Bt(s) {
113
134
  );
114
135
  return {
115
136
  c() {
116
- e && e.c(), t = G();
137
+ e && e.c(), t = I();
117
138
  },
118
139
  m(i, n) {
119
140
  e && e.m(i, n), C(i, t, n);
@@ -155,21 +176,21 @@ function Lt(s) {
155
176
  }
156
177
  };
157
178
  }
158
- function q(s) {
179
+ function K(s) {
159
180
  let t, e, i;
160
181
  return {
161
182
  c() {
162
183
  t = y("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");
163
184
  },
164
185
  m(n, a) {
165
- C(n, t, a), e || (i = P(
186
+ C(n, t, a), e || (i = G(
166
187
  t,
167
188
  "click",
168
189
  /*close*/
169
190
  s[5]
170
191
  ), e = !0);
171
192
  },
172
- p: I,
193
+ p: q,
173
194
  d(n) {
174
195
  n && p(t), e = !1, i();
175
196
  }
@@ -178,18 +199,18 @@ function q(s) {
178
199
  function vt(s) {
179
200
  let t, e = (
180
201
  /*closeButton*/
181
- s[3] && q(s)
202
+ s[3] && K(s)
182
203
  );
183
204
  return {
184
205
  c() {
185
- e && e.c(), t = G();
206
+ e && e.c(), t = I();
186
207
  },
187
208
  m(i, n) {
188
209
  e && e.m(i, n), C(i, t, n);
189
210
  },
190
211
  p(i, n) {
191
212
  /*closeButton*/
192
- i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
213
+ i[3] ? e ? e.p(i, n) : (e = K(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
193
214
  },
194
215
  d(i) {
195
216
  i && p(t), e && e.d(i);
@@ -206,7 +227,7 @@ function Ht(s) {
206
227
  s,
207
228
  /*$$scope*/
208
229
  s[15],
209
- U
230
+ x
210
231
  ), r = h || Bt(s), _ = (
211
232
  /*#slots*/
212
233
  s[16].title
@@ -215,7 +236,7 @@ function Ht(s) {
215
236
  s,
216
237
  /*$$scope*/
217
238
  s[15],
218
- x
239
+ U
219
240
  ), c = d || Lt(s), g = (
220
241
  /*#slots*/
221
242
  s[16].rightButton
@@ -228,7 +249,7 @@ function Ht(s) {
228
249
  ), u = w || vt(s);
229
250
  return {
230
251
  c() {
231
- t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
252
+ t = y("div"), r && r.c(), e = O(), c && c.c(), i = O(), u && u.c(), k(t, "class", "CashierHeader");
232
253
  },
233
254
  m(l, f) {
234
255
  C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
@@ -251,7 +272,7 @@ function Ht(s) {
251
272
  /*$$scope*/
252
273
  l[15]
253
274
  ),
254
- U
275
+ x
255
276
  ) : r && r.p && (!n || f & /*backButton*/
256
277
  2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
257
278
  32768) && v(
@@ -270,7 +291,7 @@ function Ht(s) {
270
291
  /*$$scope*/
271
292
  l[15]
272
293
  ),
273
- x
294
+ U
274
295
  ) : c && c.p && (!n || f & /*$_, titleText*/
275
296
  20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
276
297
  32768) && v(
@@ -307,29 +328,29 @@ function Ht(s) {
307
328
  function Tt(s, t, e) {
308
329
  let i;
309
330
  at(s, dt, (o) => e(4, i = o));
310
- let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
311
- const Y = () => {
331
+ let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, E = !1;
332
+ const W = () => {
312
333
  fetch(_).then((o) => o.json()).then((o) => {
313
- Object.keys(o).forEach((R) => {
314
- O(R, o[R]);
334
+ Object.keys(o).forEach((F) => {
335
+ R(F, o[F]);
315
336
  });
316
337
  }).catch((o) => {
317
338
  console.log(o);
318
339
  });
319
340
  };
320
341
  Object.keys(z).forEach((o) => {
321
- O(o, z[o]);
342
+ R(o, z[o]);
322
343
  });
323
- const Z = () => {
344
+ const Y = () => {
324
345
  gt(g);
325
- }, K = () => {
346
+ }, Z = () => {
326
347
  window.postMessage({ type: "CloseCashier" }, window.location.href);
327
348
  }, J = () => {
328
349
  window.postMessage({ type: "BackCashier" }, window.location.href);
329
350
  }, Q = () => {
330
351
  e(1, A = !!d && d !== "false");
331
352
  }, V = () => {
332
- e(3, F = !!w && w !== "false");
353
+ e(3, E = !!w && w !== "false");
333
354
  }, X = () => {
334
355
  e(2, j = c || "header.general");
335
356
  };
@@ -344,21 +365,21 @@ function Tt(s, t, e) {
344
365
  "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
345
366
  }, s.$$.update = () => {
346
367
  s.$$.dirty & /*lang*/
347
- 4096 && g && Z(), s.$$.dirty & /*lang, title*/
368
+ 4096 && g && Y(), s.$$.dirty & /*lang, title*/
348
369
  6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
349
370
  129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
350
371
  257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
351
372
  16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
352
- 4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
373
+ 4608 && g && _ && W(), s.$$.dirty & /*showbackbutton*/
353
374
  1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
354
375
  8192 && w && V();
355
376
  }, [
356
377
  l,
357
378
  A,
358
379
  j,
359
- F,
380
+ E,
360
381
  i,
361
- K,
382
+ Z,
362
383
  J,
363
384
  h,
364
385
  r,
@@ -373,7 +394,7 @@ function Tt(s, t, e) {
373
394
  $
374
395
  ];
375
396
  }
376
- class W extends nt {
397
+ class P extends nt {
377
398
  constructor(t) {
378
399
  super(), it(
379
400
  this,
@@ -443,10 +464,10 @@ class W extends nt {
443
464
  this.$$set({ mbsource: t }), b();
444
465
  }
445
466
  }
446
- ht(W, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
467
+ ht(P, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
447
468
  const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
448
469
  __proto__: null,
449
- default: W
470
+ default: P
450
471
  }, Symbol.toStringTag, { value: "Module" }));
451
472
  export {
452
473
  At as C,
@@ -1,5 +1,5 @@
1
- import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as E, p as k, q as rt, r as ct, v as G, w as ut, x as ft, y as ht, z as I, A as P, B as dt } from "./CashierPage-9QGvgJdD.js";
2
- function O(s, t) {
1
+ import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as O, p as k, q as rt, r as ct, v as I, w as ut, x as ft, y as ht, z as q, A as G, B as dt } from "./CashierPage-f3Bp0yQu.js";
2
+ function R(s, t) {
3
3
  tt(s, t);
4
4
  }
5
5
  function gt(s) {
@@ -28,6 +28,27 @@ const z = {
28
28
  deposit: "Dépôt",
29
29
  withdraw: "Retrait"
30
30
  }
31
+ },
32
+ da: {
33
+ header: {
34
+ general: "Kasse",
35
+ deposit: "Indbetaling",
36
+ withdraw: "Udbetaling"
37
+ }
38
+ },
39
+ de: {
40
+ header: {
41
+ general: "Kasse",
42
+ deposit: "Einzahlung",
43
+ withdraw: "Auszahlung"
44
+ }
45
+ },
46
+ nl: {
47
+ header: {
48
+ general: "Kassa",
49
+ deposit: "Storting",
50
+ withdraw: "Opname"
51
+ }
31
52
  }
32
53
  }, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
33
54
  function wt(s, t) {
@@ -85,7 +106,7 @@ function pt(s, t) {
85
106
  function Ct(s) {
86
107
  at(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)}");
87
108
  }
88
- const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
109
+ const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), U = (s) => ({}), St = (s) => ({}), x = (s) => ({});
89
110
  function D(s) {
90
111
  let t, e, i;
91
112
  return {
@@ -93,14 +114,14 @@ function D(s) {
93
114
  t = y("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");
94
115
  },
95
116
  m(n, a) {
96
- C(n, t, a), e || (i = P(
117
+ C(n, t, a), e || (i = G(
97
118
  t,
98
119
  "click",
99
120
  /*back*/
100
121
  s[6]
101
122
  ), e = !0);
102
123
  },
103
- p: I,
124
+ p: q,
104
125
  d(n) {
105
126
  n && p(t), e = !1, i();
106
127
  }
@@ -113,7 +134,7 @@ function Bt(s) {
113
134
  );
114
135
  return {
115
136
  c() {
116
- e && e.c(), t = G();
137
+ e && e.c(), t = I();
117
138
  },
118
139
  m(i, n) {
119
140
  e && e.m(i, n), C(i, t, n);
@@ -155,21 +176,21 @@ function Lt(s) {
155
176
  }
156
177
  };
157
178
  }
158
- function q(s) {
179
+ function K(s) {
159
180
  let t, e, i;
160
181
  return {
161
182
  c() {
162
183
  t = y("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");
163
184
  },
164
185
  m(n, a) {
165
- C(n, t, a), e || (i = P(
186
+ C(n, t, a), e || (i = G(
166
187
  t,
167
188
  "click",
168
189
  /*close*/
169
190
  s[5]
170
191
  ), e = !0);
171
192
  },
172
- p: I,
193
+ p: q,
173
194
  d(n) {
174
195
  n && p(t), e = !1, i();
175
196
  }
@@ -178,18 +199,18 @@ function q(s) {
178
199
  function vt(s) {
179
200
  let t, e = (
180
201
  /*closeButton*/
181
- s[3] && q(s)
202
+ s[3] && K(s)
182
203
  );
183
204
  return {
184
205
  c() {
185
- e && e.c(), t = G();
206
+ e && e.c(), t = I();
186
207
  },
187
208
  m(i, n) {
188
209
  e && e.m(i, n), C(i, t, n);
189
210
  },
190
211
  p(i, n) {
191
212
  /*closeButton*/
192
- i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
213
+ i[3] ? e ? e.p(i, n) : (e = K(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
193
214
  },
194
215
  d(i) {
195
216
  i && p(t), e && e.d(i);
@@ -206,7 +227,7 @@ function Ht(s) {
206
227
  s,
207
228
  /*$$scope*/
208
229
  s[15],
209
- U
230
+ x
210
231
  ), r = h || Bt(s), _ = (
211
232
  /*#slots*/
212
233
  s[16].title
@@ -215,7 +236,7 @@ function Ht(s) {
215
236
  s,
216
237
  /*$$scope*/
217
238
  s[15],
218
- x
239
+ U
219
240
  ), c = d || Lt(s), g = (
220
241
  /*#slots*/
221
242
  s[16].rightButton
@@ -228,7 +249,7 @@ function Ht(s) {
228
249
  ), u = w || vt(s);
229
250
  return {
230
251
  c() {
231
- t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
252
+ t = y("div"), r && r.c(), e = O(), c && c.c(), i = O(), u && u.c(), k(t, "class", "CashierHeader");
232
253
  },
233
254
  m(l, f) {
234
255
  C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
@@ -251,7 +272,7 @@ function Ht(s) {
251
272
  /*$$scope*/
252
273
  l[15]
253
274
  ),
254
- U
275
+ x
255
276
  ) : r && r.p && (!n || f & /*backButton*/
256
277
  2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
257
278
  32768) && v(
@@ -270,7 +291,7 @@ function Ht(s) {
270
291
  /*$$scope*/
271
292
  l[15]
272
293
  ),
273
- x
294
+ U
274
295
  ) : c && c.p && (!n || f & /*$_, titleText*/
275
296
  20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
276
297
  32768) && v(
@@ -307,29 +328,29 @@ function Ht(s) {
307
328
  function Tt(s, t, e) {
308
329
  let i;
309
330
  rt(s, dt, (o) => e(4, i = o));
310
- let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
311
- const Y = () => {
331
+ let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, E = !1;
332
+ const W = () => {
312
333
  fetch(_).then((o) => o.json()).then((o) => {
313
- Object.keys(o).forEach((R) => {
314
- O(R, o[R]);
334
+ Object.keys(o).forEach((F) => {
335
+ R(F, o[F]);
315
336
  });
316
337
  }).catch((o) => {
317
338
  console.log(o);
318
339
  });
319
340
  };
320
341
  Object.keys(z).forEach((o) => {
321
- O(o, z[o]);
342
+ R(o, z[o]);
322
343
  });
323
- const Z = () => {
344
+ const Y = () => {
324
345
  gt(g);
325
- }, K = () => {
346
+ }, Z = () => {
326
347
  window.postMessage({ type: "CloseCashier" }, window.location.href);
327
348
  }, J = () => {
328
349
  window.postMessage({ type: "BackCashier" }, window.location.href);
329
350
  }, Q = () => {
330
351
  e(1, A = !!d && d !== "false");
331
352
  }, V = () => {
332
- e(3, F = !!w && w !== "false");
353
+ e(3, E = !!w && w !== "false");
333
354
  }, X = () => {
334
355
  e(2, j = c || "header.general");
335
356
  };
@@ -344,21 +365,21 @@ function Tt(s, t, e) {
344
365
  "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
345
366
  }, s.$$.update = () => {
346
367
  s.$$.dirty & /*lang*/
347
- 4096 && g && Z(), s.$$.dirty & /*lang, title*/
368
+ 4096 && g && Y(), s.$$.dirty & /*lang, title*/
348
369
  6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
349
370
  129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
350
371
  257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
351
372
  16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
352
- 4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
373
+ 4608 && g && _ && W(), s.$$.dirty & /*showbackbutton*/
353
374
  1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
354
375
  8192 && w && V();
355
376
  }, [
356
377
  l,
357
378
  A,
358
379
  j,
359
- F,
380
+ E,
360
381
  i,
361
- K,
382
+ Z,
362
383
  J,
363
384
  h,
364
385
  r,
@@ -373,7 +394,7 @@ function Tt(s, t, e) {
373
394
  $
374
395
  ];
375
396
  }
376
- class W extends nt {
397
+ class P extends nt {
377
398
  constructor(t) {
378
399
  super(), it(
379
400
  this,
@@ -443,10 +464,10 @@ class W extends nt {
443
464
  this.$$set({ mbsource: t }), b();
444
465
  }
445
466
  }
446
- ot(W, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
467
+ ot(P, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
447
468
  const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
448
469
  __proto__: null,
449
- default: W
470
+ default: P
450
471
  }, Symbol.toStringTag, { value: "Module" }));
451
472
  export {
452
473
  At as C,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-56J3O0u0.cjs"),w=require("./CashierHeader-BK500Xjw.cjs");function y(i,t){e.addMessages(i,t)}function q(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const v={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"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-xDUg2Ia3.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function I(i){e.append_styles(i,"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 L(i){let t,n,r;return{c(){t=e.element("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>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(r=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,r()}}}function k(i){let t,n,r;return{c(){t=e.element("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>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(r=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,r()}}}function S(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,r){e.insert(n,t,r)},p(n,r){r&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),r&32&&e.set_custom_element_data(t,"clientstyling",n[5]),r&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function T(i){let t,n,r,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&k(i),c=i[9]&&S(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),r=e.space(),a&&a.c(),f=e.space(),c&&c.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(s,u){e.insert(s,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,r),a&&a.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(n,r)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?a?a.p(s,u):(a=k(s),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(n,"lang",s[0]),u&4&&e.set_custom_element_data(n,"translationurl",s[2]),u&128&&e.set_custom_element_data(n,"title",s[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(n,"clientstyling",s[5]),u&16&&e.set_custom_element_data(n,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:r="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,s=!0;const u=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(v).forEach(l=>{y(l,v[l])});const E=()=>{q(r)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>C(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,r=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&r&&E(),i.$$.dirty&4&&m&&u(),i.$$.dirty&288&&g&&a&&w.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&w.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&w.setStreamStyling(a,`${h}.Style`,c)},[r,f,m,d,h,g,_,o,a,s,M,C,F,j]}class H extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,O,T,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},I)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;