@everymatrix/cashier-verifications 1.90.9 → 1.90.10
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-CcYe0NGS.cjs → CashierModal-C7nQ7erv.cjs} +1 -1
- package/components/{CashierModal-BZuz0HVo.js → CashierModal-DMRoHwin.js} +1 -1
- package/components/{CashierModal-9nLJUWbb.js → CashierModal-ZM7dP7Pm.js} +1 -1
- package/components/{CashierVerifications-Dp9sWUuQ.js → CashierVerifications-BiQmwDJw.js} +52 -52
- package/components/{CashierVerifications-D7duVP3b.cjs → CashierVerifications-CdBXXa2t.cjs} +1 -1
- package/components/{CashierVerifications-CwMztnx2.js → CashierVerifications-ozKQI8Y3.js} +3 -3
- 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
|
@@ -1 +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-D7duVP3b.cjs");function P(n){e.append_styles(n,"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 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;
|
|
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-CdBXXa2t.cjs");function P(n){e.append_styles(n,"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 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,7 +14,7 @@ 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-BiQmwDJw.js";
|
|
18
18
|
function we(i) {
|
|
19
19
|
le(i, "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}}');
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
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-ozKQI8Y3.js";
|
|
2
2
|
function pe(i) {
|
|
3
3
|
le(i, "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}}');
|
|
4
4
|
}
|
|
@@ -4544,7 +4544,7 @@ if (typeof window != "undefined") {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
};
|
|
4546
4546
|
};
|
|
4547
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4547
|
+
customElements.define = e(customElements.define), import("./CashierModal-DMRoHwin.js").then(({ default: t }) => {
|
|
4548
4548
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4549
4549
|
});
|
|
4550
4550
|
}
|
|
@@ -4597,8 +4597,8 @@ var ci = { exports: {} };
|
|
|
4597
4597
|
return x.clone();
|
|
4598
4598
|
var m = typeof d == "object" ? d : {};
|
|
4599
4599
|
return m.date = x, m.args = arguments, new _e(m);
|
|
4600
|
-
},
|
|
4601
|
-
|
|
4600
|
+
}, $ = O;
|
|
4601
|
+
$.l = J, $.i = oe, $.w = function(x, d) {
|
|
4602
4602
|
return V(x, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
|
|
4603
4603
|
};
|
|
4604
4604
|
var _e = function() {
|
|
@@ -4611,7 +4611,7 @@ var ci = { exports: {} };
|
|
|
4611
4611
|
var g = y.date, w = y.utc;
|
|
4612
4612
|
if (g === null)
|
|
4613
4613
|
return /* @__PURE__ */ new Date(NaN);
|
|
4614
|
-
if (
|
|
4614
|
+
if ($.u(g))
|
|
4615
4615
|
return /* @__PURE__ */ new Date();
|
|
4616
4616
|
if (g instanceof Date)
|
|
4617
4617
|
return new Date(g);
|
|
@@ -4628,7 +4628,7 @@ var ci = { exports: {} };
|
|
|
4628
4628
|
var m = this.$d;
|
|
4629
4629
|
this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
|
|
4630
4630
|
}, d.$utils = function() {
|
|
4631
|
-
return
|
|
4631
|
+
return $;
|
|
4632
4632
|
}, d.isValid = function() {
|
|
4633
4633
|
return this.$d.toString() !== h;
|
|
4634
4634
|
}, d.isSame = function(m, y) {
|
|
@@ -4639,17 +4639,17 @@ var ci = { exports: {} };
|
|
|
4639
4639
|
}, d.isBefore = function(m, y) {
|
|
4640
4640
|
return this.endOf(y) < V(m);
|
|
4641
4641
|
}, d.$g = function(m, y, g) {
|
|
4642
|
-
return
|
|
4642
|
+
return $.u(m) ? this[y] : this.set(g, m);
|
|
4643
4643
|
}, d.unix = function() {
|
|
4644
4644
|
return Math.floor(this.valueOf() / 1e3);
|
|
4645
4645
|
}, d.valueOf = function() {
|
|
4646
4646
|
return this.$d.getTime();
|
|
4647
4647
|
}, d.startOf = function(m, y) {
|
|
4648
|
-
var g = this, w =
|
|
4649
|
-
var ie =
|
|
4648
|
+
var g = this, w = !!$.u(y) || y, S = $.p(m), D = function(se, X) {
|
|
4649
|
+
var ie = $.w(g.$u ? Date.UTC(g.$y, X, se) : new Date(g.$y, X, se), g);
|
|
4650
4650
|
return w ? ie : ie.endOf(l);
|
|
4651
4651
|
}, k = function(se, X) {
|
|
4652
|
-
return
|
|
4652
|
+
return $.w(g.toDate()[se].apply(g.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), g);
|
|
4653
4653
|
}, F = this.$W, z = this.$M, Z = this.$D, ce = "set" + (this.$u ? "UTC" : "");
|
|
4654
4654
|
switch (S) {
|
|
4655
4655
|
case b:
|
|
@@ -4674,7 +4674,7 @@ var ci = { exports: {} };
|
|
|
4674
4674
|
}, d.endOf = function(m) {
|
|
4675
4675
|
return this.startOf(m, !1);
|
|
4676
4676
|
}, d.$set = function(m, y) {
|
|
4677
|
-
var g, w =
|
|
4677
|
+
var g, w = $.p(m), S = "set" + (this.$u ? "UTC" : ""), D = (g = {}, g[l] = S + "Date", g[T] = S + "Date", g[p] = S + "Month", g[b] = S + "FullYear", g[u] = S + "Hours", g[a] = S + "Minutes", g[s] = S + "Seconds", g[o] = S + "Milliseconds", g)[w], k = w === l ? this.$D + (y - this.$W) : y;
|
|
4678
4678
|
if (w === p || w === b) {
|
|
4679
4679
|
var F = this.clone().set(T, 1);
|
|
4680
4680
|
F.$d[D](k), F.init(), this.$d = F.set(T, Math.min(this.$D, F.daysInMonth())).$d;
|
|
@@ -4684,13 +4684,13 @@ var ci = { exports: {} };
|
|
|
4684
4684
|
}, d.set = function(m, y) {
|
|
4685
4685
|
return this.clone().$set(m, y);
|
|
4686
4686
|
}, d.get = function(m) {
|
|
4687
|
-
return this[
|
|
4687
|
+
return this[$.p(m)]();
|
|
4688
4688
|
}, d.add = function(m, y) {
|
|
4689
4689
|
var g, w = this;
|
|
4690
4690
|
m = Number(m);
|
|
4691
|
-
var S =
|
|
4691
|
+
var S = $.p(y), D = function(z) {
|
|
4692
4692
|
var Z = V(w);
|
|
4693
|
-
return
|
|
4693
|
+
return $.w(Z.date(Z.date() + Math.round(z * m)), w);
|
|
4694
4694
|
};
|
|
4695
4695
|
if (S === p)
|
|
4696
4696
|
return this.set(p, this.$M + m);
|
|
@@ -4701,17 +4701,17 @@ var ci = { exports: {} };
|
|
|
4701
4701
|
if (S === f)
|
|
4702
4702
|
return D(7);
|
|
4703
4703
|
var k = (g = {}, g[a] = i, g[u] = n, g[s] = r, g)[S] || 1, F = this.$d.getTime() + m * k;
|
|
4704
|
-
return
|
|
4704
|
+
return $.w(F, this);
|
|
4705
4705
|
}, d.subtract = function(m, y) {
|
|
4706
4706
|
return this.add(-1 * m, y);
|
|
4707
4707
|
}, d.format = function(m) {
|
|
4708
4708
|
var y = this, g = this.$locale();
|
|
4709
4709
|
if (!this.isValid())
|
|
4710
4710
|
return g.invalidDate || h;
|
|
4711
|
-
var w = m || "YYYY-MM-DDTHH:mm:ssZ", S =
|
|
4711
|
+
var w = m || "YYYY-MM-DDTHH:mm:ssZ", S = $.z(this), D = this.$H, k = this.$m, F = this.$M, z = g.weekdays, Z = g.months, ce = g.meridiem, re = function(X, ie, ve, xe) {
|
|
4712
4712
|
return X && (X[ie] || X(y, w)) || ve[ie].slice(0, xe);
|
|
4713
4713
|
}, me = function(X) {
|
|
4714
|
-
return
|
|
4714
|
+
return $.s(D % 12 || 12, X, "0");
|
|
4715
4715
|
}, se = ce || function(X, ie, ve) {
|
|
4716
4716
|
var xe = X < 12 ? "AM" : "PM";
|
|
4717
4717
|
return ve ? xe.toLowerCase() : xe;
|
|
@@ -4722,11 +4722,11 @@ var ci = { exports: {} };
|
|
|
4722
4722
|
case "YY":
|
|
4723
4723
|
return String(y.$y).slice(-2);
|
|
4724
4724
|
case "YYYY":
|
|
4725
|
-
return
|
|
4725
|
+
return $.s(y.$y, 4, "0");
|
|
4726
4726
|
case "M":
|
|
4727
4727
|
return F + 1;
|
|
4728
4728
|
case "MM":
|
|
4729
|
-
return
|
|
4729
|
+
return $.s(F + 1, 2, "0");
|
|
4730
4730
|
case "MMM":
|
|
4731
4731
|
return re(g.monthsShort, F, Z, 3);
|
|
4732
4732
|
case "MMMM":
|
|
@@ -4734,7 +4734,7 @@ var ci = { exports: {} };
|
|
|
4734
4734
|
case "D":
|
|
4735
4735
|
return y.$D;
|
|
4736
4736
|
case "DD":
|
|
4737
|
-
return
|
|
4737
|
+
return $.s(y.$D, 2, "0");
|
|
4738
4738
|
case "d":
|
|
4739
4739
|
return String(y.$W);
|
|
4740
4740
|
case "dd":
|
|
@@ -4746,7 +4746,7 @@ var ci = { exports: {} };
|
|
|
4746
4746
|
case "H":
|
|
4747
4747
|
return String(D);
|
|
4748
4748
|
case "HH":
|
|
4749
|
-
return
|
|
4749
|
+
return $.s(D, 2, "0");
|
|
4750
4750
|
case "h":
|
|
4751
4751
|
return me(1);
|
|
4752
4752
|
case "hh":
|
|
@@ -4758,13 +4758,13 @@ var ci = { exports: {} };
|
|
|
4758
4758
|
case "m":
|
|
4759
4759
|
return String(k);
|
|
4760
4760
|
case "mm":
|
|
4761
|
-
return
|
|
4761
|
+
return $.s(k, 2, "0");
|
|
4762
4762
|
case "s":
|
|
4763
4763
|
return String(y.$s);
|
|
4764
4764
|
case "ss":
|
|
4765
|
-
return
|
|
4765
|
+
return $.s(y.$s, 2, "0");
|
|
4766
4766
|
case "SSS":
|
|
4767
|
-
return
|
|
4767
|
+
return $.s(y.$ms, 3, "0");
|
|
4768
4768
|
case "Z":
|
|
4769
4769
|
return S;
|
|
4770
4770
|
}
|
|
@@ -4774,8 +4774,8 @@ var ci = { exports: {} };
|
|
|
4774
4774
|
}, d.utcOffset = function() {
|
|
4775
4775
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4776
4776
|
}, d.diff = function(m, y, g) {
|
|
4777
|
-
var w, S = this, D =
|
|
4778
|
-
return
|
|
4777
|
+
var w, S = this, D = $.p(y), k = V(m), F = (k.utcOffset() - this.utcOffset()) * i, z = this - k, Z = function() {
|
|
4778
|
+
return $.m(S, k);
|
|
4779
4779
|
};
|
|
4780
4780
|
switch (D) {
|
|
4781
4781
|
case b:
|
|
@@ -4805,7 +4805,7 @@ var ci = { exports: {} };
|
|
|
4805
4805
|
default:
|
|
4806
4806
|
w = z;
|
|
4807
4807
|
}
|
|
4808
|
-
return g ? w :
|
|
4808
|
+
return g ? w : $.a(w);
|
|
4809
4809
|
}, d.daysInMonth = function() {
|
|
4810
4810
|
return this.endOf(p).$D;
|
|
4811
4811
|
}, d.$locale = function() {
|
|
@@ -4816,7 +4816,7 @@ var ci = { exports: {} };
|
|
|
4816
4816
|
var g = this.clone(), w = J(m, y, !0);
|
|
4817
4817
|
return w && (g.$L = w), g;
|
|
4818
4818
|
}, d.clone = function() {
|
|
4819
|
-
return
|
|
4819
|
+
return $.w(this.$d, this);
|
|
4820
4820
|
}, d.toDate = function() {
|
|
4821
4821
|
return new Date(this.valueOf());
|
|
4822
4822
|
}, d.toJSON = function() {
|
|
@@ -5177,7 +5177,7 @@ const ps = "verification_explanation_video_widgets.MP4";
|
|
|
5177
5177
|
function ms(e, t, r) {
|
|
5178
5178
|
let i, n;
|
|
5179
5179
|
Xt(e, ko, (c) => r(8, i = c)), Xt(e, Uo, (c) => r(29, n = c)), yr.extend(ls);
|
|
5180
|
-
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { userroles: b = "" } = t, { mbsource: T = "" } = t, h, I = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set(), H, E, O, C = !1, P = !0, W = !1, oe = "", J = !1, V,
|
|
5180
|
+
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { userroles: b = "" } = t, { mbsource: T = "" } = t, h, I = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set(), H, E, O, C = !1, P = !0, W = !1, oe = "", J = !1, V, $ = [], _e = window.navigator.userAgent;
|
|
5181
5181
|
var le;
|
|
5182
5182
|
(function(c) {
|
|
5183
5183
|
c.Manual = "Manual", c.ShuftiPro = "ShuftiPro";
|
|
@@ -5208,8 +5208,8 @@ function ms(e, t, r) {
|
|
|
5208
5208
|
let c = a;
|
|
5209
5209
|
if (c)
|
|
5210
5210
|
return fetch(c).then((_) => _.json()).then((_) => {
|
|
5211
|
-
Object.keys(_).forEach((
|
|
5212
|
-
cr(
|
|
5211
|
+
Object.keys(_).forEach((L) => {
|
|
5212
|
+
cr(L, _[L]);
|
|
5213
5213
|
});
|
|
5214
5214
|
}).catch((_) => {
|
|
5215
5215
|
console.log(_);
|
|
@@ -5223,19 +5223,19 @@ function ms(e, t, r) {
|
|
|
5223
5223
|
}, D = () => {
|
|
5224
5224
|
r(19, E = z());
|
|
5225
5225
|
const c = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), _ = new Headers();
|
|
5226
|
-
_.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("x-sessionid", `${v}`), _.append("X-Client-Request-Timestamp", yr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),
|
|
5227
|
-
const
|
|
5226
|
+
_.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("x-sessionid", `${v}`), _.append("X-Client-Request-Timestamp", yr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), $.length > 0 && $.indexOf("MM_CHANNEL_BETA") != -1 && _.append("MM_CHANNEL", "BETA");
|
|
5227
|
+
const L = {
|
|
5228
5228
|
method: "POST",
|
|
5229
5229
|
headers: _,
|
|
5230
5230
|
body: JSON.stringify({})
|
|
5231
5231
|
};
|
|
5232
|
-
r(7, J = !0), fetch(c,
|
|
5232
|
+
r(7, J = !0), fetch(c, L).then((G) => G.json()).then((G) => {
|
|
5233
5233
|
const fe = k(G == null ? void 0 : G.Verifications);
|
|
5234
5234
|
H = Z(fe), H.VerificationStatuses.forEach((ze) => {
|
|
5235
5235
|
ze.VerificationUrlType !== "Widget" && I.add(ze.Vendor);
|
|
5236
5236
|
}), r(3, O = ie());
|
|
5237
5237
|
}).finally(() => r(7, J = !1));
|
|
5238
|
-
}, k = (c) => c ? c.sort((_,
|
|
5238
|
+
}, k = (c) => c ? c.sort((_, L) => new Date(L.Created).getTime() - new Date(_.Created).getTime()) : [], F = () => {
|
|
5239
5239
|
n && D();
|
|
5240
5240
|
}, z = () => {
|
|
5241
5241
|
let c = (f || n).split(".")[1];
|
|
@@ -5245,7 +5245,7 @@ function ms(e, t, r) {
|
|
|
5245
5245
|
}
|
|
5246
5246
|
return "";
|
|
5247
5247
|
}, Z = (c) => {
|
|
5248
|
-
var
|
|
5248
|
+
var L;
|
|
5249
5249
|
if (!c || !c.length)
|
|
5250
5250
|
return {
|
|
5251
5251
|
VerificationSummaryStatus: d.Unverified,
|
|
@@ -5256,7 +5256,7 @@ function ms(e, t, r) {
|
|
|
5256
5256
|
const G = ce(_);
|
|
5257
5257
|
return {
|
|
5258
5258
|
VerificationSummaryStatus: G.Status,
|
|
5259
|
-
VerificationUrl: (
|
|
5259
|
+
VerificationUrl: (L = G.Flags) == null ? void 0 : L.DeferredUrlKey,
|
|
5260
5260
|
VerificationStatuses: re(_, G.Status)
|
|
5261
5261
|
};
|
|
5262
5262
|
} else
|
|
@@ -5265,20 +5265,20 @@ function ms(e, t, r) {
|
|
|
5265
5265
|
VerificationStatuses: re(c, [d.Failed])
|
|
5266
5266
|
};
|
|
5267
5267
|
}, ce = (c) => c.reduce(
|
|
5268
|
-
(_,
|
|
5268
|
+
(_, L) => _ ? new Date(_) < new Date(L) ? L : _ : L,
|
|
5269
5269
|
0
|
|
5270
|
-
), re = (c, _) => c.filter((
|
|
5270
|
+
), re = (c, _) => c.filter((L) => _.includes(L.Status)).map((L) => {
|
|
5271
5271
|
var G, fe;
|
|
5272
5272
|
return {
|
|
5273
|
-
Type:
|
|
5274
|
-
Vendor:
|
|
5275
|
-
VerificationDocuments:
|
|
5276
|
-
VerificationUrlType: (G =
|
|
5277
|
-
VerificationUrl: (fe =
|
|
5273
|
+
Type: L.Type,
|
|
5274
|
+
Vendor: L.VendorName,
|
|
5275
|
+
VerificationDocuments: L.Documents ? [...L.Documents] : [],
|
|
5276
|
+
VerificationUrlType: (G = L.FlowInfo) == null ? void 0 : G.Type,
|
|
5277
|
+
VerificationUrl: (fe = L.FlowInfo) == null ? void 0 : fe.Url
|
|
5278
5278
|
};
|
|
5279
5279
|
}), me = (c) => c.filter((_) => g.includes(_.Status) ? _.FlowInfo && _.FlowInfo.Url || se(_) || X(_) : !1), se = (c) => {
|
|
5280
|
-
const _ = c.Documents && c.VendorName === le.Manual,
|
|
5281
|
-
return _ &&
|
|
5280
|
+
const _ = c.Documents && c.VendorName === le.Manual, L = c.Documents && c.Documents.some((G) => G.Status === x.Requested);
|
|
5281
|
+
return _ && L;
|
|
5282
5282
|
}, X = (c) => c.VendorName === le.ShuftiPro && c.Status === d.Referred, ie = () => {
|
|
5283
5283
|
switch (H.VerificationSummaryStatus) {
|
|
5284
5284
|
case d.InProgress:
|
|
@@ -5292,26 +5292,26 @@ function ms(e, t, r) {
|
|
|
5292
5292
|
return [i("verification.message.failed")];
|
|
5293
5293
|
}
|
|
5294
5294
|
}, ve = (c) => {
|
|
5295
|
-
const _ = H.VerificationStatuses.filter((
|
|
5295
|
+
const _ = H.VerificationStatuses.filter((L) => L.Vendor === c);
|
|
5296
5296
|
if (c === le.ShuftiPro)
|
|
5297
5297
|
return xe(_);
|
|
5298
5298
|
{
|
|
5299
|
-
const
|
|
5300
|
-
link: `<a href="${_[0].VerificationUrl}" target="_blank">${
|
|
5299
|
+
const L = i("verification.idenfy.link-name"), G = {
|
|
5300
|
+
link: `<a href="${_[0].VerificationUrl}" target="_blank">${L}</a>`
|
|
5301
5301
|
};
|
|
5302
5302
|
return i("verification.idenfy.in-progress", { values: G });
|
|
5303
5303
|
}
|
|
5304
5304
|
}, xe = (c) => {
|
|
5305
|
-
const _ = [],
|
|
5305
|
+
const _ = [], L = {}, G = [
|
|
5306
5306
|
m.Biometric,
|
|
5307
5307
|
m.Documents,
|
|
5308
5308
|
m.ProofOfAddress
|
|
5309
5309
|
];
|
|
5310
5310
|
c.forEach((ge) => {
|
|
5311
|
-
G.includes(ge.Type) && (_.push(ge.Type),
|
|
5311
|
+
G.includes(ge.Type) && (_.push(ge.Type), L[ge.Type] = di(ge, pi(ge.Type)));
|
|
5312
5312
|
});
|
|
5313
5313
|
let fe = _.every((ge) => R.has(ge)), ze = `verification.shuftipro.in-progress.${_.sort().join(".")}`;
|
|
5314
|
-
return fe ? i("verification.shuftipro.validations-started") : i(ze, { values:
|
|
5314
|
+
return fe ? i("verification.shuftipro.validations-started") : i(ze, { values: L });
|
|
5315
5315
|
}, di = (c, _) => `<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${_}</a>`, pi = (c) => i(`verification.shuftipro.link-name.${c}`), mi = () => {
|
|
5316
5316
|
r(4, C = !C);
|
|
5317
5317
|
}, vi = () => {
|
|
@@ -5326,7 +5326,7 @@ function ms(e, t, r) {
|
|
|
5326
5326
|
r(6, W = !1);
|
|
5327
5327
|
}
|
|
5328
5328
|
}, bi = () => {
|
|
5329
|
-
b.length > 0 && (
|
|
5329
|
+
b.length > 0 && ($ = b.split(","));
|
|
5330
5330
|
}, yi = () => {
|
|
5331
5331
|
window.dispatchEvent(new CustomEvent(
|
|
5332
5332
|
"modal-update",
|
|
@@ -17,4 +17,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
17
17
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
18
|
***************************************************************************** */var Mt=function(e,t){return Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Mt(e,t)};function We(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Mt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Ct(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $t(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(s)throw s.error}}return o}function Lt(e,t,r){if(arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||t)}function le(e){return typeof e=="function"}function di(e){var t=function(i){Error.call(i),i.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var xt=di(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
19
19
|
`+r.map(function(i,n){return n+1+") "+i.toString()}).join(`
|
|
20
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function It(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ht=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Ct(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(h){t={error:h}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(le(f))try{f()}catch(h){o=h instanceof xt?h.errors:[h]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=Ct(p),b=v.next();!b.done;b=v.next()){var T=b.value;try{dr(T)}catch(h){o=o!=null?o:[],h instanceof xt?o=Lt(Lt([],$t(o)),$t(h.errors)):o.push(h)}}}catch(h){i={error:h}}finally{try{b&&!b.done&&(n=v.return)&&n.call(v)}finally{if(i)throw i.error}}}if(o)throw new xt(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&It(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&It(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),pi=ht.EMPTY;function mi(e){return e instanceof ht||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function dr(e){le(e)?e():e.unsubscribe()}var ts={Promise:void 0},rs={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Lt([e,t],$t(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function is(e){rs.setTimeout(function(){throw e})}function pr(){}function rt(e){e()}var vi=function(e){We(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,mi(r)&&r.add(i)):i.destination=ss,i}return t.create=function(r,i,n){return new Dt(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ht),ns=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(i){Je(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Je(i)}else Je(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Je(r)}},e}(),Dt=function(e){We(t,e);function t(r,i,n){var o=e.call(this)||this,s;return le(r)||!r?s={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0}:s=r,o.destination=new ns(s),o}return t}(vi);function Je(e){is(e)}function os(e){throw e}var ss={closed:!0,next:pr,error:os,complete:pr},as=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function us(e){return e}function ls(e){return e.length===0?us:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var mr=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,i){var n=this,o=fs(t)?t:new Dt(t,r,i);return rt(function(){var s=n,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=vr(r),new r(function(n,o){var s=new Dt({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:n});i.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[as]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ls(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=vr(t),new t(function(i,n){var o;r.subscribe(function(s){return o=s},function(s){return n(s)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function vr(e){var t;return(t=e!=null?e:ts.Promise)!==null&&t!==void 0?t:Promise}function cs(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function fs(e){return e&&e instanceof vi||cs(e)&&mi(e)}var hs=di(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),gi=function(e){We(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var i=new gr(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new hs},t.prototype.next=function(r){var i=this;rt(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var s=Ct(i.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;rt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;rt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var i=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?pi:(this.currentObservers=null,a.push(r),new ht(function(){i.currentObservers=null,It(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,s=i.isStopped;n?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new mr;return r.source=this,r},t.create=function(r,i){return new gr(r,i)},t}(mr),gr=function(e){We(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:pi},t}(gi),bi={now:function(){return(bi.delegate||Date).now()},delegate:void 0},ds=function(e){We(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=bi);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,s=i._infiniteTimeWindow,a=i._timestampProvider,u=i._windowTime;n||(o.push(r),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=o?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=n.now(),l=0,f=1;f<o.length&&o[f]<=u;f+=2)l=f;l&&o.splice(0,l+1)}},t}(gi);const br=[],yr={},ps=(e,t=0)=>{if(br.indexOf(e)==-1){const r=new ds(t);yr[e]=r,br.push(e)}return yr[e]};window.emWidgets={topic:ps};const ms=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierModal-CcYe0NGS.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}var yi={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r=1e3,i=6e4,n=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",f="week",p="month",v="quarter",b="year",T="date",h="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var d=["th","st","nd","rd"],m=x%100;return"["+x+(d[(m-20)%10]||d[m]||d[0])+"]"}},E=function(x,d,m){var y=String(x);return!y||y.length>=d?x:""+Array(d+1-y.length).join(m)+x},O={s:E,z:function(x){var d=-x.utcOffset(),m=Math.abs(d),y=Math.floor(m/60),g=m%60;return(d<=0?"+":"-")+E(y,2,"0")+":"+E(g,2,"0")},m:function x(d,m){if(d.date()<m.date())return-x(m,d);var y=12*(m.year()-d.year())+(m.month()-d.month()),g=d.clone().add(y,p),w=m-g<0,S=d.clone().add(y+(w?-1:1),p);return+(-(y+(m-g)/(w?g-S:S-g))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:p,y:b,w:f,d:l,D:T,h:u,m:a,s,ms:o,Q:v}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},C="en",P={};P[C]=H;var X="$isDayjsObject",se=function(x){return x instanceof xe||!(!x||!x[X])},Q=function x(d,m,y){var g;if(!d)return C;if(typeof d=="string"){var w=d.toLowerCase();P[w]&&(g=w),m&&(P[w]=m,g=w);var S=d.split("-");if(!g&&S.length>1)return x(S[0])}else{var D=d.name;P[D]=d,g=D}return!y&&g&&(C=g),g||!y&&C},V=function(x,d){if(se(x))return x.clone();var m=typeof d=="object"?d:{};return m.date=x,m.args=arguments,new xe(m)},L=O;L.l=Q,L.i=se,L.w=function(x,d){return V(x,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var xe=function(){function x(m){this.$L=Q(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[X]=!0}var d=x.prototype;return d.parse=function(m){this.$d=function(y){var g=y.date,w=y.utc;if(g===null)return new Date(NaN);if(L.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(I);if(S){var D=S[2]-1||0,k=(S[7]||"0").substring(0,3);return w?new Date(Date.UTC(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)):new Date(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)}}return new Date(g)}(m),this.init()},d.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},d.$utils=function(){return L},d.isValid=function(){return this.$d.toString()!==h},d.isSame=function(m,y){var g=V(m);return this.startOf(y)<=g&&g<=this.endOf(y)},d.isAfter=function(m,y){return V(m)<this.startOf(y)},d.isBefore=function(m,y){return this.endOf(y)<V(m)},d.$g=function(m,y,g){return L.u(m)?this[y]:this.set(g,m)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(m,y){var g=this,w=!!L.u(y)||y,S=L.p(m),D=function(ae,q){var ie=L.w(g.$u?Date.UTC(g.$y,q,ae):new Date(g.$y,q,ae),g);return w?ie:ie.endOf(l)},k=function(ae,q){return L.w(g.toDate()[ae].apply(g.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(q)),g)},F=this.$W,z=this.$M,Z=this.$D,fe="set"+(this.$u?"UTC":"");switch(S){case b:return w?D(1,0):D(31,11);case p:return w?D(1,z):D(0,z+1);case f:var re=this.$locale().weekStart||0,me=(F<re?F+7:F)-re;return D(w?Z-me:Z+(6-me),z);case l:case T:return k(fe+"Hours",0);case u:return k(fe+"Minutes",1);case a:return k(fe+"Seconds",2);case s:return k(fe+"Milliseconds",3);default:return this.clone()}},d.endOf=function(m){return this.startOf(m,!1)},d.$set=function(m,y){var g,w=L.p(m),S="set"+(this.$u?"UTC":""),D=(g={},g[l]=S+"Date",g[T]=S+"Date",g[p]=S+"Month",g[b]=S+"FullYear",g[u]=S+"Hours",g[a]=S+"Minutes",g[s]=S+"Seconds",g[o]=S+"Milliseconds",g)[w],k=w===l?this.$D+(y-this.$W):y;if(w===p||w===b){var F=this.clone().set(T,1);F.$d[D](k),F.init(),this.$d=F.set(T,Math.min(this.$D,F.daysInMonth())).$d}else D&&this.$d[D](k);return this.init(),this},d.set=function(m,y){return this.clone().$set(m,y)},d.get=function(m){return this[L.p(m)]()},d.add=function(m,y){var g,w=this;m=Number(m);var S=L.p(y),D=function(z){var Z=V(w);return L.w(Z.date(Z.date()+Math.round(z*m)),w)};if(S===p)return this.set(p,this.$M+m);if(S===b)return this.set(b,this.$y+m);if(S===l)return D(1);if(S===f)return D(7);var k=(g={},g[a]=i,g[u]=n,g[s]=r,g)[S]||1,F=this.$d.getTime()+m*k;return L.w(F,this)},d.subtract=function(m,y){return this.add(-1*m,y)},d.format=function(m){var y=this,g=this.$locale();if(!this.isValid())return g.invalidDate||h;var w=m||"YYYY-MM-DDTHH:mm:ssZ",S=L.z(this),D=this.$H,k=this.$m,F=this.$M,z=g.weekdays,Z=g.months,fe=g.meridiem,re=function(q,ie,ve,Ee){return q&&(q[ie]||q(y,w))||ve[ie].slice(0,Ee)},me=function(q){return L.s(D%12||12,q,"0")},ae=fe||function(q,ie,ve){var Ee=q<12?"AM":"PM";return ve?Ee.toLowerCase():Ee};return w.replace(R,function(q,ie){return ie||function(ve){switch(ve){case"YY":return String(y.$y).slice(-2);case"YYYY":return L.s(y.$y,4,"0");case"M":return F+1;case"MM":return L.s(F+1,2,"0");case"MMM":return re(g.monthsShort,F,Z,3);case"MMMM":return re(Z,F);case"D":return y.$D;case"DD":return L.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return re(g.weekdaysMin,y.$W,z,2);case"ddd":return re(g.weekdaysShort,y.$W,z,3);case"dddd":return z[y.$W];case"H":return String(D);case"HH":return L.s(D,2,"0");case"h":return me(1);case"hh":return me(2);case"a":return ae(D,k,!0);case"A":return ae(D,k,!1);case"m":return String(k);case"mm":return L.s(k,2,"0");case"s":return String(y.$s);case"ss":return L.s(y.$s,2,"0");case"SSS":return L.s(y.$ms,3,"0");case"Z":return S}return null}(q)||S.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(m,y,g){var w,S=this,D=L.p(y),k=V(m),F=(k.utcOffset()-this.utcOffset())*i,z=this-k,Z=function(){return L.m(S,k)};switch(D){case b:w=Z()/12;break;case p:w=Z();break;case v:w=Z()/3;break;case f:w=(z-F)/6048e5;break;case l:w=(z-F)/864e5;break;case u:w=z/n;break;case a:w=z/i;break;case s:w=z/r;break;default:w=z}return g?w:L.a(w)},d.daysInMonth=function(){return this.endOf(p).$D},d.$locale=function(){return P[this.$L]},d.locale=function(m,y){if(!m)return this.$L;var g=this.clone(),w=Q(m,y,!0);return w&&(g.$L=w),g},d.clone=function(){return L.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},x}(),ce=xe.prototype;return V.prototype=ce,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",p],["$y",b],["$D",T]].forEach(function(x){ce[x[1]]=function(d){return this.$g(d,x[0],x[1])}}),V.extend=function(x,d){return x.$i||(x(d,xe,V),x.$i=!0),V},V.locale=Q,V.isDayjs=se,V.unix=function(x){return V(1e3*x)},V.en=P[C],V.Ls=P,V.p={},V})})(yi);var vs=yi.exports;const _r=Ut(vs);var _i={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,s,a){var u=s.prototype;a.utc=function(h){var I={date:h,utc:!0,args:arguments};return new s(I)},u.utc=function(h){var I=a(this.toDate(),{locale:this.$L,utc:!0});return h?I.add(this.utcOffset(),r):I},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),l.call(this,h)};var f=u.init;u.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else f.call(this)};var p=u.utcOffset;u.utcOffset=function(h,I){var R=this.$utils().u;if(R(h))return this.$u?0:R(this.$offset)?p.call(this):this.$offset;if(typeof h=="string"&&(h=function(C){C===void 0&&(C="");var P=C.match(i);if(!P)return null;var X=(""+P[0]).match(n)||["-",0,0],se=X[0],Q=60*+X[1]+ +X[2];return Q===0?0:se==="+"?Q:-Q}(h),h===null))return this;var H=Math.abs(h)<=16?60*h:h,E=this;if(I)return E.$offset=H,E.$u=h===0,E;if(h!==0){var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(E=this.local().add(H+O,r)).$offset=H,E.$x.$localOffset=O}else E=this.utc();return E};var v=u.format;u.format=function(h){var I=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,I)},u.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var b=u.toDate;u.toDate=function(h){return h==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var T=u.diff;u.diff=function(h,I,R){if(h&&this.$u===h.$u)return T.call(this,h,I,R);var H=this.local(),E=a(h).local();return T.call(H,E,I,R)}}})})(_i);var gs=_i.exports;const bs=Ut(gs);function ys(e){Hr(e,"svelte-etf668",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function xr(e,t,r){const i=e.slice();return i[56]=t[r],i}function _s(e){let t,r=e[3].length>0&&Er(e);return{c(){t=W("div"),r&&r.c(),M(t,"class","CashierVerificationsWrapper")},m(i,n){oe(i,t,n),r&&r.m(t,null)},p(i,n){i[3].length>0?r?r.p(i,n):(r=Er(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&te(t),r&&r.d()}}}function xs(e){let t;return{c(){t=W("cashier-spinner"),qe(t,"clientstylingurl",e[1]),qe(t,"clientstyling",e[0])},m(r,i){oe(r,t,i)},p(r,i){i[0]&2&&qe(t,"clientstylingurl",r[1]),i[0]&1&&qe(t,"clientstyling",r[0])},d(r){r&&te(t)}}}function Er(e){let t,r,i,n,o,s,a,u=e[8]("verificationsRequired")+"",l,f,p,v,b,T,h,I,R=Zt(e[3]),H=[];for(let O=0;O<R.length;O+=1)H[O]=wr(xr(e,R,O));let E=e[6]&&Sr(e);return{c(){t=W("div"),r=De("svg"),i=De("path"),n=De("path"),o=De("path"),s=be(),a=W("p"),l=Rt(u),f=be(),p=W("span"),p.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',v=be(),b=W("div");for(let O=0;O<H.length;O+=1)H[O].c();T=be(),E&&E.c(),M(i,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),M(i,"stroke","#6E738F"),M(i,"stroke-width","2"),M(i,"stroke-linecap","round"),M(i,"stroke-linejoin","round"),M(n,"d","M12 8V12"),M(n,"stroke","#6E738F"),M(n,"stroke-width","2"),M(n,"stroke-linecap","round"),M(n,"stroke-linejoin","round"),M(o,"d","M12 16H12.01"),M(o,"stroke","#6E738F"),M(o,"stroke-width","2"),M(o,"stroke-linecap","round"),M(o,"stroke-linejoin","round"),M(r,"width","24"),M(r,"height","24"),M(r,"viewBox","0 0 24 24"),M(r,"fill","none"),M(r,"xmlns","http://www.w3.org/2000/svg"),M(p,"class","CashierVerificationChevron"),ue(p,"ShowVerifications",e[4]),M(t,"class","VerificationsHeader"),M(b,"class","VerificationsList"),ue(b,"ShowVerifications",e[4])},m(O,C){oe(O,t,C),G(t,r),G(r,i),G(r,n),G(r,o),G(t,s),G(t,a),G(a,l),G(t,f),G(t,p),oe(O,v,C),oe(O,b,C);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(b,null);G(b,T),E&&E.m(b,null),h||(I=Re(t,"click",e[9]),h=!0)},p(O,C){if(C[0]&256&&u!==(u=O[8]("verificationsRequired")+"")&&Ar(l,u),C[0]&16&&ue(p,"ShowVerifications",O[4]),C[0]&8){R=Zt(O[3]);let P;for(P=0;P<R.length;P+=1){const X=xr(O,R,P);H[P]?H[P].p(X,C):(H[P]=wr(X),H[P].c(),H[P].m(b,T))}for(;P<H.length;P+=1)H[P].d(1);H.length=R.length}O[6]?E?E.p(O,C):(E=Sr(O),E.c(),E.m(b,null)):E&&(E.d(1),E=null),C[0]&16&&ue(b,"ShowVerifications",O[4])},d(O){O&&(te(t),te(v),te(b)),Gi(H,O),E&&E.d(),h=!1,I()}}}function wr(e){let t,r,i,n,o=e[56]+"";return{c(){t=W("div"),r=W("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',i=be(),n=W("p"),M(r,"class","IconVerification"),M(n,"class","text"),M(t,"class","CashierVerificationMessage Test")},m(s,a){oe(s,t,a),G(t,r),G(t,i),G(t,n),n.innerHTML=o},p(s,a){a[0]&8&&o!==(o=s[56]+"")&&(n.innerHTML=o)},d(s){s&&te(t)}}}function Sr(e){let t,r,i,n,o=e[8]("verification.video.how-to")+"",s,a,u;return{c(){t=W("div"),r=W("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',i=be(),n=W("div"),s=Rt(o),M(r,"class","IconVideo"),M(n,"class","CashierVerificationVideoLink"),ue(n,"CashierVerificationVideoLinkDesktop",e[5]),M(t,"class","CashierVerificationVideo Test")},m(l,f){oe(l,t,f),G(t,r),G(t,i),G(t,n),G(n,s),a||(u=Re(t,"click",e[10]),a=!0)},p(l,f){f[0]&256&&o!==(o=l[8]("verification.video.how-to")+"")&&Ar(s,o),f[0]&32&&ue(n,"CashierVerificationVideoLinkDesktop",l[5])},d(l){l&&te(t),a=!1,u()}}}function Es(e){let t;function r(o,s){if(o[7])return xs;if(o[3])return _s}let i=r(e),n=i&&i(e);return{c(){t=W("div"),n&&n.c(),M(t,"class","CashierVerifications"),ue(t,"CashierVerificationsDesktop",e[5])},m(o,s){oe(o,t,s),n&&n.m(t,null),e[20](t)},p(o,s){i===(i=r(o))&&n?n.p(o,s):(n&&n.d(1),n=i&&i(o),n&&(n.c(),n.m(t,null))),s[0]&32&&ue(t,"CashierVerificationsDesktop",o[5])},i:ee,o:ee,d(o){o&&te(t),n&&n.d(),e[20](null)}}}const ws="verification_explanation_video_widgets.MP4";function Ss(e,t,r){let i,n;qt(e,Zo,c=>r(8,i=c)),qt(e,Qo,c=>r(29,n=c)),_r.extend(bs);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:a=""}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{session:f=""}=t,{customerid:p=""}=t,{playersession:v=""}=t,{userroles:b=""}=t,{mbsource:T=""}=t,h,I=new Set,R=new Set,H,E,O,C=!1,P=!0,X=!1,se="",Q=!1,V,L,xe=window.navigator.userAgent;var ce;(function(c){c.Manual="Manual",c.ShuftiPro="ShuftiPro"})(ce||(ce={}));var x;(function(c){c.Requested="Requested"})(x||(x={}));var d;(function(c){c.Unknown="Unknown",c.Unverified="Unverified",c.InProgress="InProgress",c.Failed="Failed",c.Verified="Verified",c.Referred="Referred",c.True="True",c.False="False",c.AwaitingForResponse="AwaitingForResponse"})(d||(d={}));var m;(function(c){c.Unknown="Unknown",c.Documents="Documents",c.Age="Age",c.Pep="Pep",c.Sanction="Sanction",c.Aml="Aml",c.ProofOfAddress="ProofOfAddress",c.SourceOfWealth="SourceOfWealth",c.SocialMedia="SocialMedia",c.Biometric="Biometric"})(m||(m={}));const y=c=>{c.data&&c.data.type};Br(()=>(window.addEventListener("message",y),Ti(),()=>{window.removeEventListener("message",y)}));const g=[d.InProgress,d.Referred,d.AwaitingForResponse],w=()=>{let c=a;if(c)return fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach($=>{fr($,_[$])})}).catch(_=>{console.log(_)})};Object.keys(hr).forEach(c=>{fr(c,hr[c])});const S=()=>{Jo(s)},D=()=>{r(19,E=z());const c=new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`),_=new Headers;_.append("accept","application/json"),_.append("Content-Type","application/json"),_.append("x-sessionid",`${v}`),_.append("X-Client-Request-Timestamp",_r.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),L.indexOf("MM_CHANNEL_BETA")!=-1&&_.append("MM_CHANNEL","BETA");const $={method:"POST",headers:_,body:JSON.stringify({})};r(7,Q=!0),fetch(c,$).then(j=>j.json()).then(j=>{const he=k(j==null?void 0:j.Verifications);H=Z(he),H.VerificationStatuses.forEach(Xe=>{Xe.VerificationUrlType!=="Widget"&&I.add(Xe.Vendor)}),r(3,O=ie())}).finally(()=>r(7,Q=!1))},k=c=>c?c.sort((_,$)=>new Date($.Created).getTime()-new Date(_.Created).getTime()):[],F=()=>{n&&D()},z=()=>{let c=(f||n).split(".")[1];if(c){let _=JSON.parse(atob(c));return _.cdn+"/cashier/operator-assets/"+(_==null?void 0:_.mid)}return""},Z=c=>{var $;if(!c||!c.length)return{VerificationSummaryStatus:d.Unverified,VerificationStatuses:[]};const _=me(c);if(_&&_.length){const j=fe(_);return{VerificationSummaryStatus:j.Status,VerificationUrl:($=j.Flags)==null?void 0:$.DeferredUrlKey,VerificationStatuses:re(_,j.Status)}}else return{VerificationSummaryStatus:c.some(he=>he.Status===d.Failed)?d.Failed:d.Verified,VerificationStatuses:re(c,[d.Failed])}},fe=c=>c.reduce((_,$)=>_?new Date(_)<new Date($)?$:_:$,0),re=(c,_)=>c.filter($=>_.includes($.Status)).map($=>{var j,he;return{Type:$.Type,Vendor:$.VendorName,VerificationDocuments:$.Documents?[...$.Documents]:[],VerificationUrlType:(j=$.FlowInfo)==null?void 0:j.Type,VerificationUrl:(he=$.FlowInfo)==null?void 0:he.Url}}),me=c=>c.filter(_=>g.includes(_.Status)?_.FlowInfo&&_.FlowInfo.Url||ae(_)||q(_):!1),ae=c=>{const _=c.Documents&&c.VendorName===ce.Manual,$=c.Documents&&c.Documents.some(j=>j.Status===x.Requested);return _&&$},q=c=>c.VendorName===ce.ShuftiPro&&c.Status===d.Referred,ie=()=>{switch(H.VerificationSummaryStatus){case d.InProgress:const c=[];return I.forEach(_=>{c.push(ve(_))}),c;case d.Referred:return[i("verification.idenfy.referred-awaiting")];case d.Failed:return[i("verification.message.failed")]}},ve=c=>{const _=H.VerificationStatuses.filter($=>$.Vendor===c);if(c===ce.ShuftiPro)return Ee(_);{const $=i("verification.idenfy.link-name"),j={link:`<a href="${_[0].VerificationUrl}" target="_blank">${$}</a>`};return i("verification.idenfy.in-progress",{values:j})}},Ee=c=>{const _=[],$={},j=[m.Biometric,m.Documents,m.ProofOfAddress];c.forEach(ge=>{j.includes(ge.Type)&&(_.push(ge.Type),$[ge.Type]=Ei(ge,wi(ge.Type)))});let he=_.every(ge=>R.has(ge)),Xe=`verification.shuftipro.in-progress.${_.sort().join(".")}`;return he?i("verification.shuftipro.validations-started"):i(Xe,{values:$})},Ei=(c,_)=>`<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${_}</a>`,wi=c=>i(`verification.shuftipro.link-name.${c}`),Si=()=>{r(4,C=!C)},Ti=()=>{r(5,P=!ms(xe))},Oi=()=>{se=E+"/"+s+"/"+ws;try{fetch(se,{method:"HEAD"}).then(c=>{r(6,X=c.ok)})}catch(c){r(6,X=!1)}},Pi=()=>{b.length>0&&(L=b.split(","))},Hi=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:se}}}))};function Ai(c){it[c?"unshift":"push"](()=>{h=c,r(2,h)})}return e.$$set=c=>{"endpoint"in c&&r(11,o=c.endpoint),"lang"in c&&r(12,s=c.lang),"translationurl"in c&&r(13,a=c.translationurl),"clientstyling"in c&&r(0,u=c.clientstyling),"clientstylingurl"in c&&r(1,l=c.clientstylingurl),"session"in c&&r(14,f=c.session),"customerid"in c&&r(15,p=c.customerid),"playersession"in c&&r(16,v=c.playersession),"userroles"in c&&r(17,b=c.userroles),"mbsource"in c&&r(18,T=c.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&4096&&s&&S(),e.$$.dirty[0]&83968&&o&&f&&v&&D(),e.$$.dirty[0]&83968&&o&&!f&&v&&F(),e.$$.dirty[0]&8192&&a&&w(),e.$$.dirty[0]&5&&u&&h&&ci(h,u),e.$$.dirty[0]&6&&l&&h&&fi(h,l),e.$$.dirty[0]&524288&&E&&Oi(),e.$$.dirty[0]&131072&&b&&Pi(),e.$$.dirty[0]&262148&&T&&h&&hi(h,`${T}.Style`,V)},[u,l,h,O,C,P,X,Q,i,Si,Hi,o,s,a,f,p,v,b,T,E,Ai]}class xi extends Nr{constructor(t){super(),Lr(this,t,Ss,Es,kt,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},ys,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),J()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),J()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),J()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),J()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),J()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),J()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),J()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),J()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),J()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),J()}}Dr(xi,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);const Ts=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=Ts;exports.SvelteComponent=Nr;exports.add_iframe_resize_listener=Wi;exports.add_render_callback=nt;exports.append=G;exports.append_styles=Hr;exports.attr=M;exports.binding_callbacks=it;exports.check_outros=Ki;exports.create_custom_element=Dr;exports.create_slot=Ni;exports.detach=te;exports.element=W;exports.flush=J;exports.get_all_dirty_from_scope=Ui;exports.get_slot_changes=ki;exports.group_outros=Qi;exports.init=Lr;exports.insert=oe;exports.listen=Re;exports.noop=ee;exports.onMount=Br;exports.safe_not_equal=kt;exports.setClientStyling=ci;exports.setClientStylingURL=fi;exports.setStreamStyling=hi;exports.space=be;exports.svg_element=De;exports.tick=Yi;exports.toggle_class=ue;exports.transition_in=$r;exports.transition_out=en;exports.update_slot_base=Ri;
|
|
20
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function It(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ht=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Ct(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(h){t={error:h}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(le(f))try{f()}catch(h){o=h instanceof xt?h.errors:[h]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=Ct(p),b=v.next();!b.done;b=v.next()){var T=b.value;try{dr(T)}catch(h){o=o!=null?o:[],h instanceof xt?o=Lt(Lt([],$t(o)),$t(h.errors)):o.push(h)}}}catch(h){i={error:h}}finally{try{b&&!b.done&&(n=v.return)&&n.call(v)}finally{if(i)throw i.error}}}if(o)throw new xt(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&It(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&It(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),pi=ht.EMPTY;function mi(e){return e instanceof ht||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function dr(e){le(e)?e():e.unsubscribe()}var ts={Promise:void 0},rs={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Lt([e,t],$t(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function is(e){rs.setTimeout(function(){throw e})}function pr(){}function rt(e){e()}var vi=function(e){We(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,mi(r)&&r.add(i)):i.destination=ss,i}return t.create=function(r,i,n){return new Dt(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ht),ns=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(i){Je(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Je(i)}else Je(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Je(r)}},e}(),Dt=function(e){We(t,e);function t(r,i,n){var o=e.call(this)||this,s;return le(r)||!r?s={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0}:s=r,o.destination=new ns(s),o}return t}(vi);function Je(e){is(e)}function os(e){throw e}var ss={closed:!0,next:pr,error:os,complete:pr},as=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function us(e){return e}function ls(e){return e.length===0?us:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var mr=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,i){var n=this,o=fs(t)?t:new Dt(t,r,i);return rt(function(){var s=n,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var i=this;return r=vr(r),new r(function(n,o){var s=new Dt({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:n});i.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[as]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ls(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=vr(t),new t(function(i,n){var o;r.subscribe(function(s){return o=s},function(s){return n(s)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function vr(e){var t;return(t=e!=null?e:ts.Promise)!==null&&t!==void 0?t:Promise}function cs(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function fs(e){return e&&e instanceof vi||cs(e)&&mi(e)}var hs=di(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),gi=function(e){We(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var i=new gr(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new hs},t.prototype.next=function(r){var i=this;rt(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var s=Ct(i.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;rt(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;rt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var i=this,n=this,o=n.hasError,s=n.isStopped,a=n.observers;return o||s?pi:(this.currentObservers=null,a.push(r),new ht(function(){i.currentObservers=null,It(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,s=i.isStopped;n?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new mr;return r.source=this,r},t.create=function(r,i){return new gr(r,i)},t}(mr),gr=function(e){We(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:pi},t}(gi),bi={now:function(){return(bi.delegate||Date).now()},delegate:void 0},ds=function(e){We(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=bi);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,s=i._infiniteTimeWindow,a=i._timestampProvider,u=i._windowTime;n||(o.push(r),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=o?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=n.now(),l=0,f=1;f<o.length&&o[f]<=u;f+=2)l=f;l&&o.splice(0,l+1)}},t}(gi);const br=[],yr={},ps=(e,t=0)=>{if(br.indexOf(e)==-1){const r=new ds(t);yr[e]=r,br.push(e)}return yr[e]};window.emWidgets={topic:ps};const ms=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CashierModal-C7nQ7erv.cjs")).then(({default:t})=>{!customElements.get("cashier-modal")&&customElements.define("cashier-modal",t.element)})}var yi={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r=1e3,i=6e4,n=36e5,o="millisecond",s="second",a="minute",u="hour",l="day",f="week",p="month",v="quarter",b="year",T="date",h="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var d=["th","st","nd","rd"],m=x%100;return"["+x+(d[(m-20)%10]||d[m]||d[0])+"]"}},E=function(x,d,m){var y=String(x);return!y||y.length>=d?x:""+Array(d+1-y.length).join(m)+x},O={s:E,z:function(x){var d=-x.utcOffset(),m=Math.abs(d),y=Math.floor(m/60),g=m%60;return(d<=0?"+":"-")+E(y,2,"0")+":"+E(g,2,"0")},m:function x(d,m){if(d.date()<m.date())return-x(m,d);var y=12*(m.year()-d.year())+(m.month()-d.month()),g=d.clone().add(y,p),w=m-g<0,S=d.clone().add(y+(w?-1:1),p);return+(-(y+(m-g)/(w?g-S:S-g))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:p,y:b,w:f,d:l,D:T,h:u,m:a,s,ms:o,Q:v}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},C="en",P={};P[C]=H;var X="$isDayjsObject",se=function(x){return x instanceof xe||!(!x||!x[X])},Q=function x(d,m,y){var g;if(!d)return C;if(typeof d=="string"){var w=d.toLowerCase();P[w]&&(g=w),m&&(P[w]=m,g=w);var S=d.split("-");if(!g&&S.length>1)return x(S[0])}else{var D=d.name;P[D]=d,g=D}return!y&&g&&(C=g),g||!y&&C},V=function(x,d){if(se(x))return x.clone();var m=typeof d=="object"?d:{};return m.date=x,m.args=arguments,new xe(m)},$=O;$.l=Q,$.i=se,$.w=function(x,d){return V(x,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var xe=function(){function x(m){this.$L=Q(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[X]=!0}var d=x.prototype;return d.parse=function(m){this.$d=function(y){var g=y.date,w=y.utc;if(g===null)return new Date(NaN);if($.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(I);if(S){var D=S[2]-1||0,k=(S[7]||"0").substring(0,3);return w?new Date(Date.UTC(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)):new Date(S[1],D,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)}}return new Date(g)}(m),this.init()},d.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},d.$utils=function(){return $},d.isValid=function(){return this.$d.toString()!==h},d.isSame=function(m,y){var g=V(m);return this.startOf(y)<=g&&g<=this.endOf(y)},d.isAfter=function(m,y){return V(m)<this.startOf(y)},d.isBefore=function(m,y){return this.endOf(y)<V(m)},d.$g=function(m,y,g){return $.u(m)?this[y]:this.set(g,m)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(m,y){var g=this,w=!!$.u(y)||y,S=$.p(m),D=function(ae,q){var ie=$.w(g.$u?Date.UTC(g.$y,q,ae):new Date(g.$y,q,ae),g);return w?ie:ie.endOf(l)},k=function(ae,q){return $.w(g.toDate()[ae].apply(g.toDate("s"),(w?[0,0,0,0]:[23,59,59,999]).slice(q)),g)},F=this.$W,z=this.$M,Z=this.$D,fe="set"+(this.$u?"UTC":"");switch(S){case b:return w?D(1,0):D(31,11);case p:return w?D(1,z):D(0,z+1);case f:var re=this.$locale().weekStart||0,me=(F<re?F+7:F)-re;return D(w?Z-me:Z+(6-me),z);case l:case T:return k(fe+"Hours",0);case u:return k(fe+"Minutes",1);case a:return k(fe+"Seconds",2);case s:return k(fe+"Milliseconds",3);default:return this.clone()}},d.endOf=function(m){return this.startOf(m,!1)},d.$set=function(m,y){var g,w=$.p(m),S="set"+(this.$u?"UTC":""),D=(g={},g[l]=S+"Date",g[T]=S+"Date",g[p]=S+"Month",g[b]=S+"FullYear",g[u]=S+"Hours",g[a]=S+"Minutes",g[s]=S+"Seconds",g[o]=S+"Milliseconds",g)[w],k=w===l?this.$D+(y-this.$W):y;if(w===p||w===b){var F=this.clone().set(T,1);F.$d[D](k),F.init(),this.$d=F.set(T,Math.min(this.$D,F.daysInMonth())).$d}else D&&this.$d[D](k);return this.init(),this},d.set=function(m,y){return this.clone().$set(m,y)},d.get=function(m){return this[$.p(m)]()},d.add=function(m,y){var g,w=this;m=Number(m);var S=$.p(y),D=function(z){var Z=V(w);return $.w(Z.date(Z.date()+Math.round(z*m)),w)};if(S===p)return this.set(p,this.$M+m);if(S===b)return this.set(b,this.$y+m);if(S===l)return D(1);if(S===f)return D(7);var k=(g={},g[a]=i,g[u]=n,g[s]=r,g)[S]||1,F=this.$d.getTime()+m*k;return $.w(F,this)},d.subtract=function(m,y){return this.add(-1*m,y)},d.format=function(m){var y=this,g=this.$locale();if(!this.isValid())return g.invalidDate||h;var w=m||"YYYY-MM-DDTHH:mm:ssZ",S=$.z(this),D=this.$H,k=this.$m,F=this.$M,z=g.weekdays,Z=g.months,fe=g.meridiem,re=function(q,ie,ve,Ee){return q&&(q[ie]||q(y,w))||ve[ie].slice(0,Ee)},me=function(q){return $.s(D%12||12,q,"0")},ae=fe||function(q,ie,ve){var Ee=q<12?"AM":"PM";return ve?Ee.toLowerCase():Ee};return w.replace(R,function(q,ie){return ie||function(ve){switch(ve){case"YY":return String(y.$y).slice(-2);case"YYYY":return $.s(y.$y,4,"0");case"M":return F+1;case"MM":return $.s(F+1,2,"0");case"MMM":return re(g.monthsShort,F,Z,3);case"MMMM":return re(Z,F);case"D":return y.$D;case"DD":return $.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return re(g.weekdaysMin,y.$W,z,2);case"ddd":return re(g.weekdaysShort,y.$W,z,3);case"dddd":return z[y.$W];case"H":return String(D);case"HH":return $.s(D,2,"0");case"h":return me(1);case"hh":return me(2);case"a":return ae(D,k,!0);case"A":return ae(D,k,!1);case"m":return String(k);case"mm":return $.s(k,2,"0");case"s":return String(y.$s);case"ss":return $.s(y.$s,2,"0");case"SSS":return $.s(y.$ms,3,"0");case"Z":return S}return null}(q)||S.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(m,y,g){var w,S=this,D=$.p(y),k=V(m),F=(k.utcOffset()-this.utcOffset())*i,z=this-k,Z=function(){return $.m(S,k)};switch(D){case b:w=Z()/12;break;case p:w=Z();break;case v:w=Z()/3;break;case f:w=(z-F)/6048e5;break;case l:w=(z-F)/864e5;break;case u:w=z/n;break;case a:w=z/i;break;case s:w=z/r;break;default:w=z}return g?w:$.a(w)},d.daysInMonth=function(){return this.endOf(p).$D},d.$locale=function(){return P[this.$L]},d.locale=function(m,y){if(!m)return this.$L;var g=this.clone(),w=Q(m,y,!0);return w&&(g.$L=w),g},d.clone=function(){return $.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},x}(),ce=xe.prototype;return V.prototype=ce,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",l],["$M",p],["$y",b],["$D",T]].forEach(function(x){ce[x[1]]=function(d){return this.$g(d,x[0],x[1])}}),V.extend=function(x,d){return x.$i||(x(d,xe,V),x.$i=!0),V},V.locale=Q,V.isDayjs=se,V.unix=function(x){return V(1e3*x)},V.en=P[C],V.Ls=P,V.p={},V})})(yi);var vs=yi.exports;const _r=Ut(vs);var _i={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(kr,function(){var r="minute",i=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(o,s,a){var u=s.prototype;a.utc=function(h){var I={date:h,utc:!0,args:arguments};return new s(I)},u.utc=function(h){var I=a(this.toDate(),{locale:this.$L,utc:!0});return h?I.add(this.utcOffset(),r):I},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=u.parse;u.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),l.call(this,h)};var f=u.init;u.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else f.call(this)};var p=u.utcOffset;u.utcOffset=function(h,I){var R=this.$utils().u;if(R(h))return this.$u?0:R(this.$offset)?p.call(this):this.$offset;if(typeof h=="string"&&(h=function(C){C===void 0&&(C="");var P=C.match(i);if(!P)return null;var X=(""+P[0]).match(n)||["-",0,0],se=X[0],Q=60*+X[1]+ +X[2];return Q===0?0:se==="+"?Q:-Q}(h),h===null))return this;var H=Math.abs(h)<=16?60*h:h,E=this;if(I)return E.$offset=H,E.$u=h===0,E;if(h!==0){var O=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(E=this.local().add(H+O,r)).$offset=H,E.$x.$localOffset=O}else E=this.utc();return E};var v=u.format;u.format=function(h){var I=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,I)},u.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var b=u.toDate;u.toDate=function(h){return h==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():b.call(this)};var T=u.diff;u.diff=function(h,I,R){if(h&&this.$u===h.$u)return T.call(this,h,I,R);var H=this.local(),E=a(h).local();return T.call(H,E,I,R)}}})})(_i);var gs=_i.exports;const bs=Ut(gs);function ys(e){Hr(e,"svelte-etf668",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function xr(e,t,r){const i=e.slice();return i[56]=t[r],i}function _s(e){let t,r=e[3].length>0&&Er(e);return{c(){t=W("div"),r&&r.c(),M(t,"class","CashierVerificationsWrapper")},m(i,n){oe(i,t,n),r&&r.m(t,null)},p(i,n){i[3].length>0?r?r.p(i,n):(r=Er(i),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(i){i&&te(t),r&&r.d()}}}function xs(e){let t;return{c(){t=W("cashier-spinner"),qe(t,"clientstylingurl",e[1]),qe(t,"clientstyling",e[0])},m(r,i){oe(r,t,i)},p(r,i){i[0]&2&&qe(t,"clientstylingurl",r[1]),i[0]&1&&qe(t,"clientstyling",r[0])},d(r){r&&te(t)}}}function Er(e){let t,r,i,n,o,s,a,u=e[8]("verificationsRequired")+"",l,f,p,v,b,T,h,I,R=Zt(e[3]),H=[];for(let O=0;O<R.length;O+=1)H[O]=wr(xr(e,R,O));let E=e[6]&&Sr(e);return{c(){t=W("div"),r=De("svg"),i=De("path"),n=De("path"),o=De("path"),s=be(),a=W("p"),l=Rt(u),f=be(),p=W("span"),p.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',v=be(),b=W("div");for(let O=0;O<H.length;O+=1)H[O].c();T=be(),E&&E.c(),M(i,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),M(i,"stroke","#6E738F"),M(i,"stroke-width","2"),M(i,"stroke-linecap","round"),M(i,"stroke-linejoin","round"),M(n,"d","M12 8V12"),M(n,"stroke","#6E738F"),M(n,"stroke-width","2"),M(n,"stroke-linecap","round"),M(n,"stroke-linejoin","round"),M(o,"d","M12 16H12.01"),M(o,"stroke","#6E738F"),M(o,"stroke-width","2"),M(o,"stroke-linecap","round"),M(o,"stroke-linejoin","round"),M(r,"width","24"),M(r,"height","24"),M(r,"viewBox","0 0 24 24"),M(r,"fill","none"),M(r,"xmlns","http://www.w3.org/2000/svg"),M(p,"class","CashierVerificationChevron"),ue(p,"ShowVerifications",e[4]),M(t,"class","VerificationsHeader"),M(b,"class","VerificationsList"),ue(b,"ShowVerifications",e[4])},m(O,C){oe(O,t,C),G(t,r),G(r,i),G(r,n),G(r,o),G(t,s),G(t,a),G(a,l),G(t,f),G(t,p),oe(O,v,C),oe(O,b,C);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(b,null);G(b,T),E&&E.m(b,null),h||(I=Re(t,"click",e[9]),h=!0)},p(O,C){if(C[0]&256&&u!==(u=O[8]("verificationsRequired")+"")&&Ar(l,u),C[0]&16&&ue(p,"ShowVerifications",O[4]),C[0]&8){R=Zt(O[3]);let P;for(P=0;P<R.length;P+=1){const X=xr(O,R,P);H[P]?H[P].p(X,C):(H[P]=wr(X),H[P].c(),H[P].m(b,T))}for(;P<H.length;P+=1)H[P].d(1);H.length=R.length}O[6]?E?E.p(O,C):(E=Sr(O),E.c(),E.m(b,null)):E&&(E.d(1),E=null),C[0]&16&&ue(b,"ShowVerifications",O[4])},d(O){O&&(te(t),te(v),te(b)),Gi(H,O),E&&E.d(),h=!1,I()}}}function wr(e){let t,r,i,n,o=e[56]+"";return{c(){t=W("div"),r=W("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',i=be(),n=W("p"),M(r,"class","IconVerification"),M(n,"class","text"),M(t,"class","CashierVerificationMessage Test")},m(s,a){oe(s,t,a),G(t,r),G(t,i),G(t,n),n.innerHTML=o},p(s,a){a[0]&8&&o!==(o=s[56]+"")&&(n.innerHTML=o)},d(s){s&&te(t)}}}function Sr(e){let t,r,i,n,o=e[8]("verification.video.how-to")+"",s,a,u;return{c(){t=W("div"),r=W("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',i=be(),n=W("div"),s=Rt(o),M(r,"class","IconVideo"),M(n,"class","CashierVerificationVideoLink"),ue(n,"CashierVerificationVideoLinkDesktop",e[5]),M(t,"class","CashierVerificationVideo Test")},m(l,f){oe(l,t,f),G(t,r),G(t,i),G(t,n),G(n,s),a||(u=Re(t,"click",e[10]),a=!0)},p(l,f){f[0]&256&&o!==(o=l[8]("verification.video.how-to")+"")&&Ar(s,o),f[0]&32&&ue(n,"CashierVerificationVideoLinkDesktop",l[5])},d(l){l&&te(t),a=!1,u()}}}function Es(e){let t;function r(o,s){if(o[7])return xs;if(o[3])return _s}let i=r(e),n=i&&i(e);return{c(){t=W("div"),n&&n.c(),M(t,"class","CashierVerifications"),ue(t,"CashierVerificationsDesktop",e[5])},m(o,s){oe(o,t,s),n&&n.m(t,null),e[20](t)},p(o,s){i===(i=r(o))&&n?n.p(o,s):(n&&n.d(1),n=i&&i(o),n&&(n.c(),n.m(t,null))),s[0]&32&&ue(t,"CashierVerificationsDesktop",o[5])},i:ee,o:ee,d(o){o&&te(t),n&&n.d(),e[20](null)}}}const ws="verification_explanation_video_widgets.MP4";function Ss(e,t,r){let i,n;qt(e,Zo,c=>r(8,i=c)),qt(e,Qo,c=>r(29,n=c)),_r.extend(bs);let{endpoint:o}=t,{lang:s="en"}=t,{translationurl:a=""}=t,{clientstyling:u=""}=t,{clientstylingurl:l=""}=t,{session:f=""}=t,{customerid:p=""}=t,{playersession:v=""}=t,{userroles:b=""}=t,{mbsource:T=""}=t,h,I=new Set,R=new Set,H,E,O,C=!1,P=!0,X=!1,se="",Q=!1,V,$=[],xe=window.navigator.userAgent;var ce;(function(c){c.Manual="Manual",c.ShuftiPro="ShuftiPro"})(ce||(ce={}));var x;(function(c){c.Requested="Requested"})(x||(x={}));var d;(function(c){c.Unknown="Unknown",c.Unverified="Unverified",c.InProgress="InProgress",c.Failed="Failed",c.Verified="Verified",c.Referred="Referred",c.True="True",c.False="False",c.AwaitingForResponse="AwaitingForResponse"})(d||(d={}));var m;(function(c){c.Unknown="Unknown",c.Documents="Documents",c.Age="Age",c.Pep="Pep",c.Sanction="Sanction",c.Aml="Aml",c.ProofOfAddress="ProofOfAddress",c.SourceOfWealth="SourceOfWealth",c.SocialMedia="SocialMedia",c.Biometric="Biometric"})(m||(m={}));const y=c=>{c.data&&c.data.type};Br(()=>(window.addEventListener("message",y),Ti(),()=>{window.removeEventListener("message",y)}));const g=[d.InProgress,d.Referred,d.AwaitingForResponse],w=()=>{let c=a;if(c)return fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach(L=>{fr(L,_[L])})}).catch(_=>{console.log(_)})};Object.keys(hr).forEach(c=>{fr(c,hr[c])});const S=()=>{Jo(s)},D=()=>{r(19,E=z());const c=new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`),_=new Headers;_.append("accept","application/json"),_.append("Content-Type","application/json"),_.append("x-sessionid",`${v}`),_.append("X-Client-Request-Timestamp",_r.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),$.length>0&&$.indexOf("MM_CHANNEL_BETA")!=-1&&_.append("MM_CHANNEL","BETA");const L={method:"POST",headers:_,body:JSON.stringify({})};r(7,Q=!0),fetch(c,L).then(j=>j.json()).then(j=>{const he=k(j==null?void 0:j.Verifications);H=Z(he),H.VerificationStatuses.forEach(Xe=>{Xe.VerificationUrlType!=="Widget"&&I.add(Xe.Vendor)}),r(3,O=ie())}).finally(()=>r(7,Q=!1))},k=c=>c?c.sort((_,L)=>new Date(L.Created).getTime()-new Date(_.Created).getTime()):[],F=()=>{n&&D()},z=()=>{let c=(f||n).split(".")[1];if(c){let _=JSON.parse(atob(c));return _.cdn+"/cashier/operator-assets/"+(_==null?void 0:_.mid)}return""},Z=c=>{var L;if(!c||!c.length)return{VerificationSummaryStatus:d.Unverified,VerificationStatuses:[]};const _=me(c);if(_&&_.length){const j=fe(_);return{VerificationSummaryStatus:j.Status,VerificationUrl:(L=j.Flags)==null?void 0:L.DeferredUrlKey,VerificationStatuses:re(_,j.Status)}}else return{VerificationSummaryStatus:c.some(he=>he.Status===d.Failed)?d.Failed:d.Verified,VerificationStatuses:re(c,[d.Failed])}},fe=c=>c.reduce((_,L)=>_?new Date(_)<new Date(L)?L:_:L,0),re=(c,_)=>c.filter(L=>_.includes(L.Status)).map(L=>{var j,he;return{Type:L.Type,Vendor:L.VendorName,VerificationDocuments:L.Documents?[...L.Documents]:[],VerificationUrlType:(j=L.FlowInfo)==null?void 0:j.Type,VerificationUrl:(he=L.FlowInfo)==null?void 0:he.Url}}),me=c=>c.filter(_=>g.includes(_.Status)?_.FlowInfo&&_.FlowInfo.Url||ae(_)||q(_):!1),ae=c=>{const _=c.Documents&&c.VendorName===ce.Manual,L=c.Documents&&c.Documents.some(j=>j.Status===x.Requested);return _&&L},q=c=>c.VendorName===ce.ShuftiPro&&c.Status===d.Referred,ie=()=>{switch(H.VerificationSummaryStatus){case d.InProgress:const c=[];return I.forEach(_=>{c.push(ve(_))}),c;case d.Referred:return[i("verification.idenfy.referred-awaiting")];case d.Failed:return[i("verification.message.failed")]}},ve=c=>{const _=H.VerificationStatuses.filter(L=>L.Vendor===c);if(c===ce.ShuftiPro)return Ee(_);{const L=i("verification.idenfy.link-name"),j={link:`<a href="${_[0].VerificationUrl}" target="_blank">${L}</a>`};return i("verification.idenfy.in-progress",{values:j})}},Ee=c=>{const _=[],L={},j=[m.Biometric,m.Documents,m.ProofOfAddress];c.forEach(ge=>{j.includes(ge.Type)&&(_.push(ge.Type),L[ge.Type]=Ei(ge,wi(ge.Type)))});let he=_.every(ge=>R.has(ge)),Xe=`verification.shuftipro.in-progress.${_.sort().join(".")}`;return he?i("verification.shuftipro.validations-started"):i(Xe,{values:L})},Ei=(c,_)=>`<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${_}</a>`,wi=c=>i(`verification.shuftipro.link-name.${c}`),Si=()=>{r(4,C=!C)},Ti=()=>{r(5,P=!ms(xe))},Oi=()=>{se=E+"/"+s+"/"+ws;try{fetch(se,{method:"HEAD"}).then(c=>{r(6,X=c.ok)})}catch(c){r(6,X=!1)}},Pi=()=>{b.length>0&&($=b.split(","))},Hi=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:se}}}))};function Ai(c){it[c?"unshift":"push"](()=>{h=c,r(2,h)})}return e.$$set=c=>{"endpoint"in c&&r(11,o=c.endpoint),"lang"in c&&r(12,s=c.lang),"translationurl"in c&&r(13,a=c.translationurl),"clientstyling"in c&&r(0,u=c.clientstyling),"clientstylingurl"in c&&r(1,l=c.clientstylingurl),"session"in c&&r(14,f=c.session),"customerid"in c&&r(15,p=c.customerid),"playersession"in c&&r(16,v=c.playersession),"userroles"in c&&r(17,b=c.userroles),"mbsource"in c&&r(18,T=c.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&4096&&s&&S(),e.$$.dirty[0]&83968&&o&&f&&v&&D(),e.$$.dirty[0]&83968&&o&&!f&&v&&F(),e.$$.dirty[0]&8192&&a&&w(),e.$$.dirty[0]&5&&u&&h&&ci(h,u),e.$$.dirty[0]&6&&l&&h&&fi(h,l),e.$$.dirty[0]&524288&&E&&Oi(),e.$$.dirty[0]&131072&&b&&Pi(),e.$$.dirty[0]&262148&&T&&h&&hi(h,`${T}.Style`,V)},[u,l,h,O,C,P,X,Q,i,Si,Hi,o,s,a,f,p,v,b,T,E,Ai]}class xi extends Nr{constructor(t){super(),Lr(this,t,Ss,Es,kt,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},ys,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),J()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),J()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),J()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),J()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),J()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),J()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),J()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),J()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),J()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),J()}}Dr(xi,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);const Ts=Object.freeze(Object.defineProperty({__proto__:null,default:xi},Symbol.toStringTag,{value:"Module"}));exports.CashierVerifications_ce=Ts;exports.SvelteComponent=Nr;exports.add_iframe_resize_listener=Wi;exports.add_render_callback=nt;exports.append=G;exports.append_styles=Hr;exports.attr=M;exports.binding_callbacks=it;exports.check_outros=Ki;exports.create_custom_element=Dr;exports.create_slot=Ni;exports.detach=te;exports.element=W;exports.flush=J;exports.get_all_dirty_from_scope=Ui;exports.get_slot_changes=ki;exports.group_outros=Qi;exports.init=Lr;exports.insert=oe;exports.listen=Re;exports.noop=ee;exports.onMount=Br;exports.safe_not_equal=kt;exports.setClientStyling=ci;exports.setClientStylingURL=fi;exports.setStreamStyling=hi;exports.space=be;exports.svg_element=De;exports.tick=Yi;exports.toggle_class=ue;exports.transition_in=$r;exports.transition_out=en;exports.update_slot_base=Ri;
|
|
@@ -4507,7 +4507,7 @@ if (typeof window < "u") {
|
|
|
4507
4507
|
}
|
|
4508
4508
|
};
|
|
4509
4509
|
};
|
|
4510
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4510
|
+
customElements.define = e(customElements.define), import("./CashierModal-ZM7dP7Pm.js").then(({ default: t }) => {
|
|
4511
4511
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4512
4512
|
});
|
|
4513
4513
|
}
|
|
@@ -5140,7 +5140,7 @@ const rs = "verification_explanation_video_widgets.MP4";
|
|
|
5140
5140
|
function is(e, t, r) {
|
|
5141
5141
|
let i, n;
|
|
5142
5142
|
Vt(e, Oo, (c) => r(8, i = c)), Vt(e, Ho, (c) => r(29, n = c)), dr.extend(Jo);
|
|
5143
|
-
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { userroles: b = "" } = t, { mbsource: T = "" } = t, h, I = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set(), H, E, O, $ = !1, P = !0, z = !1, ne = "", Z = !1, V, L, be = window.navigator.userAgent;
|
|
5143
|
+
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { userroles: b = "" } = t, { mbsource: T = "" } = t, h, I = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set(), H, E, O, $ = !1, P = !0, z = !1, ne = "", Z = !1, V, L = [], be = window.navigator.userAgent;
|
|
5144
5144
|
var ue;
|
|
5145
5145
|
(function(c) {
|
|
5146
5146
|
c.Manual = "Manual", c.ShuftiPro = "ShuftiPro";
|
|
@@ -5186,7 +5186,7 @@ function is(e, t, r) {
|
|
|
5186
5186
|
}, D = () => {
|
|
5187
5187
|
r(19, E = j());
|
|
5188
5188
|
const c = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), x = new Headers();
|
|
5189
|
-
x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), L.indexOf("MM_CHANNEL_BETA") != -1 && x.append("MM_CHANNEL", "BETA");
|
|
5189
|
+
x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), L.length > 0 && L.indexOf("MM_CHANNEL_BETA") != -1 && x.append("MM_CHANNEL", "BETA");
|
|
5190
5190
|
const B = {
|
|
5191
5191
|
method: "POST",
|
|
5192
5192
|
headers: x,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let i=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("../components/CashierVerifications-CdBXXa2t.cjs")).then(e=>e.CashierVerifications_ce).then(({default:e})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierVerifications-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierVerifications-BiQmwDJw.js").then((e) => e.F).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|