@everymatrix/cashier-method-details 1.76.14 → 1.77.1

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 (38) hide show
  1. package/components/{CashierError-BAXGD8it.js → CashierError-BTJqKSJF.js} +707 -739
  2. package/components/CashierError-Bt-_E2Pn.cjs +8 -0
  3. package/components/{CashierError-CDP4f6TJ.js → CashierError-CbXT6_FP.js} +725 -757
  4. package/components/{CashierMethodDetails-D1eYRvUx.js → CashierMethodDetails-D6oLstq2.js} +987 -938
  5. package/components/{CashierMethodDetails-q7Dwr4Au.cjs → CashierMethodDetails-DYT5RMs3.cjs} +18 -5
  6. package/components/{CashierMethodDetails-B7uMChsb.js → CashierMethodDetails-ofHTvxQi.js} +740 -691
  7. package/components/{CashierModal-C8yTp0o2.cjs → CashierModal-BsgPzXz6.cjs} +1 -1
  8. package/components/{CashierModal-4XlAXMGl.js → CashierModal-BzJU1GrX.js} +38 -38
  9. package/components/{CashierModal-BO_gwocu.js → CashierModal-CyXB5i2d.js} +38 -38
  10. package/components/{CashierNotifications-B061qdnF.cjs → CashierNotifications-C-Mj2H9E.cjs} +1 -1
  11. package/components/{CashierNotifications-DKD8yMa6.js → CashierNotifications-CNHv00es.js} +17 -17
  12. package/components/{CashierNotifications-DgE45ecv.js → CashierNotifications-DaWBholW.js} +19 -19
  13. package/components/{CashierReceiptPage-D5nAg_bZ.cjs → CashierReceiptPage-BWxS-GFk.cjs} +1 -1
  14. package/components/{CashierReceiptPage-Cw2X23wT.js → CashierReceiptPage-BqgNKrhH.js} +97 -97
  15. package/components/{CashierReceiptPage-djvKMEwj.js → CashierReceiptPage-uF2p9-w1.js} +100 -100
  16. package/components/{CashierSpinner-Bfsso_sk.cjs → CashierSpinner-B08s-ur8.cjs} +1 -1
  17. package/components/{CashierSpinner-DzVPPrxp.js → CashierSpinner-BEg8DQ-G.js} +18 -18
  18. package/components/{CashierSpinner-D90fSegS.js → CashierSpinner-CmmYtc3Y.js} +18 -18
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-242ac81a-BqeIndhr.js +554 -0
  24. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  25. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  26. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BHGIWJop.cjs} +1 -1
  27. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-D0rXudCW.js} +1 -1
  28. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-DCLQ0SIO.js} +1 -1
  29. package/stencil/{ui-image-CVwHW7a_.js → ui-image-C0Jfm_O4.js} +1 -1
  30. package/stencil/{ui-image-BhXCYysO.js → ui-image-DmRWEjrp.js} +1 -1
  31. package/stencil/{ui-image-DrDalrqH.cjs → ui-image-EfKW3THf.cjs} +1 -1
  32. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-B21W_djK.js} +2 -2
  33. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  34. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-VgK3B8gQ.js} +2 -2
  35. package/components/CashierError-DbNNkyb6.cjs +0 -21
  36. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  37. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  38. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-DbNNkyb6.cjs");function y(i,{delay:e=0,duration:n=400,easing:l=t.identity}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:n,easing:l,css:o=>`opacity: ${o*r}`}}function M(i){t.append_styles(i,"svelte-16p7bax","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}")}const S=i=>({}),b=i=>({});function w(i){let e,n,l,r,o,g,d,h,u=i[3]!=="error"&&C(i);const m=i[12].content,c=t.create_slot(m,i,i[11],b);return{c(){e=t.element("div"),n=t.element("div"),l=t.element("div"),u&&u.c(),r=t.space(),c&&c.c(),t.attr(l,"class","ModalContainer"),t.attr(l,"style",o=i[3]==="video"?"height: 70%":"height: auto"),t.attr(n,"id","Modal"),t.add_render_callback(()=>i[14].call(n))},m(a,f){t.insert(a,e,f),t.append(e,n),t.append(n,l),u&&u.m(l,null),t.append(l,r),c&&c.m(l,null),i[13](n),g=t.add_iframe_resize_listener(n,i[14].bind(n)),i[15](e),h=!0},p(a,f){i=a,i[3]!=="error"?u?u.p(i,f):(u=C(i),u.c(),u.m(l,r)):u&&(u.d(1),u=null),c&&c.p&&(!h||f&2048)&&t.update_slot_base(c,m,i,i[11],h?t.get_slot_changes(m,i[11],f,S):t.get_all_dirty_from_scope(i[11]),b),(!h||f&8&&o!==(o=i[3]==="video"?"height: 70%":"height: auto"))&&t.attr(l,"style",o)},i(a){h||(t.transition_in(c,a),a&&t.add_render_callback(()=>{h&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!0)),d.run(1))}),h=!0)},o(a){t.transition_out(c,a),a&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!1)),d.run(0)),h=!1},d(a){a&&t.detach(e),u&&u.d(),c&&c.d(a),i[13](null),g(),a&&d&&d.end(),i[15](null)}}}function C(i){let e,n,l,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("path"),t.attr(n,"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"),t.attr(n,"fill","#111111"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","13"),t.attr(e,"height","13"),t.attr(e,"viewBox","0 0 13 13"),t.attr(e,"fill","none"),t.attr(e,"class","CloseButton")},m(o,g){t.insert(o,e,g),t.append(e,n),l||(r=t.listen(e,"click",i[7]),l=!0)},p:t.noop,d(o){o&&t.detach(e),l=!1,r()}}}function z(i){let e,n,l=i[2]==="true"&&w(i);return{c(){l&&l.c(),e=t.empty()},m(r,o){l&&l.m(r,o),t.insert(r,e,o),n=!0},p(r,[o]){r[2]==="true"?l?(l.p(r,o),o&4&&t.transition_in(l,1)):(l=w(r),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(r){n||(t.transition_in(l),n=!0)},o(r){t.transition_out(l),n=!1},d(r){r&&t.detach(e),l&&l.d(r)}}}function E(i,e,n){let{$$slots:l={},$$scope:r}=e,{mbsource:o}=e,{clientstyling:g}=e,{clientstylingurl:d}=e,{show:h}=e,{modaltype:u=""}=e,{duration:m=200}=e,{width:c}=e,{height:a}=e,f,_;const v=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};t.onMount(()=>()=>{});function k(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,n(6,f)})}function L(){c=this.clientWidth,a=this.clientHeight,n(0,c),n(1,a)}function x(s){t.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(5,_)})}return i.$$set=s=>{"mbsource"in s&&n(8,o=s.mbsource),"clientstyling"in s&&n(9,g=s.clientstyling),"clientstylingurl"in s&&n(10,d=s.clientstylingurl),"show"in s&&n(2,h=s.show),"modaltype"in s&&n(3,u=s.modaltype),"duration"in s&&n(4,m=s.duration),"width"in s&&n(0,c=s.width),"height"in s&&n(1,a=s.height),"$$scope"in s&&n(11,r=s.$$scope)},i.$$.update=()=>{i.$$.dirty&544&&g&&_&&t.setClientStyling(_,g),i.$$.dirty&1056&&d&&_&&t.setClientStylingURL(_,d),i.$$.dirty&288&&o&&_&&t.setStreamStyling(_,`${o}.Style`)},[c,a,h,u,m,_,f,v,o,g,d,r,l,k,L,x]}class p extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,E,z,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},M)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(p,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-Bt-_E2Pn.cjs");function y(i,{delay:e=0,duration:n=400,easing:l=t.identity}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:n,easing:l,css:o=>`opacity: ${o*r}`}}function M(i){t.append_styles(i,"svelte-16p7bax","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}")}const S=i=>({}),b=i=>({});function w(i){let e,n,l,r,o,g,d,h,u=i[3]!=="error"&&C(i);const m=i[12].content,c=t.create_slot(m,i,i[11],b);return{c(){e=t.element("div"),n=t.element("div"),l=t.element("div"),u&&u.c(),r=t.space(),c&&c.c(),t.attr(l,"class","ModalContainer"),t.attr(l,"style",o=i[3]==="video"?"height: 70%":"height: auto"),t.attr(n,"id","Modal"),t.add_render_callback(()=>i[14].call(n))},m(a,f){t.insert(a,e,f),t.append(e,n),t.append(n,l),u&&u.m(l,null),t.append(l,r),c&&c.m(l,null),i[13](n),g=t.add_iframe_resize_listener(n,i[14].bind(n)),i[15](e),h=!0},p(a,f){i=a,i[3]!=="error"?u?u.p(i,f):(u=C(i),u.c(),u.m(l,r)):u&&(u.d(1),u=null),c&&c.p&&(!h||f&2048)&&t.update_slot_base(c,m,i,i[11],h?t.get_slot_changes(m,i[11],f,S):t.get_all_dirty_from_scope(i[11]),b),(!h||f&8&&o!==(o=i[3]==="video"?"height: 70%":"height: auto"))&&t.attr(l,"style",o)},i(a){h||(t.transition_in(c,a),a&&t.add_render_callback(()=>{h&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!0)),d.run(1))}),h=!0)},o(a){t.transition_out(c,a),a&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!1)),d.run(0)),h=!1},d(a){a&&t.detach(e),u&&u.d(),c&&c.d(a),i[13](null),g(),a&&d&&d.end(),i[15](null)}}}function C(i){let e,n,l,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("path"),t.attr(n,"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"),t.attr(n,"fill","#111111"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","13"),t.attr(e,"height","13"),t.attr(e,"viewBox","0 0 13 13"),t.attr(e,"fill","none"),t.attr(e,"class","CloseButton")},m(o,g){t.insert(o,e,g),t.append(e,n),l||(r=t.listen(e,"click",i[7]),l=!0)},p:t.noop,d(o){o&&t.detach(e),l=!1,r()}}}function z(i){let e,n,l=i[2]==="true"&&w(i);return{c(){l&&l.c(),e=t.empty()},m(r,o){l&&l.m(r,o),t.insert(r,e,o),n=!0},p(r,[o]){r[2]==="true"?l?(l.p(r,o),o&4&&t.transition_in(l,1)):(l=w(r),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(r){n||(t.transition_in(l),n=!0)},o(r){t.transition_out(l),n=!1},d(r){r&&t.detach(e),l&&l.d(r)}}}function E(i,e,n){let{$$slots:l={},$$scope:r}=e,{mbsource:o}=e,{clientstyling:g}=e,{clientstylingurl:d}=e,{show:h}=e,{modaltype:u=""}=e,{duration:m=200}=e,{width:c}=e,{height:a}=e,f,_;const v=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};t.onMount(()=>()=>{});function k(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,n(6,f)})}function L(){c=this.clientWidth,a=this.clientHeight,n(0,c),n(1,a)}function x(s){t.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(5,_)})}return i.$$set=s=>{"mbsource"in s&&n(8,o=s.mbsource),"clientstyling"in s&&n(9,g=s.clientstyling),"clientstylingurl"in s&&n(10,d=s.clientstylingurl),"show"in s&&n(2,h=s.show),"modaltype"in s&&n(3,u=s.modaltype),"duration"in s&&n(4,m=s.duration),"width"in s&&n(0,c=s.width),"height"in s&&n(1,a=s.height),"$$scope"in s&&n(11,r=s.$$scope)},i.$$.update=()=>{i.$$.dirty&544&&g&&_&&t.setClientStyling(_,g),i.$$.dirty&1056&&d&&_&&t.setClientStylingURL(_,d),i.$$.dirty&288&&o&&_&&t.setStreamStyling(_,`${o}.Style`)},[c,a,h,u,m,_,f,v,o,g,d,r,l,k,L,x]}class p extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,E,z,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},M)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(p,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);exports.default=p;
