@everymatrix/prize-engine-details 0.4.114 → 0.4.116
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/{PrizeEngineChest-s3YeoS0t.js → PrizeEngineChest-C4popI-2.js} +1 -1
- package/components/{PrizeEngineChest-DXVroX8W.cjs → PrizeEngineChest-DxX6TNlX.cjs} +1 -1
- package/components/{PrizeEngineChest-mc2vo6Be.js → PrizeEngineChest-EYZUGR-U.js} +1 -1
- package/components/{PrizeEngineCoin-Z338Uo-B.js → PrizeEngineCoin-B6TfN5U_.js} +1 -1
- package/components/{PrizeEngineCoin-DhozorQg.cjs → PrizeEngineCoin-D0shjSqJ.cjs} +1 -1
- package/components/{PrizeEngineCoin-B1wMlBXu.js → PrizeEngineCoin-D7RMJeQv.js} +1 -1
- package/components/{PrizeEngineDetails-BpdMrXFK.cjs → PrizeEngineDetails-CDlceut4.cjs} +2 -2
- package/components/{PrizeEngineDetails-DORWuTWh.js → PrizeEngineDetails-CsklIAbg.js} +4 -4
- package/components/{PrizeEngineDetails-BPNb7lue.js → PrizeEngineDetails-D8O-TJ37.js} +4 -4
- package/components/{PrizeEngineLuckywheel-B6pg2NwX.js → PrizeEngineLuckywheel-B3CW_OIO.js} +2 -2
- package/components/{PrizeEngineLuckywheel-CIr5mtIB.cjs → PrizeEngineLuckywheel-BZS-by2p.cjs} +1 -1
- package/components/{PrizeEngineLuckywheel-CNWYZep7.js → PrizeEngineLuckywheel-DMKCxe-b.js} +2 -2
- package/components/{WheelSVG-BGVM2toS.js → WheelSVG-DLyejjSm.js} +1 -1
- package/components/{WheelSVG-DaJkcb2-.js → WheelSVG-R6v1RaFO.js} +1 -1
- package/components/{WheelSVG-DrLrZIJN.cjs → WheelSVG-Wg1MMcfU.cjs} +1 -1
- package/es2015/prize-engine-details.cjs +1 -1
- package/es2015/prize-engine-details.js +1 -1
- package/esnext/prize-engine-details.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-aZT0Suei.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-B9VBo72p.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-8UVsv6jT.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CQoA7I2l.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BQ-1TtKf.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-C7JH5ymf.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/stencil/index-b2193545-BK1eKuNv.js +0 -493
- package/stencil/index-b2193545-BzLH-hhx.js +0 -509
- package/stencil/index-b2193545-CIfou2cI.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
2
2
|
function re() {
|
|
3
3
|
}
|
|
4
4
|
const rr = (e) => e;
|
|
@@ -4652,7 +4652,7 @@ if (typeof window < "u") {
|
|
|
4652
4652
|
}
|
|
4653
4653
|
};
|
|
4654
4654
|
};
|
|
4655
|
-
customElements.define = e(customElements.define), import("./PrizeEngineChest-
|
|
4655
|
+
customElements.define = e(customElements.define), import("./PrizeEngineChest-C4popI-2.js").then(({ default: t }) => {
|
|
4656
4656
|
!customElements.get("prize-engine-chest") && customElements.define("prize-engine-chest", t.element);
|
|
4657
4657
|
});
|
|
4658
4658
|
}
|
|
@@ -4668,7 +4668,7 @@ if (typeof window < "u") {
|
|
|
4668
4668
|
}
|
|
4669
4669
|
};
|
|
4670
4670
|
};
|
|
4671
|
-
customElements.define = e(customElements.define), import("./PrizeEngineCoin-
|
|
4671
|
+
customElements.define = e(customElements.define), import("./PrizeEngineCoin-B6TfN5U_.js").then(({ default: t }) => {
|
|
4672
4672
|
!customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", t.element);
|
|
4673
4673
|
});
|
|
4674
4674
|
}
|
|
@@ -4684,7 +4684,7 @@ if (typeof window < "u") {
|
|
|
4684
4684
|
}
|
|
4685
4685
|
};
|
|
4686
4686
|
};
|
|
4687
|
-
customElements.define = e(customElements.define), import("./PrizeEngineLuckywheel-
|
|
4687
|
+
customElements.define = e(customElements.define), import("./PrizeEngineLuckywheel-DMKCxe-b.js").then(({ default: t }) => {
|
|
4688
4688
|
!customElements.get("prize-engine-luckywheel") && customElements.define("prize-engine-luckywheel", t.element);
|
|
4689
4689
|
});
|
|
4690
4690
|
}
|
|
@@ -27,7 +27,7 @@ var we = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
function ne() {
|
|
32
32
|
}
|
|
33
33
|
const mr = (e) => e;
|
|
@@ -4689,7 +4689,7 @@ if (typeof window != "undefined") {
|
|
|
4689
4689
|
}
|
|
4690
4690
|
};
|
|
4691
4691
|
};
|
|
4692
|
-
customElements.define = e(customElements.define), import("./PrizeEngineChest-
|
|
4692
|
+
customElements.define = e(customElements.define), import("./PrizeEngineChest-EYZUGR-U.js").then(({ default: t }) => {
|
|
4693
4693
|
!customElements.get("prize-engine-chest") && customElements.define("prize-engine-chest", t.element);
|
|
4694
4694
|
});
|
|
4695
4695
|
}
|
|
@@ -4705,7 +4705,7 @@ if (typeof window != "undefined") {
|
|
|
4705
4705
|
}
|
|
4706
4706
|
};
|
|
4707
4707
|
};
|
|
4708
|
-
customElements.define = e(customElements.define), import("./PrizeEngineCoin-
|
|
4708
|
+
customElements.define = e(customElements.define), import("./PrizeEngineCoin-D7RMJeQv.js").then(({ default: t }) => {
|
|
4709
4709
|
!customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", t.element);
|
|
4710
4710
|
});
|
|
4711
4711
|
}
|
|
@@ -4721,7 +4721,7 @@ if (typeof window != "undefined") {
|
|
|
4721
4721
|
}
|
|
4722
4722
|
};
|
|
4723
4723
|
};
|
|
4724
|
-
customElements.define = e(customElements.define), import("./PrizeEngineLuckywheel-
|
|
4724
|
+
customElements.define = e(customElements.define), import("./PrizeEngineLuckywheel-B3CW_OIO.js").then(({ default: t }) => {
|
|
4725
4725
|
!customElements.get("prize-engine-luckywheel") && customElements.define("prize-engine-luckywheel", t.element);
|
|
4726
4726
|
});
|
|
4727
4727
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as O, d as T, s as B, f as g, e as I, h as R, Q as M, R as z, T as J, j as G, k as L, m as P, t as Q, o as X, q as F, U as H, u as K, V as Y, W as Z, x as W, X as $, A as ee, B as te, C as ne, D as ie } from "./PrizeEngineDetails-
|
|
2
|
-
import { s as se, a as le, W as re, b as ae } from "./WheelSVG-
|
|
1
|
+
import { S as O, d as T, s as B, f as g, e as I, h as R, Q as M, R as z, T as J, j as G, k as L, m as P, t as Q, o as X, q as F, U as H, u as K, V as Y, W as Z, x as W, X as $, A as ee, B as te, C as ne, D as ie } from "./PrizeEngineDetails-D8O-TJ37.js";
|
|
2
|
+
import { s as se, a as le, W as re, b as ae } from "./WheelSVG-R6v1RaFO.js";
|
|
3
3
|
function oe(i) {
|
|
4
4
|
I(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
|
|
5
5
|
}
|
package/components/{PrizeEngineLuckywheel-CIr5mtIB.cjs → PrizeEngineLuckywheel-BZS-by2p.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PrizeEngineDetails-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PrizeEngineDetails-CDlceut4.cjs"),z=require("./WheelSVG-Wg1MMcfU.cjs");function O(s){e.append_styles(s,"svelte-12d9sfg",'.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}')}function L(s){let t,l,n,o,a={lang:s[0],contentdirection:s[1],bonus:s[4],size:s[3],radius:s[7]};return n=new z.WheelSVG({props:a}),s[17](n),n.$on("spinning",s[18]),n.$on("spinning-request",s[19]),n.$on("success",s[20]),{c(){t=e.element("div"),l=e.element("div"),e.create_component(n.$$.fragment),e.attr(l,"class","WheelWrapper svelte-12d9sfg"),e.attr(t,"class","MainSection svelte-12d9sfg")},m(r,c){e.insert(r,t,c),e.append(t,l),e.mount_component(n,l,null),o=!0},p(r,c){const u={};c&1&&(u.lang=r[0]),c&2&&(u.contentdirection=r[1]),c&16&&(u.bonus=r[4]),c&8&&(u.size=r[3]),c&128&&(u.radius=r[7]),n.$set(u)},i(r){o||(e.transition_in(n.$$.fragment,r),o=!0)},o(r){e.transition_out(n.$$.fragment,r),o=!1},d(r){r&&e.detach(t),s[17](null),e.destroy_component(n)}}}function U(s){let t,l,n=s[4]&&L(s);return{c(){t=e.element("div"),n&&n.c(),e.attr(t,"class","PrizeLuckywheelContainer svelte-12d9sfg"),e.toggle_class(t,"Mobile",s[8])},m(o,a){e.insert(o,t,a),n&&n.m(t,null),s[21](t),l=!0},p(o,[a]){o[4]?n?(n.p(o,a),a&16&&e.transition_in(n,1)):(n=L(o),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(o){l||(e.transition_in(n),l=!0)},o(o){e.transition_out(n),l=!1},d(o){o&&e.detach(t),n&&n.d(),s[21](null)}}}let V=null;function x(s,t,l){let n,o,a,{data:r=null}=t,{lang:c="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:_=""}=t,{mbsource:b=""}=t,{size:S=324}=t,{mobilesize:w=240}=t,{contentdirection:M="anticlockwise"}=t,k=null,f;const P=e.isMobile(window.navigator.userAgent);let g,m=!1;z.setLocaleWhenInit();const C=()=>{fetch(_).then(d=>d.json()).then(d=>{Object.keys(d).forEach(h=>{z.addNewMessages(h,d[h])})})},E=i=>{g&&g.setDrawResult(i)},G=()=>{m||(l(6,m=!0),g&&g.eventSpin())};e.onMount(()=>{const i=d=>{const{type:h,data:p}=d.data;h==="PrizeGameResult"?E(p):h==="PrizeResultClose"?(l(6,m=!1),g&&g.closeMessage()):h==="PrizeGameStartAnimation"&&G()};return window.addEventListener("message",i),()=>{window.removeEventListener("message",i)}});function W(i){e.binding_callbacks[i?"unshift":"push"](()=>{g=i,l(5,g)})}const q=()=>l(6,m=!0),R=()=>window.postMessage({type:"PrizeGameRequestDraw"},"*"),j=()=>window.postMessage({type:"PrizeGameSpinEnd"},"*");function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{f=i,l(2,f)})}return s.$$set=i=>{"data"in i&&l(9,r=i.data),"lang"in i&&l(0,c=i.lang),"clientstyling"in i&&l(10,u=i.clientstyling),"clientstylingurl"in i&&l(11,y=i.clientstylingurl),"translationurl"in i&&l(12,_=i.translationurl),"mbsource"in i&&l(13,b=i.mbsource),"size"in i&&l(14,S=i.size),"mobilesize"in i&&l(15,w=i.mobilesize),"contentdirection"in i&&l(1,M=i.contentdirection)},s.$$.update=()=>{if(s.$$.dirty&512)if(typeof r=="string")try{l(4,k=JSON.parse(r))}catch(i){console.error("[Luckywheel] Parse failed",i)}else l(4,k=r);s.$$.dirty&1&&c&&z.setLocale(c),s.$$.dirty&4096&&_&&C(),s.$$.dirty&1028&&u&&f&&e.setClientStyling(f,u),s.$$.dirty&2052&&y&&f&&e.setClientStylingURL(f,y),s.$$.dirty&8196&&b&&f&&e.setStreamStyling(f,`${b}.Style`,V),s.$$.dirty&49152&&l(16,n=P&&w?w:S),s.$$.dirty&65536&&l(3,o=n/.6875),s.$$.dirty&8&&l(7,a=.62*o/2)},[c,M,f,o,k,g,m,a,P,r,u,y,_,b,S,w,n,W,q,R,j,D]}class v extends e.SvelteComponent{constructor(t){super(),e.init(this,t,x,U,e.safe_not_equal,{data:9,lang:0,clientstyling:10,clientstylingurl:11,translationurl:12,mbsource:13,size:14,mobilesize:15,contentdirection:1},O)}get data(){return this.$$.ctx[9]}set data(t){this.$$set({data:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get size(){return this.$$.ctx[14]}set size(t){this.$$set({size:t}),e.flush()}get mobilesize(){return this.$$.ctx[15]}set mobilesize(t){this.$$set({mobilesize:t}),e.flush()}get contentdirection(){return this.$$.ctx[1]}set contentdirection(t){this.$$set({contentdirection:t}),e.flush()}}customElements.define("prize-engine-luckywheel",e.create_custom_element(v,{data:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},size:{},mobilesize:{},contentdirection:{}},[],[],!0));exports.default=v;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as O, d as T, s as B, f as g, g as I, j as R, Q as M, R as z, T as J, k as G, m as L, o as P, t as Q, p as X, r as F, U as H, v as K, V as Y, W as Z, y as W, X as $, B as ee, C as te, D as ne, e as ie } from "./PrizeEngineDetails-
|
|
2
|
-
import { s as se, a as le, W as re, b as ae } from "./WheelSVG-
|
|
1
|
+
import { S as O, d as T, s as B, f as g, g as I, j as R, Q as M, R as z, T as J, k as G, m as L, o as P, t as Q, p as X, r as F, U as H, v as K, V as Y, W as Z, y as W, X as $, B as ee, C as te, D as ne, e as ie } from "./PrizeEngineDetails-CsklIAbg.js";
|
|
2
|
+
import { s as se, a as le, W as re, b as ae } from "./WheelSVG-DLyejjSm.js";
|
|
3
3
|
function oe(i) {
|
|
4
4
|
I(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as u0, a as e2, b as t2, S as o2, d as i2, s as r2, f as _, g as s2, h as c0, j as J, E as W0, o as s, t as R, k as U, v as u, m as L, F as N0, x as V0, q as a2, G as n2, p as l2, H as Z, I as $, J as c2, z as f0, K as p0, L as B, y as C0, c as r0, M as s0, N as B0, O as f2, e as d2, P as g2 } from "./PrizeEngineDetails-
|
|
1
|
+
import { $ as u0, a as e2, b as t2, S as o2, d as i2, s as r2, f as _, g as s2, h as c0, j as J, E as W0, o as s, t as R, k as U, v as u, m as L, F as N0, x as V0, q as a2, G as n2, p as l2, H as Z, I as $, J as c2, z as f0, K as p0, L as B, y as C0, c as r0, M as s0, N as B0, O as f2, e as d2, P as g2 } from "./PrizeEngineDetails-CsklIAbg.js";
|
|
2
2
|
const w0 = {
|
|
3
3
|
en: {
|
|
4
4
|
RemainingTimes: "Remaining Times",
|
|
@@ -26,7 +26,7 @@ var t0 = (e, t, o) => new Promise((r, i) => {
|
|
|
26
26
|
}, f = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(l, g);
|
|
27
27
|
f((o = o.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { $ as w0, a as A2, b as u2, S as m2, d as C2, s as B2, f as o0, e as w2, g as d0, h as J, E as r2, m as s, t as R, j as U, u as m, k as L, F as s2, v as a2, p as v2, G as k2, o as F2, H as Z, I as i0, J as y2, y as g0, K as m0, L as B, x as x0, c as a0, M as n0, N as M0, O as I2, D as S2, P as E2 } from "./PrizeEngineDetails-
|
|
29
|
+
import { $ as w0, a as A2, b as u2, S as m2, d as C2, s as B2, f as o0, e as w2, g as d0, h as J, E as r2, m as s, t as R, j as U, u as m, k as L, F as s2, v as a2, p as v2, G as k2, o as F2, H as Z, I as i0, J as y2, y as g0, K as m0, L as B, x as x0, c as a0, M as n0, N as M0, O as I2, D as S2, P as E2 } from "./PrizeEngineDetails-D8O-TJ37.js";
|
|
30
30
|
const b0 = {
|
|
31
31
|
en: {
|
|
32
32
|
RemainingTimes: "Remaining Times",
|