@everymatrix/cashier-page 1.74.4 → 1.74.6

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 (29) hide show
  1. package/components/{CashierMethodDetails-F4689jao.js → CashierMethodDetails-BI-MRKy-.js} +1572 -1550
  2. package/components/{CashierMethodDetails-BGsVDE-f.js → CashierMethodDetails-CfpOwAD9.js} +1611 -1589
  3. package/components/CashierMethodDetails-CijnX6lX.cjs +86 -0
  4. package/components/{CashierMethodsList-C6gO6002.js → CashierMethodsList-CqVd20oA.js} +1 -1
  5. package/components/{CashierMethodsList-CGC7CYN5.cjs → CashierMethodsList-CsOA_enM.cjs} +1 -1
  6. package/components/{CashierMethodsList-DjomymWI.js → CashierMethodsList-PU5P66EA.js} +1 -1
  7. package/components/{CashierPage-DnkQ_B-E.cjs → CashierPage-BRFjfzR5.cjs} +1 -1
  8. package/components/{CashierPage-BOTLH9IT.js → CashierPage-CmBa1fJm.js} +46 -35
  9. package/components/{CashierPage-CsquU0m3.js → CashierPage-oKC2gyuD.js} +46 -35
  10. package/components/{CashierReceiptPage-Z1iljI5f.js → CashierReceiptPage-CZHo7bk4.js} +697 -581
  11. package/components/{CashierReceiptPage-JWrvaB9t.cjs → CashierReceiptPage-D1aUxYNu.cjs} +1 -1
  12. package/components/{CashierReceiptPage-C453rQDk.js → CashierReceiptPage-DKAwy-XO.js} +691 -575
  13. package/components/{CashierSessionExpirationModal-CG6neYbz.js → CashierSessionExpirationModal-B1ynET49.js} +1 -1
  14. package/components/{CashierSessionExpirationModal-_Kgq_fo0.js → CashierSessionExpirationModal-CswZVz0A.js} +1 -1
  15. package/components/{CashierSessionExpirationModal-BK27R9OF.cjs → CashierSessionExpirationModal-DztF8_bN.cjs} +1 -1
  16. package/components/{CashierTransactionHistory-Dv3ixTST.js → CashierTransactionHistory-BcgsMpUM.js} +1 -1
  17. package/components/{CashierTransactionHistory-DmmtyBaS.cjs → CashierTransactionHistory-CLxBvVPx.cjs} +1 -1
  18. package/components/{CashierTransactionHistory-Dk2w-r6Z.js → CashierTransactionHistory-DSCunt4_.js} +1 -1
  19. package/components/{CashierVerifications-BWkBnubY.js → CashierVerifications-CEYgwiGj.js} +2 -2
  20. package/components/{CashierVerifications-BXh8OOq3.cjs → CashierVerifications-CaQ-G815.cjs} +1 -1
  21. package/components/{CashierVerifications-BSnUCwe2.js → CashierVerifications-DmMaSPNE.js} +2 -2
  22. package/components/{CashierVideoModal-Bt_4tboX.js → CashierVideoModal-BAMzRbW4.js} +1 -1
  23. package/components/{CashierVideoModal-Olu5n2I9.js → CashierVideoModal-CqlPtM2X.js} +1 -1
  24. package/components/{CashierVideoModal-CrKgGT0K.cjs → CashierVideoModal-z4snZUdS.cjs} +1 -1
  25. package/es2015/cashier-page.cjs +1 -1
  26. package/es2015/cashier-page.js +1 -1
  27. package/esnext/cashier-page.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CashierMethodDetails-DqkQ4_KO.cjs +0 -86
@@ -1,6 +1,6 @@
1
1
  import { S as Te, b as Oe, f as k, c as Be, a as Me, d as Le, g as y, j as D, L as T, k as V, n as Q, v as P, w as $, x as qe, y as xe, z as Fe, F as ze, G as Ie, N as ee, h as A, I as g, P as Ee, l as b, D as H, B as Re, C as Ue } from "./CashierConfirmModal-DluW6utN.js";
