@everymatrix/casino-lobby-mini-games 1.86.3 → 1.86.4
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/{CasinoLobbyMiniGames-Ouw2NRwX.js → CasinoLobbyMiniGames-BzYKgaLE.js} +1 -1
- package/components/{CasinoLobbyMiniGames-CB2qcxTJ.cjs → CasinoLobbyMiniGames-DYtFBS2W.cjs} +1 -1
- package/components/{CasinoLobbyMiniGames-DyU8mixv.js → CasinoLobbyMiniGames-jOTnD9S9.js} +1 -1
- package/components/{LotteryProgramWof-CFQC1wcI.js → LotteryProgramWof-BljlI4oy.js} +109 -106
- package/components/{LotteryProgramWof-CtaBMNXV.cjs → LotteryProgramWof-CGuItG9H.cjs} +3 -3
- package/components/{LotteryProgramWof-DpvvHVMV.js → LotteryProgramWof-qLDEp70-.js} +254 -254
- package/es2015/casino-lobby-mini-games.cjs +1 -1
- package/es2015/casino-lobby-mini-games.js +1 -1
- package/esnext/casino-lobby-mini-games.js +1 -1
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ if (typeof window < "u") {
|
|
|
42
42
|
throw a;
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
customElements.define = t(customElements.define), import("./LotteryProgramWof-
|
|
45
|
+
customElements.define = t(customElements.define), import("./LotteryProgramWof-qLDEp70-.js").then(({ default: e }) => {
|
|
46
46
|
!customElements.get("lottery-program-wof") && customElements.define("lottery-program-wof", e.element);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var v=(n,e,l)=>new Promise((o,a)=>{var i=r=>{try{c(l.next(r))}catch(d){a(d)}},s=r=>{try{c(l.throw(r))}catch(d){a(d)}},c=r=>r.done?o(r.value):Promise.resolve(r.value).then(i,s);c((l=l.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCoinroyaleContainer-BR_-FZ1X.cjs"),b=require("./CasinoCoinroyaleDetails-CCmEVy1D.cjs");if(typeof window!="undefined"){let n=function(e){return function(...l){try{return e.apply(this,l)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestContainer-BQATncJy.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chest-container")&&customElements.define("casino-mystery-chest-container",e.element)})}if(typeof window!="undefined"){let n=function(e){return function(...l){try{return e.apply(this,l)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoCoinroyaleContainer-BR_-FZ1X.cjs")).then(e=>e.CasinoCoinroyaleContainer_ce).then(({default:e})=>{!customElements.get("casino-coinroyale-container")&&customElements.define("casino-coinroyale-container",e.element)})}if(typeof window!="undefined"){const n=e=>function(...l){try{return e.apply(this,l)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./LotteryProgramWof-CtaBMNXV.cjs")).then(({default:e})=>{!customElements.get("lottery-program-wof")&&customElements.define("lottery-program-wof",e.element)})}var f=(n=>(n.MysteryChest="Mystery Chests",n.FlipCoin="FlipCoin",n.LuckyWheel="Lucky Wheel",n.Dices="Dices",n))(f||{}),S=(n=>(n.Showed="Showed",n.Hiden="Hiden",n))(S||{});const C={en:{MysteryChest:"Mystery Chests",LuckyWheel:"Lucky Wheel",Dices:"Dices",FlipCoin:"Flip Coin"}};function M(n,e){t.addMessages(n,e)}function P(n){t.init$1({fallbackLocale:"en"}),t.$locale.set(n)}function T(n){t.append_styles(n,"svelte-dp9rm6","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.container{padding:0 16.5%}.container.mobile{padding:0 28px}.container.mobile .header{padding:16px 0 13px}.container.mobile .header .slider__container{gap:16px;justify-content:space-between;padding:0 24px}.container.mobile .header .slider__container__tab{font-size:var(--emw--font-size-2x-small, 10px)}.header{background:linear-gradient(89.94deg, var(--emw--color-background, #003e5c) 0.05%, var(--emw--color-background-secondary, #113b21) 87.69%);padding:23px 0 17px;border-radius:12px}.header .slider__container{display:flex;position:relative;gap:60px;justify-content:center}.header .slider__tab{padding:8px 0 13px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.header .slider__tab.active{color:var(--emw--color-typography, #fff);border-bottom:2px solid var(--emw--button-border-color, #00b74f);margin-bottom:-2px}")}function D(n,e,l){const o=n.slice();return o[22]=e[l],o}function E(n){let e,l,o,a=t.ensure_array_like(n[1].split(",")),i=[];for(let s=0;s<a.length;s+=1)i[s]=x(D(n,a,s));return{c(){e=t.element("div"),l=t.element("div"),o=t.element("div");for(let s=0;s<i.length;s+=1)i[s].c();t.attr(o,"class","slider__container"),t.attr(l,"class","slider"),t.attr(e,"class","header")},m(s,c){t.insert(s,e,c),t.append(e,l),t.append(l,o);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(o,null)},p(s,c){if(c&1106){a=t.ensure_array_like(s[1].split(","));let r;for(r=0;r<a.length;r+=1){const d=D(s,a,r);i[r]?i[r].p(d,c):(i[r]=x(d),i[r].c(),i[r].m(o,null))}for(;r<i.length;r+=1)i[r].d(1);i.length=a.length}},d(s){s&&t.detach(e),t.destroy_each(i,s)}}}function x(n){let e,l=n[6](n[22])+"",o,a,i,s,c;return{c(){e=t.element("button"),o=t.text(l),a=t.space(),t.attr(e,"data-index",i=f[n[22]]),t.attr(e,"class","slider__tab"),t.toggle_class(e,"active",n[4]===f[n[22]])},m(r,d){t.insert(r,e,d),t.append(e,o),t.append(e,a),s||(c=t.listen(e,"click",n[10]),s=!0)},p(r,d){d&66&&l!==(l=r[6](r[22])+"")&&t.set_data(o,l),d&2&&i!==(i=f[r[22]])&&t.attr(e,"data-index",i),d&18&&t.toggle_class(e,"active",r[4]===f[r[22]])},d(r){r&&t.detach(e),s=!1,c()}}}function N(n){let e;return{c(){e=t.element("div"),e.textContent="Comming soon"},m(l,o){t.insert(l,e,o)},p:t.noop,d(l){l&&t.detach(e)}}}function R(n){let e,l,o,a=[n[5],{openedbydefauls:l=!0},{clientstyling:o=n[8]+n[0]}],i={};for(let s=0;s<a.length;s+=1)i=t.assign(i,a[s]);return{c(){e=t.element("casino-coinroyale-container"),t.set_attributes(e,i)},m(s,c){t.insert(s,e,c)},p(s,c){t.set_attributes(e,i=t.get_spread_update(a,[c&32&&s[5],{openedbydefauls:l},c&1&&o!==(o=s[8]+s[0])&&{clientstyling:o}]))},d(s){s&&t.detach(e)}}}function U(n){let e,l,o=[n[5],{clientstyling:l=n[9]+n[0]}],a={};for(let i=0;i<o.length;i+=1)a=t.assign(a,o[i]);return{c(){e=t.element("lottery-program-wof"),t.set_attributes(e,a)},m(i,s){t.insert(i,e,s)},p(i,s){t.set_attributes(e,a=t.get_spread_update(o,[s&32&&i[5],s&1&&l!==(l=i[9]+i[0])&&{clientstyling:l}]))},d(i){i&&t.detach(e)}}}function I(n){let e,l,o,a=[n[5],{openedbydefauls:l=!0},{clientstyling:o=n[7]+n[0]}],i={};for(let s=0;s<a.length;s+=1)i=t.assign(i,a[s]);return{c(){e=t.element("casino-mystery-chest-container"),t.set_attributes(e,i)},m(s,c){t.insert(s,e,c)},p(s,c){t.set_attributes(e,i=t.get_spread_update(a,[c&32&&s[5],{openedbydefauls:l},c&1&&o!==(o=s[7]+s[0])&&{clientstyling:o}]))},d(s){s&&t.detach(e)}}}function V(n){let e,l=n[1].split(",").length>=2,o,a,i=l&&E(n);function s(d,h){if(d[4]===f.MysteryChest)return I;if(d[4]===f.LuckyWheel)return U;if(d[4]===f.FlipCoin)return R;if(d[4]===f.Dices)return N}let c=s(n),r=c&&c(n);return{c(){e=t.element("div"),i&&i.c(),o=t.space(),r&&r.c(),t.attr(e,"class",a="container "+(n[3]?"mobile":""))},m(d,h){t.insert(d,e,h),i&&i.m(e,null),t.append(e,o),r&&r.m(e,null),n[17](e)},p(d,[h]){h&2&&(l=d[1].split(",").length>=2),l?i?i.p(d,h):(i=E(d),i.c(),i.m(e,o)):i&&(i.d(1),i=null),c===(c=s(d))&&r?r.p(d,h):(r&&r.d(1),r=c&&c(d),r&&(r.c(),r.m(e,null))),h&8&&a!==(a="container "+(d[3]?"mobile":""))&&t.attr(e,"class",a)},i:t.noop,o:t.noop,d(d){d&&t.detach(e),i&&i.d(),r&&r.d(),n[17](null)}}}function B(n,e,l){let o,a;t.component_subscribe(n,t.$format,u=>l(6,a=u));let{clientstyling:i=""}=e,{clientstylingurl:s=""}=e,{translationurl:c=""}=e,{mbsource:r}=e,{endpoint:d=""}=e,{session:h=""}=e,{lang:y="en"}=e,{tabs:p="MysteryChest,FlipCoin,LuckyWheel,Dices"}=e,w=!0,O=window.navigator.userAgent,g,m=f[p.split(",")[0]];const W=".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .chests-header,.close,.chest-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .chest-header {padding: 20px 0 0}",F=".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .coins-header,.close,.coin-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .coin-header {padding: 20px 0 0}",j=".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .help,.close,.HeaderTitle { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .Header {padding: 0}",q=u=>v(this,null,function*(){l(4,m=u.target.getAttribute("data-index")),m===f.MysteryChest&&window.postMessage({type:"OpenMysteryChestDrawer"}),m===f.FlipCoin&&window.postMessage({type:"OpenCoinRoyaleDrawer"}),m===f.LuckyWheel&&window.postMessage({type:"OpenLuckyWheelDrawer"})}),A=()=>{P(y)},z=()=>{fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{M(k,_[k])})})};Object.keys(C).forEach(u=>{M(u,C[u])}),t.onMount(()=>(l(3,w=t.isMobile(O)),()=>{}));function H(u){t.binding_callbacks[u?"unshift":"push"](()=>{g=u,l(2,g)})}return n.$$set=u=>{"clientstyling"in u&&l(0,i=u.clientstyling),"clientstylingurl"in u&&l(11,s=u.clientstylingurl),"translationurl"in u&&l(12,c=u.translationurl),"mbsource"in u&&l(13,r=u.mbsource),"endpoint"in u&&l(14,d=u.endpoint),"session"in u&&l(15,h=u.session),"lang"in u&&l(16,y=u.lang),"tabs"in u&&l(1,p=u.tabs)},n.$$.update=()=>{n.$$.dirty&65536&&y&&A(),n.$$.dirty&4096&&c&&z(),n.$$.dirty&5&&i&&g&&b.setClientStyling(g,i),n.$$.dirty&2052&&s&&g&&b.setClientStylingURL(g,s),n.$$.dirty&8196&&r&&g&&b.setStreamStyling(g,`${r}.Style`),n.$$.dirty&124928&&l(5,o={endpoint:d,lang:y,session:h,clientstylingurl:s,mbsource:r,gameoverlay:S.Hiden})},[i,p,g,w,m,o,a,W,F,j,q,s,c,r,d,h,y,H]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,B,V,t.safe_not_equal,{clientstyling:0,clientstylingurl:11,translationurl:12,mbsource:13,endpoint:14,session:15,lang:16,tabs:1},T)}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),t.flush()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),t.flush()}get tabs(){return this.$$.ctx[1]}set tabs(e){this.$$set({tabs:e}),t.flush()}}t.create_custom_element(L,{clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},endpoint:{},session:{},lang:{},tabs:{}},[],[],!0);exports.default=L;
|
|
1
|
+
"use strict";var v=(n,e,l)=>new Promise((o,a)=>{var i=r=>{try{c(l.next(r))}catch(d){a(d)}},s=r=>{try{c(l.throw(r))}catch(d){a(d)}},c=r=>r.done?o(r.value):Promise.resolve(r.value).then(i,s);c((l=l.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCoinroyaleContainer-BR_-FZ1X.cjs"),b=require("./CasinoCoinroyaleDetails-CCmEVy1D.cjs");if(typeof window!="undefined"){let n=function(e){return function(...l){try{return e.apply(this,l)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestContainer-BQATncJy.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chest-container")&&customElements.define("casino-mystery-chest-container",e.element)})}if(typeof window!="undefined"){let n=function(e){return function(...l){try{return e.apply(this,l)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoCoinroyaleContainer-BR_-FZ1X.cjs")).then(e=>e.CasinoCoinroyaleContainer_ce).then(({default:e})=>{!customElements.get("casino-coinroyale-container")&&customElements.define("casino-coinroyale-container",e.element)})}if(typeof window!="undefined"){const n=e=>function(...l){try{return e.apply(this,l)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./LotteryProgramWof-CGuItG9H.cjs")).then(({default:e})=>{!customElements.get("lottery-program-wof")&&customElements.define("lottery-program-wof",e.element)})}var f=(n=>(n.MysteryChest="Mystery Chests",n.FlipCoin="FlipCoin",n.LuckyWheel="Lucky Wheel",n.Dices="Dices",n))(f||{}),S=(n=>(n.Showed="Showed",n.Hiden="Hiden",n))(S||{});const C={en:{MysteryChest:"Mystery Chests",LuckyWheel:"Lucky Wheel",Dices:"Dices",FlipCoin:"Flip Coin"}};function M(n,e){t.addMessages(n,e)}function P(n){t.init$1({fallbackLocale:"en"}),t.$locale.set(n)}function T(n){t.append_styles(n,"svelte-dp9rm6","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.container{padding:0 16.5%}.container.mobile{padding:0 28px}.container.mobile .header{padding:16px 0 13px}.container.mobile .header .slider__container{gap:16px;justify-content:space-between;padding:0 24px}.container.mobile .header .slider__container__tab{font-size:var(--emw--font-size-2x-small, 10px)}.header{background:linear-gradient(89.94deg, var(--emw--color-background, #003e5c) 0.05%, var(--emw--color-background-secondary, #113b21) 87.69%);padding:23px 0 17px;border-radius:12px}.header .slider__container{display:flex;position:relative;gap:60px;justify-content:center}.header .slider__tab{padding:8px 0 13px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.header .slider__tab.active{color:var(--emw--color-typography, #fff);border-bottom:2px solid var(--emw--button-border-color, #00b74f);margin-bottom:-2px}")}function D(n,e,l){const o=n.slice();return o[22]=e[l],o}function E(n){let e,l,o,a=t.ensure_array_like(n[1].split(",")),i=[];for(let s=0;s<a.length;s+=1)i[s]=x(D(n,a,s));return{c(){e=t.element("div"),l=t.element("div"),o=t.element("div");for(let s=0;s<i.length;s+=1)i[s].c();t.attr(o,"class","slider__container"),t.attr(l,"class","slider"),t.attr(e,"class","header")},m(s,c){t.insert(s,e,c),t.append(e,l),t.append(l,o);for(let r=0;r<i.length;r+=1)i[r]&&i[r].m(o,null)},p(s,c){if(c&1106){a=t.ensure_array_like(s[1].split(","));let r;for(r=0;r<a.length;r+=1){const d=D(s,a,r);i[r]?i[r].p(d,c):(i[r]=x(d),i[r].c(),i[r].m(o,null))}for(;r<i.length;r+=1)i[r].d(1);i.length=a.length}},d(s){s&&t.detach(e),t.destroy_each(i,s)}}}function x(n){let e,l=n[6](n[22])+"",o,a,i,s,c;return{c(){e=t.element("button"),o=t.text(l),a=t.space(),t.attr(e,"data-index",i=f[n[22]]),t.attr(e,"class","slider__tab"),t.toggle_class(e,"active",n[4]===f[n[22]])},m(r,d){t.insert(r,e,d),t.append(e,o),t.append(e,a),s||(c=t.listen(e,"click",n[10]),s=!0)},p(r,d){d&66&&l!==(l=r[6](r[22])+"")&&t.set_data(o,l),d&2&&i!==(i=f[r[22]])&&t.attr(e,"data-index",i),d&18&&t.toggle_class(e,"active",r[4]===f[r[22]])},d(r){r&&t.detach(e),s=!1,c()}}}function N(n){let e;return{c(){e=t.element("div"),e.textContent="Comming soon"},m(l,o){t.insert(l,e,o)},p:t.noop,d(l){l&&t.detach(e)}}}function R(n){let e,l,o,a=[n[5],{openedbydefauls:l=!0},{clientstyling:o=n[8]+n[0]}],i={};for(let s=0;s<a.length;s+=1)i=t.assign(i,a[s]);return{c(){e=t.element("casino-coinroyale-container"),t.set_attributes(e,i)},m(s,c){t.insert(s,e,c)},p(s,c){t.set_attributes(e,i=t.get_spread_update(a,[c&32&&s[5],{openedbydefauls:l},c&1&&o!==(o=s[8]+s[0])&&{clientstyling:o}]))},d(s){s&&t.detach(e)}}}function U(n){let e,l,o=[n[5],{clientstyling:l=n[9]+n[0]}],a={};for(let i=0;i<o.length;i+=1)a=t.assign(a,o[i]);return{c(){e=t.element("lottery-program-wof"),t.set_attributes(e,a)},m(i,s){t.insert(i,e,s)},p(i,s){t.set_attributes(e,a=t.get_spread_update(o,[s&32&&i[5],s&1&&l!==(l=i[9]+i[0])&&{clientstyling:l}]))},d(i){i&&t.detach(e)}}}function I(n){let e,l,o,a=[n[5],{openedbydefauls:l=!0},{clientstyling:o=n[7]+n[0]}],i={};for(let s=0;s<a.length;s+=1)i=t.assign(i,a[s]);return{c(){e=t.element("casino-mystery-chest-container"),t.set_attributes(e,i)},m(s,c){t.insert(s,e,c)},p(s,c){t.set_attributes(e,i=t.get_spread_update(a,[c&32&&s[5],{openedbydefauls:l},c&1&&o!==(o=s[7]+s[0])&&{clientstyling:o}]))},d(s){s&&t.detach(e)}}}function V(n){let e,l=n[1].split(",").length>=2,o,a,i=l&&E(n);function s(d,h){if(d[4]===f.MysteryChest)return I;if(d[4]===f.LuckyWheel)return U;if(d[4]===f.FlipCoin)return R;if(d[4]===f.Dices)return N}let c=s(n),r=c&&c(n);return{c(){e=t.element("div"),i&&i.c(),o=t.space(),r&&r.c(),t.attr(e,"class",a="container "+(n[3]?"mobile":""))},m(d,h){t.insert(d,e,h),i&&i.m(e,null),t.append(e,o),r&&r.m(e,null),n[17](e)},p(d,[h]){h&2&&(l=d[1].split(",").length>=2),l?i?i.p(d,h):(i=E(d),i.c(),i.m(e,o)):i&&(i.d(1),i=null),c===(c=s(d))&&r?r.p(d,h):(r&&r.d(1),r=c&&c(d),r&&(r.c(),r.m(e,null))),h&8&&a!==(a="container "+(d[3]?"mobile":""))&&t.attr(e,"class",a)},i:t.noop,o:t.noop,d(d){d&&t.detach(e),i&&i.d(),r&&r.d(),n[17](null)}}}function B(n,e,l){let o,a;t.component_subscribe(n,t.$format,u=>l(6,a=u));let{clientstyling:i=""}=e,{clientstylingurl:s=""}=e,{translationurl:c=""}=e,{mbsource:r}=e,{endpoint:d=""}=e,{session:h=""}=e,{lang:y="en"}=e,{tabs:p="MysteryChest,FlipCoin,LuckyWheel,Dices"}=e,w=!0,O=window.navigator.userAgent,g,m=f[p.split(",")[0]];const W=".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .chests-header,.close,.chest-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .chest-header {padding: 20px 0 0}",F=".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .coins-header,.close,.coin-header__title { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .coin-header {padding: 20px 0 0}",j=".overlay { display: none; } .drawer { position: unset; transform: none; background: transparent; width: initial; height: initial; padding: 0; border-radius: 0; } .help,.close,.HeaderTitle { display: none } .mobile.drawer { padding: 0 } .back { height: 40px; width: 40px;} .Header {padding: 0}",q=u=>v(this,null,function*(){l(4,m=u.target.getAttribute("data-index")),m===f.MysteryChest&&window.postMessage({type:"OpenMysteryChestDrawer"}),m===f.FlipCoin&&window.postMessage({type:"OpenCoinRoyaleDrawer"}),m===f.LuckyWheel&&window.postMessage({type:"OpenLuckyWheelDrawer"})}),A=()=>{P(y)},z=()=>{fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach(k=>{M(k,_[k])})})};Object.keys(C).forEach(u=>{M(u,C[u])}),t.onMount(()=>(l(3,w=t.isMobile(O)),()=>{}));function H(u){t.binding_callbacks[u?"unshift":"push"](()=>{g=u,l(2,g)})}return n.$$set=u=>{"clientstyling"in u&&l(0,i=u.clientstyling),"clientstylingurl"in u&&l(11,s=u.clientstylingurl),"translationurl"in u&&l(12,c=u.translationurl),"mbsource"in u&&l(13,r=u.mbsource),"endpoint"in u&&l(14,d=u.endpoint),"session"in u&&l(15,h=u.session),"lang"in u&&l(16,y=u.lang),"tabs"in u&&l(1,p=u.tabs)},n.$$.update=()=>{n.$$.dirty&65536&&y&&A(),n.$$.dirty&4096&&c&&z(),n.$$.dirty&5&&i&&g&&b.setClientStyling(g,i),n.$$.dirty&2052&&s&&g&&b.setClientStylingURL(g,s),n.$$.dirty&8196&&r&&g&&b.setStreamStyling(g,`${r}.Style`),n.$$.dirty&124928&&l(5,o={endpoint:d,lang:y,session:h,clientstylingurl:s,mbsource:r,gameoverlay:S.Hiden})},[i,p,g,w,m,o,a,W,F,j,q,s,c,r,d,h,y,H]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,B,V,t.safe_not_equal,{clientstyling:0,clientstylingurl:11,translationurl:12,mbsource:13,endpoint:14,session:15,lang:16,tabs:1},T)}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[15]}set session(e){this.$$set({session:e}),t.flush()}get lang(){return this.$$.ctx[16]}set lang(e){this.$$set({lang:e}),t.flush()}get tabs(){return this.$$.ctx[1]}set tabs(e){this.$$set({tabs:e}),t.flush()}}t.create_custom_element(L,{clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},endpoint:{},session:{},lang:{},tabs:{}},[],[],!0);exports.default=L;
|
|
@@ -58,7 +58,7 @@ if (typeof window != "undefined") {
|
|
|
58
58
|
throw l;
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
customElements.define = t(customElements.define), import("./LotteryProgramWof-
|
|
61
|
+
customElements.define = t(customElements.define), import("./LotteryProgramWof-BljlI4oy.js").then(({ default: e }) => {
|
|
62
62
|
!customElements.get("lottery-program-wof") && customElements.define("lottery-program-wof", e.element);
|
|
63
63
|
});
|
|
64
64
|
}
|