@everymatrix/casino-search 1.9.1 → 1.9.2
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/dist/casino-search.js +113 -67
- package/dist/casino-search.js.map +1 -1
- package/package.json +3 -4
package/dist/casino-search.js
CHANGED
|
@@ -58,7 +58,9 @@
|
|
|
58
58
|
target.insertBefore(node, anchor || null);
|
|
59
59
|
}
|
|
60
60
|
function detach(node) {
|
|
61
|
-
node.parentNode
|
|
61
|
+
if (node.parentNode) {
|
|
62
|
+
node.parentNode.removeChild(node);
|
|
63
|
+
}
|
|
62
64
|
}
|
|
63
65
|
function destroy_each(iterations, detaching) {
|
|
64
66
|
for (let i = 0; i < iterations.length; i += 1) {
|
|
@@ -131,16 +133,17 @@
|
|
|
131
133
|
if (!this.e) {
|
|
132
134
|
if (this.is_svg)
|
|
133
135
|
this.e = svg_element(target.nodeName);
|
|
136
|
+
/** #7364 target for <template> may be provided as #document-fragment(11) */
|
|
134
137
|
else
|
|
135
|
-
this.e = element(target.nodeName);
|
|
136
|
-
this.t = target;
|
|
138
|
+
this.e = element((target.nodeType === 11 ? 'TEMPLATE' : target.nodeName));
|
|
139
|
+
this.t = target.tagName !== 'TEMPLATE' ? target : target.content;
|
|
137
140
|
this.c(html);
|
|
138
141
|
}
|
|
139
142
|
this.i(anchor);
|
|
140
143
|
}
|
|
141
144
|
h(html) {
|
|
142
145
|
this.e.innerHTML = html;
|
|
143
|
-
this.n = Array.from(this.e.childNodes);
|
|
146
|
+
this.n = Array.from(this.e.nodeName === 'TEMPLATE' ? this.e.content.childNodes : this.e.childNodes);
|
|
144
147
|
}
|
|
145
148
|
i(anchor) {
|
|
146
149
|
for (let i = 0; i < this.n.length; i += 1) {
|
|
@@ -173,15 +176,24 @@
|
|
|
173
176
|
throw new Error('Function called outside component initialization');
|
|
174
177
|
return current_component;
|
|
175
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
|
|
181
|
+
* It must be called during the component's initialisation (but doesn't need to live *inside* the component;
|
|
182
|
+
* it can be called from an external module).
|
|
183
|
+
*
|
|
184
|
+
* `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
|
|
185
|
+
*
|
|
186
|
+
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
187
|
+
*/
|
|
176
188
|
function onMount(fn) {
|
|
177
189
|
get_current_component().$$.on_mount.push(fn);
|
|
178
190
|
}
|
|
179
191
|
|
|
180
192
|
const dirty_components = [];
|
|
181
193
|
const binding_callbacks = [];
|
|
182
|
-
|
|
194
|
+
let render_callbacks = [];
|
|
183
195
|
const flush_callbacks = [];
|
|
184
|
-
const resolved_promise = Promise.resolve();
|
|
196
|
+
const resolved_promise = /* @__PURE__ */ Promise.resolve();
|
|
185
197
|
let update_scheduled = false;
|
|
186
198
|
function schedule_update() {
|
|
187
199
|
if (!update_scheduled) {
|
|
@@ -217,15 +229,29 @@
|
|
|
217
229
|
const seen_callbacks = new Set();
|
|
218
230
|
let flushidx = 0; // Do *not* move this inside the flush() function
|
|
219
231
|
function flush() {
|
|
232
|
+
// Do not reenter flush while dirty components are updated, as this can
|
|
233
|
+
// result in an infinite loop. Instead, let the inner flush handle it.
|
|
234
|
+
// Reentrancy is ok afterwards for bindings etc.
|
|
235
|
+
if (flushidx !== 0) {
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
220
238
|
const saved_component = current_component;
|
|
221
239
|
do {
|
|
222
240
|
// first, call beforeUpdate functions
|
|
223
241
|
// and update components
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
242
|
+
try {
|
|
243
|
+
while (flushidx < dirty_components.length) {
|
|
244
|
+
const component = dirty_components[flushidx];
|
|
245
|
+
flushidx++;
|
|
246
|
+
set_current_component(component);
|
|
247
|
+
update(component.$$);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
catch (e) {
|
|
251
|
+
// reset dirty state to not end up in a deadlocked state and then rethrow
|
|
252
|
+
dirty_components.length = 0;
|
|
253
|
+
flushidx = 0;
|
|
254
|
+
throw e;
|
|
229
255
|
}
|
|
230
256
|
set_current_component(null);
|
|
231
257
|
dirty_components.length = 0;
|
|
@@ -262,6 +288,16 @@
|
|
|
262
288
|
$$.after_update.forEach(add_render_callback);
|
|
263
289
|
}
|
|
264
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
293
|
+
*/
|
|
294
|
+
function flush_render_callbacks(fns) {
|
|
295
|
+
const filtered = [];
|
|
296
|
+
const targets = [];
|
|
297
|
+
render_callbacks.forEach((c) => fns.indexOf(c) === -1 ? filtered.push(c) : targets.push(c));
|
|
298
|
+
targets.forEach((c) => c());
|
|
299
|
+
render_callbacks = filtered;
|
|
300
|
+
}
|
|
265
301
|
const outroing = new Set();
|
|
266
302
|
function transition_in(block, local) {
|
|
267
303
|
if (block && block.i) {
|
|
@@ -276,14 +312,17 @@
|
|
|
276
312
|
? globalThis
|
|
277
313
|
: global);
|
|
278
314
|
function mount_component(component, target, anchor, customElement) {
|
|
279
|
-
const { fragment,
|
|
315
|
+
const { fragment, after_update } = component.$$;
|
|
280
316
|
fragment && fragment.m(target, anchor);
|
|
281
317
|
if (!customElement) {
|
|
282
318
|
// onMount happens before the initial afterUpdate
|
|
283
319
|
add_render_callback(() => {
|
|
284
|
-
const new_on_destroy = on_mount.map(run).filter(is_function);
|
|
285
|
-
if
|
|
286
|
-
|
|
320
|
+
const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
|
|
321
|
+
// if the component was destroyed immediately
|
|
322
|
+
// it will update the `$$.on_destroy` reference to `null`.
|
|
323
|
+
// the destructured on_destroy may still reference to the old array
|
|
324
|
+
if (component.$$.on_destroy) {
|
|
325
|
+
component.$$.on_destroy.push(...new_on_destroy);
|
|
287
326
|
}
|
|
288
327
|
else {
|
|
289
328
|
// Edge case - component was destroyed immediately,
|
|
@@ -298,6 +337,7 @@
|
|
|
298
337
|
function destroy_component(component, detaching) {
|
|
299
338
|
const $$ = component.$$;
|
|
300
339
|
if ($$.fragment !== null) {
|
|
340
|
+
flush_render_callbacks($$.after_update);
|
|
301
341
|
run_all($$.on_destroy);
|
|
302
342
|
$$.fragment && $$.fragment.d(detaching);
|
|
303
343
|
// TODO null out other refs, including component.$$ (but need to
|
|
@@ -319,7 +359,7 @@
|
|
|
319
359
|
set_current_component(component);
|
|
320
360
|
const $$ = component.$$ = {
|
|
321
361
|
fragment: null,
|
|
322
|
-
ctx:
|
|
362
|
+
ctx: [],
|
|
323
363
|
// state
|
|
324
364
|
props,
|
|
325
365
|
update: noop$1,
|
|
@@ -403,6 +443,9 @@
|
|
|
403
443
|
}
|
|
404
444
|
$on(type, callback) {
|
|
405
445
|
// TODO should this delegate to addEventListener?
|
|
446
|
+
if (!is_function(callback)) {
|
|
447
|
+
return noop$1;
|
|
448
|
+
}
|
|
406
449
|
const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));
|
|
407
450
|
callbacks.push(callback);
|
|
408
451
|
return () => {
|
|
@@ -422,7 +465,7 @@
|
|
|
422
465
|
}
|
|
423
466
|
|
|
424
467
|
function dispatch_dev(type, detail) {
|
|
425
|
-
document.dispatchEvent(custom_event(type, Object.assign({ version: '3.
|
|
468
|
+
document.dispatchEvent(custom_event(type, Object.assign({ version: '3.58.0' }, detail), { bubbles: true }));
|
|
426
469
|
}
|
|
427
470
|
function append_dev(target, node) {
|
|
428
471
|
dispatch_dev('SvelteDOMInsert', { target, node });
|
|
@@ -436,12 +479,14 @@
|
|
|
436
479
|
dispatch_dev('SvelteDOMRemove', { node });
|
|
437
480
|
detach(node);
|
|
438
481
|
}
|
|
439
|
-
function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {
|
|
482
|
+
function listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation, has_stop_immediate_propagation) {
|
|
440
483
|
const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];
|
|
441
484
|
if (has_prevent_default)
|
|
442
485
|
modifiers.push('preventDefault');
|
|
443
486
|
if (has_stop_propagation)
|
|
444
487
|
modifiers.push('stopPropagation');
|
|
488
|
+
if (has_stop_immediate_propagation)
|
|
489
|
+
modifiers.push('stopImmediatePropagation');
|
|
445
490
|
dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });
|
|
446
491
|
const dispose = listen(node, event, handler, options);
|
|
447
492
|
return () => {
|
|
@@ -458,7 +503,7 @@
|
|
|
458
503
|
}
|
|
459
504
|
function set_data_dev(text, data) {
|
|
460
505
|
data = '' + data;
|
|
461
|
-
if (text.
|
|
506
|
+
if (text.data === data)
|
|
462
507
|
return;
|
|
463
508
|
dispatch_dev('SvelteDOMSetData', { node: text, data });
|
|
464
509
|
text.data = data;
|
|
@@ -529,7 +574,7 @@
|
|
|
529
574
|
run(value);
|
|
530
575
|
return () => {
|
|
531
576
|
subscribers.delete(subscriber);
|
|
532
|
-
if (subscribers.size === 0) {
|
|
577
|
+
if (subscribers.size === 0 && stop) {
|
|
533
578
|
stop();
|
|
534
579
|
stop = null;
|
|
535
580
|
}
|
|
@@ -544,7 +589,7 @@
|
|
|
544
589
|
: stores;
|
|
545
590
|
const auto = fn.length < 2;
|
|
546
591
|
return readable(initial_value, (set) => {
|
|
547
|
-
let
|
|
592
|
+
let started = false;
|
|
548
593
|
const values = [];
|
|
549
594
|
let pending = 0;
|
|
550
595
|
let cleanup = noop$1;
|
|
@@ -564,17 +609,21 @@
|
|
|
564
609
|
const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {
|
|
565
610
|
values[i] = value;
|
|
566
611
|
pending &= ~(1 << i);
|
|
567
|
-
if (
|
|
612
|
+
if (started) {
|
|
568
613
|
sync();
|
|
569
614
|
}
|
|
570
615
|
}, () => {
|
|
571
616
|
pending |= (1 << i);
|
|
572
617
|
}));
|
|
573
|
-
|
|
618
|
+
started = true;
|
|
574
619
|
sync();
|
|
575
620
|
return function stop() {
|
|
576
621
|
run_all(unsubscribers);
|
|
577
622
|
cleanup();
|
|
623
|
+
// We need to set this to false because callbacks can still happen despite having unsubscribed:
|
|
624
|
+
// Callbacks might already be placed in the queue which doesn't know it should no longer
|
|
625
|
+
// invoke this derived store.
|
|
626
|
+
started = false;
|
|
578
627
|
};
|
|
579
628
|
});
|
|
580
629
|
}
|
|
@@ -631,7 +680,7 @@
|
|
|
631
680
|
function getEnumerableOwnPropertySymbols(target) {
|
|
632
681
|
return Object.getOwnPropertySymbols
|
|
633
682
|
? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
634
|
-
return
|
|
683
|
+
return Object.propertyIsEnumerable.call(target, symbol)
|
|
635
684
|
})
|
|
636
685
|
: []
|
|
637
686
|
}
|
|
@@ -4597,27 +4646,14 @@
|
|
|
4597
4646
|
*/
|
|
4598
4647
|
var o = IntlMessageFormat;
|
|
4599
4648
|
|
|
4600
|
-
const
|
|
4601
|
-
Copyright (c) Microsoft Corporation.
|
|
4602
|
-
|
|
4603
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4604
|
-
purpose with or without fee is hereby granted.
|
|
4605
|
-
|
|
4606
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
4607
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
4608
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
4609
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
4610
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
4611
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
4612
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
4613
|
-
***************************************************************************** */function v(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);}return t}const j={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function M(){return j}const k=writable(!1);let T;const L=writable(null);function x(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=M().fallbackLocale){const t=x(e);return n?[...new Set([...t,...x(n)])]:t}function P(){return null!=T?T:void 0}L.subscribe((e=>{T=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e);}));const D=Object.assign(Object.assign({},L),{set:e=>{if(e&&function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&h(e)){const{loadingDelay:n}=M();let t;return "undefined"!=typeof window&&null!=P()&&n?t=window.setTimeout((()=>k.set(!0)),n):k.set(!0),b(e).then((()=>{L.set(e);})).finally((()=>{clearTimeout(t),k.set(!1);}))}return L.set(e)}}),C=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},G=(e,n)=>{const{formats:t}=M();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},J=C((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(o=G("number",t)),new Intl.NumberFormat(n,o)})),U=C((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?o=G("date",t):0===Object.keys(o).length&&(o=G("date","short")),new Intl.DateTimeFormat(n,o)})),V=C((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?o=G("time",t):0===Object.keys(o).length&&(o=G("time","short")),new Intl.DateTimeFormat(n,o)})),_=(e={})=>{var{locale:n=P()}=e,t=v(e,["locale"]);return J(Object.assign({locale:n},t))},q=(e={})=>{var{locale:n=P()}=e,t=v(e,["locale"]);return U(Object.assign({locale:n},t))},B=(e={})=>{var{locale:n=P()}=e,t=v(e,["locale"]);return V(Object.assign({locale:n},t))},H=C(((e,n=P())=>new o(e,n,M().formats,{ignoreTag:M().ignoreTag}))),K=(e,n={})=>{var t,o,r,i;let a=n;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:u=P(),default:c}=a;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let m=l(e,u);if(m){if("string"!=typeof m)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof m}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),m}else m=null!==(i=null!==(r=null===(o=(t=M()).handleMissingMessage)||void 0===o?void 0:o.call(t,{locale:u,id:e,defaultValue:c}))&&void 0!==r?r:c)&&void 0!==i?i:e;if(!s)return m;let f=m;try{f=H(m,u).format(s);}catch(n){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return f},Q=(e,n)=>B(n).format(e),R=(e,n)=>q(n).format(e),W=(e,n)=>_(n).format(e),X=(e,n=P())=>l(e,n),Y=derived([D,s],(()=>K));derived([D],(()=>Q));derived([D],(()=>R));derived([D],(()=>W));derived([D,s],(()=>X));
|
|
4649
|
+
const i={},r=(e,n,t)=>t?(n in i||(i[n]={}),e in i[n]||(i[n][e]=t),t):t,s=(e,n)=>{if(null==n)return;if(n in i&&e in i[n])return i[n][e];const t=E(n);for(let o=0;o<t.length;o++){const i=c(t[o],e);if(i)return r(e,n,i)}};let l;const a=writable({});function u(e){return e in l}function c(e,n){if(!u(e))return null;const t=function(e){return l[e]||null}(e);return function(e,n){if(null==n)return;if(n in e)return e[n];const t=n.split(".");let o=e;for(let e=0;e<t.length;e++)if("object"==typeof o){if(e>0){const n=t.slice(e,t.length).join(".");if(n in o){o=o[n];break}}o=o[t[e]];}else o=void 0;return o}(t,n)}function m(e,...n){delete i[e],a.update((o=>(o[e]=cjs.all([o[e]||{},...n]),o)));}derived([a],(([e])=>Object.keys(e)));a.subscribe((e=>l=e));const d={};function g(e){return d[e]}function h(e){return null!=e&&E(e).some((e=>{var n;return null===(n=g(e))||void 0===n?void 0:n.size}))}function w(e,n){const t=Promise.all(n.map((n=>(function(e,n){d[e].delete(n),0===d[e].size&&delete d[e];}(e,n),n().then((e=>e.default||e))))));return t.then((n=>m(e,...n)))}const p={};function b(e){if(!h(e))return e in p?p[e]:Promise.resolve();const n=function(e){return E(e).map((e=>{const n=g(e);return [e,n?[...n]:[]]})).filter((([,e])=>e.length>0))}(e);return p[e]=Promise.all(n.map((([e,n])=>w(e,n)))).then((()=>{if(h(e))return b(e);delete p[e];})),p[e]}const M={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function j(){return M}const $=writable(!1);let k;const T=writable(null);function L(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=j().fallbackLocale){const t=L(e);return n?[...new Set([...t,...L(n)])]:t}function D(){return null!=k?k:void 0}T.subscribe((e=>{k=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e);}));const x={...T,set:e=>{if(e&&function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&h(e)){const{loadingDelay:n}=j();let t;return "undefined"!=typeof window&&null!=D()&&n?t=window.setTimeout((()=>$.set(!0)),n):$.set(!0),b(e).then((()=>{T.set(e);})).finally((()=>{clearTimeout(t),$.set(!1);}))}return T.set(e)}},Z=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},C=(e,n)=>{const{formats:t}=j();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},G=Z((({locale:e,format:n,...t})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(t=C("number",n)),new Intl.NumberFormat(e,t)})),J=Z((({locale:e,format:n,...t})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?t=C("date",n):0===Object.keys(t).length&&(t=C("date","short")),new Intl.DateTimeFormat(e,t)})),U=Z((({locale:e,format:n,...t})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?t=C("time",n):0===Object.keys(t).length&&(t=C("time","short")),new Intl.DateTimeFormat(e,t)})),V=({locale:e=D(),...n}={})=>G({locale:e,...n}),_=({locale:e=D(),...n}={})=>J({locale:e,...n}),q=({locale:e=D(),...n}={})=>U({locale:e,...n}),B=Z(((e,n=D())=>new o(e,n,j().formats,{ignoreTag:j().ignoreTag}))),H=(e,n={})=>{var t,o,i,r;let l=n;"object"==typeof e&&(l=e,e=l.id);const{values:a,locale:u=D(),default:c}=l;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let m=s(e,u);if(m){if("string"!=typeof m)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof m}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),m}else m=null!==(r=null!==(i=null===(o=(t=j()).handleMissingMessage)||void 0===o?void 0:o.call(t,{locale:u,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==r?r:e;if(!a)return m;let f=m;try{f=B(m,u).format(a);}catch(n){n instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return f},K=(e,n)=>q(n).format(e),Q=(e,n)=>_(n).format(e),R=(e,n)=>V(n).format(e),W=(e,n=D())=>s(e,n),X=derived([x,a],(()=>H));derived([x],(()=>K));derived([x],(()=>Q));derived([x],(()=>R));derived([x,a],(()=>W));
|
|
4614
4650
|
|
|
4615
4651
|
function addNewMessages$1(lang, dict) {
|
|
4616
4652
|
m(lang, dict);
|
|
4617
4653
|
}
|
|
4618
4654
|
|
|
4619
4655
|
function setLocale$1(_locale) {
|
|
4620
|
-
|
|
4656
|
+
x.set(_locale);
|
|
4621
4657
|
}
|
|
4622
4658
|
|
|
4623
4659
|
const Translations = {
|
|
@@ -5868,7 +5904,7 @@
|
|
|
5868
5904
|
var partialObserver;
|
|
5869
5905
|
if (isFunction(observerOrNext) || !observerOrNext) {
|
|
5870
5906
|
partialObserver = {
|
|
5871
|
-
next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined,
|
|
5907
|
+
next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),
|
|
5872
5908
|
error: error !== null && error !== void 0 ? error : undefined,
|
|
5873
5909
|
complete: complete !== null && complete !== void 0 ? complete : undefined,
|
|
5874
5910
|
};
|
|
@@ -8753,7 +8789,7 @@
|
|
|
8753
8789
|
function preprocessRFC2822(s) {
|
|
8754
8790
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
8755
8791
|
return s
|
|
8756
|
-
.replace(/\([^)]*\)|[\n\t]/g, ' ')
|
|
8792
|
+
.replace(/\([^()]*\)|[\n\t]/g, ' ')
|
|
8757
8793
|
.replace(/(\s\s+)/g, ' ')
|
|
8758
8794
|
.replace(/^\s\s*/, '')
|
|
8759
8795
|
.replace(/\s\s*$/, '');
|
|
@@ -11934,7 +11970,7 @@
|
|
|
11934
11970
|
|
|
11935
11971
|
//! moment.js
|
|
11936
11972
|
|
|
11937
|
-
hooks.version = '2.29.
|
|
11973
|
+
hooks.version = '2.29.4';
|
|
11938
11974
|
|
|
11939
11975
|
setHookCallback(createLocal);
|
|
11940
11976
|
|
|
@@ -11989,7 +12025,7 @@
|
|
|
11989
12025
|
}
|
|
11990
12026
|
|
|
11991
12027
|
function setLocale(_locale) {
|
|
11992
|
-
|
|
12028
|
+
x.set(_locale);
|
|
11993
12029
|
}
|
|
11994
12030
|
|
|
11995
12031
|
const GameThumbnailTranslations = {
|
|
@@ -12320,7 +12356,7 @@
|
|
|
12320
12356
|
'ZWD': 'Z$',
|
|
12321
12357
|
};
|
|
12322
12358
|
|
|
12323
|
-
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.
|
|
12359
|
+
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.58.0 */
|
|
12324
12360
|
|
|
12325
12361
|
const { Object: Object_1$1, console: console_1$1 } = globals;
|
|
12326
12362
|
const file$1 = "../casino-game-thumbnail/src/CasinoGameThumbnail.svelte";
|
|
@@ -12461,7 +12497,7 @@
|
|
|
12461
12497
|
append_dev(svg, path);
|
|
12462
12498
|
|
|
12463
12499
|
if (!mounted) {
|
|
12464
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[67], false, false, false);
|
|
12500
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[67], false, false, false, false);
|
|
12465
12501
|
mounted = true;
|
|
12466
12502
|
}
|
|
12467
12503
|
},
|
|
@@ -12505,7 +12541,7 @@
|
|
|
12505
12541
|
append_dev(button, t);
|
|
12506
12542
|
|
|
12507
12543
|
if (!mounted) {
|
|
12508
|
-
dispose = listen_dev(button, "click", /*click_handler_1*/ ctx[68], false, false, false);
|
|
12544
|
+
dispose = listen_dev(button, "click", /*click_handler_1*/ ctx[68], false, false, false, false);
|
|
12509
12545
|
mounted = true;
|
|
12510
12546
|
}
|
|
12511
12547
|
},
|
|
@@ -12612,7 +12648,7 @@
|
|
|
12612
12648
|
append_dev(svg, path);
|
|
12613
12649
|
|
|
12614
12650
|
if (!mounted) {
|
|
12615
|
-
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[69], false, false, false);
|
|
12651
|
+
dispose = listen_dev(div, "click", /*click_handler_2*/ ctx[69], false, false, false, false);
|
|
12616
12652
|
mounted = true;
|
|
12617
12653
|
}
|
|
12618
12654
|
},
|
|
@@ -12902,7 +12938,9 @@
|
|
|
12902
12938
|
append_dev(div1, div0);
|
|
12903
12939
|
|
|
12904
12940
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
12905
|
-
each_blocks[i]
|
|
12941
|
+
if (each_blocks[i]) {
|
|
12942
|
+
each_blocks[i].m(div0, null);
|
|
12943
|
+
}
|
|
12906
12944
|
}
|
|
12907
12945
|
|
|
12908
12946
|
/*div0_binding*/ ctx[70](div0);
|
|
@@ -13247,7 +13285,9 @@
|
|
|
13247
13285
|
},
|
|
13248
13286
|
m: function mount(target, anchor) {
|
|
13249
13287
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
13250
|
-
each_blocks[i]
|
|
13288
|
+
if (each_blocks[i]) {
|
|
13289
|
+
each_blocks[i].m(target, anchor);
|
|
13290
|
+
}
|
|
13251
13291
|
}
|
|
13252
13292
|
|
|
13253
13293
|
insert_dev(target, each_1_anchor, anchor);
|
|
@@ -13605,10 +13645,10 @@
|
|
|
13605
13645
|
|
|
13606
13646
|
if (!mounted) {
|
|
13607
13647
|
dispose = [
|
|
13608
|
-
listen_dev(div3, "mouseenter", /*gameHover*/ ctx[42], false, false, false),
|
|
13609
|
-
listen_dev(div3, "mouseleave", /*gameBlur*/ ctx[43], false, false, false),
|
|
13610
|
-
listen_dev(div3, "touchstart", /*gameTouch*/ ctx[40], { passive: true }, false, false),
|
|
13611
|
-
listen_dev(div3, "touchend", /*gameTouchEnd*/ ctx[41], { passive: true }, false, false)
|
|
13648
|
+
listen_dev(div3, "mouseenter", /*gameHover*/ ctx[42], false, false, false, false),
|
|
13649
|
+
listen_dev(div3, "mouseleave", /*gameBlur*/ ctx[43], false, false, false, false),
|
|
13650
|
+
listen_dev(div3, "touchstart", /*gameTouch*/ ctx[40], { passive: true }, false, false, false),
|
|
13651
|
+
listen_dev(div3, "touchend", /*gameTouchEnd*/ ctx[41], { passive: true }, false, false, false)
|
|
13612
13652
|
];
|
|
13613
13653
|
|
|
13614
13654
|
mounted = true;
|
|
@@ -13794,8 +13834,8 @@
|
|
|
13794
13834
|
|
|
13795
13835
|
function instance$1($$self, $$props, $$invalidate) {
|
|
13796
13836
|
let $_;
|
|
13797
|
-
validate_store(
|
|
13798
|
-
component_subscribe($$self,
|
|
13837
|
+
validate_store(X, '_');
|
|
13838
|
+
component_subscribe($$self, X, $$value => $$invalidate(36, $_ = $$value));
|
|
13799
13839
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
13800
13840
|
validate_slots('undefined', slots, []);
|
|
13801
13841
|
let { session = '' } = $$props;
|
|
@@ -14542,7 +14582,7 @@
|
|
|
14542
14582
|
tick,
|
|
14543
14583
|
isMobile,
|
|
14544
14584
|
getDevice,
|
|
14545
|
-
_:
|
|
14585
|
+
_: X,
|
|
14546
14586
|
addNewMessages,
|
|
14547
14587
|
setLocale,
|
|
14548
14588
|
GameThumbnailTranslations,
|
|
@@ -14858,7 +14898,9 @@
|
|
|
14858
14898
|
class CasinoGameThumbnail extends SvelteElement {
|
|
14859
14899
|
constructor(options) {
|
|
14860
14900
|
super();
|
|
14861
|
-
this.shadowRoot.innerHTML = `<style>: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;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}</style>`;
|
|
14901
|
+
const style = document.createElement('style');
|
|
14902
|
+
style.textContent = `: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;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}`;
|
|
14903
|
+
this.shadowRoot.appendChild(style);
|
|
14862
14904
|
|
|
14863
14905
|
init(
|
|
14864
14906
|
this,
|
|
@@ -15213,7 +15255,7 @@
|
|
|
15213
15255
|
|
|
15214
15256
|
!customElements.get('casino-game-thumbnail') && customElements.define('casino-game-thumbnail', CasinoGameThumbnail);
|
|
15215
15257
|
|
|
15216
|
-
/* src/CasinoSearch.svelte generated by Svelte v3.
|
|
15258
|
+
/* src/CasinoSearch.svelte generated by Svelte v3.58.0 */
|
|
15217
15259
|
|
|
15218
15260
|
const { Object: Object_1, console: console_1 } = globals;
|
|
15219
15261
|
const file = "src/CasinoSearch.svelte";
|
|
@@ -15520,7 +15562,9 @@
|
|
|
15520
15562
|
},
|
|
15521
15563
|
m: function mount(target, anchor) {
|
|
15522
15564
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
15523
|
-
each_blocks[i]
|
|
15565
|
+
if (each_blocks[i]) {
|
|
15566
|
+
each_blocks[i].m(target, anchor);
|
|
15567
|
+
}
|
|
15524
15568
|
}
|
|
15525
15569
|
|
|
15526
15570
|
insert_dev(target, each_1_anchor, anchor);
|
|
@@ -15894,9 +15938,9 @@
|
|
|
15894
15938
|
if (!mounted) {
|
|
15895
15939
|
dispose = [
|
|
15896
15940
|
listen_dev(input, "input", /*input_input_handler*/ ctx[29]),
|
|
15897
|
-
listen_dev(input, "focus", /*onFocus*/ ctx[20], false, false, false),
|
|
15898
|
-
listen_dev(span, "click", /*click_handler*/ ctx[31], false, false, false),
|
|
15899
|
-
listen_dev(small, "click", /*click_handler_1*/ ctx[32], false, false, false)
|
|
15941
|
+
listen_dev(input, "focus", /*onFocus*/ ctx[20], false, false, false, false),
|
|
15942
|
+
listen_dev(span, "click", /*click_handler*/ ctx[31], false, false, false, false),
|
|
15943
|
+
listen_dev(small, "click", /*click_handler_1*/ ctx[32], false, false, false, false)
|
|
15900
15944
|
];
|
|
15901
15945
|
|
|
15902
15946
|
mounted = true;
|
|
@@ -15907,7 +15951,7 @@
|
|
|
15907
15951
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
15908
15952
|
}
|
|
15909
15953
|
|
|
15910
|
-
if (dirty[0] & /*searchValue*/ 256) {
|
|
15954
|
+
if (dirty[0] & /*searchValue*/ 256 && input.value !== /*searchValue*/ ctx[8]) {
|
|
15911
15955
|
set_input_value(input, /*searchValue*/ ctx[8]);
|
|
15912
15956
|
}
|
|
15913
15957
|
|
|
@@ -15962,8 +16006,8 @@
|
|
|
15962
16006
|
|
|
15963
16007
|
function instance($$self, $$props, $$invalidate) {
|
|
15964
16008
|
let $_;
|
|
15965
|
-
validate_store(
|
|
15966
|
-
component_subscribe($$self,
|
|
16009
|
+
validate_store(X, '_');
|
|
16010
|
+
component_subscribe($$self, X, $$value => $$invalidate(17, $_ = $$value));
|
|
15967
16011
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
15968
16012
|
validate_slots('undefined', slots, []);
|
|
15969
16013
|
let { endpoint = '' } = $$props;
|
|
@@ -16300,7 +16344,7 @@
|
|
|
16300
16344
|
};
|
|
16301
16345
|
|
|
16302
16346
|
$$self.$capture_state = () => ({
|
|
16303
|
-
_:
|
|
16347
|
+
_: X,
|
|
16304
16348
|
addNewMessages: addNewMessages$1,
|
|
16305
16349
|
setLocale: setLocale$1,
|
|
16306
16350
|
Translations,
|
|
@@ -16477,7 +16521,9 @@
|
|
|
16477
16521
|
class CasinoSearch extends SvelteElement {
|
|
16478
16522
|
constructor(options) {
|
|
16479
16523
|
super();
|
|
16480
|
-
|
|
16524
|
+
const style = document.createElement('style');
|
|
16525
|
+
style.textContent = `: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;box-sizing:border-box}.CasinoSearch{margin:30px 16px}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid #cacaca;color:#717171;display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:#717171;font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid #d9d7d7}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchCancelButton{color:#717171;font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:#212121}.SearchResultsContainer{display:grid;gap:8px;grid-template-columns:repeat(auto-fill, minmax(min(167px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 167px);grid-auto-rows:167px;grid-auto-columns:167px;grid-auto-flow:row dense}.ResultsContainerError{text-align:center;width:300px;color:#717171;font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop.CasinoSearch{margin:30px 16px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}`;
|
|
16526
|
+
this.shadowRoot.appendChild(style);
|
|
16481
16527
|
|
|
16482
16528
|
init(
|
|
16483
16529
|
this,
|