@everymatrix/casino-tournaments-slider-controller 0.0.367 → 0.0.369

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/README.md CHANGED
@@ -1,30 +1,30 @@
1
- # @everymatrix/casino-tournaments-slider-controller
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```
1
+ # @everymatrix/casino-tournaments-slider-controller
2
+ ---------
3
+
4
+ ## First step
5
+ ---------
6
+ ```
7
+ lerna bootstrap
8
+ ```
9
+
10
+ ## Run Widget
11
+ ---------
12
+ - starts server at port 5050
13
+ - has livereload
14
+
15
+ ```
16
+ yarn run dev
17
+ ```
18
+
19
+ ## Build Widget
20
+ ---------
21
+ ```
22
+ yarn run build
23
+ ```
24
+
25
+ ## Publishing widget
26
+ ---------
27
+ - Note add your user to the npm
28
+ ```
29
+ lerna publish
30
+ ```
@@ -709,13 +709,13 @@ r+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var o=e.withCredent
709
709
  // https://code.google.com/p/chromium/issues/detail?id=225654
710
710
  // ...
711
711
  G=M),n((function(){if(-1!==["Asia/Anadyr","Asia/Barnaul","Asia/Chita","Asia/Irkutsk","Asia/Kamchatka","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Magadan","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Tomsk","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Europe/Astrakhan","Europe/Kaliningrad","Europe/Kirov","Europe/Moscow","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Ulyanovsk","Europe/Volgograd","W-SU"].indexOf((new Intl.DateTimeFormat).resolvedOptions().timeZone)){var e=function(e){return""+e+""},t=["","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","","24 февраля "+e("Россия напала на Украину")+".","","Народ Украины всеобще мобилизован и готов защищать свою страну от вражеского вторжения. "+e("91% украинцев полностью поддерживает своего президента Владимира Зеленского")+" и его ответные действия на нападение России.","","Весь мир осудил необоснованное вторжение и решил ввести "+e("невиданные ранее санкции против России")+". С каждым новым днем они будут ощущаться все сильнее и сильнее среди мирных граждан.","","В то же время, "+e("российское правительство ограничивает доступ граждан к внешней информации")+", насаждая однобокие формулировки и версии происходящего.","","В качестве надежного источника информации загрузите безопасный браузер Tor:","",e("https://www.torproject.org/"),"","И посетите:","",e("https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/russian"),"","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","",e("Прекратите эту бессмысленную войну! Остановите военного преступника Путина!")+"","","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦",""].join("\n");alert(t),window.open("http://www.change.org/NetVoyne")}}),15e3),function(r){var n=function(e){e.EventSourcePolyfill=M,e.NativeEventSource=l,e.EventSource=G}(t);void 0!==n&&(e.exports=n)}()}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:ue:globalThis)}));
712
- /* ..\casino-tournaments-rank\src\CasinoTournamentsRank.svelte generated by Svelte v3.48.0 */
712
+ /* ../casino-tournaments-rank/src/CasinoTournamentsRank.svelte generated by Svelte v3.48.0 */
713
713
  function yn(t){let r,n,i;return{c(){r=f("span"),n=f("img"),y(n,"alt","user"),l(n.src,i="data:image/svg+xml,%3csvg width='17' height='17' aria-hidden='true' focusable='false' data-prefix='fas' data-icon='user' class='svg-inline--fa fa-user' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e %3cpath fill='currentColor' d='M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z'%3e %3c/path%3e%3c/svg%3e")||y(n,"src","data:image/svg+xml,%3csvg width='17' height='17' aria-hidden='true' focusable='false' data-prefix='fas' data-icon='user' class='svg-inline--fa fa-user' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e %3cpath fill='currentColor' d='M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z'%3e %3c/path%3e%3c/svg%3e"),y(r,"class","Icon UserIcon"),y(r,"part","Icon UserIcon")},m(e,t){h(e,r,t),u(r,n)},p:e,d(e){e&&p(r)}}}
714
714
  // (82:4) {#if showicon== 'true'}
715
715
  function vn(t){let r,n,i;return{c(){r=f("span"),n=f("img"),y(n,"alt","prize"),l(n.src,i="data:image/svg+xml,%3csvg width='17' height='17' aria-hidden='true' focusable='false' data-prefix='fas' data-icon='award' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' class='svg-inline--fa fa-award fa-w-12 fa-3x'%3e %3cpath fill='currentColor' d='M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z' class=''%3e %3c/path%3e%3c/svg%3e")||y(n,"src","data:image/svg+xml,%3csvg width='17' height='17' aria-hidden='true' focusable='false' data-prefix='fas' data-icon='award' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' class='svg-inline--fa fa-award fa-w-12 fa-3x'%3e %3cpath fill='currentColor' d='M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z' class=''%3e %3c/path%3e%3c/svg%3e"),y(r,"class","Icon PrizeIcon"),y(r,"part","Icon PrizeIcon")},m(e,t){h(e,r,t),u(r,n)},p:e,d(e){e&&p(r)}}}function bn(t){let r,n,i,o,s,a,c,d,A,v,b,w,B,T,I,C,H,R,S,k,O,L,x,P,N=/*overallrank*/(0==t[1]?"-":/*userrank*/t[0]?/*userrank*/t[0]:"-")+"",D=/*overallrank*/(0==t[1]?"-":/*overallrank*/t[1])+"",M=/*showicon*/"true"==t[4]&&yn(),U=/*showicon*/"true"==t[4]&&vn();return{c(){r=f("div"),n=f("div"),M&&M.c(),i=m(),o=f("span"),s=g(/*rankprefix*/t[3]),a=g(N),c=g("/"),d=g(D),A=m(),v=f("img"),B=m(),T=f("img"),H=m(),R=f("div"),U&&U.c(),S=m(),k=f("span"),O=g(/*prize*/t[2]),this.c=e,y(v,"part","Rank_Arror_UP"),y(v,"alt","Rank Up"),l(v.src,b="data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle cx='4.9999' cy='4.9999' r='4.9999' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1149)'%3e %3cline x1='4.93332' y1='4' x2='4.93332' y2='7.99992' stroke='%2359CA00' stroke-width='1.86663'/%3e %3cpath d='M4.99896 2L7.59699 4.99994H2.40094L4.99896 2Z' fill='%2359CA00'%3e %3c/path%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1149'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='translate(1.99902 2)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e")||y(v,"src","data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle cx='4.9999' cy='4.9999' r='4.9999' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1149)'%3e %3cline x1='4.93332' y1='4' x2='4.93332' y2='7.99992' stroke='%2359CA00' stroke-width='1.86663'/%3e %3cpath d='M4.99896 2L7.59699 4.99994H2.40094L4.99896 2Z' fill='%2359CA00'%3e %3c/path%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1149'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='translate(1.99902 2)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e"),y(v,"width","20"),y(v,"height","20"),y(v,"class",w="svg Arrow Up "+(/*userRankChanged*/t[6]&&/*isRankingUp*/t[7]?"Show":"Hidden")),y(T,"part","Rank_Arror_Down"),y(T,"alt","Rank Down"),l(T.src,I="data:image/svg+xml,%3csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle r='4.9999' transform='matrix(1 0 0 -1 4.9999 5.0001)' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1154)'%3e %3cline y1='-0.933315' x2='3.99992' y2='-0.933315' transform='matrix(0 -1 -1 0 4 6)' stroke='%23CA0000' stroke-width='1.86663'/%3e %3cpath d='M4.99896 8L7.59699 5.00006H2.40094L4.99896 8Z' fill='%23CA0000'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1154'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='matrix(1 0 0 -1 1.99902 8)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e")||y(T,"src","data:image/svg+xml,%3csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3ccircle r='4.9999' transform='matrix(1 0 0 -1 4.9999 5.0001)' fill='%23434647'/%3e %3cg clip-path='url(%23clip0_2591_1154)'%3e %3cline y1='-0.933315' x2='3.99992' y2='-0.933315' transform='matrix(0 -1 -1 0 4 6)' stroke='%23CA0000' stroke-width='1.86663'/%3e %3cpath d='M4.99896 8L7.59699 5.00006H2.40094L4.99896 8Z' fill='%23CA0000'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_2591_1154'%3e %3crect width='5.99988' height='5.99928' fill='white' transform='matrix(1 0 0 -1 1.99902 8)'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e"),y(T,"width","10"),y(T,"height","10"),y(T,"class",C="svg Arrow Down "+(/*userRankChanged*/t[6]&&!/*isRankingUp*/t[7]?"Show":"Hidden")),y(o,"class","RankInfo"),y(o,"part","RankText"),y(n,"class","RankSec"),y(n,"part","Rank"),y(k,"class","RankInfo UserPrize"),y(k,"part","PrizeText"),y(R,"class",L=/*displayin*/t[5]+" PrizeSec"),y(R,"part","Prize"),y(r,"class",x=/*displayin*/t[5]+" casino-tournaments-rank"),y(r,"part",P=/*displayin*/t[5]+" casino-tournaments-rank")},m(e,t){h(e,r,t),u(r,n),M&&M.m(n,null),u(n,i),u(n,o),u(o,s),u(o,a),u(o,c),u(o,d),u(o,A),u(o,v),u(o,B),u(o,T),u(r,H),u(r,R),U&&U.m(R,null),u(R,S),u(R,k),u(k,O)},p(e,[t]){/*showicon*/"true"==e[4]?M?M.p(e,t):(M=yn(),M.c(),M.m(n,i)):M&&(M.d(1),M=null),/*rankprefix*/8&t&&E(s,/*rankprefix*/e[3]),/*overallrank, userrank*/3&t&&N!==(N=/*overallrank*/(0==e[1]?"-":/*userrank*/e[0]?/*userrank*/e[0]:"-")+"")&&E(a,N),/*overallrank*/2&t&&D!==(D=/*overallrank*/(0==e[1]?"-":/*overallrank*/e[1])+"")&&E(d,D),/*userRankChanged, isRankingUp*/192&t&&w!==(w="svg Arrow Up "+(/*userRankChanged*/e[6]&&/*isRankingUp*/e[7]?"Show":"Hidden"))&&y(v,"class",w),/*userRankChanged, isRankingUp*/192&t&&C!==(C="svg Arrow Down "+(/*userRankChanged*/e[6]&&!/*isRankingUp*/e[7]?"Show":"Hidden"))&&y(T,"class",C),/*showicon*/"true"==e[4]?U?U.p(e,t):(U=vn(),U.c(),U.m(R,S)):U&&(U.d(1),U=null),/*prize*/4&t&&E(O,/*prize*/e[2]),/*displayin*/32&t&&L!==(L=/*displayin*/e[5]+" PrizeSec")&&y(R,"class",L),/*displayin*/32&t&&x!==(x=/*displayin*/e[5]+" casino-tournaments-rank")&&y(r,"class",x),/*displayin*/32&t&&P!==(P=/*displayin*/e[5]+" casino-tournaments-rank")&&y(r,"part",P)},i:e,o:e,d(e){e&&p(r),M&&M.d(),U&&U.d()}}}function En(e,t,r){let n,i,o,s,a,{rankprefix:l="#"}=t,{showicon:c="true"}=t,{tournamentid:u=""}=t,{overallrank:h="0"}=t,{userrank:p="0"}=t,{prize:f="PrizeName"}=t,{displayin:d="row"}=t,g=!1,m=!0;const A=e=>{e.data&&e.data.type==`TournamentRankInfo_${u}`&&y(e.data.rankInfo)},y=e=>{let t=e=>{r(0,p=e.rank),r(1,h=e.overallRank),r(2,f=e.prize)};if(!a)return a=n,void t(e);// first place bet, do not show change flag
716
716
  n&&(r(6,g=a!=e.rank),r(7,m=a>e.rank),i=(new Date).getTime(),//reset time1, make sure userrank change more than once during 5mins
717
717
  s=setTimeout((()=>{o=(new Date).getTime(),(o-i)/1e3>4&&r(6,g=!1),a=n}),5e3),t(e))};return T((()=>(n=null==p?void 0:parseInt(p),a=n,r(0,p=null==p?"-":p),window.addEventListener("message",A,!0),()=>{window.removeEventListener("message",A),clearTimeout(s)}))),e.$$set=e=>{"rankprefix"in e&&r(3,l=e.rankprefix),"showicon"in e&&r(4,c=e.showicon),"tournamentid"in e&&r(8,u=e.tournamentid),"overallrank"in e&&r(1,h=e.overallrank),"userrank"in e&&r(0,p=e.userrank),"prize"in e&&r(2,f=e.prize),"displayin"in e&&r(5,d=e.displayin)},e.$$.update=()=>{/*userrank*/1&e.$$.dirty&&(n=parseInt(p))},[p,h,f,l,c,d,g,m,u]}
718
- /* src\CasinoTournamentsSliderController.svelte generated by Svelte v3.48.0 */
718
+ /* src/CasinoTournamentsSliderController.svelte generated by Svelte v3.48.0 */
719
719
  function wn(e,t,r){const n=e.slice();return n[50]=t[r],n[52]=r,n}
720
720
  // (272:2) {#if (!tournamentList )}
721
721
  function Bn(e){let t,r,n,i,o,s,a,l,c=/*$_*/e[9]("tournamentsSlider.loading")+"";return{c(){var e,u,h,p;t=f("div"),r=f("div"),n=f("span"),i=g(c),o=m(),s=f("div"),s.innerHTML='<casino-tournaments-rank displayin="col" showicon="false" userrank="-" prize="-" overallrank="-" tournamentid=""></casino-tournaments-rank>',a=m(),l=f("div"),y(n,"part","TournamentInfo_Name_link"),y(r,"part","TournamentInfo_Name"),y(r,"class","name"),y(s,"part","TournamentInfo_Rank"),y(s,"class","rank"),y(l,"part","TournamentInfo_Points"),y(l,"class","circle"),y(t,"part","TournamentLoading"),y(t,"class","TournamentInfo SearchLoading"),e=t,u="height",null===(h="200px")?e.style.removeProperty(u):e.style.setProperty(u,h,p?"important":"")},m(e,c){h(e,t,c),u(t,r),u(r,n),u(n,i),u(t,o),u(t,s),u(t,a),u(t,l)},p(e,t){/*$_*/512&t[0]&&c!==(c=/*$_*/e[9]("tournamentsSlider.loading")+"")&&E(i,c)},d(e){e&&p(t)}}}