2
2
  import { a as Ne, i as je, $ as He, b as We } from "./CashierError-CQ8ceQ8e.js";
3
- import { d as ie, u as Ye, x as Ge } from "./CashierMethodDetails-BGsVDE-f.js";
3
+ import { d as ie, u as Ye, x as Ge } from "./CashierMethodDetails-CfpOwAD9.js";
4
4
  function te(t, i) {
5
5
  Ne(t, i);
6
6
  }
@@ -77,7 +77,7 @@ if (typeof window < "u") {
77
77
  }
78
78
  };
79
79
  };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-Olu5n2I9.js").then(({ default: i }) => {
80
+ customElements.define = t(customElements.define), import("./CashierVideoModal-CqlPtM2X.js").then(({ default: i }) => {
81
81
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
82
82
  });
83
83
  }
@@ -1,5 +1,5 @@
1
1
  import { S as j, b as q, f as m, c as B, a as R, d as Z, A as F, k as b, n as p, v as _, x as G, y as N, z as U, g as C, h as L, H as k, j as l, L as V, l as h, R as v, D as H, F as I, G as J } from "./CashierConfirmModal-D6-yvknK.js";
2
- import { i as M } from "./CashierMethodDetails-F4689jao.js";
2
+ import { i as M } from "./CashierMethodDetails-BI-MRKy-.js";
3
3
  function K(s) {
4
4
  Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { S as j, b as q, f as m, c as B, a as R, d as Z, A as F, k as b, n as p, v as _, x as G, y as N, z as U, g as C, h as L, H as k, j as l, L as V, l as h, R as v, D as H, F as I, G as J } from "./CashierConfirmModal-DluW6utN.js";
2
- import { i as M } from "./CashierMethodDetails-BGsVDE-f.js";
2
+ import { i as M } from "./CashierMethodDetails-CfpOwAD9.js";
3
3
  function K(s) {
4
4
  Z(s, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-C5Z0fFCo.cjs"),m=require("./CashierMethodDetails-DqkQ4_KO.cjs");function M(l){e.append_styles(l,"svelte-1d17c9c",".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}")}function C(l){let t,i,s,n,o,f,g,r=!l[2]&&w(l),a=l[2]&&v(l);return{c(){t=e.element("div"),r&&r.c(),i=e.space(),s=e.element("div"),a&&a.c(),n=e.space(),o=e.element("video"),f=e.element("source"),e.src_url_equal(f.src,g=l[0])||e.attr(f,"src",g),o.autoplay=!0,o.controls=!0,e.attr(o,"controlslist","nodownload"),e.attr(o,"disablepictureinpicture",""),e.attr(s,"class","CashierVideo"),e.attr(t,"class","CashierVideoWrapper"),e.toggle_class(t,"CashierVideoWrapperDesktop",l[2])},m(c,d){e.insert(c,t,d),r&&r.m(t,null),e.append(t,i),e.append(t,s),a&&a.m(s,null),e.append(s,n),e.append(s,o),e.append(o,f),l[11](t)},p(c,d){c[2]?r&&(r.d(1),r=null):r?r.p(c,d):(r=w(c),r.c(),r.m(t,i)),c[2]?a?a.p(c,d):(a=v(c),a.c(),a.m(s,n)):a&&(a.d(1),a=null),d&1&&!e.src_url_equal(f.src,g=c[0])&&e.attr(f,"src",g),d&4&&e.toggle_class(t,"CashierVideoWrapperDesktop",c[2])},d(c){c&&e.detach(t),r&&r.d(),a&&a.d(),l[11](null)}}}function w(l){let t,i,s,n,o;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("path"),e.attr(s,"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"),e.attr(s,"fill","#111111"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","13"),e.attr(i,"height","13"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(t,"class","CashierVideoHeader")},m(f,g){e.insert(f,t,g),e.append(t,i),e.append(i,s),n||(o=e.listen(i,"click",l[9]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,o()}}}function v(l){let t,i,s,n;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"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"),e.attr(i,"fill","#111111"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","13"),e.attr(t,"height","13"),e.attr(t,"viewBox","0 0 13 13"),e.attr(t,"fill","none")},m(o,f){e.insert(o,t,f),e.append(t,i),s||(n=e.listen(t,"click",l[10]),s=!0)},p:e.noop,d(o){o&&e.detach(t),s=!1,n()}}}function V(l){let t,i=l[3]&&C(l);return{c(){i&&i.c(),t=e.empty()},m(s,n){i&&i.m(s,n),e.insert(s,t,n)},p(s,[n]){s[3]?i?i.p(s,n):(i=C(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i&&i.d(s)}}}function S(l,t,i){let{clientstyling:s=""}=t,{clientstylingurl:n=""}=t,{ismobileview:o}=t,{videosrc:f}=t,{mbsource:g=""}=t,r=window.navigator.userAgent,a=!0,c=!1,d;const h=()=>{i(3,c=!1),window.postMessage({type:"ClosedCashierVideoModal"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},p=u=>{u.data.type=="ShowCashierVideoModal"&&(i(3,c=!0),window.postMessage({type:"DisableScroll"},window.location.href)),u.data.type=="HideCashierVideoModal"&&h()},b=()=>{i(2,a=!m.isMobile(r))};e.onMount(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)}));const y=()=>h(),L=()=>h();function k(u){e.binding_callbacks[u?"unshift":"push"](()=>{d=u,i(1,d)})}return l.$$set=u=>{"clientstyling"in u&&i(5,s=u.clientstyling),"clientstylingurl"in u&&i(6,n=u.clientstylingurl),"ismobileview"in u&&i(7,o=u.ismobileview),"videosrc"in u&&i(0,f=u.videosrc),"mbsource"in u&&i(8,g=u.mbsource)},l.$$.update=()=>{l.$$.dirty&34&&s&&d&&e.setClientStyling(d,s),l.$$.dirty&66&&n&&d&&e.setClientStylingURL(d,n),l.$$.dirty&258&&g&&d&&e.setStreamStyling(d,`${g}.Style`)},m.isMobile(r)&&b(),[f,d,a,c,h,s,n,o,g,y,L,k]}class _ extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,V,e.safe_not_equal,{clientstyling:5,clientstylingurl:6,ismobileview:7,videosrc:0,mbsource:8},M)}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 ismobileview(){return this.$$.ctx[7]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}get videosrc(){return this.$$.ctx[0]}set videosrc(t){this.$$set({videosrc:t}),e.flush()}get mbsource(){return this.$$.ctx[8]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(_,{clientstyling:{},clientstylingurl:{},ismobileview:{},videosrc:{},mbsource:{}},[],[],!0);exports.default=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-C5Z0fFCo.cjs"),m=require("./CashierMethodDetails-CijnX6lX.cjs");function M(l){e.append_styles(l,"svelte-1d17c9c",".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}")}function C(l){let t,i,s,n,o,f,g,r=!l[2]&&w(l),a=l[2]&&v(l);return{c(){t=e.element("div"),r&&r.c(),i=e.space(),s=e.element("div"),a&&a.c(),n=e.space(),o=e.element("video"),f=e.element("source"),e.src_url_equal(f.src,g=l[0])||e.attr(f,"src",g),o.autoplay=!0,o.controls=!0,e.attr(o,"controlslist","nodownload"),e.attr(o,"disablepictureinpicture",""),e.attr(s,"class","CashierVideo"),e.attr(t,"class","CashierVideoWrapper"),e.toggle_class(t,"CashierVideoWrapperDesktop",l[2])},m(c,d){e.insert(c,t,d),r&&r.m(t,null),e.append(t,i),e.append(t,s),a&&a.m(s,null),e.append(s,n),e.append(s,o),e.append(o,f),l[11](t)},p(c,d){c[2]?r&&(r.d(1),r=null):r?r.p(c,d):(r=w(c),r.c(),r.m(t,i)),c[2]?a?a.p(c,d):(a=v(c),a.c(),a.m(s,n)):a&&(a.d(1),a=null),d&1&&!e.src_url_equal(f.src,g=c[0])&&e.attr(f,"src",g),d&4&&e.toggle_class(t,"CashierVideoWrapperDesktop",c[2])},d(c){c&&e.detach(t),r&&r.d(),a&&a.d(),l[11](null)}}}function w(l){let t,i,s,n,o;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("path"),e.attr(s,"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"),e.attr(s,"fill","#111111"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","13"),e.attr(i,"height","13"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(t,"class","CashierVideoHeader")},m(f,g){e.insert(f,t,g),e.append(t,i),e.append(i,s),n||(o=e.listen(i,"click",l[9]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,o()}}}function v(l){let t,i,s,n;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"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"),e.attr(i,"fill","#111111"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","13"),e.attr(t,"height","13"),e.attr(t,"viewBox","0 0 13 13"),e.attr(t,"fill","none")},m(o,f){e.insert(o,t,f),e.append(t,i),s||(n=e.listen(t,"click",l[10]),s=!0)},p:e.noop,d(o){o&&e.detach(t),s=!1,n()}}}function V(l){let t,i=l[3]&&C(l);return{c(){i&&i.c(),t=e.empty()},m(s,n){i&&i.m(s,n),e.insert(s,t,n)},p(s,[n]){s[3]?i?i.p(s,n):(i=C(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i&&i.d(s)}}}function S(l,t,i){let{clientstyling:s=""}=t,{clientstylingurl:n=""}=t,{ismobileview:o}=t,{videosrc:f}=t,{mbsource:g=""}=t,r=window.navigator.userAgent,a=!0,c=!1,d;const h=()=>{i(3,c=!1),window.postMessage({type:"ClosedCashierVideoModal"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},p=u=>{u.data.type=="ShowCashierVideoModal"&&(i(3,c=!0),window.postMessage({type:"DisableScroll"},window.location.href)),u.data.type=="HideCashierVideoModal"&&h()},b=()=>{i(2,a=!m.isMobile(r))};e.onMount(()=>(window.addEventListener("message",p,!1),()=>{window.removeEventListener("message",p)}));const y=()=>h(),L=()=>h();function k(u){e.binding_callbacks[u?"unshift":"push"](()=>{d=u,i(1,d)})}return l.$$set=u=>{"clientstyling"in u&&i(5,s=u.clientstyling),"clientstylingurl"in u&&i(6,n=u.clientstylingurl),"ismobileview"in u&&i(7,o=u.ismobileview),"videosrc"in u&&i(0,f=u.videosrc),"mbsource"in u&&i(8,g=u.mbsource)},l.$$.update=()=>{l.$$.dirty&34&&s&&d&&e.setClientStyling(d,s),l.$$.dirty&66&&n&&d&&e.setClientStylingURL(d,n),l.$$.dirty&258&&g&&d&&e.setStreamStyling(d,`${g}.Style`)},m.isMobile(r)&&b(),[f,d,a,c,h,s,n,o,g,y,L,k]}class _ extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,V,e.safe_not_equal,{clientstyling:5,clientstylingurl:6,ismobileview:7,videosrc:0,mbsource:8},M)}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 ismobileview(){return this.$$.ctx[7]}set ismobileview(t){this.$$set({ismobileview:t}),e.flush()}get videosrc(){return this.$$.ctx[0]}set videosrc(t){this.$$set({videosrc:t}),e.flush()}get mbsource(){return this.$$.ctx[8]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(_,{clientstyling:{},clientstylingurl:{},ismobileview:{},videosrc:{},mbsource:{}},[],[],!0);exports.default=_;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-DnkQ_B-E.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-BRFjfzR5.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierPage-BOTLH9IT.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierPage-CmBa1fJm.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-page") && customElements.define("cashier-page", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierPage-CsquU0m3.js";
1
+ import { C as n } from "../components/CashierPage-oKC2gyuD.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-page",
3
- "version": "1.74.4",
3
+ "version": "1.74.6",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-page.cjs",
6
6
  "module": "esnext/cashier-page.js",