@everymatrix/casino-header-controller 1.99.56 → 1.99.59
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-DPONn7Oe.cjs → CasinoHamburgerMenu-CzeKkKci.cjs} +1 -1
- package/components/{CasinoHamburgerMenu-uR8GGiGu.js → CasinoHamburgerMenu-DdNehE7W.js} +1 -1
- package/components/{CasinoHamburgerMenu-CXUi_NcT.js → CasinoHamburgerMenu-Dxkzh_E1.js} +1 -1
- package/components/{CasinoHeaderController-DkBA9yLf.js → CasinoHeaderController-BJHE9_b-.js} +44 -75
- package/components/{CasinoHeaderController-CSlIjF2w.js → CasinoHeaderController-CsTxfd0_.js} +43 -74
- package/components/{CasinoHeaderController-4pGirukJ.cjs → CasinoHeaderController-D9FSbrCG.cjs} +2 -2
- package/components/{CasinoSlider-Cp-AeQjz.js → CasinoSlider-Ce2lSotf.js} +2 -3
- package/components/{CasinoSlider-7EQwu2tM.cjs → CasinoSlider-Co5xab5T.cjs} +1 -1
- package/components/{CasinoSlider-CElWGDXe.js → CasinoSlider-HOauRzp1.js} +2 -3
- package/components/{PlayerAccountBalanceModal-CiC5x5pH.js → PlayerAccountBalanceModal-Bj7Qwo5T.js} +4 -7
- package/components/{PlayerAccountBalanceModal-jtA37xTC.cjs → PlayerAccountBalanceModal-D9SJ7sQV.cjs} +1 -1
- package/components/{PlayerAccountBalanceModal-CQH4-Eew.js → PlayerAccountBalanceModal-DEG9h-K_.js} +4 -7
- package/components/{PlayerDeposit-BBdZhQ-P.js → PlayerDeposit-8un1SiE3.js} +1 -1
- package/components/{PlayerDeposit-JwFZg0JI.js → PlayerDeposit-B6dfA6EI.js} +1 -1
- package/components/{PlayerDeposit-CEvi6Jjd.cjs → PlayerDeposit-CLxhSnGm.cjs} +1 -1
- 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/{gamification-dropdown-BUiRE_Yx.js → gamification-dropdown-CHW-Glad.js} +1 -1
- package/stencil/{gamification-dropdown-BQS6hhP4.js → gamification-dropdown-DKnyNo7M.js} +1 -1
- package/stencil/{gamification-dropdown-f420baf5-BCKjHtD4.js → gamification-dropdown-f420baf5-CpV86iLI.js} +4 -7
- package/stencil/{gamification-dropdown-f420baf5-BfpzhUn7.js → gamification-dropdown-f420baf5-hxawEvvP.js} +4 -7
- package/stencil/{gamification-dropdown_4-SKRyZsxx.js → gamification-dropdown_4-D2brMh98.js} +4 -4
- package/stencil/{gamification-dropdown_4-DWLkL87g.js → gamification-dropdown_4-koAPynKk.js} +4 -4
- package/stencil/{index-2ff63899-Bmsl_n53.js → index-2ff63899-BQ-GC1uS.js} +22 -24
- package/stencil/{index-2ff63899-M3OBLBOo.js → index-2ff63899-DKFAXj5b.js} +22 -24
- package/stencil/{index-71b1bdfa-84w5HKVY.js → index-71b1bdfa-DcRfp7Bw.js} +29 -32
- package/stencil/{index-71b1bdfa-BZYNHaid.js → index-71b1bdfa-DrWRaZgu.js} +29 -32
- package/stencil/{player-elevate-card-DhtGdXIs.js → player-elevate-card-BeJL1dIS.js} +2 -2
- package/stencil/{player-elevate-card-DLTz3i6G.js → player-elevate-card-CNdSObQl.js} +2 -2
- package/stencil/{player-elevate-card-items-00ff462d-BpMYjbkg.js → player-elevate-card-items-00ff462d-9tnMi2yJ.js} +3 -5
- package/stencil/{player-elevate-card-items-00ff462d-BG3JQcrm.js → player-elevate-card-items-00ff462d-COKplVWA.js} +3 -5
- package/stencil/{player-elevate-optcard-Con-pI2g.js → player-elevate-optcard-B0GvjhkS.js} +1 -1
- package/stencil/{player-elevate-optcard-CXMaEK83.js → player-elevate-optcard-C5ieVR8c.js} +1 -1
- package/stencil/{player-elevate-pointcard-8tLbC5i_.js → player-elevate-pointcard-BHzVcwx2.js} +2 -2
- package/stencil/{player-elevate-pointcard-DfasvCvq.js → player-elevate-pointcard-Ce1paG4w.js} +2 -2
- package/stencil/{player-rakeback-card-NWvDs0b6.js → player-rakeback-card-C30ouLzC.js} +1 -1
- package/stencil/{player-rakeback-card-C6_twj91.js → player-rakeback-card-C9uhgV0H.js} +1 -1
- package/stencil/{player-step-up-auth_2-sIyE7PcU.js → player-step-up-auth_2-DOHSo_hl.js} +26 -51
- package/stencil/{player-step-up-auth_2-CTrT3eAX.js → player-step-up-auth_2-fYr_xGVR.js} +26 -51
- package/stencil/{user-deposit-withdrawal-vUNB12t8.js → user-deposit-withdrawal-D0uCr6L-.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Ds_hHXZo.js → user-deposit-withdrawal-DaN2eAki.js} +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderController-4pGirukJ.cjs");function V(a,{delay:t=0,duration:l=400,easing:n=e.identity}={}){const i=+getComputedStyle(a).opacity;return{delay:t,duration:l,easing:n,css:o=>`opacity: ${o*i}`}}function X(a,t){e.addMessages(a,t)}function Me(a){e.$locale.set(a)}const G={en:{language:"Select Language"},"zh-hk":{language:"選擇語言"},fr:{language:"Sélectionner la langue"},tr:{language:"Dil Seçin"},ro:{language:"Selecteaza limba"},es:{language:"Seleccionar idioma"},pt:{language:"Selecione o idioma"},hr:{language:"Izaberi jezik"},"pt-br":{language:"Escolha o seu idioma"},"es-mx":{language:"Escoger idioma"},"en-us":{language:"Select Language"}};function ke(a){e.append_styles(a,"svelte-1bq06b7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}")}function J(a,t,l){const n=a.slice();return n[53]=t[l],n}function K(a,t,l){const n=a.slice();return n[1]=t[l],n}function Q(a,t,l){const n=a.slice();return n[56]=t[l],n}function Y(a,t,l){const n=a.slice();return n[59]=t[l],n}const He=a=>({}),Z=a=>({});function $(a){let t,l,n,i,o,r,u,c,g,_,b,w,f,h,L,W;const I=a[31].close,S=e.create_slot(I,a,a[30],Z),x=S||xe();let F=e.ensure_array_like(a[4]),p=[];for(let m=0;m<F.length;m+=1)p[m]=ee(Y(a,F,m));let v=e.ensure_array_like(a[6]),y=[];for(let m=0;m<v.length;m+=1)y[m]=te(Q(a,v,m));let H=a[10].length>1&&ae(a);return{c(){t=e.element("div"),l=e.element("span"),x&&x.c(),i=e.space(),o=e.element("div"),r=e.element("ul");for(let m=0;m<p.length;m+=1)p[m].c();c=e.space(),g=e.element("ul");for(let m=0;m<y.length;m+=1)y[m].c();b=e.space(),H&&H.c(),e.attr(l,"class",n=a[7]?"ModalCloseBtn":""),e.attr(l,"role","button"),e.attr(r,"class",u="HamburgerPrimaryMenu "+(a[8]?"HamburgerPrimaryMenuFixed":"")),e.attr(g,"class",_="HamburgerSecondaryMenu "+(a[8]?"HamburgerSecondaryMenuFixed":"")),e.attr(o,"class",w="HamburgerModalContainer "+(a[7]?"ActiveHamburgerMenu":"")),e.attr(t,"class","HamburgerModalWindow")},m(m,k){e.insert(m,t,k),e.append(t,l),x&&x.m(l,null),e.append(t,i),e.append(t,o),e.append(o,r);for(let d=0;d<p.length;d+=1)p[d]&&p[d].m(r,null);e.append(o,c),e.append(o,g);for(let d=0;d<y.length;d+=1)y[d]&&y[d].m(g,null);e.append(o,b),H&&H.m(o,null),a[38](t),h=!0,L||(W=e.listen(l,"click",a[14]),L=!0)},p(m,k){if(a=m,S&&S.p&&(!h||k[0]&1073741824)&&e.update_slot_base(S,I,a,a[30],h?e.get_slot_changes(I,a[30],k,He):e.get_all_dirty_from_scope(a[30]),Z),(!h||k[0]&128&&n!==(n=a[7]?"ModalCloseBtn":""))&&e.attr(l,"class",n),k[0]&32816){F=e.ensure_array_like(a[4]);let d;for(d=0;d<F.length;d+=1){const C=Y(a,F,d);p[d]?p[d].p(C,k):(p[d]=ee(C),p[d].c(),p[d].m(r,null))}for(;d<p.length;d+=1)p[d].d(1);p.length=F.length}if((!h||k[0]&256&&u!==(u="HamburgerPrimaryMenu "+(a[8]?"HamburgerPrimaryMenuFixed":"")))&&e.attr(r,"class",u),k[0]&65600){v=e.ensure_array_like(a[6]);let d;for(d=0;d<v.length;d+=1){const C=Q(a,v,d);y[d]?y[d].p(C,k):(y[d]=te(C),y[d].c(),y[d].m(g,null))}for(;d<y.length;d+=1)y[d].d(1);y.length=v.length}(!h||k[0]&256&&_!==(_="HamburgerSecondaryMenu "+(a[8]?"HamburgerSecondaryMenuFixed":"")))&&e.attr(g,"class",_),a[10].length>1?H?H.p(a,k):(H=ae(a),H.c(),H.m(o,null)):H&&(H.d(1),H=null),(!h||k[0]&128&&w!==(w="HamburgerModalContainer "+(a[7]?"ActiveHamburgerMenu":"")))&&e.attr(o,"class",w)},i(m){h||(e.transition_in(x,m),m&&e.add_render_callback(()=>{h&&(f||(f=e.create_bidirectional_transition(t,V,{transitionDuration:ie},!0)),f.run(1))}),h=!0)},o(m){e.transition_out(x,m),m&&(f||(f=e.create_bidirectional_transition(t,V,{transitionDuration:ie},!1)),f.run(0)),h=!1},d(m){m&&e.detach(t),x&&x.d(m),e.destroy_each(p,m),e.destroy_each(y,m),H&&H.d(),a[38](null),m&&f&&f.end(),L=!1,W()}}}function xe(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"stroke-width","2"),e.attr(l,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(n,i){e.insert(n,t,i),e.append(t,l)},p:e.noop,d(n){n&&e.detach(t)}}}function ee(a){let t,l,n,i,o,r=a[59].label+"",u,c,g,_,b;function w(){return a[32](a[59])}return{c(){t=e.element("li"),l=e.element("div"),n=e.element("img"),o=e.space(),u=e.text(r),c=e.space(),e.src_url_equal(n.src,i=a[59].img)||e.attr(n,"src",i),e.attr(n,"alt","menu icon"),e.attr(l,"class","HamburgerItemContainer"),e.attr(t,"class",g=a[5]===a[59].id?"ActiveItem":"")},m(f,h){e.insert(f,t,h),e.append(t,l),e.append(l,n),e.append(l,o),e.append(l,u),e.append(t,c),_||(b=e.listen(t,"click",w),_=!0)},p(f,h){a=f,h[0]&16&&!e.src_url_equal(n.src,i=a[59].img)&&e.attr(n,"src",i),h[0]&16&&r!==(r=a[59].label+"")&&e.set_data(u,r),h[0]&48&&g!==(g=a[5]===a[59].id?"ActiveItem":"")&&e.attr(t,"class",g)},d(f){f&&e.detach(t),_=!1,b()}}}function te(a){let t,l,n,i,o=a[56].label+"",r,u,c,g;function _(...b){return a[33](a[56],...b)}return{c(){t=e.element("li"),l=e.element("img"),i=e.space(),r=e.text(o),u=e.space(),e.src_url_equal(l.src,n=a[56].img)||e.attr(l,"src",n),e.attr(l,"alt","menu icon")},m(b,w){e.insert(b,t,w),e.append(t,l),e.append(t,i),e.append(t,r),e.append(t,u),c||(g=e.listen(t,"click",_),c=!0)},p(b,w){a=b,w[0]&64&&!e.src_url_equal(l.src,n=a[56].img)&&e.attr(l,"src",n),w[0]&64&&o!==(o=a[56].label+"")&&e.set_data(r,o)},d(b){b&&e.detach(t),c=!1,g()}}}function ae(a){let t,l,n=a[13]("language")+"",i,o;function r(g,_){return g[0]!=="true"?Fe:Se}let u=r(a),c=u(a);return{c(){t=e.element("div"),l=e.element("span"),i=e.text(n),o=e.space(),c.c(),e.attr(l,"class","LanguageSelect"),e.attr(t,"class","LanguageSelectorTitle")},m(g,_){e.insert(g,t,_),e.append(t,l),e.append(l,i),e.append(t,o),c.m(t,null)},p(g,_){_[0]&8192&&n!==(n=g[13]("language")+"")&&e.set_data(i,n),u===(u=r(g))&&c?c.p(g,_):(c.d(1),c=u(g),c&&(c.c(),c.m(t,null)))},d(g){g&&e.detach(t),c.d()}}}function Se(a){let t,l,n,i,o,r,u,c=a[12].slice(-2)+"",g,_,b,w,f,h,L,W,I,S,x,F,p=a[11]&&le(a);return{c(){t=e.element("div"),l=e.element("div"),n=e.element("span"),i=e.element("img"),r=e.space(),u=e.element("span"),g=e.text(c),_=e.space(),b=e.element("span"),w=e.svg_element("svg"),f=e.svg_element("g"),h=e.svg_element("g"),L=e.svg_element("g"),W=e.svg_element("path"),S=e.space(),p&&p.c(),e.src_url_equal(i.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[20](a[12].slice(-2))}.svg`)||e.attr(i,"src",o),e.attr(n,"class","FlagIcon"),e.attr(u,"class","LanguageName"),e.attr(W,"d","M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"),e.attr(L,"transform","translate(56 160)"),e.attr(h,"fill","#000"),e.attr(h,"transform","translate(-260 -6684)"),e.attr(f,"fill","none"),e.attr(f,"fill-rule","evenodd"),e.attr(w,"xmlns","http://www.w3.org/2000/svg"),e.attr(w,"width","20"),e.attr(w,"height","11"),e.attr(w,"viewBox","0 0 20 11"),e.attr(w,"id","arrow"),e.attr(b,"class",I="TriangleInactive "+(a[11]?"TriangleActive":"")),e.attr(l,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(v,y){e.insert(v,t,y),e.append(t,l),e.append(l,n),e.append(n,i),e.append(l,r),e.append(l,u),e.append(u,g),e.append(l,_),e.append(l,b),e.append(b,w),e.append(w,f),e.append(f,h),e.append(h,L),e.append(L,W),e.append(t,S),p&&p.m(t,null),x||(F=e.listen(l,"click",a[36]),x=!0)},p(v,y){y[0]&5120&&!e.src_url_equal(i.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${v[20](v[12].slice(-2))}.svg`)&&e.attr(i,"src",o),y[0]&4096&&c!==(c=v[12].slice(-2)+"")&&e.set_data(g,c),y[0]&2048&&I!==(I="TriangleInactive "+(v[11]?"TriangleActive":""))&&e.attr(b,"class",I),v[11]?p?p.p(v,y):(p=le(v),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},d(v){v&&e.detach(t),p&&p.d(),x=!1,F()}}}function Fe(a){let t,l,n,i=e.ensure_array_like(a[10]),o=[];for(let r=0;r<i.length;r+=1)o[r]=re(K(a,i,r));return{c(){t=e.element("select");for(let r=0;r<o.length;r+=1)o[r].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[12]===void 0&&e.add_render_callback(()=>a[34].call(t))},m(r,u){e.insert(r,t,u);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);e.select_option(t,a[12],!0),l||(n=[e.listen(t,"change",a[34]),e.listen(t,"change",a[35])],l=!0)},p(r,u){if(u[0]&1024){i=e.ensure_array_like(r[10]);let c;for(c=0;c<i.length;c+=1){const g=K(r,i,c);o[c]?o[c].p(g,u):(o[c]=re(g),o[c].c(),o[c].m(t,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=i.length}u[0]&5120&&e.select_option(t,r[12])},d(r){r&&e.detach(t),e.destroy_each(o,r),l=!1,e.run_all(n)}}}function le(a){let t,l=e.ensure_array_like(a[10]),n=[];for(let i=0;i<l.length;i+=1)n[i]=ne(J(a,l,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","OptionList")},m(i,o){e.insert(i,t,o);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,o){if(o[0]&1311744){l=e.ensure_array_like(i[10]);let r;for(r=0;r<l.length;r+=1){const u=J(i,l,r);n[r]?n[r].p(u,o):(n[r]=ne(u),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=l.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function ne(a){let t,l,n,i,o,r,u=a[53]+"",c,g,_,b;function w(){return a[37](a[53])}return{c(){t=e.element("div"),l=e.element("span"),n=e.element("img"),o=e.space(),r=e.element("span"),c=e.text(u),g=e.space(),e.src_url_equal(n.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[20](a[53])}.svg`)||e.attr(n,"src",i),e.attr(l,"class","FlagIcon"),e.attr(r,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(f,h){e.insert(f,t,h),e.append(t,l),e.append(l,n),e.append(t,o),e.append(t,r),e.append(r,c),e.append(t,g),_||(b=e.listen(t,"click",w),_=!0)},p(f,h){a=f,h[0]&1024&&!e.src_url_equal(n.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[20](a[53])}.svg`)&&e.attr(n,"src",i),h[0]&1024&&u!==(u=a[53]+"")&&e.set_data(c,u)},d(f){f&&e.detach(t),_=!1,b()}}}function re(a){let t,l=a[1].slice(-2)+"",n,i;return{c(){t=e.element("option"),n=e.text(l),t.__value=i=a[1],e.set_input_value(t,t.__value),t.selected=!0},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&1024&&l!==(l=o[1].slice(-2)+"")&&e.set_data(n,l),r[0]&1024&&i!==(i=o[1])&&(t.__value=i,e.set_input_value(t,t.__value))},d(o){o&&e.detach(t)}}}function Le(a){let t,l,n=a[9]===!0&&$(a);return{c(){t=e.element("div"),n&&n.c()},m(i,o){e.insert(i,t,o),n&&n.m(t,null),a[39](t),l=!0},p(i,o){i[9]===!0?n?(n.p(i,o),o[0]&512&&e.transition_in(n,1)):(n=$(i),n.c(),e.transition_in(n,1),n.m(t,null)):n&&(e.group_outros(),e.transition_out(n,1,1,()=>{n=null}),e.check_outros())},i(i){l||(e.transition_in(n),l=!0)},o(i){e.transition_out(n),l=!1},d(i){i&&e.detach(t),n&&n.d(),a[39](null)}}}let ie=350;function Ce(a,t,l){let n;e.component_subscribe(a,e.$format,s=>l(13,n=s));let{$$slots:i={},$$scope:o}=t,{menuitemsurl:r=""}=t,{lang:u="en"}=t,{activecategory:c=""}=t,{languageslist:g=""}=t,{translationurl:_=""}=t,{clientstyling:b=""}=t,{clientstylingurl:w=""}=t,{customlocaleidentifier:f=""}=t,{countryflaghamburger:h=""}=t,{mbsource:L}=t,W,I=window.navigator.userAgent,S=[],x,F="",p=[],v=!1,y=!1,H=!1,m=!0,k=[],d=!1,C=!1,O="",T,se;const ce=()=>{fetch(_).then(M=>M.json()).then(M=>{Object.keys(M).forEach(A=>{X(A,M[A])})}).catch(M=>{console.log(M)})};Object.keys(G).forEach(s=>{X(s,G[s])});const B=()=>{l(9,H=!1),l(7,v=!1),l(8,y=!1),l(11,C=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)},q=s=>{s.data.type==="OpenHamburgerMenuModal"&&(window.postMessage({type:"DisableScroll"},window.location.href),l(9,H=!0),setTimeout(()=>{l(7,v=!0)},500),setTimeout(()=>{l(8,y=!0)},1500),ue(r))},P=(s,M)=>{l(5,F=s),l(6,p=M||[]),typeof gtag=="function"&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:`${F}`})},j=()=>{let s=S.filter(M=>{var R;let A=!1;return(R=M.children)==null||R.forEach(ve=>{ve.path.includes(c)&&(A=!0)}),A});s.length>0?P(s[0].id,s[0].children):P(S[0].id,S[0].children)},ue=s=>new Promise((M,A)=>{x&&!d?M(x):z(s)}),z=s=>{fetch(s).then(M=>M.json()).then(M=>{l(4,S=M.filter(A=>(A==null?void 0:A.type)!=="banner")),j(),l(29,m=!1),x=M,d=!1},M=>{console.error(M)})};let D=s=>{window.postMessage({type:"NavigateTo",path:s.path,externalLink:s.externalLink||!1,target:s.attrs.target||null},window.location.href),B()};const E=()=>{d=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:O},window.location.href)},ge=()=>{Me(u),d&&z(r),l(10,k=g.replace(/ /g,"").split(",")),l(10,k=k.map(s=>s.toUpperCase())),l(12,O=u.toUpperCase())},N=s=>{l(12,O=s),l(11,C=!1),E()},U=()=>{l(11,C=!C)},de=s=>(f&&(s=f.includes(s.toLowerCase())?f.slice(-2):s),s=="EN"?"US":s.toUpperCase());e.onMount(()=>(window.addEventListener("message",q,!1),e.isMobile(I),()=>{window.removeEventListener("message",q)}));const me=s=>P(s.id,s.children),pe=(s,M)=>{D(s),M.preventDefault()};function fe(){O=e.select_value(this),l(12,O),l(10,k)}const he=()=>E(),_e=()=>U(),be=s=>N(s);function we(s){e.binding_callbacks[s?"unshift":"push"](()=>{W=s,l(3,W)})}function ye(s){e.binding_callbacks[s?"unshift":"push"](()=>{T=s,l(2,T)})}return a.$$set=s=>{"menuitemsurl"in s&&l(21,r=s.menuitemsurl),"lang"in s&&l(1,u=s.lang),"activecategory"in s&&l(22,c=s.activecategory),"languageslist"in s&&l(23,g=s.languageslist),"translationurl"in s&&l(24,_=s.translationurl),"clientstyling"in s&&l(25,b=s.clientstyling),"clientstylingurl"in s&&l(26,w=s.clientstylingurl),"customlocaleidentifier"in s&&l(27,f=s.customlocaleidentifier),"countryflaghamburger"in s&&l(0,h=s.countryflaghamburger),"mbsource"in s&&l(28,L=s.mbsource),"$$scope"in s&&l(30,o=s.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&8388610&&u&&g&&ge(),a.$$.dirty[0]&541065216&&c&&!m&&j(),a.$$.dirty[0]&16777216&&_&&ce(),a.$$.dirty[0]&33554436&&b&&T&&e.setClientStyling(T,b),a.$$.dirty[0]&67108868&&w&&T&&e.setClientStylingURL(T,w),a.$$.dirty[0]&268435460&&T&&e.setStreamStyling(T,`${L}.Style`,se)},[h,u,T,W,S,F,p,v,y,H,k,C,O,n,B,P,D,E,N,U,de,r,c,g,_,b,w,f,L,m,o,i,me,pe,fe,he,_e,be,we,ye]}class oe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ce,Le,e.safe_not_equal,{menuitemsurl:21,lang:1,activecategory:22,languageslist:23,translationurl:24,clientstyling:25,clientstylingurl:26,customlocaleidentifier:27,countryflaghamburger:0,mbsource:28},ke,[-1,-1])}get menuitemsurl(){return this.$$.ctx[21]}set menuitemsurl(t){this.$$set({menuitemsurl:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[22]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get languageslist(){return this.$$.ctx[23]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[27]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[0]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(oe,{menuitemsurl:{},lang:{},activecategory:{},languageslist:{},translationurl:{},clientstyling:{},clientstylingurl:{},customlocaleidentifier:{},countryflaghamburger:{},mbsource:{}},["close"],[],!0);exports.default=oe;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderController-D9FSbrCG.cjs");function V(a,{delay:t=0,duration:l=400,easing:n=e.identity}={}){const i=+getComputedStyle(a).opacity;return{delay:t,duration:l,easing:n,css:o=>`opacity: ${o*i}`}}function X(a,t){e.addMessages(a,t)}function Me(a){e.$locale.set(a)}const G={en:{language:"Select Language"},"zh-hk":{language:"選擇語言"},fr:{language:"Sélectionner la langue"},tr:{language:"Dil Seçin"},ro:{language:"Selecteaza limba"},es:{language:"Seleccionar idioma"},pt:{language:"Selecione o idioma"},hr:{language:"Izaberi jezik"},"pt-br":{language:"Escolha o seu idioma"},"es-mx":{language:"Escoger idioma"},"en-us":{language:"Select Language"}};function ke(a){e.append_styles(a,"svelte-1bq06b7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}")}function J(a,t,l){const n=a.slice();return n[53]=t[l],n}function K(a,t,l){const n=a.slice();return n[1]=t[l],n}function Q(a,t,l){const n=a.slice();return n[56]=t[l],n}function Y(a,t,l){const n=a.slice();return n[59]=t[l],n}const He=a=>({}),Z=a=>({});function $(a){let t,l,n,i,o,r,u,c,g,_,b,w,f,h,L,W;const I=a[31].close,S=e.create_slot(I,a,a[30],Z),x=S||xe();let F=e.ensure_array_like(a[4]),p=[];for(let m=0;m<F.length;m+=1)p[m]=ee(Y(a,F,m));let v=e.ensure_array_like(a[6]),y=[];for(let m=0;m<v.length;m+=1)y[m]=te(Q(a,v,m));let H=a[10].length>1&&ae(a);return{c(){t=e.element("div"),l=e.element("span"),x&&x.c(),i=e.space(),o=e.element("div"),r=e.element("ul");for(let m=0;m<p.length;m+=1)p[m].c();c=e.space(),g=e.element("ul");for(let m=0;m<y.length;m+=1)y[m].c();b=e.space(),H&&H.c(),e.attr(l,"class",n=a[7]?"ModalCloseBtn":""),e.attr(l,"role","button"),e.attr(r,"class",u="HamburgerPrimaryMenu "+(a[8]?"HamburgerPrimaryMenuFixed":"")),e.attr(g,"class",_="HamburgerSecondaryMenu "+(a[8]?"HamburgerSecondaryMenuFixed":"")),e.attr(o,"class",w="HamburgerModalContainer "+(a[7]?"ActiveHamburgerMenu":"")),e.attr(t,"class","HamburgerModalWindow")},m(m,k){e.insert(m,t,k),e.append(t,l),x&&x.m(l,null),e.append(t,i),e.append(t,o),e.append(o,r);for(let d=0;d<p.length;d+=1)p[d]&&p[d].m(r,null);e.append(o,c),e.append(o,g);for(let d=0;d<y.length;d+=1)y[d]&&y[d].m(g,null);e.append(o,b),H&&H.m(o,null),a[38](t),h=!0,L||(W=e.listen(l,"click",a[14]),L=!0)},p(m,k){if(a=m,S&&S.p&&(!h||k[0]&1073741824)&&e.update_slot_base(S,I,a,a[30],h?e.get_slot_changes(I,a[30],k,He):e.get_all_dirty_from_scope(a[30]),Z),(!h||k[0]&128&&n!==(n=a[7]?"ModalCloseBtn":""))&&e.attr(l,"class",n),k[0]&32816){F=e.ensure_array_like(a[4]);let d;for(d=0;d<F.length;d+=1){const C=Y(a,F,d);p[d]?p[d].p(C,k):(p[d]=ee(C),p[d].c(),p[d].m(r,null))}for(;d<p.length;d+=1)p[d].d(1);p.length=F.length}if((!h||k[0]&256&&u!==(u="HamburgerPrimaryMenu "+(a[8]?"HamburgerPrimaryMenuFixed":"")))&&e.attr(r,"class",u),k[0]&65600){v=e.ensure_array_like(a[6]);let d;for(d=0;d<v.length;d+=1){const C=Q(a,v,d);y[d]?y[d].p(C,k):(y[d]=te(C),y[d].c(),y[d].m(g,null))}for(;d<y.length;d+=1)y[d].d(1);y.length=v.length}(!h||k[0]&256&&_!==(_="HamburgerSecondaryMenu "+(a[8]?"HamburgerSecondaryMenuFixed":"")))&&e.attr(g,"class",_),a[10].length>1?H?H.p(a,k):(H=ae(a),H.c(),H.m(o,null)):H&&(H.d(1),H=null),(!h||k[0]&128&&w!==(w="HamburgerModalContainer "+(a[7]?"ActiveHamburgerMenu":"")))&&e.attr(o,"class",w)},i(m){h||(e.transition_in(x,m),m&&e.add_render_callback(()=>{h&&(f||(f=e.create_bidirectional_transition(t,V,{transitionDuration:ie},!0)),f.run(1))}),h=!0)},o(m){e.transition_out(x,m),m&&(f||(f=e.create_bidirectional_transition(t,V,{transitionDuration:ie},!1)),f.run(0)),h=!1},d(m){m&&e.detach(t),x&&x.d(m),e.destroy_each(p,m),e.destroy_each(y,m),H&&H.d(),a[38](null),m&&f&&f.end(),L=!1,W()}}}function xe(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"stroke-width","2"),e.attr(l,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(n,i){e.insert(n,t,i),e.append(t,l)},p:e.noop,d(n){n&&e.detach(t)}}}function ee(a){let t,l,n,i,o,r=a[59].label+"",u,c,g,_,b;function w(){return a[32](a[59])}return{c(){t=e.element("li"),l=e.element("div"),n=e.element("img"),o=e.space(),u=e.text(r),c=e.space(),e.src_url_equal(n.src,i=a[59].img)||e.attr(n,"src",i),e.attr(n,"alt","menu icon"),e.attr(l,"class","HamburgerItemContainer"),e.attr(t,"class",g=a[5]===a[59].id?"ActiveItem":"")},m(f,h){e.insert(f,t,h),e.append(t,l),e.append(l,n),e.append(l,o),e.append(l,u),e.append(t,c),_||(b=e.listen(t,"click",w),_=!0)},p(f,h){a=f,h[0]&16&&!e.src_url_equal(n.src,i=a[59].img)&&e.attr(n,"src",i),h[0]&16&&r!==(r=a[59].label+"")&&e.set_data(u,r),h[0]&48&&g!==(g=a[5]===a[59].id?"ActiveItem":"")&&e.attr(t,"class",g)},d(f){f&&e.detach(t),_=!1,b()}}}function te(a){let t,l,n,i,o=a[56].label+"",r,u,c,g;function _(...b){return a[33](a[56],...b)}return{c(){t=e.element("li"),l=e.element("img"),i=e.space(),r=e.text(o),u=e.space(),e.src_url_equal(l.src,n=a[56].img)||e.attr(l,"src",n),e.attr(l,"alt","menu icon")},m(b,w){e.insert(b,t,w),e.append(t,l),e.append(t,i),e.append(t,r),e.append(t,u),c||(g=e.listen(t,"click",_),c=!0)},p(b,w){a=b,w[0]&64&&!e.src_url_equal(l.src,n=a[56].img)&&e.attr(l,"src",n),w[0]&64&&o!==(o=a[56].label+"")&&e.set_data(r,o)},d(b){b&&e.detach(t),c=!1,g()}}}function ae(a){let t,l,n=a[13]("language")+"",i,o;function r(g,_){return g[0]!=="true"?Fe:Se}let u=r(a),c=u(a);return{c(){t=e.element("div"),l=e.element("span"),i=e.text(n),o=e.space(),c.c(),e.attr(l,"class","LanguageSelect"),e.attr(t,"class","LanguageSelectorTitle")},m(g,_){e.insert(g,t,_),e.append(t,l),e.append(l,i),e.append(t,o),c.m(t,null)},p(g,_){_[0]&8192&&n!==(n=g[13]("language")+"")&&e.set_data(i,n),u===(u=r(g))&&c?c.p(g,_):(c.d(1),c=u(g),c&&(c.c(),c.m(t,null)))},d(g){g&&e.detach(t),c.d()}}}function Se(a){let t,l,n,i,o,r,u,c=a[12].slice(-2)+"",g,_,b,w,f,h,L,W,I,S,x,F,p=a[11]&&le(a);return{c(){t=e.element("div"),l=e.element("div"),n=e.element("span"),i=e.element("img"),r=e.space(),u=e.element("span"),g=e.text(c),_=e.space(),b=e.element("span"),w=e.svg_element("svg"),f=e.svg_element("g"),h=e.svg_element("g"),L=e.svg_element("g"),W=e.svg_element("path"),S=e.space(),p&&p.c(),e.src_url_equal(i.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[20](a[12].slice(-2))}.svg`)||e.attr(i,"src",o),e.attr(n,"class","FlagIcon"),e.attr(u,"class","LanguageName"),e.attr(W,"d","M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"),e.attr(L,"transform","translate(56 160)"),e.attr(h,"fill","#000"),e.attr(h,"transform","translate(-260 -6684)"),e.attr(f,"fill","none"),e.attr(f,"fill-rule","evenodd"),e.attr(w,"xmlns","http://www.w3.org/2000/svg"),e.attr(w,"width","20"),e.attr(w,"height","11"),e.attr(w,"viewBox","0 0 20 11"),e.attr(w,"id","arrow"),e.attr(b,"class",I="TriangleInactive "+(a[11]?"TriangleActive":"")),e.attr(l,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(v,y){e.insert(v,t,y),e.append(t,l),e.append(l,n),e.append(n,i),e.append(l,r),e.append(l,u),e.append(u,g),e.append(l,_),e.append(l,b),e.append(b,w),e.append(w,f),e.append(f,h),e.append(h,L),e.append(L,W),e.append(t,S),p&&p.m(t,null),x||(F=e.listen(l,"click",a[36]),x=!0)},p(v,y){y[0]&5120&&!e.src_url_equal(i.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${v[20](v[12].slice(-2))}.svg`)&&e.attr(i,"src",o),y[0]&4096&&c!==(c=v[12].slice(-2)+"")&&e.set_data(g,c),y[0]&2048&&I!==(I="TriangleInactive "+(v[11]?"TriangleActive":""))&&e.attr(b,"class",I),v[11]?p?p.p(v,y):(p=le(v),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},d(v){v&&e.detach(t),p&&p.d(),x=!1,F()}}}function Fe(a){let t,l,n,i=e.ensure_array_like(a[10]),o=[];for(let r=0;r<i.length;r+=1)o[r]=re(K(a,i,r));return{c(){t=e.element("select");for(let r=0;r<o.length;r+=1)o[r].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[12]===void 0&&e.add_render_callback(()=>a[34].call(t))},m(r,u){e.insert(r,t,u);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);e.select_option(t,a[12],!0),l||(n=[e.listen(t,"change",a[34]),e.listen(t,"change",a[35])],l=!0)},p(r,u){if(u[0]&1024){i=e.ensure_array_like(r[10]);let c;for(c=0;c<i.length;c+=1){const g=K(r,i,c);o[c]?o[c].p(g,u):(o[c]=re(g),o[c].c(),o[c].m(t,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=i.length}u[0]&5120&&e.select_option(t,r[12])},d(r){r&&e.detach(t),e.destroy_each(o,r),l=!1,e.run_all(n)}}}function le(a){let t,l=e.ensure_array_like(a[10]),n=[];for(let i=0;i<l.length;i+=1)n[i]=ne(J(a,l,i));return{c(){t=e.element("div");for(let i=0;i<n.length;i+=1)n[i].c();e.attr(t,"class","OptionList")},m(i,o){e.insert(i,t,o);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(t,null)},p(i,o){if(o[0]&1311744){l=e.ensure_array_like(i[10]);let r;for(r=0;r<l.length;r+=1){const u=J(i,l,r);n[r]?n[r].p(u,o):(n[r]=ne(u),n[r].c(),n[r].m(t,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=l.length}},d(i){i&&e.detach(t),e.destroy_each(n,i)}}}function ne(a){let t,l,n,i,o,r,u=a[53]+"",c,g,_,b;function w(){return a[37](a[53])}return{c(){t=e.element("div"),l=e.element("span"),n=e.element("img"),o=e.space(),r=e.element("span"),c=e.text(u),g=e.space(),e.src_url_equal(n.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[20](a[53])}.svg`)||e.attr(n,"src",i),e.attr(l,"class","FlagIcon"),e.attr(r,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(f,h){e.insert(f,t,h),e.append(t,l),e.append(l,n),e.append(t,o),e.append(t,r),e.append(r,c),e.append(t,g),_||(b=e.listen(t,"click",w),_=!0)},p(f,h){a=f,h[0]&1024&&!e.src_url_equal(n.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[20](a[53])}.svg`)&&e.attr(n,"src",i),h[0]&1024&&u!==(u=a[53]+"")&&e.set_data(c,u)},d(f){f&&e.detach(t),_=!1,b()}}}function re(a){let t,l=a[1].slice(-2)+"",n,i;return{c(){t=e.element("option"),n=e.text(l),t.__value=i=a[1],e.set_input_value(t,t.__value),t.selected=!0},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&1024&&l!==(l=o[1].slice(-2)+"")&&e.set_data(n,l),r[0]&1024&&i!==(i=o[1])&&(t.__value=i,e.set_input_value(t,t.__value))},d(o){o&&e.detach(t)}}}function Le(a){let t,l,n=a[9]===!0&&$(a);return{c(){t=e.element("div"),n&&n.c()},m(i,o){e.insert(i,t,o),n&&n.m(t,null),a[39](t),l=!0},p(i,o){i[9]===!0?n?(n.p(i,o),o[0]&512&&e.transition_in(n,1)):(n=$(i),n.c(),e.transition_in(n,1),n.m(t,null)):n&&(e.group_outros(),e.transition_out(n,1,1,()=>{n=null}),e.check_outros())},i(i){l||(e.transition_in(n),l=!0)},o(i){e.transition_out(n),l=!1},d(i){i&&e.detach(t),n&&n.d(),a[39](null)}}}let ie=350;function Ce(a,t,l){let n;e.component_subscribe(a,e.$format,s=>l(13,n=s));let{$$slots:i={},$$scope:o}=t,{menuitemsurl:r=""}=t,{lang:u="en"}=t,{activecategory:c=""}=t,{languageslist:g=""}=t,{translationurl:_=""}=t,{clientstyling:b=""}=t,{clientstylingurl:w=""}=t,{customlocaleidentifier:f=""}=t,{countryflaghamburger:h=""}=t,{mbsource:L}=t,W,I=window.navigator.userAgent,S=[],x,F="",p=[],v=!1,y=!1,H=!1,m=!0,k=[],d=!1,C=!1,O="",T,se;const ce=()=>{fetch(_).then(M=>M.json()).then(M=>{Object.keys(M).forEach(A=>{X(A,M[A])})}).catch(M=>{console.log(M)})};Object.keys(G).forEach(s=>{X(s,G[s])});const B=()=>{l(9,H=!1),l(7,v=!1),l(8,y=!1),l(11,C=!1),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)},q=s=>{s.data.type==="OpenHamburgerMenuModal"&&(window.postMessage({type:"DisableScroll"},window.location.href),l(9,H=!0),setTimeout(()=>{l(7,v=!0)},500),setTimeout(()=>{l(8,y=!0)},1500),ue(r))},P=(s,M)=>{l(5,F=s),l(6,p=M||[]),typeof gtag=="function"&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:`${F}`})},j=()=>{let s=S.filter(M=>{var R;let A=!1;return(R=M.children)==null||R.forEach(ve=>{ve.path.includes(c)&&(A=!0)}),A});s.length>0?P(s[0].id,s[0].children):P(S[0].id,S[0].children)},ue=s=>new Promise((M,A)=>{x&&!d?M(x):z(s)}),z=s=>{fetch(s).then(M=>M.json()).then(M=>{l(4,S=M.filter(A=>(A==null?void 0:A.type)!=="banner")),j(),l(29,m=!1),x=M,d=!1},M=>{console.error(M)})};let D=s=>{window.postMessage({type:"NavigateTo",path:s.path,externalLink:s.externalLink||!1,target:s.attrs.target||null},window.location.href),B()};const E=()=>{d=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:O},window.location.href)},ge=()=>{Me(u),d&&z(r),l(10,k=g.replace(/ /g,"").split(",")),l(10,k=k.map(s=>s.toUpperCase())),l(12,O=u.toUpperCase())},N=s=>{l(12,O=s),l(11,C=!1),E()},U=()=>{l(11,C=!C)},de=s=>(f&&(s=f.includes(s.toLowerCase())?f.slice(-2):s),s=="EN"?"US":s.toUpperCase());e.onMount(()=>(window.addEventListener("message",q,!1),e.isMobile(I),()=>{window.removeEventListener("message",q)}));const me=s=>P(s.id,s.children),pe=(s,M)=>{D(s),M.preventDefault()};function fe(){O=e.select_value(this),l(12,O),l(10,k)}const he=()=>E(),_e=()=>U(),be=s=>N(s);function we(s){e.binding_callbacks[s?"unshift":"push"](()=>{W=s,l(3,W)})}function ye(s){e.binding_callbacks[s?"unshift":"push"](()=>{T=s,l(2,T)})}return a.$$set=s=>{"menuitemsurl"in s&&l(21,r=s.menuitemsurl),"lang"in s&&l(1,u=s.lang),"activecategory"in s&&l(22,c=s.activecategory),"languageslist"in s&&l(23,g=s.languageslist),"translationurl"in s&&l(24,_=s.translationurl),"clientstyling"in s&&l(25,b=s.clientstyling),"clientstylingurl"in s&&l(26,w=s.clientstylingurl),"customlocaleidentifier"in s&&l(27,f=s.customlocaleidentifier),"countryflaghamburger"in s&&l(0,h=s.countryflaghamburger),"mbsource"in s&&l(28,L=s.mbsource),"$$scope"in s&&l(30,o=s.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&8388610&&u&&g&&ge(),a.$$.dirty[0]&541065216&&c&&!m&&j(),a.$$.dirty[0]&16777216&&_&&ce(),a.$$.dirty[0]&33554436&&b&&T&&e.setClientStyling(T,b),a.$$.dirty[0]&67108868&&w&&T&&e.setClientStylingURL(T,w),a.$$.dirty[0]&268435460&&T&&e.setStreamStyling(T,`${L}.Style`,se)},[h,u,T,W,S,F,p,v,y,H,k,C,O,n,B,P,D,E,N,U,de,r,c,g,_,b,w,f,L,m,o,i,me,pe,fe,he,_e,be,we,ye]}class oe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ce,Le,e.safe_not_equal,{menuitemsurl:21,lang:1,activecategory:22,languageslist:23,translationurl:24,clientstyling:25,clientstylingurl:26,customlocaleidentifier:27,countryflaghamburger:0,mbsource:28},ke,[-1,-1])}get menuitemsurl(){return this.$$.ctx[21]}set menuitemsurl(t){this.$$set({menuitemsurl:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[22]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get languageslist(){return this.$$.ctx[23]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[27]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[0]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(oe,{menuitemsurl:{},lang:{},activecategory:{},languageslist:{},translationurl:{},clientstyling:{},clientstylingurl:{},customlocaleidentifier:{},countryflaghamburger:{},mbsource:{}},["close"],[],!0);exports.default=oe;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as je, b as Ne, $ as Ue, S as qe, i as Re, s as Ve, f as B, d as Xe, e as T, G as Y, H as J, I as Ge, h as O, k as M, J as Je, o as Ke, K as Qe, q as j, A as K, L as re, M as Fe, N as Ye, O as Ze, P as $e, g as s, j as g, l as q, m as I, Q as et, w as ie, x as N, y as V, z as X, n as tt, R as U, r as lt, T as oe, U as se, V as at, W as nt, C as rt, D as it, E as ot, c as st, X as ut } from "./CasinoHeaderController-
|
|
1
|
+
import { F as je, b as Ne, $ as Ue, S as qe, i as Re, s as Ve, f as B, d as Xe, e as T, G as Y, H as J, I as Ge, h as O, k as M, J as Je, o as Ke, K as Qe, q as j, A as K, L as re, M as Fe, N as Ye, O as Ze, P as $e, g as s, j as g, l as q, m as I, Q as et, w as ie, x as N, y as V, z as X, n as tt, R as U, r as lt, T as oe, U as se, V as at, W as nt, C as rt, D as it, E as ot, c as st, X as ut } from "./CasinoHeaderController-CsTxfd0_.js";
|
|
2
2
|
function ue(t, { delay: e = 0, duration: l = 400, easing: a = je } = {}) {
|
|
3
3
|
const r = +getComputedStyle(t).opacity;
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as Ne, b as Ue, $ as qe, S as Re, i as Ve, s as Xe, f as z, c as Ge, d as T, G as Y, H as J, I as Je, g as O, j as M, J as Ke, o as Qe, K as Ye, L as Ze, m as j, z as K, M as ie, N as Se, O as $e, P as et, Q as tt, e as s, h as g, l as q, k as W, R as lt, v as oe, w as N, x as V, y as X, n as at, T as U, r as nt, U as se, V as ue, W as rt, B as it, C as ot, D as st, E as ut, X as ct } from "./CasinoHeaderController-
|
|
1
|
+
import { F as Ne, b as Ue, $ as qe, S as Re, i as Ve, s as Xe, f as z, c as Ge, d as T, G as Y, H as J, I as Je, g as O, j as M, J as Ke, o as Qe, K as Ye, L as Ze, m as j, z as K, M as ie, N as Se, O as $e, P as et, Q as tt, e as s, h as g, l as q, k as W, R as lt, v as oe, w as N, x as V, y as X, n as at, T as U, r as nt, U as se, V as ue, W as rt, B as it, C as ot, D as st, E as ut, X as ct } from "./CasinoHeaderController-BJHE9_b-.js";
|
|
2
2
|
function ce(t, { delay: e = 0, duration: l = 400, easing: a = Ne } = {}) {
|
|
3
3
|
const r = +getComputedStyle(t).opacity;
|
|
4
4
|
return {
|
package/components/{CasinoHeaderController-DkBA9yLf.js → CasinoHeaderController-BJHE9_b-.js}
RENAMED
|
@@ -10,7 +10,7 @@ var Ft = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
lo.call(t, r) && Ft(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Or = (e, t) => oo(e, so(t));
|
|
13
|
-
var ue = (e, t, r) =>
|
|
13
|
+
var ue = (e, t, r) => Ft(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var kt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
@@ -27,14 +27,13 @@ var kt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/user-deposit-withdrawal-
|
|
31
|
-
import "../stencil/gamification-dropdown-
|
|
30
|
+
import "../stencil/user-deposit-withdrawal-DaN2eAki.js";
|
|
31
|
+
import "../stencil/gamification-dropdown-DKnyNo7M.js";
|
|
32
32
|
function oe() {
|
|
33
33
|
}
|
|
34
34
|
const uo = (e) => e;
|
|
35
35
|
function co(e, t) {
|
|
36
|
-
for (const r in t)
|
|
37
|
-
e[r] = t[r];
|
|
36
|
+
for (const r in t) e[r] = t[r];
|
|
38
37
|
return (
|
|
39
38
|
/** @type {T & S} */
|
|
40
39
|
e
|
|
@@ -146,8 +145,7 @@ function go(e, t, r) {
|
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
function cr(e) {
|
|
149
|
-
if (!e)
|
|
150
|
-
return document;
|
|
148
|
+
if (!e) return document;
|
|
151
149
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
152
150
|
return t && /** @type {ShadowRoot} */
|
|
153
151
|
t.host ? (
|
|
@@ -249,8 +247,7 @@ const ft = /* @__PURE__ */ new Map();
|
|
|
249
247
|
let dt = 0;
|
|
250
248
|
function wo(e) {
|
|
251
249
|
let t = 5381, r = e.length;
|
|
252
|
-
for (; r--; )
|
|
253
|
-
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
250
|
+
for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
|
|
254
251
|
return t >>> 0;
|
|
255
252
|
}
|
|
256
253
|
function Eo(e, t) {
|
|
@@ -292,8 +289,7 @@ function Ve(e) {
|
|
|
292
289
|
ze = e;
|
|
293
290
|
}
|
|
294
291
|
function Ao() {
|
|
295
|
-
if (!ze)
|
|
296
|
-
throw new Error("Function called outside component initialization");
|
|
292
|
+
if (!ze) throw new Error("Function called outside component initialization");
|
|
297
293
|
return ze;
|
|
298
294
|
}
|
|
299
295
|
function Io(e) {
|
|
@@ -328,8 +324,7 @@ function C() {
|
|
|
328
324
|
} catch (t) {
|
|
329
325
|
throw Ie.length = 0, He = 0, t;
|
|
330
326
|
}
|
|
331
|
-
for (Ve(null), Ie.length = 0, He = 0; Te.length; )
|
|
332
|
-
Te.pop()();
|
|
327
|
+
for (Ve(null), Ie.length = 0, He = 0; Te.length; ) Te.pop()();
|
|
333
328
|
for (let t = 0; t < Ce.length; t += 1) {
|
|
334
329
|
const r = Ce[t];
|
|
335
330
|
Rt.has(r) || (Rt.add(r), r());
|
|
@@ -378,13 +373,11 @@ function kn(e, t) {
|
|
|
378
373
|
}
|
|
379
374
|
function Ml(e, t, r, n) {
|
|
380
375
|
if (e && e.o) {
|
|
381
|
-
if (ot.has(e))
|
|
382
|
-
return;
|
|
376
|
+
if (ot.has(e)) return;
|
|
383
377
|
ot.add(e), de.c.push(() => {
|
|
384
378
|
ot.delete(e), n && (r && e.d(1), n());
|
|
385
379
|
}), e.o(t);
|
|
386
|
-
} else
|
|
387
|
-
n && n();
|
|
380
|
+
} else n && n();
|
|
388
381
|
}
|
|
389
382
|
const Oo = { duration: 0 };
|
|
390
383
|
function Tl(e, t, r, n) {
|
|
@@ -459,8 +452,7 @@ function Bl(e, t) {
|
|
|
459
452
|
function Cl(e, t, r, n, i, o, s, a, h, f, d, l) {
|
|
460
453
|
let c = e.length, b = o.length, _ = c;
|
|
461
454
|
const v = {};
|
|
462
|
-
for (; _--; )
|
|
463
|
-
v[e[_].key] = _;
|
|
455
|
+
for (; _--; ) v[e[_].key] = _;
|
|
464
456
|
const A = [], P = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), S = [];
|
|
465
457
|
for (_ = b; _--; ) {
|
|
466
458
|
const I = l(i, o, _), w = r(I);
|
|
@@ -479,8 +471,7 @@ function Cl(e, t, r, n, i, o, s, a, h, f, d, l) {
|
|
|
479
471
|
const I = e[c];
|
|
480
472
|
P.has(I.key) || h(I, s);
|
|
481
473
|
}
|
|
482
|
-
for (; b; )
|
|
483
|
-
O(A[b - 1]);
|
|
474
|
+
for (; b; ) O(A[b - 1]);
|
|
484
475
|
return re(S), A;
|
|
485
476
|
}
|
|
486
477
|
function Lo(e, t, r) {
|
|
@@ -784,8 +775,7 @@ var Yt = function(e, t) {
|
|
|
784
775
|
return Yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
785
776
|
r.__proto__ = n;
|
|
786
777
|
} || function(r, n) {
|
|
787
|
-
for (var i in n)
|
|
788
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
778
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
789
779
|
}, Yt(e, t);
|
|
790
780
|
};
|
|
791
781
|
function Je(e, t) {
|
|
@@ -799,40 +789,34 @@ function Je(e, t) {
|
|
|
799
789
|
}
|
|
800
790
|
function Jt(e) {
|
|
801
791
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
802
|
-
if (r)
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
}
|
|
809
|
-
};
|
|
792
|
+
if (r) return r.call(e);
|
|
793
|
+
if (e && typeof e.length == "number") return {
|
|
794
|
+
next: function() {
|
|
795
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
796
|
+
}
|
|
797
|
+
};
|
|
810
798
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
811
799
|
}
|
|
812
800
|
function Qt(e, t) {
|
|
813
801
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
814
|
-
if (!r)
|
|
815
|
-
return e;
|
|
802
|
+
if (!r) return e;
|
|
816
803
|
var n = r.call(e), i, o = [], s;
|
|
817
804
|
try {
|
|
818
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
819
|
-
o.push(i.value);
|
|
805
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
820
806
|
} catch (a) {
|
|
821
807
|
s = { error: a };
|
|
822
808
|
} finally {
|
|
823
809
|
try {
|
|
824
810
|
i && !i.done && (r = n.return) && r.call(n);
|
|
825
811
|
} finally {
|
|
826
|
-
if (s)
|
|
827
|
-
throw s.error;
|
|
812
|
+
if (s) throw s.error;
|
|
828
813
|
}
|
|
829
814
|
}
|
|
830
815
|
return o;
|
|
831
816
|
}
|
|
832
817
|
function $t(e, t, r) {
|
|
833
|
-
if (arguments.length === 2)
|
|
834
|
-
|
|
835
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
818
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
819
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
836
820
|
return e.concat(o || t);
|
|
837
821
|
}
|
|
838
822
|
function pe(e) {
|
|
@@ -881,8 +865,7 @@ var _t = function() {
|
|
|
881
865
|
try {
|
|
882
866
|
h && !h.done && (r = a.return) && r.call(a);
|
|
883
867
|
} finally {
|
|
884
|
-
if (t)
|
|
885
|
-
throw t.error;
|
|
868
|
+
if (t) throw t.error;
|
|
886
869
|
}
|
|
887
870
|
}
|
|
888
871
|
else
|
|
@@ -912,8 +895,7 @@ var _t = function() {
|
|
|
912
895
|
try {
|
|
913
896
|
b && !b.done && (i = c.return) && i.call(c);
|
|
914
897
|
} finally {
|
|
915
|
-
if (n)
|
|
916
|
-
throw n.error;
|
|
898
|
+
if (n) throw n.error;
|
|
917
899
|
}
|
|
918
900
|
}
|
|
919
901
|
}
|
|
@@ -1180,8 +1162,7 @@ var $o = Un(function(e) {
|
|
|
1180
1162
|
try {
|
|
1181
1163
|
a && !a.done && (o = s.return) && o.call(s);
|
|
1182
1164
|
} finally {
|
|
1183
|
-
if (i)
|
|
1184
|
-
throw i.error;
|
|
1165
|
+
if (i) throw i.error;
|
|
1185
1166
|
}
|
|
1186
1167
|
}
|
|
1187
1168
|
}
|
|
@@ -1427,8 +1408,7 @@ var er = function(e, t) {
|
|
|
1427
1408
|
return er = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1428
1409
|
r.__proto__ = n;
|
|
1429
1410
|
} || function(r, n) {
|
|
1430
|
-
for (var i in n)
|
|
1431
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1411
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1432
1412
|
}, er(e, t);
|
|
1433
1413
|
};
|
|
1434
1414
|
function vt(e, t) {
|
|
@@ -1444,25 +1424,22 @@ var he = function() {
|
|
|
1444
1424
|
return he = Object.assign || function(t) {
|
|
1445
1425
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1446
1426
|
r = arguments[n];
|
|
1447
|
-
for (var o in r)
|
|
1448
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1427
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1449
1428
|
}
|
|
1450
1429
|
return t;
|
|
1451
1430
|
}, he.apply(this, arguments);
|
|
1452
1431
|
};
|
|
1453
1432
|
function bs(e, t) {
|
|
1454
1433
|
var r = {};
|
|
1455
|
-
for (var n in e)
|
|
1456
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1434
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1457
1435
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1458
1436
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1459
1437
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1460
1438
|
return r;
|
|
1461
1439
|
}
|
|
1462
1440
|
function Gt(e, t, r) {
|
|
1463
|
-
if (r || arguments.length === 2)
|
|
1464
|
-
|
|
1465
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1441
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
1442
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1466
1443
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1467
1444
|
}
|
|
1468
1445
|
function jt(e, t) {
|
|
@@ -1517,8 +1494,7 @@ var Es = function() {
|
|
|
1517
1494
|
return pt = Object.assign || function(t) {
|
|
1518
1495
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1519
1496
|
r = arguments[n];
|
|
1520
|
-
for (var o in r)
|
|
1521
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1497
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1522
1498
|
}
|
|
1523
1499
|
return t;
|
|
1524
1500
|
}, pt.apply(this, arguments);
|
|
@@ -1664,8 +1640,7 @@ var Z = function() {
|
|
|
1664
1640
|
return Z = Object.assign || function(t) {
|
|
1665
1641
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1666
1642
|
r = arguments[n];
|
|
1667
|
-
for (var o in r)
|
|
1668
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1643
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1669
1644
|
}
|
|
1670
1645
|
return t;
|
|
1671
1646
|
}, Z.apply(this, arguments);
|
|
@@ -3307,8 +3282,7 @@ function Ns(e, t) {
|
|
|
3307
3282
|
r += h;
|
|
3308
3283
|
for (; s-- > 0; )
|
|
3309
3284
|
r = f + r;
|
|
3310
|
-
} else
|
|
3311
|
-
i === "J" ? r += "H" : r += i;
|
|
3285
|
+
} else i === "J" ? r += "H" : r += i;
|
|
3312
3286
|
}
|
|
3313
3287
|
return r;
|
|
3314
3288
|
}
|
|
@@ -3911,8 +3885,7 @@ function sr(e) {
|
|
|
3911
3885
|
if (delete t.location, $n(t) || qn(t))
|
|
3912
3886
|
for (var r in t.options)
|
|
3913
3887
|
delete t.options[r].location, sr(t.options[r].value);
|
|
3914
|
-
else
|
|
3915
|
-
Yn(t) && ei(t.style) || (Jn(t) || Qn(t)) && tr(t.style) ? delete t.style.location : Kn(t) && sr(t.children);
|
|
3888
|
+
else Yn(t) && ei(t.style) || (Jn(t) || Qn(t)) && tr(t.style) ? delete t.style.location : Kn(t) && sr(t.children);
|
|
3916
3889
|
});
|
|
3917
3890
|
}
|
|
3918
3891
|
function ea(e, t) {
|
|
@@ -4557,8 +4530,7 @@ function Wa(e, t) {
|
|
|
4557
4530
|
}
|
|
4558
4531
|
}
|
|
4559
4532
|
function Va(e, t) {
|
|
4560
|
-
if (!e || !t)
|
|
4561
|
-
return;
|
|
4533
|
+
if (!e || !t) return;
|
|
4562
4534
|
const r = new URL(t);
|
|
4563
4535
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4564
4536
|
const i = document.createElement("style");
|
|
@@ -4568,8 +4540,7 @@ function Va(e, t) {
|
|
|
4568
4540
|
});
|
|
4569
4541
|
}
|
|
4570
4542
|
function za(e, t, r, n = !1) {
|
|
4571
|
-
if (!window.emMessageBus)
|
|
4572
|
-
return;
|
|
4543
|
+
if (!window.emMessageBus) return;
|
|
4573
4544
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4574
4545
|
return r = Xa(e, t), r;
|
|
4575
4546
|
window[Me] || (window[Me] = {}), r = Za(e, t);
|
|
@@ -4590,8 +4561,7 @@ function Xa(e, t) {
|
|
|
4590
4561
|
}
|
|
4591
4562
|
function Za(e, t) {
|
|
4592
4563
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4593
|
-
if (!e)
|
|
4594
|
-
return;
|
|
4564
|
+
if (!e) return;
|
|
4595
4565
|
const n = e.getRootNode(), i = window[Me];
|
|
4596
4566
|
let o = i[t] && i[t].sheet;
|
|
4597
4567
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -4704,7 +4674,7 @@ if (typeof window != "undefined") {
|
|
|
4704
4674
|
}
|
|
4705
4675
|
};
|
|
4706
4676
|
};
|
|
4707
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
|
4677
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-HOauRzp1.js").then(({ default: t }) => {
|
|
4708
4678
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
|
4709
4679
|
});
|
|
4710
4680
|
}
|
|
@@ -4720,7 +4690,7 @@ if (typeof window != "undefined") {
|
|
|
4720
4690
|
}
|
|
4721
4691
|
};
|
|
4722
4692
|
};
|
|
4723
|
-
customElements.define = e(customElements.define), import("./CasinoHamburgerMenu-
|
|
4693
|
+
customElements.define = e(customElements.define), import("./CasinoHamburgerMenu-Dxkzh_E1.js").then(({ default: t }) => {
|
|
4724
4694
|
!customElements.get("casino-hamburger-menu") && customElements.define("casino-hamburger-menu", t.element);
|
|
4725
4695
|
});
|
|
4726
4696
|
}
|
|
@@ -4736,7 +4706,7 @@ if (typeof window != "undefined") {
|
|
|
4736
4706
|
}
|
|
4737
4707
|
};
|
|
4738
4708
|
};
|
|
4739
|
-
customElements.define = e(customElements.define), import("./PlayerAccountBalanceModal-
|
|
4709
|
+
customElements.define = e(customElements.define), import("./PlayerAccountBalanceModal-Bj7Qwo5T.js").then(({ default: t }) => {
|
|
4740
4710
|
!customElements.get("player-account-balance-modal") && customElements.define("player-account-balance-modal", t.element);
|
|
4741
4711
|
});
|
|
4742
4712
|
}
|
|
@@ -4752,7 +4722,7 @@ if (typeof window != "undefined") {
|
|
|
4752
4722
|
}
|
|
4753
4723
|
};
|
|
4754
4724
|
};
|
|
4755
|
-
customElements.define = e(customElements.define), import("./PlayerDeposit-
|
|
4725
|
+
customElements.define = e(customElements.define), import("./PlayerDeposit-8un1SiE3.js").then(({ default: t }) => {
|
|
4756
4726
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
4757
4727
|
});
|
|
4758
4728
|
}
|
|
@@ -7259,8 +7229,7 @@ function dl(e, t, r) {
|
|
|
7259
7229
|
window.location.href
|
|
7260
7230
|
);
|
|
7261
7231
|
}, Ei = (p, X) => p.filter((ne) => X.includes(ne)), Tr = (p) => p.split(",").filter(Boolean).map((X) => X.trim()), tt = (p) => {
|
|
7262
|
-
if (!ve || ve === "none")
|
|
7263
|
-
return p;
|
|
7232
|
+
if (!ve || ve === "none") return p;
|
|
7264
7233
|
const X = Tr(ve);
|
|
7265
7234
|
return X.length === 0 ? p : p.filter((ne) => {
|
|
7266
7235
|
const W = Tr(ne.keyword || "");
|