@everymatrix/casino-tournaments-thumbnail-rule 1.0.16 → 1.0.69

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/index.html DELETED
@@ -1,38 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset='utf-8'>
5
- <meta name='viewport' content='width=device-width,initial-scale=1'>
6
-
7
- <title>
8
- casino-tournaments-thumbnail-rule
9
- </title>
10
- <link rel="stylesheet" href="public/reset.css">
11
- <script src='dist/casino-tournaments-thumbnail-rule.js'></script>
12
- </head>
13
-
14
- <body>
15
- <style>
16
- html,body { margin: 0; padding: 0; height: 100%; font-family: "Helvetica Neue", "Helvetica", sans-serif; }
17
- .header { display: flex; justify-content: center; align-items: center; padding: 10px 20px; margin-bottom: 20px; background: #42a3e2; box-shadow: 3px 4px 5px 0px rgba(0,0,0, .2); }
18
- .header__logo svg { height: 50px; width: 50px; margin-right: 5px; }
19
- .header__name { color: #fff; }
20
- .header__name span { margin-right: 10px; font-weight: bold; }
21
- .webcomponent { padding: 10px 20px; }
22
- </style>
23
- <header class="header">
24
- <div class="header__logo">
25
- <svg xmlns="http://www.w3.org/2000/svg" width="161" height="132" viewBox="0 0 161 132"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="#2A3B8F" offset="0%"/><stop stop-color="#29ABE2" offset="100%"/></linearGradient><linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="c"><stop stop-color="#B4D44E" offset="0%"/><stop stop-color="#E7F716" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="#166DA5" d="M160.6 65.9l-17.4 29.3-24.4-29.7 24.4-28.9z"/><path fill="#8FDB69" d="M141.3 100.2l-26.5-31.7-15.9 26.6 24.7 36.1z"/><path fill="#166DA5" d="M141 31.4l-26.2 31.8-15.9-26.6L123.6.9z"/><path fill="url(#a)" opacity=".95" d="M61.1 31.4H141L123.4.7H78.7z M114.8 63.3H159l-15.9-26.8H98.8"/><path fill="url(#c)" opacity=".95" d="M141.3 100.3H61l17.6 30.5h45z M114.8 68.4H159l-15.9 26.8H98.8"/><path fill="#010101" d="M78.6 130.8L41 65.8 79.1.8H37.9L.4 65.8l37.5 65z"/></g></svg>
26
- </div>
27
- <h1 class="header__name">
28
- <span>WEBCOMPONENT:</span> casino-tournaments-thumbnail-rule
29
- </h1>
30
- </header>
31
-
32
- <div class="webcomponent">
33
- <casino-tournaments-thumbnail-rule lang="el" tcurl="http://10.0.5.60:5050" betcount="100" starttime="2022-01-11" endtime="2022-02-22"
34
- products='{"casino": {"name":"Casino", "maxbet": 100}}'></casino-tournaments-thumbnail-rule>
35
- </div>
36
-
37
- </body>
38
- </html>
package/index.js DELETED
@@ -1 +0,0 @@
1
- import './dist/casino-tournaments-thumbnail-rule.js';
Binary file
package/public/reset.css DELETED
@@ -1,48 +0,0 @@
1
- /* http://meyerweb.com/eric/tools/css/reset/
2
- v2.0 | 20110126
3
- License: none (public domain)
4
- */
5
-
6
- html, body, div, span, applet, object, iframe,
7
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
- a, abbr, acronym, address, big, cite, code,
9
- del, dfn, em, img, ins, kbd, q, s, samp,
10
- small, strike, strong, sub, sup, tt, var,
11
- b, u, i, center,
12
- dl, dt, dd, ol, ul, li,
13
- fieldset, form, label, legend,
14
- table, caption, tbody, tfoot, thead, tr, th, td,
15
- article, aside, canvas, details, embed,
16
- figure, figcaption, footer, header, hgroup,
17
- menu, nav, output, ruby, section, summary,
18
- time, mark, audio, video {
19
- margin: 0;
20
- padding: 0;
21
- border: 0;
22
- font-size: 100%;
23
- font: inherit;
24
- vertical-align: baseline;
25
- }
26
- /* HTML5 display-role reset for older browsers */
27
- article, aside, details, figcaption, figure,
28
- footer, header, hgroup, menu, nav, section {
29
- display: block;
30
- }
31
- body {
32
- line-height: 1;
33
- }
34
- ol, ul {
35
- list-style: none;
36
- }
37
- blockquote, q {
38
- quotes: none;
39
- }
40
- blockquote:before, blockquote:after,
41
- q:before, q:after {
42
- content: '';
43
- content: none;
44
- }
45
- table {
46
- border-collapse: collapse;
47
- border-spacing: 0;
48
- }
package/rollup.config.js DELETED
@@ -1,61 +0,0 @@
1
- import svelte from 'rollup-plugin-svelte';
2
- import commonjs from '@rollup/plugin-commonjs';
3
- import resolve from '@rollup/plugin-node-resolve';
4
- import serve from 'rollup-plugin-dev-server';
5
- import livereload from 'rollup-plugin-livereload';
6
- import { terser } from 'rollup-plugin-terser';
7
- import sveltePreprocess from 'svelte-preprocess';
8
- import typescript from '@rollup/plugin-typescript';
9
- const production = process.env.NODE_ENV === 'production';
10
- const dev = process.env.NODE_ENV === 'development';
11
- import image from '@rollup/plugin-image';
12
-
13
- export default {
14
- input: 'src/index.ts',
15
- output: {
16
- sourcemap: true,
17
- format: 'umd',
18
- name: 'app',
19
- file: 'dist/casino-tournaments-thumbnail-rule.js'
20
- },
21
- plugins: [
22
- svelte({
23
- preprocess: sveltePreprocess(),
24
- compilerOptions: {
25
- // enable run-time checks when not in production
26
- customElement: true,
27
- dev: !production
28
- }
29
- }),
30
- image(),
31
- commonjs(),
32
- resolve({
33
- browser: true,
34
- dedupe: ['svelte']
35
- }),
36
- dev && serve({
37
- open: true,
38
- verbose: true,
39
- allowCrossOrigin: true,
40
- historyApiFallback: false,
41
- host: 'localhost',
42
- port: 5050,
43
- }),
44
- dev && livereload({ watch: ['', 'dist'] }),
45
- typescript({
46
- sourceMap: !production,
47
- inlineSources: !production,
48
- }),
49
- // If we're building for production (npm run build
50
- // instead of npm run dev), minify
51
- production &&
52
- terser({
53
- output: {
54
- comments: "all"
55
- },
56
- })
57
- ],
58
- watch: {
59
- clearScreen: false
60
- }
61
- };
@@ -1,228 +0,0 @@
1
- <svelte:options tag={null} />
2
- <script lang="typescript">
3
- import {onMount} from "svelte";
4
- import { isMobile, getDevice, checkSession } from 'rvhelper';
5
- import { _, addNewMessages, setLocale, setupI18n } from './i18n';
6
- import { TournamentsRulesTranslations } from './translations';
7
-
8
- import betCountSvg from './images/bet-count.svg';
9
- import trophySvg from './images/trophy.svg';
10
- import moneySendSvg from './images/money-send.svg';
11
- import clockSvg from './images/clock.svg';
12
- import vectorSvg from './images/vector.svg';
13
-
14
-
15
-
16
- export let lang:string='tr';
17
- export let scorecriterial:string = 'BetCount';
18
- export let betcount:number;
19
- export let starttime:string;
20
- export let endtime:string;
21
- export let tcurl:string;
22
- export let products:string='{}';
23
- export let translationUrl:string = '';
24
-
25
-
26
- let userAgent = window.navigator.userAgent;
27
- let casino:any;
28
- let sports:any;
29
- let noMinCasinoBet:boolean = false;
30
- let noMaxCasinoBet:boolean = false;
31
- let noMinSportsBet:boolean = false;
32
- let noMaxSportsBet:boolean = false;
33
- setupI18n({ withLocale: 'en', translations: {}});
34
-
35
- const setTranslationUrl = ():void => {
36
- let url:string = translationUrl;
37
-
38
- fetch(url).then((res:any) => res.json())
39
- .then((res) => {
40
- Object.keys(res).forEach((item:any):void => {
41
- addNewMessages(item, res[item]);
42
- });
43
- }).catch((err:any) => {
44
- console.log(err);
45
- });
46
- }
47
-
48
- Object.keys(TournamentsRulesTranslations).forEach((item:any) => {
49
- addNewMessages(item, TournamentsRulesTranslations[item]);
50
- });
51
-
52
- const resetProductMinMax= (product) =>{
53
- if(product.casino){
54
- casino = product.casino;
55
- noMinCasinoBet = (!casino.minbet && casino.minbet != 0);
56
- noMaxCasinoBet = (!casino.maxbet && casino.maxbet != 0);
57
- }else{
58
- noMinCasinoBet = true;
59
- noMaxCasinoBet = true;
60
- }
61
- if(product.sports){
62
- sports = product.sports;
63
- noMinSportsBet = (!sports.minbet && sports.minbet != 0);
64
- noMaxSportsBet = (!sports.maxbet && sports.maxbet != 0);
65
- }else{
66
- noMinSportsBet = true;
67
- noMaxSportsBet = true;
68
- }
69
- }
70
- const parseProductInfo = () =>{
71
- if(!products) return;
72
- let productsInfo;
73
- if(typeof products == 'string'){
74
- productsInfo = JSON.parse(products)
75
- }else{
76
- productsInfo = products;
77
- }
78
- resetProductMinMax(productsInfo);
79
- }
80
-
81
- const setActiveLanguage = () => {
82
- setLocale(lang);
83
- }
84
- onMount(()=>{
85
- return {
86
- }
87
- })
88
- $: lang && setActiveLanguage();
89
- $: products && parseProductInfo();
90
- $: translationUrl && setTranslationUrl();
91
- </script>
92
-
93
-
94
- <div class="casino-tournaments-thumbnail-rule" part="casino-tournaments-thumbnail-rule">
95
- <div class="RulesRow" part="rule">
96
- <div class="RuleIcon" part="RuleIcon">
97
- <img src="{trophySvg}"/>
98
- </div>
99
- <div class="RuleTxt" part="RuleTxt">
100
- {#if scorecriterial == 'BetCount'}{@html $_('tournamentsRule.scoreCriteria.mostRounds')}{/if}
101
- {#if scorecriterial == 'WinStakeRatio'}{@html $_('tournamentsRule.scoreCriteria.winStateRatio')}{/if}
102
- {#if scorecriterial == 'MaxWinStakeRatio'}{@html $_('tournamentsRule.scoreCriteria.maxWinStateRatio')}{/if}
103
- </div>
104
- </div>
105
- <div class="RulesRow" part="rule">
106
- <div class="RuleIcon" part="RuleIcon">
107
- <img src="{betCountSvg}"/>
108
- </div>
109
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.miniBetCount',{values: {betCount: betcount }})}</div>
110
- </div>
111
- <div class="RulesRow" part="rule">
112
- <div class="RuleIcon" part="RuleIcon">
113
- <img src="{clockSvg}" />
114
- </div>
115
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.timePeriod',{values: {startTime: starttime, endTime: endtime}})}</div>
116
- </div>
117
- <div class="RulesRow" part="rule">
118
- <div class="RuleIcon" part="RuleIcon">
119
- <img src="{vectorSvg}" />
120
- </div>
121
- <div class="RuleTxt" part="RuleTxt">{@html $_('tournamentsRule.terms',{values: {tcUrl: tcurl}})}</div>
122
- </div>
123
- {#if casino}
124
- <div class="RulesRow" part="rule">
125
- <div class="RuleIcon" part="RuleIcon">
126
- <img src="{moneySendSvg}"/>
127
- </div>
128
- {#if noMinCasinoBet && noMaxCasinoBet}
129
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productNoLimitsBet',{values: {productName: casino.name}})}</div>
130
- {:else if noMinCasinoBet}
131
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productMaxBet', {
132
- values: {
133
- productName: casino.name,
134
- maxBet: casino.maxbet
135
- }
136
- })}</div>
137
- {:else if noMaxCasinoBet}
138
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productMinBet', {
139
- values: {
140
- productName: casino.name,
141
- minBet: casino.minbet,
142
- }
143
- })}</div>
144
- {:else}
145
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productMinMaxBet', {
146
- values: {
147
- productName: casino.name,
148
- minBet: casino.minbet,
149
- maxBet: casino.maxbet
150
- }
151
- })}</div>
152
- {/if}
153
- </div>
154
- {/if}
155
- <span type="hidden" href="{{tcurl}}"></span>
156
- {#if sports}
157
- <div class="RulesRow" part="rule">
158
- <div class="RuleIcon" part="RuleIcon">
159
- <img src="{moneySendSvg}"/>
160
- </div>
161
- {#if noMinSportsBet && noMaxSportsBet}
162
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productNoLimitsBet',{values: {productName: sports.name}})}</div>
163
- {:else if noMinSportsBet}
164
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productMaxBet', {
165
- values: {
166
- productName: sports.name,
167
- maxBet: sports.maxbet
168
- }
169
- })}</div>
170
- {:else if noMaxSportsBet}
171
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productMinBet', {
172
- values: {
173
- productName: sports.name,
174
- minBet: sports.minbet,
175
- }
176
- })}</div>
177
- {:else}
178
- <div class="RuleTxt" part="RuleTxt">{$_('tournamentsRule.productMinMaxBet', {
179
- values: {
180
- productName: sports.name,
181
- minBet: sports.minbet,
182
- maxBet: sports.maxbet
183
- }
184
- })}</div>
185
- {/if}
186
- </div>
187
- {/if}
188
- </div>
189
-
190
-
191
- <style lang="scss">
192
- :host {
193
- font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
194
- }
195
-
196
- *,
197
- *::before,
198
- *::after {
199
- margin: 0;
200
- padding: 0;
201
- list-style: none;
202
- text-decoration: none;
203
- outline: none;
204
- box-sizing: border-box;
205
- }
206
-
207
- .casino-tournaments-thumbnail-rule {
208
- color: #fff;
209
-
210
- font-size: 12px;
211
- line-height: 15px;
212
- letter-spacing: -0.177807px;
213
-
214
- color: #B5B5B5;
215
-
216
-
217
- .RulesRow{padding: 10px;display: flex;
218
- .RuleTxt{
219
- padding: 3px 5px;
220
- a {color: #ff8364; cursor: pointer}
221
- }
222
- border-bottom: 1px solid #424242;
223
-
224
- }
225
- .RuleIcon{width: 38px; height: 30px;}
226
- }
227
-
228
- </style>
package/src/i18n.js DELETED
@@ -1,27 +0,0 @@
1
- import {
2
- dictionary,
3
- locale,
4
- addMessages,
5
- _
6
- } from 'svelte-i18n';
7
-
8
- function setupI18n({ withLocale: _locale, translations }) {
9
- locale.subscribe((data) => {
10
- if (data == null) {
11
- dictionary.set(translations);
12
- locale.set(_locale);
13
- }
14
- }); // maybe we will need this to make sure that the i18n is set up only once
15
- /*dictionary.set(translations);
16
- locale.set(_locale);*/
17
- }
18
-
19
- function addNewMessages(lang, dict) {
20
- addMessages(lang, dict);
21
- }
22
-
23
- function setLocale(_locale) {
24
- locale.set(_locale);
25
- }
26
-
27
- export { _, setupI18n, addNewMessages, setLocale };
@@ -1,26 +0,0 @@
1
- <svg width="35" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_2591_521)">
3
- <path d="M22.3588 20.1363C22.3601 20.7949 22.1782 21.4408 21.8334 22.0019C21.6456 22.3247 21.4036 22.6127 21.1179 22.8533C20.4473 23.4391 19.5846 23.7574 18.6942 23.7474C17.8037 23.7373 16.9482 23.3997 16.2909 22.7989C16.0353 22.567 15.8156 22.2984 15.6389 22.0019C15.3424 21.5116 15.1664 20.958 15.1255 20.3865C15.0845 19.815 15.1799 19.2419 15.4034 18.7144C15.6399 18.1566 16.0124 17.667 16.487 17.2905C16.9617 16.9139 17.5234 16.6623 18.1204 16.5589C18.3103 16.5455 18.5009 16.5455 18.6908 16.5589C19.6516 16.5589 20.573 16.9406 21.2524 17.62C21.9318 18.2994 22.3135 19.2208 22.3135 20.1816L22.3588 20.1363Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M17.3242 20.1371L18.2299 21.0428L20.1591 19.2314" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M22.278 6.46076C21.2037 4.5943 19.6194 3.073 17.711 2.0753C15.8025 1.0776 13.6493 0.644982 11.5036 0.828135C9.35785 1.01129 7.30885 1.8026 5.59709 3.10931C3.88533 4.41603 2.5817 6.1839 1.83935 8.20542C1.09701 10.2269 0.9467 12.4182 1.40598 14.5222C1.86526 16.6261 2.91505 18.5555 4.43229 20.0838C5.94953 21.6121 7.87136 22.6759 9.97194 23.1504C12.0725 23.6249 14.2648 23.4903 16.2917 22.7627C16.0361 22.5307 15.8163 22.2621 15.6396 21.9657C15.3432 21.4754 15.1671 20.9217 15.1262 20.3502C15.0853 19.7788 15.1806 19.2057 15.4041 18.6781C14.4907 19.0911 13.4995 19.3042 12.497 19.3031C11.2245 19.3008 9.97506 18.9635 8.87436 18.325C7.77533 17.6908 6.86538 16.7747 6.23875 15.6714V15.6714C5.33468 14.0218 5.11294 12.0836 5.62119 10.2725C6.12945 8.46132 7.32717 6.92144 8.9575 5.98306C10.5878 5.04467 12.521 4.78249 14.3424 5.25274C16.1637 5.72298 17.7284 6.88816 18.7006 8.4985C18.7123 8.52746 18.7275 8.55493 18.746 8.58009C19.3629 9.66322 19.6875 10.8882 19.6875 12.1347C19.6875 13.3813 19.3629 14.6064 18.746 15.6895C18.5748 15.9855 18.384 16.2699 18.1753 16.5408C18.3652 16.5273 18.556 16.5273 18.746 16.5408C19.3961 16.5406 20.0342 16.7154 20.5936 17.0469C21.1529 17.3783 21.6128 17.8543 21.9249 18.4246C23.1544 16.5691 23.8097 14.3923 23.8087 12.1665C23.8164 10.1621 23.2878 8.19215 22.278 6.46076V6.46076Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M12.4785 0.819336V4.94915" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
7
- <path d="M18.1391 2.32227L16.0742 5.89962" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
8
- <path d="M22.2866 6.46094L18.7002 8.52584" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
9
- <path d="M19.6875 12.1035L23.7992 12.1216" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
10
- <path d="M22.2775 17.7729L18.7363 15.708" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
11
- <path d="M12.4966 19.3398L12.4785 23.4153" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
12
- <path d="M8.883 18.3613L6.82715 21.8843" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
13
- <path d="M6.24745 15.708L2.69727 17.7276" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
14
- <path d="M5.30577 12.0946L1.20312 12.0674" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
15
- <path d="M6.30214 8.49903L2.75195 6.41602" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
16
- <path d="M6.90918 2.29492L8.94692 5.89039" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
17
- <path d="M9.7086 10.4202H8.7206L7.74805 11.0146V11.9254L8.61254 11.4082H8.6357V14.3722H9.7086V10.4202Z" fill="white"/>
18
- <path d="M11.7885 14.4803C12.8633 14.4822 13.531 13.7123 13.5329 12.4039C13.5348 11.1033 12.8633 10.3662 11.7885 10.3662C10.7117 10.3662 10.0479 11.0995 10.044 12.4039C10.0402 13.7065 10.7117 14.4783 11.7885 14.4803ZM11.7885 13.6081C11.418 13.6081 11.1517 13.2356 11.1555 12.4039C11.1594 11.5916 11.418 11.2307 11.7885 11.2307C12.159 11.2307 12.4195 11.5916 12.4214 12.4039C12.4233 13.2356 12.159 13.6081 11.7885 13.6081Z" fill="white"/>
19
- <path d="M15.305 14.4803C16.3798 14.4822 17.0475 13.7123 17.0494 12.4039C17.0513 11.1033 16.3798 10.3662 15.305 10.3662C14.2282 10.3662 13.5644 11.0995 13.5605 12.4039C13.5567 13.7065 14.2282 14.4783 15.305 14.4803ZM15.305 13.6081C14.9345 13.6081 14.6682 13.2356 14.672 12.4039C14.6759 11.5916 14.9345 11.2307 15.305 11.2307C15.6755 11.2307 15.936 11.5916 15.9379 12.4039C15.9398 13.2356 15.6755 13.6081 15.305 13.6081Z" fill="white"/>
20
- </g>
21
- <defs>
22
- <clipPath id="clip0_2591_521">
23
- <rect width="24" height="24.2989" fill="white" transform="translate(0.478516 0.139648)"/>
24
- </clipPath>
25
- </defs>
26
- </svg>
@@ -1,7 +0,0 @@
1
- <svg width="35" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M9.5 13.7502C9.5 14.7202 10.25 15.5002 11.17 15.5002H13.05C13.85 15.5002 14.5 14.8202 14.5 13.9702C14.5 13.0602 14.1 12.7302 13.51 12.5202L10.5 11.4702C9.91 11.2602 9.51001 10.9402 9.51001 10.0202C9.51001 9.18023 10.16 8.49023 10.96 8.49023H12.84C13.76 8.49023 14.51 9.27023 14.51 10.2402" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M12 7.5V16.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M22 6V2H18" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M17 7L22 2" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7
- </svg>
@@ -1,4 +0,0 @@
1
- <svg width="35" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M15.7099 15.1798L12.6099 13.3298C12.0699 13.0098 11.6299 12.2398 11.6299 11.6098V7.50977" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- </svg>
@@ -1,7 +0,0 @@
1
- <svg width="35" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M9.5 13.7502C9.5 14.7202 10.25 15.5002 11.17 15.5002H13.05C13.85 15.5002 14.5 14.8202 14.5 13.9702C14.5 13.0602 14.1 12.7302 13.51 12.5202L10.5 11.4702C9.91 11.2602 9.51001 10.9402 9.51001 10.0202C9.51001 9.18023 10.16 8.49023 10.96 8.49023H12.84C13.76 8.49023 14.51 9.27023 14.51 10.2402" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M12 7.5V16.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M22 6V2H18" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M17 7L22 2" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7
- </svg>
@@ -1,7 +0,0 @@
1
- <svg width="35" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M19.6712 20.9658H5.22363V23.2166H19.6712V20.9658Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M13.9074 14.8942C16.0065 13.9267 19.3847 11.229 19.3847 4.9113C19.3847 3.38619 19.1879 2.20546 18.7246 1.30762H6.03995C5.58078 2.20546 5.37988 3.38619 5.37988 4.9113C5.37988 11.0978 8.76219 13.8611 10.8572 14.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M5.41677 3.39453H0.841439C0.841439 3.39453 -0.343394 9.90085 6.77789 10.9586" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M19.499 3.39453H24.0743C24.0743 3.39453 25.2592 9.90085 18.1338 10.9586" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M12.3862 3.97656L13.2718 6.31343L15.7685 6.43642L13.8211 8.00253L14.4771 10.4132L12.3862 9.04387L10.2953 10.4132L10.9472 8.00253L9.00391 6.43642L11.4966 6.31343L12.3862 3.97656Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
7
- </svg>
@@ -1,8 +0,0 @@
1
- <svg width="35" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M11 19.5H21" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
- <path d="M11 12.5H21" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M11 5.5H21" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M3 5.5L4 6.5L7 3.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M3 12.5L4 13.5L7 10.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
7
- <path d="M3 19.5L4 20.5L7 17.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
8
- </svg>
package/src/index.js DELETED
@@ -1,4 +0,0 @@
1
- import CasinoTournamentsThumbnailRule from './CasinoTournamentsThumbnailRule.svelte';
2
- !customElements.get('casino-tournaments-thumbnail-rule') && customElements.define('casino-tournaments-thumbnail-rule', CasinoTournamentsThumbnailRule);
3
- export default CasinoTournamentsThumbnailRule;
4
- //# sourceMappingURL=index.js.map
package/src/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,MAAM,yCAAyC,CAAC;AAErF,CAAC,cAAc,CAAC,GAAG,CAAC,mCAAmC,CAAC,IAAI,cAAc,CAAC,MAAM,CAAC,mCAAmC,EAAE,8BAA8B,CAAC,CAAC;AACvJ,eAAe,8BAA8B,CAAC"}
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- import CasinoTournamentsThumbnailRule from './CasinoTournamentsThumbnailRule.svelte';
2
-
3
- !customElements.get('casino-tournaments-thumbnail-rule') && customElements.define('casino-tournaments-thumbnail-rule', CasinoTournamentsThumbnailRule);
4
- export default CasinoTournamentsThumbnailRule;
@@ -1,130 +0,0 @@
1
- export const TournamentsRulesTranslations = {
2
- en: {
3
- tournamentsRule:{
4
- scoreCriteria:{
5
- mostRounds:`The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.`,
6
- winStateRatio: `The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.`,
7
- maxWinStateRatio: `The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score.`
8
- },
9
- miniBetCount:`Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least {betCount} rounds, otherwise the prize won’t be granted.`,
10
- timePeriod: `The tournament start {startTime} and ends {endTime}`,
11
- terms:`See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>`,
12
- productNoLimitsBet:`For {productName}, there are no minimum and maximum bet limits set.`,
13
- productMinMaxBet:`For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.`,
14
- productMinBet:`For {productName}, the minimum bet amount accepted is {minBet}.`,
15
- productMaxBet:`For {productName}, the maximum bet amount accepted is {maxBet}.`
16
- }
17
- },
18
- zh: {
19
- tournamentsRule:{
20
- scoreCriteria:{
21
- mostRounds:`本次比赛的得分标准是<b>最多轮次</b>。 每玩一局,玩家将获得 1 分。 拥有最多游戏回合数/下注数的玩家将获得最高分数和排名。`,
22
- winStateRatio: `本次比赛的得分标准是<b>胜率/状态率</b>。 分数将计算为合格回合和投注的赢/赌注比率的总和。 得分最高的玩家将赢得比赛。`,
23
- maxWinStateRatio: `本次比赛的得分标准是<b>最大获胜/状态比率</b>。 以最小赌注赢得最大胜利的玩家将赢得比赛(赌注 = 10 美元,获胜 = 5000 美元,得分为 500)。 只有更高的比率才会更新玩家的分数。`
24
- },
25
- miniBetCount:`最小投注数:{betCount}。 要获得奖品的资格,玩家必须至少玩 {betCount} 轮,否则将无法获得奖品。`,
26
- timePeriod: `比赛开始 {startTime} 并结束 {endTime}`,
27
- terms:`请参阅<a href="{tcUrl}" target="_blank">条款和条件。</>`,
28
- productNoLimitsBet:`对于 {productName},没有设置最小和最大赌注限制。`,
29
- productMinMaxBet:`对于 {productName},接受的最小赌注是 {minBet},接受的最大赌注是 {maxBet}。`,
30
- productMinBet:`对于 {productName},接受的最低投注金额为 {minBet}。`,
31
- productMaxBet:`对于 {productName},接受的最大投注额为 {maxBet}`
32
- }
33
- },
34
- fr: {
35
- tournamentsRule:{
36
- scoreCriteria:{
37
- mostRounds:`Le critère de score pour ce tournoi est <b>le plus de tours</b>. Pour chaque tour joué, le joueur recevra 1 point. Le joueur qui aura le plus grand nombre de tours joués / paris placés aura le score et le rang les plus élevés.`,
38
- winStateRatio: `Le critère de score pour ce tournoi est le <b>rapport victoires/état</b>. Le score sera calculé comme la somme des ratios gain/mise pour les tours et les paris qualifiés. Le joueur qui a obtenu le score le plus élevé remportera le tournoi.`,
39
- maxWinStateRatio: `Le critère de score pour ce tournoi est le <b>Ratio Max Win/State</b>. Le joueur qui a remporté le plus gros gain en plaçant le plus petit pari remportera le tournoi (pari = 10 USD, gain = 5000 USD, le score sera de 500). Seul un ratio plus élevé mettra à jour le score du joueur.`
40
- },
41
- miniBetCount:`Nombre de mises minimum: {betCount}. Pour être qualifié pour les prix, le joueur doit jouer au moins {betCount} tours, sinon le prix ne sera pas attribué.`,
42
- timePeriod: `Le tournoi commence {startTime} et se termine {endTime}`,
43
- terms:`Voir <a href="{tcUrl}" target="_blank">Conditions générales.</>`,
44
- productNoLimitsBet:`Pour {productName}, aucune limite de pari minimum et maximum n'est définie.`,
45
- productMinMaxBet:`Pour {productName}, le pari minimum accepté est {minBet} et le pari maximum accepté est {maxBet}.`,
46
- productMinBet:`Pour {productName}, le montant de pari minimum accepté est de {minBet}.`,
47
- productMaxBet:`Pour {productName}, le montant de pari maximum accepté est de {maxBet}`
48
- }
49
- },
50
- ro: {
51
- tournamentsRule:{
52
- scoreCriteria:{
53
- mostRounds: `Criteriul de punctaj pentru acest turneu este <b>Most Rounds</b>. Pentru fiecare rundă jucată jucătorul va primi 1 punct. Jucătorul care va avea cel mai mare număr de runde jucate / pariuri plasate va avea cel mai mare punctaj și poziție în clasament.`,
54
- winStateRatio: `Criteriul de punctaj pentru acest turneu este <b>Win/State Ratio</b>. Punctajul va fi calculat ca o sumă a rapoartelor de victorie/stagiu pentru rundele și pariurile calificate. Jucătorul care a obținut cel mai mare scor va câștiga turneul.`,
55
- maxWinStateRatio: `Criteriul de punctaj pentru acest turneu este <b>Max Win/State Ratio</b>. Jucătorul care a obținut cel mai mare câștig prin plasarea celui mai mic pariu va câștiga turneul (pariu = 10 EUR, câștig = 5000 EUR, scorul va fi 500). Doar o pondere mai mare va actualiza scorul jucătorului.`,
56
- },
57
- miniBetCount: `Numărul minim de pariuri: {betCount}. Pentru a se califica pentru premii, jucătorul trebuie să joace cel puțin {betCount} runde, în caz contrar premiul nu va fi acordat.`,
58
- timePeriod: `Turneul începe la {startTime} și se termină la {endTime}`,
59
- terms: `Vezi toate <a href="{tcUrl}" target="_blank">Termenele și Condițiile.</>`,
60
- productNoLimitsBet: `Pentru {productName}, nu este o limită minimă sau maximă pentru pariere.`,
61
- productMinMaxBet: `Pentru {productName},miza minimă a pariului trebuie să fie {minBet} și miza maximă trebuie să fie {maxBet}.`,
62
- productMinBet: `Pentru {productName},miza minimă acceptată este {minBet}.`,
63
- productMaxBet: `Pentru {productName},miza maximă acceptată este {minBet}.`,
64
- }
65
- },
66
- tr: {
67
- tournamentsRule:{
68
- scoreCriteria:{
69
- mostRounds:`TR-The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.`,
70
- winStateRatio: `The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.`,
71
- maxWinStateRatio: `The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score.`
72
- },
73
- miniBetCount:`Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least 100 rounds, otherwise the prize won’t be granted.`,
74
- timePeriod: `The tournament start {startTime} and ends {endTime}`,
75
- terms:`See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>`,
76
- productNoLimitsBet:`For {productName}, there are no minimum and maximum bet limits set.`,
77
- productMinMaxBet:`For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.`,
78
- productMinBet:`For {productName}, the minimum bet amount accepted is {minBet}.`,
79
- productMaxBet:`For {productName}, the maximum bet amount accepted is {maxBet}.`
80
- }
81
- },
82
- el: {
83
- tournamentsRule:{
84
- scoreCriteria:{
85
- mostRounds:`EL-The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.`,
86
- winStateRatio: `The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.`,
87
- maxWinStateRatio: `The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score.`
88
- },
89
- miniBetCount:`Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least 100 rounds, otherwise the prize won’t be granted.`,
90
- timePeriod: `The tournament start {startTime} and ends {endTime}`,
91
- terms:`See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>`,
92
- productNoLimitsBet:`For {productName}, there are no minimum and maximum bet limits set.`,
93
- productMinMaxBet:`For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.`,
94
- productMinBet:`For {productName}, the minimum bet amount accepted is {minBet}.`,
95
- productMaxBet:`For {productName}, the maximum bet amount accepted is {maxBet}.`
96
- }
97
- },
98
- es: {
99
- tournamentsRule:{
100
- scoreCriteria:{
101
- mostRounds: `El criterio de puntuación para este torneo es <b>Mayor número de rondas</b>. Por cada ronda jugada el jugador obtendrá 1 punto. El jugador que tenga el mayor número de rondas jugadas/apuestas realizadas tendrá la mayor puntuación y rango.`,
102
- winStateRatio: `El criterio de puntuación para este torneo es <b>Relación de victorias/apuestas</b>. La puntuación se calculará como una suma de los ratios de ganancia/apuesta de las rondas clasificadas y de las apuestas. El jugador que obtenga la mayor puntuación ganará el torneo.`,
103
- maxWinStateRatio: `El criterio de puntuación para este torneo es la <b>Relación Máxima de Ganancias/Estado</b>. El jugador que haya obtenido la mayor ganancia haciendo la menor apuesta ganará el torneo (apuesta = 10 EUR, ganancia = 5000 EUR, la puntuación será de 500). Sólo un ratio mayor actualizará la puntuación del jugador.`,
104
- },
105
- miniBetCount: `Cuenta mínima de apuestas: {betCount}. Para poder optar a los premios, el jugador tiene que jugar al menos {betCount} rondas, de lo contrario el premio no se concederá.`,
106
- timePeriod: `El torneo comienza {startTime} y termina {endTime}`,
107
- terms: `See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>`,
108
- productNoLimitsBet: `Para {productName}, no hay límites de apuesta mínimos y máximos establecidos.`,
109
- productMinMaxBet: `Para {productName}, la apuesta mínima aceptada es {minBet} y la apuesta máxima aceptada es {maxBet}.`,
110
- productMinBet: `Para {productName}, el importe mínimo de apuesta aceptado es {minBet}.`,
111
- productMaxBet: `Para {productName}, el importe máximo de apuesta aceptado es {maxBet}.`,
112
- }
113
- },
114
- hu: {
115
- tournamentsRule:{
116
- scoreCriteria:{
117
- mostRounds: `A verseny pontozási kritériumai <b>Legtöbb kör</b>. Minden lejátszott körért a játékos 1 pontot kap. Az kerül a rangsor elejére, akinek a legtöbb pontja van. `,
118
- winStateRatio: `A verseny pontozási kritériumai <b>Win/State Ratio</b>. A pontszám a számított körök és a fogadások nyerési /tét arányának összegeként kerül kiszámításra. A legtöbb pontszámot elért játékos nyer. `,
119
- maxWinStateRatio: `A verseny pontozási kritériuma <b>Max Win/State Ratio</b>. Az a játékos nyeri meg a versenyt, aki a legnagyobb nyereményt szerezhte a legkisebb tét megtételével (tét = 10 EUR, nyeremény = 5000 EUR, a pontszám 500). Csak a magasabb arány frissíti a játékos pontszámát. `,
120
- },
121
- miniBetCount: `Minimális tét: {betCount}. A nyeremény megszerzéséhez a játékosnak legalább {betCount} kört kell lejátszania, ellenkező esertben a nyeremény nem jár.`,
122
- timePeriod: `A verseny kezdődete {startTime} és vége {endTime}`,
123
- terms: `<a href="{tcUrl}" target="_blank">Szerződéses feltételek</>`,
124
- productNoLimitsBet: `A {productName} promócióban nincs minimális és maximálisan beállított tét.`,
125
- productMinMaxBet: `A {productName} promócióban elfogadott minimális tét {minBet} a maximális {maxBet}.`,
126
- productMinBet: ` {productName} esetében a mimimális tét összege {minBet}.`,
127
- productMaxBet: ` {productName} esetében ,a tét maximális összege {maxBet}.`,
128
- }
129
- },
130
- };