@everymatrix/cashier-page 1.74.1 → 1.74.2

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 (76) hide show
  1. package/components/{CashierConfirmModal-DiJy6WCC.js → CashierConfirmModal-B8OOtTE_.js} +38 -38
  2. package/components/{CashierConfirmModal-Bl65cs4j.js → CashierConfirmModal-IR_fdiwt.js} +37 -37
  3. package/components/{CashierError-DT8XXsZb.js → CashierError-DwFDMuO4.js} +538 -506
  4. package/components/{CashierError-sabBjpnx.js → CashierError-Lwv9a6Jn.js} +538 -506
  5. package/components/{CashierError-CUi7dlhw.cjs → CashierError-lygql-vp.cjs} +16 -3
  6. package/components/{CashierHeader-C87PEbuI.cjs → CashierHeader-BBFpE9tm.cjs} +1 -1
  7. package/components/{CashierHeader-B_TbzRzY.js → CashierHeader-Co4LH4OR.js} +62 -62
  8. package/components/{CashierHeader-CRNLSN-X.js → CashierHeader-DBbG_kCZ.js} +65 -65
  9. package/components/{CashierIframeRedirect-zBfOGfH0.js → CashierIframeRedirect-BifoYFS6.js} +43 -43
  10. package/components/{CashierIframeRedirect-DcI_fdtE.js → CashierIframeRedirect-DLWyFLbS.js} +43 -43
  11. package/components/{CashierIframeRedirect-q6Z4Yxd2.cjs → CashierIframeRedirect-O2R4PeFx.cjs} +1 -1
  12. package/components/CashierMethodDetails-BiDcofyV.cjs +86 -0
  13. package/components/{CashierMethodDetails-SkPBUxsi.js → CashierMethodDetails-Bv4pmeQb.js} +2752 -2747
  14. package/components/{CashierMethodDetails-CzQGZLT9.js → CashierMethodDetails-DzH-30k0.js} +2692 -2690
  15. package/components/{CashierMethodsList-BwQxzNhr.js → CashierMethodsList-B81lBh-i.js} +408 -405
  16. package/components/CashierMethodsList-CqDdABdG.cjs +1 -0
  17. package/components/{CashierMethodsList-CNZRTEmt.js → CashierMethodsList-SztGlaVA.js} +417 -414
  18. package/components/{CashierModal-C9DRbWKa.js → CashierModal-BGLiz1Q0.js} +30 -30
  19. package/components/{CashierModal-l0r5lSbV.js → CashierModal-DPdsjy2Y.js} +27 -27
  20. package/components/{CashierNotifications-BRaPHw0O.js → CashierNotifications-BVMqQF5E.js} +15 -15
  21. package/components/{CashierNotifications-C60PYJS0.js → CashierNotifications-zWfvVWp3.js} +15 -15
  22. package/components/{CashierPage-DcNLQxqw.js → CashierPage-C1gTiNOQ.js} +556 -477
  23. package/components/{CashierPage-El2u8C5N.js → CashierPage-DOm_w_Mb.js} +556 -477
  24. package/components/CashierPage-M5GWcvzG.cjs +1 -0
  25. package/components/{CashierReceiptPage-D-G8rB5N.js → CashierReceiptPage-8oBK9c-w.js} +445 -424
  26. package/components/{CashierReceiptPage-DfMEJsZx.js → CashierReceiptPage-BG1Sg3_U.js} +471 -446
  27. package/components/CashierReceiptPage-BKr9Y4z2.cjs +1 -0
  28. package/components/{CashierSessionExpirationModal-BfPvkDUo.cjs → CashierSessionExpirationModal-25t9wFGB.cjs} +1 -1
  29. package/components/{CashierSessionExpirationModal-CwWstvB8.js → CashierSessionExpirationModal-DccW5Qt4.js} +58 -49
  30. package/components/{CashierSessionExpirationModal-BuUgCatI.js → CashierSessionExpirationModal-DctA8xGg.js} +58 -49
  31. package/components/{CashierSpinner-DGvxbV84.js → CashierSpinner-BJ0-pcso.js} +13 -13
  32. package/components/{CashierSpinner-CC_b-bLQ.js → CashierSpinner-DX6FQb5G.js} +15 -15
  33. package/components/{CashierTransactionHistory-D46VIVuo.js → CashierTransactionHistory-DEhh9fZY.js} +58 -58
  34. package/components/{CashierTransactionHistory-idoNMIZM.cjs → CashierTransactionHistory-DuaiwgJ8.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-DTgDyhFg.js → CashierTransactionHistory-X005hbwU.js} +75 -75
  36. package/components/{CashierVerifications-C_StTRQe.cjs → CashierVerifications-BLDRWv6W.cjs} +1 -1
  37. package/components/{CashierVerifications-3Axu0Hzv.js → CashierVerifications-CHUaPoXN.js} +35 -35
  38. package/components/{CashierVerifications-xsgXX--M.js → CashierVerifications-DLLCf8wO.js} +36 -36
  39. package/components/{CashierVideoModal-CLzErDsi.js → CashierVideoModal-4ZsB8TZ-.js} +47 -47
  40. package/components/{CashierVideoModal-CnhHqo1M.cjs → CashierVideoModal-CBlMdTrM.cjs} +1 -1
  41. package/components/{CashierVideoModal-DJJAzqj3.js → CashierVideoModal-DOrEnX7J.js} +47 -47
  42. package/es2015/cashier-page.cjs +1 -1
  43. package/es2015/cashier-page.js +1 -1
  44. package/esnext/cashier-page.js +1 -1
  45. package/package.json +1 -1
  46. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  47. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  48. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  49. package/stencil/index-b2193545-BhpttWPO.cjs +1 -0
  50. package/stencil/index-b2193545-DWKmtYUG.js +503 -0
  51. package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
  52. package/stencil/{ui-image-BWJXFWH1.js → ui-image-4dZyD9yF.js} +1 -1
  53. package/stencil/{ui-image-DIEeZy5u.js → ui-image-6u7OR3Eo.js} +1 -1
  54. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CER01gdl.cjs} +1 -1
  55. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  56. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  57. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  58. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  59. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  60. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
  61. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
  62. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
  63. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
  64. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
  65. package/stencil/{ui-skeleton-ae35c6f2-CKgUXOQC.cjs → ui-skeleton-ae35c6f2-D-MGUxCy.cjs} +1 -1
  66. package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-gIFE_2eg.cjs} +1 -1
  67. package/components/CashierMethodDetails-DI5D_QCF.cjs +0 -99
  68. package/components/CashierMethodsList-BuJMDLdX.cjs +0 -1
  69. package/components/CashierPage-M26PQ4uv.cjs +0 -1
  70. package/components/CashierReceiptPage-qJvPvJga.cjs +0 -1
  71. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  72. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  73. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  74. package/stencil/index-b2193545-B8kMF2bI.cjs +0 -1
  75. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  76. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-Dbth1Vwp.cjs"),w=require("./CashierError-CUi7dlhw.cjs");function k(i,t){w.addMessages(i,t)}function x(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function D(i){e.append_styles(i,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const P=i=>({}),L=i=>({}),U=i=>({}),v=i=>({}),W=i=>({}),H=i=>({});function M(i){let t,n,o;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" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',e.attr(t,"class","CashierHeaderLeftButton")},m(l,h){e.insert(l,t,h),n||(o=e.listen(t,"click",i[6]),n=!0)},p:e.noop,d(l){l&&e.detach(t),n=!1,o()}}}function Z(i){let t,n=i[1]&&M(i);return{c(){n&&n.c(),t=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,t,l)},p(o,l){o[1]?n?n.p(o,l):(n=M(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function I(i){let t,n=i[4](i[2])+"",o;return{c(){t=e.element("span"),o=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(l,h){e.insert(l,t,h),e.append(t,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&e.set_data(o,n)},d(l){l&&e.detach(t)}}}function S(i){let t,n,o;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',e.attr(t,"class","CashierHeaderRightButton")},m(l,h){e.insert(l,t,h),n||(o=e.listen(t,"click",i[5]),n=!0)},p:e.noop,d(l){l&&e.detach(t),n=!1,o()}}}function Y(i){let t,n=i[3]&&S(i);return{c(){n&&n.c(),t=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,t,l)},p(o,l){o[3]?n?n.p(o,l):(n=S(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function F(i){let t,n,o,l;const h=i[16].leftButton,m=e.create_slot(h,i,i[15],H),c=m||Z(i),b=i[16].title,g=e.create_slot(b,i,i[15],v),u=g||I(i),_=i[16].rightButton,d=e.create_slot(_,i,i[15],L),f=d||Y(i);return{c(){t=e.element("div"),c&&c.c(),n=e.space(),u&&u.c(),o=e.space(),f&&f.c(),e.attr(t,"class","CashierHeader")},m(s,a){e.insert(s,t,a),c&&c.m(t,null),e.append(t,n),u&&u.m(t,null),e.append(t,o),f&&f.m(t,null),i[17](t),l=!0},p(s,[a]){m?m.p&&(!l||a&32768)&&e.update_slot_base(m,h,s,s[15],l?e.get_slot_changes(h,s[15],a,W):e.get_all_dirty_from_scope(s[15]),H):c&&c.p&&(!l||a&2)&&c.p(s,l?a:-1),g?g.p&&(!l||a&32768)&&e.update_slot_base(g,b,s,s[15],l?e.get_slot_changes(b,s[15],a,U):e.get_all_dirty_from_scope(s[15]),v):u&&u.p&&(!l||a&20)&&u.p(s,l?a:-1),d?d.p&&(!l||a&32768)&&e.update_slot_base(d,_,s,s[15],l?e.get_slot_changes(_,s[15],a,P):e.get_all_dirty_from_scope(s[15]),L):f&&f.p&&(!l||a&8)&&f.p(s,l?a:-1)},i(s){l||(e.transition_in(c,s),e.transition_in(u,s),e.transition_in(f,s),l=!0)},o(s){e.transition_out(c,s),e.transition_out(u,s),e.transition_out(f,s),l=!1},d(s){s&&e.detach(t),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function G(i,t,n){let o;e.component_subscribe(i,w.$format,r=>n(4,o=r));let{$$slots:l={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:c=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,{mbsource:f=""}=t,s,a=!1,p,C=!1;const E=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(y=>{k(y,r[y])})}).catch(r=>{console.log(r)})};Object.keys(B).forEach(r=>{k(r,B[r])});const j=()=>{x(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},z=()=>{window.postMessage({type:"BackCashier"},window.location.href)},O=()=>{n(1,a=!!g&&g!=="false")},R=()=>{n(3,C=!!d&&d!=="false")},q=()=>{n(2,p=u||"header.general")};e.onMount(()=>()=>{});function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(0,s)})}return i.$$set=r=>{"clientstyling"in r&&n(7,m=r.clientstyling),"clientstylingurl"in r&&n(8,c=r.clientstylingurl),"translationurl"in r&&n(9,b=r.translationurl),"showbackbutton"in r&&n(10,g=r.showbackbutton),"title"in r&&n(11,u=r.title),"lang"in r&&n(12,_=r.lang),"showclosebutton"in r&&n(13,d=r.showclosebutton),"mbsource"in r&&n(14,f=r.mbsource),"$$scope"in r&&n(15,h=r.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&j(),i.$$.dirty&6144&&_&&u&&q(),i.$$.dirty&129&&m&&s&&e.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&e.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&e.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&E(),i.$$.dirty&1024&&g&&O(),i.$$.dirty&8192&&d&&R()},[s,a,p,C,o,N,z,m,c,b,g,u,_,d,f,h,l,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,F,e.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(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-Dbth1Vwp.cjs"),w=require("./CashierError-lygql-vp.cjs");function k(i,t){w.addMessages(i,t)}function x(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function D(i){e.append_styles(i,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const P=i=>({}),L=i=>({}),U=i=>({}),v=i=>({}),W=i=>({}),H=i=>({});function M(i){let t,n,o;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" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',e.attr(t,"class","CashierHeaderLeftButton")},m(l,h){e.insert(l,t,h),n||(o=e.listen(t,"click",i[6]),n=!0)},p:e.noop,d(l){l&&e.detach(t),n=!1,o()}}}function Z(i){let t,n=i[1]&&M(i);return{c(){n&&n.c(),t=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,t,l)},p(o,l){o[1]?n?n.p(o,l):(n=M(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function I(i){let t,n=i[4](i[2])+"",o;return{c(){t=e.element("span"),o=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(l,h){e.insert(l,t,h),e.append(t,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&e.set_data(o,n)},d(l){l&&e.detach(t)}}}function S(i){let t,n,o;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',e.attr(t,"class","CashierHeaderRightButton")},m(l,h){e.insert(l,t,h),n||(o=e.listen(t,"click",i[5]),n=!0)},p:e.noop,d(l){l&&e.detach(t),n=!1,o()}}}function Y(i){let t,n=i[3]&&S(i);return{c(){n&&n.c(),t=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,t,l)},p(o,l){o[3]?n?n.p(o,l):(n=S(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function F(i){let t,n,o,l;const h=i[16].leftButton,m=e.create_slot(h,i,i[15],H),c=m||Z(i),b=i[16].title,g=e.create_slot(b,i,i[15],v),u=g||I(i),_=i[16].rightButton,d=e.create_slot(_,i,i[15],L),f=d||Y(i);return{c(){t=e.element("div"),c&&c.c(),n=e.space(),u&&u.c(),o=e.space(),f&&f.c(),e.attr(t,"class","CashierHeader")},m(s,a){e.insert(s,t,a),c&&c.m(t,null),e.append(t,n),u&&u.m(t,null),e.append(t,o),f&&f.m(t,null),i[17](t),l=!0},p(s,[a]){m?m.p&&(!l||a&32768)&&e.update_slot_base(m,h,s,s[15],l?e.get_slot_changes(h,s[15],a,W):e.get_all_dirty_from_scope(s[15]),H):c&&c.p&&(!l||a&2)&&c.p(s,l?a:-1),g?g.p&&(!l||a&32768)&&e.update_slot_base(g,b,s,s[15],l?e.get_slot_changes(b,s[15],a,U):e.get_all_dirty_from_scope(s[15]),v):u&&u.p&&(!l||a&20)&&u.p(s,l?a:-1),d?d.p&&(!l||a&32768)&&e.update_slot_base(d,_,s,s[15],l?e.get_slot_changes(_,s[15],a,P):e.get_all_dirty_from_scope(s[15]),L):f&&f.p&&(!l||a&8)&&f.p(s,l?a:-1)},i(s){l||(e.transition_in(c,s),e.transition_in(u,s),e.transition_in(f,s),l=!0)},o(s){e.transition_out(c,s),e.transition_out(u,s),e.transition_out(f,s),l=!1},d(s){s&&e.detach(t),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function G(i,t,n){let o;e.component_subscribe(i,w.$format,r=>n(4,o=r));let{$$slots:l={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:c=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,{mbsource:f=""}=t,s,a=!1,p,C=!1;const E=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(y=>{k(y,r[y])})}).catch(r=>{console.log(r)})};Object.keys(B).forEach(r=>{k(r,B[r])});const j=()=>{x(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},z=()=>{window.postMessage({type:"BackCashier"},window.location.href)},O=()=>{n(1,a=!!g&&g!=="false")},R=()=>{n(3,C=!!d&&d!=="false")},q=()=>{n(2,p=u||"header.general")};e.onMount(()=>()=>{});function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(0,s)})}return i.$$set=r=>{"clientstyling"in r&&n(7,m=r.clientstyling),"clientstylingurl"in r&&n(8,c=r.clientstylingurl),"translationurl"in r&&n(9,b=r.translationurl),"showbackbutton"in r&&n(10,g=r.showbackbutton),"title"in r&&n(11,u=r.title),"lang"in r&&n(12,_=r.lang),"showclosebutton"in r&&n(13,d=r.showclosebutton),"mbsource"in r&&n(14,f=r.mbsource),"$$scope"in r&&n(15,h=r.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&j(),i.$$.dirty&6144&&_&&u&&q(),i.$$.dirty&129&&m&&s&&e.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&e.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&e.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&E(),i.$$.dirty&1024&&g&&O(),i.$$.dirty&8192&&d&&R()},[s,a,p,C,o,N,z,m,c,b,g,u,_,d,f,h,l,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,F,e.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(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
@@ -1,5 +1,5 @@
1
- import { S as V, b as X, f as b, s as $, I as tt, c as et, d as k, e as w, t as B, g as L, u as v, h as H, j as S, l as C, m as M, o as p, p as E, q as y, v as st, w as nt, x as I, y as it, z as lt, A as ot, n as U, B as W, F as at, G as rt, H as ct } from "./CashierConfirmModal-DiJy6WCC.js";
2
- import { a as ut, i as ft, $ as ht, b as gt } from "./CashierError-DT8XXsZb.js";
1
+ import { S as V, b as X, f as b, c as $, a as tt, d as et, e as y, g as p, h as E, j as k, k as w, l as M, u as B, m as L, o as v, t as H, p as S, v as C, w as st, x as nt, y as it, z as lt, A as W, B as ot, C as at, F as rt, G as ct, D as Z, n as q } from "./CashierConfirmModal-IR_fdiwt.js";
2
+ import { a as ut, i as ft, $ as ht, b as gt } from "./CashierError-Lwv9a6Jn.js";
3
3
  function N(s, t) {
4
4
  ut(s, t);
5
5
  }
@@ -34,45 +34,45 @@ const x = {
34
34
  function _t(s) {
35
35
  et(s, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
36
36
  }
37
- const mt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), R = (s) => ({}), wt = (s) => ({}), O = (s) => ({});
38
- function q(s) {
37
+ const mt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), R = (s) => ({}), wt = (s) => ({}), D = (s) => ({});
38
+ function O(s) {
39
39
  let t, e, l;
40
40
  return {
41
41
  c() {
42
- t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', y(t, "class", "CashierHeaderLeftButton");
42
+ t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
43
43
  },
44
44
  m(n, f) {
45
- C(n, t, f), e || (l = W(
45
+ w(n, t, f), e || (l = Z(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
49
49
  s[6]
50
50
  ), e = !0);
51
51
  },
52
- p: U,
52
+ p: q,
53
53
  d(n) {
54
- n && w(t), e = !1, l();
54
+ n && C(t), e = !1, l();
55
55
  }
56
56
  };
57
57
  }
58
58
  function Ct(s) {
59
59
  let t, e = (
60
60
  /*backButton*/
61
- s[1] && q(s)
61
+ s[1] && O(s)
62
62
  );
63
63
  return {
64
64
  c() {
65
- e && e.c(), t = I();
65
+ e && e.c(), t = W();
66
66
  },
67
67
  m(l, n) {
68
- e && e.m(l, n), C(l, t, n);
68
+ e && e.m(l, n), w(l, t, n);
69
69
  },
70
70
  p(l, n) {
71
71
  /*backButton*/
72
- l[1] ? e ? e.p(l, n) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
+ l[1] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
73
73
  },
74
74
  d(l) {
75
- l && w(t), e && e.d(l);
75
+ l && C(t), e && e.d(l);
76
76
  }
77
77
  };
78
78
  }
@@ -86,10 +86,10 @@ function pt(s) {
86
86
  ), l;
87
87
  return {
88
88
  c() {
89
- t = p("span"), l = lt(e), y(t, "class", "CashierHeaderTitle");
89
+ t = p("span"), l = ot(e), k(t, "class", "CashierHeaderTitle");
90
90
  },
91
91
  m(n, f) {
92
- C(n, t, f), M(t, l);
92
+ w(n, t, f), M(t, l);
93
93
  },
94
94
  p(n, f) {
95
95
  f & /*$_, titleText*/
@@ -97,69 +97,69 @@ function pt(s) {
97
97
  n[4](
98
98
  /*titleText*/
99
99
  n[2]
100
- ) + "") && it(l, e);
100
+ ) + "") && at(l, e);
101
101
  },
102
102
  d(n) {
103
- n && w(t);
103
+ n && C(t);
104
104
  }
105
105
  };
106
106
  }
107
- function D(s) {
107
+ function U(s) {
108
108
  let t, e, l;
109
109
  return {
110
110
  c() {
111
- t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', y(t, "class", "CashierHeaderRightButton");
111
+ t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderRightButton");
112
112
  },
113
113
  m(n, f) {
114
- C(n, t, f), e || (l = W(
114
+ w(n, t, f), e || (l = Z(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
118
118
  s[5]
119
119
  ), e = !0);
120
120
  },
121
- p: U,
121
+ p: q,
122
122
  d(n) {
123
- n && w(t), e = !1, l();
123
+ n && C(t), e = !1, l();
124
124
  }
125
125
  };
126
126
  }
127
- function yt(s) {
127
+ function kt(s) {
128
128
  let t, e = (
129
129
  /*closeButton*/
130
- s[3] && D(s)
130
+ s[3] && U(s)
131
131
  );
132
132
  return {
133
133
  c() {
134
- e && e.c(), t = I();
134
+ e && e.c(), t = W();
135
135
  },
136
136
  m(l, n) {
137
- e && e.m(l, n), C(l, t, n);
137
+ e && e.m(l, n), w(l, t, n);
138
138
  },
139
139
  p(l, n) {
140
140
  /*closeButton*/
141
- l[3] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
+ l[3] ? e ? e.p(l, n) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
142
142
  },
143
143
  d(l) {
144
- l && w(t), e && e.d(l);
144
+ l && C(t), e && e.d(l);
145
145
  }
146
146
  };
147
147
  }
148
- function kt(s) {
148
+ function yt(s) {
149
149
  let t, e, l, n;
150
150
  const f = (
151
151
  /*#slots*/
152
152
  s[16].leftButton
153
- ), _ = k(
153
+ ), _ = y(
154
154
  f,
155
155
  s,
156
156
  /*$$scope*/
157
157
  s[15],
158
- O
158
+ D
159
159
  ), r = _ || Ct(s), m = (
160
160
  /*#slots*/
161
161
  s[16].title
162
- ), h = k(
162
+ ), h = y(
163
163
  m,
164
164
  s,
165
165
  /*$$scope*/
@@ -168,73 +168,73 @@ function kt(s) {
168
168
  ), c = h || pt(s), g = (
169
169
  /*#slots*/
170
170
  s[16].rightButton
171
- ), d = k(
171
+ ), d = y(
172
172
  g,
173
173
  s,
174
174
  /*$$scope*/
175
175
  s[15],
176
176
  A
177
- ), u = d || yt(s);
177
+ ), u = d || kt(s);
178
178
  return {
179
179
  c() {
180
- t = p("div"), r && r.c(), e = E(), c && c.c(), l = E(), u && u.c(), y(t, "class", "CashierHeader");
180
+ t = p("div"), r && r.c(), e = E(), c && c.c(), l = E(), u && u.c(), k(t, "class", "CashierHeader");
181
181
  },
182
182
  m(i, a) {
183
- C(i, t, a), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, l), u && u.m(t, null), s[17](t), n = !0;
183
+ w(i, t, a), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, l), u && u.m(t, null), s[17](t), n = !0;
184
184
  },
185
185
  p(i, [a]) {
186
186
  _ ? _.p && (!n || a & /*$$scope*/
187
- 32768) && v(
187
+ 32768) && B(
188
188
  _,
189
189
  f,
190
190
  i,
191
191
  /*$$scope*/
192
192
  i[15],
193
- n ? S(
193
+ n ? v(
194
194
  f,
195
195
  /*$$scope*/
196
196
  i[15],
197
197
  a,
198
198
  wt
199
- ) : H(
199
+ ) : L(
200
200
  /*$$scope*/
201
201
  i[15]
202
202
  ),
203
- O
203
+ D
204
204
  ) : r && r.p && (!n || a & /*backButton*/
205
205
  2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
206
- 32768) && v(
206
+ 32768) && B(
207
207
  h,
208
208
  m,
209
209
  i,
210
210
  /*$$scope*/
211
211
  i[15],
212
- n ? S(
212
+ n ? v(
213
213
  m,
214
214
  /*$$scope*/
215
215
  i[15],
216
216
  a,
217
217
  bt
218
- ) : H(
218
+ ) : L(
219
219
  /*$$scope*/
220
220
  i[15]
221
221
  ),
222
222
  R
223
223
  ) : c && c.p && (!n || a & /*$_, titleText*/
224
224
  20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
225
- 32768) && v(
225
+ 32768) && B(
226
226
  d,
227
227
  g,
228
228
  i,
229
229
  /*$$scope*/
230
230
  i[15],
231
- n ? S(
231
+ n ? v(
232
232
  g,
233
233
  /*$$scope*/
234
234
  i[15],
235
235
  a,
236
236
  mt
237
- ) : H(
237
+ ) : L(
238
238
  /*$$scope*/
239
239
  i[15]
240
240
  ),
@@ -243,13 +243,13 @@ function kt(s) {
243
243
  8) && u.p(i, n ? a : -1);
244
244
  },
245
245
  i(i) {
246
- n || (L(r, i), L(c, i), L(u, i), n = !0);
246
+ n || (H(r, i), H(c, i), H(u, i), n = !0);
247
247
  },
248
248
  o(i) {
249
- B(r, i), B(c, i), B(u, i), n = !1;
249
+ S(r, i), S(c, i), S(u, i), n = !1;
250
250
  },
251
251
  d(i) {
252
- i && w(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
252
+ i && C(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
253
253
  }
254
254
  };
255
255
  }
@@ -257,7 +257,7 @@ function Bt(s, t, e) {
257
257
  let l;
258
258
  st(s, gt, (o) => e(4, l = o));
259
259
  let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: u = "" } = t, i, a = !1, T, j = !1;
260
- const Z = () => {
260
+ const F = () => {
261
261
  fetch(m).then((o) => o.json()).then((o) => {
262
262
  Object.keys(o).forEach((z) => {
263
263
  N(z, o[z]);
@@ -269,9 +269,9 @@ function Bt(s, t, e) {
269
269
  Object.keys(x).forEach((o) => {
270
270
  N(o, x[o]);
271
271
  });
272
- const F = () => {
272
+ const G = () => {
273
273
  dt(g);
274
- }, G = () => {
274
+ }, I = () => {
275
275
  window.postMessage({ type: "CloseCashier" }, window.location.href);
276
276
  }, P = () => {
277
277
  window.postMessage({ type: "BackCashier" }, window.location.href);
@@ -285,7 +285,7 @@ function Bt(s, t, e) {
285
285
  nt(() => () => {
286
286
  });
287
287
  function Q(o) {
288
- ot[o ? "unshift" : "push"](() => {
288
+ rt[o ? "unshift" : "push"](() => {
289
289
  i = o, e(0, i);
290
290
  });
291
291
  }
@@ -293,12 +293,12 @@ function Bt(s, t, e) {
293
293
  "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
294
294
  }, s.$$.update = () => {
295
295
  s.$$.dirty & /*lang*/
296
- 4096 && g && F(), s.$$.dirty & /*lang, title*/
296
+ 4096 && g && G(), s.$$.dirty & /*lang, title*/
297
297
  6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
298
- 129 && _ && i && at(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
299
- 257 && r && i && rt(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
300
- 16385 && u && i && ct(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
301
- 4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
298
+ 129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
299
+ 257 && r && i && it(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
300
+ 16385 && u && i && lt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
301
+ 4608 && g && m && F(), s.$$.dirty & /*showbackbutton*/
302
302
  1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
303
303
  8192 && d && J();
304
304
  }, [
@@ -307,7 +307,7 @@ function Bt(s, t, e) {
307
307
  T,
308
308
  j,
309
309
  l,
310
- G,
310
+ I,
311
311
  P,
312
312
  _,
313
313
  r,
@@ -328,8 +328,8 @@ class Lt extends V {
328
328
  this,
329
329
  t,
330
330
  Bt,
331
- kt,
332
- $,
331
+ yt,
332
+ tt,
333
333
  {
334
334
  clientstyling: 7,
335
335
  clientstylingurl: 8,
@@ -392,7 +392,7 @@ class Lt extends V {
392
392
  this.$$set({ mbsource: t }), b();
393
393
  }
394
394
  }
395
- tt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
+ $(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
396
396
  export {
397
397
  Lt as default
398
398
  };