@@ -1,5 +1,5 @@
1
- import { T as H, S as I, h as J, j as _, f as N, s as Q, k as R, B as T, p as v, U as w, V as p, W as V, u as k, x as X, y as Y, z as A, X as D, m as C, n as F, o as d, l as L, q as b, Y as G, Z as K, a0 as O, a1 as P, a2 as x, Q as M, r as $, t as tt, a3 as et, I as S, J as it } from "./CashierError-BAXGD8it.js";
2
- function z(e, { delay: t = 0, duration: i = 400, easing: n = H } = {}) {
1
+ import { P as W, S as Z, d as H, s as J, f as _, e as O, j as v, Q as p, R as w, T as P, U as Q, k, v as T, u as V, V as X, W as L, h as x, X as Y, Y as A, Z as D, r as d, l as b, _ as F, p as C, q as G, B as M, n as I, m as K, J as S, M as $, N as tt, O as et, b as it } from "./CashierError-BTJqKSJF.js";
2
+ function z(e, { delay: t = 0, duration: i = 400, easing: n = W } = {}) {
3
3
  const l = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,7 +9,7 @@ function z(e, { delay: t = 0, duration: i = 400, easing: n = H } = {}) {
9
9
  };
10
10
  }
11
11
  function nt(e) {
12
- R(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
12
+ O(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
13
13
  }
14
14
  const st = (e) => ({}), B = (e) => ({});
15
15
  function j(e) {
@@ -20,7 +20,7 @@ function j(e) {
20
20
  const y = (
21
21
  /*#slots*/
22
22
  e[12].content
23
- ), u = D(
23
+ ), u = X(
24
24
  y,
25
25
  e,
26
26
  /*$$scope*/
@@ -29,14 +29,14 @@ function j(e) {
29
29
  );
30
30
  return {
31
31
  c() {
32
- t = C("div"), i = C("div"), n = C("div"), r && r.c(), l = F(), u && u.c(), d(n, "class", "ModalContainer"), d(n, "style", o = /*modaltype*/
33
- e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"), L(() => (
32
+ t = C("div"), i = C("div"), n = C("div"), r && r.c(), l = G(), u && u.c(), d(n, "class", "ModalContainer"), d(n, "style", o = /*modaltype*/
33
+ e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"), x(() => (
34
34
  /*div1_elementresize_handler*/
35
35
  e[14].call(i)
36
36
  ));
37
37
  },
38
38
  m(a, f) {
39
- v(a, t, f), b(t, i), b(i, n), r && r.m(n, null), b(n, l), u && u.m(n, null), e[13](i), g = G(
39
+ k(a, t, f), b(t, i), b(i, n), r && r.m(n, null), b(n, l), u && u.m(n, null), e[13](i), g = F(
40
40
  i,
41
41
  /*div1_elementresize_handler*/
42
42
  e[14].bind(i)
@@ -45,19 +45,19 @@ function j(e) {
45
45
  p(a, f) {
46
46
  e = a, /*modaltype*/
47
47
  e[3] !== "error" ? r ? r.p(e, f) : (r = E(e), r.c(), r.m(n, l)) : r && (r.d(1), r = null), u && u.p && (!h || f & /*$$scope*/
48
- 2048) && K(
48
+ 2048) && Y(
49
49
  u,
50
50
  y,
51
51
  e,
52
52
  /*$$scope*/
53
53
  e[11],
54
- h ? P(
54
+ h ? D(
55
55
  y,
56
56
  /*$$scope*/
57
57
  e[11],
58
58
  f,
59
59
  st
60
- ) : O(
60
+ ) : A(
61
61
  /*$$scope*/
62
62
  e[11]
63
63
  ),
@@ -67,8 +67,8 @@ function j(e) {
67
67
  e[3] === "video" ? "height: 70%" : "height: auto")) && d(n, "style", o);
68
68
  },
69
69
  i(a) {
70
- h || (w(u, a), a && L(() => {
71
- h && (c || (c = x(
70
+ h || (w(u, a), a && x(() => {
71
+ h && (c || (c = L(
72
72
  i,
73
73
  z,
74
74
  /*duration*/
@@ -78,7 +78,7 @@ function j(e) {
78
78
  }), h = !0);
79
79
  },
80
80
  o(a) {
81
- p(u, a), a && (c || (c = x(
81
+ p(u, a), a && (c || (c = L(
82
82
  i,
83
83
  z,
84
84
  /*duration*/
@@ -87,7 +87,7 @@ function j(e) {
87
87
  )), c.run(0)), h = !1;
88
88
  },
89
89
  d(a) {
90
- a && k(t), r && r.d(), u && u.d(a), e[13](null), g(), a && c && c.end(), e[15](null);
90
+ a && v(t), r && r.d(), u && u.d(a), e[13](null), g(), a && c && c.end(), e[15](null);
91
91
  }
92
92
  };
93
93
  }
@@ -95,19 +95,19 @@ function E(e) {
95
95
  let t, i, n, l;
96
96
  return {
97
97
  c() {
98
- t = M("svg"), i = M("path"), d(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"), d(i, "fill", "#111111"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "13"), d(t, "height", "13"), d(t, "viewBox", "0 0 13 13"), d(t, "fill", "none"), d(t, "class", "CloseButton");
98
+ t = S("svg"), i = S("path"), d(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"), d(i, "fill", "#111111"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "13"), d(t, "height", "13"), d(t, "viewBox", "0 0 13 13"), d(t, "fill", "none"), d(t, "class", "CloseButton");
99
99
  },
100
100
  m(o, g) {
101
- v(o, t, g), b(t, i), n || (l = $(
101
+ k(o, t, g), b(t, i), n || (l = K(
102
102
  t,
103
103
  "click",
104
104
  /*closeModal*/
105
105
  e[7]
106
106
  ), n = !0);
107
107
  },
108
- p: tt,
108
+ p: I,
109
109
  d(o) {
110
- o && k(t), n = !1, l();
110
+ o && v(t), n = !1, l();
111
111
  }
112
112
  };
113
113
  }
@@ -121,14 +121,14 @@ function lt(e) {
121
121
  n && n.c(), t = T();
122
122
  },
123
123
  m(l, o) {
124
- n && n.m(l, o), v(l, t, o), i = !0;
124
+ n && n.m(l, o), k(l, t, o), i = !0;
125
125
  },
126
126
  p(l, [o]) {
127
127
  /*show*/
128
128
  l[2] === "true" ? n ? (n.p(l, o), o & /*show*/
129
- 4 && w(n, 1)) : (n = j(l), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (et(), p(n, 1, 1, () => {
129
+ 4 && w(n, 1)) : (n = j(l), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (P(), p(n, 1, 1, () => {
130
130
  n = null;
131
- }), V());
131
+ }), Q());
132
132
  },
133
133
  i(l) {
134
134
  i || (w(n), i = !0);
@@ -137,7 +137,7 @@ function lt(e) {
137
137
  p(n), i = !1;
138
138
  },
139
139
  d(l) {
140
- l && k(t), n && n.d(l);
140
+ l && v(t), n && n.d(l);
141
141
  }
142
142
  };
143
143
  }
@@ -146,18 +146,18 @@ function ot(e, t, i) {
146
146
  const q = () => {
147
147
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
148
148
  };
149
- X(() => () => {
149
+ V(() => () => {
150
150
  });
151
- function U(s) {
152
- S[s ? "unshift" : "push"](() => {
151
+ function N(s) {
152
+ M[s ? "unshift" : "push"](() => {
153
153
  f = s, i(6, f);
154
154
  });
155
155
  }
156
- function W() {
156
+ function R() {
157
157
  u = this.clientWidth, a = this.clientHeight, i(0, u), i(1, a);
158
158
  }
159
- function Z(s) {
160
- S[s ? "unshift" : "push"](() => {
159
+ function U(s) {
160
+ M[s ? "unshift" : "push"](() => {
161
161
  m = s, i(5, m);
162
162
  });
163
163
  }
@@ -165,9 +165,9 @@ function ot(e, t, i) {
165
165
  "mbsource" in s && i(8, o = s.mbsource), "clientstyling" in s && i(9, g = s.clientstyling), "clientstylingurl" in s && i(10, c = s.clientstylingurl), "show" in s && i(2, h = s.show), "modaltype" in s && i(3, r = s.modaltype), "duration" in s && i(4, y = s.duration), "width" in s && i(0, u = s.width), "height" in s && i(1, a = s.height), "$$scope" in s && i(11, l = s.$$scope);
166
166
  }, e.$$.update = () => {
167
167
  e.$$.dirty & /*clientstyling, customStylingContainer*/
168
- 544 && g && m && it(m, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
169
- 1056 && c && m && Y(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
170
- 288 && o && m && A(m, `${o}.Style`);
168
+ 544 && g && m && $(m, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
169
+ 1056 && c && m && tt(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
170
+ 288 && o && m && et(m, `${o}.Style`);
171
171
  }, [
172
172
  u,
173
173
  a,
@@ -182,19 +182,19 @@ function ot(e, t, i) {
182
182
  c,
183
183
  l,
184
184
  n,
185
- U,
186
- W,
187
- Z
185
+ N,
186
+ R,
187
+ U
188
188
  ];
189
189
  }
190
- class at extends I {
190
+ class at extends Z {
191
191
  constructor(t) {
192
- super(), J(
192
+ super(), H(
193
193
  this,
194
194
  t,
195
195
  ot,
196
196
  lt,
197
- Q,
197
+ J,
198
198
  {
199
199
  mbsource: 8,
200
200
  clientstyling: 9,
@@ -257,7 +257,7 @@ class at extends I {
257
257
  this.$$set({ height: t }), _();
258
258
  }
259
259
  }
260
- N(at, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
260
+ it(at, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
261
261
  export {
262
262
  at as default
263
263
  };
@@ -1,5 +1,5 @@
1
- import { T as H, S as I, f as J, h as _, j as N, s as Q, k as R, B as T, p as v, U as w, V as p, W as V, u as k, x as X, y as Y, z as A, X as D, m as C, n as F, o as d, l as L, q as b, Y as G, Z as K, a0 as O, a1 as P, a2 as x, Q as M, r as $, t as tt, a3 as et, I as S, J as it } from "./CashierError-CDP4f6TJ.js";
2
- function z(e, { delay: t = 0, duration: i = 400, easing: n = H } = {}) {
1
+ import { P as W, S as Z, b as H, s as J, f as _, e as O, j as v, Q as p, R as w, T as P, U as Q, k, v as T, u as V, V as X, W as L, h as x, X as Y, Y as A, Z as D, r as d, l as b, _ as F, p as C, q as G, B as M, n as I, m as K, J as S, M as $, N as tt, O as et, d as it } from "./CashierError-CbXT6_FP.js";
2
+ function z(e, { delay: t = 0, duration: i = 400, easing: n = W } = {}) {
3
3
  const l = +getComputedStyle(e).opacity;
4
4
  return {
5
5
  delay: t,
@@ -9,7 +9,7 @@ function z(e, { delay: t = 0, duration: i = 400, easing: n = H } = {}) {
9
9
  };
10
10
  }
11
11
  function nt(e) {
12
- R(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
12
+ O(e, "svelte-16p7bax", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}");
13
13
  }
14
14
  const st = (e) => ({}), B = (e) => ({});
15
15
  function j(e) {
@@ -20,7 +20,7 @@ function j(e) {
20
20
  const y = (
21
21
  /*#slots*/
22
22
  e[12].content
23
- ), u = D(
23
+ ), u = X(
24
24
  y,
25
25
  e,
26
26
  /*$$scope*/
@@ -29,14 +29,14 @@ function j(e) {
29
29
  );
30
30
  return {
31
31
  c() {
32
- t = C("div"), i = C("div"), n = C("div"), r && r.c(), l = F(), u && u.c(), d(n, "class", "ModalContainer"), d(n, "style", o = /*modaltype*/
33
- e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"), L(() => (
32
+ t = C("div"), i = C("div"), n = C("div"), r && r.c(), l = G(), u && u.c(), d(n, "class", "ModalContainer"), d(n, "style", o = /*modaltype*/
33
+ e[3] === "video" ? "height: 70%" : "height: auto"), d(i, "id", "Modal"), x(() => (
34
34
  /*div1_elementresize_handler*/
35
35
  e[14].call(i)
36
36
  ));
37
37
  },
38
38
  m(a, f) {
39
- v(a, t, f), b(t, i), b(i, n), r && r.m(n, null), b(n, l), u && u.m(n, null), e[13](i), g = G(
39
+ k(a, t, f), b(t, i), b(i, n), r && r.m(n, null), b(n, l), u && u.m(n, null), e[13](i), g = F(
40
40
  i,
41
41
  /*div1_elementresize_handler*/
42
42
  e[14].bind(i)
@@ -45,19 +45,19 @@ function j(e) {
45
45
  p(a, f) {
46
46
  e = a, /*modaltype*/
47
47
  e[3] !== "error" ? r ? r.p(e, f) : (r = E(e), r.c(), r.m(n, l)) : r && (r.d(1), r = null), u && u.p && (!h || f & /*$$scope*/
48
- 2048) && K(
48
+ 2048) && Y(
49
49
  u,
50
50
  y,
51
51
  e,
52
52
  /*$$scope*/
53
53
  e[11],
54
- h ? P(
54
+ h ? D(
55
55
  y,
56
56
  /*$$scope*/
57
57
  e[11],
58
58
  f,
59
59
  st
60
- ) : O(
60
+ ) : A(
61
61
  /*$$scope*/
62
62
  e[11]
63
63
  ),
@@ -67,8 +67,8 @@ function j(e) {
67
67
  e[3] === "video" ? "height: 70%" : "height: auto")) && d(n, "style", o);
68
68
  },
69
69
  i(a) {
70
- h || (w(u, a), a && L(() => {
71
- h && (c || (c = x(
70
+ h || (w(u, a), a && x(() => {
71
+ h && (c || (c = L(
72
72
  i,
73
73
  z,
74
74
  /*duration*/
@@ -78,7 +78,7 @@ function j(e) {
78
78
  }), h = !0);
79
79
  },
80
80
  o(a) {
81
- p(u, a), a && (c || (c = x(
81
+ p(u, a), a && (c || (c = L(
82
82
  i,
83
83
  z,
84
84
  /*duration*/
@@ -87,7 +87,7 @@ function j(e) {
87
87
  )), c.run(0)), h = !1;
88
88
  },
89
89
  d(a) {
90
- a && k(t), r && r.d(), u && u.d(a), e[13](null), g(), a && c && c.end(), e[15](null);
90
+ a && v(t), r && r.d(), u && u.d(a), e[13](null), g(), a && c && c.end(), e[15](null);
91
91
  }
92
92
  };
93
93
  }
@@ -95,19 +95,19 @@ function E(e) {
95
95
  let t, i, n, l;
96
96
  return {
97
97
  c() {
98
- t = M("svg"), i = M("path"), d(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"), d(i, "fill", "#111111"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "13"), d(t, "height", "13"), d(t, "viewBox", "0 0 13 13"), d(t, "fill", "none"), d(t, "class", "CloseButton");
98
+ t = S("svg"), i = S("path"), d(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"), d(i, "fill", "#111111"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "13"), d(t, "height", "13"), d(t, "viewBox", "0 0 13 13"), d(t, "fill", "none"), d(t, "class", "CloseButton");
99
99
  },
100
100
  m(o, g) {
101
- v(o, t, g), b(t, i), n || (l = $(
101
+ k(o, t, g), b(t, i), n || (l = K(
102
102
  t,
103
103
  "click",
104
104
  /*closeModal*/
105
105
  e[7]
106
106
  ), n = !0);
107
107
  },
108
- p: tt,
108
+ p: I,
109
109
  d(o) {
110
- o && k(t), n = !1, l();
110
+ o && v(t), n = !1, l();
111
111
  }
112
112
  };
113
113
  }
@@ -121,14 +121,14 @@ function lt(e) {
121
121
  n && n.c(), t = T();
122
122
  },
123
123
  m(l, o) {
124
- n && n.m(l, o), v(l, t, o), i = !0;
124
+ n && n.m(l, o), k(l, t, o), i = !0;
125
125
  },
126
126
  p(l, [o]) {
127
127
  /*show*/
128
128
  l[2] === "true" ? n ? (n.p(l, o), o & /*show*/
129
- 4 && w(n, 1)) : (n = j(l), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (et(), p(n, 1, 1, () => {
129
+ 4 && w(n, 1)) : (n = j(l), n.c(), w(n, 1), n.m(t.parentNode, t)) : n && (P(), p(n, 1, 1, () => {
130
130
  n = null;
131
- }), V());
131
+ }), Q());
132
132
  },
133
133
  i(l) {
134
134
  i || (w(n), i = !0);
@@ -137,7 +137,7 @@ function lt(e) {
137
137
  p(n), i = !1;
138
138
  },
139
139
  d(l) {
140
- l && k(t), n && n.d(l);
140
+ l && v(t), n && n.d(l);
141
141
  }
142
142
  };
143
143
  }
@@ -146,18 +146,18 @@ function ot(e, t, i) {
146
146
  const q = () => {
147
147
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
148
148
  };
149
- X(() => () => {
149
+ V(() => () => {
150
150
  });
151
- function U(s) {
152
- S[s ? "unshift" : "push"](() => {
151
+ function N(s) {
152
+ M[s ? "unshift" : "push"](() => {
153
153
  f = s, i(6, f);
154
154
  });
155
155
  }
156
- function W() {
156
+ function R() {
157
157
  u = this.clientWidth, a = this.clientHeight, i(0, u), i(1, a);
158
158
  }
159
- function Z(s) {
160
- S[s ? "unshift" : "push"](() => {
159
+ function U(s) {
160
+ M[s ? "unshift" : "push"](() => {
161
161
  m = s, i(5, m);
162
162
  });
163
163
  }
@@ -165,9 +165,9 @@ function ot(e, t, i) {
165
165
  "mbsource" in s && i(8, o = s.mbsource), "clientstyling" in s && i(9, g = s.clientstyling), "clientstylingurl" in s && i(10, c = s.clientstylingurl), "show" in s && i(2, h = s.show), "modaltype" in s && i(3, r = s.modaltype), "duration" in s && i(4, y = s.duration), "width" in s && i(0, u = s.width), "height" in s && i(1, a = s.height), "$$scope" in s && i(11, l = s.$$scope);
166
166
  }, e.$$.update = () => {
167
167
  e.$$.dirty & /*clientstyling, customStylingContainer*/
168
- 544 && g && m && it(m, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
169
- 1056 && c && m && Y(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
170
- 288 && o && m && A(m, `${o}.Style`);
168
+ 544 && g && m && $(m, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
169
+ 1056 && c && m && tt(m, c), e.$$.dirty & /*mbsource, customStylingContainer*/
170
+ 288 && o && m && et(m, `${o}.Style`);
171
171
  }, [
172
172
  u,
173
173
  a,
@@ -182,19 +182,19 @@ function ot(e, t, i) {
182
182
  c,
183
183
  l,
184
184
  n,
185
- U,
186
- W,
187
- Z
185
+ N,
186
+ R,
187
+ U
188
188
  ];
189
189
  }
190
- class at extends I {
190
+ class at extends Z {
191
191
  constructor(t) {
192
- super(), J(
192
+ super(), H(
193
193
  this,
194
194
  t,
195
195
  ot,
196
196
  lt,
197
- Q,
197
+ J,
198
198
  {
199
199
  mbsource: 8,
200
200
  clientstyling: 9,
@@ -257,7 +257,7 @@ class at extends I {
257
257
  this.$$set({ height: t }), _();
258
258
  }
259
259
  }
260
- N(at, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
260
+ it(at, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, duration: {}, width: {}, height: {} }, ["content"], [], !0);
261
261
  export {
262
262
  at as default
263
263
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-DbNNkyb6.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-Bt-_E2Pn.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
@@ -1,21 +1,21 @@
1
- import { S as C, h as v, j as d, f as _, s as k, k as N, m as h, D as p, n as z, o as E, p as S, q as f, r as L, E as b, t as x, u as M, I as T } from "./CashierError-BAXGD8it.js";
1
+ import { S as C, d as v, f as d, s as _, b as k, e as N, n as b, j as z, x as p, k as S, l as f, m as E, p as h, z as x, q as L, r as M, B as T } from "./CashierError-BTJqKSJF.js";
2
2
  function q(n) {
3
3
  N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function H(n) {
5
+ function B(n) {
6
6
  let t, s, r, u, l, a, i, m;
7
7
  return {
8
8
  c() {
9
- t = h("div"), s = h("span"), r = p(
9
+ t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
11
  n[0]
12
- ), u = z(), l = h("button"), a = p(
12
+ ), u = L(), l = h("button"), a = x(
13
13
  /*button*/
14
14
  n[1]
15
- ), E(t, "class", "CashierNotifications");
15
+ ), M(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
18
+ S(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
@@ -24,25 +24,25 @@ function H(n) {
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
27
- 1 && b(
27
+ 1 && p(
28
28
  r,
29
29
  /*text*/
30
30
  o[0]
31
31
  ), c & /*button*/
32
- 2 && b(
32
+ 2 && p(
33
33
  a,
34
34
  /*button*/
35
35
  o[1]
36
36
  );
37
37
  },
38
- i: x,
39
- o: x,
38
+ i: b,
39
+ o: b,
40
40
  d(o) {
41
- o && M(t), n[6](null), i = !1, m();
41
+ o && z(t), n[6](null), i = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function R(n, t, s) {
45
+ function H(n, t, s) {
46
46
  let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
@@ -81,14 +81,14 @@ function R(n, t, s) {
81
81
  w
82
82
  ];
83
83
  }
84
- class U extends C {
84
+ class R extends C {
85
85
  constructor(t) {
86
86
  super(), v(
87
87
  this,
88
88
  t,
89
- R,
90
89
  H,
91
- k,
90
+ B,
91
+ _,
92
92
  {
93
93
  text: 0,
94
94
  button: 1,
@@ -123,7 +123,7 @@ class U extends C {
123
123
  this.$$set({ clientstylingurl: t }), d();
124
124
  }
125
125
  }
126
- _(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ k(R, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
- U as default
128
+ R as default
129
129
  };