@everymatrix/cashier-verifications 1.93.12 → 1.93.14
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/{CashierModal-Cerc1iVi.js → CashierModal-B_P5HWPx.js} +11 -11
- package/components/CashierModal-C5dVGJXf.cjs +1 -0
- package/components/{CashierModal-CKCmZ_m7.js → CashierModal-Dx3e_aVO.js} +10 -10
- package/components/{CashierVerifications-BVgcQaoW.js → CashierVerifications-BFo4vvGH.js} +1279 -1261
- package/components/CashierVerifications-DCpcAU2N.cjs +20 -0
- package/components/{CashierVerifications-D5t73_cL.js → CashierVerifications-DI7ZxLVE.js} +1263 -1245
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierModal-mvLty-MR.cjs +0 -1
- package/components/CashierVerifications-BNo5lH9v.cjs +0 -20
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as te, i as ie, f as C, s as ne, c as oe, a as le, d as S, t as O, b as z, e as se, g as H, h as b, o as ae, j, k as B, u as F, l as Y, m as D, n as L, p as _, q as re, r as I, v as h, w as de, x as W, y as ce, z as fe, A as q, B as ue, C as he, D as me, E as ge } from "./CashierVerifications-
|
|
1
|
+
import { S as te, i as ie, f as C, s as ne, c as oe, a as le, d as S, t as O, b as z, e as se, g as H, h as b, o as ae, j, k as B, u as F, l as Y, m as D, n as L, p as _, q as re, r as I, v as h, w as de, x as W, y as ce, z as fe, A as q, B as ue, C as he, D as me, E as ge } from "./CashierVerifications-DI7ZxLVE.js";
|
|
2
2
|
function pe(i) {
|
|
3
|
-
le(i, "svelte-
|
|
3
|
+
le(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
4
4
|
}
|
|
5
|
-
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}),
|
|
6
|
-
function
|
|
5
|
+
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}), U = (i) => ({});
|
|
6
|
+
function A(i) {
|
|
7
7
|
let e, t, n, a, f, m, v, T, k, y, x, u, d = (
|
|
8
8
|
/*modaltype*/
|
|
9
9
|
(i[3] == "error" || /*modaltype*/
|
|
10
|
-
i[3] == "bonusDescription") &&
|
|
10
|
+
i[3] == "bonusDescription") && P()
|
|
11
11
|
);
|
|
12
12
|
const g = (
|
|
13
13
|
/*#slots*/
|
|
@@ -17,7 +17,7 @@ function P(i) {
|
|
|
17
17
|
i,
|
|
18
18
|
/*$$scope*/
|
|
19
19
|
i[13],
|
|
20
|
-
|
|
20
|
+
U
|
|
21
21
|
);
|
|
22
22
|
let r = (
|
|
23
23
|
/*modaltype*/
|
|
@@ -68,7 +68,7 @@ function P(i) {
|
|
|
68
68
|
p(s, w) {
|
|
69
69
|
/*modaltype*/
|
|
70
70
|
s[3] == "error" || /*modaltype*/
|
|
71
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
71
|
+
s[3] == "bonusDescription" ? d || (d = P(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
|
|
72
72
|
8192) && F(
|
|
73
73
|
p,
|
|
74
74
|
g,
|
|
@@ -85,7 +85,7 @@ function P(i) {
|
|
|
85
85
|
/*$$scope*/
|
|
86
86
|
s[13]
|
|
87
87
|
),
|
|
88
|
-
|
|
88
|
+
U
|
|
89
89
|
), /*modaltype*/
|
|
90
90
|
s[3] != "2fa-old" ? r ? r.p(s, w) : (r = Z(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
91
91
|
s[4] === "true" ? l || (l = G(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
|
|
@@ -137,7 +137,7 @@ function P(i) {
|
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function P(i) {
|
|
141
141
|
let e;
|
|
142
142
|
return {
|
|
143
143
|
c() {
|
|
@@ -188,7 +188,7 @@ function G(i) {
|
|
|
188
188
|
function _e(i) {
|
|
189
189
|
let e, t, n = (
|
|
190
190
|
/*show*/
|
|
191
|
-
i[2] === "true" &&
|
|
191
|
+
i[2] === "true" && A(i)
|
|
192
192
|
);
|
|
193
193
|
return {
|
|
194
194
|
c() {
|
|
@@ -200,7 +200,7 @@ function _e(i) {
|
|
|
200
200
|
p(a, [f]) {
|
|
201
201
|
/*show*/
|
|
202
202
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
203
|
-
4 && z(n, 1)) : (n =
|
|
203
|
+
4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (ue(), O(n, 1, 1, () => {
|
|
204
204
|
n = null;
|
|
205
205
|
}), se());
|
|
206
206
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var M=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierVerifications-DCpcAU2N.cjs");function P(n){e.append_styles(n,"svelte-e2luo5",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const R=n=>({}),L=n=>({}),U=n=>({}),T=n=>({});function S(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&z();const _=n[14].title,w=e.create_slot(_,n,n[13],T);let d=n[3]!="2fa-old"&&H(n),s=n[4]==="true"&&I();const x=n[14].content,f=e.create_slot(x,n,n[13],L);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=z(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),a[3]!="2fa-old"?d?d.p(a,y):(d=H(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=I(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,R):e.get_all_dirty_from_scope(a[13]),L),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function z(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function H(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"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,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function I(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function V(n){let t,i,o=n[2]==="true"&&S(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=S(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function Z(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>M(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,Y=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${Y}px`,s),s.offsetHeight,yield e.tick();const q=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${q}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function B(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function F(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&e.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&e.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&e.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,O,E,j,B,F]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Z,V,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},P)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(W,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=W;
|
|
@@ -14,12 +14,12 @@ var B = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
|
|
15
15
|
g((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as ie, i as ne, s as oe, f as M, a as le, d as S, t as O, b as z, c as se, e as H, g as x, o as ae, h as j, j as F, u as Y, k as D, l as q, m as T, n as v, p as re, q as I, r as m, v as de, w as W, x as ce, y as fe, z as R, A as ue, B as he, C as me, D as ge, E as pe } from "./CashierVerifications-
|
|
17
|
+
import { S as ie, i as ne, s as oe, f as M, a as le, d as S, t as O, b as z, c as se, e as H, g as x, o as ae, h as j, j as F, u as Y, k as D, l as q, m as T, n as v, p as re, q as I, r as m, v as de, w as W, x as ce, y as fe, z as R, A as ue, B as he, C as me, D as ge, E as pe } from "./CashierVerifications-BFo4vvGH.js";
|
|
18
18
|
function we(i) {
|
|
19
|
-
le(i, "svelte-
|
|
19
|
+
le(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
20
20
|
}
|
|
21
|
-
const ye = (i) => ({}),
|
|
22
|
-
function
|
|
21
|
+
const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}), A = (i) => ({});
|
|
22
|
+
function P(i) {
|
|
23
23
|
let e, t, n, a, f, h, g, p, C, b, k, u, d = (
|
|
24
24
|
/*modaltype*/
|
|
25
25
|
(i[3] == "error" || /*modaltype*/
|
|
@@ -33,7 +33,7 @@ function U(i) {
|
|
|
33
33
|
i,
|
|
34
34
|
/*$$scope*/
|
|
35
35
|
i[13],
|
|
36
|
-
|
|
36
|
+
A
|
|
37
37
|
);
|
|
38
38
|
let r = (
|
|
39
39
|
/*modaltype*/
|
|
@@ -50,7 +50,7 @@ function U(i) {
|
|
|
50
50
|
i,
|
|
51
51
|
/*$$scope*/
|
|
52
52
|
i[13],
|
|
53
|
-
|
|
53
|
+
U
|
|
54
54
|
);
|
|
55
55
|
return {
|
|
56
56
|
c() {
|
|
@@ -101,7 +101,7 @@ function U(i) {
|
|
|
101
101
|
/*$$scope*/
|
|
102
102
|
s[13]
|
|
103
103
|
),
|
|
104
|
-
|
|
104
|
+
A
|
|
105
105
|
), /*modaltype*/
|
|
106
106
|
s[3] != "2fa-old" ? r ? r.p(s, _) : (r = G(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
107
107
|
s[4] === "true" ? l || (l = J(), l.c(), l.m(t, C)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
@@ -121,7 +121,7 @@ function U(i) {
|
|
|
121
121
|
/*$$scope*/
|
|
122
122
|
s[13]
|
|
123
123
|
),
|
|
124
|
-
|
|
124
|
+
U
|
|
125
125
|
), (!u || _ & /*isloading*/
|
|
126
126
|
16) && T(
|
|
127
127
|
b,
|
|
@@ -204,7 +204,7 @@ function J(i) {
|
|
|
204
204
|
function be(i) {
|
|
205
205
|
let e, t, n = (
|
|
206
206
|
/*show*/
|
|
207
|
-
i[2] === "true" &&
|
|
207
|
+
i[2] === "true" && P(i)
|
|
208
208
|
);
|
|
209
209
|
return {
|
|
210
210
|
c() {
|
|
@@ -216,7 +216,7 @@ function be(i) {
|
|
|
216
216
|
p(a, [f]) {
|
|
217
217
|
/*show*/
|
|
218
218
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
219
|
-
4 && z(n, 1)) : (n =
|
|
219
|
+
4 && z(n, 1)) : (n = P(a), n.c(), z(n, 1), n.m(e, null)) : n && (ue(), O(n, 1, 1, () => {
|
|
220
220
|
n = null;
|
|
221
221
|
}), se());
|
|
222
222
|
},
|