@everymatrix/casino-header-controller 1.54.12 → 1.56.0
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/{CasinoHamburgerMenu-Dv3mR4gk.js → CasinoHamburgerMenu-B2TeHkyB.js} +1023 -1001
- package/components/{CasinoHamburgerMenu-DrXD2QZ-.js → CasinoHamburgerMenu-CUR5gaxv.js} +1048 -1026
- package/components/CasinoHamburgerMenu-DYL1HIps.cjs +8 -0
- package/components/CasinoHeaderController-CfLLPnem.cjs +13 -0
- package/components/{CasinoHeaderController-uM2BkEPQ.js → CasinoHeaderController-CrEqMU6h.js} +1019 -923
- package/components/{CasinoHeaderController-EYxUFHlv.js → CasinoHeaderController-Cv1RNj2L.js} +1056 -960
- package/components/CasinoSlider-BU9fkHDu.cjs +1 -0
- package/components/CasinoSlider-CS-q7BSV.js +803 -0
- package/components/CasinoSlider-DrD2osTb.js +797 -0
- package/components/PlayerAccountBalanceModal--zdJlg4L.js +1507 -0
- package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +13 -0
- package/components/PlayerAccountBalanceModal-aiqQaHCF.js +1536 -0
- package/components/{PlayerDeposit-B89_Vs9V.js → PlayerDeposit-BlD-xNdY.js} +128 -132
- package/components/{PlayerDeposit-CNy9cvEy.js → PlayerDeposit-DwGrlu-U.js} +128 -132
- package/components/PlayerDeposit-DzkmDtD0.cjs +1 -0
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-c7e52808-DGZdfQYz.cjs +1 -0
- package/stencil/{index-45f4006f-B0VyePmU.js → index-c7e52808-RGphQbEA.js} +44 -44
- package/stencil/{index-45f4006f-BYSN7Lmh.js → index-c7e52808-yJXIboHF.js} +46 -46
- package/stencil/{user-deposit-withdrawal-BEcaqAXR.js → user-deposit-withdrawal-1SJnPWvi.js} +257 -240
- package/stencil/{user-deposit-withdrawal-5ly7Quf_.js → user-deposit-withdrawal-BiZKbrT_.js} +181 -164
- package/stencil/user-deposit-withdrawal-CzeoKH00.cjs +59 -0
- package/components/CasinoHamburgerMenu-BGHo13mn.cjs +0 -8
- package/components/CasinoHeaderController-CfFUvcEO.cjs +0 -13
- package/components/CasinoSlider-5-1p-Xbc.js +0 -800
- package/components/CasinoSlider-BaotiKI5.cjs +0 -1
- package/components/CasinoSlider-Dm6jniCL.js +0 -806
- package/components/PlayerAccountBalanceModal-B1_uQAVA.js +0 -1540
- package/components/PlayerAccountBalanceModal-B_7fcnxz.cjs +0 -13
- package/components/PlayerAccountBalanceModal-Cs1yCHOI.js +0 -1511
- package/components/PlayerDeposit-DqZH75Dh.cjs +0 -1
- package/stencil/index-45f4006f-CT7q_gcU.cjs +0 -1
- package/stencil/user-deposit-withdrawal-CJUx01Ss.cjs +0 -59
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-BGHo13mn.cjs");function x(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const L={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 W(n){e.append_styles(n,"svelte-lvm6lo","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, 20px);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, 20px)}")}function j(n){let t,a,l,r,c,m,p,h,f,o,s=n[4]("titleDeposit")+"",d,w,b;return{c(){t=e.element("div"),a=e.svg_element("svg"),l=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"),p=e.svg_element("g"),h=e.svg_element("path"),f=e.space(),o=e.element("h2"),d=e.text(s),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(p,"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(o,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(u,D){e.insert(u,t,D),e.append(t,a),e.append(a,l),e.append(l,r),e.append(r,c),e.append(a,m),e.append(m,p),e.append(p,h),e.append(t,f),e.append(t,o),e.append(o,d),w||(b=e.listen(t,"click",n[17]),w=!0)},p(u,D){D&16&&s!==(s=u[4]("titleDeposit")+"")&&e.set_data(d,s)},d(u){u&&e.detach(t),w=!1,b()}}}function z(n){let t,a,l;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,l=n[3])||e.attr(a,"src",l),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,l=r[3])&&e.attr(a,"src",l)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,l)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(l,a)},d(r){r&&e.detach(t)}}}function q(n){let t,a,l,r=n[4]("titleDeposit")+"",c,m,p=n[5]&&j(n);function h(s,d){return s[1]?G:z}let f=h(n),o=f(n);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),l=e.element("h2"),c=e.text(r),m=e.space(),o.c(),e.attr(l,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,d){e.insert(s,t,d),p&&p.m(t,null),e.append(t,a),e.append(t,l),e.append(l,c),e.append(t,m),o.m(t,null),n[18](t)},p(s,[d]){s[5]&&p.p(s,d),d&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=h(s))&&o?o.p(s,d):(o.d(1),o=f(s),o&&(o.c(),o.m(t,null))),d&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),p&&p.d(),o.d(),n[18](null)}}}function N(n,t,a){let l,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:p=""}=t,{lang:h="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:o=""}=t,{clientstylingurl:s=""}=t,{translationurl:d=""}=t,{playercurrency:w=""}=t,{shortcashierenabled:b="false"}=t,u,D=window.navigator.userAgent,v=e.getDevice(D)!=="PC",M=!0,C,_=0,k="";const R=()=>{fetch(d).then(y=>y.json()).then(y=>{Object.keys(y).forEach(g=>{x(g,y[g])})}).catch(y=>{console.log(y)})};Object.keys(L).forEach(i=>{x(i,L[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},T=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,w=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,C=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/${p}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",h),l&&i.searchParams.append("isShortCashier",b),f)switch(w){case"USD":_=.4;break;case"CDF":_=1e3;break}let y={method:"POST",headers:{"X-SessionId":m,currency:w||"EUR",amount:_,cashierMode:"Default",IsShortCashier:b,accept:"application/json"}};fetch(i.href,y).then(g=>g.json()).then(g=>{a(1,M=!1),a(3,k=g.CashierUrl)},g=>{console.error(g)})},H=()=>{A(h)},P=()=>{let i=document.createElement("style");i.innerHTML=o,u.appendChild(i)},U=()=>{let i=new URL(s),y=document.createElement("style");fetch(i.href).then(g=>g.text()).then(g=>{y.innerHTML=g,setTimeout(()=>{u.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}));const F=()=>S();function I(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,a(0,u)})}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,p=i.playerid),"lang"in i&&a(11,h=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,o=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,d=i.translationurl),"playercurrency"in i&&a(7,w=i.playercurrency),"shortcashierenabled"in i&&a(16,b=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&h&&H(),n.$$.dirty&65536&&(l=b.toLocaleLowerCase()==="true"),n.$$.dirty&16385&&s&&u&&U(),n.$$.dirty&8193&&o&&u&&P(),n.$$.dirty&32768&&d&&R(),n.$$.dirty&69504&&m&&p&&c&&w&&h&&b&&B()},[u,M,C,k,r,v,S,w,c,m,p,h,f,o,s,d,b,F,I]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},W)}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 playercurrency(){return this.$$.ctx[7]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(E,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{},shortcashierenabled:{}},[],[],!0);exports.default=E;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var I=(t,e,n)=>new Promise((s,r)=>{var i=a=>{try{l(n.next(a))}catch(o){r(o)}},$=a=>{try{l(n.throw(a))}catch(o){r(o)}},l=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,$);l((n=n.apply(t,e)).next())});const wt="user-deposit-withdrawal",Y={hydratedSelectorName:"hydrated",lazyLoad:!0,updatable:!0};var Pt=Object.defineProperty,Tt=(t,e)=>{for(var n in e)Pt(t,n,{get:e[n],enumerable:!0})},_t="http://www.w3.org/2000/svg",xt="http://www.w3.org/1999/xhtml",X=new WeakMap,k=t=>X.get(t),Lt=(t,e)=>{X.set(e.$lazyInstance$=t,e)},At=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),t["s-p"]=[],t["s-rc"]=[],X.set(t,n)},M=(t,e)=>e in t,_=(t,e)=>(0,console.error)(t,e),R=new Map,It=(t,e,n)=>{const s=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(!r)return;const i=R.get(r);if(i)return i[s];{const $=l=>(R.set(r,l),l[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-CJUx01Ss.cjs")).then($,_)}}return import(`./${r}.entry.js`).then($=>(R.set(r,$),$[s]),$=>{_($,e.$hostElement$)})},b=new Map,jt="sty-id",Ot="{visibility:hidden}.hydrated{visibility:inherit}",nt="slot-fb{display:contents}slot-fb[hidden]{display:none}",U=typeof window!="undefined"?window:{},w=U.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},rt=t=>Promise.resolve(t),lt=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(t){}return!1})(),B=!1,m=[],it=[],bt=(t,e)=>n=>{t.push(n),B||(B=!0,p.$flags$&4?F(D):p.raf(D))},V=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){_(n)}t.length=0},D=()=>{V(m),V(it),(B=m.length>0)&&p.raf(D)},F=t=>rt().then(t),zt=bt(it),J=t=>(t=typeof t,t==="object"||t==="function");function $t(t){var e,n,s;return(s=(n=(e=t.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Ht={};Tt(Ht,{err:()=>ot,map:()=>Ut,ok:()=>W,unwrap:()=>Rt,unwrapErr:()=>qt});var W=t=>({isOk:!0,isErr:!1,value:t}),ot=t=>({isOk:!1,isErr:!0,value:t});function Ut(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then(s=>W(s)):W(n)}if(t.isErr){const n=t.value;return ot(n)}throw"should never get here"}var Rt=t=>{if(t.isOk)return t.value;throw t.value},qt=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e="")=>()=>{},Bt=(t,e)=>()=>{},at=(t,e,...n)=>{let s=null,r=null,i=!1,$=!1;const l=[],a=c=>{for(let d=0;d<c.length;d++)s=c[d],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof t!="function"&&!J(s))&&(s=String(s)),i&&$?l[l.length-1].$text$+=s:l.push(i?C(null,s):s),$=i)};if(a(n),e){e.key&&(r=e.key);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter(d=>c[d]).join(" "))}}const o=C(t,null);return o.$attrs$=e,l.length>0&&(o.$children$=l),o.$key$=r,o},C=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ct={},Dt=t=>t&&t.$tag$===ct,G=(t,e)=>t!=null&&!J(t)?e&4?t==="false"?!1:t===""||!!t:e&1?String(t):t:t,Wt=(t,e,n)=>{const s=p.ce(e,n);return t.dispatchEvent(s),s},L=new WeakMap,Ct=(t,e,n)=>{let s=b.get(t);lt&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=e:s.replaceSync(e)):s=e,b.set(t,s)},Gt=(t,e,n)=>{var s;const r=ft(e),i=b.get(r);if(t=t.nodeType===11?t:w,i)if(typeof i=="string"){t=t.head||t;let $=L.get(t),l;if($||L.set(t,$=new Set),!$.has(r)){{l=document.querySelector(`[${jt}="${r}"]`)||w.createElement("style"),l.innerHTML=i;const a=(s=p.$nonce$)!=null?s:$t(w);if(a!=null&&l.setAttribute("nonce",a),!(e.$flags$&1))if(t.nodeName==="HEAD"){const o=t.querySelectorAll("link[rel=preconnect]"),c=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(c==null?void 0:c.parentNode)===t?c:null)}else if("host"in t)if(lt){const o=new CSSStyleSheet;o.replaceSync(i),t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.innerHTML=i+o.innerHTML:t.prepend(l)}else t.append(l);e.$flags$&1&&t.insertBefore(l,null)}e.$flags$&4&&(l.innerHTML+=nt),$&&$.add(r)}}else t.adoptedStyleSheets.includes(i)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]);return r},Yt=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,s=e.$flags$,r=P("attachStyles",e.$tagName$),i=Gt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(s&10&&s&2||s&128)&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ft=(t,e)=>"sc-"+t.$tagName$,N=(t,e,n,s,r,i,$)=>{if(n!==s){let l=M(t,e),a=e.toLowerCase();if(e==="class"){const o=t.classList,c=tt(n);let d=tt(s);o.remove(...c.filter(f=>f&&!d.includes(f))),o.add(...d.filter(f=>f&&!c.includes(f)))}else if(e==="style"){for(const o in n)(!s||s[o]==null)&&(o.includes("-")?t.style.removeProperty(o):t.style[o]="");for(const o in s)(!n||s[o]!==n[o])&&(o.includes("-")?t.style.setProperty(o,s[o]):t.style[o]=s[o])}else if(e!=="key")if(e==="ref")s&&s(t);else if(!l&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):M(U,a)?e=a.slice(2):e=a[2]+e.slice(3),n||s){const o=e.endsWith(dt);e=e.replace(Ft,""),n&&p.rel(t,e,n,o),s&&p.ael(t,e,s,o)}}else{const o=J(s);if((l||o&&s!==null)&&!r)try{if(t.tagName.includes("-"))t[e]!==s&&(t[e]=s);else{const c=s==null?"":s;e==="list"?l=!1:(n==null||t[e]!=c)&&(typeof t.__lookupSetter__(e)=="function"?t[e]=c:t.setAttribute(e,c))}}catch(c){}s==null||s===!1?(s!==!1||t.getAttribute(e)==="")&&t.removeAttribute(e):(!l||i&4||r)&&!o&&(s=s===!0?"":s,t.setAttribute(e,s))}}},Xt=/\s/,tt=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),!t||typeof t!="string"?[]:t.split(Xt)),dt="Capture",Ft=new RegExp(dt+"$"),ut=(t,e,n,s)=>{const r=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,i=t&&t.$attrs$||{},$=e.$attrs$||{};for(const l of et(Object.keys(i)))l in $||N(r,l,i[l],void 0,n,e.$flags$);for(const l of et(Object.keys($)))N(r,l,i[l],$[l],n,e.$flags$)};function et(t){return t.includes("ref")?[...t.filter(e=>e!=="ref"),"ref"]:t}var K,y=!1,z=(t,e,n)=>{const s=e.$children$[n];let r=0,i,$;if(s.$text$!==null)i=s.$elm$=w.createTextNode(s.$text$);else{if(y||(y=s.$tag$==="svg"),i=s.$elm$=w.createElementNS(y?_t:xt,s.$tag$),y&&s.$tag$==="foreignObject"&&(y=!1),ut(null,s,y),s.$children$)for(r=0;r<s.$children$.length;++r)$=z(t,s,r),$&&i.appendChild($);s.$tag$==="svg"?y=!1:i.tagName==="foreignObject"&&(y=!0)}return i["s-hn"]=K,i},ht=(t,e,n,s,r,i)=>{let $=t,l;for($.shadowRoot&&$.tagName===K&&($=$.shadowRoot);r<=i;++r)s[r]&&(l=z(null,n,r),l&&(s[r].$elm$=l,O($,l,e)))},pt=(t,e,n)=>{for(let s=e;s<=n;++s){const r=t[s];if(r){const i=r.$elm$;gt(r),i&&i.remove()}}},Jt=(t,e,n,s,r=!1)=>{let i=0,$=0,l=0,a=0,o=e.length-1,c=e[0],d=e[o],f=s.length-1,u=s[0],h=s[f],g,S;for(;i<=o&&$<=f;)if(c==null)c=e[++i];else if(d==null)d=e[--o];else if(u==null)u=s[++$];else if(h==null)h=s[--f];else if(j(c,u,r))x(c,u,r),c=e[++i],u=s[++$];else if(j(d,h,r))x(d,h,r),d=e[--o],h=s[--f];else if(j(c,h,r))x(c,h,r),O(t,c.$elm$,d.$elm$.nextSibling),c=e[++i],h=s[--f];else if(j(d,u,r))x(d,u,r),O(t,d.$elm$,c.$elm$),d=e[--o],u=s[++$];else{for(l=-1,a=i;a<=o;++a)if(e[a]&&e[a].$key$!==null&&e[a].$key$===u.$key$){l=a;break}l>=0?(S=e[l],S.$tag$!==u.$tag$?g=z(e&&e[$],n,l):(x(S,u,r),e[l]=void 0,g=S.$elm$),u=s[++$]):(g=z(e&&e[$],n,$),u=s[++$]),g&&O(c.$elm$.parentNode,g,c.$elm$)}i>o?ht(t,s[f+1]==null?null:s[f+1].$elm$,n,s,$,f):$>f&&pt(e,i,o)},j=(t,e,n=!1)=>t.$tag$===e.$tag$?n?(n&&!t.$key$&&e.$key$&&(t.$key$=e.$key$),!0):t.$key$===e.$key$:!1,x=(t,e,n=!1)=>{const s=e.$elm$=t.$elm$,r=t.$children$,i=e.$children$,$=e.$tag$,l=e.$text$;l===null?(y=$==="svg"?!0:$==="foreignObject"?!1:y,ut(t,e,y),r!==null&&i!==null?Jt(s,r,e,i,n):i!==null?(t.$text$!==null&&(s.textContent=""),ht(s,null,e,i,0,i.length-1)):!n&&Y.updatable&&r!==null&&pt(r,0,r.length-1),y&&$==="svg"&&(y=!1)):t.$text$!==l&&(s.data=l)},gt=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(gt)},O=(t,e,n)=>t==null?void 0:t.insertBefore(e,n),Kt=(t,e,n=!1)=>{const s=t.$hostElement$,r=t.$cmpMeta$,i=t.$vnode$||C(null,null),$=Dt(e)?e:at(null,null,e);if(K=s.tagName,r.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},r.$attrsToReflect$.map(([l,a])=>$.$attrs$[a]=s[l])),n&&$.$attrs$)for(const l of Object.keys($.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&($.$attrs$[l]=s[l]);$.$tag$=null,$.$flags$|=4,t.$vnode$=$,$.$elm$=i.$elm$=s.shadowRoot||s,r.$flags$&1&&r.$flags$&128,x(i,$,n)},vt=(t,e)=>{if(e&&!t.$onRenderResolve$&&e["s-p"]){const n=e["s-p"].push(new Promise(s=>t.$onRenderResolve$=()=>{e["s-p"].splice(n-1,1),s()}))}},Q=(t,e)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return vt(t,t.$ancestorComponent$),zt(()=>Qt(t,e))},Qt=(t,e)=>{const n=t.$hostElement$,s=P("scheduleUpdate",t.$cmpMeta$.$tagName$),r=t.$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 e&&(i=H(r,"componentWillLoad",void 0,n)),s(),Zt(i,()=>mt(t,r,e))},Zt=(t,e)=>Mt(t)?t.then(e).catch(n=>{console.error(n),e()}):e(),Mt=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",mt=(t,e,n)=>I(exports,null,function*(){var s;const r=t.$hostElement$,i=P("update",t.$cmpMeta$.$tagName$),$=r["s-rc"];n&&Yt(t);const l=P("render",t.$cmpMeta$.$tagName$);Vt(t,e,r,n),$&&($.map(a=>a()),r["s-rc"]=void 0),l(),i();{const a=(s=r["s-p"])!=null?s:[],o=()=>Nt(t);a.length===0?o():(Promise.all(a).then(o),t.$flags$|=4,a.length=0)}}),Vt=(t,e,n,s)=>{try{e=e.render(),t.$flags$&=-17,t.$flags$|=2,Kt(t,e,s)}catch(r){_(r,t.$hostElement$)}return null},Nt=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,s=P("postUpdate",e),r=t.$lazyInstance$,i=t.$ancestorComponent$;H(r,"componentDidRender",void 0,n),t.$flags$&64?s():(t.$flags$|=64,te(n),H(r,"componentDidLoad",void 0,n),s(),t.$onReadyResolve$(n),i||yt()),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&F(()=>Q(t,!1)),t.$flags$&=-517},yt=t=>{F(()=>Wt(U,"appload",{detail:{namespace:wt}}))},H=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(r){_(r,s)}},te=t=>{var e;return t.classList.add((e=Y.hydratedSelectorName)!=null?e:"hydrated")},ee=(t,e)=>k(t).$instanceValues$.get(e),q=(t,e,n,s)=>{const r=k(t);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$,$=r.$instanceValues$.get(e),l=r.$flags$,a=r.$lazyInstance$;n=G(n,s.$members$[e][0]);const o=Number.isNaN($)&&Number.isNaN(n),c=n!==$&&!o;if((!(l&8)||$===void 0)&&c&&(r.$instanceValues$.set(e,n),a)){if(s.$watchers$&&l&128){const d=s.$watchers$[e];d&&d.map(f=>{try{a[f](n,$,e)}catch(u){_(u,i)}})}(l&18)===2&&Q(r,!1)}},St=(t,e,n)=>{var s,r;const i=t.prototype;if(e.$members$||e.$watchers$||t.watchers){t.watchers&&!e.$watchers$&&(e.$watchers$=t.watchers);const $=Object.entries((s=e.$members$)!=null?s:{});if($.map(([l,[a]])=>{if(a&31||n&2&&a&32){const{get:o,set:c}=Object.getOwnPropertyDescriptor(i,l)||{};o&&(e.$members$[l][0]|=2048),c&&(e.$members$[l][0]|=4096),(n&1||!o)&&Object.defineProperty(i,l,{get(){{if(!(e.$members$[l][0]&2048))return ee(this,l);const d=k(this),f=d?d.$lazyInstance$:i;return f?f[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(d){const f=k(this);if(c){const u=a&32?this[l]:f.$hostElement$[l];typeof u=="undefined"&&f.$instanceValues$.get(l)?d=f.$instanceValues$.get(l):!f.$instanceValues$.get(l)&&u&&f.$instanceValues$.set(l,u),c.apply(this,[G(d,a)]),d=a&32?this[l]:f.$hostElement$[l],q(this,l,d,e);return}{if(!(n&1)||!(e.$members$[l][0]&4096)){q(this,l,d,e),n&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{e.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=d)});return}const u=()=>{const h=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&h&&f.$instanceValues$.set(l,h),f.$lazyInstance$[l]=G(d,a),q(this,l,f.$lazyInstance$[l],e)};f.$lazyInstance$?u():f.$onReadyPromise$.then(()=>u())}}})}}),n&1){const l=new Map;i.attributeChangedCallback=function(a,o,c){p.jmp(()=>{var d;const f=l.get(a);if(this.hasOwnProperty(f)&&Y.lazyLoad)c=this[f],delete this[f];else{if(i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const h=k(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&c!==o){const S=h.$lazyInstance$,v=(d=e.$watchers$)==null?void 0:d[a];v==null||v.forEach(T=>{S[T]!=null&&S[T].call(S,c,o,a)})}return}}const u=Object.getOwnPropertyDescriptor(i,f);c=c===null&&typeof this[f]=="boolean"?!1:c,c!==this[f]&&(!u.get||u.set)&&(this[f]=c)})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!=null?r:{}),...$.filter(([a,o])=>o[0]&15).map(([a,o])=>{var c;const d=o[1]||a;return l.set(d,a),o[0]&512&&((c=e.$attrsToReflect$)==null||c.push([a,d])),d})]))}}return t},se=(t,e,n,s)=>I(exports,null,function*(){let r;if(!(e.$flags$&32)){if(e.$flags$|=32,n.$lazyBundleId$){const a=It(n,e);if(a&&"then"in a){const c=Bt();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${e.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,St(r,n,2),r.isProxied=!0);const o=P("createInstance",n.$tagName$);e.$flags$|=8;try{new r(e)}catch(c){_(c,t)}e.$flags$&=-9,e.$flags$|=128,o()}else{r=t.constructor;const a=t.localName;customElements.whenDefined(a).then(()=>e.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=ft(n);if(!b.has(o)){const c=P("registerStyles",n.$tagName$);Ct(o,a,!!(n.$flags$&1)),c()}}}const i=e.$ancestorComponent$,$=()=>Q(e,!0);i&&i["s-rc"]?i["s-rc"].push($):$()}),ne=(t,e)=>{},re=t=>{if(!(p.$flags$&1)){const e=k(t),n=e.$cmpMeta$,s=P("connectedCallback",n.$tagName$);if(e.$flags$&1)e!=null&&e.$lazyInstance$||e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>ne());else{e.$flags$|=1;{let r=t;for(;r=r.parentNode||r.host;)if(r["s-p"]){vt(e,e.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&t.hasOwnProperty(r)){const $=t[r];delete t[r],t[r]=$}}),se(t,e,n)}s()}},st=(t,e)=>{H(t,"disconnectedCallback",void 0,e||t)},le=t=>I(exports,null,function*(){if(!(p.$flags$&1)){const e=k(t);e!=null&&e.$lazyInstance$?st(e.$lazyInstance$,t):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>st(e.$lazyInstance$,t))}L.has(t)&&L.delete(t),t.shadowRoot&&L.has(t.shadowRoot)&&L.delete(t.shadowRoot)}),ie=(t,e={})=>{var n;const s=P(),r=[],i=e.exclude||[],$=U.customElements,l=w.head,a=l.querySelector("meta[charset]"),o=w.createElement("style"),c=[];let d,f=!0;Object.assign(p,e),p.$resourcesUrl$=new URL(e.resourcesUrl||"./",w.baseURI).href;let u=!1;if(t.map(h=>{h[1].map(g=>{var S;const v={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};v.$flags$&4&&(u=!0),v.$members$=g[2],v.$attrsToReflect$=[],v.$watchers$=(S=g[4])!=null?S:{};const T=v.$tagName$,Et=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,At(E,v),v.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),d&&(clearTimeout(d),d=null),f?c.push(this):p.jmp(()=>re(this))}disconnectedCallback(){p.jmp(()=>le(this)),p.raf(()=>{var E;const A=k(this),Z=c.findIndex(kt=>kt===this);Z>-1&&c.splice(Z,1),((E=A==null?void 0:A.$vnode$)==null?void 0:E.$elm$)instanceof Node&&!A.$vnode$.$elm$.isConnected&&delete A.$vnode$.$elm$})}componentOnReady(){return k(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!i.includes(T)&&!$.get(T)&&(r.push(T),$.define(T,St(Et,v,1)))})}),r.length>0&&(u&&(o.textContent+=nt),o.textContent+=r.sort()+Ot,o.innerHTML.length)){o.setAttribute("data-styles","");const h=(n=p.$nonce$)!=null?n:$t(w);h!=null&&o.setAttribute("nonce",h),l.insertBefore(o,a?a.nextSibling:l.firstChild)}f=!1,c.length?c.map(h=>h.connectedCallback()):p.jmp(()=>d=setTimeout(yt,30)),s()};exports.Host=ct;exports.bootstrapLazy=ie;exports.h=at;exports.promiseResolve=rt;exports.registerInstance=Lt;
|
@@ -1,59 +0,0 @@
|
|
1
|
-
"use strict";var Q=(i,p,u)=>new Promise((l,g)=>{var L=c=>{try{m(u.next(c))}catch(D){g(D)}},w=c=>{try{m(u.throw(c))}catch(D){g(D)}},m=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);m((u=u.apply(i,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index-45f4006f-CT7q_gcU.cjs"),oe=require("./app-globals-0f993ce5-sCt45RkC.cjs");var K=typeof document!="undefined"?document.currentScript:null,se=()=>{const i=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CJUx01Ss.cjs",document.baseURI).href,p={};return i!==""&&(p.resourcesUrl=new URL(".",i).href),$.promiseResolve(p)};se().then(i=>Q(exports,null,function*(){return yield oe.globalScripts(),$.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{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],limitStylingAppends:[32],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"]}]]]],i)}));const de="en",ue=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ee={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",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 depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",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"}},ce=i=>new Promise(p=>{fetch(i).then(u=>u.json()).then(u=>{Object.keys(u).forEach(l=>{for(let g in u[l])ee[l][g]=u[l][g]}),p(!0)})}),I=(i,p)=>{const u=p;return ee[u!==void 0&&ue.includes(u)?u:de][i]},le=i=>!!(i.toLowerCase().match(/android/i)||i.toLowerCase().match(/blackberry|bb/i)||i.toLowerCase().match(/iphone|ipad|ipod/i)||i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var te=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},re={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u=1e3,l=6e4,g=36e5,L="millisecond",w="second",m="minute",c="hour",D="day",q="week",M="month",N="quarter",k="year",O="date",o="Invalid Date",W=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|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(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},U=function(a,r,e){var n=String(a);return!n||n.length>=r?a:""+Array(r+1-n.length).join(e)+a},G={s:U,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+U(n,2,"0")+":"+U(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(n,M),s=e-t<0,d=r.clone().add(n+(s?-1:1),M);return+(-(n+(e-t)/(s?t-d:d-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:D,D:O,h:c,m,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=H;var P="$isDayjsObject",A=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,n){var t;if(!r)return j;if(typeof r=="string"){var s=r.toLowerCase();z[s]&&(t=s),e&&(z[s]=e,t=s);var d=r.split("-");if(!t&&d.length>1)return a(d[0])}else{var f=r.name;z[f]=r,t=f}return!n&&t&&(j=t),t||!n&&j},v=function(a,r){if(A(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},h=G;h.l=E,h.i=A,h.w=function(a,r){return v(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(n){var t=n.date,s=n.utc;if(t===null)return new Date(NaN);if(h.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var d=t.match(W);if(d){var f=d[2]-1||0,y=(d[7]||"0").substring(0,3);return s?new Date(Date.UTC(d[1],f,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)):new Date(d[1],f,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return h},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,n){var t=v(e);return this.startOf(n)<=t&&t<=this.endOf(n)},r.isAfter=function(e,n){return v(e)<this.startOf(n)},r.isBefore=function(e,n){return this.endOf(n)<v(e)},r.$g=function(e,n,t){return h.u(e)?this[n]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,n){var t=this,s=!!h.u(n)||n,d=h.p(e),f=function(R,b){var x=h.w(t.$u?Date.UTC(t.$y,b,R):new Date(t.$y,b,R),t);return s?x:x.endOf(D)},y=function(R,b){return h.w(t.toDate()[R].apply(t.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(b)),t)},C=this.$W,S=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case k:return s?f(1,0):f(31,11);case M:return s?f(1,S):f(0,S+1);case q:var _=this.$locale().weekStart||0,B=(C<_?C+7:C)-_;return f(s?T-B:T+(6-B),S);case D:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case m:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,n){var t,s=h.p(e),d="set"+(this.$u?"UTC":""),f=(t={},t[D]=d+"Date",t[O]=d+"Date",t[M]=d+"Month",t[k]=d+"FullYear",t[c]=d+"Hours",t[m]=d+"Minutes",t[w]=d+"Seconds",t[L]=d+"Milliseconds",t)[s],y=s===D?this.$D+(n-this.$W):n;if(s===M||s===k){var C=this.clone().set(O,1);C.$d[f](y),C.init(),this.$d=C.set(O,Math.min(this.$D,C.daysInMonth())).$d}else f&&this.$d[f](y);return this.init(),this},r.set=function(e,n){return this.clone().$set(e,n)},r.get=function(e){return this[h.p(e)]()},r.add=function(e,n){var t,s=this;e=Number(e);var d=h.p(n),f=function(S){var T=v(s);return h.w(T.date(T.date()+Math.round(S*e)),s)};if(d===M)return this.set(M,this.$M+e);if(d===k)return this.set(k,this.$y+e);if(d===D)return f(1);if(d===q)return f(7);var y=(t={},t[m]=l,t[c]=g,t[w]=u,t)[d]||1,C=this.$d.getTime()+e*y;return h.w(C,this)},r.subtract=function(e,n){return this.add(-1*e,n)},r.format=function(e){var n=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var s=e||"YYYY-MM-DDTHH:mm:ssZ",d=h.z(this),f=this.$H,y=this.$m,C=this.$M,S=t.weekdays,T=t.months,Y=t.meridiem,_=function(b,x,V,J){return b&&(b[x]||b(n,s))||V[x].slice(0,J)},B=function(b){return h.s(f%12||12,b,"0")},R=Y||function(b,x,V){var J=b<12?"AM":"PM";return V?J.toLowerCase():J};return s.replace(F,function(b,x){return x||function(V){switch(V){case"YY":return String(n.$y).slice(-2);case"YYYY":return h.s(n.$y,4,"0");case"M":return C+1;case"MM":return h.s(C+1,2,"0");case"MMM":return _(t.monthsShort,C,T,3);case"MMMM":return _(T,C);case"D":return n.$D;case"DD":return h.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return _(t.weekdaysMin,n.$W,S,2);case"ddd":return _(t.weekdaysShort,n.$W,S,3);case"dddd":return S[n.$W];case"H":return String(f);case"HH":return h.s(f,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return R(f,y,!0);case"A":return R(f,y,!1);case"m":return String(y);case"mm":return h.s(y,2,"0");case"s":return String(n.$s);case"ss":return h.s(n.$s,2,"0");case"SSS":return h.s(n.$ms,3,"0");case"Z":return d}return null}(b)||d.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,n,t){var s,d=this,f=h.p(n),y=v(e),C=(y.utcOffset()-this.utcOffset())*l,S=this-y,T=function(){return h.m(d,y)};switch(f){case k:s=T()/12;break;case M:s=T();break;case N:s=T()/3;break;case q:s=(S-C)/6048e5;break;case D:s=(S-C)/864e5;break;case c:s=S/g;break;case m:s=S/l;break;case w:s=S/u;break;default:s=S}return t?s:h.a(s)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,n){if(!e)return this.$L;var t=this.clone(),s=E(e,n,!0);return s&&(t.$L=s),t},r.clone=function(){return h.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return v.prototype=X,[["$ms",L],["$s",w],["$m",m],["$H",c],["$W",D],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),v.extend=function(a,r){return a.$i||(a(r,Z,v),a.$i=!0),v},v.locale=E,v.isDayjs=A,v.unix=function(a){return v(1e3*a)},v.en=z[j],v.Ls=z,v.p={},v})})(re);const ne=re.exports;var ie={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u="minute",l=/[+-]\d\d(?::?\d\d)?/g,g=/([+-]|\d\d)/g;return function(L,w,m){var c=w.prototype;m.utc=function(o){var W={date:o,utc:!0,args:arguments};return new w(W)},c.utc=function(o){var W=m(this.toDate(),{locale:this.$L,utc:!0});return o?W.add(this.utcOffset(),u):W},c.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var D=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),D.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,W){var F=this.$utils().u;if(F(o))return this.$u?0:F(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(g)||["-",0,0],A=P[0],E=60*+P[1]+ +P[2];return E===0?0:A==="+"?E:-E}(o),o===null))return this;var H=Math.abs(o)<=16?60*o:o,U=this;if(W)return U.$offset=H,U.$u=o===0,U;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(U=this.local().add(H+G,u)).$offset=H,U.$x.$localOffset=G}else U=this.utc();return U};var N=c.format;c.format=function(o){var W=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,W)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,W,F){if(o&&this.$u===o.$u)return O.call(this,o,W,F);var H=this.local(),U=m(o).local();return O.call(H,U,W,F)}}})})(ie);const he=ie.exports,fe=`:host {
|
2
|
-
font: inherit;
|
3
|
-
display: block;
|
4
|
-
height: 100%;
|
5
|
-
overflow: hidden;
|
6
|
-
}
|
7
|
-
|
8
|
-
.CategoryTitle {
|
9
|
-
font-size: var(--emw--font-size-x-large, 26px);
|
10
|
-
color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
11
|
-
}
|
12
|
-
|
13
|
-
.MenuReturnButton {
|
14
|
-
font: inherit;
|
15
|
-
color: var(--emw--color-gray-300, #58586B);
|
16
|
-
display: inline-flex;
|
17
|
-
align-items: center;
|
18
|
-
column-gap: 10px;
|
19
|
-
margin-bottom: 10px;
|
20
|
-
}
|
21
|
-
.MenuReturnButton svg {
|
22
|
-
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
23
|
-
}
|
24
|
-
.MenuReturnButton h2.CategoryTitleMobile {
|
25
|
-
font-size: 16px;
|
26
|
-
color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
27
|
-
}
|
28
|
-
|
29
|
-
.ErrorMessage {
|
30
|
-
color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));
|
31
|
-
}
|
32
|
-
|
33
|
-
.DepositWithdrawalWrapper {
|
34
|
-
width: 100%;
|
35
|
-
padding: 0;
|
36
|
-
margin: 0;
|
37
|
-
height: 100vh;
|
38
|
-
}
|
39
|
-
|
40
|
-
@container (max-width: 475px) {
|
41
|
-
.DepositWithdrawalWrapper {
|
42
|
-
height: 100vh;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
.ShortCashier.DepositWithdrawalWrapper {
|
46
|
-
height: 500px;
|
47
|
-
}
|
48
|
-
.ShortCashier.CategoryTitle.CategoryTitle {
|
49
|
-
margin-right: 20px;
|
50
|
-
padding-top: 20px;
|
51
|
-
color: ar(--emw--color-black, #000000);
|
52
|
-
}
|
53
|
-
.ShortCashier .ErrorMessage {
|
54
|
-
margin: auto;
|
55
|
-
width: 90%;
|
56
|
-
margin-top: 70px;
|
57
|
-
text-align: center;
|
58
|
-
color: var(--emw--color-black, #000000);
|
59
|
-
}`,pe=fe;ne.extend(he);const me=()=>{},ae=class{constructor(i){$.registerInstance(this,i),this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.beforeRedirect=me,this.limitStylingAppends=!1,this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=le(this.userAgent),this.errorCodes=["21123","21122"],this.setClientStyling=()=>{let p=document.createElement("style");p.innerHTML=this.clientStyling,this.stylingContainer.prepend(p)},this.setClientStylingURL=()=>{let p=new URL(this.clientStylingUrl),u=document.createElement("style");fetch(p.href).then(l=>l.text()).then(l=>{u.innerHTML=l,setTimeout(()=>{this.stylingContainer.prepend(u)},1)}).catch(l=>{console.log("error ",l)})}}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return ce(this.translationUrl)})}toggleScreen(i){window.postMessage({type:"PlayerAccountMenuActive",isMobile:i},window.location.href)}componentDidLoad(){window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}render(){return $.h($.Host,{key:"4c6783c9cccc65e31901eb8755729147da7c3771"},$.h("div",{key:"afbbc15e1210ef1ade3c094b84c12485ff94e438",ref:i=>this.stylingContainer=i},!(this.isMobile&&!this.isShortCashier)&&$.h("h2",{key:"99b64c5ef99e55335c4f3066f448dd19a4eeaad0",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),$.h("div",{key:"eba951ef1cb0f291a3a44fd89d8da8f70ee7eba8",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},$.h("div",{key:"abd3d5958091437af76efb311a49a30f6ba4a7eb"},this.isMobile&&!this.isShortCashier?$.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},$.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},$.h("defs",null),$.h("g",{transform:"translate(-20 -158)"},$.h("g",{transform:"translate(20 158)"},$.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)"})))),$.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?$.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):$.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const i={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};try{const p=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,u=yield fetch(p,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ne.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(i)});if(!u.ok){const g=yield u.text();throw new Error(g)}const l=yield u.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let g;if(l.ResponseMessage){let w=this.errorCodes.find(m=>l.ResponseMessage.includes(m))||null;w?g=I(`errorCode${w}`,this.language):g=I("notFoundErrorCode",this.language)}else g=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:g};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(p){console.error(p)}})}handleMessage(i){var p,u,l,g,L,w,m,c;i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=i.data["MMFE:setIFrameHeight"].toString()+"px"),((p=i.data)===null||p===void 0?void 0:p.type)==="mm-hcback-to-merchant"&&this.doRedirect(i.data.type,this.homeUrl),((u=i.data)===null||u===void 0?void 0:u.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(i.data.redirect,this.homeUrl),((l=i.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((g=i.data)===null||g===void 0?void 0:g.redirect,this.sportsUrl),((L=i.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=i.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((m=i.data)===null||m===void 0?void 0:m.redirect)==="mm-wm-hc-init-deposit"||((c=i.data)===null||c===void 0?void 0:c.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(i,p){const u={reason:i,url:p,cancel:!1};if(this.beforeRedirect(u),!u.cancel){if(!u.url){window.location.href="/";return}window.location.href=u.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"]}}};ae.style=pe;exports.user_deposit_withdrawal=ae;
|