@everymatrix/casino-search 1.4.1 → 1.5.3
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 +70 -98
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +72 -56
package/dist/casino-search.js
CHANGED
|
@@ -14811,7 +14811,7 @@
|
|
|
14811
14811
|
class CasinoGameThumbnail extends SvelteElement {
|
|
14812
14812
|
constructor(options) {
|
|
14813
14813
|
super();
|
|
14814
|
-
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}</style>`;
|
|
14814
|
+
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: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}</style>`;
|
|
14815
14815
|
|
|
14816
14816
|
init(
|
|
14817
14817
|
this,
|
|
@@ -15177,7 +15177,7 @@
|
|
|
15177
15177
|
return child_ctx;
|
|
15178
15178
|
}
|
|
15179
15179
|
|
|
15180
|
-
// (
|
|
15180
|
+
// (286:4) {:else}
|
|
15181
15181
|
function create_else_block(ctx) {
|
|
15182
15182
|
let t0;
|
|
15183
15183
|
let div;
|
|
@@ -15203,7 +15203,7 @@
|
|
|
15203
15203
|
t1 = space();
|
|
15204
15204
|
if (if_block2) if_block2.c();
|
|
15205
15205
|
attr_dev(div, "class", div_class_value = "SearchResultsContainer " + (/*searchActive*/ ctx[13] == true ? '' : 'NotVisible'));
|
|
15206
|
-
add_location(div, file,
|
|
15206
|
+
add_location(div, file, 296, 6, 10386);
|
|
15207
15207
|
},
|
|
15208
15208
|
m: function mount(target, anchor) {
|
|
15209
15209
|
if (if_block0) if_block0.m(target, anchor);
|
|
@@ -15272,14 +15272,14 @@
|
|
|
15272
15272
|
block,
|
|
15273
15273
|
id: create_else_block.name,
|
|
15274
15274
|
type: "else",
|
|
15275
|
-
source: "(
|
|
15275
|
+
source: "(286:4) {:else}",
|
|
15276
15276
|
ctx
|
|
15277
15277
|
});
|
|
15278
15278
|
|
|
15279
15279
|
return block;
|
|
15280
15280
|
}
|
|
15281
15281
|
|
|
15282
|
-
// (
|
|
15282
|
+
// (284:4) {#if isLoading}
|
|
15283
15283
|
function create_if_block(ctx) {
|
|
15284
15284
|
let p;
|
|
15285
15285
|
let t_value = /*$_*/ ctx[17]('Translations.loading') + "";
|
|
@@ -15289,7 +15289,7 @@
|
|
|
15289
15289
|
c: function create() {
|
|
15290
15290
|
p = element("p");
|
|
15291
15291
|
t = text(t_value);
|
|
15292
|
-
add_location(p, file,
|
|
15292
|
+
add_location(p, file, 284, 6, 9878);
|
|
15293
15293
|
},
|
|
15294
15294
|
m: function mount(target, anchor) {
|
|
15295
15295
|
insert_dev(target, p, anchor);
|
|
@@ -15307,14 +15307,14 @@
|
|
|
15307
15307
|
block,
|
|
15308
15308
|
id: create_if_block.name,
|
|
15309
15309
|
type: "if",
|
|
15310
|
-
source: "(
|
|
15310
|
+
source: "(284:4) {#if isLoading}",
|
|
15311
15311
|
ctx
|
|
15312
15312
|
});
|
|
15313
15313
|
|
|
15314
15314
|
return block;
|
|
15315
15315
|
}
|
|
15316
15316
|
|
|
15317
|
-
// (
|
|
15317
|
+
// (294:40)
|
|
15318
15318
|
function create_if_block_5(ctx) {
|
|
15319
15319
|
let p;
|
|
15320
15320
|
let t_value = /*$_*/ ctx[17]('Translations.searchResult') + "";
|
|
@@ -15324,12 +15324,8 @@
|
|
|
15324
15324
|
c: function create() {
|
|
15325
15325
|
p = element("p");
|
|
15326
15326
|
t = text(t_value);
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
? 'SearchMessage'
|
|
15330
|
-
: 'SearchMessagePc');
|
|
15331
|
-
|
|
15332
|
-
add_location(p, file, 296, 8, 10598);
|
|
15327
|
+
attr_dev(p, "class", "SearchMessage");
|
|
15328
|
+
add_location(p, file, 294, 8, 10304);
|
|
15333
15329
|
},
|
|
15334
15330
|
m: function mount(target, anchor) {
|
|
15335
15331
|
insert_dev(target, p, anchor);
|
|
@@ -15347,14 +15343,14 @@
|
|
|
15347
15343
|
block,
|
|
15348
15344
|
id: create_if_block_5.name,
|
|
15349
15345
|
type: "if",
|
|
15350
|
-
source: "(
|
|
15346
|
+
source: "(294:40) ",
|
|
15351
15347
|
ctx
|
|
15352
15348
|
});
|
|
15353
15349
|
|
|
15354
15350
|
return block;
|
|
15355
15351
|
}
|
|
15356
15352
|
|
|
15357
|
-
// (
|
|
15353
|
+
// (287:6) {#if searchActive == true && searchValue.length < 2}
|
|
15358
15354
|
function create_if_block_3(ctx) {
|
|
15359
15355
|
let p;
|
|
15360
15356
|
let t0_value = /*$_*/ ctx[17]('Translations.recentSearch') + "";
|
|
@@ -15370,12 +15366,8 @@
|
|
|
15370
15366
|
t1 = space();
|
|
15371
15367
|
if (if_block) if_block.c();
|
|
15372
15368
|
if_block_anchor = empty();
|
|
15373
|
-
|
|
15374
|
-
|
|
15375
|
-
? 'SearchMessage'
|
|
15376
|
-
: 'SearchMessagePc');
|
|
15377
|
-
|
|
15378
|
-
add_location(p, file, 289, 8, 10171);
|
|
15369
|
+
attr_dev(p, "class", "SearchMessage");
|
|
15370
|
+
add_location(p, file, 287, 8, 9993);
|
|
15379
15371
|
},
|
|
15380
15372
|
m: function mount(target, anchor) {
|
|
15381
15373
|
insert_dev(target, p, anchor);
|
|
@@ -15412,14 +15404,14 @@
|
|
|
15412
15404
|
block,
|
|
15413
15405
|
id: create_if_block_3.name,
|
|
15414
15406
|
type: "if",
|
|
15415
|
-
source: "(
|
|
15407
|
+
source: "(287:6) {#if searchActive == true && searchValue.length < 2}",
|
|
15416
15408
|
ctx
|
|
15417
15409
|
});
|
|
15418
15410
|
|
|
15419
15411
|
return block;
|
|
15420
15412
|
}
|
|
15421
15413
|
|
|
15422
|
-
// (
|
|
15414
|
+
// (289:10) {#if searchArray.length == 0}
|
|
15423
15415
|
function create_if_block_4(ctx) {
|
|
15424
15416
|
let div;
|
|
15425
15417
|
let p;
|
|
@@ -15431,14 +15423,10 @@
|
|
|
15431
15423
|
div = element("div");
|
|
15432
15424
|
p = element("p");
|
|
15433
15425
|
t = text(t_value);
|
|
15434
|
-
|
|
15435
|
-
|
|
15436
|
-
? 'SearchMessage'
|
|
15437
|
-
: 'SearchMessagePc');
|
|
15438
|
-
|
|
15439
|
-
add_location(p, file, 292, 12, 10390);
|
|
15426
|
+
attr_dev(p, "class", "SearchMessage");
|
|
15427
|
+
add_location(p, file, 290, 12, 10154);
|
|
15440
15428
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15441
|
-
add_location(div, file,
|
|
15429
|
+
add_location(div, file, 289, 10, 10106);
|
|
15442
15430
|
},
|
|
15443
15431
|
m: function mount(target, anchor) {
|
|
15444
15432
|
insert_dev(target, div, anchor);
|
|
@@ -15457,14 +15445,14 @@
|
|
|
15457
15445
|
block,
|
|
15458
15446
|
id: create_if_block_4.name,
|
|
15459
15447
|
type: "if",
|
|
15460
|
-
source: "(
|
|
15448
|
+
source: "(289:10) {#if searchArray.length == 0}",
|
|
15461
15449
|
ctx
|
|
15462
15450
|
});
|
|
15463
15451
|
|
|
15464
15452
|
return block;
|
|
15465
15453
|
}
|
|
15466
15454
|
|
|
15467
|
-
// (
|
|
15455
|
+
// (298:8) {#if searchCancelled === false}
|
|
15468
15456
|
function create_if_block_2(ctx) {
|
|
15469
15457
|
let each_1_anchor;
|
|
15470
15458
|
let each_value = /*searchArray*/ ctx[11];
|
|
@@ -15525,14 +15513,14 @@
|
|
|
15525
15513
|
block,
|
|
15526
15514
|
id: create_if_block_2.name,
|
|
15527
15515
|
type: "if",
|
|
15528
|
-
source: "(
|
|
15516
|
+
source: "(298:8) {#if searchCancelled === false}",
|
|
15529
15517
|
ctx
|
|
15530
15518
|
});
|
|
15531
15519
|
|
|
15532
15520
|
return block;
|
|
15533
15521
|
}
|
|
15534
15522
|
|
|
15535
|
-
// (
|
|
15523
|
+
// (299:10) {#each searchArray as game}
|
|
15536
15524
|
function create_each_block(ctx) {
|
|
15537
15525
|
let casino_game_thumbnail;
|
|
15538
15526
|
let casino_game_thumbnail_gamethumbnail_value;
|
|
@@ -15573,7 +15561,7 @@
|
|
|
15573
15561
|
set_custom_element_data(casino_game_thumbnail, "clientstyling", /*clientstyling*/ ctx[2]);
|
|
15574
15562
|
set_custom_element_data(casino_game_thumbnail, "clientstylingurl", /*clientstylingurl*/ ctx[3]);
|
|
15575
15563
|
set_custom_element_data(casino_game_thumbnail, "gamepagemodalurl", /*gamepagemodalurl*/ ctx[6]);
|
|
15576
|
-
add_location(casino_game_thumbnail, file,
|
|
15564
|
+
add_location(casino_game_thumbnail, file, 299, 12, 10555);
|
|
15577
15565
|
},
|
|
15578
15566
|
m: function mount(target, anchor) {
|
|
15579
15567
|
insert_dev(target, casino_game_thumbnail, anchor);
|
|
@@ -15670,14 +15658,14 @@
|
|
|
15670
15658
|
block,
|
|
15671
15659
|
id: create_each_block.name,
|
|
15672
15660
|
type: "each",
|
|
15673
|
-
source: "(
|
|
15661
|
+
source: "(299:10) {#each searchArray as game}",
|
|
15674
15662
|
ctx
|
|
15675
15663
|
});
|
|
15676
15664
|
|
|
15677
15665
|
return block;
|
|
15678
15666
|
}
|
|
15679
15667
|
|
|
15680
|
-
// (
|
|
15668
|
+
// (324:8) {#if searchValue.length >= 2 && searchArray.length == 0}
|
|
15681
15669
|
function create_if_block_1(ctx) {
|
|
15682
15670
|
let div;
|
|
15683
15671
|
let p0;
|
|
@@ -15696,15 +15684,11 @@
|
|
|
15696
15684
|
t1 = space();
|
|
15697
15685
|
p1 = element("p");
|
|
15698
15686
|
t2 = text(t2_value);
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
: 'SearchMessagePc');
|
|
15703
|
-
|
|
15704
|
-
add_location(p0, file, 327, 12, 11956);
|
|
15705
|
-
add_location(p1, file, 328, 12, 12085);
|
|
15687
|
+
attr_dev(p0, "class", "SearchMessage");
|
|
15688
|
+
add_location(p0, file, 325, 12, 11604);
|
|
15689
|
+
add_location(p1, file, 326, 12, 11675);
|
|
15706
15690
|
attr_dev(div, "class", "ResultsContainerError");
|
|
15707
|
-
add_location(div, file,
|
|
15691
|
+
add_location(div, file, 324, 10, 11556);
|
|
15708
15692
|
},
|
|
15709
15693
|
m: function mount(target, anchor) {
|
|
15710
15694
|
insert_dev(target, div, anchor);
|
|
@@ -15727,7 +15711,7 @@
|
|
|
15727
15711
|
block,
|
|
15728
15712
|
id: create_if_block_1.name,
|
|
15729
15713
|
type: "if",
|
|
15730
|
-
source: "(
|
|
15714
|
+
source: "(324:8) {#if searchValue.length >= 2 && searchArray.length == 0}",
|
|
15731
15715
|
ctx
|
|
15732
15716
|
});
|
|
15733
15717
|
|
|
@@ -15735,15 +15719,15 @@
|
|
|
15735
15719
|
}
|
|
15736
15720
|
|
|
15737
15721
|
function create_fragment(ctx) {
|
|
15738
|
-
let div3;
|
|
15739
15722
|
let div2;
|
|
15723
|
+
let div1;
|
|
15740
15724
|
let div0;
|
|
15741
15725
|
let svg0;
|
|
15742
15726
|
let path0;
|
|
15743
15727
|
let circle;
|
|
15744
15728
|
let t0;
|
|
15745
|
-
let div1;
|
|
15746
15729
|
let input;
|
|
15730
|
+
let input_class_value;
|
|
15747
15731
|
let input_placeholder_value;
|
|
15748
15732
|
let t1;
|
|
15749
15733
|
let span;
|
|
@@ -15769,14 +15753,13 @@
|
|
|
15769
15753
|
|
|
15770
15754
|
const block = {
|
|
15771
15755
|
c: function create() {
|
|
15772
|
-
div3 = element("div");
|
|
15773
15756
|
div2 = element("div");
|
|
15757
|
+
div1 = element("div");
|
|
15774
15758
|
div0 = element("div");
|
|
15775
15759
|
svg0 = svg_element("svg");
|
|
15776
15760
|
path0 = svg_element("path");
|
|
15777
15761
|
circle = svg_element("circle");
|
|
15778
15762
|
t0 = space();
|
|
15779
|
-
div1 = element("div");
|
|
15780
15763
|
input = element("input");
|
|
15781
15764
|
t1 = space();
|
|
15782
15765
|
span = element("span");
|
|
@@ -15793,74 +15776,59 @@
|
|
|
15793
15776
|
attr_dev(path0, "stroke-linecap", "round");
|
|
15794
15777
|
attr_dev(path0, "stroke-linejoin", "round");
|
|
15795
15778
|
attr_dev(path0, "d", "m10.48 10.985 2.21 2.373");
|
|
15796
|
-
add_location(path0, file, 269, 10,
|
|
15779
|
+
add_location(path0, file, 269, 10, 8855);
|
|
15797
15780
|
attr_dev(circle, "cx", "6.5");
|
|
15798
15781
|
attr_dev(circle, "cy", "6.5");
|
|
15799
15782
|
attr_dev(circle, "r", "5.75");
|
|
15800
15783
|
attr_dev(circle, "stroke", "#212121");
|
|
15801
15784
|
attr_dev(circle, "stroke-width", "1.5");
|
|
15802
|
-
add_location(circle, file, 270, 10,
|
|
15785
|
+
add_location(circle, file, 270, 10, 8983);
|
|
15803
15786
|
attr_dev(svg0, "width", "14");
|
|
15804
15787
|
attr_dev(svg0, "height", "15");
|
|
15805
15788
|
attr_dev(svg0, "fill", "none");
|
|
15806
15789
|
attr_dev(svg0, "xmlns", "http://www.w3.org/2000/svg");
|
|
15807
|
-
add_location(svg0, file, 268, 8,
|
|
15808
|
-
|
|
15809
|
-
|
|
15810
|
-
? '
|
|
15811
|
-
: 'SearchIconPc');
|
|
15812
|
-
|
|
15813
|
-
add_location(div0, file, 267, 6, 8793);
|
|
15814
|
-
attr_dev(input, "class", "SearchInput");
|
|
15790
|
+
add_location(svg0, file, 268, 8, 8769);
|
|
15791
|
+
attr_dev(div0, "class", "SearchIcon");
|
|
15792
|
+
add_location(div0, file, 267, 6, 8736);
|
|
15793
|
+
attr_dev(input, "class", input_class_value = "SearchInput " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'));
|
|
15815
15794
|
attr_dev(input, "type", "search");
|
|
15816
15795
|
attr_dev(input, "placeholder", input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'));
|
|
15817
|
-
add_location(input, file,
|
|
15796
|
+
add_location(input, file, 273, 8, 9092);
|
|
15818
15797
|
attr_dev(path1, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8");
|
|
15819
15798
|
attr_dev(path1, "stroke", "#717171");
|
|
15820
15799
|
attr_dev(path1, "stroke-width", "2");
|
|
15821
15800
|
attr_dev(path1, "stroke-linecap", "round");
|
|
15822
15801
|
attr_dev(path1, "stroke-linejoin", "round");
|
|
15823
|
-
add_location(path1, file,
|
|
15802
|
+
add_location(path1, file, 276, 12, 9522);
|
|
15824
15803
|
attr_dev(svg1, "width", "11");
|
|
15825
15804
|
attr_dev(svg1, "height", "11");
|
|
15826
15805
|
attr_dev(svg1, "fill", "none");
|
|
15827
15806
|
attr_dev(svg1, "xmlns", "http://www.w3.org/2000/svg");
|
|
15828
|
-
add_location(svg1, file,
|
|
15807
|
+
add_location(svg1, file, 275, 10, 9434);
|
|
15829
15808
|
attr_dev(span, "class", span_class_value = "SearchClearButton " + (/*searchValue*/ ctx[8].length != 0 ? '' : 'NotVisible'));
|
|
15830
|
-
add_location(span, file,
|
|
15831
|
-
|
|
15832
|
-
attr_dev(div1, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15833
|
-
? 'SearchContainer'
|
|
15834
|
-
: 'SearchContainerPc');
|
|
15835
|
-
|
|
15836
|
-
add_location(div1, file, 273, 6, 9202);
|
|
15809
|
+
add_location(span, file, 274, 8, 9313);
|
|
15837
15810
|
attr_dev(small, "class", small_class_value = "SearchCancelButton " + (/*searchCancelled*/ ctx[9] ? 'NotVisible' : ''));
|
|
15838
|
-
add_location(small, file,
|
|
15811
|
+
add_location(small, file, 279, 6, 9685);
|
|
15812
|
+
attr_dev(div1, "class", "Search");
|
|
15813
|
+
add_location(div1, file, 266, 4, 8709);
|
|
15839
15814
|
|
|
15840
|
-
attr_dev(div2, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15841
|
-
? '
|
|
15842
|
-
: '
|
|
15815
|
+
attr_dev(div2, "class", "" + ((getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15816
|
+
? ''
|
|
15817
|
+
: 'Desktop') + " CasinoSearch"));
|
|
15843
15818
|
|
|
15844
|
-
add_location(div2, file,
|
|
15845
|
-
|
|
15846
|
-
attr_dev(div3, "class", getDevice(/*userAgent*/ ctx[18]) !== 'PC'
|
|
15847
|
-
? 'CasinoSearch'
|
|
15848
|
-
: 'CasinoSearchPc');
|
|
15849
|
-
|
|
15850
|
-
add_location(div3, file, 265, 2, 8592);
|
|
15819
|
+
add_location(div2, file, 265, 2, 8592);
|
|
15851
15820
|
},
|
|
15852
15821
|
l: function claim(nodes) {
|
|
15853
15822
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
15854
15823
|
},
|
|
15855
15824
|
m: function mount(target, anchor) {
|
|
15856
|
-
insert_dev(target,
|
|
15857
|
-
append_dev(
|
|
15858
|
-
append_dev(
|
|
15825
|
+
insert_dev(target, div2, anchor);
|
|
15826
|
+
append_dev(div2, div1);
|
|
15827
|
+
append_dev(div1, div0);
|
|
15859
15828
|
append_dev(div0, svg0);
|
|
15860
15829
|
append_dev(svg0, path0);
|
|
15861
15830
|
append_dev(svg0, circle);
|
|
15862
|
-
append_dev(
|
|
15863
|
-
append_dev(div2, div1);
|
|
15831
|
+
append_dev(div1, t0);
|
|
15864
15832
|
append_dev(div1, input);
|
|
15865
15833
|
set_input_value(input, /*searchValue*/ ctx[8]);
|
|
15866
15834
|
/*input_binding*/ ctx[29](input);
|
|
@@ -15868,12 +15836,12 @@
|
|
|
15868
15836
|
append_dev(div1, span);
|
|
15869
15837
|
append_dev(span, svg1);
|
|
15870
15838
|
append_dev(svg1, path1);
|
|
15871
|
-
append_dev(
|
|
15872
|
-
append_dev(
|
|
15839
|
+
append_dev(div1, t2);
|
|
15840
|
+
append_dev(div1, small);
|
|
15873
15841
|
append_dev(small, t3);
|
|
15874
|
-
append_dev(
|
|
15875
|
-
if_block.m(
|
|
15876
|
-
/*
|
|
15842
|
+
append_dev(div2, t4);
|
|
15843
|
+
if_block.m(div2, null);
|
|
15844
|
+
/*div2_binding*/ ctx[32](div2);
|
|
15877
15845
|
|
|
15878
15846
|
if (!mounted) {
|
|
15879
15847
|
dispose = [
|
|
@@ -15887,6 +15855,10 @@
|
|
|
15887
15855
|
}
|
|
15888
15856
|
},
|
|
15889
15857
|
p: function update(ctx, dirty) {
|
|
15858
|
+
if (dirty[0] & /*searchCancelled*/ 512 && input_class_value !== (input_class_value = "SearchInput " + (/*searchCancelled*/ ctx[9] ? '' : 'SearchAnimation'))) {
|
|
15859
|
+
attr_dev(input, "class", input_class_value);
|
|
15860
|
+
}
|
|
15861
|
+
|
|
15890
15862
|
if (dirty[0] & /*$_*/ 131072 && input_placeholder_value !== (input_placeholder_value = /*$_*/ ctx[17]('Translations.placeHolderSearchGames'))) {
|
|
15891
15863
|
attr_dev(input, "placeholder", input_placeholder_value);
|
|
15892
15864
|
}
|
|
@@ -15913,17 +15885,17 @@
|
|
|
15913
15885
|
|
|
15914
15886
|
if (if_block) {
|
|
15915
15887
|
if_block.c();
|
|
15916
|
-
if_block.m(
|
|
15888
|
+
if_block.m(div2, null);
|
|
15917
15889
|
}
|
|
15918
15890
|
}
|
|
15919
15891
|
},
|
|
15920
15892
|
i: noop$1,
|
|
15921
15893
|
o: noop$1,
|
|
15922
15894
|
d: function destroy(detaching) {
|
|
15923
|
-
if (detaching) detach_dev(
|
|
15895
|
+
if (detaching) detach_dev(div2);
|
|
15924
15896
|
/*input_binding*/ ctx[29](null);
|
|
15925
15897
|
if_block.d();
|
|
15926
|
-
/*
|
|
15898
|
+
/*div2_binding*/ ctx[32](null);
|
|
15927
15899
|
mounted = false;
|
|
15928
15900
|
run_all(dispose);
|
|
15929
15901
|
}
|
|
@@ -16244,7 +16216,7 @@
|
|
|
16244
16216
|
const click_handler = () => clearSearch();
|
|
16245
16217
|
const click_handler_1 = () => cancelSearch();
|
|
16246
16218
|
|
|
16247
|
-
function
|
|
16219
|
+
function div2_binding($$value) {
|
|
16248
16220
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16249
16221
|
customStylingContainer = $$value;
|
|
16250
16222
|
$$invalidate(10, customStylingContainer);
|
|
@@ -16434,14 +16406,14 @@
|
|
|
16434
16406
|
input_binding,
|
|
16435
16407
|
click_handler,
|
|
16436
16408
|
click_handler_1,
|
|
16437
|
-
|
|
16409
|
+
div2_binding
|
|
16438
16410
|
];
|
|
16439
16411
|
}
|
|
16440
16412
|
|
|
16441
16413
|
class CasinoSearch extends SvelteElement {
|
|
16442
16414
|
constructor(options) {
|
|
16443
16415
|
super();
|
|
16444
|
-
this.shadowRoot.innerHTML = `<style>:host{font-family:system-ui, -apple-system,
|
|
16416
|
+
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}.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}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchInput{width:50%;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03);margin-left:20px}.Desktop .SearchAnimation{width:60%;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}</style>`;
|
|
16445
16417
|
|
|
16446
16418
|
init(
|
|
16447
16419
|
this,
|