@everymatrix/cashier-verifications 1.85.21 → 1.85.22
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-B-ktO0iW.cjs +1 -0
- package/components/{CashierModal-DHrU_qq9.js → CashierModal-DozCEzqK.js} +34 -32
- package/components/{CashierModal-BDBIK7k-.js → CashierModal-M1bz2O3j.js} +69 -67
- package/components/{CashierVerifications-DE0h9TPw.cjs → CashierVerifications-BZ9HMYxv.cjs} +4 -4
- package/components/{CashierVerifications-DaY_Rgzb.js → CashierVerifications-CmJxpNZF.js} +263 -282
- package/components/{CashierVerifications-B6TXu7Ec.js → CashierVerifications-DArnSBUX.js} +212 -231
- 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-C1yS-VWO.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Pt=Object.defineProperty,Rt=Object.defineProperties;var Ft=Object.getOwnPropertyDescriptors;var st=Object.getOwnPropertySymbols;var Dt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable;var Q=(e,t,n)=>t in e?Pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rt=(e,t)=>{for(var n in t||(t={}))Dt.call(t,n)&&Q(e,n,t[n]);if(st)for(var n of st(t))Ut.call(t,n)&&Q(e,n,t[n]);return e},lt=(e,t)=>Rt(e,Ft(t));var M=(e,t,n)=>(Q(e,typeof t!="symbol"?t+"":t,n),n);var X=(e,t,n)=>new Promise((i,o)=>{var s=d=>{try{c(n.next(d))}catch(l){o(l)}},r=d=>{try{c(n.throw(d))}catch(l){o(l)}},c=d=>d.done?i(d.value):Promise.resolve(d.value).then(s,r);c((n=n.apply(e,t)).next())});function U(){}function Yt(e,t){for(const n in t)e[n]=t[n];return e}function bt(e){return e()}function ct(){return Object.create(null)}function B(e){e.forEach(bt)}function ot(e){return typeof e=="function"}function yt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Jt(e){return Object.keys(e).length===0}function wt(e,...t){if(e==null){for(const i of t)i(void 0);return U}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Vt(e,t,n){e.$$.on_destroy.push(wt(t,n))}function at(e,t,n,i){if(e){const o=xt(e,t,n,i);return e[0](o)}}function xt(e,t,n,i){return e[1]&&i?Yt(n.ctx.slice(),e[1](i(t))):n.ctx}function dt(e,t,n,i){if(e[2]&&i){const o=e[2](i(n));if(t.dirty===void 0)return o;if(typeof o=="object"){const s=[],r=Math.max(t.dirty.length,o.length);for(let c=0;c<r;c+=1)s[c]=t.dirty[c]|o[c];return s}return t.dirty|o}return t.dirty}function ut(e,t,n,i,o,s){if(o){const r=xt(t,n,i,s);e.p(r,o)}}function ft(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}function y(e,t){e.appendChild(t)}function Ct(e,t,n){const i=qt(e);if(!i.getElementById(t)){const o=w("style");o.id=t,o.textContent=n,Zt(i,o)}}function qt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Zt(e,t){return y(e.head||e,t),t.sheet}function P(e,t,n){e.insertBefore(t,n||null)}function S(e){e.parentNode&&e.parentNode.removeChild(e)}function Gt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function w(e){return document.createElement(e)}function nt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function vt(e){return document.createTextNode(e)}function F(){return vt(" ")}function Z(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function _(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Kt(e,t,n){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:_(e,t,n)}function Qt(e){return Array.from(e.childNodes)}function Xt(e,t){t=""+t,e.data!==t&&(e.data=t)}let J;function te(){if(J===void 0){J=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){J=!0}}return J}function ee(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const i=w("iframe");i.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),i.setAttribute("aria-hidden","true"),i.tabIndex=-1;const o=te();let s;return o?(i.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=Z(window,"message",r=>{r.source===i.contentWindow&&t()})):(i.src="about:blank",i.onload=()=>{s=Z(i.contentWindow,"resize",t),t()}),y(e,i),()=>{(o||s&&i.contentWindow)&&s(),S(i)}}function O(e,t,n){e.classList.toggle(t,!!n)}function ne(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let Y;function D(e){Y=e}function ie(){if(!Y)throw new Error("Function called outside component initialization");return Y}function Mt(e){ie().$$.on_mount.push(e)}const I=[],j=[];let N=[];const ht=[],kt=Promise.resolve();let it=!1;function Lt(){it||(it=!0,kt.then(E))}function tt(){return Lt(),kt}function G(e){N.push(e)}const et=new Set;let A=0;function E(){if(A!==0)return;const e=Y;do{try{for(;A<I.length;){const t=I[A];A++,D(t),oe(t.$$)}}catch(t){throw I.length=0,A=0,t}for(D(null),I.length=0,A=0;j.length;)j.pop()();for(let t=0;t<N.length;t+=1){const n=N[t];et.has(n)||(et.add(n),n())}N.length=0}while(I.length);for(;ht.length;)ht.pop()();it=!1,et.clear(),D(e)}function oe(e){if(e.fragment!==null){e.update(),B(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(G)}}function se(e){const t=[],n=[];N.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),N=t}const V=new Set;let z;function re(){z={r:0,c:[],p:z}}function le(){z.r||B(z.c),z=z.p}function W(e,t){e&&e.i&&(V.delete(e),e.i(t))}function K(e,t,n,i){if(e&&e.o){if(V.has(e))return;V.add(e),z.c.push(()=>{V.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function ce(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ae(e,t,n){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),G(()=>{const s=e.$$.on_mount.map(bt).filter(ot);e.$$.on_destroy?e.$$.on_destroy.push(...s):B(s),e.$$.on_mount=[]}),o.forEach(G)}function de(e,t){const n=e.$$;n.fragment!==null&&(se(n.after_update),B(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ue(e,t){e.$$.dirty[0]===-1&&(I.push(e),Lt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Et(e,t,n,i,o,s,r=null,c=[-1]){const d=Y;D(e);const l=e.$$={fragment:null,ctx:[],props:s,update:U,not_equal:o,bound:ct(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(d?d.$$.context:[])),callbacks:ct(),dirty:c,skip_bound:!1,root:t.target||d.$$.root};r&&r(l.root);let v=!1;if(l.ctx=n?n(e,t.props||{},(p,k,...$)=>{const b=$.length?$[0]:k;return l.ctx&&o(l.ctx[p],l.ctx[p]=b)&&(!l.skip_bound&&l.bound[p]&&l.bound[p](b),v&&ue(e,p)),k}):[],l.update(),v=!0,B(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const p=Qt(t.target);l.fragment&&l.fragment.l(p),p.forEach(S)}else l.fragment&&l.fragment.c();t.intro&&W(e.$$.fragment),ae(e,t.target,t.anchor),E()}D(d)}let St;typeof HTMLElement=="function"&&(St=class extends HTMLElement{constructor(t,n,i){super();M(this,"$$ctor");M(this,"$$s");M(this,"$$c");M(this,"$$cn",!1);M(this,"$$d",{});M(this,"$$r",!1);M(this,"$$p_d",{});M(this,"$$l",{});M(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return X(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let r;return{c:function(){r=w("slot"),s!=="default"&&_(r,"name",s)},m:function(l,v){P(l,r,v)},d:function(l){l&&S(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=ne(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const s of this.attributes){const r=this.$$g_p(s.name);r in this.$$d||(this.$$d[r]=q(r,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:lt(rt({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const r=q(s,this.$$d[s],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,r)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const r of this.$$l[s]){const c=this.$$c.$on(s,r);this.$$l_u.set(r,c)}this.$$l={}}})}attributeChangedCallback(t,n,i){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=q(t,i,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function q(e,t,n,i){var s;const o=(s=n[e])==null?void 0:s.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Tt(e,t,n,i,o,s){let r=class extends St{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(c=>(t[c].attribute||c).toLowerCase())}};return Object.keys(t).forEach(c=>{Object.defineProperty(r.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(d){var l;d=q(c,d,t),this.$$d[c]=d,(l=this.$$c)==null||l.$set({[c]:d})}})}),i.forEach(c=>{Object.defineProperty(r.prototype,c,{get(){var d;return(d=this.$$c)==null?void 0:d[c]}})}),e.element=r,r}class Ot{constructor(){M(this,"$$");M(this,"$$set")}$destroy(){de(this,1),this.$destroy=U}$on(t,n){if(!ot(n))return U;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}$set(t){this.$$set&&!Jt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const fe="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(fe);function jt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function zt(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Ht(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function he(e){Ct(e,"svelte-vlp16o",'*,*::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)}.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 me=e=>({}),mt=e=>({}),ge=e=>({}),gt=e=>({});function _t(e){let t,n,i,o,s,r,c,d,l,v,p,k,$,b,m,f,H,h=(e[3]=="error"||e[3]=="bonusDescription")&&pt();const T=e[14].title,x=at(T,e,e[13],gt);let g=e[4]==="true"&&$t();const R=e[14].content,C=at(R,e,e[13],mt);return{c(){t=w("div"),n=w("div"),i=w("div"),o=w("div"),h&&h.c(),s=F(),r=w("div"),x&&x.c(),c=F(),d=w("div"),l=nt("svg"),v=nt("path"),p=F(),g&&g.c(),k=F(),$=w("div"),C&&C.c(),_(r,"class","TitleText"),_(o,"class","ModalTitle"),_(v,"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"),_(l,"xmlns","http://www.w3.org/2000/svg"),_(l,"viewBox","0 0 13 13"),_(l,"fill","none"),_(l,"class","CloseButton"),_(d,"class","ModalCloseIcon"),_(i,"class","ModalHeader"),_($,"class","ModalContentWrapper"),O($,"hidden",e[4]==="true"),_(n,"class","ModalContainer"),O(n,"video-mode",e[3]==="video"),O(n,"twofa-mode",e[3]==="2fa"),_(t,"id","Modal"),G(()=>e[18].call(t))},m(u,L){P(u,t,L),y(t,n),y(n,i),y(i,o),h&&h.m(o,null),y(o,s),y(o,r),x&&x.m(r,null),y(i,c),y(i,d),y(d,l),y(l,v),y(n,p),g&&g.m(n,null),y(n,k),y(n,$),C&&C.m($,null),e[15]($),e[16](n),e[17](t),b=ee(t,e[18].bind(t)),m=!0,f||(H=Z(l,"click",e[9]),f=!0)},p(u,L){u[3]=="error"||u[3]=="bonusDescription"?h||(h=pt(),h.c(),h.m(o,s)):h&&(h.d(1),h=null),x&&x.p&&(!m||L&8192)&&ut(x,T,u,u[13],m?dt(T,u[13],L,ge):ft(u[13]),gt),u[4]==="true"?g||(g=$t(),g.c(),g.m(n,k)):g&&(g.d(1),g=null),C&&C.p&&(!m||L&8192)&&ut(C,R,u,u[13],m?dt(R,u[13],L,me):ft(u[13]),mt),(!m||L&16)&&O($,"hidden",u[4]==="true"),(!m||L&8)&&O(n,"video-mode",u[3]==="video"),(!m||L&8)&&O(n,"twofa-mode",u[3]==="2fa")},i(u){m||(W(x,u),W(C,u),m=!0)},o(u){K(x,u),K(C,u),m=!1},d(u){u&&S(t),h&&h.d(),x&&x.d(u),g&&g.d(),C&&C.d(u),e[15](null),e[16](null),e[17](null),b(),f=!1,H()}}}function pt(e){let t;return{c(){t=w("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>',_(t,"class","WarningIcon")},m(n,i){P(n,t,i)},d(n){n&&S(t)}}}function $t(e){let t;return{c(){t=w("div"),t.innerHTML='<div class="ModalLoader"></div>',_(t,"class","ModalLoadingOverlay")},m(n,i){P(n,t,i)},d(n){n&&S(t)}}}function _e(e){let t,n,i=e[2]==="true"&&_t(e);return{c(){t=w("div"),i&&i.c()},m(o,s){P(o,t,s),i&&i.m(t,null),e[19](t),n=!0},p(o,[s]){o[2]==="true"?i?(i.p(o,s),s&4&&W(i,1)):(i=_t(o),i.c(),W(i,1),i.m(t,null)):i&&(re(),K(i,1,1,()=>{i=null}),le())},i(o){n||(W(i),n=!0)},o(o){K(i),n=!1},d(o){o&&S(t),i&&i.d(),e[19](null)}}}function pe(e,t,n){let{$$slots:i={},$$scope:o}=t,{mbsource:s}=t,{clientstyling:r}=t,{clientstylingurl:c}=t,{show:d}=t,{modaltype:l=""}=t,{isloading:v="false"}=t,{width:p}=t,{height:k}=t,$,b,m,f,H=!1,h,T;const x=()=>{h&&clearTimeout(h),$&&($.classList.add("closing"),h=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},g=()=>X(this,null,function*(){if(!f||!m||H)return;T&&clearTimeout(h),H=!0;const a=f.offsetWidth,Nt=f.offsetHeight;n(8,f.style.width=`${a}px`,f),n(8,f.style.height=`${Nt}px`,f),f.offsetHeight,yield tt();const Wt=m.scrollHeight,Bt=m.scrollWidth;n(8,f.style.width=`${Bt}px`,f),n(8,f.style.height=`${Wt}px`,f),T=setTimeout(()=>{f&&(n(8,f.style.width="auto",f),n(8,f.style.height="auto",f)),H=!1},300)});Mt(()=>{if(tt().then(()=>{g()}),m){const a=new ResizeObserver(()=>{g()});return a.observe(m),()=>{a.disconnect()}}return()=>{h&&clearTimeout(h),T&&clearTimeout(h)}});function R(a){j[a?"unshift":"push"](()=>{m=a,n(7,m)})}function C(a){j[a?"unshift":"push"](()=>{f=a,n(8,f)})}function u(a){j[a?"unshift":"push"](()=>{$=a,n(6,$)})}function L(){p=this.clientWidth,k=this.clientHeight,n(0,p),n(1,k)}function It(a){j[a?"unshift":"push"](()=>{b=a,n(5,b)})}return e.$$set=a=>{"mbsource"in a&&n(10,s=a.mbsource),"clientstyling"in a&&n(11,r=a.clientstyling),"clientstylingurl"in a&&n(12,c=a.clientstylingurl),"show"in a&&n(2,d=a.show),"modaltype"in a&&n(3,l=a.modaltype),"isloading"in a&&n(4,v=a.isloading),"width"in a&&n(0,p=a.width),"height"in a&&n(1,k=a.height),"$$scope"in a&&n(13,o=a.$$scope)},e.$$.update=()=>{e.$$.dirty&16&&v&&tt().then(()=>{g()}),e.$$.dirty&2080&&r&&b&&jt(b,r),e.$$.dirty&4128&&c&&b&&zt(b,c),e.$$.dirty&1056&&s&&b&&Ht(b,`${s}.Style`)},[p,k,d,l,v,b,$,m,f,x,s,r,c,o,i,R,C,u,L,It]}class At extends Ot{constructor(t){super(),Et(this,t,pe,_e,yt,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},he)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),E()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),E()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),E()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),E()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),E()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),E()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),E()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),E()}}Tt(At,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);const $e=Object.freeze(Object.defineProperty({__proto__:null,default:At},Symbol.toStringTag,{value:"Module"}));exports.CashierModal_ce=$e;exports.SvelteComponent=Ot;exports.append=y;exports.append_styles=Ct;exports.attr=_;exports.binding_callbacks=j;exports.component_subscribe=Vt;exports.create_custom_element=Tt;exports.destroy_each=Gt;exports.detach=S;exports.element=w;exports.ensure_array_like=ce;exports.flush=E;exports.init=Et;exports.insert=P;exports.is_function=ot;exports.listen=Z;exports.noop=U;exports.onMount=Mt;exports.run_all=B;exports.safe_not_equal=yt;exports.setClientStyling=jt;exports.setClientStylingURL=zt;exports.setStreamStyling=Ht;exports.set_custom_element_data=Kt;exports.set_data=Xt;exports.space=F;exports.subscribe=wt;exports.svg_element=nt;exports.text=vt;exports.toggle_class=O;
|
|
@@ -123,7 +123,7 @@ function ot(t) {
|
|
|
123
123
|
function Tt(t) {
|
|
124
124
|
return document.createTextNode(t);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function D() {
|
|
127
127
|
return Tt(" ");
|
|
128
128
|
}
|
|
129
129
|
function Q(t, e, n, i) {
|
|
@@ -143,17 +143,17 @@ function oe(t, e) {
|
|
|
143
143
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
144
144
|
e);
|
|
145
145
|
}
|
|
146
|
-
let
|
|
146
|
+
let Y;
|
|
147
147
|
function jt() {
|
|
148
|
-
if (
|
|
149
|
-
|
|
148
|
+
if (Y === void 0) {
|
|
149
|
+
Y = !1;
|
|
150
150
|
try {
|
|
151
151
|
typeof window < "u" && window.parent && window.parent.document;
|
|
152
152
|
} catch {
|
|
153
|
-
|
|
153
|
+
Y = !0;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
return
|
|
156
|
+
return Y;
|
|
157
157
|
}
|
|
158
158
|
function zt(t, e) {
|
|
159
159
|
getComputedStyle(t).position === "static" && (t.style.position = "relative");
|
|
@@ -198,11 +198,11 @@ function At() {
|
|
|
198
198
|
throw new Error("Function called outside component initialization");
|
|
199
199
|
return P;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function It(t) {
|
|
202
202
|
At().$$.on_mount.push(t);
|
|
203
203
|
}
|
|
204
204
|
const H = [], A = [];
|
|
205
|
-
let
|
|
205
|
+
let I = [];
|
|
206
206
|
const rt = [], gt = /* @__PURE__ */ Promise.resolve();
|
|
207
207
|
let X = !1;
|
|
208
208
|
function _t() {
|
|
@@ -212,7 +212,7 @@ function G() {
|
|
|
212
212
|
return _t(), gt;
|
|
213
213
|
}
|
|
214
214
|
function q(t) {
|
|
215
|
-
|
|
215
|
+
I.push(t);
|
|
216
216
|
}
|
|
217
217
|
const K = /* @__PURE__ */ new Set();
|
|
218
218
|
let z = 0;
|
|
@@ -224,24 +224,24 @@ function L() {
|
|
|
224
224
|
try {
|
|
225
225
|
for (; z < H.length; ) {
|
|
226
226
|
const e = H[z];
|
|
227
|
-
z++, W(e),
|
|
227
|
+
z++, W(e), Bt(e.$$);
|
|
228
228
|
}
|
|
229
229
|
} catch (e) {
|
|
230
230
|
throw H.length = 0, z = 0, e;
|
|
231
231
|
}
|
|
232
232
|
for (W(null), H.length = 0, z = 0; A.length; )
|
|
233
233
|
A.pop()();
|
|
234
|
-
for (let e = 0; e <
|
|
235
|
-
const n =
|
|
234
|
+
for (let e = 0; e < I.length; e += 1) {
|
|
235
|
+
const n = I[e];
|
|
236
236
|
K.has(n) || (K.add(n), n());
|
|
237
237
|
}
|
|
238
|
-
|
|
238
|
+
I.length = 0;
|
|
239
239
|
} while (H.length);
|
|
240
240
|
for (; rt.length; )
|
|
241
241
|
rt.pop()();
|
|
242
242
|
X = !1, K.clear(), W(t);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Bt(t) {
|
|
245
245
|
if (t.fragment !== null) {
|
|
246
246
|
t.update(), R(t.before_update);
|
|
247
247
|
const e = t.dirty;
|
|
@@ -250,7 +250,7 @@ function It(t) {
|
|
|
250
250
|
}
|
|
251
251
|
function Nt(t) {
|
|
252
252
|
const e = [], n = [];
|
|
253
|
-
|
|
253
|
+
I.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), I = e;
|
|
254
254
|
}
|
|
255
255
|
const U = /* @__PURE__ */ new Set();
|
|
256
256
|
let S;
|
|
@@ -265,7 +265,7 @@ function Wt() {
|
|
|
265
265
|
function Pt() {
|
|
266
266
|
S.r || R(S.c), S = S.p;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function B(t, e) {
|
|
269
269
|
t && t.i && (U.delete(t), t.i(e));
|
|
270
270
|
}
|
|
271
271
|
function Z(t, e, n, i) {
|
|
@@ -292,10 +292,10 @@ function Ft(t, e) {
|
|
|
292
292
|
const n = t.$$;
|
|
293
293
|
n.fragment !== null && (Nt(n.after_update), R(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Dt(t, e) {
|
|
296
296
|
t.$$.dirty[0] === -1 && (H.push(t), _t(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Yt(t, e, n, i, s, o, d = null, l = [-1]) {
|
|
299
299
|
const f = P;
|
|
300
300
|
W(t);
|
|
301
301
|
const c = t.$$ = {
|
|
@@ -323,14 +323,14 @@ function Dt(t, e, n, i, s, o, d = null, l = [-1]) {
|
|
|
323
323
|
let k = !1;
|
|
324
324
|
if (c.ctx = n ? n(t, e.props || {}, (_, v, ...p) => {
|
|
325
325
|
const y = p.length ? p[0] : v;
|
|
326
|
-
return c.ctx && s(c.ctx[_], c.ctx[_] = y) && (!c.skip_bound && c.bound[_] && c.bound[_](y), k &&
|
|
326
|
+
return c.ctx && s(c.ctx[_], c.ctx[_] = y) && (!c.skip_bound && c.bound[_] && c.bound[_](y), k && Dt(t, _)), v;
|
|
327
327
|
}) : [], c.update(), k = !0, R(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
|
|
328
328
|
if (e.hydrate) {
|
|
329
329
|
const _ = Ot(e.target);
|
|
330
330
|
c.fragment && c.fragment.l(_), _.forEach(T);
|
|
331
331
|
} else
|
|
332
332
|
c.fragment && c.fragment.c();
|
|
333
|
-
e.intro &&
|
|
333
|
+
e.intro && B(t.$$.fragment), Rt(t, e.target, e.anchor), L();
|
|
334
334
|
}
|
|
335
335
|
W(f);
|
|
336
336
|
}
|
|
@@ -582,13 +582,14 @@ function Gt(t, e, n) {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
function Kt(t) {
|
|
585
|
-
Lt(t, "svelte-
|
|
585
|
+
Lt(t, "svelte-vlp16o", '*,*::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)}.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}}');
|
|
586
586
|
}
|
|
587
587
|
const Qt = (t) => ({}), lt = (t) => ({}), Xt = (t) => ({}), ct = (t) => ({});
|
|
588
588
|
function at(t) {
|
|
589
589
|
let e, n, i, s, o, d, l, f, c, k, _, v, p, y, m, u, O, h = (
|
|
590
590
|
/*modaltype*/
|
|
591
|
-
t[3] == "error"
|
|
591
|
+
(t[3] == "error" || /*modaltype*/
|
|
592
|
+
t[3] == "bonusDescription") && dt()
|
|
592
593
|
);
|
|
593
594
|
const E = (
|
|
594
595
|
/*#slots*/
|
|
@@ -616,7 +617,7 @@ function at(t) {
|
|
|
616
617
|
);
|
|
617
618
|
return {
|
|
618
619
|
c() {
|
|
619
|
-
e = C("div"), n = C("div"), i = C("div"), s = C("div"), h && h.c(), o =
|
|
620
|
+
e = C("div"), n = C("div"), i = C("div"), s = C("div"), h && h.c(), o = D(), d = C("div"), w && w.c(), l = D(), f = C("div"), c = ot("svg"), k = ot("path"), _ = D(), g && g.c(), v = D(), p = C("div"), x && x.c(), $(d, "class", "TitleText"), $(s, "class", "ModalTitle"), $(k, "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"), $(c, "xmlns", "http://www.w3.org/2000/svg"), $(c, "viewBox", "0 0 13 13"), $(c, "fill", "none"), $(c, "class", "CloseButton"), $(f, "class", "ModalCloseIcon"), $(i, "class", "ModalHeader"), $(p, "class", "ModalContentWrapper"), j(
|
|
620
621
|
p,
|
|
621
622
|
"hidden",
|
|
622
623
|
/*isloading*/
|
|
@@ -650,7 +651,8 @@ function at(t) {
|
|
|
650
651
|
},
|
|
651
652
|
p(a, M) {
|
|
652
653
|
/*modaltype*/
|
|
653
|
-
a[3] == "error"
|
|
654
|
+
a[3] == "error" || /*modaltype*/
|
|
655
|
+
a[3] == "bonusDescription" ? h || (h = dt(), h.c(), h.m(s, o)) : h && (h.d(1), h = null), w && w.p && (!m || M & /*$$scope*/
|
|
654
656
|
8192) && it(
|
|
655
657
|
w,
|
|
656
658
|
E,
|
|
@@ -708,7 +710,7 @@ function at(t) {
|
|
|
708
710
|
);
|
|
709
711
|
},
|
|
710
712
|
i(a) {
|
|
711
|
-
m || (
|
|
713
|
+
m || (B(w, a), B(x, a), m = !0);
|
|
712
714
|
},
|
|
713
715
|
o(a) {
|
|
714
716
|
Z(w, a), Z(x, a), m = !1;
|
|
@@ -761,12 +763,12 @@ function te(t) {
|
|
|
761
763
|
p(s, [o]) {
|
|
762
764
|
/*show*/
|
|
763
765
|
s[2] === "true" ? i ? (i.p(s, o), o & /*show*/
|
|
764
|
-
4 &&
|
|
766
|
+
4 && B(i, 1)) : (i = at(s), i.c(), B(i, 1), i.m(e, null)) : i && (Wt(), Z(i, 1, 1, () => {
|
|
765
767
|
i = null;
|
|
766
768
|
}), Pt());
|
|
767
769
|
},
|
|
768
770
|
i(s) {
|
|
769
|
-
n || (
|
|
771
|
+
n || (B(i), n = !0);
|
|
770
772
|
},
|
|
771
773
|
o(s) {
|
|
772
774
|
Z(i), n = !1;
|
|
@@ -799,7 +801,7 @@ function ee(t, e, n) {
|
|
|
799
801
|
300
|
|
800
802
|
);
|
|
801
803
|
};
|
|
802
|
-
|
|
804
|
+
It(() => {
|
|
803
805
|
if (G().then(() => {
|
|
804
806
|
g();
|
|
805
807
|
}), m) {
|
|
@@ -872,7 +874,7 @@ function ee(t, e, n) {
|
|
|
872
874
|
}
|
|
873
875
|
class $t extends Jt {
|
|
874
876
|
constructor(e) {
|
|
875
|
-
super(),
|
|
877
|
+
super(), Yt(
|
|
876
878
|
this,
|
|
877
879
|
e,
|
|
878
880
|
ee,
|
|
@@ -952,7 +954,7 @@ export {
|
|
|
952
954
|
le as D,
|
|
953
955
|
Jt as S,
|
|
954
956
|
kt as a,
|
|
955
|
-
|
|
957
|
+
Yt as b,
|
|
956
958
|
Ut as c,
|
|
957
959
|
Lt as d,
|
|
958
960
|
T as e,
|
|
@@ -965,7 +967,7 @@ export {
|
|
|
965
967
|
A as l,
|
|
966
968
|
se as m,
|
|
967
969
|
V as n,
|
|
968
|
-
|
|
970
|
+
It as o,
|
|
969
971
|
re as p,
|
|
970
972
|
ie as q,
|
|
971
973
|
R as r,
|
|
@@ -975,6 +977,6 @@ export {
|
|
|
975
977
|
b as v,
|
|
976
978
|
Q as w,
|
|
977
979
|
ot as x,
|
|
978
|
-
|
|
980
|
+
D as y,
|
|
979
981
|
Tt as z
|
|
980
982
|
};
|