@everymatrix/cashier-method-details 1.45.0 → 1.45.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.
- package/components/CashierConfirmModal-BsoB5fQM.cjs +4 -0
- package/components/{CashierConfirmModal-B-t1-wAt.js → CashierConfirmModal-Dw8BnUfp.js} +168 -168
- package/components/{CashierError-DaumM6Zr.js → CashierError-B_iMgTfr.js} +28 -27
- package/components/CashierError-ClzxZoH7.cjs +5 -0
- package/components/CashierHeader-BU_vM2lH.cjs +1 -0
- package/components/CashierHeader-VE5z702l.js +360 -0
- package/components/{CashierIframeRedirect-Bilctj-5.js → CashierIframeRedirect-CUdjcENK.js} +72 -73
- package/components/CashierIframeRedirect-DSYHz0IC.cjs +1 -0
- package/components/{CashierMethodDetails-CJU3RjOA.js → CashierMethodDetails-5wGvaaR0.js} +674 -675
- package/components/CashierMethodDetails-DPowLei9.cjs +18 -0
- package/components/CashierModal-BFlGJozz.js +221 -0
- package/components/CashierModal-DljNagOg.cjs +1 -0
- package/components/CashierNotifications-BhCyEcyg.js +136 -0
- package/components/CashierNotifications-FlAVIynI.cjs +1 -0
- package/components/{CashierReceiptPage-DT7FhfRz.js → CashierReceiptPage-CY8dJVSv.js} +242 -243
- package/components/CashierReceiptPage-gWSm3RqW.cjs +1 -0
- package/components/CashierSpinner-DREUPtXI.js +71 -0
- package/components/CashierSpinner-DUwdQyI3.cjs +1 -0
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/package.json +2 -2
- package/components/CashierConfirmModal-O8Y6vOPF.cjs +0 -4
- package/components/CashierError-CnDiY61e.cjs +0 -5
- package/components/CashierHeader-4ARwc1sM.cjs +0 -1
- package/components/CashierHeader-CYcLko5g.js +0 -361
- package/components/CashierIframeRedirect-BOPLcueW.cjs +0 -1
- package/components/CashierMethodDetails-7O4DrJHq.cjs +0 -18
- package/components/CashierModal-CdNYc0Aj.js +0 -220
- package/components/CashierModal-DjXj2L6b.cjs +0 -1
- package/components/CashierNotifications-BVX2JvTh.cjs +0 -1
- package/components/CashierNotifications-DOgyzpyH.js +0 -136
- package/components/CashierReceiptPage-D9_BjYHP.cjs +0 -1
- package/components/CashierSpinner-BUe-mWNE.js +0 -71
- package/components/CashierSpinner-C7awkOxo.cjs +0 -1
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-BsoB5fQM.cjs"),b=require("./CashierError-ClzxZoH7.cjs");function y(n,e){b.addMessages(n,e)}function O(n){b.init({fallbackLocale:"en"}),b.$locale.set(n)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}}};function q(n){t.append_styles(n,"svelte-v7co4a",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 32px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const A=n=>({}),L=n=>({}),U=n=>({}),v=n=>({}),P=n=>({}),B=n=>({});function H(n){let e,i,a;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,u){t.insert(l,e,u),i||(a=t.listen(e,"click",n[5]),i=!0)},p:t.noop,d(l){l&&t.detach(e),i=!1,a()}}}function Z(n){let e,i=n[1]&&H(n);return{c(){i&&i.c(),e=t.empty()},m(a,l){i&&i.m(a,l),t.insert(a,e,l)},p(a,l){a[1]?i?i.p(a,l):(i=H(a),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(a){a&&t.detach(e),i&&i.d(a)}}}function D(n){let e,i=n[3](n[2])+"",a;return{c(){e=t.element("span"),a=t.text(i),t.attr(e,"class","CashierHeaderTitle")},m(l,u){t.insert(l,e,u),t.append(e,a)},p(l,u){u&12&&i!==(i=l[3](l[2])+"")&&t.set_data(a,i)},d(l){l&&t.detach(e)}}}function F(n){let e,i,a;return{c(){e=t.element("span"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(l,u){t.insert(l,e,u),i||(a=t.listen(e,"click",n[4]),i=!0)},p:t.noop,d(l){l&&t.detach(e),i=!1,a()}}}function I(n){let e,i,a,l;const u=n[13].leftButton,m=t.create_slot(u,n,n[12],B),r=m||Z(n),w=n[13].title,_=t.create_slot(w,n,n[12],v),c=_||D(n),d=n[13].rightButton,h=t.create_slot(d,n,n[12],L),g=h||F(n);return{c(){e=t.element("div"),r&&r.c(),i=t.space(),c&&c.c(),a=t.space(),g&&g.c(),t.attr(e,"class","CashierHeader")},m(s,f){t.insert(s,e,f),r&&r.m(e,null),t.append(e,i),c&&c.m(e,null),t.append(e,a),g&&g.m(e,null),n[14](e),l=!0},p(s,[f]){m?m.p&&(!l||f&4096)&&t.update_slot_base(m,u,s,s[12],l?t.get_slot_changes(u,s[12],f,P):t.get_all_dirty_from_scope(s[12]),B):r&&r.p&&(!l||f&2)&&r.p(s,l?f:-1),_?_.p&&(!l||f&4096)&&t.update_slot_base(_,w,s,s[12],l?t.get_slot_changes(w,s[12],f,U):t.get_all_dirty_from_scope(s[12]),v):c&&c.p&&(!l||f&12)&&c.p(s,l?f:-1),h&&h.p&&(!l||f&4096)&&t.update_slot_base(h,d,s,s[12],l?t.get_slot_changes(d,s[12],f,A):t.get_all_dirty_from_scope(s[12]),L)},i(s){l||(t.transition_in(r,s),t.transition_in(c,s),t.transition_in(g,s),l=!0)},o(s){t.transition_out(r,s),t.transition_out(c,s),t.transition_out(g,s),l=!1},d(s){s&&t.detach(e),r&&r.d(s),c&&c.d(s),g&&g.d(s),n[14](null)}}}function W(n,e,i){let a;t.component_subscribe(n,b.$format,o=>i(3,a=o));let{$$slots:l={},$$scope:u}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:_=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,h,g=!1,s;const f=()=>{let o=w;o&&fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(C=>{y(C,p[C])})}).catch(p=>{console.log(p)})};Object.keys(k).forEach(o=>{y(o,k[o])});const M=()=>{let o=document.createElement("style");o.innerHTML=m,h.appendChild(o)},E=()=>{let o=new URL(r),p=document.createElement("style");fetch(o.href).then(C=>C.text()).then(C=>{p.innerHTML=C,setTimeout(()=>{h.appendChild(p)},1)})},S=()=>{O(d)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},x=()=>{window.postMessage({type:"BackCashier"},window.location.href)},R=()=>{i(1,g=!!_&&_!=="false")},z=()=>{i(2,s=c||"header.general")};function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,i(0,h)})}return n.$$set=o=>{"clientstyling"in o&&i(6,m=o.clientstyling),"clientstylingurl"in o&&i(7,r=o.clientstylingurl),"translationurl"in o&&i(8,w=o.translationurl),"showbackbutton"in o&&i(9,_=o.showbackbutton),"title"in o&&i(10,c=o.title),"lang"in o&&i(11,d=o.lang),"$$scope"in o&&i(12,u=o.$$scope)},n.$$.update=()=>{n.$$.dirty&2048&&d&&S(),n.$$.dirty&3072&&d&&c&&z(),n.$$.dirty&65&&m&&h&&M(),n.$$.dirty&129&&r&&h&&E(),n.$$.dirty&2304&&d&&w&&f(),n.$$.dirty&512&&_&&R()},[h,g,s,a,j,x,m,r,w,_,c,d,u,l,N]}class T extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,I,t.safe_not_equal,{clientstyling:6,clientstylingurl:7,translationurl:8,showbackbutton:9,title:10,lang:11},q)}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[9]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[10]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
         | 
