@everymatrix/casino-integrated-game-page 1.85.17 → 1.85.18
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/{CasinoIntegratedGamePage-Ch-p5saK.js → CasinoIntegratedGamePage-CoTA-qMN.js} +123 -120
- package/components/{CasinoIntegratedGamePage-BzNc77I6.cjs → CasinoIntegratedGamePage-Dfg0CEFc.cjs} +2 -2
- package/components/{CasinoIntegratedGamePage-C7Vk0x3-.js → CasinoIntegratedGamePage-aAHRjXlo.js} +5 -2
- package/components/{PlayerDeposit-BBgjELcr.cjs → PlayerDeposit-BHntk_RQ.cjs} +1 -1
- package/components/{PlayerDeposit-ZbvM1tRe.js → PlayerDeposit-BtKMtq-j.js} +1 -1
- package/components/{PlayerDeposit-BlPlykKc.js → PlayerDeposit-DNlwsaZX.js} +1 -1
- package/es2015/casino-integrated-game-page.cjs +1 -1
- package/es2015/casino-integrated-game-page.js +1 -1
- package/esnext/casino-integrated-game-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-1ef3a64c-7AI5UKXV.js → index-1ef3a64c-BSgHacKO.js} +1 -1
- package/stencil/{index-1ef3a64c-BakoztFJ.js → index-1ef3a64c-CbyV3cel.js} +1 -1
- package/stencil/{index-1ef3a64c-C-oLwJqv.cjs → index-1ef3a64c-MXdBye_q.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-D-eBmoAa.cjs → user-deposit-withdrawal-BaQgfw_R.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-B-ogRpix.js → user-deposit-withdrawal-D-McQFZJ.js} +3 -1
- package/stencil/{user-deposit-withdrawal-DNJBk43c.js → user-deposit-withdrawal-D_Gohlmv.js} +3 -1
package/components/{CasinoIntegratedGamePage-C7Vk0x3-.js → CasinoIntegratedGamePage-aAHRjXlo.js}
RENAMED
|
@@ -27,7 +27,7 @@ var Mr = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/user-deposit-withdrawal-
|
|
30
|
+
import "../stencil/user-deposit-withdrawal-D_Gohlmv.js";
|
|
31
31
|
function L() {
|
|
32
32
|
}
|
|
33
33
|
function gn(e) {
|
|
@@ -4280,6 +4280,7 @@ function ds(e, t) {
|
|
|
4280
4280
|
fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
|
|
4281
4281
|
});
|
|
4282
4282
|
}
|
|
4283
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4283
4284
|
function ms({ withLocale: e, translations: t }) {
|
|
4284
4285
|
le.subscribe((r) => {
|
|
4285
4286
|
r == null && (He.set(t), le.set(e));
|
|
@@ -4298,6 +4299,8 @@ function gs(e, t) {
|
|
|
4298
4299
|
}
|
|
4299
4300
|
}
|
|
4300
4301
|
function bs(e, t) {
|
|
4302
|
+
if (!e || !t)
|
|
4303
|
+
return;
|
|
4301
4304
|
const r = new URL(t);
|
|
4302
4305
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4303
4306
|
const i = document.createElement("style");
|
|
@@ -4472,7 +4475,7 @@ if (typeof window != "undefined") {
|
|
|
4472
4475
|
}
|
|
4473
4476
|
};
|
|
4474
4477
|
};
|
|
4475
|
-
customElements.define = e(customElements.define), import("./PlayerDeposit-
|
|
4478
|
+
customElements.define = e(customElements.define), import("./PlayerDeposit-DNlwsaZX.js").then(({ default: t }) => {
|
|
4476
4479
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
4477
4480
|
});
|
|
4478
4481
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoIntegratedGamePage-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoIntegratedGamePage-Dfg0CEFc.cjs");function T(n,t){e.addMessages(n,t)}function z(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function A(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function F(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function W(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function H(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&F(n);function p(s,u){return s[1]?G:W}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function q(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const P=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},B=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},I=()=>{z(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const j=()=>S();function U(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&I(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),n.$$.dirty&32768&&u&&P(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&B()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,j,U]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,H,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},A)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as V, $ as X, S as Z, i as J, f as y, s as K, c as $, b as ee, n as P, d as S, e as L, g as U, h as x, j as h, k as M, l as E, t as C, m as d, o as te, p as ie, q as se, r as ae, u as k, v as re, w as F, x as ne, y as oe, z as le, A as ce } from "./CasinoIntegratedGamePage-
|
|
1
|
+
import { a as V, $ as X, S as Z, i as J, f as y, s as K, c as $, b as ee, n as P, d as S, e as L, g as U, h as x, j as h, k as M, l as E, t as C, m as d, o as te, p as ie, q as se, r as ae, u as k, v as re, w as F, x as ne, y as oe, z as le, A as ce } from "./CasinoIntegratedGamePage-CoTA-qMN.js";
|
|
2
2
|
function W(s, e) {
|
|
3
3
|
V(s, e);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as V, $ as X, S as Z, i as J, s as K, f as y, b as $, n as P, d as S, c as L, e as U, g as x, h, j as M, k as E, t as C, l as d, m as ee, o as te, p as ie, q as se, r as k, u as ae, v as F, w as re, x as ne, y as oe, z as le, A as ce } from "./CasinoIntegratedGamePage-
|
|
1
|
+
import { a as V, $ as X, S as Z, i as J, s as K, f as y, b as $, n as P, d as S, c as L, e as U, g as x, h, j as M, k as E, t as C, l as d, m as ee, o as te, p as ie, q as se, r as k, u as ae, v as F, w as re, x as ne, y as oe, z as le, A as ce } from "./CasinoIntegratedGamePage-aAHRjXlo.js";
|
|
2
2
|
function W(s, e) {
|
|
3
3
|
V(s, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}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=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoIntegratedGamePage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}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=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoIntegratedGamePage-Dfg0CEFc.cjs")).then(e=>e.CasinoIntegratedGamePage_ce).then(({default:e})=>{!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoIntegratedGamePage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoIntegratedGamePage-aAHRjXlo.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-integrated-game-page") && customElements.define("casino-integrated-game-page", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-D-eBmoAa.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-BaQgfw_R.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
|
package/stencil/{user-deposit-withdrawal-D-eBmoAa.cjs → user-deposit-withdrawal-BaQgfw_R.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Q=(e,l,a)=>new Promise((c,m)=>{var z=h=>{try{g(a.next(h))}catch($){m($)}},b=h=>{try{g(a.throw(h))}catch($){m($)}},g=h=>h.done?c(h.value):Promise.resolve(h.value).then(z,b);g((a=a.apply(e,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-C-oLwJqv.cjs"),de=require("./app-globals-0f993ce5-sCt45RkC.cjs");var X=typeof document!="undefined"?document.currentScript:null,le=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("stencil/user-deposit-withdrawal-D-eBmoAa.cjs",document.baseURI).href,l={};return e!==""&&(l.resourcesUrl=new URL(".",e).href),S.promiseResolve(l)};le().then(e=>Q(exports,null,function*(){return yield de.globalScripts(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],forwardCashierRedirects:[516,"forward-cashier-redirects"],dynamicHeight:[32],cashierInfoUrl:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e)}));const ce="en",he=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ne={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},fe=e=>new Promise(l=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(c=>{for(let m in a[c])ne[c][m]=a[c][m]}),l(!0)})}),j=(e,l)=>{const a=l;return ne[a!==void 0&&he.includes(a)?a:ce][e]};function ee(e,l){if(e){const a=document.createElement("style");a.innerHTML=l,e.appendChild(a)}}function te(e,l){const a=new URL(l);fetch(a.href).then(c=>c.text()).then(c=>{const m=document.createElement("style");m.innerHTML=c,e&&e.appendChild(m)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function pe(e,l,a){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(l,m=>{c.innerHTML=m,e&&e.appendChild(c)})}}const me=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));var ie=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},oe={exports:{}};(function(e,l){(function(a,c){e.exports=c()})(ie,function(){var a=1e3,c=6e4,m=36e5,z="millisecond",b="second",g="minute",h="hour",$="day",_="week",M="month",V="quarter",E="year",k="date",s="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,F={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(o){var n=["th","st","nd","rd"],t=o%100;return"["+o+(n[(t-20)%10]||n[t]||n[0])+"]"}},W=function(o,n,t){var i=String(o);return!i||i.length>=n?o:""+Array(n+1-i.length).join(t)+o},G={s:W,z:function(o){var n=-o.utcOffset(),t=Math.abs(n),i=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+W(i,2,"0")+":"+W(r,2,"0")},m:function o(n,t){if(n.date()<t.date())return-o(t,n);var i=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(i,M),u=t-r<0,d=n.clone().add(i+(u?-1:1),M);return+(-(i+(t-r)/(u?r-d:d-r))||0)},a:function(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M,y:E,w:_,d:$,D:k,h,m:g,s:b,ms:z,Q:V}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},L="en",R={};R[L]=F;var q="$isDayjsObject",A=function(o){return o instanceof Z||!(!o||!o[q])},x=function o(n,t,i){var r;if(!n)return L;if(typeof n=="string"){var u=n.toLowerCase();R[u]&&(r=u),t&&(R[u]=t,r=u);var d=n.split("-");if(!r&&d.length>1)return o(d[0])}else{var p=n.name;R[p]=n,r=p}return!i&&r&&(L=r),r||!i&&L},w=function(o,n){if(A(o))return o.clone();var t=typeof n=="object"?n:{};return t.date=o,t.args=arguments,new Z(t)},f=G;f.l=x,f.i=A,f.w=function(o,n){return w(o,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var Z=function(){function o(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=o.prototype;return n.parse=function(t){this.$d=function(i){var r=i.date,u=i.utc;if(r===null)return new Date(NaN);if(f.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var d=r.match(U);if(d){var p=d[2]-1||0,y=(d[7]||"0").substring(0,3);return u?new Date(Date.UTC(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)):new Date(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)}}return new Date(r)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return f},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(t,i){var r=w(t);return this.startOf(i)<=r&&r<=this.endOf(i)},n.isAfter=function(t,i){return w(t)<this.startOf(i)},n.isBefore=function(t,i){return this.endOf(i)<w(t)},n.$g=function(t,i,r){return f.u(t)?this[i]:this.set(r,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,i){var r=this,u=!!f.u(i)||i,d=f.p(t),p=function(I,D){var O=f.w(r.$u?Date.UTC(r.$y,D,I):new Date(r.$y,D,I),r);return u?O:O.endOf($)},y=function(I,D){return f.w(r.toDate()[I].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(D)),r)},C=this.$W,v=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case E:return u?p(1,0):p(31,11);case M:return u?p(1,v):p(0,v+1);case _:var P=this.$locale().weekStart||0,B=(C<P?C+7:C)-P;return p(u?T-B:T+(6-B),v);case $:case k:return y(Y+"Hours",0);case h:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case b:return y(Y+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,i){var r,u=f.p(t),d="set"+(this.$u?"UTC":""),p=(r={},r[$]=d+"Date",r[k]=d+"Date",r[M]=d+"Month",r[E]=d+"FullYear",r[h]=d+"Hours",r[g]=d+"Minutes",r[b]=d+"Seconds",r[z]=d+"Milliseconds",r)[u],y=u===$?this.$D+(i-this.$W):i;if(u===M||u===E){var C=this.clone().set(k,1);C.$d[p](y),C.init(),this.$d=C.set(k,Math.min(this.$D,C.daysInMonth())).$d}else p&&this.$d[p](y);return this.init(),this},n.set=function(t,i){return this.clone().$set(t,i)},n.get=function(t){return this[f.p(t)]()},n.add=function(t,i){var r,u=this;t=Number(t);var d=f.p(i),p=function(v){var T=w(u);return f.w(T.date(T.date()+Math.round(v*t)),u)};if(d===M)return this.set(M,this.$M+t);if(d===E)return this.set(E,this.$y+t);if(d===$)return p(1);if(d===_)return p(7);var y=(r={},r[g]=c,r[h]=m,r[b]=a,r)[d]||1,C=this.$d.getTime()+t*y;return f.w(C,this)},n.subtract=function(t,i){return this.add(-1*t,i)},n.format=function(t){var i=this,r=this.$locale();if(!this.isValid())return r.invalidDate||s;var u=t||"YYYY-MM-DDTHH:mm:ssZ",d=f.z(this),p=this.$H,y=this.$m,C=this.$M,v=r.weekdays,T=r.months,Y=r.meridiem,P=function(D,O,N,J){return D&&(D[O]||D(i,u))||N[O].slice(0,J)},B=function(D){return f.s(p%12||12,D,"0")},I=Y||function(D,O,N){var J=D<12?"AM":"PM";return N?J.toLowerCase():J};return u.replace(H,function(D,O){return O||function(N){switch(N){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return C+1;case"MM":return f.s(C+1,2,"0");case"MMM":return P(r.monthsShort,C,T,3);case"MMMM":return P(T,C);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return P(r.weekdaysMin,i.$W,v,2);case"ddd":return P(r.weekdaysShort,i.$W,v,3);case"dddd":return v[i.$W];case"H":return String(p);case"HH":return f.s(p,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return I(p,y,!0);case"A":return I(p,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return d}return null}(D)||d.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,i,r){var u,d=this,p=f.p(i),y=w(t),C=(y.utcOffset()-this.utcOffset())*c,v=this-y,T=function(){return f.m(d,y)};switch(p){case E:u=T()/12;break;case M:u=T();break;case V:u=T()/3;break;case _:u=(v-C)/6048e5;break;case $:u=(v-C)/864e5;break;case h:u=v/m;break;case g:u=v/c;break;case b:u=v/a;break;default:u=v}return r?u:f.a(u)},n.daysInMonth=function(){return this.endOf(M).$D},n.$locale=function(){return R[this.$L]},n.locale=function(t,i){if(!t)return this.$L;var r=this.clone(),u=x(t,i,!0);return u&&(r.$L=u),r},n.clone=function(){return f.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},o}(),K=Z.prototype;return w.prototype=K,[["$ms",z],["$s",b],["$m",g],["$H",h],["$W",$],["$M",M],["$y",E],["$D",k]].forEach(function(o){K[o[1]]=function(n){return this.$g(n,o[0],o[1])}}),w.extend=function(o,n){return o.$i||(o(n,Z,w),o.$i=!0),w},w.locale=x,w.isDayjs=A,w.unix=function(o){return w(1e3*o)},w.en=R[L],w.Ls=R,w.p={},w})})(oe);const ae=oe.exports;var se={exports:{}};(function(e,l){(function(a,c){e.exports=c()})(ie,function(){var a="minute",c=/[+-]\d\d(?::?\d\d)?/g,m=/([+-]|\d\d)/g;return function(z,b,g){var h=b.prototype;g.utc=function(s){var U={date:s,utc:!0,args:arguments};return new b(U)},h.utc=function(s){var U=g(this.toDate(),{locale:this.$L,utc:!0});return s?U.add(this.utcOffset(),a):U},h.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var $=h.parse;h.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),$.call(this,s)};var _=h.init;h.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else _.call(this)};var M=h.utcOffset;h.utcOffset=function(s,U){var H=this.$utils().u;if(H(s))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof s=="string"&&(s=function(L){L===void 0&&(L="");var R=L.match(c);if(!R)return null;var q=(""+R[0]).match(m)||["-",0,0],A=q[0],x=60*+q[1]+ +q[2];return x===0?0:A==="+"?x:-x}(s),s===null))return this;var F=Math.abs(s)<=16?60*s:s,W=this;if(U)return W.$offset=F,W.$u=s===0,W;if(s!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,a)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var V=h.format;h.format=function(s){var U=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return V.call(this,U)},h.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var E=h.toDate;h.toDate=function(s){return s==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():E.call(this)};var k=h.diff;h.diff=function(s,U,H){if(s&&this.$u===s.$u)return k.call(this,s,U,H);var F=this.local(),W=g(s).local();return k.call(F,W,U,H)}}})})(se);const ye=se.exports,ge=`:host {
|
|
1
|
+
"use strict";var Q=(e,c,a)=>new Promise((l,m)=>{var z=h=>{try{g(a.next(h))}catch($){m($)}},b=h=>{try{g(a.throw(h))}catch($){m($)}},g=h=>h.done?l(h.value):Promise.resolve(h.value).then(z,b);g((a=a.apply(e,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index-1ef3a64c-MXdBye_q.cjs"),de=require("./app-globals-0f993ce5-sCt45RkC.cjs");var X=typeof document!="undefined"?document.currentScript:null,ce=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("stencil/user-deposit-withdrawal-BaQgfw_R.cjs",document.baseURI).href,c={};return e!==""&&(c.resourcesUrl=new URL(".",e).href),v.promiseResolve(c)};ce().then(e=>Q(exports,null,function*(){return yield de.globalScripts(),v.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],forwardCashierRedirects:[516,"forward-cashier-redirects"],dynamicHeight:[32],cashierInfoUrl:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e)}));const le="en",he=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ne={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},fe=e=>new Promise(c=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(l=>{for(let m in a[l])ne[l][m]=a[l][m]}),c(!0)})}),j=(e,c)=>{const a=c;return ne[a!==void 0&&he.includes(a)?a:le][e]};function ee(e,c){if(e){const a=document.createElement("style");a.innerHTML=c,e.appendChild(a)}}function te(e,c){if(!e||!c)return;const a=new URL(c);fetch(a.href).then(l=>l.text()).then(l=>{const m=document.createElement("style");m.innerHTML=l,e&&e.appendChild(m)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function pe(e,c,a){if(window.emMessageBus){const l=document.createElement("style");window.emMessageBus.subscribe(c,m=>{l.innerHTML=m,e&&e.appendChild(l)})}}const me=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));var ie=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},oe={exports:{}};(function(e,c){(function(a,l){e.exports=l()})(ie,function(){var a=1e3,l=6e4,m=36e5,z="millisecond",b="second",g="minute",h="hour",$="day",_="week",M="month",V="quarter",E="year",k="date",s="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,F={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(o){var n=["th","st","nd","rd"],t=o%100;return"["+o+(n[(t-20)%10]||n[t]||n[0])+"]"}},W=function(o,n,t){var i=String(o);return!i||i.length>=n?o:""+Array(n+1-i.length).join(t)+o},G={s:W,z:function(o){var n=-o.utcOffset(),t=Math.abs(n),i=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+W(i,2,"0")+":"+W(r,2,"0")},m:function o(n,t){if(n.date()<t.date())return-o(t,n);var i=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(i,M),u=t-r<0,d=n.clone().add(i+(u?-1:1),M);return+(-(i+(t-r)/(u?r-d:d-r))||0)},a:function(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M,y:E,w:_,d:$,D:k,h,m:g,s:b,ms:z,Q:V}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},L="en",R={};R[L]=F;var q="$isDayjsObject",A=function(o){return o instanceof Z||!(!o||!o[q])},x=function o(n,t,i){var r;if(!n)return L;if(typeof n=="string"){var u=n.toLowerCase();R[u]&&(r=u),t&&(R[u]=t,r=u);var d=n.split("-");if(!r&&d.length>1)return o(d[0])}else{var p=n.name;R[p]=n,r=p}return!i&&r&&(L=r),r||!i&&L},w=function(o,n){if(A(o))return o.clone();var t=typeof n=="object"?n:{};return t.date=o,t.args=arguments,new Z(t)},f=G;f.l=x,f.i=A,f.w=function(o,n){return w(o,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var Z=function(){function o(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=o.prototype;return n.parse=function(t){this.$d=function(i){var r=i.date,u=i.utc;if(r===null)return new Date(NaN);if(f.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var d=r.match(U);if(d){var p=d[2]-1||0,y=(d[7]||"0").substring(0,3);return u?new Date(Date.UTC(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)):new Date(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)}}return new Date(r)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return f},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(t,i){var r=w(t);return this.startOf(i)<=r&&r<=this.endOf(i)},n.isAfter=function(t,i){return w(t)<this.startOf(i)},n.isBefore=function(t,i){return this.endOf(i)<w(t)},n.$g=function(t,i,r){return f.u(t)?this[i]:this.set(r,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,i){var r=this,u=!!f.u(i)||i,d=f.p(t),p=function(I,D){var O=f.w(r.$u?Date.UTC(r.$y,D,I):new Date(r.$y,D,I),r);return u?O:O.endOf($)},y=function(I,D){return f.w(r.toDate()[I].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(D)),r)},C=this.$W,S=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case E:return u?p(1,0):p(31,11);case M:return u?p(1,S):p(0,S+1);case _:var P=this.$locale().weekStart||0,B=(C<P?C+7:C)-P;return p(u?T-B:T+(6-B),S);case $:case k:return y(Y+"Hours",0);case h:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case b:return y(Y+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,i){var r,u=f.p(t),d="set"+(this.$u?"UTC":""),p=(r={},r[$]=d+"Date",r[k]=d+"Date",r[M]=d+"Month",r[E]=d+"FullYear",r[h]=d+"Hours",r[g]=d+"Minutes",r[b]=d+"Seconds",r[z]=d+"Milliseconds",r)[u],y=u===$?this.$D+(i-this.$W):i;if(u===M||u===E){var C=this.clone().set(k,1);C.$d[p](y),C.init(),this.$d=C.set(k,Math.min(this.$D,C.daysInMonth())).$d}else p&&this.$d[p](y);return this.init(),this},n.set=function(t,i){return this.clone().$set(t,i)},n.get=function(t){return this[f.p(t)]()},n.add=function(t,i){var r,u=this;t=Number(t);var d=f.p(i),p=function(S){var T=w(u);return f.w(T.date(T.date()+Math.round(S*t)),u)};if(d===M)return this.set(M,this.$M+t);if(d===E)return this.set(E,this.$y+t);if(d===$)return p(1);if(d===_)return p(7);var y=(r={},r[g]=l,r[h]=m,r[b]=a,r)[d]||1,C=this.$d.getTime()+t*y;return f.w(C,this)},n.subtract=function(t,i){return this.add(-1*t,i)},n.format=function(t){var i=this,r=this.$locale();if(!this.isValid())return r.invalidDate||s;var u=t||"YYYY-MM-DDTHH:mm:ssZ",d=f.z(this),p=this.$H,y=this.$m,C=this.$M,S=r.weekdays,T=r.months,Y=r.meridiem,P=function(D,O,N,J){return D&&(D[O]||D(i,u))||N[O].slice(0,J)},B=function(D){return f.s(p%12||12,D,"0")},I=Y||function(D,O,N){var J=D<12?"AM":"PM";return N?J.toLowerCase():J};return u.replace(H,function(D,O){return O||function(N){switch(N){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return C+1;case"MM":return f.s(C+1,2,"0");case"MMM":return P(r.monthsShort,C,T,3);case"MMMM":return P(T,C);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return P(r.weekdaysMin,i.$W,S,2);case"ddd":return P(r.weekdaysShort,i.$W,S,3);case"dddd":return S[i.$W];case"H":return String(p);case"HH":return f.s(p,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return I(p,y,!0);case"A":return I(p,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return d}return null}(D)||d.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,i,r){var u,d=this,p=f.p(i),y=w(t),C=(y.utcOffset()-this.utcOffset())*l,S=this-y,T=function(){return f.m(d,y)};switch(p){case E:u=T()/12;break;case M:u=T();break;case V:u=T()/3;break;case _:u=(S-C)/6048e5;break;case $:u=(S-C)/864e5;break;case h:u=S/m;break;case g:u=S/l;break;case b:u=S/a;break;default:u=S}return r?u:f.a(u)},n.daysInMonth=function(){return this.endOf(M).$D},n.$locale=function(){return R[this.$L]},n.locale=function(t,i){if(!t)return this.$L;var r=this.clone(),u=x(t,i,!0);return u&&(r.$L=u),r},n.clone=function(){return f.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},o}(),K=Z.prototype;return w.prototype=K,[["$ms",z],["$s",b],["$m",g],["$H",h],["$W",$],["$M",M],["$y",E],["$D",k]].forEach(function(o){K[o[1]]=function(n){return this.$g(n,o[0],o[1])}}),w.extend=function(o,n){return o.$i||(o(n,Z,w),o.$i=!0),w},w.locale=x,w.isDayjs=A,w.unix=function(o){return w(1e3*o)},w.en=R[L],w.Ls=R,w.p={},w})})(oe);const ae=oe.exports;var se={exports:{}};(function(e,c){(function(a,l){e.exports=l()})(ie,function(){var a="minute",l=/[+-]\d\d(?::?\d\d)?/g,m=/([+-]|\d\d)/g;return function(z,b,g){var h=b.prototype;g.utc=function(s){var U={date:s,utc:!0,args:arguments};return new b(U)},h.utc=function(s){var U=g(this.toDate(),{locale:this.$L,utc:!0});return s?U.add(this.utcOffset(),a):U},h.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var $=h.parse;h.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),$.call(this,s)};var _=h.init;h.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else _.call(this)};var M=h.utcOffset;h.utcOffset=function(s,U){var H=this.$utils().u;if(H(s))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof s=="string"&&(s=function(L){L===void 0&&(L="");var R=L.match(l);if(!R)return null;var q=(""+R[0]).match(m)||["-",0,0],A=q[0],x=60*+q[1]+ +q[2];return x===0?0:A==="+"?x:-x}(s),s===null))return this;var F=Math.abs(s)<=16?60*s:s,W=this;if(U)return W.$offset=F,W.$u=s===0,W;if(s!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,a)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var V=h.format;h.format=function(s){var U=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return V.call(this,U)},h.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var E=h.toDate;h.toDate=function(s){return s==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():E.call(this)};var k=h.diff;h.diff=function(s,U,H){if(s&&this.$u===s.$u)return k.call(this,s,U,H);var F=this.local(),W=g(s).local();return k.call(F,W,U,H)}}})})(se);const ye=se.exports,ge=`:host {
|
|
2
2
|
font: inherit;
|
|
3
3
|
display: block;
|
|
4
4
|
height: 100%;
|
|
@@ -69,4 +69,4 @@
|
|
|
69
69
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
70
70
|
overflow: visible;
|
|
71
71
|
}
|
|
72
|
-
}`,we=ge;ae.extend(ye);const Ce="user-deposit-withdrawal",re=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],
|
|
72
|
+
}`,we=ge;ae.extend(ye);const Ce="user-deposit-withdrawal",re=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],ve=()=>{},ue=class{constructor(e){v.registerInstance(this,e),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=me(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType="",this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=ve,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}handleClientStylingChange(e,c){e!=c&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,c){e!=c&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return fe(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?pe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return v.h(v.Host,{key:"46153b61097691f3a3b2da29aa260edf0688f01c"},v.h("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},v.h("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&v.h("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),v.h("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?v.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},v.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},v.h("defs",null),v.h("g",{transform:"translate(-20 -158)"},v.h("g",{transform:"translate(20 158)"},v.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),v.h("h2",{class:"CategoryTitleMobile"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?v.h("iframe",{width:"100%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):v.h("h3",{innerHTML:this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language),class:"ErrorMessage"}))))}loadWidget(){return Q(this,null,function*(){const e={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};if(!(Object.values(e).some(c=>c===void 0)||!this.endpoint))try{const c=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,a=yield fetch(c,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!a.ok){const m=yield a.text();throw new Error(m)}const l=yield a.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let m;if(l.ResponseMessage){let b=this.errorCodes.find(g=>l.ResponseMessage.includes(g))||null;b?m=j(`errorCode${b}`,this.language):m=j("notFoundErrorCode",this.language)}else m=this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language);const z={type:"error",message:m};window.postMessage({type:"DenyDepositOrWithdrawal",data:z},window.location.href)}}catch(c){console.error(c)}})}handleMessage(e){const c=this.extractPayload(e);if(!c)return;this.applyLayoutHints(c);const a=this.extractCashierRedirectReason(c);if(!a||this.emitForwardedRedirect(e,a))return;const l=this.resolveRedirectPlan(a);l&&this.doRedirect(l.reason,l.targetUrl)}extractCashierRedirectReason(e){if(typeof(e==null?void 0:e.type)=="string"&&re.includes(e.type))return e.type;if(typeof(e==null?void 0:e.redirect)=="string"&&re.includes(e.redirect))return e.redirect}extractPayload(e){if(!(!(e!=null&&e.data)||typeof e.data!="object"))return e.data}applyLayoutHints(e){e["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=e["MMFE:setQuickDepositHeight"].toString()+"px"),e["MMFE:setIFrameHeight"]&&(this.dynamicHeight=e["MMFE:setIFrameHeight"].toString()+"px")}resolveRedirectPlan(e){switch(e){case"mm-hcback-to-merchant":case"mm-hc-back-tomerchant":return this.buildRedirectPlan(e,this.homeUrl);case"mm-hc-sports":return this.buildRedirectPlan(e,this.sportsUrl);case"mm-hc-casino":return this.buildRedirectPlan(window.location.href,this.casinoUrl);case"mm-hc-contact":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.contactUrl);case"mm-wm-hc-init-deposit":case"mm-wm-hc-init-deposit-quick":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.depositUrl);default:return}}buildRedirectPlan(e,c){if(c)return{reason:e,targetUrl:c}}emitForwardedRedirect(e,c){if(!this.forwardCashierRedirects)return!1;const a={type:`${Ce}:${c}`,originalType:c,payload:e.data,origin:e.origin};return window.postMessage(a,window.location.href),!0}doRedirect(e,c){const a={reason:e,url:c,cancel:!1};if(this.beforeRedirect(a),!a.cancel){if(!a.url){window.location.href="/";return}window.location.href=a.url}}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};ue.style=we;exports.user_deposit_withdrawal=ue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as oe, p as se, r as ue, h as S, H as de } from "./index-1ef3a64c-
|
|
1
|
+
import { b as oe, p as se, r as ue, h as S, H as de } from "./index-1ef3a64c-CbyV3cel.js";
|
|
2
2
|
import { g as le } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
3
|
var ce = () => {
|
|
4
4
|
const e = import.meta.url, l = {};
|
|
@@ -125,6 +125,8 @@ function X(e, l) {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
function K(e, l) {
|
|
128
|
+
if (!e || !l)
|
|
129
|
+
return;
|
|
128
130
|
const d = new URL(l);
|
|
129
131
|
fetch(d.href).then((c) => c.text()).then((c) => {
|
|
130
132
|
const y = document.createElement("style");
|
|
@@ -14,7 +14,7 @@ var Q = (e, l, o) => new Promise((c, m) => {
|
|
|
14
14
|
}, g = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(L, $);
|
|
15
15
|
g((o = o.apply(e, l)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as se, p as ue, r as de, h as D, H as le } from "./index-1ef3a64c-
|
|
17
|
+
import { b as se, p as ue, r as de, h as D, H as le } from "./index-1ef3a64c-BSgHacKO.js";
|
|
18
18
|
import { g as ce } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
19
|
var he = () => {
|
|
20
20
|
const e = import.meta.url, l = {};
|
|
@@ -143,6 +143,8 @@ function K(e, l) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
function ee(e, l) {
|
|
146
|
+
if (!e || !l)
|
|
147
|
+
return;
|
|
146
148
|
const o = new URL(l);
|
|
147
149
|
fetch(o.href).then((c) => c.text()).then((c) => {
|
|
148
150
|
const m = document.createElement("style");
|