@everymatrix/lottery-program-wof 1.75.1 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{LotteryProgramWof-DoQm7KJI.cjs → LotteryProgramWof-C01UB9tE.cjs} +1 -1
- package/components/{LotteryProgramWof-XARj1L2U.js → LotteryProgramWof-DW8TG7eT.js} +713 -713
- package/components/{LotteryProgramWof-B1fhU0fO.js → LotteryProgramWof-Dp9_9o3a.js} +4 -4
- package/es2015/lottery-program-wof.cjs +1 -1
- package/es2015/lottery-program-wof.js +1 -1
- package/esnext/lottery-program-wof.js +1 -1
- package/package.json +1 -1
|
@@ -45,4 +45,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
45
45
|
`,ti=()=>[S3(),I3(),M3(),`
|
|
46
46
|
--img-theme-partition-light: url("${a3}");
|
|
47
47
|
--img-theme-pointer-area: url("${l3}");
|
|
48
|
-
`].join(" ");function P3(e){_0(e,"svelte-19t82yv",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{background:var(--emw--color-contrast, #07072A);display:flex;align-items:center;flex-direction:column;padding:20px 0}main{max-width:600px;width:100%;display:flex;justify-content:space-around;min-height:200px}svg{transition:opacity 0.3s}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.Center{cursor:pointer;transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:rgb(150, 54, 88);stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.Current{color:#FFFFFF}.PartitionText{color:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 3px #000;dominant-baseline:central}.PartitionsShadow{background-blend-mode:multiply;mix-blend-mode:multiply}.PartitionTextEntityContainer{height:100%;display:flex;align-items:center}.PartitionTextEntity{width:100%}.PartitionTextEntity.Anticlockwise{text-align:end}.theme1 foreignObject.Bottom div,.theme4 foreignObject.Bottom div,.theme5 foreignObject.Bottom div{background-image:var(--img-theme1-bg3), var(--img-theme-BgBlackRing), var(--img-theme-BgHalo);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 7px), calc(var(--radius) * 2px + var(--ratio) * 37px), calc(var(--radius) * 2px + var(--ratio) * 130px)}.theme2 foreignObject.Bottom div,.theme6 foreignObject.Bottom div{background-image:var(--img-theme2-bg3), var(--img-theme-BgHalo), var(--img-theme-BgBlackRing);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 8px), calc(var(--radius) * 2px + var(--ratio) * 123px), calc(var(--radius) * 2px + var(--ratio) * 37px)}.theme3 foreignObject.Bottom div{background-image:var(--img-theme3-bg2), var(--img-theme3-bg1);background-position:center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 57px), calc(var(--radius) * 2px + var(--ratio) * 125px)}.theme7 foreignObject.Bottom div{background-image:var(--img-theme7-bg3), var(--img-theme7-bg2), var(--img-theme7-bg1);background-position:center, center calc(var(--size) * 1px - var(--ratio) * 95px), calc(var(--ratio) * 42px) calc(var(--ratio) * -5px);background-size:calc(var(--radius) * 2px + 35px), calc(var(--radius) * 2px * 0.6), calc(var(--radius) * 2.7px)}.theme8 foreignObject.Bottom div{background-image:var(--img-theme8-bg1);background-position:center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 20px), calc(var(--radius) * 2px + var(--ratio) * 125px)}.theme1 foreignObject.Middle div,.theme4 foreignObject.Middle div{background-image:var(--img-theme-center1);background-position:center}.theme2 foreignObject.Middle div{background-image:var(--img-theme2-center), var(--img-theme2-arrow);background-position:center, center 60px}.theme3 foreignObject.Middle div{background-image:var(--img-theme3-center), var(--img-theme3-arrow);background-position:center, center 39px}.theme8 foreignObject.Middle div{background-image:var(--img-theme8-center), var(--img-theme8-arrow);background-position:center, center 55px}.theme5 foreignObject.Middle div,.theme6 foreignObject.Middle div{background-image:var(--img-theme-center2);background-position:center}.theme7 foreignObject.Middle div{background-image:var(--img-theme7-center), var(--img-theme7-arrow);background-position:center, center 36px}.theme7 foreignObject.Top div{background-image:var(--img-theme7-light);background-position:294px 135px}.theme1 foreignObject.Top,.theme2 foreignObject.Top,.theme3 foreignObject.Top,.theme4 foreignObject.Top,.theme5 foreignObject.Top,.theme6 foreignObject.Top{mix-blend-mode:multiply}.theme1 foreignObject.Top div,.theme2 foreignObject.Top div,.theme3 foreignObject.Top div,.theme4 foreignObject.Top div,.theme5 foreignObject.Top div,.theme6 foreignObject.Top div{background-image:var(--img-theme-shadow);background-position:center;background-size:calc(var(--radius) * 2px)}.theme2 foreignObject.Partition1 div{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc(var(--index) * 360deg / var(--length)))}.theme2 foreignObject.Partition2 div{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc((var(--index) + 0.5) * 360deg / var(--length)))}foreignObject.PointerArea{mix-blend-mode:screen}foreignObject.PointerArea div{background-image:var(--img-theme-pointer-area);background-position:center -3px;background-size:51%}foreignObject.Partition1 div,foreignObject.Partition2 div{transform-origin:center}.PartitionsCustomable1 div,.PartitionsCustomable2 div{visibility:hidden}.PartitionsCustomable1 div.active,.PartitionsCustomable2 div.active{visibility:visible}foreignObject.Customable{overflow:visible}foreignObject.Customable div{background-repeat:no-repeat}.PartitionBackground div{background-size:calc(var(--radius) * 2 / var(--size) * 100%) calc(var(--radius) * 2 / var(--size) * 100%);background-position:center}.theme1 .PartitionBackground:nth-child(4n+1) div,.theme2 .PartitionBackground:nth-child(4n+1) div{background-image:radial-gradient(#009C9C 0%, #002634 100%)}.theme1 .PartitionBackground:nth-child(4n+2) div,.theme2 .PartitionBackground:nth-child(4n+2) div{background-image:radial-gradient(#AA00BF 0%, #3B0031 100%)}.theme1 .PartitionBackground:nth-child(4n+3) div,.theme2 .PartitionBackground:nth-child(4n+3) div{background-image:radial-gradient(#0068CD 0%, #150D42 100%)}.theme1 .PartitionBackground:nth-child(4n+4) div,.theme2 .PartitionBackground:nth-child(4n+4) div{background-image:radial-gradient(#DA005B 0%, #400021 100%)}.theme3 .PartitionBackground:nth-child(4n+1) div{background-image:radial-gradient(#066 0%, #007F76 13%, #00B59B 42%, #00DDB5 67.01%, #00F6C6 88.01%, #0FC 100.01%)}.theme3 .PartitionBackground:nth-child(4n+2) div{background-image:radial-gradient(#580065 22.67%, #D453FF 91.3%)}.theme3 .PartitionBackground:nth-child(4n+3) div{background-image:radial-gradient(#FFE767 -0.01%, #F28F00 100%)}.theme3 .PartitionBackground:nth-child(4n+4) div{background-image:radial-gradient(#900A42 22.59%, #960A44 23.94%, #B60B53 31.36%, #D00C5E 39.45%, #E40D67 48.22%, #F30D6E 57.66%, #FB0D71 69.8%, #FE0E73 90.03%)}.theme4 .PartitionBackground:nth-child(4n+1) div,.theme5 .PartitionBackground:nth-child(4n+1) div,.theme6 .PartitionBackground:nth-child(4n+1) div{background:radial-gradient(#3B0031 0%, #7E008E 100.01%)}.theme4 .PartitionBackground:nth-child(4n+2) div,.theme5 .PartitionBackground:nth-child(4n+2) div,.theme6 .PartitionBackground:nth-child(4n+2) div{background:radial-gradient(#5A005F 22.67%, #EA53FF 91.3%)}.theme4 .PartitionBackground:nth-child(4n+3) div,.theme5 .PartitionBackground:nth-child(4n+3) div,.theme6 .PartitionBackground:nth-child(4n+3) div{background:radial-gradient(#B300C3 -0.01%, #4D003B 100%)}.theme4 .PartitionBackground:nth-child(4n+4) div,.theme5 .PartitionBackground:nth-child(4n+4) div,.theme6 .PartitionBackground:nth-child(4n+4) div{background:radial-gradient(#59007B 22.59%, #B753FF 90.03%)}.theme7 .PartitionBackground:nth-child(2n+1) div{background:linear-gradient(90.23deg, #F6AD3F 16.59%, #AF8531 99.8%)}.theme7 .PartitionBackground:nth-child(2n+2) div{background:linear-gradient(90deg, #323234 -0.01%, #272425 54.99%, #231F1F 99.99%)}.theme8 .PartitionBackground div{background:#333}.theme8 .PartitionBackground:nth-child(2n+1) .PartitionSmallBackground{background:#3F2E75}.theme8 .PartitionBackground:nth-child(2n+2) .PartitionSmallBackground{background:#9482CE}.theme8 .PartitionBackgrounds{position:relative}.theme8 .PartitionSmallBackground{position:absolute;top:0;width:100%;height:100%}.PartitionBackground div{transform-origin:center}.PartitionBackgroundStroke{fill:transparent;stroke-width:0.5px;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius))}.theme1 .PartitionBackgroundStroke,.theme2 .PartitionBackgroundStroke{stroke:#FCD755}.PointerPartitionFrame{stroke:#FFDD64;fill:transparent;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius));stroke-width:0px}.PointerPartitionFrame.active{stroke-width:3px}g.Center.spinning{cursor:not-allowed}')}function ii(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function ri(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function oi(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function ni(e,t,i){const r=e.slice();return r[49]=t[i],r[46]=i,r}function si(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function ai(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function li(e){let t,i,r,o,n,s,a,l,c,u,h,f,d,g,m,C,B,w,P,S,D=[e[13]],L={};for(let p=0;p<D.length;p+=1)L=V(L,D[p]);let z=[e[4],{class:"Bottom Customable"}],Z={};for(let p=0;p<z.length;p+=1)Z=V(Z,z[p]);let M=K(e[3]),G=[];for(let p=0;p<M.length;p+=1)G[p]=ci(ai(e,M,p));let f0=K(e[3]),J=[];for(let p=0;p<f0.length;p+=1)J[p]=ui(si(e,f0,p));let Q=K(e[3]),W=[];for(let p=0;p<Q.length;p+=1)W[p]=di(ni(e,Q,p));let p0=[{class:"PartitionsContainer"},e[6].getSpinnerProps()],O={};for(let p=0;p<p0.length;p+=1)O=V(O,p0[p]);let s0=K(e[3]),X=[];for(let p=0;p<s0.length;p+=1)X[p]=gi(oi(e,s0,p));let m0=K(e[3]),t0=[];for(let p=0;p<m0.length;p+=1)t0[p]=pi(ri(e,m0,p));let c0=e[5].pointerMode===g0.Partition&&Ai(e),w0=[e[13]],b0={};for(let p=0;p<w0.length;p+=1)b0=V(b0,w0[p]);let I0=[{class:"Middle Customable"},e[4]],M0={};for(let p=0;p<I0.length;p+=1)M0=V(M0,I0[p]);let k0=[e[13]],I={};for(let p=0;p<k0.length;p+=1)I=V(I,k0[p]);let h0=[{class:"Top Customable"},e[4]],C0={};for(let p=0;p<h0.length;p+=1)C0=V(C0,h0[p]);let E0=K(e[3]),E=[];for(let p=0;p<E0.length;p+=1)E[p]=mi(ii(e,E0,p));return{c(){t=$("svg"),i=$("foreignObject"),r=v("div"),o=$("g"),n=$("g");for(let p=0;p<G.length;p+=1)G[p].c();s=$("g");for(let p=0;p<J.length;p+=1)J[p].c();a=$("g");for(let p=0;p<W.length;p+=1)W[p].c();l=$("g");for(let p=0;p<X.length;p+=1)X[p].c();c=$("g");for(let p=0;p<t0.length;p+=1)t0[p].c();c0&&c0.c(),u=$("foreignObject"),h=v("div"),f=$("foreignObject"),d=v("div"),g=$("g"),m=$("foreignObject"),w=$("g");for(let p=0;p<E.length;p+=1)E[p].c();n0(r,L),e0(i,Z),b(n,"class","PartitionsBackgrounds"),b(s,"class","PartitionsBackgroundStrokes"),b(a,"class","Partitions"),He(a,"filter",e[14]),e0(o,O),b(l,"class","PartitionsCustomable1"),S0(l,"active",e[8]),b(c,"class","PartitionsCustomable2"),S0(c,"active",e[8]),n0(h,b0),e0(u,M0),n0(d,I),e0(f,C0),b(m,"x",C=Number(e[0])/2-100/2),b(m,"y",B=Number(e[0])/2-100/2),b(m,"width",100),b(m,"height",100),b(g,"class","Center"),S0(g,"spinning",e[10]),b(t,"width",e[0]),b(t,"height",e[0]),He(t,"opacity",e[12]?".3":"")},m(p,H){k(p,t,H),A(t,i),A(i,r),A(t,o),A(o,n);for(let y=0;y<G.length;y+=1)G[y]&&G[y].m(n,null);A(o,s);for(let y=0;y<J.length;y+=1)J[y]&&J[y].m(s,null);A(o,a);for(let y=0;y<W.length;y+=1)W[y]&&W[y].m(a,null);A(t,l);for(let y=0;y<X.length;y+=1)X[y]&&X[y].m(l,null);A(t,c);for(let y=0;y<t0.length;y+=1)t0[y]&&t0[y].m(c,null);c0&&c0.m(t,null),A(t,u),A(u,h),A(t,f),A(f,d),A(t,g),A(g,m),A(t,w);for(let y=0;y<E.length;y+=1)E[y]&&E[y].m(w,null);e[28](t),P||(S=[O0(g,"click",e[27]),O0(t,"click",e[29])],P=!0)},p(p,H){if(n0(r,L=o0(D,[H[0]&8192&&p[13]])),e0(i,Z=o0(z,[H[0]&16&&p[4],{class:"Bottom Customable"}])),H[0]&8201){M=K(p[3]);let y;for(y=0;y<M.length;y+=1){const i0=ai(p,M,y);G[y]?G[y].p(i0,H):(G[y]=ci(i0),G[y].c(),G[y].m(n,null))}for(;y<G.length;y+=1)G[y].d(1);G.length=M.length}if(H[0]&73){f0=K(p[3]);let y;for(y=0;y<f0.length;y+=1){const i0=si(p,f0,y);J[y]?J[y].p(i0,H):(J[y]=ui(i0),J[y].c(),J[y].m(s,null))}for(;y<J.length;y+=1)J[y].d(1);J.length=f0.length}if(H[0]&72){Q=K(p[3]);let y;for(y=0;y<Q.length;y+=1){const i0=ni(p,Q,y);W[y]?W[y].p(i0,H):(W[y]=di(i0),W[y].c(),W[y].m(a,null))}for(;y<W.length;y+=1)W[y].d(1);W.length=Q.length}if(H[0]&16384&&He(a,"filter",p[14]),e0(o,O=o0(p0,[{class:"PartitionsContainer"},H[0]&64&&p[6].getSpinnerProps()])),H[0]&8216){s0=K(p[3]);let y;for(y=0;y<s0.length;y+=1){const i0=oi(p,s0,y);X[y]?X[y].p(i0,H):(X[y]=gi(i0),X[y].c(),X[y].m(l,null))}for(;y<X.length;y+=1)X[y].d(1);X.length=s0.length}if(H[0]&256&&S0(l,"active",p[8]),H[0]&8216){m0=K(p[3]);let y;for(y=0;y<m0.length;y+=1){const i0=ri(p,m0,y);t0[y]?t0[y].p(i0,H):(t0[y]=pi(i0),t0[y].c(),t0[y].m(c,null))}for(;y<t0.length;y+=1)t0[y].d(1);t0.length=m0.length}if(H[0]&256&&S0(c,"active",p[8]),p[5].pointerMode===g0.Partition?c0?c0.p(p,H):(c0=Ai(p),c0.c(),c0.m(t,u)):c0&&(c0.d(1),c0=null),n0(h,b0=o0(w0,[H[0]&8192&&p[13]])),e0(u,M0=o0(I0,[{class:"Middle Customable"},H[0]&16&&p[4]])),n0(d,I=o0(k0,[H[0]&8192&&p[13]])),e0(f,C0=o0(h0,[{class:"Top Customable"},H[0]&16&&p[4]])),H[0]&1&&C!==(C=Number(p[0])/2-100/2)&&b(m,"x",C),H[0]&1&&B!==(B=Number(p[0])/2-100/2)&&b(m,"y",B),H[0]&1024&&S0(g,"spinning",p[10]),H[0]&72){E0=K(p[3]);let y;for(y=0;y<E0.length;y+=1){const i0=ii(p,E0,y);E[y]?E[y].p(i0,H):(E[y]=mi(i0),E[y].c(),E[y].m(w,null))}for(;y<E.length;y+=1)E[y].d(1);E.length=E0.length}H[0]&1&&b(t,"width",p[0]),H[0]&1&&b(t,"height",p[0]),H[0]&4096&&He(t,"opacity",p[12]?".3":"")},d(p){p&&x(t),x0(G,p),x0(J,p),x0(W,p),x0(X,p),x0(t0,p),c0&&c0.d(),x0(E,p),e[28](null),P=!1,R0(S)}}}function ci(e){let t,i,r=[e[13]],o={};for(let n=0;n<r.length;n+=1)o=V(o,r[n]);return{c(){t=$("foreignObject"),i=v("div"),n0(i,o),b(t,"clip-path",`url(#clip${e[46]})`),b(t,"class","PartitionBackground Customable"),b(t,"style",`--index: ${e[46]}`),b(t,"width",e[0]),b(t,"height",e[0])},m(n,s){k(n,t,s),A(t,i)},p(n,s){n0(i,o=o0(r,[s[0]&8192&&n[13]])),s[0]&1&&b(t,"width",n[0]),s[0]&1&&b(t,"height",n[0])},d(n){n&&x(t)}}}function ui(e){let t,i=[{class:"PartitionBackgroundStroke"},e[6].getPartitionDraw(e[46]),{width:e[0]},{height:e[0]}],r={};for(let o=0;o<i.length;o+=1)r=V(r,i[o]);return{c(){t=$("path"),e0(t,r)},m(o,n){k(o,t,n)},p(o,n){e0(t,r=o0(i,[{class:"PartitionBackgroundStroke"},n[0]&64&&o[6].getPartitionDraw(o[46]),n[0]&1&&{width:o[0]},n[0]&1&&{height:o[0]}]))},d(o){o&&x(t)}}}function fi(e){let t,i,r;return{c(){t=$("g"),b(t,"class",`PartitionImage PartitionImage${e[46]}`)},m(o,n){k(o,t,n),i||(r=mr(e[16].call(null,t,e[46])),i=!0)},p(o,n){e=o},d(o){o&&x(t),i=!1,r()}}}function hi(e){let t,i,r,o=e[49].name+"",n,s,a=[{class:"PartitionText"},e[6].getSvgTextPropsAdjustedByImage(e[46])],l={};for(let c=0;c<a.length;c+=1)l=V(l,a[c]);return{c(){t=$("foreignObject"),i=v("div"),r=v("p"),s=F(),b(r,"class",n=`PartitionTextEntity${e[6].contentdirection==="clockwise"?"":" Anticlockwise"}`),b(i,"class","PartitionTextEntityContainer"),e0(t,l)},m(c,u){k(c,t,u),A(t,i),A(i,r),r.innerHTML=o,A(i,s)},p(c,u){u[0]&8&&o!==(o=c[49].name+"")&&(r.innerHTML=o),u[0]&64&&n!==(n=`PartitionTextEntity${c[6].contentdirection==="clockwise"?"":" Anticlockwise"}`)&&b(r,"class",n),e0(t,l=o0(a,[{class:"PartitionText"},u[0]&64&&c[6].getSvgTextPropsAdjustedByImage(c[46])]))},d(c){c&&x(t)}}}function di(e){let t,i,r=e[49].image&&fi(e),o=e[49].name&&hi(e);return{c(){r&&r.c(),t=T0(),o&&o.c(),i=T0()},m(n,s){r&&r.m(n,s),k(n,t,s),o&&o.m(n,s),k(n,i,s)},p(n,s){n[49].image?r||(r=fi(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),n[49].name?o?o.p(n,s):(o=hi(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&(x(t),x(i)),r&&r.d(n),o&&o.d(n)}}}function gi(e){let t,i,r,o=[e[13]],n={};for(let l=0;l<o.length;l+=1)n=V(n,o[l]);let s=[{class:"Partition1 Customable"},{style:r=`--index: ${e[46]}`},e[4]],a={};for(let l=0;l<s.length;l+=1)a=V(a,s[l]);return{c(){t=$("foreignObject"),i=v("div"),n0(i,n),e0(t,a)},m(l,c){k(l,t,c),A(t,i)},p(l,c){n0(i,n=o0(o,[c[0]&8192&&l[13]])),e0(t,a=o0(s,[{class:"Partition1 Customable"},{style:r},c[0]&16&&l[4]]))},d(l){l&&x(t)}}}function pi(e){let t,i,r,o=[e[13]],n={};for(let l=0;l<o.length;l+=1)n=V(n,o[l]);let s=[{class:"Partition2 Customable"},{style:r=`--index: ${e[46]}`},e[4]],a={};for(let l=0;l<s.length;l+=1)a=V(a,s[l]);return{c(){t=$("foreignObject"),i=v("div"),n0(i,n),e0(t,a)},m(l,c){k(l,t,c),A(t,i)},p(l,c){n0(i,n=o0(o,[c[0]&8192&&l[13]])),e0(t,a=o0(s,[{class:"Partition2 Customable"},{style:r},c[0]&16&&l[4]]))},d(l){l&&x(t)}}}function Ai(e){let t,i,r,o,n=[e[13]],s={};for(let d=0;d<n.length;d+=1)s=V(s,n[d]);let a=[{class:"PointerArea Customable"},e[4]],l={};for(let d=0;d<a.length;d+=1)l=V(l,a[d]);let c=[{class:"PointerPartitionFrame"},e[6].getPartitionDraw(0)],u={};for(let d=0;d<c.length;d+=1)u=V(u,c[d]);let h=[{class:"PointerContainer"},e[6].getSpinnerProps()],f={};for(let d=0;d<h.length;d+=1)f=V(f,h[d]);return{c(){t=$("g"),i=$("foreignObject"),r=v("div"),o=$("path"),n0(r,s),e0(i,l),e0(o,u),S0(o,"active",e[11]),e0(t,f)},m(d,g){k(d,t,g),A(t,i),A(i,r),A(t,o)},p(d,g){n0(r,s=o0(n,[g[0]&8192&&d[13]])),e0(i,l=o0(a,[{class:"PointerArea Customable"},g[0]&16&&d[4]])),e0(o,u=o0(c,[{class:"PointerPartitionFrame"},g[0]&64&&d[6].getPartitionDraw(0)])),S0(o,"active",d[11]),e0(t,f=o0(h,[{class:"PointerContainer"},g[0]&64&&d[6].getSpinnerProps()]))},d(d){d&&x(t)}}}function mi(e){let t,i,r=[e[6].getPartitionDraw(e[46])],o={};for(let a=0;a<r.length;a+=1)o=V(o,r[a]);let n=[{id:`clip${e[46]}`}],s={};for(let a=0;a<n.length;a+=1)s=V(s,n[a]);return{c(){t=$("clipPath"),i=$("path"),e0(i,o),e0(t,s)},m(a,l){k(a,t,l),A(t,i)},p(a,l){e0(i,o=o0(r,[l[0]&64&&a[6].getPartitionDraw(a[46])]))},d(a){a&&x(t)}}}function T3(e){let t,i=Number(e[0])&&e[3].length,r,o,n=i&&li(e);return{c(){t=v("div"),n&&n.c(),b(t,"class",r=`WheelContainer theme${Number(e[7])+1}`),b(t,"style",o=`${ti()} --length: ${e[3].length}; --radius: ${e[1]}; --ratio: ${Number(e[0])/480}; --size: ${e[0]}`)},m(s,a){k(s,t,a),n&&n.m(t,null),e[30](t)},p(s,a){a[0]&9&&(i=Number(s[0])&&s[3].length),i?n?n.p(s,a):(n=li(s),n.c(),n.m(t,null)):n&&(n.d(1),n=null),a[0]&128&&r!==(r=`WheelContainer theme${Number(s[7])+1}`)&&b(t,"class",r),a[0]&11&&o!==(o=`${ti()} --length: ${s[3].length}; --radius: ${s[1]}; --ratio: ${Number(s[0])/480}; --size: ${s[0]}`)&&b(t,"style",o)},i:_,o:_,d(s){s&&x(t),n&&n.d(),e[30](null)}}}function F3(e,t,i){let r,o,n,s,a,l,c,{lang:u=K0.en}=t,{endpoint:h=""}=t,{session:f=""}=t,{clientstyling:d=""}=t,{contentdirection:g="anticlockwise"}=t,{partitiondivisor:m=""}=t,C,{id:B=void 0}=t,{size:w=""}=t,{radius:P=""}=t,S=!1;const D=E=>{E(-1),setTimeout(()=>{E(1),i(8,S=!0)},100)};let L;const z=()=>a0(this,null,function*(){i(3,Z=yield ks(L,u)),v0({type:"wof-private-options-ready",id:B}),D(p=>i(0,w=String(Number(w)+p)))});let Z=[],M,G,f0=new _s({tick:(E,p)=>{Re(G,{style:[`transform: rotate(${E}deg)`,`height: ${w}px`,`width: ${w}px`].join(";")}),i(26,s0=p*.5)}}),J=!0,Q=!1,W=!1,p0=!1,O=!1,s0=0;const X=()=>{i(6,n.options=Z,n)},m0=()=>{i(6,n.contentdirection=g||"anticlockwise",n),t0()},t0=()=>{if(C)for(let E=0;E<=Z.length;E++){const p=C.querySelector(`.PartitionImage.PartitionImage${E} image`);p&&Re(p,n.getSvgImageProps(E,m))}},c0=()=>{w0(),m0(),i(25,O=!0)},w0=()=>{!!L.current&&L.current.remainingTimes>0?J=!0:(J=!1,L.next?s.setMessage({mode:"show-next",modeValue:L.next}):s.setMessage({mode:"NoNext"}))},b0=()=>a0(this,null,function*(){if(w0(),!J||Q)return;i(10,Q=!0),i(11,W=!1),G=M.querySelector(Is(o.pointerMode)),f0.launch();const E=I0();s.drawer(E)}),I0=()=>typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():M0(),M0=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(E){var p=Math.random()*16|0,H=E=="x"?p:p&3|8;return H.toString(16)});Be({"wof-private-bonuses":E=>{i(24,L=E.bonuses.find(p=>p.program.id===B))},"wof-private-bonus":E=>{E.bonus.program.id===B&&i(24,L=E.bonus)},"wof-private-message-close":E=>{E.id===B&&(i(10,Q=!1),setTimeout(()=>w0(),1),Re(G,{style:[`transform: rotate(${f0.deg}deg)`,`height: ${w}px`,`width: ${w}px`].join(";")}),i(12,p0=!1))},"wof-private-message-retry":E=>{E.id===B&&(i(12,p0=!1),s.drawer())}});const k0=(E,p)=>{const H=Z[p].image;Re(H,n.getSvgImageProps(p)),E.innerHTML=null,E.appendChild(H)},I=()=>Ft()||b0();function h0(E){H0[E?"unshift":"push"](()=>{M=E,i(9,M)})}const C0=()=>Ft()&&b0();function E0(E){H0[E?"unshift":"push"](()=>{C=E,i(2,C)})}return e.$$set=E=>{"lang"in E&&i(17,u=E.lang),"endpoint"in E&&i(18,h=E.endpoint),"session"in E&&i(19,f=E.session),"clientstyling"in E&&i(20,d=E.clientstyling),"contentdirection"in E&&i(21,g=E.contentdirection),"partitiondivisor"in E&&i(22,m=E.partitiondivisor),"id"in E&&i(23,B=E.id),"size"in E&&i(0,w=E.size),"radius"in E&&i(1,P=E.radius)},e.$$.update=()=>{var E,p;e.$$.dirty[0]&1048580&&d&&C&&ge(C,d),e.$$.dirty[0]&16908288&&L&&u&&z(),e.$$.dirty[0]&16777216&&i(7,r=((p=(E=L==null?void 0:L.program)==null?void 0:E.metadata)==null?void 0:p.template)||0),e.$$.dirty[0]&128&&i(5,o=Nt[r]||Nt[0]),e.$$.dirty[0]&2097291&&i(6,n=new t3({size:w,radius:P,options:Z,themeIndex:r,contentdirection:g})),e.$$.dirty[0]&8&&Z&&X(),e.$$.dirty[0]&2097152&&(g||!g)&&m0(),e.$$.dirty[0]&50331648&&L&&!O&&c0(),e.$$.dirty[0]&25952328&&(s=new i3({id:B,afterSetMessage:()=>i(12,p0=!0),halter:(H,y)=>{const i0=H>=0?H:Z.length-1;f0.halt(n.getDeg(i0),y)},afterSuccess:()=>i(11,W=!0),fetcher:H=>a0(this,null,function*(){return yield rt.draw(h,f,B,H,Z,L)})})),e.$$.dirty[0]&67108896&&i(14,a=o.pointerMode===g0.Arrow&&s0>.3?`blur(${s0}px)`:null),e.$$.dirty[0]&1&&i(4,l={height:w,width:w}),e.$$.dirty[0]&16&&i(13,c={style:Object.keys(l).map(H=>`${H}: ${l[H]}px`).join(";")})},[w,P,C,Z,l,o,n,r,S,M,Q,W,p0,c,a,b0,k0,u,h,f,d,g,m,B,L,O,s0,I,h0,C0,E0]}class L3 extends ee{constructor(t){super(),q0(this,t,F3,T3,j0,{lang:17,endpoint:18,session:19,clientstyling:20,contentdirection:21,partitiondivisor:22,id:23,size:0,radius:1},P3,[-1,-1])}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),T()}get endpoint(){return this.$$.ctx[18]}set endpoint(t){this.$$set({endpoint:t}),T()}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),T()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get contentdirection(){return this.$$.ctx[21]}set contentdirection(t){this.$$set({contentdirection:t}),T()}get partitiondivisor(){return this.$$.ctx[22]}set partitiondivisor(t){this.$$set({partitiondivisor:t}),T()}get id(){return this.$$.ctx[23]}set id(t){this.$$set({id:t}),T()}get size(){return this.$$.ctx[0]}set size(t){this.$$set({size:t}),T()}get radius(){return this.$$.ctx[1]}set radius(t){this.$$set({radius:t}),T()}}customElements.define("lottery-program-wof-private-item-svg",$0(L3,{lang:{},endpoint:{},session:{},clientstyling:{},contentdirection:{},partitiondivisor:{},id:{},size:{},radius:{}},[],[],!0));function O3(e){_0(e,"svelte-5mi6dy","lottery-program-wof-private-message-panel{position:absolute;top:0}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryItem{width:100%;display:flex;align-items:center;flex-direction:column;margin:20px 0}.LotteryItem.Invalid{display:none}.Current{color:#FFFFFF}")}function bi(e,t,i){const r=e.slice();return r[22]=t[i],r}function yi(e){let t,i=K(e[6]),r=[];for(let o=0;o<i.length;o+=1)r[o]=vi(bi(e,i,o));return{c(){t=v("div");for(let o=0;o<r.length;o+=1)r[o].c();b(t,"class","Current")},m(o,n){k(o,t,n);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p(o,n){if(n&2113){i=K(o[6]);let s;for(s=0;s<i.length;s+=1){const a=bi(o,i,s);r[s]?r[s].p(a,n):(r[s]=vi(a),r[s].c(),r[s].m(t,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(o){o&&x(t),x0(r,o)}}}function vi(e){let t,i=e[11](`wof.${e[22]}`)+"",r,o,n=J2(e[0],e[22])+"",s,a,l;return{c(){t=v("p"),r=U(i),o=U(": "),s=U(n),a=F(),b(t,"class",l=e[22])},m(c,u){k(c,t,u),A(t,r),A(t,o),A(t,s),A(t,a)},p(c,u){u&2112&&i!==(i=c[11](`wof.${c[22]}`)+"")&&Y(r,i),u&65&&n!==(n=J2(c[0],c[22])+"")&&Y(s,n),u&64&&l!==(l=c[22])&&b(t,"class",l)},d(c){c&&x(t)}}}function H3(e){var h,f,d;let t,i,r,o,n,s=[d0(q({},e[10]),{id:e[3],size:e[5],radius:e[9],contentdirection:e[2]})],a={};for(let g=0;g<s.length;g+=1)a=V(a,s[g]);let l=[d0(q({},e[10]),{id:e[3],size:e[5],r:e[9],giftimagesrc:e[1],name:(f=(h=e[0])==null?void 0:h.program)==null?void 0:f.name["*"]})],c={};for(let g=0;g<l.length;g+=1)c=V(c,l[g]);let u=((d=e[0])==null?void 0:d.current)&&e[7]&&yi(e);return{c(){t=v("div"),i=v("lottery-program-wof-private-item-svg"),r=F(),o=v("lottery-program-wof-private-message-panel"),n=F(),u&&u.c(),n0(i,a),n0(o,c),b(t,"class","LotteryItem"),S0(t,"Invalid",we(e[0])&&e[8])},m(g,m){k(g,t,m),A(t,i),A(t,r),A(t,o),A(t,n),u&&u.m(t,null),e[18](t)},p(g,[m]){var C,B,w;n0(i,a=o0(s,[m&1580&&d0(q({},g[10]),{id:g[3],size:g[5],radius:g[9],contentdirection:g[2]})])),n0(o,c=o0(l,[m&1579&&d0(q({},g[10]),{id:g[3],size:g[5],r:g[9],giftimagesrc:g[1],name:(B=(C=g[0])==null?void 0:C.program)==null?void 0:B.name["*"]})])),(w=g[0])!=null&&w.current&&g[7]?u?u.p(g,m):(u=yi(g),u.c(),u.m(t,null)):u&&(u.d(1),u=null),m&257&&S0(t,"Invalid",we(g[0])&&g[8])},i:_,o:_,d(g){g&&x(t),u&&u.d(),e[18](null)}}}function D3(e,t,i){let r,o,n,s;Ce(e,xe,M=>i(11,s=M));let{lang:a=K0.en}=t,{endpoint:l=""}=t,{session:c=""}=t,{clientstyling:u=""}=t,{currentinfo:h=W0.RemainingTimes}=t,{giftimagesrc:f=""}=t,{contentdirection:d="anticlockwise"}=t,{size:g="480"}=t,{id:m=""}=t,{bonus:C}=t,B,w,P=[],S,D=!1,L=!0;const z=()=>a0(this,null,function*(){const M=yield rt.lotteries(l,c);return P=M.map(G=>{if(!we(G))return G}),M.filter(G=>G.program.id===m)[0]});Be({"wof-private-options-ready":M=>{M.id===m&&i(7,D=!0)},"wof-private-bonuses":M=>{const G=M.bonuses.find(f0=>f0.program.id===m);G&&i(0,C=G)},"wof-private-message-spin-after":M=>{M.id===m&&w&&(i(0,C=w),v0({type:"wof-private-bonus",bonus:w,id:m}),P&&v0({type:"wof-private-bonuses",bonuses:P}))},"wof-private-message-spin-before":M=>a0(this,null,function*(){M.id===m&&(i(8,L=!1),w=yield z())}),"wof-private-message-close":M=>{M.id===m&&(v0({type:"wof-private-checking",bonus:C,id:m}),setTimeout(()=>{i(8,L=!0)},1e3))}});function Z(M){H0[M?"unshift":"push"](()=>{B=M,i(4,B)})}return e.$$set=M=>{"lang"in M&&i(12,a=M.lang),"endpoint"in M&&i(13,l=M.endpoint),"session"in M&&i(14,c=M.session),"clientstyling"in M&&i(15,u=M.clientstyling),"currentinfo"in M&&i(16,h=M.currentinfo),"giftimagesrc"in M&&i(1,f=M.giftimagesrc),"contentdirection"in M&&i(2,d=M.contentdirection),"size"in M&&i(17,g=M.size),"id"in M&&i(3,m=M.id),"bonus"in M&&i(0,C=M.bonus)},e.$$.update=()=>{e.$$.dirty&32784&&u&&B&&ge(B,u),e.$$.dirty&61440&&i(10,r={endpoint:l,lang:a,session:c,clientstyling:u}),e.$$.dirty&131072&&i(5,o=Number(g)||480),e.$$.dirty&32&&i(9,n=.62*o/2),e.$$.dirty&65536&&i(6,S=h?h.split(","):[W0.RemainingTimes])},[C,f,d,m,B,o,S,D,L,n,r,s,a,l,c,u,h,g,Z]}class R3 extends ee{constructor(t){super(),q0(this,t,D3,H3,j0,{lang:12,endpoint:13,session:14,clientstyling:15,currentinfo:16,giftimagesrc:1,contentdirection:2,size:17,id:3,bonus:0},O3)}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),T()}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),T()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),T()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get currentinfo(){return this.$$.ctx[16]}set currentinfo(t){this.$$set({currentinfo:t}),T()}get giftimagesrc(){return this.$$.ctx[1]}set giftimagesrc(t){this.$$set({giftimagesrc:t}),T()}get contentdirection(){return this.$$.ctx[2]}set contentdirection(t){this.$$set({contentdirection:t}),T()}get size(){return this.$$.ctx[17]}set size(t){this.$$set({size:t}),T()}get id(){return this.$$.ctx[3]}set id(t){this.$$set({id:t}),T()}get bonus(){return this.$$.ctx[0]}set bonus(t){this.$$set({bonus:t}),T()}}customElements.define("lottery-program-wof-private-item",$0(R3,{lang:{},endpoint:{},session:{},clientstyling:{},currentinfo:{},giftimagesrc:{},contentdirection:{},size:{},id:{},bonus:{}},[],[],!0));const Q3="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";function G3(e){_0(e,"svelte-19z60n4",`.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .tooltip-backdrop{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.mobile .tooltip-backdrop .tooltip{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .IconButton{width:24px;height:24px}.mobile .Header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .LuckyWheelList{gap:16px}.mobile .LuckyWheelList .LuckyWheelListKeys{gap:5px;font-size:var(--emw--font-size-medium, 16px)}.mobile .ItemButton{font-weight:var(--emw--font-weight-normal, 400);padding:20px;font-size:var(--emw--font-size-x-small, 12px);line-height:15px;border-radius:16px;height:56px}.mobile .LuckyWheelRules{gap:24px}.mobile .LuckyWheelRules .LuckyWheelRulesDesc{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .LuckyWheelRules .LuckyWheelRulesTerms{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}.mobile .LuckyWheelRules .LuckyWheelRulesPrizeTitle{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .LuckyWheelRules .LuckyWheelRulesList{padding-inline-start:15px;margin:5px 0 0}.mobile .LuckyWheelRules .LuckyWheelRulesList .LuckyWheelRulesListItem{margin-bottom:5px;font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .LuckyWheelEmpty{margin-top:50px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .LuckyWheelHistory .LuckyWheelHistoryTitle{font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .LuckyWheelHistory .LuckyWheelHistoryList{margin-bottom:32px}.mobile .LuckyWheelHistory .LuckyWheelHistoryList__item{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .LuckyWheelHistory .LuckyWheelHistoryList__item .name img{width:14px;height:14px}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loader{display:flex;justify-self:center;width:100%}.NoContent{color:rgb(255, 255, 255);min-height:300px;display:flex;justify-content:center;align-items:center;font-size:16px}.CommonContainer{display:flex;flex-wrap:wrap;flex-direction:column;align-items:center;height:100%}.LuckyWheelList{max-height:85%;overflow:auto;gap:24px;display:flex;flex-wrap:wrap}.LuckyWheelListItem{width:100%}.ItemButton{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-large, 22px);line-height:25px;padding:35px 48px;border-radius:28px;height:110px;color:var(--emw--color-primary, #d3ffed);width:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);cursor:pointer}.IconButton{width:30px;height:30px;border:0px;cursor:pointer}.IconButton.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.IconButton.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.IconButton.help{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>') no-repeat}.Header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.HeaderTitle{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:100;bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px}.TabItem{height:100%;overflow-y:auto}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;bottom:0;opacity:1;transition:opacity 0.5s ease-in-out}.tooltip-backdrop{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.tooltip-backdrop .tooltip{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:var(--emw--border-radius-large, 8px);line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.tooltip-backdrop .tooltip .IconButton{top:12px;right:12px;position:absolute}.LuckyWheelRules{display:flex;flex-flow:column;gap:40px;color:var(--emw--color-primary-variant, #a9ccbe)}.LuckyWheelRules__description{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:32px}.LuckyWheelRules__terms{display:flex;gap:5px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);border:none;padding:0;cursor:pointer;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.LuckyWheelRules__terms .arrow-icon{width:14px;height:14px;background:center/100% url('data:image/svg+xml,<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41 7.744a.833.833 0 0 0 0 1.179l5 5a.833.833 0 0 0 1.18 0l5-5a.833.833 0 1 0-1.18-1.179L10 12.154l-4.41-4.41a.833.833 0 0 0-1.18 0Z" fill="url(%23a)"/><defs><linearGradient id="a" x1="10" y1="7.5" x2="10" y2="14.167" gradientUnits="userSpaceOnUse"><stop stop-color="%2375FFE9"/><stop offset="1" stop-color="%23B2FF6D"/></linearGradient></defs></svg>') no-repeat}.LuckyWheelRules__prize-title{color:#ffffff;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.LuckyWheelRules__list{padding-inline-start:25px;margin:15px 0 0}.LuckyWheelRules__list__item{font-weight:var(--emw--font-weight-normal, 400);margin-bottom:12px;font-size:var(--emw--font-size-medium, 16px);line-height:32px;list-style:initial}`)}function wi(e,t,i){const r=e.slice();return r[40]=t[i],r}function Ci(e){let t,i,r,o,n,s=e[11]&&Bi(e);function a(u,h){return u[10]?z3:N3}let l=a(e),c=l(e);return{c(){t=v("div"),i=v("button"),r=F(),o=v("div"),s&&s.c(),n=F(),c.c(),b(i,"class","overlay"),b(o,"class","drawer "+(e[16]?"mobile":"")),b(t,"class","WofContainer")},m(u,h){k(u,t,h),A(t,i),A(t,r),A(t,o),s&&s.m(o,null),A(o,n),c.m(o,null),e[32](t)},p(u,h){u[11]?s?s.p(u,h):(s=Bi(u),s.c(),s.m(o,n)):s&&(s.d(1),s=null),l===(l=a(u))&&c?c.p(u,h):(c.d(1),c=l(u),c&&(c.c(),c.m(o,null)))},d(u){u&&x(t),s&&s.d(),c.d(),e[32](null)}}}function Bi(e){let t,i,r,o,n,s=e[15]("wof.InfoTooltip")+"",a,l,c;return{c(){t=v("div"),i=v("div"),r=v("button"),o=F(),n=v("span"),a=U(s),b(r,"class","IconButton close"),b(i,"class","tooltip"),b(t,"class","tooltip-backdrop")},m(u,h){k(u,t,h),A(t,i),A(i,r),A(i,o),A(i,n),A(n,a),l||(c=O0(r,"click",e[20]),l=!0)},p(u,h){h[0]&32768&&s!==(s=u[15]("wof.InfoTooltip")+"")&&Y(a,s)},d(u){u&&x(t),l=!1,c()}}}function N3(e){var qt;let t,i,r,o,n=e[15]("LuckyWheels")+"",s,a,l,c,u,h,f,d,g,m,C,B,w,P,S=e[15]("wof.RulesDescription")+"",D,L,z,Z,M,G=e[15]("wof.PrizeAgenda")+"",f0,J,Q,W,p0=e[15]("wof.TournamentTicket")+"",O,s0,X,m0=e[15]("wof.FreeSpins")+"",t0,c0,w0,b0=e[15]("wof.BonusMoney")+"",I0,M0,k0,I=e[15]("wof.LoyaltyPoints")+"",h0,C0,E0,E=e[15]("wof.LuckyWheel")+"",p,H,y,i0=e[15]("wof.MysteryChest")+"",ot,Xt,ke,Se=e[15]("wof.CoinRoyale")+"",nt,Kt,Ie,Me=e[15]("wof.CustomRewards")+"",st,at,Vt;function _t(R,u0){return R[9]?J3:R[8].length?U3:j3}let Pe=_t(e),F0=Pe(e),lt=[d0(q({},e[14]),{id:(qt=e[8].find(e[31]))==null?void 0:qt.program.id,bonuses:e[8]})],Te={};for(let R=0;R<lt.length;R+=1)Te=V(Te,lt[R]);let B0=e[13]&&Ei(e),ct=[e[14],{isshowhistory:e[3]}],Fe={};for(let R=0;R<ct.length;R+=1)Fe=V(Fe,ct[R]);return{c(){t=v("div"),i=v("button"),i.innerHTML="",r=F(),o=v("div"),s=U(n),a=F(),l=v("button"),c=F(),u=v("lottery-program-wof-private-tabs"),h=v("div"),f=v("div"),F0.c(),d=F(),g=v("div"),m=v("lottery-program-wof-private-outcomes"),C=F(),B=v("div"),w=v("div"),P=v("span"),D=U(S),L=F(),B0&&B0.c(),z=F(),Z=v("section"),M=v("span"),f0=U(G),J=F(),Q=v("ul"),W=v("li"),O=U(p0),s0=F(),X=v("li"),t0=U(m0),c0=F(),w0=v("li"),I0=U(b0),M0=F(),k0=v("li"),h0=U(I),C0=F(),E0=v("li"),p=U(E),H=F(),y=v("li"),ot=U(i0),Xt=F(),ke=v("li"),nt=U(Se),Kt=F(),Ie=v("li"),st=U(Me),b(i,"class","IconButton help"),b(o,"class","HeaderTitle"),b(l,"class","IconButton close"),b(t,"class","Header"),b(f,"class","CommonContainer"),b(h,"class","TabItem"),b(h,"slot","tab-Play"),n0(m,Te),b(g,"class","TabItem"),b(g,"slot","tab-History"),b(P,"class","LuckyWheelRules__description"),b(M,"class","LuckyWheelRules__prize-title"),b(W,"class","LuckyWheelRules__list__item"),b(X,"class","LuckyWheelRules__list__item"),b(w0,"class","LuckyWheelRules__list__item"),b(k0,"class","LuckyWheelRules__list__item"),b(E0,"class","LuckyWheelRules__list__item"),b(y,"class","LuckyWheelRules__list__item"),b(ke,"class","LuckyWheelRules__list__item"),b(Ie,"class","LuckyWheelRules__list__item"),b(Q,"class","LuckyWheelRules__list"),b(w,"class","LuckyWheelRules"),b(B,"class","TabItem"),b(B,"slot","tab-Rules"),n0(u,Fe)},m(R,u0){k(R,t,u0),A(t,i),A(t,r),A(t,o),A(o,s),A(t,a),A(t,l),k(R,c,u0),k(R,u,u0),A(u,h),A(h,f),F0.m(f,null),A(u,d),A(u,g),A(g,m),A(u,C),A(u,B),A(B,w),A(w,P),A(P,D),A(w,L),B0&&B0.m(w,null),A(w,z),A(w,Z),A(Z,M),A(M,f0),A(Z,J),A(Z,Q),A(Q,W),A(W,O),A(Q,s0),A(Q,X),A(X,t0),A(Q,c0),A(Q,w0),A(w0,I0),A(Q,M0),A(Q,k0),A(k0,h0),A(Q,C0),A(Q,E0),A(E0,p),A(Q,H),A(Q,y),A(y,ot),A(Q,Xt),A(Q,ke),A(ke,nt),A(Q,Kt),A(Q,Ie),A(Ie,st),at||(Vt=[O0(i,"click",e[20]),O0(l,"click",e[19])],at=!0)},p(R,u0){var $t;u0[0]&32768&&n!==(n=R[15]("LuckyWheels")+"")&&Y(s,n),Pe===(Pe=_t(R))&&F0?F0.p(R,u0):(F0.d(1),F0=Pe(R),F0&&(F0.c(),F0.m(f,null))),n0(m,Te=o0(lt,[u0[0]&16641&&d0(q({},R[14]),{id:($t=R[8].find(R[31]))==null?void 0:$t.program.id,bonuses:R[8]})])),u0[0]&32768&&S!==(S=R[15]("wof.RulesDescription")+"")&&Y(D,S),R[13]?B0?B0.p(R,u0):(B0=Ei(R),B0.c(),B0.m(w,z)):B0&&(B0.d(1),B0=null),u0[0]&32768&&G!==(G=R[15]("wof.PrizeAgenda")+"")&&Y(f0,G),u0[0]&32768&&p0!==(p0=R[15]("wof.TournamentTicket")+"")&&Y(O,p0),u0[0]&32768&&m0!==(m0=R[15]("wof.FreeSpins")+"")&&Y(t0,m0),u0[0]&32768&&b0!==(b0=R[15]("wof.BonusMoney")+"")&&Y(I0,b0),u0[0]&32768&&I!==(I=R[15]("wof.LoyaltyPoints")+"")&&Y(h0,I),u0[0]&32768&&E!==(E=R[15]("wof.LuckyWheel")+"")&&Y(p,E),u0[0]&32768&&i0!==(i0=R[15]("wof.MysteryChest")+"")&&Y(ot,i0),u0[0]&32768&&Se!==(Se=R[15]("wof.CoinRoyale")+"")&&Y(nt,Se),u0[0]&32768&&Me!==(Me=R[15]("wof.CustomRewards")+"")&&Y(st,Me),n0(u,Fe=o0(ct,[u0[0]&16384&&R[14],u0[0]&8&&{isshowhistory:R[3]}]))},d(R){R&&(x(t),x(c),x(u)),F0.d(),B0&&B0.d(),at=!1,R0(Vt)}}}function z3(e){let t,i,r,o,n=(e[10].program.name["*"]||e[10].program.name[K0.en])+"",s,a,l,c,u,h,f,d=[d0(q({},e[14]),{id:e[10].program.id,currentinfo:e[1],giftimagesrc:e[2],contentdirection:e[4],bonus:e[10]})],g={};for(let m=0;m<d.length;m+=1)g=V(g,d[m]);return{c(){t=v("div"),i=v("button"),i.innerHTML="",r=F(),o=v("div"),s=U(n),a=F(),l=v("button"),c=F(),u=v("lottery-program-wof-private-item"),b(i,"class","IconButton back"),b(o,"class","HeaderTitle"),b(l,"class","IconButton close"),b(t,"class","Header"),n0(u,g)},m(m,C){k(m,t,C),A(t,i),A(t,r),A(t,o),A(o,s),A(t,a),A(t,l),k(m,c,C),k(m,u,C),h||(f=[O0(i,"click",e[18]),O0(l,"click",e[19])],h=!0)},p(m,C){C[0]&1024&&n!==(n=(m[10].program.name["*"]||m[10].program.name[K0.en])+"")&&Y(s,n),n0(u,g=o0(d,[C[0]&17430&&d0(q({},m[14]),{id:m[10].program.id,currentinfo:m[1],giftimagesrc:m[2],contentdirection:m[4],bonus:m[10]})]))},d(m){m&&(x(t),x(c),x(u)),h=!1,R0(f)}}}function j3(e){let t,i,r=e[15]("wof.NoContent")+"",o;return{c(){t=v("div"),i=v("p"),o=U(r),b(t,"class","NoContent")},m(n,s){k(n,t,s),A(t,i),A(i,o)},p(n,s){s[0]&32768&&r!==(r=n[15]("wof.NoContent")+"")&&Y(o,r)},d(n){n&&x(t)}}}function U3(e){let t,i=K(e[8]),r=[];for(let o=0;o<i.length;o+=1)r[o]=xi(wi(e,i,o));return{c(){t=v("ul");for(let o=0;o<r.length;o+=1)r[o].c();b(t,"class","LuckyWheelList")},m(o,n){k(o,t,n);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p(o,n){if(n[0]&131328){i=K(o[8]);let s;for(s=0;s<i.length;s+=1){const a=wi(o,i,s);r[s]?r[s].p(a,n):(r[s]=xi(a),r[s].c(),r[s].m(t,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(o){o&&x(t),x0(r,o)}}}function J3(e){let t;return{c(){t=v("wof-loader"),me(t,"class","Loader")},m(i,r){k(i,t,r)},p:_,d(i){i&&x(t)}}}function xi(e){var B,w;let t,i,r=e[40].program.name["*"]+"",o,n,s,a,l,c,u,h=((w=(B=e[40])==null?void 0:B.current)==null?void 0:w.remainingTimes)+"",f,d,g,m;function C(){return e[30](e[40])}return{c(){t=v("li"),i=v("button"),o=U(r),n=F(),s=v("div"),a=v("img"),c=F(),u=v("span"),f=U(h),d=F(),X0(a.src,l=Q3)||b(a,"src",l),b(a,"alt","Key"),b(s,"class","ItemKeys"),b(i,"class","ItemButton"),b(t,"class","LuckyWheelListItem")},m(P,S){k(P,t,S),A(t,i),A(i,o),A(i,n),A(i,s),A(s,a),A(s,c),A(s,u),A(u,f),A(t,d),g||(m=O0(i,"click",C),g=!0)},p(P,S){var D,L;e=P,S[0]&256&&r!==(r=e[40].program.name["*"]+"")&&Y(o,r),S[0]&256&&h!==(h=((L=(D=e[40])==null?void 0:D.current)==null?void 0:L.remainingTimes)+"")&&Y(f,h)},d(P){P&&x(t),g=!1,m()}}}function Ei(e){let t,i,r=e[15]("wof.Terms")+"",o,n,s;return{c(){t=v("a"),i=v("span"),o=U(r),n=F(),s=v("span"),b(s,"class","arrow-icon"),b(t,"class","LuckyWheelRules__terms"),b(t,"href",e[5]),b(t,"target","_blank")},m(a,l){k(a,t,l),A(t,i),A(i,o),A(t,n),A(t,s)},p(a,l){l[0]&32768&&r!==(r=a[15]("wof.Terms")+"")&&Y(o,r),l[0]&32&&b(t,"href",a[5])},d(a){a&&x(t)}}}function Z3(e){let t,i=(e[12]||e[6])&&Ci(e);return{c(){i&&i.c(),t=T0()},m(r,o){i&&i.m(r,o),k(r,t,o)},p(r,o){r[12]||r[6]?i?i.p(r,o):(i=Ci(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:_,o:_,d(r){r&&x(t),i&&i.d(r)}}}function Y3(e,t,i){let r,o,n;Ce(e,xe,I=>i(15,n=I));let{lang:s=K0.en}=t,{endpoint:a=""}=t,{session:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{translationurl:h=""}=t,{programid:f=""}=t,{loginevent:d=""}=t,{loginurl:g=""}=t,{currentinfo:m=W0.RemainingTimes}=t,{giftimagesrc:C=""}=t,{isshowhistory:B="true"}=t,{contentdirection:w="anticlockwise"}=t,{terms:P=""}=t,{gameoverlay:S="false"}=t,D,L=!1;Sn();let z=[],Z=!0,M,G=window.navigator.userAgent,f0=it(G),J=!1,Q=!1,W=!1;const p0=I=>/(https?:\/\/[^\s]+)/g.test(I),O=()=>a0(this,null,function*(){if(i(9,Z=!0),!r){X(d,g);return}!L||!s||!l||!a||(yield s0())}),s0=()=>a0(this,null,function*(){const I=yield rt.lotteries(a,l);v0({type:"wof-private-bonuses-outcomes",bonuses:I}),i(8,z=I.map(h0=>{if(!we(h0))return h0})),i(9,Z=!1),v0({type:"WofStatus",avaliable:z.length>0}),v0({type:"wof-private-bonuses",bonuses:z})}),X=(I,h0)=>{I&&window.postMessage({type:I,transition:"Login"},window.location.href),h0&&(window.location=h0)},m0=()=>{kn(s),O()},t0=I=>{i(10,M=I),v0({type:"wof-private-bonus",bonus:I})},c0=()=>{i(10,M=null)},w0=()=>{i(12,Q=!1)},b0=()=>{i(11,J=!J)};Be({"wof-private-checking":I=>{i(8,z=z.map(C0=>C0.program.id===I.id?d0(q({},I.bonus),{hidden:we(I.bonus)}):C0));let h0=!0;z.map(C0=>{C0.hidden!==!0&&(h0=!1)}),h0&&i(8,z=[])},OpenLuckyWheelDrawer:()=>{i(12,Q=!0),v0({type:"wof-private-bonuses-outcomes",bonuses:z})},CloseLuckyWheelDrawer:()=>{i(12,Q=!1)}}),Mi(()=>(i(29,L=!0),i(13,W=p0(P)),()=>i(29,L=!1)));const I0=I=>t0(I),M0=I=>I.program.id===f;function k0(I){H0[I?"unshift":"push"](()=>{D=I,i(7,D)})}return e.$$set=I=>{"lang"in I&&i(22,s=I.lang),"endpoint"in I&&i(23,a=I.endpoint),"session"in I&&i(24,l=I.session),"clientstyling"in I&&i(21,c=I.clientstyling),"clientstylingurl"in I&&i(25,u=I.clientstylingurl),"translationurl"in I&&i(26,h=I.translationurl),"programid"in I&&i(0,f=I.programid),"loginevent"in I&&i(27,d=I.loginevent),"loginurl"in I&&i(28,g=I.loginurl),"currentinfo"in I&&i(1,m=I.currentinfo),"giftimagesrc"in I&&i(2,C=I.giftimagesrc),"isshowhistory"in I&&i(3,B=I.isshowhistory),"contentdirection"in I&&i(4,w=I.contentdirection),"terms"in I&&i(5,P=I.terms),"gameoverlay"in I&&i(6,S=I.gameoverlay)},e.$$.update=()=>{e.$$.dirty[0]&16777216&&(r=l&&l!=="false"),e.$$.dirty[0]&536870912&&L&&O(),e.$$.dirty[0]&25165824&&l&&a&&O(),e.$$.dirty[0]&4194304&&s&&m0(),e.$$.dirty[0]&33554560&&u&&D&&Ln(u,I=>i(21,c=I)),e.$$.dirty[0]&2097280&&c&&D&&ge(D,c),e.$$.dirty[0]&67108864&&h&&Fn(h),e.$$.dirty[0]&31457280&&i(14,o={endpoint:a,lang:s,session:l,clientstyling:c})},[f,m,C,B,w,P,S,D,z,Z,M,J,Q,W,o,n,f0,t0,c0,w0,b0,c,s,a,l,u,h,d,g,L,I0,M0,k0]}class hr extends ee{constructor(t){super(),q0(this,t,Y3,Z3,j0,{lang:22,endpoint:23,session:24,clientstyling:21,clientstylingurl:25,translationurl:26,programid:0,loginevent:27,loginurl:28,currentinfo:1,giftimagesrc:2,isshowhistory:3,contentdirection:4,terms:5,gameoverlay:6},G3,[-1,-1])}get lang(){return this.$$.ctx[22]}set lang(t){this.$$set({lang:t}),T()}get endpoint(){return this.$$.ctx[23]}set endpoint(t){this.$$set({endpoint:t}),T()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),T()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),T()}get translationurl(){return this.$$.ctx[26]}set translationurl(t){this.$$set({translationurl:t}),T()}get programid(){return this.$$.ctx[0]}set programid(t){this.$$set({programid:t}),T()}get loginevent(){return this.$$.ctx[27]}set loginevent(t){this.$$set({loginevent:t}),T()}get loginurl(){return this.$$.ctx[28]}set loginurl(t){this.$$set({loginurl:t}),T()}get currentinfo(){return this.$$.ctx[1]}set currentinfo(t){this.$$set({currentinfo:t}),T()}get giftimagesrc(){return this.$$.ctx[2]}set giftimagesrc(t){this.$$set({giftimagesrc:t}),T()}get isshowhistory(){return this.$$.ctx[3]}set isshowhistory(t){this.$$set({isshowhistory:t}),T()}get contentdirection(){return this.$$.ctx[4]}set contentdirection(t){this.$$set({contentdirection:t}),T()}get terms(){return this.$$.ctx[5]}set terms(t){this.$$set({terms:t}),T()}get gameoverlay(){return this.$$.ctx[6]}set gameoverlay(t){this.$$set({gameoverlay:t}),T()}}$0(hr,{lang:{},endpoint:{},session:{},clientstyling:{},clientstylingurl:{},translationurl:{},programid:{},loginevent:{},loginurl:{},currentinfo:{},giftimagesrc:{},isshowhistory:{},contentdirection:{},terms:{},gameoverlay:{}},[],[],!0);exports.default=hr;
|
|
48
|
+
`].join(" ");function P3(e){_0(e,"svelte-19t82yv",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryProgramWof{background:var(--emw--color-contrast, #07072A);display:flex;align-items:center;flex-direction:column;padding:20px 0}main{max-width:600px;width:100%;display:flex;justify-content:space-around;min-height:200px}svg{transition:opacity 0.3s}.FortuneContainer{width:100%;display:flex;align-items:center;flex-direction:column}.Center{cursor:pointer;transition:filter;transition-duration:1s}.Center.disabled{filter:grayscale(80%)}.Center .CenterCircle{fill:#3CE4BB;stroke:rgb(150, 54, 88);stroke-width:2px;cursor:pointer;transition:fill;transition-duration:1s}.Center .CenterText{fill:#FFFFFF}.PointerPartition{opacity:0.3;fill:lightgoldenrodyellow;stroke:red;stroke-width:6px;stroke-dasharray:12}.Current{color:#FFFFFF}.PartitionText{color:#FFFFFF;font-style:normal;font-weight:700;text-anchor:end;text-shadow:0px 3px #000;dominant-baseline:central}.PartitionsShadow{background-blend-mode:multiply;mix-blend-mode:multiply}.PartitionTextEntityContainer{height:100%;display:flex;align-items:center}.PartitionTextEntity{width:100%}.PartitionTextEntity.Anticlockwise{text-align:end}.theme1 foreignObject.Bottom div,.theme4 foreignObject.Bottom div,.theme5 foreignObject.Bottom div{background-image:var(--img-theme1-bg3), var(--img-theme-BgBlackRing), var(--img-theme-BgHalo);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 7px), calc(var(--radius) * 2px + var(--ratio) * 37px), calc(var(--radius) * 2px + var(--ratio) * 130px)}.theme2 foreignObject.Bottom div,.theme6 foreignObject.Bottom div{background-image:var(--img-theme2-bg3), var(--img-theme-BgHalo), var(--img-theme-BgBlackRing);background-position:center, center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 8px), calc(var(--radius) * 2px + var(--ratio) * 123px), calc(var(--radius) * 2px + var(--ratio) * 37px)}.theme3 foreignObject.Bottom div{background-image:var(--img-theme3-bg2), var(--img-theme3-bg1);background-position:center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 57px), calc(var(--radius) * 2px + var(--ratio) * 125px)}.theme7 foreignObject.Bottom div{background-image:var(--img-theme7-bg3), var(--img-theme7-bg2), var(--img-theme7-bg1);background-position:center, center calc(var(--size) * 1px - var(--ratio) * 95px), calc(var(--ratio) * 42px) calc(var(--ratio) * -5px);background-size:calc(var(--radius) * 2px + 35px), calc(var(--radius) * 2px * 0.6), calc(var(--radius) * 2.7px)}.theme8 foreignObject.Bottom div{background-image:var(--img-theme8-bg1);background-position:center, center;background-size:calc(var(--radius) * 2px + var(--ratio) * 20px), calc(var(--radius) * 2px + var(--ratio) * 125px)}.theme1 foreignObject.Middle div,.theme4 foreignObject.Middle div{background-image:var(--img-theme-center1);background-position:center}.theme2 foreignObject.Middle div{background-image:var(--img-theme2-center), var(--img-theme2-arrow);background-position:center, center 60px}.theme3 foreignObject.Middle div{background-image:var(--img-theme3-center), var(--img-theme3-arrow);background-position:center, center 39px}.theme8 foreignObject.Middle div{background-image:var(--img-theme8-center), var(--img-theme8-arrow);background-position:center, center 55px}.theme5 foreignObject.Middle div,.theme6 foreignObject.Middle div{background-image:var(--img-theme-center2);background-position:center}.theme7 foreignObject.Middle div{background-image:var(--img-theme7-center), var(--img-theme7-arrow);background-position:center, center 36px}.theme7 foreignObject.Top div{background-image:var(--img-theme7-light);background-position:294px 135px}.theme1 foreignObject.Top,.theme2 foreignObject.Top,.theme3 foreignObject.Top,.theme4 foreignObject.Top,.theme5 foreignObject.Top,.theme6 foreignObject.Top{mix-blend-mode:multiply}.theme1 foreignObject.Top div,.theme2 foreignObject.Top div,.theme3 foreignObject.Top div,.theme4 foreignObject.Top div,.theme5 foreignObject.Top div,.theme6 foreignObject.Top div{background-image:var(--img-theme-shadow);background-position:center;background-size:calc(var(--radius) * 2px)}.theme2 foreignObject.Partition1 div{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc(var(--index) * 360deg / var(--length)))}.theme2 foreignObject.Partition2 div{background-image:var(--img-theme-partition-light);background-position:center calc((var(--size) / 2 - var(--radius)) * 1px - var(--ratio) * 22px);transform:rotate(calc((var(--index) + 0.5) * 360deg / var(--length)))}foreignObject.PointerArea{mix-blend-mode:screen}foreignObject.PointerArea div{background-image:var(--img-theme-pointer-area);background-position:center -3px;background-size:51%}foreignObject.Partition1 div,foreignObject.Partition2 div{transform-origin:center}.PartitionsCustomable1 div,.PartitionsCustomable2 div{visibility:hidden}.PartitionsCustomable1 div.active,.PartitionsCustomable2 div.active{visibility:visible}foreignObject.Customable{overflow:visible}foreignObject.Customable div{background-repeat:no-repeat}.PartitionBackground div{background-size:calc(var(--radius) * 2 / var(--size) * 100%) calc(var(--radius) * 2 / var(--size) * 100%);background-position:center}.theme1 .PartitionBackground:nth-child(4n+1) div,.theme2 .PartitionBackground:nth-child(4n+1) div{background-image:radial-gradient(#009C9C 0%, #002634 100%)}.theme1 .PartitionBackground:nth-child(4n+2) div,.theme2 .PartitionBackground:nth-child(4n+2) div{background-image:radial-gradient(#AA00BF 0%, #3B0031 100%)}.theme1 .PartitionBackground:nth-child(4n+3) div,.theme2 .PartitionBackground:nth-child(4n+3) div{background-image:radial-gradient(#0068CD 0%, #150D42 100%)}.theme1 .PartitionBackground:nth-child(4n+4) div,.theme2 .PartitionBackground:nth-child(4n+4) div{background-image:radial-gradient(#DA005B 0%, #400021 100%)}.theme3 .PartitionBackground:nth-child(4n+1) div{background-image:radial-gradient(#066 0%, #007F76 13%, #00B59B 42%, #00DDB5 67.01%, #00F6C6 88.01%, #0FC 100.01%)}.theme3 .PartitionBackground:nth-child(4n+2) div{background-image:radial-gradient(#580065 22.67%, #D453FF 91.3%)}.theme3 .PartitionBackground:nth-child(4n+3) div{background-image:radial-gradient(#FFE767 -0.01%, #F28F00 100%)}.theme3 .PartitionBackground:nth-child(4n+4) div{background-image:radial-gradient(#900A42 22.59%, #960A44 23.94%, #B60B53 31.36%, #D00C5E 39.45%, #E40D67 48.22%, #F30D6E 57.66%, #FB0D71 69.8%, #FE0E73 90.03%)}.theme4 .PartitionBackground:nth-child(4n+1) div,.theme5 .PartitionBackground:nth-child(4n+1) div,.theme6 .PartitionBackground:nth-child(4n+1) div{background:radial-gradient(#3B0031 0%, #7E008E 100.01%)}.theme4 .PartitionBackground:nth-child(4n+2) div,.theme5 .PartitionBackground:nth-child(4n+2) div,.theme6 .PartitionBackground:nth-child(4n+2) div{background:radial-gradient(#5A005F 22.67%, #EA53FF 91.3%)}.theme4 .PartitionBackground:nth-child(4n+3) div,.theme5 .PartitionBackground:nth-child(4n+3) div,.theme6 .PartitionBackground:nth-child(4n+3) div{background:radial-gradient(#B300C3 -0.01%, #4D003B 100%)}.theme4 .PartitionBackground:nth-child(4n+4) div,.theme5 .PartitionBackground:nth-child(4n+4) div,.theme6 .PartitionBackground:nth-child(4n+4) div{background:radial-gradient(#59007B 22.59%, #B753FF 90.03%)}.theme7 .PartitionBackground:nth-child(2n+1) div{background:linear-gradient(90.23deg, #F6AD3F 16.59%, #AF8531 99.8%)}.theme7 .PartitionBackground:nth-child(2n+2) div{background:linear-gradient(90deg, #323234 -0.01%, #272425 54.99%, #231F1F 99.99%)}.theme8 .PartitionBackground div{background:#333}.theme8 .PartitionBackground:nth-child(2n+1) .PartitionSmallBackground{background:#3F2E75}.theme8 .PartitionBackground:nth-child(2n+2) .PartitionSmallBackground{background:#9482CE}.theme8 .PartitionBackgrounds{position:relative}.theme8 .PartitionSmallBackground{position:absolute;top:0;width:100%;height:100%}.PartitionBackground div{transform-origin:center}.PartitionBackgroundStroke{fill:transparent;stroke-width:0.5px;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius))}.theme1 .PartitionBackgroundStroke,.theme2 .PartitionBackgroundStroke{stroke:#FCD755}.PointerPartitionFrame{stroke:#FFDD64;fill:transparent;stroke-dasharray:var(--radius) calc(6.2831853072 / var(--length) * var(--radius));stroke-width:0px}.PointerPartitionFrame.active{stroke-width:3px}g.Center.spinning{cursor:not-allowed}')}function ii(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function ri(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function oi(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function ni(e,t,i){const r=e.slice();return r[49]=t[i],r[46]=i,r}function si(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function ai(e,t,i){const r=e.slice();return r[44]=t[i],r[46]=i,r}function li(e){let t,i,r,o,n,s,a,l,c,u,h,f,d,g,m,C,B,w,P,S,D=[e[13]],L={};for(let p=0;p<D.length;p+=1)L=V(L,D[p]);let z=[e[4],{class:"Bottom Customable"}],Z={};for(let p=0;p<z.length;p+=1)Z=V(Z,z[p]);let M=K(e[3]),G=[];for(let p=0;p<M.length;p+=1)G[p]=ci(ai(e,M,p));let f0=K(e[3]),J=[];for(let p=0;p<f0.length;p+=1)J[p]=ui(si(e,f0,p));let Q=K(e[3]),W=[];for(let p=0;p<Q.length;p+=1)W[p]=di(ni(e,Q,p));let p0=[{class:"PartitionsContainer"},e[6].getSpinnerProps()],O={};for(let p=0;p<p0.length;p+=1)O=V(O,p0[p]);let s0=K(e[3]),X=[];for(let p=0;p<s0.length;p+=1)X[p]=gi(oi(e,s0,p));let m0=K(e[3]),t0=[];for(let p=0;p<m0.length;p+=1)t0[p]=pi(ri(e,m0,p));let c0=e[5].pointerMode===g0.Partition&&Ai(e),w0=[e[13]],b0={};for(let p=0;p<w0.length;p+=1)b0=V(b0,w0[p]);let I0=[{class:"Middle Customable"},e[4]],M0={};for(let p=0;p<I0.length;p+=1)M0=V(M0,I0[p]);let k0=[e[13]],I={};for(let p=0;p<k0.length;p+=1)I=V(I,k0[p]);let h0=[{class:"Top Customable"},e[4]],C0={};for(let p=0;p<h0.length;p+=1)C0=V(C0,h0[p]);let E0=K(e[3]),E=[];for(let p=0;p<E0.length;p+=1)E[p]=mi(ii(e,E0,p));return{c(){t=$("svg"),i=$("foreignObject"),r=v("div"),o=$("g"),n=$("g");for(let p=0;p<G.length;p+=1)G[p].c();s=$("g");for(let p=0;p<J.length;p+=1)J[p].c();a=$("g");for(let p=0;p<W.length;p+=1)W[p].c();l=$("g");for(let p=0;p<X.length;p+=1)X[p].c();c=$("g");for(let p=0;p<t0.length;p+=1)t0[p].c();c0&&c0.c(),u=$("foreignObject"),h=v("div"),f=$("foreignObject"),d=v("div"),g=$("g"),m=$("foreignObject"),w=$("g");for(let p=0;p<E.length;p+=1)E[p].c();n0(r,L),e0(i,Z),b(n,"class","PartitionsBackgrounds"),b(s,"class","PartitionsBackgroundStrokes"),b(a,"class","Partitions"),He(a,"filter",e[14]),e0(o,O),b(l,"class","PartitionsCustomable1"),S0(l,"active",e[8]),b(c,"class","PartitionsCustomable2"),S0(c,"active",e[8]),n0(h,b0),e0(u,M0),n0(d,I),e0(f,C0),b(m,"x",C=Number(e[0])/2-100/2),b(m,"y",B=Number(e[0])/2-100/2),b(m,"width",100),b(m,"height",100),b(g,"class","Center"),S0(g,"spinning",e[10]),b(t,"width",e[0]),b(t,"height",e[0]),He(t,"opacity",e[12]?".3":"")},m(p,H){k(p,t,H),A(t,i),A(i,r),A(t,o),A(o,n);for(let y=0;y<G.length;y+=1)G[y]&&G[y].m(n,null);A(o,s);for(let y=0;y<J.length;y+=1)J[y]&&J[y].m(s,null);A(o,a);for(let y=0;y<W.length;y+=1)W[y]&&W[y].m(a,null);A(t,l);for(let y=0;y<X.length;y+=1)X[y]&&X[y].m(l,null);A(t,c);for(let y=0;y<t0.length;y+=1)t0[y]&&t0[y].m(c,null);c0&&c0.m(t,null),A(t,u),A(u,h),A(t,f),A(f,d),A(t,g),A(g,m),A(t,w);for(let y=0;y<E.length;y+=1)E[y]&&E[y].m(w,null);e[28](t),P||(S=[O0(g,"click",e[27]),O0(t,"click",e[29])],P=!0)},p(p,H){if(n0(r,L=o0(D,[H[0]&8192&&p[13]])),e0(i,Z=o0(z,[H[0]&16&&p[4],{class:"Bottom Customable"}])),H[0]&8201){M=K(p[3]);let y;for(y=0;y<M.length;y+=1){const i0=ai(p,M,y);G[y]?G[y].p(i0,H):(G[y]=ci(i0),G[y].c(),G[y].m(n,null))}for(;y<G.length;y+=1)G[y].d(1);G.length=M.length}if(H[0]&73){f0=K(p[3]);let y;for(y=0;y<f0.length;y+=1){const i0=si(p,f0,y);J[y]?J[y].p(i0,H):(J[y]=ui(i0),J[y].c(),J[y].m(s,null))}for(;y<J.length;y+=1)J[y].d(1);J.length=f0.length}if(H[0]&72){Q=K(p[3]);let y;for(y=0;y<Q.length;y+=1){const i0=ni(p,Q,y);W[y]?W[y].p(i0,H):(W[y]=di(i0),W[y].c(),W[y].m(a,null))}for(;y<W.length;y+=1)W[y].d(1);W.length=Q.length}if(H[0]&16384&&He(a,"filter",p[14]),e0(o,O=o0(p0,[{class:"PartitionsContainer"},H[0]&64&&p[6].getSpinnerProps()])),H[0]&8216){s0=K(p[3]);let y;for(y=0;y<s0.length;y+=1){const i0=oi(p,s0,y);X[y]?X[y].p(i0,H):(X[y]=gi(i0),X[y].c(),X[y].m(l,null))}for(;y<X.length;y+=1)X[y].d(1);X.length=s0.length}if(H[0]&256&&S0(l,"active",p[8]),H[0]&8216){m0=K(p[3]);let y;for(y=0;y<m0.length;y+=1){const i0=ri(p,m0,y);t0[y]?t0[y].p(i0,H):(t0[y]=pi(i0),t0[y].c(),t0[y].m(c,null))}for(;y<t0.length;y+=1)t0[y].d(1);t0.length=m0.length}if(H[0]&256&&S0(c,"active",p[8]),p[5].pointerMode===g0.Partition?c0?c0.p(p,H):(c0=Ai(p),c0.c(),c0.m(t,u)):c0&&(c0.d(1),c0=null),n0(h,b0=o0(w0,[H[0]&8192&&p[13]])),e0(u,M0=o0(I0,[{class:"Middle Customable"},H[0]&16&&p[4]])),n0(d,I=o0(k0,[H[0]&8192&&p[13]])),e0(f,C0=o0(h0,[{class:"Top Customable"},H[0]&16&&p[4]])),H[0]&1&&C!==(C=Number(p[0])/2-100/2)&&b(m,"x",C),H[0]&1&&B!==(B=Number(p[0])/2-100/2)&&b(m,"y",B),H[0]&1024&&S0(g,"spinning",p[10]),H[0]&72){E0=K(p[3]);let y;for(y=0;y<E0.length;y+=1){const i0=ii(p,E0,y);E[y]?E[y].p(i0,H):(E[y]=mi(i0),E[y].c(),E[y].m(w,null))}for(;y<E.length;y+=1)E[y].d(1);E.length=E0.length}H[0]&1&&b(t,"width",p[0]),H[0]&1&&b(t,"height",p[0]),H[0]&4096&&He(t,"opacity",p[12]?".3":"")},d(p){p&&x(t),x0(G,p),x0(J,p),x0(W,p),x0(X,p),x0(t0,p),c0&&c0.d(),x0(E,p),e[28](null),P=!1,R0(S)}}}function ci(e){let t,i,r=[e[13]],o={};for(let n=0;n<r.length;n+=1)o=V(o,r[n]);return{c(){t=$("foreignObject"),i=v("div"),n0(i,o),b(t,"clip-path",`url(#clip${e[46]})`),b(t,"class","PartitionBackground Customable"),b(t,"style",`--index: ${e[46]}`),b(t,"width",e[0]),b(t,"height",e[0])},m(n,s){k(n,t,s),A(t,i)},p(n,s){n0(i,o=o0(r,[s[0]&8192&&n[13]])),s[0]&1&&b(t,"width",n[0]),s[0]&1&&b(t,"height",n[0])},d(n){n&&x(t)}}}function ui(e){let t,i=[{class:"PartitionBackgroundStroke"},e[6].getPartitionDraw(e[46]),{width:e[0]},{height:e[0]}],r={};for(let o=0;o<i.length;o+=1)r=V(r,i[o]);return{c(){t=$("path"),e0(t,r)},m(o,n){k(o,t,n)},p(o,n){e0(t,r=o0(i,[{class:"PartitionBackgroundStroke"},n[0]&64&&o[6].getPartitionDraw(o[46]),n[0]&1&&{width:o[0]},n[0]&1&&{height:o[0]}]))},d(o){o&&x(t)}}}function fi(e){let t,i,r;return{c(){t=$("g"),b(t,"class",`PartitionImage PartitionImage${e[46]}`)},m(o,n){k(o,t,n),i||(r=mr(e[16].call(null,t,e[46])),i=!0)},p(o,n){e=o},d(o){o&&x(t),i=!1,r()}}}function hi(e){let t,i,r,o=e[49].name+"",n,s,a=[{class:"PartitionText"},e[6].getSvgTextPropsAdjustedByImage(e[46])],l={};for(let c=0;c<a.length;c+=1)l=V(l,a[c]);return{c(){t=$("foreignObject"),i=v("div"),r=v("p"),s=F(),b(r,"class",n=`PartitionTextEntity${e[6].contentdirection==="clockwise"?"":" Anticlockwise"}`),b(i,"class","PartitionTextEntityContainer"),e0(t,l)},m(c,u){k(c,t,u),A(t,i),A(i,r),r.innerHTML=o,A(i,s)},p(c,u){u[0]&8&&o!==(o=c[49].name+"")&&(r.innerHTML=o),u[0]&64&&n!==(n=`PartitionTextEntity${c[6].contentdirection==="clockwise"?"":" Anticlockwise"}`)&&b(r,"class",n),e0(t,l=o0(a,[{class:"PartitionText"},u[0]&64&&c[6].getSvgTextPropsAdjustedByImage(c[46])]))},d(c){c&&x(t)}}}function di(e){let t,i,r=e[49].image&&fi(e),o=e[49].name&&hi(e);return{c(){r&&r.c(),t=T0(),o&&o.c(),i=T0()},m(n,s){r&&r.m(n,s),k(n,t,s),o&&o.m(n,s),k(n,i,s)},p(n,s){n[49].image?r||(r=fi(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),n[49].name?o?o.p(n,s):(o=hi(n),o.c(),o.m(i.parentNode,i)):o&&(o.d(1),o=null)},d(n){n&&(x(t),x(i)),r&&r.d(n),o&&o.d(n)}}}function gi(e){let t,i,r,o=[e[13]],n={};for(let l=0;l<o.length;l+=1)n=V(n,o[l]);let s=[{class:"Partition1 Customable"},{style:r=`--index: ${e[46]}`},e[4]],a={};for(let l=0;l<s.length;l+=1)a=V(a,s[l]);return{c(){t=$("foreignObject"),i=v("div"),n0(i,n),e0(t,a)},m(l,c){k(l,t,c),A(t,i)},p(l,c){n0(i,n=o0(o,[c[0]&8192&&l[13]])),e0(t,a=o0(s,[{class:"Partition1 Customable"},{style:r},c[0]&16&&l[4]]))},d(l){l&&x(t)}}}function pi(e){let t,i,r,o=[e[13]],n={};for(let l=0;l<o.length;l+=1)n=V(n,o[l]);let s=[{class:"Partition2 Customable"},{style:r=`--index: ${e[46]}`},e[4]],a={};for(let l=0;l<s.length;l+=1)a=V(a,s[l]);return{c(){t=$("foreignObject"),i=v("div"),n0(i,n),e0(t,a)},m(l,c){k(l,t,c),A(t,i)},p(l,c){n0(i,n=o0(o,[c[0]&8192&&l[13]])),e0(t,a=o0(s,[{class:"Partition2 Customable"},{style:r},c[0]&16&&l[4]]))},d(l){l&&x(t)}}}function Ai(e){let t,i,r,o,n=[e[13]],s={};for(let d=0;d<n.length;d+=1)s=V(s,n[d]);let a=[{class:"PointerArea Customable"},e[4]],l={};for(let d=0;d<a.length;d+=1)l=V(l,a[d]);let c=[{class:"PointerPartitionFrame"},e[6].getPartitionDraw(0)],u={};for(let d=0;d<c.length;d+=1)u=V(u,c[d]);let h=[{class:"PointerContainer"},e[6].getSpinnerProps()],f={};for(let d=0;d<h.length;d+=1)f=V(f,h[d]);return{c(){t=$("g"),i=$("foreignObject"),r=v("div"),o=$("path"),n0(r,s),e0(i,l),e0(o,u),S0(o,"active",e[11]),e0(t,f)},m(d,g){k(d,t,g),A(t,i),A(i,r),A(t,o)},p(d,g){n0(r,s=o0(n,[g[0]&8192&&d[13]])),e0(i,l=o0(a,[{class:"PointerArea Customable"},g[0]&16&&d[4]])),e0(o,u=o0(c,[{class:"PointerPartitionFrame"},g[0]&64&&d[6].getPartitionDraw(0)])),S0(o,"active",d[11]),e0(t,f=o0(h,[{class:"PointerContainer"},g[0]&64&&d[6].getSpinnerProps()]))},d(d){d&&x(t)}}}function mi(e){let t,i,r=[e[6].getPartitionDraw(e[46])],o={};for(let a=0;a<r.length;a+=1)o=V(o,r[a]);let n=[{id:`clip${e[46]}`}],s={};for(let a=0;a<n.length;a+=1)s=V(s,n[a]);return{c(){t=$("clipPath"),i=$("path"),e0(i,o),e0(t,s)},m(a,l){k(a,t,l),A(t,i)},p(a,l){e0(i,o=o0(r,[l[0]&64&&a[6].getPartitionDraw(a[46])]))},d(a){a&&x(t)}}}function T3(e){let t,i=Number(e[0])&&e[3].length,r,o,n=i&&li(e);return{c(){t=v("div"),n&&n.c(),b(t,"class",r=`WheelContainer theme${Number(e[7])+1}`),b(t,"style",o=`${ti()} --length: ${e[3].length}; --radius: ${e[1]}; --ratio: ${Number(e[0])/480}; --size: ${e[0]}`)},m(s,a){k(s,t,a),n&&n.m(t,null),e[30](t)},p(s,a){a[0]&9&&(i=Number(s[0])&&s[3].length),i?n?n.p(s,a):(n=li(s),n.c(),n.m(t,null)):n&&(n.d(1),n=null),a[0]&128&&r!==(r=`WheelContainer theme${Number(s[7])+1}`)&&b(t,"class",r),a[0]&11&&o!==(o=`${ti()} --length: ${s[3].length}; --radius: ${s[1]}; --ratio: ${Number(s[0])/480}; --size: ${s[0]}`)&&b(t,"style",o)},i:_,o:_,d(s){s&&x(t),n&&n.d(),e[30](null)}}}function F3(e,t,i){let r,o,n,s,a,l,c,{lang:u=K0.en}=t,{endpoint:h=""}=t,{session:f=""}=t,{clientstyling:d=""}=t,{contentdirection:g="anticlockwise"}=t,{partitiondivisor:m=""}=t,C,{id:B=void 0}=t,{size:w=""}=t,{radius:P=""}=t,S=!1;const D=E=>{E(-1),setTimeout(()=>{E(1),i(8,S=!0)},100)};let L;const z=()=>a0(this,null,function*(){i(3,Z=yield ks(L,u)),v0({type:"wof-private-options-ready",id:B}),D(p=>i(0,w=String(Number(w)+p)))});let Z=[],M,G,f0=new _s({tick:(E,p)=>{Re(G,{style:[`transform: rotate(${E}deg)`,`height: ${w}px`,`width: ${w}px`].join(";")}),i(26,s0=p*.5)}}),J=!0,Q=!1,W=!1,p0=!1,O=!1,s0=0;const X=()=>{i(6,n.options=Z,n)},m0=()=>{i(6,n.contentdirection=g||"anticlockwise",n),t0()},t0=()=>{if(C)for(let E=0;E<=Z.length;E++){const p=C.querySelector(`.PartitionImage.PartitionImage${E} image`);p&&Re(p,n.getSvgImageProps(E,m))}},c0=()=>{w0(),m0(),i(25,O=!0)},w0=()=>{!!L.current&&L.current.remainingTimes>0?J=!0:(J=!1,L.next?s.setMessage({mode:"show-next",modeValue:L.next}):s.setMessage({mode:"NoNext"}))},b0=()=>a0(this,null,function*(){if(w0(),!J||Q)return;i(10,Q=!0),i(11,W=!1),G=M.querySelector(Is(o.pointerMode)),f0.launch();const E=I0();s.drawer(E)}),I0=()=>typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():M0(),M0=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(E){var p=Math.random()*16|0,H=E=="x"?p:p&3|8;return H.toString(16)});Be({"wof-private-bonuses":E=>{i(24,L=E.bonuses.find(p=>p.program.id===B))},"wof-private-bonus":E=>{E.bonus.program.id===B&&i(24,L=E.bonus)},"wof-private-message-close":E=>{E.id===B&&(i(10,Q=!1),setTimeout(()=>w0(),1),Re(G,{style:[`transform: rotate(${f0.deg}deg)`,`height: ${w}px`,`width: ${w}px`].join(";")}),i(12,p0=!1))},"wof-private-message-retry":E=>{E.id===B&&(i(12,p0=!1),s.drawer())}});const k0=(E,p)=>{const H=Z[p].image;Re(H,n.getSvgImageProps(p)),E.innerHTML=null,E.appendChild(H)},I=()=>Ft()||b0();function h0(E){H0[E?"unshift":"push"](()=>{M=E,i(9,M)})}const C0=()=>Ft()&&b0();function E0(E){H0[E?"unshift":"push"](()=>{C=E,i(2,C)})}return e.$$set=E=>{"lang"in E&&i(17,u=E.lang),"endpoint"in E&&i(18,h=E.endpoint),"session"in E&&i(19,f=E.session),"clientstyling"in E&&i(20,d=E.clientstyling),"contentdirection"in E&&i(21,g=E.contentdirection),"partitiondivisor"in E&&i(22,m=E.partitiondivisor),"id"in E&&i(23,B=E.id),"size"in E&&i(0,w=E.size),"radius"in E&&i(1,P=E.radius)},e.$$.update=()=>{var E,p;e.$$.dirty[0]&1048580&&d&&C&&ge(C,d),e.$$.dirty[0]&16908288&&L&&u&&z(),e.$$.dirty[0]&16777216&&i(7,r=((p=(E=L==null?void 0:L.program)==null?void 0:E.metadata)==null?void 0:p.template)||0),e.$$.dirty[0]&128&&i(5,o=Nt[r]||Nt[0]),e.$$.dirty[0]&2097291&&i(6,n=new t3({size:w,radius:P,options:Z,themeIndex:r,contentdirection:g})),e.$$.dirty[0]&8&&Z&&X(),e.$$.dirty[0]&2097152&&(g||!g)&&m0(),e.$$.dirty[0]&50331648&&L&&!O&&c0(),e.$$.dirty[0]&25952328&&(s=new i3({id:B,afterSetMessage:()=>i(12,p0=!0),halter:(H,y)=>{const i0=H>=0?H:Z.length-1;f0.halt(n.getDeg(i0),y)},afterSuccess:()=>i(11,W=!0),fetcher:H=>a0(this,null,function*(){return yield rt.draw(h,f,B,H,Z,L)})})),e.$$.dirty[0]&67108896&&i(14,a=o.pointerMode===g0.Arrow&&s0>.3?`blur(${s0}px)`:null),e.$$.dirty[0]&1&&i(4,l={height:w,width:w}),e.$$.dirty[0]&16&&i(13,c={style:Object.keys(l).map(H=>`${H}: ${l[H]}px`).join(";")})},[w,P,C,Z,l,o,n,r,S,M,Q,W,p0,c,a,b0,k0,u,h,f,d,g,m,B,L,O,s0,I,h0,C0,E0]}class L3 extends ee{constructor(t){super(),q0(this,t,F3,T3,j0,{lang:17,endpoint:18,session:19,clientstyling:20,contentdirection:21,partitiondivisor:22,id:23,size:0,radius:1},P3,[-1,-1])}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),T()}get endpoint(){return this.$$.ctx[18]}set endpoint(t){this.$$set({endpoint:t}),T()}get session(){return this.$$.ctx[19]}set session(t){this.$$set({session:t}),T()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get contentdirection(){return this.$$.ctx[21]}set contentdirection(t){this.$$set({contentdirection:t}),T()}get partitiondivisor(){return this.$$.ctx[22]}set partitiondivisor(t){this.$$set({partitiondivisor:t}),T()}get id(){return this.$$.ctx[23]}set id(t){this.$$set({id:t}),T()}get size(){return this.$$.ctx[0]}set size(t){this.$$set({size:t}),T()}get radius(){return this.$$.ctx[1]}set radius(t){this.$$set({radius:t}),T()}}customElements.define("lottery-program-wof-private-item-svg",$0(L3,{lang:{},endpoint:{},session:{},clientstyling:{},contentdirection:{},partitiondivisor:{},id:{},size:{},radius:{}},[],[],!0));function O3(e){_0(e,"svelte-5mi6dy","lottery-program-wof-private-message-panel{position:absolute;top:0}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.LotteryItem{width:100%;display:flex;align-items:center;flex-direction:column;margin:20px 0}.LotteryItem.Invalid{display:none}.Current{color:#FFFFFF}")}function bi(e,t,i){const r=e.slice();return r[22]=t[i],r}function yi(e){let t,i=K(e[6]),r=[];for(let o=0;o<i.length;o+=1)r[o]=vi(bi(e,i,o));return{c(){t=v("div");for(let o=0;o<r.length;o+=1)r[o].c();b(t,"class","Current")},m(o,n){k(o,t,n);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p(o,n){if(n&2113){i=K(o[6]);let s;for(s=0;s<i.length;s+=1){const a=bi(o,i,s);r[s]?r[s].p(a,n):(r[s]=vi(a),r[s].c(),r[s].m(t,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(o){o&&x(t),x0(r,o)}}}function vi(e){let t,i=e[11](`wof.${e[22]}`)+"",r,o,n=J2(e[0],e[22])+"",s,a,l;return{c(){t=v("p"),r=U(i),o=U(": "),s=U(n),a=F(),b(t,"class",l=e[22])},m(c,u){k(c,t,u),A(t,r),A(t,o),A(t,s),A(t,a)},p(c,u){u&2112&&i!==(i=c[11](`wof.${c[22]}`)+"")&&Y(r,i),u&65&&n!==(n=J2(c[0],c[22])+"")&&Y(s,n),u&64&&l!==(l=c[22])&&b(t,"class",l)},d(c){c&&x(t)}}}function H3(e){var h,f,d;let t,i,r,o,n,s=[d0(q({},e[10]),{id:e[3],size:e[5],radius:e[9],contentdirection:e[2]})],a={};for(let g=0;g<s.length;g+=1)a=V(a,s[g]);let l=[d0(q({},e[10]),{id:e[3],size:e[5],r:e[9],giftimagesrc:e[1],name:(f=(h=e[0])==null?void 0:h.program)==null?void 0:f.name["*"]})],c={};for(let g=0;g<l.length;g+=1)c=V(c,l[g]);let u=((d=e[0])==null?void 0:d.current)&&e[7]&&yi(e);return{c(){t=v("div"),i=v("lottery-program-wof-private-item-svg"),r=F(),o=v("lottery-program-wof-private-message-panel"),n=F(),u&&u.c(),n0(i,a),n0(o,c),b(t,"class","LotteryItem"),S0(t,"Invalid",we(e[0])&&e[8])},m(g,m){k(g,t,m),A(t,i),A(t,r),A(t,o),A(t,n),u&&u.m(t,null),e[18](t)},p(g,[m]){var C,B,w;n0(i,a=o0(s,[m&1580&&d0(q({},g[10]),{id:g[3],size:g[5],radius:g[9],contentdirection:g[2]})])),n0(o,c=o0(l,[m&1579&&d0(q({},g[10]),{id:g[3],size:g[5],r:g[9],giftimagesrc:g[1],name:(B=(C=g[0])==null?void 0:C.program)==null?void 0:B.name["*"]})])),(w=g[0])!=null&&w.current&&g[7]?u?u.p(g,m):(u=yi(g),u.c(),u.m(t,null)):u&&(u.d(1),u=null),m&257&&S0(t,"Invalid",we(g[0])&&g[8])},i:_,o:_,d(g){g&&x(t),u&&u.d(),e[18](null)}}}function D3(e,t,i){let r,o,n,s;Ce(e,xe,M=>i(11,s=M));let{lang:a=K0.en}=t,{endpoint:l=""}=t,{session:c=""}=t,{clientstyling:u=""}=t,{currentinfo:h=W0.RemainingTimes}=t,{giftimagesrc:f=""}=t,{contentdirection:d="anticlockwise"}=t,{size:g="480"}=t,{id:m=""}=t,{bonus:C}=t,B,w,P=[],S,D=!1,L=!0;const z=()=>a0(this,null,function*(){const M=yield rt.lotteries(l,c);return P=M.map(G=>{if(!we(G))return G}),M.filter(G=>G.program.id===m)[0]});Be({"wof-private-options-ready":M=>{M.id===m&&i(7,D=!0)},"wof-private-bonuses":M=>{const G=M.bonuses.find(f0=>f0.program.id===m);G&&i(0,C=G)},"wof-private-message-spin-after":M=>{M.id===m&&w&&(i(0,C=w),v0({type:"wof-private-bonus",bonus:w,id:m}),P&&v0({type:"wof-private-bonuses",bonuses:P}))},"wof-private-message-spin-before":M=>a0(this,null,function*(){M.id===m&&(i(8,L=!1),w=yield z())}),"wof-private-message-close":M=>{M.id===m&&(v0({type:"wof-private-checking",bonus:C,id:m}),setTimeout(()=>{i(8,L=!0)},1e3))}});function Z(M){H0[M?"unshift":"push"](()=>{B=M,i(4,B)})}return e.$$set=M=>{"lang"in M&&i(12,a=M.lang),"endpoint"in M&&i(13,l=M.endpoint),"session"in M&&i(14,c=M.session),"clientstyling"in M&&i(15,u=M.clientstyling),"currentinfo"in M&&i(16,h=M.currentinfo),"giftimagesrc"in M&&i(1,f=M.giftimagesrc),"contentdirection"in M&&i(2,d=M.contentdirection),"size"in M&&i(17,g=M.size),"id"in M&&i(3,m=M.id),"bonus"in M&&i(0,C=M.bonus)},e.$$.update=()=>{e.$$.dirty&32784&&u&&B&&ge(B,u),e.$$.dirty&61440&&i(10,r={endpoint:l,lang:a,session:c,clientstyling:u}),e.$$.dirty&131072&&i(5,o=Number(g)||480),e.$$.dirty&32&&i(9,n=.62*o/2),e.$$.dirty&65536&&i(6,S=h?h.split(","):[W0.RemainingTimes])},[C,f,d,m,B,o,S,D,L,n,r,s,a,l,c,u,h,g,Z]}class R3 extends ee{constructor(t){super(),q0(this,t,D3,H3,j0,{lang:12,endpoint:13,session:14,clientstyling:15,currentinfo:16,giftimagesrc:1,contentdirection:2,size:17,id:3,bonus:0},O3)}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),T()}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),T()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),T()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get currentinfo(){return this.$$.ctx[16]}set currentinfo(t){this.$$set({currentinfo:t}),T()}get giftimagesrc(){return this.$$.ctx[1]}set giftimagesrc(t){this.$$set({giftimagesrc:t}),T()}get contentdirection(){return this.$$.ctx[2]}set contentdirection(t){this.$$set({contentdirection:t}),T()}get size(){return this.$$.ctx[17]}set size(t){this.$$set({size:t}),T()}get id(){return this.$$.ctx[3]}set id(t){this.$$set({id:t}),T()}get bonus(){return this.$$.ctx[0]}set bonus(t){this.$$set({bonus:t}),T()}}customElements.define("lottery-program-wof-private-item",$0(R3,{lang:{},endpoint:{},session:{},clientstyling:{},currentinfo:{},giftimagesrc:{},contentdirection:{},size:{},id:{},bonus:{}},[],[],!0));const Q3="data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";function G3(e){_0(e,"svelte-19z60n4",`.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .tooltip-backdrop{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.mobile .tooltip-backdrop .tooltip{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .IconButton{width:24px;height:24px}.mobile .Header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .LuckyWheelList{gap:16px}.mobile .LuckyWheelList .LuckyWheelListKeys{gap:5px;font-size:var(--emw--font-size-medium, 16px)}.mobile .ItemButton{font-weight:var(--emw--font-weight-normal, 400);padding:20px;font-size:var(--emw--font-size-x-small, 12px);line-height:15px;border-radius:16px;height:56px}.mobile .LuckyWheelRules{gap:24px}.mobile .LuckyWheelRules .LuckyWheelRulesDesc{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .LuckyWheelRules .LuckyWheelRulesTerms{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}.mobile .LuckyWheelRules .LuckyWheelRulesPrizeTitle{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .LuckyWheelRules .LuckyWheelRulesList{padding-inline-start:15px;margin:5px 0 0}.mobile .LuckyWheelRules .LuckyWheelRulesList .LuckyWheelRulesListItem{margin-bottom:5px;font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .LuckyWheelEmpty{margin-top:50px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .LuckyWheelHistory .LuckyWheelHistoryTitle{font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .LuckyWheelHistory .LuckyWheelHistoryList{margin-bottom:32px}.mobile .LuckyWheelHistory .LuckyWheelHistoryList__item{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .LuckyWheelHistory .LuckyWheelHistoryList__item .name img{width:14px;height:14px}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loader{display:flex;justify-self:center;width:100%}.NoContent{color:rgb(255, 255, 255);min-height:300px;display:flex;justify-content:center;align-items:center;font-size:16px}.CommonContainer{display:flex;flex-wrap:wrap;flex-direction:column;align-items:center;height:100%}.LuckyWheelList{max-height:85%;overflow:auto;gap:24px;display:flex;flex-wrap:wrap}.LuckyWheelListItem{width:100%}.ItemButton{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-large, 22px);line-height:25px;padding:35px 48px;border-radius:28px;height:110px;color:var(--emw--color-primary, #d3ffed);width:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);cursor:pointer}.IconButton{width:30px;height:30px;border:0px;cursor:pointer}.IconButton.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.IconButton.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.IconButton.help{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>') no-repeat}.Header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.HeaderTitle{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:100;bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px}.TabItem{height:100%;overflow-y:auto}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;bottom:0;opacity:1;transition:opacity 0.5s ease-in-out}.tooltip-backdrop{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.tooltip-backdrop .tooltip{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:var(--emw--border-radius-large, 8px);line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.tooltip-backdrop .tooltip .IconButton{top:12px;right:12px;position:absolute}.LuckyWheelRules{display:flex;flex-flow:column;gap:40px;color:var(--emw--color-primary-variant, #a9ccbe)}.LuckyWheelRules__description{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:32px}.LuckyWheelRules__terms{display:flex;gap:5px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);border:none;padding:0;cursor:pointer;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.LuckyWheelRules__terms .arrow-icon{width:14px;height:14px;background:center/100% url('data:image/svg+xml,<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41 7.744a.833.833 0 0 0 0 1.179l5 5a.833.833 0 0 0 1.18 0l5-5a.833.833 0 1 0-1.18-1.179L10 12.154l-4.41-4.41a.833.833 0 0 0-1.18 0Z" fill="url(%23a)"/><defs><linearGradient id="a" x1="10" y1="7.5" x2="10" y2="14.167" gradientUnits="userSpaceOnUse"><stop stop-color="%2375FFE9"/><stop offset="1" stop-color="%23B2FF6D"/></linearGradient></defs></svg>') no-repeat}.LuckyWheelRules__prize-title{color:#ffffff;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.LuckyWheelRules__list{padding-inline-start:25px;margin:15px 0 0}.LuckyWheelRules__list__item{font-weight:var(--emw--font-weight-normal, 400);margin-bottom:12px;font-size:var(--emw--font-size-medium, 16px);line-height:32px;list-style:initial}`)}function wi(e,t,i){const r=e.slice();return r[40]=t[i],r}function Ci(e){let t,i,r,o,n,s=e[11]&&Bi(e);function a(u,h){return u[10]?z3:N3}let l=a(e),c=l(e);return{c(){t=v("div"),i=v("button"),r=F(),o=v("div"),s&&s.c(),n=F(),c.c(),b(i,"class","overlay"),b(o,"class","drawer "+(e[16]?"mobile":"")),b(t,"class","WofContainer")},m(u,h){k(u,t,h),A(t,i),A(t,r),A(t,o),s&&s.m(o,null),A(o,n),c.m(o,null),e[32](t)},p(u,h){u[11]?s?s.p(u,h):(s=Bi(u),s.c(),s.m(o,n)):s&&(s.d(1),s=null),l===(l=a(u))&&c?c.p(u,h):(c.d(1),c=l(u),c&&(c.c(),c.m(o,null)))},d(u){u&&x(t),s&&s.d(),c.d(),e[32](null)}}}function Bi(e){let t,i,r,o,n,s=e[15]("wof.InfoTooltip")+"",a,l,c;return{c(){t=v("div"),i=v("div"),r=v("button"),o=F(),n=v("span"),a=U(s),b(r,"class","IconButton close"),b(i,"class","tooltip"),b(t,"class","tooltip-backdrop")},m(u,h){k(u,t,h),A(t,i),A(i,r),A(i,o),A(i,n),A(n,a),l||(c=O0(r,"click",e[20]),l=!0)},p(u,h){h[0]&32768&&s!==(s=u[15]("wof.InfoTooltip")+"")&&Y(a,s)},d(u){u&&x(t),l=!1,c()}}}function N3(e){var qt;let t,i,r,o,n=e[15]("LuckyWheels")+"",s,a,l,c,u,h,f,d,g,m,C,B,w,P,S=e[15]("wof.RulesDescription")+"",D,L,z,Z,M,G=e[15]("wof.PrizeAgenda")+"",f0,J,Q,W,p0=e[15]("wof.TournamentTicket")+"",O,s0,X,m0=e[15]("wof.FreeSpins")+"",t0,c0,w0,b0=e[15]("wof.BonusMoney")+"",I0,M0,k0,I=e[15]("wof.LoyaltyPoints")+"",h0,C0,E0,E=e[15]("wof.LuckyWheel")+"",p,H,y,i0=e[15]("wof.MysteryChest")+"",ot,Xt,ke,Se=e[15]("wof.CoinRoyale")+"",nt,Kt,Ie,Me=e[15]("wof.CustomRewards")+"",st,at,Vt;function _t(R,u0){return R[9]?J3:R[8].length?U3:j3}let Pe=_t(e),F0=Pe(e),lt=[d0(q({},e[14]),{id:(qt=e[8].find(e[31]))==null?void 0:qt.program.id,bonuses:e[8]})],Te={};for(let R=0;R<lt.length;R+=1)Te=V(Te,lt[R]);let B0=e[13]&&Ei(e),ct=[e[14],{isshowhistory:e[3]}],Fe={};for(let R=0;R<ct.length;R+=1)Fe=V(Fe,ct[R]);return{c(){t=v("div"),i=v("button"),i.innerHTML="",r=F(),o=v("div"),s=U(n),a=F(),l=v("button"),c=F(),u=v("lottery-program-wof-private-tabs"),h=v("div"),f=v("div"),F0.c(),d=F(),g=v("div"),m=v("lottery-program-wof-private-outcomes"),C=F(),B=v("div"),w=v("div"),P=v("span"),D=U(S),L=F(),B0&&B0.c(),z=F(),Z=v("section"),M=v("span"),f0=U(G),J=F(),Q=v("ul"),W=v("li"),O=U(p0),s0=F(),X=v("li"),t0=U(m0),c0=F(),w0=v("li"),I0=U(b0),M0=F(),k0=v("li"),h0=U(I),C0=F(),E0=v("li"),p=U(E),H=F(),y=v("li"),ot=U(i0),Xt=F(),ke=v("li"),nt=U(Se),Kt=F(),Ie=v("li"),st=U(Me),b(i,"class","IconButton help"),b(o,"class","HeaderTitle"),b(l,"class","IconButton close"),b(t,"class","Header"),b(f,"class","CommonContainer"),b(h,"class","TabItem"),b(h,"slot","tab-Play"),n0(m,Te),b(g,"class","TabItem"),b(g,"slot","tab-History"),b(P,"class","LuckyWheelRules__description"),b(M,"class","LuckyWheelRules__prize-title"),b(W,"class","LuckyWheelRules__list__item"),b(X,"class","LuckyWheelRules__list__item"),b(w0,"class","LuckyWheelRules__list__item"),b(k0,"class","LuckyWheelRules__list__item"),b(E0,"class","LuckyWheelRules__list__item"),b(y,"class","LuckyWheelRules__list__item"),b(ke,"class","LuckyWheelRules__list__item"),b(Ie,"class","LuckyWheelRules__list__item"),b(Q,"class","LuckyWheelRules__list"),b(w,"class","LuckyWheelRules"),b(B,"class","TabItem"),b(B,"slot","tab-Rules"),n0(u,Fe)},m(R,u0){k(R,t,u0),A(t,i),A(t,r),A(t,o),A(o,s),A(t,a),A(t,l),k(R,c,u0),k(R,u,u0),A(u,h),A(h,f),F0.m(f,null),A(u,d),A(u,g),A(g,m),A(u,C),A(u,B),A(B,w),A(w,P),A(P,D),A(w,L),B0&&B0.m(w,null),A(w,z),A(w,Z),A(Z,M),A(M,f0),A(Z,J),A(Z,Q),A(Q,W),A(W,O),A(Q,s0),A(Q,X),A(X,t0),A(Q,c0),A(Q,w0),A(w0,I0),A(Q,M0),A(Q,k0),A(k0,h0),A(Q,C0),A(Q,E0),A(E0,p),A(Q,H),A(Q,y),A(y,ot),A(Q,Xt),A(Q,ke),A(ke,nt),A(Q,Kt),A(Q,Ie),A(Ie,st),at||(Vt=[O0(i,"click",e[20]),O0(l,"click",e[19])],at=!0)},p(R,u0){var $t;u0[0]&32768&&n!==(n=R[15]("LuckyWheels")+"")&&Y(s,n),Pe===(Pe=_t(R))&&F0?F0.p(R,u0):(F0.d(1),F0=Pe(R),F0&&(F0.c(),F0.m(f,null))),n0(m,Te=o0(lt,[u0[0]&16641&&d0(q({},R[14]),{id:($t=R[8].find(R[31]))==null?void 0:$t.program.id,bonuses:R[8]})])),u0[0]&32768&&S!==(S=R[15]("wof.RulesDescription")+"")&&Y(D,S),R[13]?B0?B0.p(R,u0):(B0=Ei(R),B0.c(),B0.m(w,z)):B0&&(B0.d(1),B0=null),u0[0]&32768&&G!==(G=R[15]("wof.PrizeAgenda")+"")&&Y(f0,G),u0[0]&32768&&p0!==(p0=R[15]("wof.TournamentTicket")+"")&&Y(O,p0),u0[0]&32768&&m0!==(m0=R[15]("wof.FreeSpins")+"")&&Y(t0,m0),u0[0]&32768&&b0!==(b0=R[15]("wof.BonusMoney")+"")&&Y(I0,b0),u0[0]&32768&&I!==(I=R[15]("wof.LoyaltyPoints")+"")&&Y(h0,I),u0[0]&32768&&E!==(E=R[15]("wof.LuckyWheel")+"")&&Y(p,E),u0[0]&32768&&i0!==(i0=R[15]("wof.MysteryChest")+"")&&Y(ot,i0),u0[0]&32768&&Se!==(Se=R[15]("wof.CoinRoyale")+"")&&Y(nt,Se),u0[0]&32768&&Me!==(Me=R[15]("wof.CustomRewards")+"")&&Y(st,Me),n0(u,Fe=o0(ct,[u0[0]&16384&&R[14],u0[0]&8&&{isshowhistory:R[3]}]))},d(R){R&&(x(t),x(c),x(u)),F0.d(),B0&&B0.d(),at=!1,R0(Vt)}}}function z3(e){let t,i,r,o,n=(e[10].program.name["*"]||e[10].program.name[K0.en])+"",s,a,l,c,u,h,f,d=[d0(q({},e[14]),{id:e[10].program.id,currentinfo:e[1],giftimagesrc:e[2],contentdirection:e[4],bonus:e[10]})],g={};for(let m=0;m<d.length;m+=1)g=V(g,d[m]);return{c(){t=v("div"),i=v("button"),i.innerHTML="",r=F(),o=v("div"),s=U(n),a=F(),l=v("button"),c=F(),u=v("lottery-program-wof-private-item"),b(i,"class","IconButton back"),b(o,"class","HeaderTitle"),b(l,"class","IconButton close"),b(t,"class","Header"),n0(u,g)},m(m,C){k(m,t,C),A(t,i),A(t,r),A(t,o),A(o,s),A(t,a),A(t,l),k(m,c,C),k(m,u,C),h||(f=[O0(i,"click",e[18]),O0(l,"click",e[19])],h=!0)},p(m,C){C[0]&1024&&n!==(n=(m[10].program.name["*"]||m[10].program.name[K0.en])+"")&&Y(s,n),n0(u,g=o0(d,[C[0]&17430&&d0(q({},m[14]),{id:m[10].program.id,currentinfo:m[1],giftimagesrc:m[2],contentdirection:m[4],bonus:m[10]})]))},d(m){m&&(x(t),x(c),x(u)),h=!1,R0(f)}}}function j3(e){let t,i,r=e[15]("wof.NoContent")+"",o;return{c(){t=v("div"),i=v("p"),o=U(r),b(t,"class","NoContent")},m(n,s){k(n,t,s),A(t,i),A(i,o)},p(n,s){s[0]&32768&&r!==(r=n[15]("wof.NoContent")+"")&&Y(o,r)},d(n){n&&x(t)}}}function U3(e){let t,i=K(e[8]),r=[];for(let o=0;o<i.length;o+=1)r[o]=xi(wi(e,i,o));return{c(){t=v("ul");for(let o=0;o<r.length;o+=1)r[o].c();b(t,"class","LuckyWheelList")},m(o,n){k(o,t,n);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(t,null)},p(o,n){if(n[0]&131328){i=K(o[8]);let s;for(s=0;s<i.length;s+=1){const a=wi(o,i,s);r[s]?r[s].p(a,n):(r[s]=xi(a),r[s].c(),r[s].m(t,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=i.length}},d(o){o&&x(t),x0(r,o)}}}function J3(e){let t;return{c(){t=v("wof-loader"),me(t,"class","Loader")},m(i,r){k(i,t,r)},p:_,d(i){i&&x(t)}}}function xi(e){var B,w;let t,i,r=e[40].program.name["*"]+"",o,n,s,a,l,c,u,h=((w=(B=e[40])==null?void 0:B.current)==null?void 0:w.remainingTimes)+"",f,d,g,m;function C(){return e[30](e[40])}return{c(){t=v("li"),i=v("button"),o=U(r),n=F(),s=v("div"),a=v("img"),c=F(),u=v("span"),f=U(h),d=F(),X0(a.src,l=Q3)||b(a,"src",l),b(a,"alt","Key"),b(s,"class","ItemKeys"),b(i,"class","ItemButton"),b(t,"class","LuckyWheelListItem")},m(P,S){k(P,t,S),A(t,i),A(i,o),A(i,n),A(i,s),A(s,a),A(s,c),A(s,u),A(u,f),A(t,d),g||(m=O0(i,"click",C),g=!0)},p(P,S){var D,L;e=P,S[0]&256&&r!==(r=e[40].program.name["*"]+"")&&Y(o,r),S[0]&256&&h!==(h=((L=(D=e[40])==null?void 0:D.current)==null?void 0:L.remainingTimes)+"")&&Y(f,h)},d(P){P&&x(t),g=!1,m()}}}function Ei(e){let t,i,r=e[15]("wof.Terms")+"",o,n,s;return{c(){t=v("a"),i=v("span"),o=U(r),n=F(),s=v("span"),b(s,"class","arrow-icon"),b(t,"class","LuckyWheelRules__terms"),b(t,"href",e[5]),b(t,"target","_blank")},m(a,l){k(a,t,l),A(t,i),A(i,o),A(t,n),A(t,s)},p(a,l){l[0]&32768&&r!==(r=a[15]("wof.Terms")+"")&&Y(o,r),l[0]&32&&b(t,"href",a[5])},d(a){a&&x(t)}}}function Z3(e){let t,i=(e[12]||e[6]===!0)&&Ci(e);return{c(){i&&i.c(),t=T0()},m(r,o){i&&i.m(r,o),k(r,t,o)},p(r,o){r[12]||r[6]===!0?i?i.p(r,o):(i=Ci(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:_,o:_,d(r){r&&x(t),i&&i.d(r)}}}function Y3(e,t,i){let r,o,n;Ce(e,xe,I=>i(15,n=I));let{lang:s=K0.en}=t,{endpoint:a=""}=t,{session:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{translationurl:h=""}=t,{programid:f=""}=t,{loginevent:d=""}=t,{loginurl:g=""}=t,{currentinfo:m=W0.RemainingTimes}=t,{giftimagesrc:C=""}=t,{isshowhistory:B="true"}=t,{contentdirection:w="anticlockwise"}=t,{terms:P=""}=t,{gameoverlay:S=!1}=t,D,L=!1;Sn();let z=[],Z=!0,M,G=window.navigator.userAgent,f0=it(G),J=!1,Q=!1,W=!1;const p0=I=>/(https?:\/\/[^\s]+)/g.test(I),O=()=>a0(this,null,function*(){if(i(9,Z=!0),!r){X(d,g);return}!L||!s||!l||!a||(yield s0())}),s0=()=>a0(this,null,function*(){const I=yield rt.lotteries(a,l);v0({type:"wof-private-bonuses-outcomes",bonuses:I}),i(8,z=I.map(h0=>{if(!we(h0))return h0})),i(9,Z=!1),v0({type:"WofStatus",avaliable:z.length>0}),v0({type:"wof-private-bonuses",bonuses:z})}),X=(I,h0)=>{I&&window.postMessage({type:I,transition:"Login"},window.location.href),h0&&(window.location=h0)},m0=()=>{kn(s),O()},t0=I=>{i(10,M=I),v0({type:"wof-private-bonus",bonus:I})},c0=()=>{i(10,M=null)},w0=()=>{i(12,Q=!1)},b0=()=>{i(11,J=!J)};Be({"wof-private-checking":I=>{i(8,z=z.map(C0=>C0.program.id===I.id?d0(q({},I.bonus),{hidden:we(I.bonus)}):C0));let h0=!0;z.map(C0=>{C0.hidden!==!0&&(h0=!1)}),h0&&i(8,z=[])},OpenLuckyWheelDrawer:()=>{i(12,Q=!0),v0({type:"wof-private-bonuses-outcomes",bonuses:z})},CloseLuckyWheelDrawer:()=>{i(12,Q=!1)}}),Mi(()=>(i(29,L=!0),i(13,W=p0(P)),()=>i(29,L=!1)));const I0=I=>t0(I),M0=I=>I.program.id===f;function k0(I){H0[I?"unshift":"push"](()=>{D=I,i(7,D)})}return e.$$set=I=>{"lang"in I&&i(22,s=I.lang),"endpoint"in I&&i(23,a=I.endpoint),"session"in I&&i(24,l=I.session),"clientstyling"in I&&i(21,c=I.clientstyling),"clientstylingurl"in I&&i(25,u=I.clientstylingurl),"translationurl"in I&&i(26,h=I.translationurl),"programid"in I&&i(0,f=I.programid),"loginevent"in I&&i(27,d=I.loginevent),"loginurl"in I&&i(28,g=I.loginurl),"currentinfo"in I&&i(1,m=I.currentinfo),"giftimagesrc"in I&&i(2,C=I.giftimagesrc),"isshowhistory"in I&&i(3,B=I.isshowhistory),"contentdirection"in I&&i(4,w=I.contentdirection),"terms"in I&&i(5,P=I.terms),"gameoverlay"in I&&i(6,S=I.gameoverlay)},e.$$.update=()=>{e.$$.dirty[0]&16777216&&(r=l&&l!=="false"),e.$$.dirty[0]&536870912&&L&&O(),e.$$.dirty[0]&25165824&&l&&a&&O(),e.$$.dirty[0]&4194304&&s&&m0(),e.$$.dirty[0]&33554560&&u&&D&&Ln(u,I=>i(21,c=I)),e.$$.dirty[0]&2097280&&c&&D&&ge(D,c),e.$$.dirty[0]&67108864&&h&&Fn(h),e.$$.dirty[0]&31457280&&i(14,o={endpoint:a,lang:s,session:l,clientstyling:c})},[f,m,C,B,w,P,S,D,z,Z,M,J,Q,W,o,n,f0,t0,c0,w0,b0,c,s,a,l,u,h,d,g,L,I0,M0,k0]}class hr extends ee{constructor(t){super(),q0(this,t,Y3,Z3,j0,{lang:22,endpoint:23,session:24,clientstyling:21,clientstylingurl:25,translationurl:26,programid:0,loginevent:27,loginurl:28,currentinfo:1,giftimagesrc:2,isshowhistory:3,contentdirection:4,terms:5,gameoverlay:6},G3,[-1,-1])}get lang(){return this.$$.ctx[22]}set lang(t){this.$$set({lang:t}),T()}get endpoint(){return this.$$.ctx[23]}set endpoint(t){this.$$set({endpoint:t}),T()}get session(){return this.$$.ctx[24]}set session(t){this.$$set({session:t}),T()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),T()}get translationurl(){return this.$$.ctx[26]}set translationurl(t){this.$$set({translationurl:t}),T()}get programid(){return this.$$.ctx[0]}set programid(t){this.$$set({programid:t}),T()}get loginevent(){return this.$$.ctx[27]}set loginevent(t){this.$$set({loginevent:t}),T()}get loginurl(){return this.$$.ctx[28]}set loginurl(t){this.$$set({loginurl:t}),T()}get currentinfo(){return this.$$.ctx[1]}set currentinfo(t){this.$$set({currentinfo:t}),T()}get giftimagesrc(){return this.$$.ctx[2]}set giftimagesrc(t){this.$$set({giftimagesrc:t}),T()}get isshowhistory(){return this.$$.ctx[3]}set isshowhistory(t){this.$$set({isshowhistory:t}),T()}get contentdirection(){return this.$$.ctx[4]}set contentdirection(t){this.$$set({contentdirection:t}),T()}get terms(){return this.$$.ctx[5]}set terms(t){this.$$set({terms:t}),T()}get gameoverlay(){return this.$$.ctx[6]}set gameoverlay(t){this.$$set({gameoverlay:t}),T()}}$0(hr,{lang:{},endpoint:{},session:{},clientstyling:{},clientstylingurl:{},translationurl:{},programid:{},loginevent:{},loginurl:{},currentinfo:{},giftimagesrc:{},isshowhistory:{},contentdirection:{},terms:{},gameoverlay:{type:"Boolean"}},[],[],!0);exports.default=hr;
|