| @@ -0,0 +1,360 @@ | |
| 1 | 
            +
            import { S as J, b as K, f as C, c as Q, a as V, d as X, e as v, g as k, h as S, j as L, k as b, l as E, u as B, m as H, o as T, t as M, p as x, v as y, w as $, x as tt, y as et, z as nt, C as it, A as U, n as Z } from "./CashierConfirmModal-Dw8BnUfp.js";
         | 
| 2 | 
            +
            import { a as lt, i as st, $ as at, b as ot } from "./CashierError-B_iMgTfr.js";
         | 
| 3 | 
            +
            function j(e, t) {
         | 
| 4 | 
            +
              lt(e, t);
         | 
| 5 | 
            +
            }
         | 
| 6 | 
            +
            function rt(e) {
         | 
| 7 | 
            +
              st({
         | 
| 8 | 
            +
                fallbackLocale: "en"
         | 
| 9 | 
            +
              }), at.set(e);
         | 
| 10 | 
            +
            }
         | 
| 11 | 
            +
            const z = {
         | 
| 12 | 
            +
              en: {
         | 
| 13 | 
            +
                header: {
         | 
| 14 | 
            +
                  general: "Cashier",
         | 
| 15 | 
            +
                  deposit: "Deposit",
         | 
| 16 | 
            +
                  withdraw: "Withdraw"
         | 
| 17 | 
            +
                }
         | 
| 18 | 
            +
              },
         | 
| 19 | 
            +
              tr: {
         | 
| 20 | 
            +
                header: {
         | 
| 21 | 
            +
                  general: "Cashier",
         | 
| 22 | 
            +
                  deposit: "Para Yatır",
         | 
| 23 | 
            +
                  withdraw: "Çekim"
         | 
| 24 | 
            +
                }
         | 
| 25 | 
            +
              }
         | 
| 26 | 
            +
            };
         | 
| 27 | 
            +
            function ct(e) {
         | 
| 28 | 
            +
              X(e, "svelte-v7co4a", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 32px);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}");
         | 
| 29 | 
            +
            }
         | 
| 30 | 
            +
            const ft = (e) => ({}), R = (e) => ({}), ut = (e) => ({}), A = (e) => ({}), ht = (e) => ({}), N = (e) => ({});
         | 
| 31 | 
            +
            function O(e) {
         | 
| 32 | 
            +
              let t, n, a;
         | 
| 33 | 
            +
              return {
         | 
| 34 | 
            +
                c() {
         | 
| 35 | 
            +
                  t = k("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>', L(t, "class", "CashierHeaderLeftButton");
         | 
| 36 | 
            +
                },
         | 
| 37 | 
            +
                m(i, c) {
         | 
| 38 | 
            +
                  b(i, t, c), n || (a = U(
         | 
| 39 | 
            +
                    t,
         | 
| 40 | 
            +
                    "click",
         | 
| 41 | 
            +
                    /*back*/
         | 
| 42 | 
            +
                    e[5]
         | 
| 43 | 
            +
                  ), n = !0);
         | 
| 44 | 
            +
                },
         | 
| 45 | 
            +
                p: Z,
         | 
| 46 | 
            +
                d(i) {
         | 
| 47 | 
            +
                  i && y(t), n = !1, a();
         | 
| 48 | 
            +
                }
         | 
| 49 | 
            +
              };
         | 
| 50 | 
            +
            }
         | 
| 51 | 
            +
            function gt(e) {
         | 
| 52 | 
            +
              let t, n = (
         | 
| 53 | 
            +
                /*backButton*/
         | 
| 54 | 
            +
                e[1] && O(e)
         | 
| 55 | 
            +
              );
         | 
| 56 | 
            +
              return {
         | 
| 57 | 
            +
                c() {
         | 
| 58 | 
            +
                  n && n.c(), t = tt();
         | 
| 59 | 
            +
                },
         | 
| 60 | 
            +
                m(a, i) {
         | 
| 61 | 
            +
                  n && n.m(a, i), b(a, t, i);
         | 
| 62 | 
            +
                },
         | 
| 63 | 
            +
                p(a, i) {
         | 
| 64 | 
            +
                  /*backButton*/
         | 
| 65 | 
            +
                  a[1] ? n ? n.p(a, i) : (n = O(a), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
         | 
| 66 | 
            +
                },
         | 
| 67 | 
            +
                d(a) {
         | 
| 68 | 
            +
                  a && y(t), n && n.d(a);
         | 
| 69 | 
            +
                }
         | 
| 70 | 
            +
              };
         | 
| 71 | 
            +
            }
         | 
| 72 | 
            +
            function dt(e) {
         | 
| 73 | 
            +
              let t, n = (
         | 
| 74 | 
            +
                /*$_*/
         | 
| 75 | 
            +
                e[3](
         | 
| 76 | 
            +
                  /*titleText*/
         | 
| 77 | 
            +
                  e[2]
         | 
| 78 | 
            +
                ) + ""
         | 
| 79 | 
            +
              ), a;
         | 
| 80 | 
            +
              return {
         | 
| 81 | 
            +
                c() {
         | 
| 82 | 
            +
                  t = k("span"), a = et(n), L(t, "class", "CashierHeaderTitle");
         | 
| 83 | 
            +
                },
         | 
| 84 | 
            +
                m(i, c) {
         | 
| 85 | 
            +
                  b(i, t, c), E(t, a);
         | 
| 86 | 
            +
                },
         | 
| 87 | 
            +
                p(i, c) {
         | 
| 88 | 
            +
                  c & /*$_, titleText*/
         | 
| 89 | 
            +
                  12 && n !== (n = /*$_*/
         | 
| 90 | 
            +
                  i[3](
         | 
| 91 | 
            +
                    /*titleText*/
         | 
| 92 | 
            +
                    i[2]
         | 
| 93 | 
            +
                  ) + "") && nt(a, n);
         | 
| 94 | 
            +
                },
         | 
| 95 | 
            +
                d(i) {
         | 
| 96 | 
            +
                  i && y(t);
         | 
| 97 | 
            +
                }
         | 
| 98 | 
            +
              };
         | 
| 99 | 
            +
            }
         | 
| 100 | 
            +
            function _t(e) {
         | 
| 101 | 
            +
              let t, n, a;
         | 
| 102 | 
            +
              return {
         | 
| 103 | 
            +
                c() {
         | 
| 104 | 
            +
                  t = k("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>', L(t, "class", "CashierHeaderRightButton");
         | 
| 105 | 
            +
                },
         | 
| 106 | 
            +
                m(i, c) {
         | 
| 107 | 
            +
                  b(i, t, c), n || (a = U(
         | 
| 108 | 
            +
                    t,
         | 
| 109 | 
            +
                    "click",
         | 
| 110 | 
            +
                    /*close*/
         | 
| 111 | 
            +
                    e[4]
         | 
| 112 | 
            +
                  ), n = !0);
         | 
| 113 | 
            +
                },
         | 
| 114 | 
            +
                p: Z,
         | 
| 115 | 
            +
                d(i) {
         | 
| 116 | 
            +
                  i && y(t), n = !1, a();
         | 
| 117 | 
            +
                }
         | 
| 118 | 
            +
              };
         | 
| 119 | 
            +
            }
         | 
| 120 | 
            +
            function mt(e) {
         | 
| 121 | 
            +
              let t, n, a, i;
         | 
| 122 | 
            +
              const c = (
         | 
| 123 | 
            +
                /*#slots*/
         | 
| 124 | 
            +
                e[13].leftButton
         | 
| 125 | 
            +
              ), _ = v(
         | 
| 126 | 
            +
                c,
         | 
| 127 | 
            +
                e,
         | 
| 128 | 
            +
                /*$$scope*/
         | 
| 129 | 
            +
                e[12],
         | 
| 130 | 
            +
                N
         | 
| 131 | 
            +
              ), o = _ || gt(e), w = (
         | 
| 132 | 
            +
                /*#slots*/
         | 
| 133 | 
            +
                e[13].title
         | 
| 134 | 
            +
              ), g = v(
         | 
| 135 | 
            +
                w,
         | 
| 136 | 
            +
                e,
         | 
| 137 | 
            +
                /*$$scope*/
         | 
| 138 | 
            +
                e[12],
         | 
| 139 | 
            +
                A
         | 
| 140 | 
            +
              ), r = g || dt(e), d = (
         | 
| 141 | 
            +
                /*#slots*/
         | 
| 142 | 
            +
                e[13].rightButton
         | 
| 143 | 
            +
              ), u = v(
         | 
| 144 | 
            +
                d,
         | 
| 145 | 
            +
                e,
         | 
| 146 | 
            +
                /*$$scope*/
         | 
| 147 | 
            +
                e[12],
         | 
| 148 | 
            +
                R
         | 
| 149 | 
            +
              ), h = u || _t(e);
         | 
| 150 | 
            +
              return {
         | 
| 151 | 
            +
                c() {
         | 
| 152 | 
            +
                  t = k("div"), o && o.c(), n = S(), r && r.c(), a = S(), h && h.c(), L(t, "class", "CashierHeader");
         | 
| 153 | 
            +
                },
         | 
| 154 | 
            +
                m(l, f) {
         | 
| 155 | 
            +
                  b(l, t, f), o && o.m(t, null), E(t, n), r && r.m(t, null), E(t, a), h && h.m(t, null), e[14](t), i = !0;
         | 
| 156 | 
            +
                },
         | 
| 157 | 
            +
                p(l, [f]) {
         | 
| 158 | 
            +
                  _ ? _.p && (!i || f & /*$$scope*/
         | 
| 159 | 
            +
                  4096) && B(
         | 
| 160 | 
            +
                    _,
         | 
| 161 | 
            +
                    c,
         | 
| 162 | 
            +
                    l,
         | 
| 163 | 
            +
                    /*$$scope*/
         | 
| 164 | 
            +
                    l[12],
         | 
| 165 | 
            +
                    i ? T(
         | 
| 166 | 
            +
                      c,
         | 
| 167 | 
            +
                      /*$$scope*/
         | 
| 168 | 
            +
                      l[12],
         | 
| 169 | 
            +
                      f,
         | 
| 170 | 
            +
                      ht
         | 
| 171 | 
            +
                    ) : H(
         | 
| 172 | 
            +
                      /*$$scope*/
         | 
| 173 | 
            +
                      l[12]
         | 
| 174 | 
            +
                    ),
         | 
| 175 | 
            +
                    N
         | 
| 176 | 
            +
                  ) : o && o.p && (!i || f & /*backButton*/
         | 
| 177 | 
            +
                  2) && o.p(l, i ? f : -1), g ? g.p && (!i || f & /*$$scope*/
         | 
| 178 | 
            +
                  4096) && B(
         | 
| 179 | 
            +
                    g,
         | 
| 180 | 
            +
                    w,
         | 
| 181 | 
            +
                    l,
         | 
| 182 | 
            +
                    /*$$scope*/
         | 
| 183 | 
            +
                    l[12],
         | 
| 184 | 
            +
                    i ? T(
         | 
| 185 | 
            +
                      w,
         | 
| 186 | 
            +
                      /*$$scope*/
         | 
| 187 | 
            +
                      l[12],
         | 
| 188 | 
            +
                      f,
         | 
| 189 | 
            +
                      ut
         | 
| 190 | 
            +
                    ) : H(
         | 
| 191 | 
            +
                      /*$$scope*/
         | 
| 192 | 
            +
                      l[12]
         | 
| 193 | 
            +
                    ),
         | 
| 194 | 
            +
                    A
         | 
| 195 | 
            +
                  ) : r && r.p && (!i || f & /*$_, titleText*/
         | 
| 196 | 
            +
                  12) && r.p(l, i ? f : -1), u && u.p && (!i || f & /*$$scope*/
         | 
| 197 | 
            +
                  4096) && B(
         | 
| 198 | 
            +
                    u,
         | 
| 199 | 
            +
                    d,
         | 
| 200 | 
            +
                    l,
         | 
| 201 | 
            +
                    /*$$scope*/
         | 
| 202 | 
            +
                    l[12],
         | 
| 203 | 
            +
                    i ? T(
         | 
| 204 | 
            +
                      d,
         | 
| 205 | 
            +
                      /*$$scope*/
         | 
| 206 | 
            +
                      l[12],
         | 
| 207 | 
            +
                      f,
         | 
| 208 | 
            +
                      ft
         | 
| 209 | 
            +
                    ) : H(
         | 
| 210 | 
            +
                      /*$$scope*/
         | 
| 211 | 
            +
                      l[12]
         | 
| 212 | 
            +
                    ),
         | 
| 213 | 
            +
                    R
         | 
| 214 | 
            +
                  );
         | 
| 215 | 
            +
                },
         | 
| 216 | 
            +
                i(l) {
         | 
| 217 | 
            +
                  i || (M(o, l), M(r, l), M(h, l), i = !0);
         | 
| 218 | 
            +
                },
         | 
| 219 | 
            +
                o(l) {
         | 
| 220 | 
            +
                  x(o, l), x(r, l), x(h, l), i = !1;
         | 
| 221 | 
            +
                },
         | 
| 222 | 
            +
                d(l) {
         | 
| 223 | 
            +
                  l && y(t), o && o.d(l), r && r.d(l), h && h.d(l), e[14](null);
         | 
| 224 | 
            +
                }
         | 
| 225 | 
            +
              };
         | 
| 226 | 
            +
            }
         | 
| 227 | 
            +
            function wt(e, t, n) {
         | 
| 228 | 
            +
              let a;
         | 
| 229 | 
            +
              $(e, ot, (s) => n(3, a = s));
         | 
| 230 | 
            +
              let { $$slots: i = {}, $$scope: c } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: w = "" } = t, { showbackbutton: g = "" } = t, { title: r = "header.general" } = t, { lang: d = "en" } = t, u, h = !1, l;
         | 
| 231 | 
            +
              const f = () => {
         | 
| 232 | 
            +
                let s = w;
         | 
| 233 | 
            +
                s && fetch(s).then((m) => m.json()).then((m) => {
         | 
| 234 | 
            +
                  Object.keys(m).forEach((p) => {
         | 
| 235 | 
            +
                    j(p, m[p]);
         | 
| 236 | 
            +
                  });
         | 
| 237 | 
            +
                }).catch((m) => {
         | 
| 238 | 
            +
                  console.log(m);
         | 
| 239 | 
            +
                });
         | 
| 240 | 
            +
              };
         | 
| 241 | 
            +
              Object.keys(z).forEach((s) => {
         | 
| 242 | 
            +
                j(s, z[s]);
         | 
| 243 | 
            +
              });
         | 
| 244 | 
            +
              const q = () => {
         | 
| 245 | 
            +
                let s = document.createElement("style");
         | 
| 246 | 
            +
                s.innerHTML = _, u.appendChild(s);
         | 
| 247 | 
            +
              }, D = () => {
         | 
| 248 | 
            +
                let s = new URL(o), m = document.createElement("style");
         | 
| 249 | 
            +
                fetch(s.href).then((p) => p.text()).then((p) => {
         | 
| 250 | 
            +
                  m.innerHTML = p, setTimeout(
         | 
| 251 | 
            +
                    () => {
         | 
| 252 | 
            +
                      u.appendChild(m);
         | 
| 253 | 
            +
                    },
         | 
| 254 | 
            +
                    1
         | 
| 255 | 
            +
                  );
         | 
| 256 | 
            +
                });
         | 
| 257 | 
            +
              }, F = () => {
         | 
| 258 | 
            +
                rt(d);
         | 
| 259 | 
            +
              }, I = () => {
         | 
| 260 | 
            +
                window.postMessage({ type: "CloseCashier" }, window.location.href);
         | 
| 261 | 
            +
              }, P = () => {
         | 
| 262 | 
            +
                window.postMessage({ type: "BackCashier" }, window.location.href);
         | 
| 263 | 
            +
              }, W = () => {
         | 
| 264 | 
            +
                n(1, h = !!g && g !== "false");
         | 
| 265 | 
            +
              }, Y = () => {
         | 
| 266 | 
            +
                n(2, l = r || "header.general");
         | 
| 267 | 
            +
              };
         | 
| 268 | 
            +
              function G(s) {
         | 
| 269 | 
            +
                it[s ? "unshift" : "push"](() => {
         | 
| 270 | 
            +
                  u = s, n(0, u);
         | 
| 271 | 
            +
                });
         | 
| 272 | 
            +
              }
         | 
| 273 | 
            +
              return e.$$set = (s) => {
         | 
| 274 | 
            +
                "clientstyling" in s && n(6, _ = s.clientstyling), "clientstylingurl" in s && n(7, o = s.clientstylingurl), "translationurl" in s && n(8, w = s.translationurl), "showbackbutton" in s && n(9, g = s.showbackbutton), "title" in s && n(10, r = s.title), "lang" in s && n(11, d = s.lang), "$$scope" in s && n(12, c = s.$$scope);
         | 
| 275 | 
            +
              }, e.$$.update = () => {
         | 
| 276 | 
            +
                e.$$.dirty & /*lang*/
         | 
| 277 | 
            +
                2048 && d && F(), e.$$.dirty & /*lang, title*/
         | 
| 278 | 
            +
                3072 && d && r && Y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
         | 
| 279 | 
            +
                65 && _ && u && q(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
         | 
| 280 | 
            +
                129 && o && u && D(), e.$$.dirty & /*lang, translationurl*/
         | 
| 281 | 
            +
                2304 && d && w && f(), e.$$.dirty & /*showbackbutton*/
         | 
| 282 | 
            +
                512 && g && W();
         | 
| 283 | 
            +
              }, [
         | 
| 284 | 
            +
                u,
         | 
| 285 | 
            +
                h,
         | 
| 286 | 
            +
                l,
         | 
| 287 | 
            +
                a,
         | 
| 288 | 
            +
                I,
         | 
| 289 | 
            +
                P,
         | 
| 290 | 
            +
                _,
         | 
| 291 | 
            +
                o,
         | 
| 292 | 
            +
                w,
         | 
| 293 | 
            +
                g,
         | 
| 294 | 
            +
                r,
         | 
| 295 | 
            +
                d,
         | 
| 296 | 
            +
                c,
         | 
| 297 | 
            +
                i,
         | 
| 298 | 
            +
                G
         | 
| 299 | 
            +
              ];
         | 
| 300 | 
            +
            }
         | 
| 301 | 
            +
            class pt extends J {
         | 
| 302 | 
            +
              constructor(t) {
         | 
| 303 | 
            +
                super(), K(
         | 
| 304 | 
            +
                  this,
         | 
| 305 | 
            +
                  t,
         | 
| 306 | 
            +
                  wt,
         | 
| 307 | 
            +
                  mt,
         | 
| 308 | 
            +
                  V,
         | 
| 309 | 
            +
                  {
         | 
| 310 | 
            +
                    clientstyling: 6,
         | 
| 311 | 
            +
                    clientstylingurl: 7,
         | 
| 312 | 
            +
                    translationurl: 8,
         | 
| 313 | 
            +
                    showbackbutton: 9,
         | 
| 314 | 
            +
                    title: 10,
         | 
| 315 | 
            +
                    lang: 11
         | 
| 316 | 
            +
                  },
         | 
| 317 | 
            +
                  ct
         | 
| 318 | 
            +
                );
         | 
| 319 | 
            +
              }
         | 
| 320 | 
            +
              get clientstyling() {
         | 
| 321 | 
            +
                return this.$$.ctx[6];
         | 
| 322 | 
            +
              }
         | 
| 323 | 
            +
              set clientstyling(t) {
         | 
| 324 | 
            +
                this.$$set({ clientstyling: t }), C();
         | 
| 325 | 
            +
              }
         | 
| 326 | 
            +
              get clientstylingurl() {
         | 
| 327 | 
            +
                return this.$$.ctx[7];
         | 
| 328 | 
            +
              }
         | 
| 329 | 
            +
              set clientstylingurl(t) {
         | 
| 330 | 
            +
                this.$$set({ clientstylingurl: t }), C();
         | 
| 331 | 
            +
              }
         | 
| 332 | 
            +
              get translationurl() {
         | 
| 333 | 
            +
                return this.$$.ctx[8];
         | 
| 334 | 
            +
              }
         | 
| 335 | 
            +
              set translationurl(t) {
         | 
| 336 | 
            +
                this.$$set({ translationurl: t }), C();
         | 
| 337 | 
            +
              }
         | 
| 338 | 
            +
              get showbackbutton() {
         | 
| 339 | 
            +
                return this.$$.ctx[9];
         | 
| 340 | 
            +
              }
         | 
| 341 | 
            +
              set showbackbutton(t) {
         | 
| 342 | 
            +
                this.$$set({ showbackbutton: t }), C();
         | 
| 343 | 
            +
              }
         | 
| 344 | 
            +
              get title() {
         | 
| 345 | 
            +
                return this.$$.ctx[10];
         | 
| 346 | 
            +
              }
         | 
| 347 | 
            +
              set title(t) {
         | 
| 348 | 
            +
                this.$$set({ title: t }), C();
         | 
| 349 | 
            +
              }
         | 
| 350 | 
            +
              get lang() {
         | 
| 351 | 
            +
                return this.$$.ctx[11];
         | 
| 352 | 
            +
              }
         | 
| 353 | 
            +
              set lang(t) {
         | 
| 354 | 
            +
                this.$$set({ lang: t }), C();
         | 
| 355 | 
            +
              }
         | 
| 356 | 
            +
            }
         | 
| 357 | 
            +
            Q(pt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {} }, ["leftButton", "title", "rightButton"], [], !0);
         | 
| 358 | 
            +
            export {
         | 
| 359 | 
            +
              pt as default
         | 
| 360 | 
            +
            };
         |