https://www.volvoexch.in/admin

URL inviato:
https://www.volvoexch.in/admin
Report terminato:

I link in uscita identificati dalla pagina

Variabili JavaScript · 37 trovate

Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente

NomeTipo
0object
1object
2object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
__cfQRobject
$function
jQueryfunction
aobject

Messaggi di log della console · 2 trovati

Messaggi registrati nella console Web

TipoCategoriaLog
errornetwork
URL
https://www.volvoexch.in/favicon.ico
Testo
Failed to load resource: the server responded with a status of 404 ()
verbosedom
URL
https://www.volvoexch.in/admin
Testo
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) %o

HTML

Il corpo HTML non elaborato della pagina

<!DOCTYPE html><html><head><meta http-equiv="origin-trial" content="A/kargTFyk8MR5ueravczef/wIlTkbVk1qXQesp39nV+xNECPdLBVeYffxrM8TmZT6RArWGQVCJ0LRivD7glcAUAAACQeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IkRpc2FibGVUaGlyZFBhcnR5U3RvcmFnZVBhcnRpdGlvbmluZzIiLCJleHBpcnkiOjE3NDIzNDIzOTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9">
    <title>VOLVOEXCH</title>
    <meta charset="utf-8">
    
    <meta name="theme-color" content="">
    <!-- <meta
      name="viewport"
      content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no"
    /> -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/admin/css/app.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/front/plugin/owl/assets/owl.carousel.min.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/front/plugin/owl/assets/owl.theme.default.min.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/admin/css/flipclock.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/admin/css/style.css">
    <link rel="stylesheet" href="https://sitethemedata.com/sitethemes/volvoexch.in/front/theme.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/admin/css/custom.css">
    <link rel="stylesheet" href="https://versionobj.ecoassetsservice.com/v25/static/admin/css/responsive.css">
    <script type="text/javascript" async="" charset="utf-8" src="https://www.gstatic.com/recaptcha/releases/zIriijn3uj5Vpknvt_LnfNbF/recaptcha__en.js" crossorigin="anonymous" integrity="sha384-8mJgBUBw4uTWF9Ooxgb4sUuO9jKtaVm1I+8vb0qpxxX3cafec7ovH+goM3yD4UyO"></script><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" type="text/javascript"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.5.3/lottie_svg.min.js" type="text/javascript"></script>
    <script src="https://versionobj.ecoassetsservice.com/v25/static/admin/js/flipclock.js" type="text/javascript"></script>
  <style type="text/css">
.no-internet .btn-primary{
  width:150px;
}
</style><style type="text/css">
.page-content[data-v-61537a09] {
  position: relative;
}
</style><style type="text/css">/**
 * Default
 */
/**
 * Bulma
 */
/**
 * Bootstrap
 */
.vue-switcher {
  position: relative;
  display: inline-block;
}
.vue-switcher__label {
    display: block;
    font-size: 10px;
    margin-bottom: 5px;
}
.vue-switcher input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    cursor: pointer;
}
.vue-switcher div {
    height: 15px;
    width: 36px;
    position: relative;
    border-radius: 30px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: linear .2s, background-color linear .2s;
}
.vue-switcher div:after {
      content: '';
      height: 20px;
      width: 20px;
      border-radius: 100px;
      display: block;
      transition: linear .15s, background-color linear .15s;
      position: absolute;
      left: 100%;
      margin-left: -18px;
      cursor: pointer;
      top: -3px;
      box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}
.vue-switcher--unchecked div {
    justify-content: flex-end;
}
.vue-switcher--unchecked div:after {
      left: 15px;
}
.vue-switcher--disabled div {
    opacity: .3;
}
.vue-switcher--disabled input {
    cursor: not-allowed;
}
.vue-switcher--bold div {
    top: -8px;
    height: 26px;
    width: 51px;
}
.vue-switcher--bold div:after {
      margin-left: -24px;
      top: 3px;
}
.vue-switcher--bold--unchecked div:after {
    left: 28px;
}
.vue-switcher--bold .vue-switcher__label span {
    padding-bottom: 7px;
    display: inline-block;
}
.vue-switcher-theme--default.vue-switcher-color--default div {
    background-color: #b7b7b7;
}
.vue-switcher-theme--default.vue-switcher-color--default div:after {
      background-color: #9d9d9d;
}
.vue-switcher-theme--default.vue-switcher-color--default.vue-switcher--unchecked div {
    background-color: #aaa;
}
.vue-switcher-theme--default.vue-switcher-color--default.vue-switcher--unchecked div:after {
      background-color: #c4c4c4;
}
.vue-switcher-theme--default.vue-switcher-color--blue div {
    background-color: #77b0c8;
}
.vue-switcher-theme--default.vue-switcher-color--blue div:after {
      background-color: #539bb9;
}
.vue-switcher-theme--default.vue-switcher-color--blue.vue-switcher--unchecked div {
    background-color: #c0dae5;
}
.vue-switcher-theme--default.vue-switcher-color--blue.vue-switcher--unchecked div:after {
      background-color: #77b0c8;
}
.vue-switcher-theme--default.vue-switcher-color--red div {
    background-color: #c87777;
}
.vue-switcher-theme--default.vue-switcher-color--red div:after {
      background-color: #b95353;
}
.vue-switcher-theme--default.vue-switcher-color--red.vue-switcher--unchecked div {
    background-color: #e5c0c0;
}
.vue-switcher-theme--default.vue-switcher-color--red.vue-switcher--unchecked div:after {
      background-color: #c87777;
}
.vue-switcher-theme--default.vue-switcher-color--yellow div {
    background-color: #c9c377;
}
.vue-switcher-theme--default.vue-switcher-color--yellow div:after {
      background-color: #bab353;
}
.vue-switcher-theme--default.vue-switcher-color--yellow.vue-switcher--unchecked div {
    background-color: #e6e3c0;
}
.vue-switcher-theme--default.vue-switcher-color--yellow.vue-switcher--unchecked div:after {
      background-color: #c9c377;
}
.vue-switcher-theme--default.vue-switcher-color--orange div {
    background-color: #c89577;
}
.vue-switcher-theme--default.vue-switcher-color--orange div:after {
      background-color: #b97953;
}
.vue-switcher-theme--default.vue-switcher-color--orange.vue-switcher--unchecked div {
    background-color: #e5cec0;
}
.vue-switcher-theme--default.vue-switcher-color--orange.vue-switcher--unchecked div:after {
      background-color: #c89577;
}
.vue-switcher-theme--default.vue-switcher-color--green div {
    background-color: #77c88d;
}
.vue-switcher-theme--default.vue-switcher-color--green div:after {
      background-color: #53b96e;
}
.vue-switcher-theme--default.vue-switcher-color--green.vue-switcher--unchecked div {
    background-color: #c0e5ca;
}
.vue-switcher-theme--default.vue-switcher-color--green.vue-switcher--unchecked div:after {
      background-color: #77c88d;
}
.vue-switcher-theme--bulma.vue-switcher-color--default div {
    background-color: gainsboro;
}
.vue-switcher-theme--bulma.vue-switcher-color--default div:after {
      background-color: #f5f5f5;
}
.vue-switcher-theme--bulma.vue-switcher-color--default.vue-switcher--unchecked div {
    background-color: #e8e8e8;
}
.vue-switcher-theme--bulma.vue-switcher-color--default.vue-switcher--unchecked div:after {
      background-color: #f5f5f5;
}
.vue-switcher-theme--bulma.vue-switcher-color--primary div {
    background-color: #05ffda;
}
.vue-switcher-theme--bulma.vue-switcher-color--primary div:after {
      background-color: #00d1b2;
}
.vue-switcher-theme--bulma.vue-switcher-color--primary.vue-switcher--unchecked div {
    background-color: #6bffe9;
}
.vue-switcher-theme--bulma.vue-switcher-color--primary.vue-switcher--unchecked div:after {
      background-color: #05ffda;
}
.vue-switcher-theme--bulma.vue-switcher-color--blue div {
    background-color: #5e91e3;
}
.vue-switcher-theme--bulma.vue-switcher-color--blue div:after {
      background-color: #3273dc;
}
.vue-switcher-theme--bulma.vue-switcher-color--blue.vue-switcher--unchecked div {
    background-color: #b5ccf2;
}
.vue-switcher-theme--bulma.vue-switcher-color--blue.vue-switcher--unchecked div:after {
      background-color: #5e91e3;
}
.vue-switcher-theme--bulma.vue-switcher-color--red div {
    background-color: #ff6b89;
}
.vue-switcher-theme--bulma.vue-switcher-color--red div:after {
      background-color: #ff3860;
}
.vue-switcher-theme--bulma.vue-switcher-color--red.vue-switcher--unchecked div {
    background-color: #ffd1da;
}
.vue-switcher-theme--bulma.vue-switcher-color--red.vue-switcher--unchecked div:after {
      background-color: #ff6b89;
}
.vue-switcher-theme--bulma.vue-switcher-color--yellow div {
    background-color: #ffe78a;
}
.vue-switcher-theme--bulma.vue-switcher-color--yellow div:after {
      background-color: #ffdd57;
}
.vue-switcher-theme--bulma.vue-switcher-color--yellow.vue-switcher--unchecked div {
    background-color: #fffcf0;
}
.vue-switcher-theme--bulma.vue-switcher-color--yellow.vue-switcher--unchecked div:after {
      background-color: #ffe78a;
}
.vue-switcher-theme--bulma.vue-switcher-color--green div {
    background-color: #3dde75;
}
.vue-switcher-theme--bulma.vue-switcher-color--green div:after {
      background-color: #22c65b;
}
.vue-switcher-theme--bulma.vue-switcher-color--green.vue-switcher--unchecked div {
    background-color: #94edb3;
}
.vue-switcher-theme--bulma.vue-switcher-color--green.vue-switcher--unchecked div:after {
      background-color: #3dde75;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--default div {
    background-color: #e6e6e6;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--default div:after {
      background-color: #f0f0f0;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--default.vue-switcher--unchecked div {
    background-color: whitesmoke;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--default.vue-switcher--unchecked div:after {
      background-color: #f0f0f0;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--primary div {
    background-color: #4f93ce;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--primary div:after {
      background-color: #337ab7;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--primary.vue-switcher--unchecked div {
    background-color: #9fc4e4;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--primary.vue-switcher--unchecked div:after {
      background-color: #4f93ce;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--success div {
    background-color: #80c780;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--success div:after {
      background-color: #5cb85c;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--success.vue-switcher--unchecked div {
    background-color: #c7e6c7;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--success.vue-switcher--unchecked div:after {
      background-color: #80c780;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--info div {
    background-color: #85d0e7;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--info div:after {
      background-color: #5bc0de;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--info.vue-switcher--unchecked div {
    background-color: #daf1f8;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--info.vue-switcher--unchecked div:after {
      background-color: #85d0e7;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--warning div {
    background-color: #f4c37d;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--warning div:after {
      background-color: #f0ad4e;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--warning.vue-switcher--unchecked div {
    background-color: #fceedb;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--warning.vue-switcher--unchecked div:after {
      background-color: #f4c37d;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--danger div {
    background-color: #d9534f;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--danger div:after {
      background-color: #c9302c;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--danger.vue-switcher--unchecked div {
    background-color: #eba5a3;
}
.vue-switcher-theme--bootstrap.vue-switcher-color--danger.vue-switcher--unchecked div:after {
      background-color: #d9534f;
}
</style><style type="text/css">
.base-timer .component-fade-enter-active[data-v-07e7cfbb],
.base-timer .component-fade-leave-active[data-v-07e7cfbb] {
    transition: all .3s;
}
.base-timer .component-fade-enter[data-v-07e7cfbb]{
    opacity: 0;
    transform: translateY(-10px);
}
.base-timer .component-fade-leave-to[data-v-07e7cfbb]
{
    opacity: 0;
    transform: translateY(10px);
}
</style><style type="text/css">
/*.slide-fade-enter-active, .slide-fade-leave-active {
  transition: all .3s ease;
  transform-style: preserve-3d;
}

.slide-fade-enter, .slide-fade-leave-to {
  opacity: 0;
  transform: rotateY(90deg);
}*/
</style><style type="text/css">.vue-js-switch[data-v-25adc6c0]{display:inline-block;position:relative;vertical-align:middle;user-select:none;font-size:10px;cursor:pointer}.vue-js-switch .v-switch-input[data-v-25adc6c0]{opacity:0;position:absolute;width:1px;height:1px}.vue-js-switch .v-switch-label[data-v-25adc6c0]{position:absolute;top:0;font-weight:600;color:#fff;z-index:1}.vue-js-switch .v-switch-label.v-left[data-v-25adc6c0]{left:10px}.vue-js-switch .v-switch-label.v-right[data-v-25adc6c0]{right:10px}.vue-js-switch .v-switch-core[data-v-25adc6c0]{display:block;position:relative;box-sizing:border-box;outline:0;margin:0;transition:border-color .3s,background-color .3s;user-select:none}.vue-js-switch .v-switch-core .v-switch-button[data-v-25adc6c0]{display:block;position:absolute;overflow:hidden;top:0;left:0;border-radius:100%;background-color:#fff;z-index:2}.vue-js-switch.disabled[data-v-25adc6c0]{pointer-events:none;opacity:.6}</style><style>.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon::before{display:flex;align-items:center;font-size:2em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon::before{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;background-color:transparent;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show{background-color:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background-color:transparent!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:inherit}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:inherit;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-rtl .swal2-close{right:auto;left:0}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}</style><script recaptcha-v3-script="" src="https://www.google.com/recaptcha/api.js?render=explicit"></script></head>

  <body class="vertical-collpsed login">
    <div id="loader-full" style="display: none;">
        <!-- <div id="load-inner"> -->
            <!-- <img src="https://sitethemedata.com/sitethemes/volvoexch.in/front/logo.png" class="logo-login"> -->
            <!-- <i class="fa fa-spinner fa-spin"></i> -->
        <!-- </div> -->
    </div>
    
    <div id="app"><section class="login-mn"><div class="log-logo m-b-20"><img src="https://sitethemedata.com/sitethemes/volvoexch.in/front/logo.png" style="max-width: 250px; max-height: 100px;"></div> <div class="log-fld"><h2 class="text-center">Sign In</h2> <!----> <form autocomplete="off" data-vv-scope="form-login" action="" method="POST" class="form-horizontal"> <div id="input-group-1" role="group" class="form-group"><!----><div><input id="input-1" name="username" type="text" placeholder="Username" class="form-control"> <!----><!----><!----><!----></div></div> <div id="input-group-2" role="group" class="form-group"><!----><div><input id="input-2" name="password" type="password" placeholder="password" class="form-control form-control"> <!----><!----><!----><!----></div></div> <div class="form-group text-center"><button type="submit" class="btn btn btn-submit btn-login btn-secondary">Login <i class="fas fa-sign-in-alt"></i></button></div></form> <!----></div> <!----></section></div>

    <script type="text/javascript">
      function getWidth() {
        var doc = document,
            w = window;
        var docEl = (doc.compatMode && doc.compatMode === 'CSS1Compat') ?
            doc.documentElement : doc.body;

        var width = docEl.clientWidth;
        var height = docEl.clientHeight;

        if (w.innerWidth && width > w.innerWidth) {
            width = w.innerWidth;
            height = w.innerHeight;
        }
        return width
      }

      IS_MOBILE = getWidth() < 1280 ? true : false
      IS_TABLET = getWidth() >= 768 ? true : false

      
        IS_MOBILE_DEVICE = false
      


      DOMAIN = "volvoexch.in"
      IP_ADDRESS = localStorage.getItem("clientAddr");
    </script>

    <script src="https://versionobj.ecoassetsservice.com/v25/static/admin/js/manifest.js" type="text/javascript"></script>
    <script src="https://versionobj.ecoassetsservice.com/v25/static/admin/js/utilityVendor.js" type="text/javascript"></script>
    <script src="https://versionobj.ecoassetsservice.com/v25/static/admin/js/vuevendor.js" type="text/javascript"></script>
    <script src="https://versionobj.ecoassetsservice.com/v25/static/admin/js/vendor.js" type="text/javascript"></script>
    <script type="text/javascript">
      (function(){var _0x1a3d3a=_0x6788;(function(_0xfd0d09,_0x3a24e8){var _0x22919d=_0x6788,_0x5d0837=_0xfd0d09();while(!![]){try{var _0x52b0b4=-parseInt(_0x22919d(0x200))/0x1*(parseInt(_0x22919d(0x20f))/0x2)+-parseInt(_0x22919d(0x209))/0x3*(parseInt(_0x22919d(0x1f3))/0x4)+-parseInt(_0x22919d(0x1e4))/0x5+parseInt(_0x22919d(0x1cf))/0x6*(parseInt(_0x22919d(0x1ce))/0x7)+parseInt(_0x22919d(0x20d))/0x8+-parseInt(_0x22919d(0x1ed))/0x9*(-parseInt(_0x22919d(0x1fa))/0xa)+parseInt(_0x22919d(0x1fd))/0xb*(parseInt(_0x22919d(0x1fe))/0xc);if(_0x52b0b4===_0x3a24e8)break;else _0x5d0837['push'](_0x5d0837['shift']());}catch(_0x3343d8){_0x5d0837['push'](_0x5d0837['shift']());}}}(_0x5b0c,0x6a80d));var _0xfcf9a5=(function(){var _0x52f34a=!![];return function(_0x129ee3,_0x165d3f){var _0x2f2cf1=_0x52f34a?function(){if(_0x165d3f){var _0x119d6e=_0x165d3f['\x61\x70\x70\x6c\x79'](_0x129ee3,arguments);return _0x165d3f=null,_0x119d6e;}}:function(){};return _0x52f34a=![],_0x2f2cf1;};}()),_0x3dc690=_0xfcf9a5(this,function(){var _0x3ad9cc=_0x6788;return _0x3dc690[_0x3ad9cc(0x1de)]()[_0x3ad9cc(0x211)](_0x3ad9cc(0x1d4))['\x74\x6f\x53\x74\x72\x69\x6e\x67']()['\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'](_0x3dc690)[_0x3ad9cc(0x211)](_0x3ad9cc(0x1d4));});function _0x5b0c(){var _0x4ee2e5=['\x32\x36\x32\x38\x4c\x79\x4a\x4c\x75\x53','\x36\x39\x30\x30\x30\x30\x30','\x37\x42\x50\x71\x61\x4b\x41','\x52\x6f\x75\x6c\x65\x74\x74\x65','\x61\x76\x69\x61\x74\x6f\x72','\x52\x61\x76\x69\x31\x38\x4c','\x38\x37\x38\x32\x37\x34\x34\x33\x37','\x31\x37\x32\x34\x31\x30\x31\x32\x30\x34\x39\x31\x38\x2e\x77\x65\x62\x70','\x37\x39\x36\x35\x30\x30\x30','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f','\x36\x34\x30\x35\x30\x30\x30','\x37\x38\x33\x67\x69\x45\x5a\x4c\x67','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x61\x70\x6b\x5f\x64\x61\x74\x61\x2f','\x20\x35\x33\x36\x31\x36\x30\x32\x32\x32\x5f\x32','\x32\x30\x2f\x31\x31\x2f\x32\x30\x32\x34\x20\x30\x30\x3a\x30\x30','\x35\x30\x36\x36\x38\x30\x44\x41\x51\x78\x56\x4a','\x72\x65\x64\x64\x79\x37\x37\x37\x61\x67\x78','\x32\x33\x36\x36\x32\x69\x76\x4c\x7a\x4e\x5a','\x22\x2d\x20\x4e\x65\x77\x20\x56\x65\x72\x73\x69\x6f\x6e\x20\x4c\x61\x75\x6e\x63\x68\x65\x64\x2e\x2e\x2e\x5c\x6e\x2d\x20\x49\x6d\x70\x72\x6f\x76\x65\x20\x55\x49\x5c\x6e\x2d\x20\x49\x6d\x70\x72\x6f\x76\x65\x20\x53\x65\x63\x75\x72\x69\x74\x79\x22','\x73\x65\x61\x72\x63\x68','\x73\x6d\x61\x72\x74','\x36\x4c\x66\x58\x35\x75\x55\x68\x41\x41\x41\x41\x41\x45\x57\x43\x4f\x30\x2d\x56\x6d\x6f\x4c\x4b\x79\x43\x42\x71\x72\x31\x36\x70\x32\x6f\x65\x5f\x50\x46\x6b\x56','\x38\x30\x30\x31\x31\x32\x37','\x75\x6e\x64\x65\x66\x69\x6e\x65\x64','\x23\x31\x36\x31\x39\x31\x43','\x41\x75\x73\x74\x72\x61\x6c\x69\x61\x20\x76\x20\x49\x6e\x64\x69\x61','\x6e\x74\x72\x78\x30\x38\x33','\x31\x37\x32\x33\x38\x33\x33\x37\x37\x30\x35\x31\x31\x2e\x77\x65\x62\x70','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x73\x2f\x63\x6f\x6d\x6d\x6f\x6e\x2f\x66\x72\x6f\x6e\x74\x2f','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x61\x75\x74\x68\x5f\x61\x70\x6b\x2f','\x41\x73\x69\x61\x2f\x43\x61\x6c\x63\x75\x74\x74\x61','\x53\x69\x63\x20\x42\x6f','\x34\x37\x37\x33\x33\x37\x35\x35\x34','\x53\x75\x70\x65\x72\x20\x4f\x76\x65\x72\x32','\x4a\x65\x74\x58','\x72\x6f\x75\x6c\x65\x74\x74\x65\x33','\x7a\x7a\x6b\x69\x73\x7a\x7a','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x61\x70\x6b\x2f','\x74\x65\x65\x6e\x33\x33','\x66\x61\x6e\x74\x61\x73\x79','\x23\x46\x46\x46\x46\x46\x46','\x31\x37\x32\x34\x31\x30\x32\x30\x33\x37\x35\x32\x39\x2e\x77\x65\x62\x70','\x31\x2e\x39','\x34\x32\x34\x36\x31\x37\x39\x54\x52\x44\x71\x77\x53','\x36\x53\x72\x6c\x46\x64\x70','\x33\x30\x32\x30\x30\x30\x30','\x34\x38\x38\x33\x38\x31\x37\x35\x32','\x36\x33\x39\x31\x34\x36\x36\x30\x37\x5f\x34','\x45\x4e\x4a\x4f\x59\x20\x42\x45\x53\x54\x20\x45\x56\x45\x52\x20\x43\x41\x53\x49\x4e\x4f','\x28\x28\x28\x2e\x2b\x29\x2b\x29\x2b\x29\x2b\x24','\x44\x41\x56\x49\x53\x20\x43\x55\x50\x20\x2d\x20\x57\x49\x4e\x4e\x45\x52','\x31\x37\x32\x34\x30\x39\x39\x38\x38\x31\x39\x33\x39\x2e\x77\x65\x62\x70','\x34\x37\x37\x33\x33\x37\x35\x35\x34\x5f\x34\x30','\x36\x33\x39\x31\x34\x36\x36\x30\x37','\x33\x31\x76\x69\x73\x68\x61\x6c\x33\x31','\x43\x61\x73\x69\x6e\x6f','\x73\x6c\x6f\x74\x30\x30\x31','\x31\x37\x32\x33\x38\x31\x36\x35\x38\x34\x30\x39\x39\x2e\x6a\x70\x67','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x73\x2f\x63\x6f\x6d\x6d\x6f\x6e\x2f\x63\x62\x61\x6e\x6e\x65\x72\x73\x2f','\x74\x6f\x53\x74\x72\x69\x6e\x67','\x49\x6e\x73\x74\x61\x6e\x74\x20\x54\x65\x65\x6e\x70\x61\x74\x74\x69\x20\x33\x2e\x30','\x32\x34\x34','\x31\x37\x32\x34\x31\x33\x37\x39\x34\x38\x32\x38\x30\x2e\x77\x65\x62\x70','\x23\x31\x43\x32\x35\x34\x31','\x54\x41\x4b\x45\x20\x41\x20\x43\x48\x41\x4e\x43\x45\x2c\x20\x45\x4d\x42\x52\x41\x43\x45\x20\x54\x48\x45\x20\x54\x48\x52\x49\x4c\x4c\x2e\x20\x55\x4e\x4c\x45\x41\x53\x48\x20\x54\x48\x45\x20\x45\x58\x43\x49\x54\x45\x4d\x45\x4e\x54\x20\x57\x49\x54\x48\x20\x4f\x55\x52\x20\x43\x41\x50\x54\x49\x56\x41\x54\x49\x4e\x47\x20\x47\x41\x4d\x45\x53\x2e','\x32\x33\x34\x30\x37\x39\x30\x44\x4f\x55\x77\x44\x4f','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x73\x2f\x76\x6f\x6c\x76\x6f\x65\x78\x63\x68\x2e\x69\x6e\x2f\x66\x72\x6f\x6e\x74\x2f','\x33\x31\x39\x34\x30\x30\x30','\x73\x75\x70\x65\x72\x6f\x76\x65\x72\x32','\x77\x73\x73\x3a\x2f\x2f\x73\x70\x6f\x72\x74\x73\x73\x63\x6f\x72\x65\x32\x34\x2e\x63\x6f\x6d','\x23\x31\x32\x36\x45\x35\x31','\x23\x65\x65\x65\x65\x65\x65','\x31\x38\x31','\x62\x74\x61\x62\x6c\x65','\x32\x31\x30\x36\x4b\x72\x62\x68\x5a\x61','\x31\x37\x32\x33\x38\x31\x36\x35\x31\x34\x33\x34\x34\x2e\x6a\x70\x67','\x73\x69\x63\x62\x6f','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x64\x61\x74\x61\x2e\x63\x6f\x6d\x2f\x73\x69\x74\x65\x74\x68\x65\x6d\x65\x73\x2f\x76\x6f\x6c\x76\x6f\x65\x78\x63\x68\x2e\x69\x6e\x2f\x66\x72\x6f\x6e\x74\x2f\x6c\x6f\x67\x6f\x2e\x70\x6e\x67','\x47\x61\x6d\x65','\x31\x37\x32\x33\x38\x31\x36\x35\x34\x37\x31\x38\x32\x2e\x6a\x70\x67','\x36\x33\x31\x36\x64\x47\x6a\x53\x68\x57','\x50\x4e\x31\x34\x35\x30','\x37\x37\x33\x31\x33\x38\x32\x35\x39','\x39\x39\x62\x68\x75\x73\x68\x61\x6e','\x31\x37\x32\x34\x30\x30\x35\x34\x33\x37\x38\x39\x36\x2e\x77\x65\x62\x70','\x6c\x6f\x67\x6f\x2e\x70\x6e\x67','\x54\x61\x79\x6c\x6f\x72\x20\x46\x72\x69\x74\x7a\x20\x76\x20\x41\x6c\x65\x78\x20\x64\x65\x20\x4d\x69\x6e\x61\x75\x72','\x31\x35\x32\x37\x30\x6c\x61\x49\x61\x67\x51','\x35\x39\x33\x33\x30\x30\x30','\x35\x30\x50\x42','\x31\x38\x36\x38\x39\x69\x66\x54\x6a\x5a\x48'];_0x5b0c=function(){return _0x4ee2e5;};return _0x5b0c();}_0x3dc690();function _0x6788(_0x55eaa5,_0x521edc){var _0x22dbe8=_0x5b0c();return _0x6788=function(_0x3dc690,_0xfcf9a5){_0x3dc690=_0x3dc690-0x1bf;var _0x5b0c4d=_0x22dbe8[_0x3dc690];return _0x5b0c4d;},_0x6788(_0x55eaa5,_0x521edc);}var COUNTRY='\x45\x53',ENC_RESPONSE=!![],SCOREBOARD_URL=_0x1a3d3a(0x1e8),BUCKET_PATH=_0x1a3d3a(0x207),DIM_BUCKET_PATH='\x68\x74\x74\x70\x73\x3a\x2f\x2f\x64\x61\x74\x61\x6f\x62\x6a\x2e\x65\x63\x6f\x61\x73\x73\x65\x74\x73\x73\x65\x72\x76\x69\x63\x65\x2e\x63\x6f\x6d\x2f',IMG_PATH='\x68\x74\x74\x70\x73\x3a\x2f\x2f\x76\x65\x72\x73\x69\x6f\x6e\x6f\x62\x6a\x2e\x65\x63\x6f\x61\x73\x73\x65\x74\x73\x73\x65\x72\x76\x69\x63\x65\x2e\x63\x6f\x6d\x2f\x76\x32\x35\x2f\x73\x74\x61\x74\x69\x63\x2f',HOME_THEME_BANNERS=_0x1a3d3a(0x215),LOADER_IMG='',LOGO_PATH=_0x1a3d3a(0x1f0),AUTH_APK_URL=_0x1a3d3a(0x1c0),AUTH_APK_VERSION=_0x1a3d3a(0x1cd),DEFAULT_TIMEZONE=_0x1a3d3a(0x1c1),THEME_DETAILS={'\x62\x67\x73\x69\x64\x65\x62\x61\x72':_0x1a3d3a(0x216),'\x66\x61\x63\x65\x62\x6f\x6f\x6b\x5f\x6c\x69\x6e\x6b':'','\x74\x77\x69\x74\x74\x65\x72\x5f\x6c\x69\x6e\x6b':'','\x69\x6e\x73\x74\x61\x67\x72\x61\x6d\x5f\x6c\x69\x6e\x6b':'','\x74\x65\x6c\x65\x67\x72\x61\x6d\x5f\x6c\x69\x6e\x6b':'','\x79\x6f\x75\x74\x75\x62\x65\x5f\x6c\x69\x6e\x6b':'','\x77\x68\x61\x74\x73\x61\x70\x70\x5f\x6c\x69\x6e\x6b':'','\x77\x68\x61\x74\x73\x61\x70\x70\x5f\x72\x65\x67\x69\x73\x74\x72\x61\x74\x69\x6f\x6e\x5f\x6c\x69\x6e\x6b':'','\x6e\x65\x77\x73\x5f\x6c\x69\x6e\x6b':'','\x73\x69\x67\x6e\x61\x6c\x5f\x6c\x69\x6e\x6b':'','\x66\x70\x6c\x69\x6e\x6b':'','\x64\x6e\x75\x6d\x62\x65\x72':'','\x70\x70\x61\x72\x74':'\x30','\x69\x73\x57\x6f\x6c\x66':![],'\x69\x73\x41\x70\x6b':![],'\x69\x73\x52\x65\x67\x69\x73\x74\x65\x72':![],'\x69\x73\x4d\x61\x6e\x75\x61\x6c\x50\x61\x79\x6d\x65\x6e\x74':![],'\x69\x73\x4e\x65\x77\x50\x61\x79\x6d\x65\x6e\x74':![],'\x69\x73\x50\x61\x79\x6d\x65\x6e\x74':![],'\x69\x73\x44\x65\x70\x6f':![],'\x69\x73\x57\x69\x74\x68\x44\x72\x61\x77':![],'\x77\x69\x74\x68\x4c\x69\x6e\x6b':'','\x64\x65\x70\x6f\x4c\x69\x6e\x6b':'','\x66\x6f\x6f\x74\x65\x72\x5f\x6d\x73\x67':'','\x73\x75\x70\x70\x6f\x72\x74\x5f\x6e\x75\x6d':'','\x6e\x65\x77\x73':_0x1a3d3a(0x1e3),'\x74\x68\x65\x6d\x65':'\x34','\x69\x6d\x61\x67\x65\x5f\x6c\x6f\x61\x64\x65\x72':'','\x62\x61\x6e\x6e\x65\x72\x73\x5f\x75\x72\x6c':_0x1a3d3a(0x1bf),'\x73\x69\x64\x65\x62\x61\x72\x5f\x62\x61\x6e\x6e\x65\x72\x73\x5f\x75\x72\x6c':_0x1a3d3a(0x1bf),'\x69\x6d\x61\x67\x65\x5f\x6c\x6f\x67\x6f':_0x1a3d3a(0x1f8),'\x61\x6d\x6c\x50\x6f\x6c\x69\x63\x79':![],'\x69\x73\x42\x6f\x6e\x75\x73':![],'\x64\x69\x73\x61\x62\x6c\x65\x4c\x6f\x74\x74\x65\x72\x79':![],'\x6c\x6f\x74\x74\x65\x72\x79\x5f\x6e\x75\x6d':0x21,'\x69\x73\x43\x6f\x75\x70\x6f\x6e':![],'\x61\x70\x6b\x5f\x76\x65\x72\x73\x69\x6f\x6e':'','\x61\x70\x6b\x5f\x6d\x65\x73\x73\x61\x67\x65':'','\x68\x6f\x6d\x65\x5f\x74\x65\x6d\x70\x6c\x61\x74\x65':'','\x62\x32\x63':![],'\x64\x69\x73\x61\x62\x6c\x65\x45\x78\x63\x68\x61\x6e\x67\x65':![],'\x64\x69\x73\x61\x62\x6c\x65\x43\x61\x73\x69\x6e\x6f':![],'\x64\x69\x73\x61\x62\x6c\x65\x53\x6c\x6f\x74':![],'\x64\x69\x73\x61\x62\x6c\x65\x4f\x74\x68\x65\x72\x73':![],'\x69\x73\x53\x6d\x73':![],'\x69\x73\x53\x6d\x73\x4c\x6f\x67\x69\x6e':![],'\x62\x61\x6e\x6e\x65\x72\x44\x61\x74\x61':[{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1e1),'\x67\x74\x79\x70\x65':'','\x63\x61\x73\x69\x6e\x6f\x4e\x61\x6d\x65':''},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x219),'\x67\x74\x79\x70\x65':'\x43\x61\x73\x69\x6e\x6f','\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':'\x72\x6f\x75\x6c\x65\x74\x74\x65\x33','\x74\x61\x62\x49\x64':0x1f,'\x65\x6e\x61\x6d\x65':_0x1a3d3a(0x201)},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x205),'\x67\x74\x79\x70\x65':_0x1a3d3a(0x1f1),'\x65\x6e\x61\x6d\x65':'\x43\x72\x69\x63\x6b\x65\x74','\x65\x69\x64':0x4,'\x67\x61\x6d\x65\x49\x64':'\x38\x38\x31\x32\x35\x39\x39\x38\x30'},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1f7),'\x67\x74\x79\x70\x65':_0x1a3d3a(0x1da),'\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':_0x1a3d3a(0x1c9),'\x74\x61\x62\x49\x64':0x14,'\x65\x6e\x61\x6d\x65':_0x1a3d3a(0x1df)},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1cc),'\x67\x74\x79\x70\x65':'\x47\x61\x6d\x65','\x65\x6e\x61\x6d\x65':'\x43\x72\x69\x63\x6b\x65\x74','\x65\x69\x64':0x4,'\x67\x61\x6d\x65\x49\x64':_0x1a3d3a(0x204)},{'\x69\x6d\x61\x67\x65':'\x31\x37\x32\x34\x31\x30\x34\x30\x30\x33\x34\x33\x31\x2e\x77\x65\x62\x70','\x67\x74\x79\x70\x65':_0x1a3d3a(0x1f1),'\x65\x6e\x61\x6d\x65':'\x43\x72\x69\x63\x6b\x65\x74','\x65\x69\x64':0x4,'\x67\x61\x6d\x65\x49\x64':_0x1a3d3a(0x1f5)},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1d6),'\x67\x74\x79\x70\x65':_0x1a3d3a(0x1da),'\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':_0x1a3d3a(0x1ef),'\x74\x61\x62\x49\x64':0x23,'\x65\x6e\x61\x6d\x65':_0x1a3d3a(0x1c2)}],'\x73\x69\x64\x65\x42\x61\x72\x42\x61\x6e\x6e\x65\x72\x44\x61\x74\x61':[{'\x69\x6d\x61\x67\x65':'\x31\x37\x32\x33\x38\x31\x36\x33\x31\x34\x31\x32\x38\x2e\x6a\x70\x67','\x67\x74\x79\x70\x65':_0x1a3d3a(0x1da),'\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':_0x1a3d3a(0x1ef),'\x74\x61\x62\x49\x64':0x23,'\x65\x6e\x61\x6d\x65':_0x1a3d3a(0x1c2)},{'\x69\x6d\x61\x67\x65':'\x31\x37\x32\x33\x38\x31\x36\x33\x33\x35\x33\x30\x31\x2e\x6a\x70\x67','\x67\x74\x79\x70\x65':_0x1a3d3a(0x1ca),'\x67\x6d\x69\x64':_0x1a3d3a(0x202),'\x66\x74\x79\x70\x65':'\x61\x76\x69\x61\x74\x6f\x72'},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1ee),'\x67\x74\x79\x70\x65':'\x43\x61\x73\x69\x6e\x6f','\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':_0x1a3d3a(0x1e7),'\x74\x61\x62\x49\x64':0x23,'\x65\x6e\x61\x6d\x65':_0x1a3d3a(0x1c4)},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1f2),'\x67\x74\x79\x70\x65':_0x1a3d3a(0x1da),'\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':_0x1a3d3a(0x1ec),'\x74\x61\x62\x49\x64':0x23,'\x65\x6e\x61\x6d\x65':'\x42\x6f\x6c\x6c\x79\x77\x6f\x6f\x64\x20\x43\x61\x73\x69\x6e\x6f'},{'\x69\x6d\x61\x67\x65':_0x1a3d3a(0x1dc),'\x67\x74\x79\x70\x65':_0x1a3d3a(0x1ca),'\x67\x6d\x69\x64':_0x1a3d3a(0x1c5),'\x66\x74\x79\x70\x65':_0x1a3d3a(0x212)},{'\x69\x6d\x61\x67\x65':'\x31\x37\x32\x33\x38\x31\x36\x36\x31\x36\x35\x34\x34\x2e\x6a\x70\x67','\x67\x74\x79\x70\x65':_0x1a3d3a(0x1da),'\x63\x74\x79\x70\x65':0x15,'\x67\x6d\x69\x64':_0x1a3d3a(0x1e0),'\x74\x61\x62\x49\x64':0x6a,'\x65\x6e\x61\x6d\x65':'\x42\x6c\x61\x7a\x65\x20\x52\x6f\x75\x6c\x65\x74\x74\x65'},{'\x69\x6d\x61\x67\x65':'\x31\x37\x32\x33\x38\x31\x36\x36\x35\x32\x37\x30\x32\x2e\x6a\x70\x67','\x67\x74\x79\x70\x65':_0x1a3d3a(0x1da),'\x63\x74\x79\x70\x65':0x4,'\x67\x6d\x69\x64':_0x1a3d3a(0x1c6),'\x74\x61\x62\x49\x64':0x1f,'\x65\x6e\x61\x6d\x65':_0x1a3d3a(0x201)}],'\x62\x67\x70\x72\x69\x6d\x61\x72\x79':'\x23\x41\x34\x36\x43\x32\x35','\x70\x72\x69\x6d\x61\x72\x79\x74\x65\x78\x74':_0x1a3d3a(0x1cb),'\x62\x67\x73\x65\x63\x6f\x6e\x64\x61\x72\x79':_0x1a3d3a(0x1e2),'\x73\x65\x63\x6f\x6e\x64\x61\x72\x79\x74\x65\x78\x74':_0x1a3d3a(0x1cb),'\x62\x67\x74\x61\x62\x6c\x65\x68\x65\x61\x64\x65\x72\x6e\x65\x77':_0x1a3d3a(0x1e9),'\x74\x61\x62\x6c\x65\x68\x65\x61\x64\x65\x72\x74\x65\x78\x74\x6e\x65\x77':_0x1a3d3a(0x1ea),'\x62\x61\x73\x65\x5f\x74\x68\x65\x6d\x65\x5f\x75\x72\x6c':_0x1a3d3a(0x1e5),'\x61\x70\x6b\x5f\x61\x73\x73\x65\x74\x73\x5f\x75\x72\x6c':_0x1a3d3a(0x20a),'\x62\x75\x63\x6b\x65\x74\x5f\x75\x72\x6c':_0x1a3d3a(0x207),'\x6d\x61\x69\x6e\x74\x65\x6e\x61\x6e\x63\x65':0x0,'\x6d\x61\x69\x6e\x74\x65\x6e\x61\x6e\x63\x65\x6d\x73\x67':'','\x65\x76\x65\x6e\x74\x73':[{'\x6e\x61\x6d\x65':'\x20\x20\x41\x73\x73\x65\x6d\x62\x6c\x79\x20\x45\x6c\x65\x63\x74\x69\x6f\x6e\x20\x32\x30\x32\x34','\x73\x70\x6f\x72\x74\x49\x64':0x28,'\x69\x64':_0x1a3d3a(0x1c3),'\x6c\x69\x64':_0x1a3d3a(0x1d7)},{'\x6e\x61\x6d\x65':_0x1a3d3a(0x1d5),'\x73\x70\x6f\x72\x74\x49\x64':0x2,'\x69\x64':_0x1a3d3a(0x1d1),'\x6c\x69\x64':'\x34\x38\x38\x33\x38\x31\x37\x35\x32\x5f\x32'},{'\x6e\x61\x6d\x65':_0x1a3d3a(0x1f9),'\x73\x70\x6f\x72\x74\x49\x64':0x2,'\x69\x64':'\x20\x35\x33\x36\x31\x36\x30\x32\x32\x32','\x6c\x69\x64':_0x1a3d3a(0x20b)},{'\x6e\x61\x6d\x65':_0x1a3d3a(0x217),'\x73\x70\x6f\x72\x74\x49\x64':0x4,'\x69\x64':_0x1a3d3a(0x1d8),'\x6c\x69\x64':_0x1a3d3a(0x1d2)}],'\x61\x70\x70\x5f\x76\x65\x72\x73\x69\x6f\x6e':![],'\x61\x70\x6b\x5f\x75\x72\x6c':_0x1a3d3a(0x1c8),'\x77\x65\x62\x5f\x76\x65\x72\x73\x69\x6f\x6e':_0x1a3d3a(0x1eb),'\x61\x6e\x69\x6d\x5f\x6d\x73\x67':['\x4c\x41\x55\x4e\x43\x48\x45\x44\x20\x31\x20\x43\x41\x52\x44\x20\x32\x30\x2d\x32\x30',_0x1a3d3a(0x1d3)],'\x77\x6f\x6c\x66\x5f\x61\x70\x70\x5f\x76\x65\x72\x73\x69\x6f\x6e':'\x33\x33','\x77\x6f\x6c\x66\x5f\x61\x70\x6b\x5f\x6d\x65\x73\x73\x61\x67\x65':_0x1a3d3a(0x210),'\x77\x6f\x6c\x66\x5f\x61\x70\x6b\x5f\x75\x72\x6c':_0x1a3d3a(0x1c8),'\x61\x75\x74\x68\x5f\x61\x70\x6b\x5f\x75\x72\x6c':_0x1a3d3a(0x1c0),'\x61\x75\x74\x68\x5f\x61\x70\x70\x5f\x76\x65\x72\x73\x69\x6f\x6e':1.9,'\x65\x76\x65\x6e\x74\x5f\x64\x74':'\x30\x33\x2f\x31\x32\x2f\x32\x30\x32\x33\x20\x30\x33\x3a\x30\x30\x20\x50\x4d','\x74\x6f\x70\x74\x65\x6e':[{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x20e),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x214),'\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':'\x42\x68\x61\x69\x34\x33\x32\x31','\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':'\x38\x30\x30\x30\x30\x30\x30','\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x1f4),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x206),'\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x1d9),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x1ff),'\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x218),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x208),'\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x1fc),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x1fb),'\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x1f6),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':'\x35\x39\x30\x35\x30\x30\x30','\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x203),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':'\x34\x31\x37\x37\x32\x35\x30','\x74\x69\x6d\x65':_0x1a3d3a(0x20c)},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x1db),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x1e6),'\x74\x69\x6d\x65':'\x32\x30\x2f\x31\x31\x2f\x32\x30\x32\x34\x20\x30\x30\x3a\x30\x30'},{'\x75\x73\x65\x72\x6e\x61\x6d\x65':_0x1a3d3a(0x1c7),'\x77\x69\x6e\x61\x6d\x6f\x75\x6e\x74':_0x1a3d3a(0x1d0),'\x74\x69\x6d\x65':_0x1a3d3a(0x20c)}],'\x73\x6c\x6f\x74\x5f\x62\x61\x6e\x6e\x65\x72\x5f\x75\x72\x6c':_0x1a3d3a(0x1dd),'\x73\x6c\x6f\x74\x5f\x62\x61\x6e\x6e\x65\x72\x73':null},RECAPTCHAV3_PUBLIC_KEY=_0x1a3d3a(0x213),THEME_TYPE='\x34';const _0x4ebc67=_0x5a28;(function(_0x3e82cb,_0x4cb39e){const _0x1a4a8=_0x5a28,_0x839d7e=_0x3e82cb();while(!![]){try{const _0x247345=parseInt(_0x1a4a8(0x1f4))/0x1*(-parseInt(_0x1a4a8(0x1ed))/0x2)+parseInt(_0x1a4a8(0x1ee))/0x3+-parseInt(_0x1a4a8(0x1e1))/0x4*(-parseInt(_0x1a4a8(0x1f1))/0x5)+-parseInt(_0x1a4a8(0x1e2))/0x6*(parseInt(_0x1a4a8(0x1e4))/0x7)+-parseInt(_0x1a4a8(0x1e3))/0x8+-parseInt(_0x1a4a8(0x1ef))/0x9*(-parseInt(_0x1a4a8(0x1ea))/0xa)+parseInt(_0x1a4a8(0x1e7))/0xb;if(_0x247345===_0x4cb39e)break;else _0x839d7e['push'](_0x839d7e['shift']());}catch(_0x7b45d7){_0x839d7e['push'](_0x839d7e['shift']());}}}(_0x35c3,0x4aef8));const _0x40bb24=(function(){let _0x2d7fef=!![];return function(_0x448fd9,_0x2cb88e){const _0x443c43=_0x5a28;if(_0x443c43(0x1f0)==='\x63\x73\x74\x41\x46'){var _0x4a5532=_0x45a195[_0x443c43(0x1eb)][_0x443c43(0x1e6)](_0x202da4,_0x526dd8);return _0x1d9185[_0x443c43(0x1df)](_0x4a5532[_0x443c43(0x1e9)](_0x32990b[_0x443c43(0x1de)][_0x443c43(0x1f5)]));}else{const _0x381c4e=_0x2d7fef?function(){const _0x114a8b=_0x443c43;if(_0x2cb88e){const _0x4f3b89=_0x2cb88e[_0x114a8b(0x1e0)](_0x448fd9,arguments);return _0x2cb88e=null,_0x4f3b89;}}:function(){};return _0x2d7fef=![],_0x381c4e;}};}()),_0x130623=_0x40bb24(this,function(){const _0x56f858=_0x5a28;return _0x130623[_0x56f858(0x1e9)]()[_0x56f858(0x1e5)](_0x56f858(0x1f3))[_0x56f858(0x1e9)]()[_0x56f858(0x1ec)](_0x130623)[_0x56f858(0x1e5)](_0x56f858(0x1f3));});_0x130623();const _0x895125=_0x4ebc67(0x1e8);function _0x35c3(){const _0x2b09c5=['\x31\x36\x38\x33\x33\x37\x38\x4f\x43\x70\x62\x78\x74','\x32\x35\x34\x37\x53\x6e\x66\x4b\x5a\x47','\x77\x75\x64\x64\x73','\x32\x32\x33\x30\x41\x4f\x72\x61\x7a\x4e','\x73\x74\x72\x69\x6e\x67\x69\x66\x79','\x28\x28\x28\x2e\x2b\x29\x2b\x29\x2b\x29\x2b\x24','\x34\x31\x30\x37\x34\x39\x4f\x41\x52\x4a\x62\x63','\x55\x74\x66\x38','\x65\x6e\x63\x72\x79\x70\x74','\x65\x6e\x63','\x70\x61\x72\x73\x65','\x61\x70\x70\x6c\x79','\x32\x37\x37\x36\x4f\x4f\x57\x66\x52\x79','\x33\x31\x32\x37\x33\x38\x66\x52\x5a\x6e\x42\x55','\x34\x36\x30\x35\x31\x32\x30\x4b\x66\x4e\x6a\x76\x42','\x33\x35\x6a\x6b\x79\x58\x6c\x4a','\x73\x65\x61\x72\x63\x68','\x64\x65\x63\x72\x79\x70\x74','\x36\x34\x33\x35\x39\x37\x39\x45\x51\x4d\x67\x68\x66','\x63\x61\x65\x37\x62\x38\x30\x38\x2d\x38\x62\x31\x65\x2d\x34\x66\x34\x37\x2d\x38\x37\x61\x35\x2d\x31\x61\x34\x62\x36\x61\x30\x38\x30\x33\x30\x65','\x74\x6f\x53\x74\x72\x69\x6e\x67','\x33\x34\x37\x30\x6d\x62\x69\x6c\x72\x61','\x41\x45\x53','\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72','\x32\x78\x6e\x4d\x66\x73\x43'];_0x35c3=function(){return _0x2b09c5;};return _0x35c3();}function _0x895125e(_0x337b34,_0xeee843){const _0x1e816b=_0x4ebc67;return _0xeee843['\x41\x45\x53'][_0x1e816b(0x1f6)](JSON[_0x1e816b(0x1f2)](_0x337b34),_0x895125)[_0x1e816b(0x1e9)]();}function _0x5a28(_0x5934a7,_0x57dc5e){const _0x2d4af3=_0x35c3();return _0x5a28=function(_0x130623,_0x40bb24){_0x130623=_0x130623-0x1de;let _0x35c344=_0x2d4af3[_0x130623];return _0x35c344;},_0x5a28(_0x5934a7,_0x57dc5e);}function _0x895125d(_0x43b6a6,_0x508678){const _0x1b522b=_0x4ebc67;var _0x127bc7=_0x508678['\x41\x45\x53'][_0x1b522b(0x1e6)](_0x43b6a6,_0x895125);return JSON[_0x1b522b(0x1df)](_0x127bc7['\x74\x6f\x53\x74\x72\x69\x6e\x67'](_0x508678[_0x1b522b(0x1de)][_0x1b522b(0x1f5)]));}/*! For license information please see app.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(a,t,s){"use strict";var e=s(681),i=(s(122),s(9)),n=s.n(i);t.a={callNewApi:function(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0,i=new _0x314057(s(36));i.request(a,"POST",(function(a){return e(a)}),(function(a){return console.error(a),e({success:!1,msg:a.response.data.msg})}),JSON.stringify(t))},callApi:function(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){t=1==ENC_RESPONSE?{data:_0x895125e(t,s(36))}:t;return e.a.post(a,t).then((function(a){return 1==ENC_RESPONSE?_0x895125d(a.data.data,s(36)):a.data})).catch((function(a){if(a.response)a.response.status,a.response.data;else console.log("server is down or no internet")}))}(t)},formatDateTime:function(a){return n.a.tz(String(a),"MM/DD/YYYY hh:mm:ss A","Asia/Calcutta").tz(n.a.tz.guess()).format("DD/MM/YYYY HH:mm:ss")}}},,,function(a,t,s){"use strict";var e={info:{color:"green"},warning:{color:"orange",threshold:6},alert:{color:"red",threshold:3}},i={data:function(){return{}},props:["totalTime","currentTime"],computed:{circleDasharray:function(){return"".concat((283*this.timeFraction).toFixed(0)," 283")},formattedTimeLeft:function(){return this.currentTime.toString().split("")},timeFraction:function(){var a=this.currentTime/this.totalTime;return a-1/this.totalTime*(1-a)},remainingPathColor:function(){var a=e.alert,t=e.warning,s=e.info;return this.currentTime<=a.threshold?a.color:this.currentTime<=t.threshold?t.color:s.color}},watch:{},mounted:function(){},methods:{}},n=(s(638),s(1)),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"base-timer"},[t("svg",{staticClass:"base-timer__svg",attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{staticClass:"base-timer__circle"},[t("circle",{staticClass:"base-timer__path-elapsed",attrs:{cx:"50",cy:"50",r:"45"}}),a._v(" "),t("path",{staticClass:"base-timer__path-remaining",class:a.remainingPathColor,attrs:{"stroke-dasharray":a.circleDasharray,d:"\n        M 50, 50\n        m -45, 0\n        a 45,45 0 1,0 90,0\n        a 45,45 0 1,0 -90,0\n      "}})])]),a._v(" "),t("span",{staticClass:"base-timer__label",class:a.remainingPathColor},[a._l(a.formattedTimeLeft,(function(s,e){return[t("transition",{key:e,attrs:{name:"component-fade",mode:"out-in"}},[t("span",{key:s},[a._v(a._s(s))])])]}))],2)])}),[],!1,null,"07e7cfbb",null);t.a=o.exports},function(a,t,s){"use strict";var e=s(0),i={data:function(){return{imgPath:IMG_PATH,rulesHtml:[],showRules:!1}},props:["gtype"],components:{},mounted:function(){},methods:{show:function(){var a=this;e.a.callApi("casino/ruleshtml",{type:this.gtype}).then((function(t){200==t.status?(a.showRules=!0,a.rulesHtml=t.data,IS_MOBILE&&a.$refs["rules-modal"].show()):(a.showRules=!1,a.rulesHtml=[])})).catch((function(t){a.showRules=!1,a.rulesHtml=[]}))}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",[a.showRules?t("div",{staticClass:"casino-vieo-rules show d-none-small",class:{"show-rules":a.showRules},staticStyle:{display:"block"},attrs:{id:"casino-vieo-rules","aria-modal":"true"}},[t("div",{staticClass:"rules-header"},[t("div",[a._v("Rules")]),a._v(" "),t("i",{staticClass:"fas fa-times",on:{click:function(t){a.showRules=!1}}})]),a._v(" "),t("div",{staticClass:"rules-body"},[a.rulesHtml&&a.rulesHtml.length?[a._l(a.rulesHtml,(function(s,e){return[t("div",{key:"body-".concat(e),domProps:{innerHTML:a._s(s.rules)}})]}))]:a._e()],2)]):a._e(),a._v(" "),t("b-modal",{ref:"rules-modal",attrs:{"modal-class":"casino-rules teenpatti2-rule-modal",title:"Rules","hide-footer":"",id:"rules-modal"}},[t("div",{staticClass:"casino-vieo-rules show-rules show"},[t("div",{staticClass:"rules-body"},[a.rulesHtml&&a.rulesHtml.length?[a._l(a.rulesHtml,(function(s,e){return[t("div",{key:"body-".concat(e),domProps:{innerHTML:a._s(s.rules)}})]}))]:a._e()],2)])])],1)}),[],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e=s(0),i=s(49),n=s(50),o={components:{CasinoResult:i.a,AccountStatementSoda:n.a},props:["gtype","lastResults","showResults"],data:function(){return{imgPath:IMG_PATH,gameDetail:[],gameSoda:[],loading:!1,detailTitle:"",redArr:[1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36],blackArr:[2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35]}},methods:{getRouletteColor:function(a){var t=Number(a),s="";return this.redArr.includes(t)?s="red":this.blackArr.includes(t)?s="black":0===t&&(s="green"),s},showResult:function(a){var t=this;this.loading||(this.$store.state.isLoading=!0,e.a.callApi("accstatepopup",{gmid:0,mid:a,gtype:this.gtype,dtype:"cs"}).then((function(a){200==a.status?(t.gameDetail=_.get(a.data,"t1")?_.get(a.data,"t1"):{},Vue.set(t.gameDetail,"gType",t.gtype),Vue.set(t.gameDetail,"dType","cs"),t.detailTitle=t.gameDetail.ename?t.gameDetail.ename:"",t.gameSoda=_.get(a.data,"t2"),t.$refs["detail-modal"].show(),t.$store.state.isLoading=!1):(t.gameDetail={},t.gameSoda=[],t.$store.state.isLoading=!1)})).catch((function(a){t.gameDetail={},t.gameSoda=[],t.$store.state.isLoading=!1})))}}},c=s(1),r=Object(c.a)(o,(function(){var a=this,t=a._self._c;return a.gtype?t("div",{staticClass:"casino-video-last-results",class:{"hide-lr":!a.showResults}},["race17"==a.gtype||"vrace17"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("Y")]:a._e(),a._v(" "),0==s.win?[a._v("N")]:a._e()],2)]}))]:"teen20b"==a.gtype||"trap"==a.gtype||"patti2"==a.gtype||"teensin"==a.gtype||"teenmuf"==a.gtype||"teen"==a.gtype||"teen3"==a.gtype||"teen20"==a.gtype||"teen6"==a.gtype||"teen2024"==a.gtype||"poker20"==a.gtype||"poker"==a.gtype||"vteen"==a.gtype||"vteen20"==a.gtype||"vteenmuf"==a.gtype||"vtrap"==a.gtype||"teen32"==a.gtype||"teen33"==a.gtype||"teen41"==a.gtype||"teen42"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:a._e(),a._v(" "),2==s.win?[a._v("B")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"teen1"==a.gtype||"teen120"==a.gtype||"vteen1"==a.gtype||"vteen120"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("P")]:2==s.win?[a._v("D")]:[a._v("T")]],2)]}))]:"teen8"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resulttie",on:{click:function(t){return a.showResult(s.mid)}}},[a._v("R")])]}))]:"teen9"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resultc:3==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("T")]:a._e(),a._v(" "),2==s.win?[a._v("L")]:a._e(),a._v(" "),3==s.win?[a._v("D")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"trio"==a.gtype||"vtrio"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,on:{click:function(t){return a.showResult(s.mid)}}},[a._v("\n                R\n            ")])]}))]:"superover"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("E")]:a._e(),a._v(" "),2==s.win?[a._v("R")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"superover2"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("I")]:a._e(),a._v(" "),2==s.win?[a._v("E")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"superover3"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("I")]:a._e(),a._v(" "),2==s.win?[a._v("A")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"cricketv3"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:a._e(),a._v(" "),2==s.win?[a._v("I")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"poker6"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resulttie",on:{click:function(t){return a.showResult(s.mid)}}},[0==s.win?[a._v("T")]:a._e(),a._v(" "),11==s.win?[a._v("1")]:a._e(),a._v(" "),12==s.win?[a._v("2")]:a._e(),a._v(" "),13==s.win?[a._v("3")]:a._e(),a._v(" "),14==s.win?[a._v("4")]:a._e(),a._v(" "),15==s.win?[a._v("5")]:a._e(),a._v(" "),16==s.win?[a._v("6")]:a._e()],2)]}))]:"baccarat"==a.gtype||"baccarat2"==a.gtype||"vbaccarat"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:3==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("P")]:2==s.win||4==s.win?[a._v("B")]:[a._v("T")]],2)]}))]:"dt6"==a.gtype||"vdt6"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("D")]:a._e(),a._v(" "),2==s.win?[a._v("T")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"dtl20"==a.gtype||"vdtl20"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:21==s.win},{resultc:41==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("D")]:a._e(),a._v(" "),21==s.win?[a._v("T")]:a._e(),a._v(" "),41==s.win?[a._v("L")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"dt20"==a.gtype||"dt202"==a.gtype||"vdt20"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:3==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("D")]:a._e(),a._v(" "),2==s.win?[a._v("T")]:a._e(),a._v(" "),3==s.win?[a._v("T")]:a._e()],2)]}))]:"card32"==a.gtype||"card32eu"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("8")]:a._e(),a._v(" "),2==s.win?[a._v("9")]:a._e(),a._v(" "),3==s.win?[a._v("10")]:a._e(),a._v(" "),4==s.win?[a._v("11")]:a._e()],2)]}))]:"abj"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:a._e(),a._v(" "),2==s.win?[a._v("B")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"lucky7"==a.gtype||"lucky7eu"==a.gtype||"lucky7eu2"==a.gtype||"vlucky7"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resultlow:1==s.win},{resulthigh:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("L")]:a._e(),a._v(" "),2==s.win?[a._v("H")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"worli"==a.gtype||"worli2"==a.gtype||"war"==a.gtype||"3cardj"==a.gtype||"ab20"==a.gtype||"notenum"==a.gtype||"kbc"==a.gtype||"ab3"==a.gtype||"ballbyball"==a.gtype||"ab4"==a.gtype||"goal"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[a._v("\n                R\n            ")])]}))]:"aaa"==a.gtype||"aaa2"==a.gtype||"vaaa"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resultc:3==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:a._e(),a._v(" "),2==s.win?[a._v("B")]:a._e(),a._v(" "),3==s.win?[a._v("C")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"btable"==a.gtype||"vbtable"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",class:[{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:a._e(),a._v(" "),2==s.win?[a._v("B")]:a._e(),a._v(" "),3==s.win?[a._v("C")]:a._e(),a._v(" "),4==s.win?[a._v("D")]:a._e(),a._v(" "),5==s.win?[a._v("E")]:a._e(),a._v(" "),6==s.win?[a._v("F")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"cmatch20"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"cricket20lastresult",on:{click:function(t){return a.showResult(s.mid)}}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/ball").concat(s.win,".png")}})])]}))]:"cmeter"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("L")]:a._e(),a._v(" "),2==s.win?[a._v("H")]:a._e(),a._v(" "),0==s.win?[a._v("T")]:a._e()],2)]}))]:"queen"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("0")]:2==s.win?[a._v("1")]:3==s.win?[a._v("2")]:4==s.win?[a._v("3")]:0==s.win?[a._v("T")]:a._e()],2)]}))]:"race20"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:0==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?t("img",{attrs:{src:a.imgPath+"admin/img/cards/spade.png"}}):a._e(),a._v(" "),2==s.win?t("img",{attrs:{src:a.imgPath+"admin/img/cards/heart.png"}}):a._e(),a._v(" "),3==s.win?t("img",{attrs:{src:a.imgPath+"admin/img/cards/club.png"}}):a._e(),a._v(" "),4==s.win?t("img",{attrs:{src:a.imgPath+"admin/img/cards/diamond.png"}}):a._e()])]}))]:"lottcard"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[a._v(a._s(s.win))])]}))]:"race2"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:2==s.win?[a._v("B")]:3==s.win?[a._v("C")]:4==s.win?[a._v("D")]:0==s.win?[a._v("T")]:a._e()],2)]}))]:"dum10"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("Y")]:2==s.win?[a._v("N")]:a._e()],2)]}))]:"cmeter1"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,class:[{resulta:1==s.win},{resultb:2==s.win},{resulttie:3==s.win}],on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("A")]:a._e(),a._v(" "),2==s.win?[a._v("B")]:a._e(),a._v(" "),3==s.win?[a._v("T")]:a._e()],2)]}))]:"sicbo"==a.gtype||"sicbo2"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[s.win?[a._v(a._s(s.win))]:a._e()],2)]}))]:"lucky15"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"resultb",on:{click:function(t){return a.showResult(s.mid)}}},[1==s.win?[a._v("0")]:a._e(),a._v(" "),2==s.win?[a._v("1")]:a._e(),a._v(" "),3==s.win?[a._v("2")]:a._e(),a._v(" "),4==s.win?[a._v("4")]:a._e(),a._v(" "),5==s.win?[a._v("6")]:a._e(),a._v(" "),6==s.win?[a._v("W")]:a._e()],2)]}))]:"ourroullete"==a.gtype?[a._l(a.lastResults,(function(s,e){return[t("span",{key:e,staticClass:"result",class:a.getRouletteColor(s.win),on:{click:function(t){return a.showResult(s.mid)}}},[a._v("\n                "+a._s(s.win)+"\n            ")])]}))]:a._e(),a._v(" "),t("b-modal",{ref:"detail-modal",attrs:{"modal-class":"casino-result","hide-footer":"",size:"xl",title:a.detailTitle+" Result"}},[t("CasinoResult",{attrs:{resultData:a.gameDetail}}),a._v(" "),t("AccountStatementSoda",{attrs:{gameSoda:a.gameSoda,desc:a.gameDetail.rdesc}})],1)],2):a._e()}),[],!1,null,null,null);t.a=r.exports},function(a,t,s){"use strict";var e={props:["card","lotteryCard"],data:function(){return{imgPath:IMG_PATH+"admin/img/cards/",newImgPath:IMG_PATH+"admin/img/lottery/cards/"}}},i=(s(640),s(1)),n=Object(i.a)(e,(function(){var a=this._self._c;return a("span",[a("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[this.lotteryCard?a("img",{key:this.card,attrs:{src:"".concat(this.newImgPath).concat(this.card,".png")}}):a("img",{key:this.card,attrs:{src:"".concat(this.imgPath).concat(this.card,".png")}})])],1)}),[],!1,null,"79776e43",null);t.a=n.exports},,function(a,t,s){"use strict";var e=s(16),i=s(0),n={data:function(){return{imgPath:IMG_PATH,viewMoreBets:[],casinoRules:[],showDesc:null}},props:["mid","gtype"],components:{simplebar:e.a},mounted:function(){this.getCasinoRules()},methods:{toggleDiv:function(a){this.showDesc===a?this.showDesc=null:this.showDesc=a},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("casino/viewmorebets",{mid:parseInt(this.mid),gtype:this.gtype,grp:this.$store.state.grp}).then((function(t){200==t.status?a.viewMoreBets=t.data:a.viewMoreBets=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets=[],a.$store.state.isLoading=!1}))},getCasinoRules:function(){var a=this;this.casinoRules=[],i.a.callApi("casino/rules",{gtype:this.gtype}).then((function(t){200==t.status?a.casinoRules=t.data:a.casinoRules=[]})).catch((function(t){a.casinoRules=[]}))}}},o=s(1),c=Object(o.a)(n,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"right-sidebar"},[a.$store.getters.isMobile?t("div",{staticClass:"casino-right-sidebar"},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"casino-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},["kbc"==a.gtype?t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Date")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[t("span",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"float-right"})])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"3"}},[t("div",{staticClass:"kbcbtesbox casino-place-bet-row"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"bet-box"},[t("span",[a._v(a._s("[Q".concat(e+1,"] ").concat(s.c[0].s)))])])]})),a._v(" "),s.bhav?t("div",{staticClass:"text-center"},[1==s.bhav?t("div",{staticClass:"hbtn"},[a._v("\n                              4 Cards Quit\n                          ")]):2==s.bhav?t("div",{staticClass:"fbtn"},[a._v("\n                              50-50 Quit\n                          ")]):3==s.bhav?t("div",{staticClass:"fivebtn"},[a._v("\n                              5 Cards\n                          ")]):a._e()]):a._e()],2)])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"3"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"3"}},[a._v("No records found")])])])]):t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Amount")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"float-right"})])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"})]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"4"}},[a._v("No records found")])])])])])])])])]),a._v(" "),a.casinoRules&&a.casinoRules.length>0?t("div",{staticClass:"card m-b-10"},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title d-inline-block"},[a._v("\n          Rules\n          ")])]),a._v(" "),t("div",{staticClass:"card-body",staticStyle:{padding:"10px"}},a._l(a.casinoRules,(function(s,e){return t("table",{staticClass:"table table-bordered rules-table"},[t("tbody",[[t("tr",{staticClass:"text-center"},[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.hed))])]),a._v(" "),a._l(s.child,(function(s,e){return t("tr",[t("td",{attrs:{width:"60%"}},[a._v(a._s(s.nat))]),a._v(" "),t("td",[a._v(a._s(s.resval))])])}))]],2)])})),0)]):a._e()]):t("simplebar",{attrs:{"data-simplebar-auto-hide":"true"}},[t("div",{staticClass:"casino-right-sidebar"},[t("div",{staticClass:"card m-b-10 my-bet"},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},["kbc"==a.gtype?t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("PlaceDate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Gametype")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",[a._v(a._s(s.nat))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[t("span",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"float-right"})]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.gtype))])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"3"}},[t("div",{staticClass:"kbcbtesbox casino-place-bet-row"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"bet-box"},[t("span",[a._v(a._s("[Q".concat(e+1,"] ").concat(s.c[0].s)))])])]})),a._v(" "),s.bhav?t("div",{staticClass:"text-center"},[1==s.bhav?t("div",{staticClass:"hbtn"},[a._v("\n                              [4 Cards Quit]\n                          ")]):2==s.bhav?t("div",{staticClass:"fbtn"},[a._v("\n                              [50-50 Quit]\n                          ")]):3==s.bhav?t("div",{staticClass:"fivebtn"},[a._v("\n                              [5 Cards]\n                          ")]):a._e()]):a._e()],2)])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"3"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"6"}},[a._v("No records found")])])])]):t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("PlaceDate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Gametype")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]}),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",[a._v(a._s(s.nat))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.gtype))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"6"}},[a._v("No records found")])])])])])])])])]),a._v(" "),a.casinoRules&&a.casinoRules.length>0?t("div",{staticClass:"card m-b-10"},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title d-inline-block"},[a._v("\n          Rules\n          ")])]),a._v(" "),t("div",{staticClass:"card-body",staticStyle:{padding:"10px"}},a._l(a.casinoRules,(function(s,e){return t("table",{staticClass:"table table-bordered rules-table"},[t("tbody",[[t("tr",{staticClass:"text-center"},[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.hed))])]),a._v(" "),a._l(s.child,(function(s,e){return t("tr",[t("td",{attrs:{width:"60%"}},[a._v(a._s(s.nat))]),a._v(" "),t("td",[a._v(a._s(s.resval))])])}))]],2)])})),0)]):a._e()])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("casino-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v(a._s(a.$store.state.casinoBetSoda?a.$store.state.casinoBetSoda.length:0))]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e(),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[t("div",{staticClass:"m-t-20 view-more-modal"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-diamond table-bordered"},[t("thead",[t("tr",[t("th",[a._v("No")]),a._v(" "),t("th",[a._v("UserName")]),a._v(" "),t("th",[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("User Rate")]),a._v(" "),t("th",[a._v("Place Date")]),a._v(" "),t("th",[a._v("IP")]),a._v(" "),t("th",[a._v("Browser Details")])])]),a._v(" "),null!=a.viewMoreBets&&a.viewMoreBets.length>0?t("tbody",[a._l(a.viewMoreBets,(function(s,e){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",[a._v(a._s(e+1))]),a._v(" "),t("td",["kbc"==a.gtype?t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.toggleDiv(e)}}},[t("u",[a._v(a._s(s.uname))])]):t("span",[a._v(a._s(s.uname))])]),a._v(" "),t("td",[a._v(a._s(s.nat))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}]}),a._v(" "),t("td",[a._v(a._s(s.ip))]),a._v(" "),t("td",[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip",value:s.bdetail,expression:"bet.bdetail"}],staticClass:"text-success",attrs:{href:"javascript:void(0)"}},[a._v("Detail")])])]),a._v(" "),s.natjson&&a.showDesc===e?t("tr",[t("td",{attrs:{colspan:"8"}},[t("div",{staticClass:"kbcbtesbox casino-place-bet-row"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"bet-box"},[t("span",[a._v(a._s("[Q".concat(e+1,"] ").concat(s.c[0].s)))])])]})),a._v(" "),s.bhav?t("div",{staticClass:"bet-box"},[1==s.bhav?t("div",{staticClass:"hbtn"},[a._v("\n                                        [4 Cards Quit]\n                                    ")]):2==s.bhav?t("div",{staticClass:"fbtn"},[a._v("\n                                        [50-50 Quit]\n                                    ")]):3==s.bhav?t("div",{staticClass:"fivebtn"},[a._v("\n                                        [5 Cards]\n                                    ")]):a._e()]):a._e()],2)])]):a._e()]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"8"}},[a._v("No records found")])])])])])])])])],1)}),[],!1,null,null,null);t.a=c.exports},,function(a,t,s){"use strict";var e={components:{},data:function(){return{currentRoute:this.$route.path}},props:{title:{type:String,default:""},items:{type:Array,default:function(){return[]}}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"page-title-box d-flex align-items-center justify-content-between"},[t("h4",{staticClass:"mb-0 font-size-18"},[a._v(a._s(a.title))]),a._v(" "),t("div",{staticClass:"page-title-right"},["/admin/users"!=a.currentRoute&&"/admin/users2"!=a.currentRoute||!a.$store.state.acl.uinsert?a._e():t("div",{staticClass:"d-inline-block"},[t("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"Insertuser"}}},[a._v(" Add Account")])],1)])])])])}),[],!1,null,null,null);t.a=n.exports},,function(a,t,s){"use strict";var e=s(11),i=s.n(e),n=s(304);i.a.use(n.a),t.a=new n.a.Store({state:{WMSG:"",user:{bal:0,exp:0,uname:""},adminUser:{},acl:{dashboard:!1,ma:!1,ulist:!1,uinsert:!1,bank:!1,raccst:!1,reportpl:!1,reportcb:!1,reportuh:!1,glock:!1,casinores:!1,lcasinores:!1,casinolist:!1,events:!1,searchanalysis:!1,loginuc:!1,withdraw:!1,depo:!1,creditref:!1,uinfo:!1,upass:!1,ulock:!1,block:!1,reporttu:!1},userdata:{},calDateFormate:"DD/MM/YYYY",collapsSidebar:!1,collapsMobileSidebar:!1,isLoading:!1,useri18n:{uname:"User Name",fname:"Full Name",mno:"Mobile Number",ct:"City",webdom:"Web Domain",webref:"Web Reference",cbal:"Credit Balance",sbal:"S Balance",bal:"Balance",gen:"General Balance",crebal:"crebal",tparty:"tparty",pname:"Partnership Type",part:"Partnership",plname:"Panel Part",cdt:"Created Date"},tree:[],treelist2:[],treelist3:[],treelist4:[],treelist5:[],etid:null,cid:null,gameId:null,betSoda:null,sportbetBook:null,fancybetBook:null,casinoBetSoda:null,casinobetBook:null,casinoFancybetBook:null,userLock:[],generalLock:{guid:"",mpass:""},calDateFormat:"DD/MM/YYYY",is_tablet:IS_TABLET,is_mobile:IS_MOBILE,ipop:!1,mmval:1,voamt:1,fraudCount:0,brate:1,bratemin:1,bratemul:1,brateSport:1,brateminSport:1,bratemulSport:1,grp:0},getters:{ipAddress:function(){return IP_ADDRESS},sortedCasinoList:function(a){return _.orderBy(a.casinoList,"listono")},isTablet:function(a){return a.is_tablet},isMobile:function(a){return a.is_mobile},themeType:function(){return THEME_TYPE},treeData:function(a){if(a.tree&&a.tree.length)for(var t=0;t<a.tree.length;t++){var s=a.tree[t];if(a.etid==s.etid?i.a.set(s,"expand",!0):i.a.set(s,"expand",!1),s.children&&s.children.length)for(var e=0;e<s.children.length;e++){var n=s.children[e];a.cid==n.cid?i.a.set(n,"expand",!0):i.a.set(n,"expand",!1)}}return a.tree},treeTotalEvents:function(a){return function(t){var s=0;if(a.tree&&a.tree.length)for(var e=0;e<a.tree.length;e++){var i=a.tree[e];if(t==i.etid&&i.children&&i.children.length)for(var n=0;n<i.children.length;n++){s+=i.children[n].children.length}}return s}}},mutations:{initialiseStore:function(a){if(localStorage.getItem("admin_user")){var t=JSON.parse(localStorage.getItem("admin_user"));this.commit("updatePermission",t.pcode)}},updatePermission:function(a,t){var s=t.split(","),e={dashboard:!!s.includes("dashboard"),ma:!!s.includes("ma"),ulist:!!s.includes("ulist"),uinsert:!!s.includes("uinsert"),bank:!!s.includes("bank"),raccst:!!s.includes("raccst"),reportpl:!!s.includes("reportpl"),reportcb:!!s.includes("reportcb"),reportuh:!!s.includes("reportuh"),glock:!!s.includes("glock"),casinores:!!s.includes("casinores"),lcasinores:!!s.includes("lcasinores"),casinolist:!!s.includes("casinolist"),events:!!s.includes("events"),searchanalysis:!!s.includes("searchanalysis"),loginuc:!!s.includes("loginuc"),withdraw:!!s.includes("withdraw"),depo:!!s.includes("depo"),creditref:!!s.includes("creditref"),uinfo:!!s.includes("uinfo"),upass:!!s.includes("upass"),ulock:!!s.includes("ulock"),block:!!s.includes("block"),reporttu:!!s.includes("reporttu")};a.acl=e},toggleMainSidebar:function(a){a.collapsSidebar=!a.collapsSidebar,a.collapsSidebar?document.body.classList.add("sidebar-xs"):document.body.classList.remove("sidebar-xs")},toggleMobileSidebar:function(a){a.collapsMobileSidebar=!a.collapsMobileSidebar,a.collapsMobileSidebar?(document.body.classList.add("sidebar-mobile-main"),document.body.classList.remove("sidebar-mobile-secondary"),document.body.classList.remove("sidebar-mobile-right")):document.body.classList.remove("sidebar-mobile-main")}}})},,,,,,,function(a,t,s){"use strict";var e={data:function(){return{}},props:["totalTime","currentTime"],computed:{getWidth:function(){return"".concat((100*this.currentTime/this.totalTime).toFixed(2),"%")}},methods:{getProgressClass:function(){return this.currentTime<=3?"bg-danger":this.currentTime<=6?"bg-warning":"bg-success"}}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return a("div",{staticClass:"progress mobile-timer"},[a("div",{staticClass:"progress-bar",class:this.getProgressClass(),style:{width:this.getWidth}})])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(16),i=s(0),n={data:function(){return{imgPath:IMG_PATH,viewMoreBets:[],casinoRules:[],showDesc:null}},props:["mid","gtype"],components:{simplebar:e.a},mounted:function(){this.getCasinoRules()},methods:{toggleDiv:function(a){this.showDesc===a?this.showDesc=null:this.showDesc=a},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("vcasino/viewmorebets",{mid:parseInt(this.mid),gtype:this.gtype}).then((function(t){200==t.status?a.viewMoreBets=t.data:a.viewMoreBets=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets=[],a.$store.state.isLoading=!1}))},getCasinoRules:function(){var a=this;this.casinoRules=[],i.a.callApi("casino/rules",{gtype:this.gtype}).then((function(t){200==t.status?a.casinoRules=t.data:a.casinoRules=[]})).catch((function(t){a.casinoRules=[]}))}}},o=s(1),c=Object(o.a)(n,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"right-sidebar"},[a.$store.getters.isMobile?t("div",{staticClass:"casino-right-sidebar"},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"casino-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},["kbc"==a.gtype?t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Date")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[t("span",{staticClass:"float-right"},[a._v(a._s(s.pdt))])])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"3"}},[t("div",{staticClass:"kbcbtesbox casino-place-bet-row"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"bet-box"},[t("span",[a._v(a._s("[Q".concat(e+1,"] ").concat(s.c[0].s)))])])]})),a._v(" "),s.bhav?t("div",{staticClass:"text-center"},[1==s.bhav?t("div",{staticClass:"hbtn"},[a._v("\n                              4 Cards Quit\n                          ")]):2==s.bhav?t("div",{staticClass:"fbtn"},[a._v("\n                              50-50 Quit\n                          ")]):3==s.bhav?t("div",{staticClass:"fivebtn"},[a._v("\n                              5 Cards\n                          ")]):a._e()]):a._e()],2)])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"3"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"3"}},[a._v("No records found")])])])]):t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Amount")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{staticClass:"float-right"},[a._v(a._s(s.pdt))])])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"})]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"4"}},[a._v("No records found")])])])])])])])])]),a._v(" "),a.casinoRules&&a.casinoRules.length>0?t("div",{staticClass:"card m-b-10"},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title d-inline-block"},[a._v("\n          Rules\n          ")])]),a._v(" "),t("div",{staticClass:"card-body",staticStyle:{padding:"10px"}},a._l(a.casinoRules,(function(s,e){return t("table",{staticClass:"table table-bordered rules-table"},[t("tbody",[[t("tr",{staticClass:"text-center"},[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.hed))])]),a._v(" "),a._l(s.child,(function(s,e){return t("tr",[t("td",{attrs:{width:"60%"}},[a._v(a._s(s.nat))]),a._v(" "),t("td",[a._v(a._s(s.resval))])])}))]],2)])})),0)]):a._e()]):t("simplebar",{attrs:{"data-simplebar-auto-hide":"true"}},[t("div",{staticClass:"casino-right-sidebar"},[t("div",{staticClass:"card m-b-10 my-bet"},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},["kbc"==a.gtype?t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Date")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[t("span",{staticClass:"float-right"},[a._v(a._s(s.pdt))])])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"3"}},[t("div",{staticClass:"kbcbtesbox casino-place-bet-row"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"bet-box"},[t("span",[a._v(a._s("[Q".concat(e+1,"] ").concat(s.c[0].s)))])])]})),a._v(" "),s.bhav?t("div",{staticClass:"text-center"},[1==s.bhav?t("div",{staticClass:"hbtn"},[a._v("\n                              [4 Cards Quit]\n                          ")]):2==s.bhav?t("div",{staticClass:"fbtn"},[a._v("\n                              [50-50 Quit]\n                          ")]):3==s.bhav?t("div",{staticClass:"fivebtn"},[a._v("\n                              [5 Cards]\n                          ")]):a._e()]):a._e()],2)])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"3"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"3"}},[a._v("No records found")])])])]):t("table",{staticClass:"table coupon-table table-striped mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Amount")])])]),a._v(" "),null!=a.$store.state.casinoBetSoda?t("tbody",[a._l(a.$store.state.casinoBetSoda,(function(s){return[t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{staticClass:"float-right"},[a._v(a._s(s.pdt))])])]),a._v(" "),t("tr",{class:[{"back-border":"back"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"lay-border":"lay"==s.btype.toLowerCase()&&"AndarBahar"!=a.$route.name},{"andar-border":s.nat.match(/andar/i)&&"AndarBahar"==a.$route.name},{"bahar-border":s.nat.match(/bahar/i)&&"AndarBahar"==a.$route.name}]},[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"})]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"4"}},[a._v("No records found")])])])])])])])])]),a._v(" "),a.casinoRules&&a.casinoRules.length>0?t("div",{staticClass:"card m-b-10"},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title d-inline-block"},[a._v("\n          Rules\n          ")])]),a._v(" "),t("div",{staticClass:"card-body",staticStyle:{padding:"10px"}},a._l(a.casinoRules,(function(s,e){return t("table",{staticClass:"table table-bordered rules-table"},[t("tbody",[[t("tr",{staticClass:"text-center"},[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.hed))])]),a._v(" "),a._l(s.child,(function(s,e){return t("tr",[t("td",{attrs:{width:"60%"}},[a._v(a._s(s.nat))]),a._v(" "),t("td",[a._v(a._s(s.resval))])])}))]],2)])})),0)]):a._e()])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("casino-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v(a._s(a.$store.state.casinoBetSoda?a.$store.state.casinoBetSoda.length:0))]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e(),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[t("div",{staticClass:"m-t-20 view-more-modal"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-diamond table-bordered"},[t("thead",[t("tr",[t("th",[a._v("No")]),a._v(" "),t("th",[a._v("UserName")]),a._v(" "),t("th",[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Amount")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("User Rate")]),a._v(" "),t("th",[a._v("Place Date")]),a._v(" "),t("th",[a._v("IP")]),a._v(" "),t("th",[a._v("Browser Details")])])]),a._v(" "),null!=a.viewMoreBets&&a.viewMoreBets.length>0?t("tbody",[a._l(a.viewMoreBets,(function(s,e){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",[a._v(a._s(e+1))]),a._v(" "),t("td",["kbc"==a.gtype?t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.toggleDiv(e)}}},[t("u",[a._v(a._s(s.uname))])]):t("span",[a._v(a._s(s.uname))])]),a._v(" "),t("td",[a._v(a._s(s.nat))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}]}),a._v(" "),t("td",[a._v(a._s(s.ip))]),a._v(" "),t("td",[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip",value:s.bdetail,expression:"bet.bdetail"}],staticClass:"text-success",attrs:{href:"javascript:void(0)"}},[a._v("Detail")])])]),a._v(" "),s.natjson&&a.showDesc===e?t("tr",[t("td",{attrs:{colspan:"8"}},[t("div",{staticClass:"kbcbtesbox casino-place-bet-row"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"bet-box"},[t("span",[a._v(a._s("[Q".concat(e+1,"] ").concat(s.c[0].s)))])])]})),a._v(" "),s.bhav?t("div",{staticClass:"bet-box"},[1==s.bhav?t("div",{staticClass:"hbtn"},[a._v("\n                                        [4 Cards Quit]\n                                    ")]):2==s.bhav?t("div",{staticClass:"fbtn"},[a._v("\n                                        [50-50 Quit]\n                                    ")]):3==s.bhav?t("div",{staticClass:"fivebtn"},[a._v("\n                                        [5 Cards]\n                                    ")]):a._e()]):a._e()],2)])]):a._e()]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"8"}},[a._v("No records found")])])])])])])])])],1)}),[],!1,null,null,null);t.a=c.exports},,,,,,,function(a,t,s){"use strict";var e=s(2),i=s.n(e),n=s(0),o={props:["gameSoda"],data:function(){return{winTotal:0,sodaTotal:0,selected:[],ipdetail:"",options:[{text:"All",value:"all"},{text:"Back",value:"back"},{text:"Lay",value:"lay"},{text:"Deleted",value:"deleted"}],searchForm:{uname:"",ip:"",amountFrom:"",amountTo:"",betType:"all"},sodaList:[]}},mounted:function(){this.sodaList=this.gameSoda,this.calculateTotalWin()},computed:{},watch:{selected:function(){var a=this,t=this;this.selected.length>0?(this.winTotal=0,this.sodaTotal=0,_.forEach(this.sodaList,(function(s,e){t.selected.includes(e)&&(a.winTotal+=s.amt,a.sodaTotal++)}))):this.calculateTotalWin()},gameSoda:function(){this.resetSearchForm()}},methods:{changeDataFormat:function(a){return i()(String(a)).format("YYYY/MM/DD")},changeType:function(a){this.selected=[],this.searchForm.betType=a,this.searchBetList()},calculateTotalWin:function(){this.sodaTotal=this.sodaList?this.sodaList.length:0,"deleted"==this.searchForm.betType?this.winTotal=0:this.winTotal=_.sumBy(this.sodaList,(function(a){return a.amt}))},checkIP:function(a){var t=this;this.$store.state.isLoading=!0,n.a.callApi("report/checkip",{ip:a}).then((function(a){t.$store.state.isLoading=!1,a.success?(t.ipdetail=a.data,t.$refs.ipdetail.show()):t.ipdetail=[]})).catch((function(a){t.$store.state.isLoading=!1,t.ipdetail=[]}))},searchBetList:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s=[];_.forEach(t.gameSoda,(function(a,e){var i=!0;""!=t.searchForm.uname&&(a.uname.toLowerCase().indexOf(t.searchForm.uname)>-1||(i=!1)),""!=t.searchForm.amountFrom&&a.amt<t.searchForm.amountFrom&&(i=!1),""!=t.searchForm.amountTo&&a.amt>t.searchForm.amountTo&&(i=!1),""!=t.searchForm.ip&&(a.ip.indexOf(t.searchForm.ip)>-1||(i=!1)),""!=t.searchForm.betType&&("all"==t.searchForm.betType?1!=a.match&&(i=!1):"back"==t.searchForm.betType?1==a.match&&"back"==a.btype||(i=!1):"lay"==t.searchForm.betType?1==a.match&&"lay"==a.btype||(i=!1):"deleted"==t.searchForm.betType&&1==a.match&&(i=!1)),1==i&&s.push(a)})),t.sodaList=s,t.calculateTotalWin()}}))},resetSearchForm:function(){this.searchForm={uname:"",ip:"",amountFrom:"",amountTo:"",betType:"all"},this.sodaList=this.gameSoda,this.calculateTotalWin()}}},c=s(1),r=Object(c.a)(o,(function(){var a=this,t=a._self._c;return t("div",[a.gameSoda&&a.gameSoda.length?t("div",[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"searchBets"},on:{submit:function(t){return t.preventDefault(),a.searchBetList("searchBets")}}},[t("div",{staticClass:"row row5 align-items-center mb-3"},[t("div",{staticClass:"col-xl-2"},[t("label",{attrs:{for:"uname"}},[a._v("Username")]),a._v(" "),t("b-form-input",{attrs:{id:"uname",type:"text",placeholder:"Search Username"},model:{value:a.searchForm.uname,callback:function(t){a.$set(a.searchForm,"uname",t)},expression:"searchForm.uname"}})],1),a._v(" "),t("div",{staticClass:"col-xl-3"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-6"},[t("label",{attrs:{for:"amountfrom"}},[a._v("Amount From")]),a._v(" "),t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"decimal:3",expression:"'decimal:3'"}],class:{"is-invalid":a.verrors.first("searchBets.amountFrom")},attrs:{id:"amountfrom",type:"text",name:"amountFrom",placeholder:"Amount From"},model:{value:a.searchForm.amountFrom,callback:function(t){a.$set(a.searchForm,"amountFrom",t)},expression:"searchForm.amountFrom"}})],1),a._v(" "),t("div",{staticClass:"col-6"},[t("label",{attrs:{for:"amountto"}},[a._v("Amount To")]),a._v(" "),t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"decimal:3",expression:"'decimal:3'"}],class:{"is-invalid":a.verrors.first("searchBets.amountto")},attrs:{id:"amountto",type:"text",name:"amountto",placeholder:"Amount To"},model:{value:a.searchForm.amountTo,callback:function(t){a.$set(a.searchForm,"amountTo",t)},expression:"searchForm.amountTo"}})],1)])]),a._v(" "),t("div",{staticClass:"col-xl-2"},[t("label",{attrs:{for:"amountto"}},[a._v("IP Address")]),a._v(" "),t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"ip",expression:"'ip'"}],class:{"is-invalid":a.verrors.first("searchBets.ip")},attrs:{id:"ipaddr",type:"text",name:"ip",placeholder:"IP Address"},model:{value:a.searchForm.ip,callback:function(t){a.$set(a.searchForm,"ip",t)},expression:"searchForm.ip"}})],1),a._v(" "),t("div",{staticClass:"col-xl-2 mt-4"},[t("b-button",{attrs:{type:"submit",variant:"primary"}},[a._v("Search")]),a._v(" "),t("b-button",{attrs:{type:"button",variant:"light"},on:{click:function(t){return a.resetSearchForm()}}},[a._v("Reset")])],1)])]),a._v(" "),t("div",{staticClass:"modal-chekbox"},[t("b-form-radio-group",{staticClass:"float-left",attrs:{id:"radio-group-1",options:a.options,name:"radio-options"},on:{change:function(t){return a.changeType(t)}},model:{value:a.searchForm.betType,callback:function(t){a.$set(a.searchForm,"betType",t)},expression:"searchForm.betType"}})],1),a._v(" "),t("div",{staticClass:"custom-control-inline float-right"},[t("h5",[a._v("\n        Total Soda: "),t("span",{staticClass:"text-success mr-2"},[a._v(a._s(a.sodaTotal))]),a._v(" Total Amount:\n        "),t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.winTotal,expression:"winTotal"}],class:{"text-success":a.winTotal>=0,"text-danger":a.winTotal<0}})])])]):a._e(),a._v(" "),a.sodaList&&a.sodaList.length?t("div",{staticClass:"table-responsive report-table"},[t("table",{staticClass:"table"},[a._m(0),a._v(" "),a.sodaList&&a.sodaList.length>0?t("tbody",[a._l(a.sodaList,(function(s,e){return[t("tr",{key:e,class:{"back-border":"back"==s.btype.toLowerCase()||"oddeven"==s.gtype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()&&"oddeven"!=s.gtype.toLowerCase()}},[t("td",{staticClass:"user-name"},[t("div",[a._v(a._s(s.uname))])]),a._v(" "),t("td",{staticClass:"event-name"},[t("div",[a._v(a._s(s.sname)+" "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2)]),a._v(" "),t("td",{staticClass:"text-right bet-user-rate"},[t("div",[a._v(a._s(s.urate))])]),a._v(" "),t("td",{staticClass:"text-right bet-amount"},[t("div",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"data.amt"}]})]),a._v(" "),t("td",{staticClass:"bet-date"},[t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.pdt},expression:"{ date: data.pdt }"}]})]),a._v(" "),t("td",[t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.checkIP(s.ip)}}},[a._v(a._s(s.ip))])]),a._v(" "),t("td",[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip",value:s.bdetail,expression:"data.bdetail"}],staticClass:"text-success",attrs:{href:"javascript:void(0)"}},[a._v("Detail")])]),a._v(" "),t("td",{staticClass:"text-right"},[t("b-form-checkbox",{attrs:{value:e},model:{value:a.selected,callback:function(t){a.selected=t},expression:"selected"}})],1)])]}))],2):t("tbody",[a._m(1)])])]):t("div",{staticClass:"table-responsive report-table text-center"},[a._v("No records found")]),a._v(" "),t("b-modal",{ref:"ipdetail",attrs:{size:"sm",title:"IP Details","header-bg-variant":"success","hide-footer":""}},[t("b-table-simple",{attrs:{hover:"",small:"","caption-top":"",responsive:""}},[t("b-thead",{attrs:{"head-variant":"dark"}},[t("b-tr",[t("b-th",[a._v("Key")]),a._v(" "),t("b-th",[a._v("Value")])],1)],1),a._v(" "),t("b-tbody",[t("b-tr",[t("b-td",[t("b",[a._v("IP:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.query))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("City:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.city))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Country:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.country))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Mobile:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.mobile))])],1)],1)],1)],1)],1)}),[function(){var a=this,t=a._self._c;return t("thead",[t("tr",[t("th",{staticClass:"user-name"},[t("div",[a._v("Username")])]),a._v(" "),t("th",{staticClass:"event-name"},[t("div",[a._v("Nation")])]),a._v(" "),t("th",{staticClass:"text-right bet-user-rate"},[t("div",[a._v("Rate")])]),a._v(" "),t("th",{staticClass:"text-right bet-amount"},[t("div",[a._v("Amount")])]),a._v(" "),t("th",{staticClass:"bet-date"},[t("div",[a._v("Date")])]),a._v(" "),t("th",[t("div",[a._v("IP")])]),a._v(" "),t("th",[t("div",[a._v("B Details")])]),a._v(" "),t("th",{staticClass:"text-right"},[t("div",[a._v("Action")])])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"8"}},[this._v("No Record Found")])])}],!1,null,null,null);t.a=r.exports},,,,,,,,,,,,function(a,t,s){"use strict";var e=s(36),i=s.n(e),n="Y0P7VroOisCSuBiHWBuUi040pXiS7EEU",o="zGtarIj0qn0EnWnD";t.a={encode:function(a){return i.a.AES.encrypt(a.toString(),i.a.enc.Utf8.parse(n),{iv:i.a.enc.Utf8.parse(o),mode:i.a.mode.CBC}).toString()},decode:function(a){var t=i.a.AES.decrypt(a,i.a.enc.Utf8.parse(n),{iv:i.a.enc.Utf8.parse(o),mode:i.a.mode.CBC});return i.a.enc.Utf8.stringify(t).toString()}}},,,function(a,t,s){"use strict";var e={props:["ball"],data:function(){return{imgPath:IMG_PATH+"admin/img/superOver/balls/"}},methods:{getBall:function(a){return 3==a.length?a.slice(0,1):4==a.length?a.slice(0,2):void 0}}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return a("span",[a("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[this.getBall(this.ball)?a("img",{key:this.ball,attrs:{src:"".concat(this.imgPath).concat(this.getBall(this.ball),".png")}}):this._e()])],1)}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";t.a={toCurrency:function(a){return a=null!=a?(a=parseFloat(a)).toLocaleString("EN-IN",{minimumFractionDigits:0,maximumFractionDigits:2}):""},toCurrencyInt:function(a){return a=null!=a?(a=parseInt(a)).toLocaleString("EN-IN"):""},toggleSideBar:function(){window.screen.width>=320||(document.body.classList.toggle("sidebar-enable"),document.body.classList.remove("vertical-collpsed"))},scrollToId:function(a){var t=document.getElementById(a);window.scrollTo({top:t.offsetTop,behavior:"smooth"})}}},,,,,,function(a,t,s){"use strict";function e(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return i(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return i(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,n=function(){};return{s:n,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,r=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return c=a.done,a},e:function(a){r=!0,o=a},f:function(){try{c||null==s.return||s.return()}finally{if(r)throw o}}}}function i(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var n={mounted:function(){var a=this;if(this.type=_.get(this.resultData,"gType"),this.cards=_.get(this.resultData,"card")?_.get(this.resultData,"card").split(","):[],this.desc=_.get(this.resultData,"rdesc")?_.get(this.resultData,"rdesc").split("#"):[],this.winners=_.get(this.resultData,"win")?_.get(this.resultData,"win").split(","):[],"card32"==this.type||"card32eu"==this.type){var t,s=1,i=e(this.cards);try{for(i.s();!(t=i.n()).done;){var n=t.value;s>4&&(s=1),"1"!=n&&(1==s&&(this.card32.players.p1.cards.push(n),this.card32.players.p1.count+=this.getCardValue(n)),2==s&&(this.card32.players.p2.cards.push(n),this.card32.players.p2.count+=this.getCardValue(n)),3==s&&(this.card32.players.p3.cards.push(n),this.card32.players.p3.count+=this.getCardValue(n)),4==s&&(this.card32.players.p4.cards.push(n),this.card32.players.p4.count+=this.getCardValue(n))),s++}}catch(a){i.e(a)}finally{i.f()}}if("queen"==this.type||"race2"==this.type){s=1;var o,c=e(this.cards);try{for(c.s();!(o=c.n()).done;){var r=o.value;s>4&&(s=1),"1"!=r&&(1==s&&(this.queen.players.p1.cards.push(r),"race2"!=this.type&&(this.queen.players.p1.count+=this.getCardValue(r))),2==s&&(this.queen.players.p2.cards.push(r),"race2"!=this.type&&(this.queen.players.p2.count+=this.getCardValue(r))),3==s&&(this.queen.players.p3.cards.push(r),"race2"!=this.type&&(this.queen.players.p3.count+=this.getCardValue(r))),4==s&&(this.queen.players.p4.cards.push(r),"race2"!=this.type&&(this.queen.players.p4.count+=this.getCardValue(r)))),s++}}catch(a){c.e(a)}finally{c.f()}}if("ab20"==this.type){var l="b";this.cards.forEach((function(t){"b"==l?(a.ab.bahar.push(t),l="a"):"a"==l&&(a.ab.andar.push(t),l="b")}))}if("race20"==this.type){var d,v=[],m=[],u=[],p=[],b=e(this.cards);try{for(b.s();!(d=b.n()).done;){var g=d.value,h="";1!=g&&(h=4==g.length?g.slice(2):g.slice(1)),"SS"==h?v.push(g):"HH"==h?m.push(g):"CC"==h?u.push(g):"DD"==h&&p.push(g)}}catch(a){b.e(a)}finally{b.f()}Vue.set(this.race20,"spadeCard",v),Vue.set(this.race20,"heartCard",m),Vue.set(this.race20,"clubCard",u),Vue.set(this.race20,"diamondCard",p)}if("abj"==this.type&&(this.cards.forEach((function(t,s){1!=t&&s>2&&(s%2!=0?a.abj.bahar.push(t):a.abj.andar.push(t))})),setTimeout((function(){$("#andarSlider, #baharSlider").owlCarousel({loop:!1,margin:0,responsiveClass:!0,slideBy:5,dots:!1,responsive:{0:{items:4,nav:!0},320:{items:4,nav:!0},411:{items:5,nav:!0},500:{items:6,nav:!0},600:{items:8,nav:!0},768:{items:8,nav:!0}}})}),800)),"ab3"!=this.type&&"ab4"!=this.type||(this.cards.forEach((function(t,s){1!=t&&(s%2==0?a.abj.bahar.push({card:t,key:s+1}):a.abj.andar.push({card:t,key:s+1}))})),setTimeout((function(){$("#andarSlider, #baharSlider").owlCarousel({loop:!1,margin:0,responsiveClass:!0,slideBy:5,dots:!1,responsive:{0:{items:4,nav:!0},320:{items:4,nav:!0},411:{items:5,nav:!0},500:{items:6,nav:!0},600:{items:8,nav:!0},768:{items:8,nav:!0}}})}),800)),"trap"==this.type||"vtrap"==this.type){var f=[],C=[];this.cards.forEach((function(a,t){t%2==0?1!=a&&f.push(a):1!=a&&C.push(a)}));for(var k=0,y=0,x=f;y<x.length;y++){var w=x[y],D="0";1!=w&&(D=4==w.length?w.slice(0,2):w.slice(0,1)),"K"==D&&(D=13),"Q"==D&&(D=12),"J"==D&&(D=11),"A"==D&&(D=1),k+=parseInt(D)}this.trap.count.playerA=k;for(var N=0,P=0,T=C;P<T.length;P++){var B=T[P],L="0";1!=B&&(L=4==B.length?B.slice(0,2):B.slice(0,1)),"K"==L&&(L=13),"Q"==L&&(L=12),"J"==L&&(L=11),"A"==L&&(L=1),N+=parseInt(L)}this.trap.count.playerB=N}if("cricketv"==this.type||"cricketv2"==this.type||"cricketv3"==this.type||"superover"==this.type||"superover2"==this.type||"superover3"==this.type){var A=[],R=0,z=0,E=[],O=0,S=0;this.resultData.score.forEach((function(a,t){var s=0,e=a.card.split(","),i=[],n="";e.forEach((function(a,t){"JCC"!=a&&"JSS"!=a&&"JHH"!=a&&"JDD"!=a||(s+=1,i.push("w"))})),1==a.wkt?i.push("ww"):i.push(a.run-s),(1==a.wkt||s>0)&&(n="text-playerb"),1==a.ing?(A[parseInt(a.oc)-1]||(A[parseInt(a.oc)-1]={run:0,score:0,wkt:0,nat:"",runData:[]}),R+=parseInt(a.run),z+=1==a.wkt?1:0,A[parseInt(a.oc)-1].run+=parseInt(a.run),A[parseInt(a.oc)-1].score=R,A[parseInt(a.oc)-1].wkt=z,A[parseInt(a.oc)-1].nat=a.nat,A[parseInt(a.oc)-1].runData.push({runText:i.join("+"),run:a.run,runclass:n})):(E[parseInt(a.oc)-1]||(E[parseInt(a.oc)-1]={run:0,score:0,wkt:0,nat:"",runData:[]}),O+=parseInt(a.run),S+=1==a.wkt?1:0,E[parseInt(a.oc)-1].run+=parseInt(a.run),E[parseInt(a.oc)-1].score=O,E[parseInt(a.oc)-1].wkt=S,E[parseInt(a.oc)-1].nat=a.nat,E[parseInt(a.oc)-1].runData.push({runText:i.join("+"),run:a.run,runclass:n}))})),this.cricketv3.team1Data=A,this.cricketv3.team2Data=E}"dum10"==this.type&&setTimeout((function(){$("#dum10Slider").owlCarousel({loop:!1,margin:0,responsiveClass:!0,slideBy:5,dots:!1,responsive:{0:{items:4,nav:!0},320:{items:4,nav:!0},411:{items:5,nav:!0},500:{items:6,nav:!0},600:{items:8,nav:!0},768:{items:8,nav:!0}}})}),800)},props:["resultData"],data:function(){return{imgPath:IMG_PATH,type:"",cards:[],desc:[],winners:[],card32:{players:{p1:{count:8,cards:[]},p2:{count:9,cards:[]},p3:{count:10,cards:[]},p4:{count:11,cards:[]}}},queen:{players:{p1:{count:0,cards:[]},p2:{count:1,cards:[]},p3:{count:2,cards:[]},p4:{count:3,cards:[]}}},ab:{andar:[],bahar:[]},race20:{spadeCard:[],heartCard:[],clubCard:[],diamondCard:[]},trap:{count:{playerA:0,playerB:0}},abj:{andar:[],bahar:[]},cricketv3:{},roulettePath:"".concat(IMG_PATH,"front/img/roulette")}},methods:{getCardValue:function(a){var t=0;return"K"==(t=4==a.length?a.slice(0,2):a.slice(0,1))&&(t=13),"Q"==t&&(t=12),"J"==t&&(t=11),"A"==t&&(t=1),parseInt(t)},changeDateTimeFormat:function(a){return moment(String(a),"MM-DD-YYYY hh:mm:ss A").format("DD/MM/YYYY HH:mm:ss")},checkLowCards:function(a){if(1==a||"9SS"==a||"10SS"==a)return!1;if(3==a.length){var t=a.slice(0,1);if("a"==t.toLowerCase()||t<=9)return!0}},checkHighCards:function(a){if(1==a||"9SS"==a||"10SS"==a)return!1;var t;if(3==a.length&&("j"==(t=a.slice(0,1)).toLowerCase()||"k"==t.toLowerCase()||"q"==t.toLowerCase()))return!0;if(4==a.length&&"10"==(t=a.slice(0,2)))return!0}}},o=s(1),c=Object(o.a)(n,(function(){var a=this,t=a._self._c;return t("div",[t("div",{staticClass:"casino-result-round"},[t("div",{},[a._v("Round-ID: "+a._s(a.resultData.rid))]),a._v(" "),t("div",{},[a._v("Match Time: "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.resultData.mtime},expression:"{ date: resultData.mtime }"}]})])]),a._v(" "),"teen"==a.type||"teen3"==a.type||"vteen"==a.type||"teen6"==a.type||"teen32"==a.type||"teen33"==a.type||"teen41"==a.type||"teen42"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),"teen3"!=a.type&&"teen32"!=a.type&&"teen33"!=a.type?["teen"!=a.type&&"vteen"!=a.type&&"teen41"!=a.type&&"teen42"!=a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Suit")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]):a._e(),a._v(" "),"teen41"!=a.type&&"teen42"!=a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]):a._e(),a._v(" "),"teen"==a.type||"vteen"==a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Consecutive")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]):a._e(),a._v(" "),"teen6"==a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Cards")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]):a._e(),a._v(" "),"teen6"==a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Under/Over")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])]):a._e(),a._v(" "),"teen41"==a.type||"teen42"==a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Under/Over")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]):a._e()]:a._e()],2):a._e()])])]:a._e(),a._v(" "),"teen9"==a.type?[t("div",{staticClass:"row row5 dtl20-result text-center"},[t("div",{staticClass:"col-12 col-lg-3"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{staticClass:"text-center"},[a._v("Tiger")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[6],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-3"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{staticClass:"text-center"},[a._v("Lion")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[7],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-3"},[t("div",{staticClass:"casino-result-cards"},[3==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{staticClass:"text-center"},[a._v("Dragon")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[8],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-3"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Others")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])])]):a._e()])])]:a._e(),a._v(" "),"teen20"==a.type||"vteen20"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc",class:{vteen20:"vteen20"==a.type}},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("3 Baccarat")]),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pair Plus")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Red Black")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"baccarat"==a.type||"baccarat2"==a.type||"vbaccarat"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player")]),a._v(" "),"1"!=a.cards[4]?t("div",{staticClass:"casino-result-cards-item l-rotate"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})]):a._e(),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Banker")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),"1"!=a.cards[5]?t("div",{staticClass:"casino-result-cards-item r-rotate"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})]):a._e()])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner Pair")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),"baccarat"==a.type?[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Perfect")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item",attrs:{v:""}},[t("div",[a._v("Either")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item",attrs:{v:""}},[t("div",[a._v("Big/Small")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]:[t("div",{staticClass:"casino-result-desc-item",attrs:{v:""}},[t("div",[a._v("Score")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])])]],2):a._e()])])]:a._e(),a._v(" "),"teen8"==a.type?[t("div",{staticClass:"row row5 casino-open"},[t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-open-result"},[a._l(8,(function(s){return[t("div",{key:s,staticClass:"casino-open-result-item"},[t("h4",{},[a._v(a._s(s))]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[s-1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[s+8],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[s+17],".png")}})]),a._v(" "),-1!=a.winners.indexOf(s.toString())?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])])]})),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{staticClass:"text-warning"},[a._v("D")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[8],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[17],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[26],".png")}})])])])])],2)]),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pair Plus")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[2].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[2].split("~")[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[2].split("~")[2]))])])]):a._e()])])]:a._e(),a._v(" "),"lucky7"==a.type||"lucky7eu"==a.type||"lucky7eu2"==a.type||"vlucky7"==a.type?[t("div",{staticClass:"row row5 align-items-center"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center",staticStyle:{"align-items":"flex-end"}},[t("div",{staticClass:"casino-result-cards"},["1"!=a.cards[0]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]):a._e()])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Line")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"poker"==a.type||"poker20"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-5"},[t("div",{staticClass:"casino-result-content mt-0"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:"".concat(a.imgPath,"admin/img/winner.png")}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:"".concat(a.imgPath,"admin/img/winner.png")}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4 d-flex align-items-center"},[t("div",{staticClass:"casino-result-cards d-block w-100"},[t("div",{staticClass:"text-center"},[t("h4",{staticClass:"text-center"},[a._v("Board")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[6],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[7],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[8],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-3"},["poker20"==a.type?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Main:")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Other:")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])])]):"poker"==a.type?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Main:")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("2 Card:")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("7 Card:")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])])]):a._e()])])]:a._e(),a._v(" "),"poker6"==a.type?[t("div",{staticClass:"row row5 poker6result"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards casino-open-result"},[a._l(6,(function(s){return[t("div",{key:s,staticClass:"casino-open-result-item"},[t("h4",{},[a._v(a._s(s))]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[s-1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[s+5],".png")}})]),a._v(" "),-1!=a.winners.indexOf("1"+s.toString())?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])])]}))],2)]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Board Card")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[12],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[13],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[14],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[15],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[16],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[a._m(0),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[a._m(1),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])])]):a._e()])])]:a._e(),a._v(" "),"dt6"==a.type||"dt20"==a.type||"dt202"==a.type||"vdt6"==a.type||"vdt20"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Dragon")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Tiger")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})])])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pair")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},["dt6"==a.type||"vdt6"==a.type?t("div",[a._v("Suit")]):"dt20"==a.type||"dt202"==a.type||"vdt20"==a.type?t("div",[a._v("Card")]):a._e(),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"dtl20"==a.type||"vdtl20"==a.type?[t("div",{staticClass:"row row5 dtl20-result text-center"},[t("div",{staticClass:"col-12 col-lg-2"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Dragon")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-2"},[t("div",{staticClass:"casino-result-cards"},[21==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Tiger")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-2"},[t("div",{staticClass:"casino-result-cards"},[41==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Lion")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-6"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Red/Black")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])])]):a._e()])])]:a._e(),a._v(" "),"aaa"==a.type||"aaa2"==a.type||"btable"==a.type||"vaaa"==a.type||"vbtable"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center",staticStyle:{"align-items":"flex-end"}},[t("div",{staticClass:"casino-result-cards"},["1"!=a.cards[0]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]):a._e()])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},["aaa"==a.type||"aaa2"==a.type||"vaaa"==a.type?[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Under/Over")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]:a._e(),a._v(" "),"btable"==a.type||"vbtable"==a.type?[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Dulha Dulhan/Barati")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]:a._e()],2):a._e()])])]:a._e(),a._v(" "),"worli"==a.type||"worli2"==a.type?[t("div",{staticClass:"row row5 worli-result"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pana:")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Ocada:")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])])]):a._e()])])]:a._e(),a._v(" "),"card32"==a.type||"card32eu"==a.type?[t("div",{staticClass:"row row5 card32result"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"row row5"},[a.card32.players.p1.cards&&a.card32.players.p1.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player 8 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.card32.players.p1.count))])]),a._v(" "),a._l(a.card32.players.p1.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e(),a._v(" "),a.card32.players.p2.cards&&a.card32.players.p2.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player 9 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.card32.players.p2.count))])]),a._v(" "),a._l(a.card32.players.p2.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e(),a._v(" "),a.card32.players.p3.cards&&a.card32.players.p3.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player 10 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.card32.players.p3.count))])]),a._v(" "),a._l(a.card32.players.p3.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),3==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e(),a._v(" "),a.card32.players.p4.cards&&a.card32.players.p4.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player 11 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.card32.players.p4.count))])]),a._v(" "),a._l(a.card32.players.p4.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),4==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e()])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),"card32eu"==a.type?[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Black/Red")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Single")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]:a._e()],2):a._e()])])]:a._e(),a._v(" "),"war"==a.type?[t("div",{staticClass:"row row5 war-result"},[t("div",{staticClass:"col-12 col-lg-6"},[t("div",{staticClass:"casino-open-result"},[t("div",{staticClass:"casino-open-result-item"},[t("h4",{},[a._v("1")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),a.winners.includes("1")?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{},[a._v("2")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),a.winners.includes("2")?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{},[a._v("3")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),a.winners.includes("3")?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{},[a._v("4")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),a.winners.includes("4")?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{},[a._v("5")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})]),a._v(" "),a.winners.includes("5")?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{},[a._v("6")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})]),a._v(" "),a.winners.includes("6")?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-open-result-item"},[t("h4",{staticClass:"text-warning"},[a._v("D")]),a._v(" "),t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item-container"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[6],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-6"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color")]),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[2].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[2].split("~")[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Suit")]),a._v(" "),t("div",[a._v(a._s(a.desc[3].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[3].split("~")[1]))])])]):a._e()])])]:a._e(),a._v(" "),"3cardj"==a.type||"lottcard"==a.type||"paasa"==a.type?[t("div",{staticClass:"row row5 worli-result"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Result")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])])]):a._e()])])]:a._e(),a._v(" "),"queen"==a.type?[t("div",{staticClass:"row row5 card32result"},[t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"row row5"},[a.queen.players.p1.cards&&a.queen.players.p1.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center"},[a._v("Total 0 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.queen.players.p1.count))])]),a._v(" "),a._l(a.queen.players.p1.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item d-block mt-3"},[t("span",{staticClass:"winner-label"},[a._v("Winner")])]):a._e()],2)]):a._e(),a._v(" "),a.queen.players.p2.cards&&a.queen.players.p2.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center"},[a._v("Total 1 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.queen.players.p2.count))])]),a._v(" "),a._l(a.queen.players.p2.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item d-block mt-3"},[t("span",{staticClass:"winner-label"},[a._v("Winner")])]):a._e()],2)]):a._e(),a._v(" "),a.queen.players.p3.cards&&a.queen.players.p3.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center"},[a._v("Total 2 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.queen.players.p3.count))])]),a._v(" "),a._l(a.queen.players.p3.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),3==a.resultData.win?t("div",{staticClass:"casino-result-cards-item d-block mt-3"},[t("span",{staticClass:"winner-label"},[a._v("Winner")])]):a._e()],2)]):a._e(),a._v(" "),a.queen.players.p4.cards&&a.queen.players.p4.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center"},[a._v("Total 3 - "),t("span",{staticClass:"badge badge-success font14"},[a._v(a._s(a.queen.players.p4.count))])]),a._v(" "),a._l(a.queen.players.p4.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),4==a.resultData.win?t("div",{staticClass:"casino-result-cards-item d-block mt-3"},[t("span",{staticClass:"winner-label"},[a._v("Winner")])]):a._e()],2)]):a._e()])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-12"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])])]):a._e()])])]:a._e(),a._v(" "),"ab20"==a.type?[t("div",{staticClass:"row row5 ab20-result"},[t("div",{staticClass:"col-12"},[t("h5",{staticClass:"text-center"},[a._v("Andar")]),a._v(" "),t("div",{staticClass:"text-center"},[a._l(a.ab.andar,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]}))],2)]),a._v(" "),t("div",{staticClass:"col-12 mt-2"},[t("h5",{staticClass:"text-center"},[a._v("Bahar")]),a._v(" "),t("div",{staticClass:"text-center"},[a._l(a.ab.bahar,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]}))],2)])])]:a._e(),a._v(" "),"cmeter"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-9"},[t("div",{staticClass:"row align-items-center"},[t("div",{staticClass:"col-10"},[t("div",{staticClass:"row align-items-center"},[a._m(2),a._v(" "),t("div",{staticClass:"col-10"},[a._l(a.cards,(function(s,e){return[a.checkLowCards(s)?t("div",{staticClass:"casino-result-cards-item"},[t("img",{key:e,staticClass:"mr-2",attrs:{src:a.imgPath+"admin/img/cards/"+s+".png"}})]):a._e()]}))],2)]),a._v(" "),t("div",{staticClass:"row align-items-center mt-3"},[a._m(3),a._v(" "),t("div",{staticClass:"col-10"},[a._l(a.cards,(function(s,e){return[a.checkHighCards(s)?t("div",{staticClass:"casino-result-cards-item"},[t("img",{key:e,staticClass:"mr-2",attrs:{src:a.imgPath+"admin/img/cards/"+s+".png"}})]):a._e()]}))],2)])]),a._v(" "),t("div",{staticClass:"col-2 text-center"},[t("div",{staticClass:"casino-result-cards-item"},[a._l(a.cards,(function(s,e){return["9SS"==s||"10SS"==s?t("img",{key:e,staticClass:"mr-2",attrs:{src:a.imgPath+"admin/img/cards/"+s+".png"}}):a._e()]}))],2)])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-3"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])])]):a._e()])])]:a._e(),a._v(" "),"race20"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"race-result-box"},[t("div",{staticClass:"pr mb-1"},[t("span",{staticClass:"result-image icons"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/spade.png"}})]),a._v(" "),a._l(a.race20.spadeCard,(function(s,e){return[t("span",{key:e,staticClass:"result-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),a.race20.spadeCard&&a.race20.spadeCard.length?t("span",{staticClass:"result-image",class:{"k-image":5==a.race20.spadeCard.length}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KSS.png")}})]):a._e(),a._v(" "),1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2),a._v(" "),t("div",{staticClass:"pr mb-1"},[t("span",{staticClass:"result-image icons"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/heart.png"}})]),a._v(" "),a._l(a.race20.heartCard,(function(s,e){return[t("span",{key:e,staticClass:"result-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),a.race20.heartCard&&a.race20.heartCard.length?t("span",{staticClass:"result-image",class:{"k-image":5==a.race20.heartCard.length}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KHH.png")}})]):a._e(),a._v(" "),2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2),a._v(" "),t("div",{staticClass:"pr mb-1"},[t("span",{staticClass:"result-image icons"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/club.png"}})]),a._v(" "),a._l(a.race20.clubCard,(function(s,e){return[t("span",{key:e,staticClass:"result-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),a.race20.clubCard&&a.race20.clubCard.length?t("span",{staticClass:"result-image",class:{"k-image":5==a.race20.clubCard.length}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KCC.png")}})]):a._e(),a._v(" "),3==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2),a._v(" "),t("div",{staticClass:"pr mb-1"},[t("span",{staticClass:"result-image icons"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/diamond.png"}})]),a._v(" "),a._l(a.race20.diamondCard,(function(s,e){return[t("span",{key:e,staticClass:"result-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),a.race20.diamondCard&&a.race20.diamondCard.length?t("span",{staticClass:"result-image",class:{"k-image":5==a.race20.diamondCard.length}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KDD.png")}})]):a._e(),a._v(" "),4==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2),a._v(" "),a._m(4)])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-12"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Points")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Cards")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])])]):a._e()])])]:a._e(),a._v(" "),"abj"==a.type?[t("div",{staticClass:"row row5 ab2-result"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"d-flex"},[a._m(5),a._v(" "),t("div",{staticClass:"abj-common-card"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[0]+".png"}})])]),a._v(" "),t("div",{staticClass:"col-9"},[t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-2"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[2]+".png"}})])]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}},[a._l(a.abj.andar,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]}))],2)]),a._v(" "),t("div",{staticClass:"col-2"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-2"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[1]+".png"}})])]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}},[a._l(a.abj.bahar,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]}))],2)]),a._v(" "),t("div",{staticClass:"col-2"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[a._m(6),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[a._m(7),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[a._m(8),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[a._m(9),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])])]):a._e()])])]:a._e(),a._v(" "),"ab3"==a.type||"ab4"==a.type?[t("div",{staticClass:"row row5 ab2-result"},["AccountStatement"==a.$route.name?[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center",staticStyle:{"align-items":"flex-end"}},[t("div",{staticClass:"casino-result-cards"},["1"!=a.cards[0]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]):a._e()])])])]):a._e()]:[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"d-flex"},[a._m(10),a._v(" "),t("div",{staticClass:"col-9"},[t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-10"},[t("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}},[a._l(a.abj.andar,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("div",{staticClass:"text-center"},[a._v(a._s(s.key))]),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s.card,".png")}})])]}))],2)]),a._v(" "),t("div",{staticClass:"col-2"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-10"},[t("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}},[a._l(a.abj.bahar,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("div",{staticClass:"text-center"},[a._v(a._s(s.key))]),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s.card,".png")}})])]}))],2)]),a._v(" "),t("div",{staticClass:"col-2"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()])])])])])])],a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[a._m(11),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])])]):a._e()])],2)]:a._e(),a._v(" "),"cmatch20"==a.type?[t("div",{staticClass:"row row5 align-items-center"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center",staticStyle:{"align-items":"flex-end"}},[t("div",{staticClass:"casino-result-cards"},["1"!=a.cards[0]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]):a._e()])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Runs:")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])])]):a._e()])])]:a._e(),a._v(" "),"cricketv"==a.type||"cricketv2"==a.type||"cricketv3"==a.type||"superover"==a.type||"superover2"==a.type?[t("div",{staticClass:"row row5 align-items-center five-cricket-result"},[a.cricketv3&&a.cricketv3.team1Data.length?t("div",{staticClass:"col-12"},[t("div",{staticClass:"text-right mt-3 score-head"},[a._v("\n          Winner:\n          "),t("span",{staticClass:"text-success"},[a._v(a._s(a.resultData.winnat))]),a._v("\n          | "+a._s(a.resultData.rdesc)+"\n        ")]),a._v(" "),t("h4",{staticClass:"mb-0"},[a._v("First Inning")]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[a.cricketv3.team1Data&&a.cricketv3.team1Data.length>0?t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",{staticClass:"text-center"},[t("b",[t("span",{staticClass:"text-success"},[a._v(a._s(a.cricketv3.team1Data[0].nat))])])]),a._v(" "),a._m(12),a._v(" "),a._m(13),a._v(" "),a._m(14),a._v(" "),a._m(15),a._v(" "),a._m(16),a._v(" "),a._m(17),a._v(" "),a._m(18),a._v(" "),a._m(19)])]),a._v(" "),t("tbody",a._l(a.cricketv3.team1Data,(function(s,e){return t("tr",[t("td",{staticClass:"text-center"},[t("b",[a._v("Over "+a._s(e+1))])]),a._v(" "),a._l(6,(function(e){return t("td",{staticClass:"text-center"},[s.runData[e-1]?t("span",{class:s.runData[e-1].runclass},[a._v(a._s(s.runData[e-1].runText))]):a._e()])})),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.run))]),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.score+"/"+s.wkt))])],2)})),0)]):a._e()]),a._v(" "),t("h4",{staticClass:"mb-0"},[a._v("Second Inning")]),a._v(" "),t("div",{staticClass:"table-responsive"},[a.cricketv3.team2Data&&a.cricketv3.team2Data.length>0?t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",{staticClass:"text-center"},[t("b",[t("span",{staticClass:"text-success"},[a._v(a._s(a.cricketv3.team2Data[0].nat))])])]),a._v(" "),a._m(20),a._v(" "),a._m(21),a._v(" "),a._m(22),a._v(" "),a._m(23),a._v(" "),a._m(24),a._v(" "),a._m(25),a._v(" "),a._m(26),a._v(" "),a._m(27)])]),a._v(" "),t("tbody",a._l(a.cricketv3.team2Data,(function(s,e){return t("tr",[t("td",{staticClass:"text-center"},[t("b",[a._v("Over "+a._s(e+1))])]),a._v(" "),a._l(6,(function(e){return t("td",{staticClass:"text-center"},[s.runData[e-1]?t("span",{class:s.runData[e-1].runclass},[a._v(a._s(s.runData[e-1].runText))]):a._e()])})),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.run))]),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.score+"/"+s.wkt))])],2)})),0)]):a._e()])]):a._e()])]:a._e(),a._v(" "),"superover3"==a.type?[t("div",{staticClass:"row row5 align-items-center five-cricket-result"},[a.cricketv3&&a.cricketv3.team1Data.length?t("div",{staticClass:"col-12"},[t("div",{staticClass:"text-right mt-3 score-head"},[a._v("\n          Winner:\n          "),t("span",{staticClass:"text-success"},[a._v(a._s(a.resultData.winnat))]),a._v("\n          | "+a._s(a.resultData.rdesc)+"\n        ")]),a._v(" "),t("h4",{staticClass:"mb-0"},[a._v("First Inning")]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[a.cricketv3.team1Data&&a.cricketv3.team1Data.length>0?t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",{staticClass:"text-center"},[t("b",[t("span",{staticClass:"text-success"},[a._v(a._s(a.cricketv3.team1Data[0].nat))])])]),a._v(" "),a._m(28),a._v(" "),a._m(29),a._v(" "),a._m(30),a._v(" "),a._m(31),a._v(" "),a._m(32),a._v(" "),a._m(33)])]),a._v(" "),t("tbody",a._l(a.cricketv3.team1Data,(function(s,e){return t("tr",[t("td",{staticClass:"text-center"},[t("b",[a._v("Over "+a._s(e+1))])]),a._v(" "),a._l(4,(function(e){return t("td",{staticClass:"text-center"},[s.runData[e-1]?t("span",{class:s.runData[e-1].runclass},[a._v(a._s(s.runData[e-1].runText))]):a._e()])})),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.run))]),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.score+"/"+s.wkt))])],2)})),0)]):a._e()]),a._v(" "),t("h4",{staticClass:"mb-0"},[a._v("Second Inning")]),a._v(" "),t("div",{staticClass:"table-responsive"},[a.cricketv3.team2Data&&a.cricketv3.team2Data.length>0?t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",{staticClass:"text-center"},[t("b",[t("span",{staticClass:"text-success"},[a._v(a._s(a.cricketv3.team2Data[0].nat))])])]),a._v(" "),a._m(34),a._v(" "),a._m(35),a._v(" "),a._m(36),a._v(" "),a._m(37),a._v(" "),a._m(38),a._v(" "),a._m(39)])]),a._v(" "),t("tbody",a._l(a.cricketv3.team2Data,(function(s,e){return t("tr",[t("td",{staticClass:"text-center"},[t("b",[a._v("Over "+a._s(e+1))])]),a._v(" "),a._l(4,(function(e){return t("td",{staticClass:"text-center"},[s.runData[e-1]?t("span",{class:s.runData[e-1].runclass},[a._v(a._s(s.runData[e-1].runText))]):a._e()])})),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.run))]),a._v(" "),t("td",{staticClass:"text-center nationcard"},[a._v(a._s(s.score+"/"+s.wkt))])],2)})),0)]):a._e()])]):a._e()])]:a._e(),a._v(" "),"trap"==a.type||"vtrap"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block w-100"},[t("h4",{},[a._v("Player A ("+a._s(a.trap.count.playerA)+")")]),a._v(" "),"1"!=a.cards[0]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[2]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[4]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[6]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[6],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[8]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[8],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[10]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[10],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[12]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[12],".png")}})]):a._e()])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block w-100"},[t("h4",{},[a._v("Player B ("+a._s(a.trap.count.playerB)+")")]),a._v(" "),"1"!=a.cards[1]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[3]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[5]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[7]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[7],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[9]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[9],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[11]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[11],".png")}})]):a._e(),a._v(" "),"1"!=a.cards[13]?t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[13],".png")}})]):a._e()])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Main")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),"teen"!=a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Seven")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]):a._e(),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Picture Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])])]):a._e()])])]:a._e(),a._v(" "),"patti2"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Mini Baccarat")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color Plus")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])])]):a._e()])])]:a._e(),a._v(" "),"teensin"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("High Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pair")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color Plus")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Lucky 9")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"teenmuf"==a.type||"vteenmuf"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Top 9")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("M Baccarat")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])])]):a._e()])])]:a._e(),a._v(" "),"race17"==a.type||"vrace17"==a.type?[t("div",{staticClass:"row row5 worli-result"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[a._l(a.cards,(function(s,e){return["1"!=s?[t("div",{key:e,staticClass:"casino-result-cards-item mr-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]:a._e()]}))],2)])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Race to 17")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Big Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Zero Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("One Zero Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])])]):a._e()])])]:a._e(),a._v(" "),"teen20b"==a.type?[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("3 Baccarat")]),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div"),a._v(" "),t("div",[a._v(a._s(a.desc[1].split("~")[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pair Plus")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Color")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"trio"==a.type||"vtrio"==a.type?[t("div",{staticClass:"row row5 worli-result"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Session (21)")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("1 2 4 / J Q K")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Red/Black")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pattern")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"notenum"==a.type?[t("div",{staticClass:"row row5 worli-result"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Red/Black")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Low/High")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Cards")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Baccarat")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"teen2024"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player 20")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[2],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[4],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player 24")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[3],".png")}})]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[5],".png")}})])])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Main")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Consecutive")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Pair")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Straight")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Session")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"kbc"==a.type?[t("div",{staticClass:"row row5 worli-result"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-6"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[a._l(a.cards,(function(s,e){return["1"!=s?[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]:a._e()]}))],2)])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-6"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("[Q1] Red-Black")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("[Q2] Odd-Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("[Q3] 7 Up-7 Down")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("[Q4] 3 Card Judgement")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("[Q5] Suits")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"teen1"==a.type||"teen120"==a.type||"vteen1"==a.type||"vteen120"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Player")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[0],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Dealer")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(a.cards[1],".png")}})])])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),"teen"!=a.type&&"vteen"!=a.type?t("div",{staticClass:"casino-result-desc-item"},[t("div",["teen120"==a.type||"vteen120"==a.type?[a._v("Pair")]:"teen1"==a.type||"vteen1"==a.type?[a._v("7 Up - 7 Down")]:a._e()],2),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]):a._e()]):a._e()])])]:a._e(),a._v(" "),"race2"==a.type?[t("div",{staticClass:"row row5 card32result"},[t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"row row5"},[a.queen.players.p1.cards&&a.queen.players.p1.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player A")]),a._v(" "),a._l(a.queen.players.p1.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e(),a._v(" "),a.queen.players.p2.cards&&a.queen.players.p2.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player B")]),a._v(" "),a._l(a.queen.players.p2.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e(),a._v(" "),a.queen.players.p3.cards&&a.queen.players.p3.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player C")]),a._v(" "),a._l(a.queen.players.p3.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),3==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e(),a._v(" "),a.queen.players.p4.cards&&a.queen.players.p4.cards.length?t("div",{staticClass:"col-12 col-lg-12"},[t("div",{staticClass:"casino-result-cards"},[t("h4",{staticClass:"text-center d-inline-block"},[a._v("Player D")]),a._v(" "),a._l(a.queen.players.p4.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})])]})),a._v(" "),4==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"admin/img/winner.png"}})]):a._e()],2)]):a._e()])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-4"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])])]):a._e()])])]:a._e(),a._v(" "),"dum10"==a.type?[t("div",{staticClass:"row row5 ab2-result"},[t("div",{staticClass:"col-12 col-lg-7"},[t("h5",{staticClass:"text-center"},[a._v("Cards")]),a._v(" "),t("div",{staticClass:"d-flex p-4"},[t("div",{staticClass:"text-center ab-slider owl-carousel owl-theme ml-2 mr-2",attrs:{id:"dum10Slider"}},[a._l(a.cards,(function(s,e){return[e<a.cards.length-1?t("div",{key:e,staticClass:"casino-result-cards-item item"},[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/").concat(s,".png")}})]):a._e()]}))],2),a._v(" "),t("div",{staticClass:"ml-3"},[t("img",{staticClass:"dum-card",attrs:{src:"".concat(a.imgPath,"front/img/cards/").concat(a.cards[a.cards.length-1],".png")}})])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Card")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Current Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Total")]),a._v(" "),t("div",[a._v(a._s(a.desc[2]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Odd/Even")]),a._v(" "),t("div",[a._v(a._s(a.desc[3]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Red/Black")]),a._v(" "),t("div",[a._v(a._s(a.desc[4]))])])]):a._e()])])]:a._e(),a._v(" "),"cmeter1"==a.type?[t("div",{staticClass:"row row5"},[a.cards&&a.cards.length?t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[1==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"front/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Fighter A")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/").concat(a.cards[0],".png")}})])])])]),a._v(" "),t("div",{staticClass:"casino-result-content-diveder"}),a._v(" "),t("div",{staticClass:"casino-result-content-item text-center"},[t("div",{staticClass:"casino-result-cards"},[2==a.resultData.win?t("div",{staticClass:"casino-result-cards-item"},[t("img",{staticClass:"winner-icon",attrs:{src:a.imgPath+"front/img/winner.png"}})]):a._e(),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("h4",{},[a._v("Fighter B")]),a._v(" "),t("div",{staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/").concat(a.cards[1],".png")}})])])])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[a.desc&&a.desc.length?t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Winner")]),a._v(" "),t("div",[a._v(a._s(a.desc[0]))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Points")]),a._v(" "),t("div",[a._v(a._s(a.desc[1]))])])]):a._e()])])]:a._e(),a._v(" "),"sicbo"==a.type||"sicbo2"==a.type?[t("div",{staticClass:"row row5 worli-result"},[t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[a._l(a.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice").concat(s,".png")}})])]}))],2)])])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-5"},[t("div",{staticClass:"casino-result-desc"},[t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Desc")]),a._v(" "),t("div",[a._v(a._s(a.resultData.rdesc))])]),a._v(" "),t("div",{staticClass:"casino-result-desc-item"},[t("div",[a._v("Win")]),a._v(" "),t("div",[a._v(a._s(a.resultData.win))])])])])])]:a._e(),a._v(" "),"ballbyball"==a.type||"lucky15"==a.type?[t("div",{staticClass:"d-flex justify-content-center"},[t("div",{staticClass:"cricket20ballpopup cricket20ballresult"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/ball-blank.png")}}),a._v(" "),t("span",[a._v(a._s(a.resultData.rdesc)+" ")])])])]:a._e(),a._v(" "),"goal"==a.type?[t("div",{staticClass:"d-flex justify-content-center"},[t("div",{staticClass:"cricket20ballpopup cricket20ballresult goalresult"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/soccer-ball.png")}}),a._v(" "),"No Goal"==a.resultData.winnat?[t("span",[a._v(a._s(a.desc[0]))])]:[t("span",[a._v(a._s(a.desc[1])+" by "+a._s(a.desc[0]))])]],2)])]:a._e(),a._v(" "),"ourroullete"==a.type?[t("div",{staticClass:"row row5 worli-result"},[t("div",{staticClass:"col-12 col-lg-7"},[t("div",{staticClass:"casino-result-content"},[t("div",{staticClass:"casino-result-content-item text-center w-100"},[t("div",{staticClass:"casino-result-cards"},[a._l(a.cards,(function(s,e){return[t("div",{key:e,staticClass:"casino-result-cards-item"},[t("img",{attrs:{src:"".concat(a.roulettePath,"/").concat(s,".png")}})])]}))],2)])])])])]:a._e()],2)}),[function(){var a=this._self._c;return a("div",[this._v("Player "),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("div",[this._v("Pattern"),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("div",{staticClass:"col-2"},[a("b",[this._v("Low Cards")])])},function(){var a=this._self._c;return a("div",{staticClass:"col-2"},[a("b",[this._v("High Cards")])])},function(){var a=this,t=a._self._c;return t("div",{staticClass:"video-winner-text"},[t("div",[a._v("W")]),a._v(" "),t("div",[a._v("I")]),a._v(" "),t("div",[a._v("N")]),a._v(" "),t("div",[a._v("N")]),a._v(" "),t("div",[a._v("E")]),a._v(" "),t("div",[a._v("R")])])},function(){var a=this._self._c;return a("div",{staticClass:"col-1 abj-title"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])])},function(){var a=this._self._c;return a("div",[this._v("Winner "),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("div",[this._v("Suit"),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("div",[this._v("Odd/Even"),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("div",[this._v("Joker"),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("div",{staticClass:"mr-3 abj-title"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])])},function(){var a=this._self._c;return a("div",[this._v("Winner "),a("span",{staticClass:"float-right"},[this._v(":")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("1")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("2")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("3")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("4")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("5")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("6")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Run/Over")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Score")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("1")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("2")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("3")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("4")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("5")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("6")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Run/Over")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Score")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("1")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("2")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("3")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("4")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Run/Over")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Score")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("1")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("2")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("3")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("4")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Run/Over")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-center"},[a("b",[this._v("Score")])])}],!1,null,null,null);t.a=c.exports},function(a,t,s){"use strict";var e=s(2),i=s.n(e),n=s(0),o={props:["gameSoda","isDtypeSS","desc"],data:function(){return{betType:"all",winTotal:0,sodaTotal:0,selected:[],ipdetail:"",rdesc:null,showDesc:null}},mounted:function(){this.calculateTotalWin(),this.rdesc=this.desc?this.desc.replace(/ /g,""):"",this.rdesc=this.rdesc?this.rdesc.split("#"):null},computed:{sodaList:function(){return"all"==this.betType?_.filter(this.gameSoda,{match:!0}):"back"==this.betType?_.filter(this.gameSoda,{btype:"back",match:!0}):"lay"==this.betType?_.filter(this.gameSoda,{btype:"lay",match:!0}):"deleted"==this.betType?_.filter(this.gameSoda,{match:!1}):[]}},watch:{selected:function(){var a=this,t=this;this.selected.length>0?(this.winTotal=0,this.sodaTotal=0,_.forEach(this.sodaList,(function(s,e){t.selected.includes(e)&&(a.winTotal+=s.wl,a.sodaTotal++)}))):this.calculateTotalWin()}},methods:{toggleDiv:function(a){this.showDesc===a?this.showDesc=null:this.showDesc=a},changeDataFormat:function(a){return i()(String(a)).format("YYYY/MM/DD")},changeType:function(a){this.selected=[],this.betType=a.target.value,this.calculateTotalWin()},calculateTotalWin:function(){this.sodaTotal=this.sodaList?this.sodaList.length:0,"deleted"==this.betType?this.winTotal=0:this.winTotal=_.sumBy(this.sodaList,(function(a){return a.wl}))},checkIP:function(a){var t=this;this.$store.state.isLoading=!0,n.a.callApi("report/checkip",{ip:a}).then((function(a){t.$store.state.isLoading=!1,a.success?(t.ipdetail=a.data,t.$refs.ipdetail.show()):t.ipdetail=[]})).catch((function(a){t.$store.state.isLoading=!1,t.ipdetail=[]}))}}},c=s(1),r=Object(c.a)(o,(function(){var a=this,t=a._self._c;return t("div",{},[a.gameSoda&&a.gameSoda.length?t("div",{staticClass:"mt-4 modal-chekbox"},[t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-all",name:"example",value:"all",checked:""},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-all"}},[a._v("All")])]),a._v(" "),t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-back",name:"example",value:"back"},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-back"}},[a._v("Back")])]),a._v(" "),t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-lay",name:"example",value:"lay"},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-lay"}},[a._v("Lay")])]),a._v(" "),t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-deleted",name:"example",value:"deleted"},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-deleted"}},[a._v("Deleted")])]),a._v(" "),t("div",{staticClass:"custom-control-inline float-right"},[t("h5",[a._v("Total Bets: "),t("span",{staticClass:"text-success mr-2"},[a._v(a._s(a.sodaTotal))]),a._v(" Total Win: "),t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.winTotal,expression:"winTotal"}],class:{"text-success":a.winTotal>=0,"text-danger":a.winTotal<0}})])])]):a._e(),a._v(" "),a.sodaList&&a.sodaList.length?t("div",{staticClass:"table-responsive report-table"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[a._m(0),a._v(" "),a._m(1),a._v(" "),a._m(2),a._v(" "),a.isDtypeSS?t("th",{staticClass:"text-right bet-user-rate"},[t("div",[a._v("Bhav")])]):a._e(),a._v(" "),a._m(3),a._v(" "),a._m(4),a._v(" "),a._m(5),a._v(" "),a._m(6),a._v(" "),a._m(7),a._v(" "),a._m(8)])]),a._v(" "),t("tbody",[a._l(a.sodaList,(function(s,e){return[t("tr",{key:e,class:[{"back-border":"back"==s.btype.toLowerCase()||s.gtype&&"oddeven"==s.gtype.toLowerCase()},{"lay-border":"lay"==s.btype.toLowerCase()&&(!s.gtype||"oddeven"!=s.gtype.toLowerCase())}]},[t("td",{staticClass:"user-name"},[s.natjson?t("a",{staticClass:"pointer",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.toggleDiv(e)}}},[t("u",[a._v(a._s(s.uname))])]):t("span",[a._v(a._s(s.uname))])]),a._v(" "),t("td",{staticClass:"event-name"},[t("div",[a._v(a._s(s.nat))])]),a._v(" "),t("td",{staticClass:"text-right bet-user-rate"},[t("div",[a._v(a._s(s.urate))])]),a._v(" "),a.isDtypeSS?t("td",{staticClass:"text-right bet-user-rate"},[""!=s.bhav?t("div",[a._v(a._s(s.bhav))]):t("div",[a._v("-")])]):a._e(),a._v(" "),t("td",{staticClass:"text-right bet-amount"},[t("div",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"data.amt"}]})]),a._v(" "),t("td",{staticClass:"text-right bet-amount"},[s.match?t("div",{directives:[{name:"currency",rawName:"v-currency",value:s.wl,expression:"data.wl"}],class:{"text-success":s.wl>=0,"text-danger":s.wl<0}}):t("div",[a._v("-")])]),a._v(" "),t("td",{staticClass:"bet-date"},[t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.pdt},expression:"{date:data.pdt}"}]})]),a._v(" "),t("td",[t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.checkIP(s.ip)}}},[a._v(a._s(s.ip))])]),a._v(" "),t("td",[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"text-success",attrs:{href:"javascript:void(0)",title:s.bdetail}},[a._v("Detail")])]),a._v(" "),t("td",{staticClass:"text-right"},[t("b-form-checkbox",{attrs:{value:e},model:{value:a.selected,callback:function(t){a.selected=t},expression:"selected"}})],1)]),a._v(" "),s.natjson&&a.showDesc===e?t("tr",[t("td",{attrs:{colspan:"8"}},[t("div",{staticClass:"kbc-result-box"},[a._l(s.natjson,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"question-name"},[t("b",[a._v(a._s("[Q".concat(e+1,"]"))+" "+a._s(s.n))])]),a._v(" "),t("div",{staticClass:"answer-name",class:{true:a.rdesc[e]==s.c[0].s,false:a.rdesc[e]!=s.c[0].s}},[a._v(a._s(s.c[0].s))])])]})),a._v(" "),s.bhav?[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"kbchf"},[1==s.bhav?t("div",{staticClass:"kbc-result-box-half"},[a._v("4 Cards Quit")]):2==s.bhav?t("div",{staticClass:"kbc-result-box-full"},[a._v("50-50 Quit")]):3==s.bhav?t("div",{staticClass:"kbc-result-box-five"},[a._v("5 Cards")]):a._e()])])]:a._e()],2)])]):a._e()]}))],2)])]):a._e(),a._v(" "),t("b-modal",{ref:"ipdetail",attrs:{size:"sm",title:"IP Details","header-bg-variant":"success","hide-footer":""}},[t("b-table-simple",{attrs:{hover:"",small:"","caption-top":"",responsive:""}},[t("b-thead",{attrs:{"head-variant":"dark"}},[t("b-tr",[t("b-th",[a._v("Key")]),a._v(" "),t("b-th",[a._v("Value")])],1)],1),a._v(" "),t("b-tbody",[t("b-tr",[t("b-td",[t("b",[a._v("IP:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.query))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("City:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.city))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Country:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.country))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Mobile:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.mobile))])],1)],1)],1)],1)],1)}),[function(){var a=this._self._c;return a("th",{staticClass:"user-name"},[a("div",[this._v("Username")])])},function(){var a=this._self._c;return a("th",{staticClass:"event-name"},[a("div",[this._v("Nation")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-right bet-user-rate"},[a("div",[this._v("Rate")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-right bet-amount"},[a("div",[this._v("Amount")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-right bet-amount"},[a("div",[this._v("Win")])])},function(){var a=this._self._c;return a("th",{staticClass:"bet-date"},[a("div",[this._v("Date")])])},function(){var a=this._self._c;return a("th",[a("div",[this._v("IP")])])},function(){var a=this._self._c;return a("th",[a("div",[this._v("B Details")])])},function(){var a=this._self._c;return a("th",{staticClass:"text-right"},[a("div",[this._v("Action")])])}],!1,null,null,null);t.a=r.exports},,,,,,,,,,,,,,,,,,,,function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={props:["gtype"],mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.gtype&&"lucky7eu"==this.gtype?(this.gameType=this.gtype,this.gameTitle="Lucky 7 - B"):this.gtype&&"lucky7eu2"==this.gtype&&(this.gameType=this.gtype,this.gameTitle="Lucky 7 - C"),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{mainData:function(){return _.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType})}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Lucky 7 - A",gameType:"lucky7",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table lucky7"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"dealer-name"},[a._v("Cards")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.mainData&&a.mainData.length>0?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"casino-box low-high-box"},[t("div",{staticClass:"low-odds",class:{suspended:"OPEN"!=a.mainData[0].gstatus}},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[0].b))]),a._v(" "),t("div",{staticClass:"text-center casino-buttons"},[t("span",{},[a._v(a._s(a.mainData[0].nat))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[0].sid},expression:"{sid: mainData[0].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"text-center lucky7-card"},[t("img",{staticClass:"img-fluid",attrs:{src:"".concat(a.imgPath,"admin/img/cards/7.png")}})]),a._v(" "),t("div",{staticClass:"high-odds",class:{suspended:"OPEN"!=a.mainData[1].gstatus}},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[1].b))]),a._v(" "),t("div",{staticClass:"text-center casino-buttons"},[t("span",{},[a._v(a._s(a.mainData[1].nat))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[1].sid},expression:"{sid: mainData[1].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\r\n                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[0].min},expression:"{size: mainData[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[0].max},expression:"{size: mainData[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-box sidebets-box"},[t("div",{staticClass:"lucky7-extra-bets"},[t("div",{staticClass:"lucky7-extra-bets-item-container"},[t("div",{staticClass:"lucky7-extra-bets-item",class:{suspended:"OPEN"!=a.mainData[2].gstatus}},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[2].b))]),a._v(" "),t("div",{staticClass:"casino-buttons"},[a._v(a._s(a.mainData[2].nat))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[2].sid},expression:"{sid: mainData[2].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[2].min},expression:"{size: mainData[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[2].max},expression:"{size: mainData[2].max}"}]})])]),a._v(" "),t("div",{staticClass:"lucky7-extra-bets-item-container"},[t("div",{staticClass:"lucky7-extra-bets-item",class:{suspended:"OPEN"!=a.mainData[3].gstatus}},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[3].b))]),a._v(" "),t("div",{staticClass:"casino-buttons"},[a._v(a._s(a.mainData[3].nat))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[3].sid},expression:"{sid: mainData[3].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[3].min},expression:"{size: mainData[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[3].max},expression:"{size: mainData[3].max}"}]})])]),a._v(" "),t("div",{staticClass:"lucky7-extra-bets-item-container"},[t("div",{staticClass:"lucky7-extra-bets-item",class:{suspended:"OPEN"!=a.mainData[5].gstatus}},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[5].b))]),a._v(" "),t("div",{staticClass:"casino-buttons"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[5].sid},expression:"{sid: mainData[5].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[5].min},expression:"{size: mainData[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[5].max},expression:"{size: mainData[5].max}"}]})])]),a._v(" "),t("div",{staticClass:"lucky7-extra-bets-item-container"},[t("div",{staticClass:"lucky7-extra-bets-item",class:{suspended:"OPEN"!=a.mainData[4].gstatus}},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[4].b))]),a._v(" "),t("div",{staticClass:"casino-buttons"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[4].sid},expression:"{sid: mainData[4].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[4].min},expression:"{size: mainData[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[4].max},expression:"{size: mainData[4].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-box cards-top"},[t("div",{staticClass:"container-fluid container-fluid-5"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-6 col-md-3"},[t("div",[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[19].b))]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-box cards-top-box",class:{suspended:"OPEN"!=a.mainData[19].gstatus}},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[19].sid},expression:"{sid: mainData[19].sid}"}],staticClass:"w-100 casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-center"},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[19].min},expression:"{size: mainData[19].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[19].max},expression:"{size: mainData[19].max}"}]})])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3"},[t("div",[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[20].b))]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-box cards-top-box",class:{suspended:"OPEN"!=a.mainData[20].gstatus}},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/5.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/6.png")}})])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[20].sid},expression:"{sid: mainData[20].sid}"}],staticClass:"w-100 casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-center"},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[20].min},expression:"{size: mainData[20].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[20].max},expression:"{size: mainData[20].max}"}]})])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3"},[t("div",[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[21].b))]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-box cards-top-box",class:{suspended:"OPEN"!=a.mainData[21].gstatus}},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/8.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/9.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/10.png")}})])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[21].sid},expression:"{sid: mainData[21].sid}"}],staticClass:"w-100 casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-center"},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[21].min},expression:"{size: mainData[21].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[21].max},expression:"{size: mainData[21].max}"}]})])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3"},[t("div",[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[22].b))]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-box cards-top-box",class:{suspended:"OPEN"!=a.mainData[22].gstatus}},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[22].sid},expression:"{sid: mainData[22].sid}"}],staticClass:"w-100 casino-book"})]),a._v(" "),t("div",{staticClass:"casino-min-max text-center"},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[22].min},expression:"{size: mainData[22].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[22].max},expression:"{size: mainData[22].max}"}]})])])])])])]),a._v(" "),t("div",{staticClass:"casino-box cards-box"},[t("div",{staticClass:"w-100"},[t("div",{staticClass:"casino-odds"},[a._v(a._s(a.mainData[6].b)+" \r\n                                    \r\n                                ")]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(7,(function(s){return[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.mainData[s+5].gstatus}},[t("img",1==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}}:{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[s+5].sid},expression:"{sid: mainData[n+5].sid}"}],staticClass:"casino-book"})])]})),a._v(" "),a._l(6,(function(s){return[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.mainData[s+12].gstatus}},[t("img",4==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}}:5==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}}:6==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}}:{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s+7,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[s+12].sid},expression:"{sid: mainData[n+12].sid}"}],staticClass:"casino-book"})])]}))],2)]),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\r\n                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[6].min},expression:"{size: mainData[6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[6].max},expression:"{size: mainData[6].max}"}]})])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e={name:"Loader",props:{isVisible:{type:Boolean,required:!0}}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return this.isVisible?a("div",{staticClass:"loader-overlay"}):this._e()}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i={name:"Market1",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},kval:function(a){var t,s=a;return a>=1e3?(t=parseFloat(a/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getBookData:function(a,t,s,i){var n=this;e.a.callApi("game/fancybookdata",{gmid:parseInt(s),mid:a,sid:t,type:i.toLowerCase()}).then((function(a){200==a.status?(n.bookData=a.data,n.$refs.runAmount.show()):n.bookData=[]})).catch((function(a){n.bookData=[]}))},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-1"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname,"data-toggle":"collapse","data-target":"#market".concat(a.index)}},[a._v("\n                "+a._s(a.marketDataNew.mname)+"\n            ")]),a._v(" "),t("div",{staticClass:"float-right"},["match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})]),a._v(" "),t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"market-1-item"},[t("div",[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),"khado"==a.marketDataNew.gtype?[t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"ml-2"},[a._v("0")])]:[t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"ml-2"},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"ml-2"})]],2),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{back:0==i.tno},{back1:1==i.tno},{back2:2==i.tno},{"no-val":0==i.odds},{suspended:1==a.marketDataNew.gscode&&1!=s.gscode},a.getClass(i.odds,"BACK",i.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))])])]}))],2)]}))],2)])]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e(),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e,class:{"back-border":s.amt>=0,"lay-border":s.amt<0}},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e={name:"Market2",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmin:function(a){var t,s=Number(a/this.$store.state.brateminSport).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-2"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"}):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("\n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]})])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),"match1"==a.marketDataNew.gtype?[0!=s.size?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()]:[0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]],2)]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),"match1"==a.marketDataNew.gtype?[0!=s.size?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]:[0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]],2)]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"Market3",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-3"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index)}},[t("div",{staticClass:"nation-name"},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row bet-table-row-top"},[t("div",{staticClass:"text-right nation-name"},[t("span",{staticClass:"max-bet"},[a._v("\n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]})])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[a._v(a._s(s.odds)),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"Market4",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},kval:function(a){var t,s=a;return a>=1e3?(t=parseFloat(a/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-4"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a.$store.getters.isMobile?t("div",{staticClass:"text-right d-inline-block w-100 pr-2"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                    Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                    Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]):t("div",{staticClass:"bet-table-row bet-table-row-top"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[1!=a.$store.state.adminUser.ispa?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}}):a._e()]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),"match1"==a.marketDataNew.gtype?[0!=s.size?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()]:[0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]],2)]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),"match1"==a.marketDataNew.gtype?[0!=s.size?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]:[0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]],2)]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("small",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"Market5",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},kval:function(a){var t,s=a;return a>=1e3?(t=parseFloat(a/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-5"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.maxb},expression:"{size: marketDataNew.maxb}"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.maxb))}})]):t("span",{staticClass:"max-bet"},[a._v("\n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.maxb},expression:"{size: marketDataNew.maxb}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[a._v(a._s(s.nat))])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[t("span",[a._v(a._s(s.nat))])]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i={name:"Market6",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getBookData:function(a,t,s,i){var n=this;e.a.callApi("game/fancybookdata",{gmid:parseInt(s),mid:a,sid:t,type:i.toLowerCase()}).then((function(a){200==a.status?n.bookData=a.data:n.bookData=[],n.$refs.fancyBookModal.show(),n.$store.state.isLoading=!1})).catch((function(a){n.bookData=[],n.$store.state.isLoading=!1}))},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),a.filterBy(s.odds,"BACK1","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                                Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:s.min},expression:"{size: section.min}"}]}),a._v(" Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.max},expression:"{size: section.max}"}]})])],2)]:a._e(),a._v(" "),a.filterBy(s.odds,"BACK2","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"}),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY2","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK2","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e(),a._v(" "),a.filterBy(s.odds,"BACK3","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"}),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY3","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK3","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e()],2),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)]),a._v(" "),t("b-modal",{ref:"fancyBookModal",attrs:{"hide-footer":"",title:"Run Amount"}},[t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[null!=a.bookData&&a.bookData.length>0?[a._l(a.bookData,(function(s,e){return[t("tr",{class:{"back-border":s.amt>=0,"lay-border":s.amt<0}},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))]:[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("No")]),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Yes")])])}],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e={name:"Market7",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},a.getClass(i.odds,"BACK",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"layodds".concat(n),staticClass:"bl-box lay",class:[{"no-val":0==i.odds},a.getClass(i.odds,"LAY",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                            Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:s.min},expression:"{size: section.min}"}]},[a._v("0")]),a._v(" \n                            Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.max},expression:"{size: section.max}"}]},[a._v("0")])])],2)]),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Back")]),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("Lay")])])}],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i={name:"Market7",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getBookData:function(a,t,s,i){var n=this;e.a.callApi("game/fancybookdata",{gmid:parseInt(s),mid:a,sid:t,type:i.toLowerCase()}).then((function(a){200==a.status?(n.bookData=a.data,n.$refs.runAmount.show()):n.bookData=[]})).catch((function(a){n.bookData=[]}))},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},a.getClass(i.odds,"BACK",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"layodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},a.getClass(i.odds,"LAY",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                            Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:s.min},expression:"{size: section.min}"}]},[a._v("0")]),a._v(" \n                            Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.max},expression:"{size: section.max}"}]},[a._v("0")])])],2)]),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Odd")]),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Even")])])}],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";s(0);var e={name:"Market9",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-9"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"text-right nation-name"},[a.newMarketSections&&a.newMarketSections.length?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.newMarketSections[0].min},expression:"{size: newMarketSections[0].min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.newMarketSections[0].max},expression:"{size: newMarketSections[0].max}"}]})]):a._e()]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[a._v(a._s(s.nat)+"\n                        "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]}),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row"},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"}),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{suspended:"OPEN"!=s.gstatus},{"no-val":0==i.odds},a.getClass(i.odds,"BACK",i.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e(),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i={name:"Market9",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getBookData:function(a,t,s,i){var n=this;e.a.callApi("game/fancybookdata",{gmid:parseInt(s),mid:a,sid:t,type:i.toLowerCase()}).then((function(a){200==a.status?(n.bookData=a.data,n.$refs.runAmount.show()):n.bookData=[]})).catch((function(a){n.bookData=[]}))},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-10"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header",attrs:{d:""}},[t("div",{staticClass:"nation-name",attrs:{"ata-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name",on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._l(a.find(s.odds,"lay","otype"),(function(e,i){return[t("span",{key:i},[a._v(a._s(s.nat)+" - "+a._s(e.odds))])]})),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])],2)]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row"},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._l(a.find(s.odds,"LAY","otype"),(function(e,i){return[t("span",{key:i},[a._v(a._s(s.nat)+" - "+a._s(e.odds))])]}))],2),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},{suspended:1==a.marketDataNew.gscode&&1!=s.gscode},a.getClass(i.odds,"BACK",i.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:s.min},expression:"{size: section.min}"}]},[a._v("0")]),a._v(" Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.max},expression:"{size: section.max}"}]},[a._v("0")])])],2),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e,class:{"back-border":s.amt>=0,"lay-border":s.amt<0}},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Back")])])}],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e={name:"Market2",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""},kval:function(a){var t,s=a;return a>=1e3?(t=parseFloat(a/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-11"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("\n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"item",mounted:function(){},props:["model"],data:function(){return{open:!1}},computed:{isFolder:function(){return this.model.children&&this.model.children.length}},methods:{toggle:function(){this.isFolder&&(this.open=!this.open)},changeType:function(){this.isFolder||(Vue.set(this.model,"children",[]),this.addChild(),this.open=!0)},addChild:function(){}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("li",{staticClass:"mtree-node mtree-closed"},[t("a",{class:{bold:a.isFolder},attrs:{href:"javascript:void(0)"},on:{click:a.toggle,dblclick:a.changeType}},[t("table",{staticClass:"table m-b-0"},[t("tbody",[t("tr",[t("td",{attrs:{"data-id":a.model.levelno}},[a.isFolder?t("span",[a._v("["+a._s(a.open?"-":"+")+"]")]):a._e(),a._v(" "+a._s(a.model.Username)+" ")]),a._v(" "),a._l(a.model,(function(s,e){return["children"!=e&&"lvl"!=e&&"uid"!=e&&"sub"!=e&&"Username"!=e?t("td",{staticClass:"text-right",class:{positive:s>0,negative:s<=0}},[a._v("\n                          "+a._s(s)+"\n                      ")]):a._e()]}))],2)])])]),a._v(" "),a.isFolder?t("ul",{directives:[{name:"show",rawName:"v-show",value:a.open,expression:"open"}]},a._l(a.model.children,(function(a,s){return t("item",{key:s,staticClass:"item",attrs:{model:a}})})),1):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"Market2",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalmax:function(a){var t,s=Number(a/(this.$store.state.brate*this.$store.state.bratemul)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-2"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"}):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("\n                        Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]})])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"Market4",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalmax:function(a){var t,s=Number(a/(this.$store.state.brate*this.$store.state.bratemul)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-4"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[t("a",{attrs:{href:"javascript:void(0)",title:""}},[t("img",{staticClass:"mr-1",attrs:{src:a.imgPath+"admin/img/arrow-down.svg"}})]),a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row bet-table-row-top"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[1!=a.$store.state.adminUser.ispa?t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}}):a._e()]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("small",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i={name:"Market6",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getBookData:function(a,t,s,i){var n=this;e.a.callApi("game/fancybookdata",{gmid:parseInt(s),mid:a,sid:t,type:i.toLowerCase()}).then((function(a){200==a.status?n.bookData=a.data:n.bookData=[],n.$refs.fancyBookModal.show(),n.$store.state.isLoading=!1})).catch((function(a){n.bookData=[],n.$store.state.isLoading=!1}))},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),a.filterBy(s.odds,"BACK1","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e(),a._v(" "),a.filterBy(s.odds,"BACK2","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"}),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY2","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK2","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e(),a._v(" "),a.filterBy(s.odds,"BACK3","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"}),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY3","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK3","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e()],2),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)]),a._v(" "),t("b-modal",{ref:"fancyBookModal",attrs:{"hide-footer":"",title:"Run Amount"}},[t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[null!=a.bookData&&a.bookData.length>0?[a._l(a.bookData,(function(s,e){return[t("tr",{class:{"back-border":s.amt>=0,"lay-border":s.amt<0}},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))]:[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("No")]),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Yes")])])}],!1,null,null,null);t.a=o.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,t,s){"use strict";(function(a){var e=s(126),i=s(12),n=s(408),o=s(409),c=s(410),r=s(411),l=s(412),d=s(413),v=s(414),m=s(400),u=s(415),p=s(416),b=s(310),_=s(311),g=s(417),h=s(418),f=s(402),C=s(419),k=s(420),y=s(421),x=s(403),w=s(422),D=s(423),N=s(424),P=s(425),T=s(426),B=s(427),L=s(428),A=s(429),R=s(430),$=s(431),z=(s(680),s(432)),E=s(433),O=s(434),S=s(435),U=s(436),M=s(437),I=s(438),F=s(439),j=s(440),q=s(441),Y=s(442),K=s(443),G=s(444),H=s(445),V=s(446),W=s(447),Q=s(127),J=s(448),Z=s(70),X=s(449),aa=s(450),ta=s(451),sa=s(452),ea=s(453),ia=s(454),na=s(128),oa=s(455),ca=s(456),ra=s(457),la=s(458),da=s(459),va=s(460),ma=s(461),ua=s(462),pa=s(463),ba=s(464),_a=s(465),ga=s(466),ha=s(467),fa=s(468),Ca=s(469),ka=s(470),ya=s(471),xa=s(472),wa=s(473),Da=s(474),Na=s(475),Pa=s(401),Ta=s(476),Ba=s(477),La=s(478),Aa=s(479),Ra=s(480),$a=s(481),za=s(482),Ea=s(483),Oa=s(484),Sa=s(485),Ua=s(486),Ma=s(487),Ia=s(488),Fa=s(489),ja=s(490),qa=s(491),Ya=s(492),Ka=s(404),Ga=s(493),Ha=s(494),Va=s(495),Wa=s(496),Qa=s(405),Ja=s(406),Za=s(407),Xa=s(497),at=s(498),tt=s(499),st=s(500),et=s(501),it=s(502),nt=s(503),ot=s(504),ct=s(505),rt=s(506),lt=s(507),dt=s(508),vt=s(509),mt=s(510),ut=s(511),pt=s(512),bt=s(513),_t=s(514),gt=s(515),ht=[{path:"*",redirect:"/admin",meta:{auth:!1}},{path:"/admin",name:"login",component:n.a,meta:{auth:void 0}},{path:"/admin/loginauth/:authId?",name:"loginAuth",component:v.a,meta:{auth:void 0}},{path:"/admin/change-password-success/:token",name:"ChangePasswordSuccess",component:h.a,meta:{auth:void 0}},{path:"/admin/",name:"dashboard",component:m.a,children:[{path:"/admin/home",name:"BlankPage",component:c.a,meta:{per:""}},{path:"/admin/market-analysis",name:"MarketAnalysis",component:u.a,meta:{per:"ma"}},{path:"/admin/change-password",name:"Changepassword",component:g.a,meta:{per:""}},{path:"/admin/users2/:type?",name:"users2",component:_.a,meta:{per:"ulist"}},{path:"/admin/users/:type?",name:"users",component:b.a,meta:{per:"ulist"}},{path:"/admin/child/:guid",name:"childusers",component:b.a,meta:{per:"ulist"}},{path:"/admin/child/:guid/:type?",name:"childusers2",component:_.a,meta:{per:"ulist"}},{path:"/admin/users/insertuser",name:"Insertuser",component:p.a,meta:{per:"uinsert"}},{path:"/admin/game/details/:etid/:gameId/:mid?",name:"GameDetail",component:f.a,meta:{per:"events"}},{path:"/admin/virtualcricket/:etid/:gameId",name:"VirtualCricket",component:C.a,meta:{per:"events"}},{path:"/admin/virtualgame/:etid/:gameId",name:"VirtualGame",component:k.a,meta:{per:"events"}},{path:"/admin/casino/teenpattioneday",name:"TeenpattiOneday",component:G.a,meta:{per:"casinolist"}},{path:"/admin/casino/teenpattiinstant",name:"TeenpattiInstant",component:pt.a,meta:{per:"casinolist"}},{path:"/admin/casino/teenpattiinstant2",name:"TeenpattiInstant2",component:bt.a,meta:{per:"casinolist"}},{path:"/admin/casino/teenpattiinstant3",name:"TeenpattiInstant3",component:_t.a,meta:{per:"casinolist"}},{path:"casino/teenpattit20",name:"teenpattiT20",component:H.a,meta:{per:"casinolist"}},{path:"casino/teenpattiopen",name:"teenpattiOpen",component:V.a,meta:{per:"casinolist"}},{path:"casino/teenpattitest",name:"teenpattiTest",component:W.a,meta:{per:"casinolist"}},{path:"casino/baccaratlist",name:"BaccaratList",component:z.a},{path:"casino/sportscasinolist",name:"SportsCasinoList",component:E.a},{path:"casino/worlilist",name:"WorliList",component:O.a},{path:"casino/cards32list",name:"Cards32List",component:S.a},{path:"casino/liveteenpattilist",name:"LiveTeenpattiList",component:U.a},{path:"casino/livepokerlist",name:"LivePokerList",component:M.a},{path:"casino/andarbaharlist",name:"AndarBaharList",component:I.a},{path:"casino/lucky7list",name:"Lucky7List",component:F.a},{path:"casino/dragontigerlist",name:"DragonTigerList",component:j.a},{path:"casino/bollywood-casino",name:"BollywoodCasinoList",component:q.a},{path:"casino/other-casino",name:"OtherCasinoList",component:Y.a},{path:"casino/teenpatti2list",name:"Teenpatti2List",component:K.a},{path:"casino/baccarat",name:"baccarat",component:Q.a,meta:{per:"casinolist"}},{path:"casino/baccarat2",name:"baccarat2",component:J.a,meta:{per:"casinolist"}},{path:"casino/lucky7",name:"lucky7",component:Z.a,meta:{per:"casinolist"}},{path:"casino/lucky7eu",name:"lucky7eu",component:X.a,meta:{per:"casinolist"}},{path:"casino/lucky7eu2",name:"lucky7eu2",component:aa.a,meta:{per:"casinolist"}},{path:"casino/pokeroneday",name:"pokeroneday",component:ta.a},{path:"casino/poker20",name:"pokerT20",component:sa.a,meta:{per:"casinolist"}},{path:"casino/poker6player",name:"poker6Player",component:ea.a,meta:{per:"casinolist"}},{path:"casino/dragontigeroneday",name:"dragonTigerOneDay",component:ia.a,meta:{per:"casinolist"}},{path:"casino/dragontigert20",name:"dragonTigerT20",component:na.a,meta:{per:"casinolist"}},{path:"casino/dragontigert202",name:"dragonTigerT202",component:oa.a,meta:{per:"casinolist"}},{path:"casino/dragontigerliont20",name:"dragonTigerLionT20",component:ca.a,meta:{per:"casinolist"}},{path:"casino/aaa",name:"AAA",component:ra.a,meta:{per:"casinolist"}},{path:"casino/aaa2",name:"AAA2",component:la.a,meta:{per:"casinolist"}},{path:"casino/bollywoodtable",name:"bollywoodTable",component:da.a,meta:{per:"casinolist"}},{path:"casino/worli",name:"worli",component:va.a,meta:{per:"casinolist"}},{path:"casino/instantworli",name:"worli2",component:ma.a,meta:{per:"casinolist"}},{path:"casino/war",name:"war",component:ua.a,meta:{per:"casinolist"}},{path:"casino/3cardj",name:"ThreeCardJudgement",component:pa.a,meta:{per:"casinolist"}},{path:"casino/meter",name:"CasinoMeter",component:ba.a,meta:{per:"casinolist"}},{path:"casino/card32a",name:"Card32A",component:_a.a,meta:{per:"casinolist"}},{path:"casino/card32b",name:"Card32B",component:ga.a,meta:{per:"casinolist"}},{path:"casino/queen",name:"Queen",component:ha.a,meta:{per:"casinolist"}},{path:"casino/cmatch20",name:"CMatch20",component:fa.a,meta:{per:"casinolist"}},{path:"casino/andar-bahar",name:"AndarBahar",component:Ca.a,meta:{per:"casinolist"}},{path:"casino/andar-bahar2",name:"AndarBahar2",component:ka.a,meta:{per:"casinolist"}},{path:"casino/teenpatti2",name:"Teenpatti2",component:ya.a,meta:{per:"casinolist"}},{path:"casino/race20",name:"Race20",component:xa.a,meta:{per:"casinolist"}},{path:"casino/cricketv3",name:"Cricketv3",component:wa.a,meta:{per:"casinolist"}},{path:"casino/superover",name:"SuperOver",component:Da.a,meta:{per:"casinolist"}},{path:"casino/superover2",name:"SuperOver2",component:Na.a,meta:{per:"casinolist"}},{path:"casino/superover3",name:"SuperOver3",component:Pa.a,meta:{per:"casinolist"}},{path:"casino/lottery",name:"Lottery",component:Ta.a,meta:{per:"casinolist"}},{path:"casino/trap",name:"Trap",component:Ba.a,meta:{per:"casinolist"}},{path:"casino/teenpatti2cards",name:"Teenpatti2Cards",component:La.a,meta:{per:"casinolist"}},{path:"casino/29cardbaccarat",name:"Khal29",component:Aa.a,meta:{per:"casinolist"}},{path:"casino/teenmuf",name:"TeenpattiMuflis",component:Ra.a,meta:{per:"casinolist"}},{path:"casino/raceto17",name:"Race17",component:$a.a,meta:{per:"casinolist"}},{path:"casino/teenpattit20b",name:"TeenpattiT20B",component:za.a,meta:{per:"casinolist"}},{path:"casino/trio",name:"Trio",component:Ea.a,meta:{per:"casinolist"}},{path:"casino/notenum",name:"NoteNumber",component:Oa.a,meta:{per:"casinolist"}},{path:"casino/teen2024",name:"Teenpatti2024",component:Sa.a,meta:{per:"casinolist"}},{path:"casino/kbc",name:"Kbc",component:Ua.a,meta:{per:"casinolist"}},{path:"casino/1card1day",name:"teen1oneday",component:Ma.a,meta:{per:"casinolist"}},{path:"casino/1card2020",name:"teen1t20",component:Ia.a,meta:{per:"casinolist"}},{path:"casino/ab3",name:"ab3",component:Fa.a,meta:{per:"casinolist"}},{path:"casino/race2",name:"race2",component:ut.a,meta:{per:"casinolist"}},{path:"casino/dum10",name:"Dum10",component:ja.a,meta:{per:"casinolist"}},{path:"casino/cmeter1",name:"cmeter1",component:qa.a,meta:{per:"casinolist"}},{path:"casino/sicbo",name:"sicbo",component:Ya.a,meta:{per:"casinolist"}},{path:"casino/ballbyball",name:"ballByBall",component:Ka.a,meta:{per:"casinolist"}},{path:"casino/sicbo2",name:"sicbo2",component:Ga.a,meta:{per:"casinolist"}},{path:"casino/ab4",name:"ab4",component:Ha.a,meta:{per:"casinolist"}},{path:"casino/teen41",name:"Teenpatti41",component:Va.a,meta:{per:"casinolist"}},{path:"casino/teen42",name:"Teenpatti42",component:Wa.a,meta:{per:"casinolist"}},{path:"casino/lucky15",name:"lucky15",component:Qa.a,meta:{per:"casinolist"}},{path:"casino/goal",name:"goal",component:Ja.a,meta:{per:"casinolist"}},{path:"casino/ourroullete",name:"ourroullete",component:Za.a,meta:{per:"casinolist"}},{path:"vcasino/list",name:"vCasinoList",component:Xa.a,meta:{per:"casinolist"}},{path:"vcasino/teen",name:"vteen",component:at.a,meta:{per:"casinolist"}},{path:"vcasino/teen20",name:"vteen20",component:tt.a,meta:{per:"casinolist"}},{path:"vcasino/dt6",name:"vdt6",component:st.a,meta:{per:"casinolist"}},{path:"vcasino/dt20",name:"vdt20",component:et.a,meta:{per:"casinolist"}},{path:"vcasino/lucky7",name:"vlucky7",component:it.a,meta:{per:"casinolist"}},{path:"vcasino/teenmuf",name:"vteenmuf",component:nt.a,meta:{per:"casinolist"}},{path:"vcasino/aaa",name:"vaaa",component:ot.a,meta:{per:"casinolist"}},{path:"vcasino/btable",name:"vbtable",component:ct.a,meta:{per:"casinolist"}},{path:"vcasino/race17",name:"vrace17",component:rt.a,meta:{per:"casinolist"}},{path:"vcasino/baccarat",name:"vbaccarat",component:lt.a,meta:{per:"casinolist"}},{path:"vcasino/trio",name:"vtrio",component:dt.a,meta:{per:"casinolist"}},{path:"vcasino/trap",name:"vtrap",component:vt.a,meta:{per:"casinolist"}},{path:"vcasino/dtl20",name:"vdtl20",component:mt.a,meta:{per:"casinolist"}},{path:"/admin/reports/currentbets",name:"CurrentBets",component:y.a,meta:{per:"reportcb"}},{path:"/admin/reports/accountstatement",name:"AccountStatement",component:x.a,meta:{per:"raccst"}},{path:"/admin/reports/userhistory",name:"UserHistory",component:D.a,meta:{per:"reportuh"}},{path:"/admin/reports/profitloss",name:"ProfitLoss",component:w.a,meta:{per:"reportpl"}},{path:"/admin/reports/casinoresult/:gtype?",name:"CasinoResult",component:N.a,meta:{per:"casinores"}},{path:"/admin/reports/livecasinoreport/:gtype?",name:"LiveCasinoReport",component:T.a,meta:{per:"lcasinores"}},{path:"/admin/reports/turnover",name:"TurnOverReport",component:R.a},{path:"/admin/reports/authlist",name:"UserAuthList",component:$.a},{path:"/admin/reports/bank",name:"Bank",component:P.a,meta:{per:"bank"}},{path:"/admin/reports/gamereport",name:"GameReport",component:L.a,meta:{per:""}},{path:"/admin/reports/generalreport",name:"GeneralReport",component:A.a,meta:{per:""}},{path:"/admin/settings/userlock",name:"UserLock",component:B.a,meta:{per:"ulock"}},{path:"/admin/createaccount",name:"CreateAccount",component:gt.a,meta:{per:"loginuc"}},{path:"/admin/secureauth",name:"secureAuth",component:d.a}],meta:{auth:!0}},{path:"/admin/404",name:"error404",component:o.a},{path:"/admin/nointernet",name:"ErrorNoInternet",component:l.a,meta:{auth:void 0}},{path:"/admin/403",name:"error403",component:r.a},{path:"*",redirect:"/admin/404"}],ft=new e.a({base:a.env.MIX_VUE_BASE_URL||"/",history:!0,mode:"history",routes:ht});ft.beforeEach((function(a,t,s){if(a.meta&&a.meta.per){if(localStorage.getItem("admin_user")){var e=JSON.parse(localStorage.getItem("admin_user"));i.a.commit("updatePermission",e.pcode)}i.a.state.acl[a.meta.per]?s():s({name:"error403"})}else s()})),t.a=ft}).call(this,s(44))},,,,,function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={props:["gtype"],mounted:function(){this.gtype&&"baccarat2"==this.gtype&&(this.gameType=this.gtype,this.gameTitle="Baccarat 2"),this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{mainData:function(){return _.get(this.casinoData,"sub")}},data:function(){return{showCards:!0,showResults:!0,showChart:!0,imgPath:IMG_PATH,gameTitle:"Baccarat",gameType:"baccarat",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.g?t.data.g.cname:a.gameTitle):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table baccarat"},[t("div",{staticClass:"game-heading"},[t("span",{staticClass:"card-header-title"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{attrs:{id:"round-id"}},[a._v("ROUND ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.mainData&&a.mainData.length>0?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"baccarat-bets-odds pt-3"},[t("div",{staticClass:"baccarat-odds"},[t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[5].gstatus}},[a._v(a._s(a.mainData[5].nat)+" "+a._s(parseFloat(a.mainData[5].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[5].sid},expression:"{sid: mainData[5].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[6].gstatus}},[a._v(a._s(a.mainData[6].nat)+" "+a._s(parseFloat(a.mainData[6].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[6].sid},expression:"{sid: mainData[6].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[7].gstatus}},[a._v(a._s(a.mainData[7].nat)+" "+a._s(parseFloat(a.mainData[7].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[7].sid},expression:"{sid: mainData[7].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[8].gstatus}},[a._v(a._s(a.mainData[8].nat)+" "+a._s(parseFloat(a.mainData[8].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[8].sid},expression:"{sid: mainData[8].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),"baccarat2"==a.gameType?t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[9].gstatus}},[a._v(a._s(a.mainData[9].nat)+" "+a._s(parseFloat(a.mainData[9].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[9].sid},expression:"{sid: mainData[9].sid}"}],staticClass:"baccarat-odd-val"})]):a._e()]),a._v(" "),t("div",{staticClass:"baccarat-bets"},[t("div",{staticClass:"player-pair"},[t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[3].gstatus}},[t("div",[a._v(a._s(a.mainData[3].nat))]),a._v(" "),t("div",{staticClass:"mb-0"},[a._v(a._s(parseFloat(a.mainData[3].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[3].sid},expression:"{sid: mainData[3].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"player"},[t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[0].gstatus}},[t("div",[a._v(a._s(a.mainData[0].nat)+" "+a._s(parseFloat(a.mainData[0].b))+":1")]),a._v(" "),t("div",{staticClass:"mb-0"},["1"!=a.cards[4]?t("Card",{staticClass:"l-rotate",attrs:{card:a.cards[4]}}):a._e(),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[0]}})],1)]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[0].sid},expression:"{sid: mainData[0].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"tie"},[t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[2].gstatus}},[t("div",[a._v(a._s(a.mainData[2].nat))]),a._v(" "),t("div",{staticClass:"mb-0"},[a._v(a._s(parseFloat(a.mainData[2].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[2].sid},expression:"{sid: mainData[2].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"banker"},[t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[1].gstatus}},[t("div",[a._v(a._s(a.mainData[1].nat)+" "+a._s(parseFloat(a.mainData[1].b))+":1")]),a._v(" "),t("div",{staticClass:"mb-0"},[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),"1"!=a.cards[5]?t("Card",{staticClass:"r-rotate",attrs:{card:a.cards[5]}}):a._e()],1)]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[1].sid},expression:"{sid: mainData[1].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"banker-pair"},[t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[4].gstatus}},[t("div",[a._v(a._s(a.mainData[4].nat))]),a._v(" "),t("div",{staticClass:"mb-0"},[a._v(a._s(parseFloat(a.mainData[4].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[4].sid},expression:"{sid: mainData[4].sid}"}],staticClass:"baccarat-bets-val"})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={props:["gtype"],mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.gtype&&"dt202"==this.gtype&&(this.gameType=this.gtype,this.gameTitle="20-20 Dragon Tiger - 2"),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"20-20 Dragon Tiger",gameType:"dt20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,gameDetail:[],gameSoda:[],tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table dt20"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"dealer-name"},[a._v("Cards")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"text-right w-100 pr"},[t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                    Range:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"dtobx-top"},[t("div",{staticClass:"dragon-box",class:{suspended:"OPEN"!=a.main[0].gstatus}},[a._m(0),a._v(" "),t("div",{staticClass:"text-center"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[0].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid,subid:0},expression:"{sid: main[0].sid, subid: 0}"}],staticClass:"d-block casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"tiebox",class:{suspended:"OPEN"!=a.main[2].gstatus}},[a._m(1),a._v(" "),t("div",{staticClass:"text-center"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[2].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[2].sid,subid:0},expression:"{sid: main[2].sid, subid: 0}"}],staticClass:"d-block casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"tiger-box",class:{suspended:"OPEN"!=a.main[1].gstatus}},[a._m(2),a._v(" "),t("div",{staticClass:"text-center"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[1].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid,subid:0},expression:"{sid: main[1].sid, subid: 0}"}],staticClass:"d-block casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"pair-box",class:{suspended:"OPEN"!=a.main[3].gstatus}},[a._m(3),a._v(" "),t("div",{staticClass:"text-center"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[3].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[3].sid,subid:0},expression:"{sid: main[3].sid, subid: 0}"}],staticClass:"d-block casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container mt-5"},[t("div",{staticClass:"teen1dayleft"},[t("div",[t("div",{staticClass:"casino-box-row justify-content-center casino-odds casino-title"},[t("div",{staticClass:"text-left w-100"},[t("b",{staticClass:"text-playera"},[a._v("Dragon")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[4].min},expression:"{size: main[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[4].max},expression:"{size: main[4].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[4].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[5].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[6].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[7].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[4].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Even")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[4].sid,subid:0},expression:"{sid: main[4].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[5].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Odd")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[5].sid,subid:0},expression:"{sid: main[5].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[7].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[7].sid,subid:0},expression:"{sid: main[7].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[6].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[6].sid,subid:0},expression:"{sid: main[6].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"casino-box cards-box"},[t("div",{staticClass:"w-100"},[t("div",{staticClass:"casino-odds casino-cards-odds-title"},[t("div",{staticClass:"text-center w-100"},[t("b",[a._v(a._s(a.main[8].b))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[8].min},expression:"{size: main[8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[8].max},expression:"{size: main[8].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[8].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[8].sid,subid:0},expression:"{sid: main[8].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[9].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9].sid,subid:0},expression:"{sid: main[9].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[10].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[10].sid,subid:0},expression:"{sid: main[10].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[11].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[11].sid,subid:0},expression:"{sid: main[11].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[12].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/5.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[12].sid,subid:0},expression:"{sid: main[12].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[13].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/6.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[13].sid,subid:0},expression:"{sid: main[13].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[14].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/7.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[14].sid,subid:0},expression:"{sid: main[14].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[15].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/8.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[15].sid,subid:0},expression:"{sid: main[15].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[16].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/9.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[16].sid,subid:0},expression:"{sid: main[16].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[17].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/10.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[17].sid,subid:0},expression:"{sid: main[17].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[18].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[18].sid,subid:0},expression:"{sid: main[18].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[19].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[19].sid,subid:0},expression:"{sid: main[19].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[20].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[20].sid,subid:0},expression:"{sid: main[20].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",[t("div",{staticClass:"casino-box-row justify-content-center casino-odds casino-title"},[t("div",{staticClass:"text-left w-100"},[t("b",{staticClass:"text-playerb"},[a._v("Tiger")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo4"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[21].min},expression:"{size: main[21].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[21].max},expression:"{size: main[21].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[21].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[22].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[23].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.main[24].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[21].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Even")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[21].sid,subid:0},expression:"{sid: main[21].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[22].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Odd")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[22].sid,subid:0},expression:"{sid: main[22].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[24].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[24].sid,subid:0},expression:"{sid: main[24].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[23].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[23].sid,subid:0},expression:"{sid: main[23].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"casino-box cards-box"},[t("div",{staticClass:"w-100"},[t("div",{staticClass:"casino-odds casino-cards-odds-title"},[t("div",{staticClass:"text-center w-100"},[t("b",[a._v(a._s(a.main[25].b))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo5"}},[a._v("\r\n                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[25].min},expression:"{size: main[25].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[25].max},expression:"{size: main[25].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[25].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[25].sid,subid:0},expression:"{sid: main[25].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[26].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[26].sid,subid:0},expression:"{sid: main[26].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[27].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[27].sid,subid:0},expression:"{sid: main[27].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[28].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[28].sid,subid:0},expression:"{sid: main[28].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[29].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/5.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[29].sid,subid:0},expression:"{sid: main[29].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[30].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/6.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[30].sid,subid:0},expression:"{sid: main[30].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[31].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/7.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[31].sid,subid:0},expression:"{sid: main[31].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[32].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/8.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[32].sid,subid:0},expression:"{sid: main[32].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[33].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/9.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[33].sid,subid:0},expression:"{sid: main[33].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[34].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/10.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[34].sid,subid:0},expression:"{sid: main[34].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[35].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[35].sid,subid:0},expression:"{sid: main[35].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[36].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[36].sid,subid:0},expression:"{sid: main[36].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.main[37].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[37].sid,subid:0},expression:"{sid: main[37].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                                ")])])])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",[a("b",[this._v("Dragon")])])},function(){var a=this._self._c;return a("div",[a("b",[this._v("Tie")])])},function(){var a=this._self._c;return a("div",[a("b",[this._v("Tiger")])])},function(){var a=this._self._c;return a("div",[a("b",[this._v("Pair")])])}],!1,null,null,null);t.a=v.exports},,function(a,t,s){"use strict";var e={name:"InsideLoader",props:{isVisible:{type:Boolean,required:!0}}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return this.isVisible?a("div",{staticClass:"inside-loader-overlay"}):this._e()}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={name:"Market7",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[t("a",{attrs:{href:"javascript:void(0)",title:""}},[t("img",{staticClass:"mr-1",attrs:{src:a.imgPath+"admin/img/arrow-down.svg"}})]),a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},a.getClass(i.odds,"BACK",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size&&0!=i.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"layodds".concat(n),staticClass:"bl-box lay",class:[{"no-val":0==i.odds},a.getClass(i.odds,"LAY",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size&&0!=i.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]}))],2)]),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Back")]),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("Lay")])])}],!1,null,null,null);t.a=n.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,t,s){"use strict";var e,i=s(0),n=s(129),o=s(10),c=s(130),r=s(23),l=s(22);s(41);function d(a){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function v(a,t,s){var e;return e=function(a,t){if("object"!=d(a)||!a)return a;var s=a[Symbol.toPrimitive];if(void 0!==s){var e=s.call(a,t||"default");if("object"!=d(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(a)}(t,"string"),(t="symbol"==d(e)?e:String(e))in a?Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[t]=s,a}function m(a){return function(a){if(Array.isArray(a))return u(a)}(a)||function(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}(a)||function(a,t){if(!a)return;if("string"==typeof a)return u(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return u(a,t)}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}function p(){p=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function v(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function m(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=v;var u="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=m(a[i],a,n);if("throw"!==r.type){var l=r.arg,v=l.value;return v&&"object"==d(v)&&e.call(v,"__await")?t.resolve(v.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(v).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=u;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===u)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=m(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=m(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(d(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(v(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function b(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}function g(a){return function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){b(n,e,i,o,c,"next",a)}function c(a){b(n,e,i,o,c,"throw",a)}o(void 0)}))}}var h={components:{Switches:n.a,PageHeader:o.a,InsideLoader:c.a,downloadexcel:r.a},mounted:function(){this.accountStatus=this.$route.params.type,this.pageTitle="Account List",this.$store.state.adminUser=JSON.parse(this.$ls.get("admin_user")),this.$route.params.guid&&(this.guid=this.$route.params.guid),this.getTotalBal(),this.setUserListTableFields(),this.getUserList()},data:function(){return{userList:[],allUserBal:[],items:[],guid:"",uname:"",ExtraMDLLoader:!1,CreditLoader:!1,DipositeLoader:!1,WithDrawLoader:!1,userCreditUpdate:{remark:"",amount:0,guid:"",mpassword:""},userchangepassword:{password:"",mpassword:"",user:""},LockData:{guid:"",isuser:!1,isbet:!1,mpassword:""},editProfileData:{guid:"",fname:"",plock:!1,fmst:!1,mpass:""},selectedUserData:{},mpassword:"Admin567",UserChangePasswordHistory:[{key:"edt",label:"Date Time"},{key:"msg",label:"Message"},{key:"ip",label:"IP"},{key:"bdetail",label:"Agent"},{key:"uname",label:"Detail"}],UserAccountHistory:[{key:"sauname",label:"Super User"},{key:"uname",label:"User"},{key:"tfrom",label:"Transfer From"},{key:"amt",label:"Amount",thClass:"text-right"},{key:"edt",label:"Date"}],userstblfields:[{key:"uname",label:"User Name",sortable:!0},{key:"crebal",label:"Credit Referance",sortable:!0,thClass:"text-right"},{key:"uact",label:"U st"},{key:"bact",label:"B st"},{key:"expolim",label:"Exposure Limit"},{key:"pship",label:"Deafult (%)"},{key:"utype",label:"Account Type"},{key:"guid",label:"Action"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,100,250,500,750,1e3],userProfileData:{},loginHistory:[],cphistoryData:[],acchistoryData:[],DipoWidrawData:[],ExposureData:[],CreditData:[],creditHistoryData:[],creditTab:1,exoldlimit:"",exnewlimit:"",userDiposite:{loginusrname:"",loginusramount:"",loginusrNamount:"",usrname:"",usrnameamount:"",usrnameNamount:"",amount:"",remark:"",mpassword:""},excelColumns:{"User Name":"uname","Credit Referance":"crebal","U st":"uact","B st":"bact","Exposure Limit":"expolim","Default %":"pship","Account type":"utype"},pdfColumn:[{title:"User Name",dataKey:"uname"},{title:"Credit Referance",dataKey:"crebal"},{title:"U st",dataKey:"uact"},{title:"B st",dataKey:"bact"},{title:"Exposure Limit",dataKey:"expolim"},{title:"Deafult %",dataKey:"pship"},{title:"Account type",dataKey:"utype"}],reverseEntryData:{etype:"",guid:"",amt:"",edt:"",rmk:"",mpass:""},searchAnalysisData:null,load:1,pageTitle:"",accountStatus:"",isPdf:!1,searchuser:""}},watch:{currentPage:function(a,t){this.getUserList(a),this.$emit("input",a)},perPage:function(a,t){this.$emit("input",a),this.getUserList()}},methods:(e={setUserListTableFields:function(){1==this.$store.state.adminUser.ispa&&(this.userstblfields=[{key:"uname",label:"User Name",sortable:!0},{key:"crebal",label:"Credit Referance",sortable:!0,thClass:"text-right"},{key:"uact",label:"U st"},{key:"bact",label:"B st"},{key:"expolim",label:"Exposure Limit"},{key:"pship",label:"Default(%)"},{key:"utype",label:"Account Type"},{key:"guid",label:"Action"}],this.excelColumns={"User Name":"uname","Credit Referance":"crebal",Pts:"subgen","Client(P/L)":"pl",Exposure:"expo","Available Pts":"bal","U st":"uact","B st":"bact","Exposure Limit":"expolim","Default(%)":"pship","Account type":"utype"},this.pdfColumn=[{title:"User Name",dataKey:"uname"},{title:"Credit Referance",dataKey:"crebal"},{title:"Pts",dataKey:"subgen"},{title:"Client(P/L)",dataKey:"pl"},{title:"Exposure",dataKey:"expo"},{title:"Available Pts",dataKey:"bal"},{title:"U st",dataKey:"uact"},{title:"B st",dataKey:"bact"},{title:"Exposure Limit",dataKey:"expolim"},{title:"Default(%)",dataKey:"pship"},{title:"Account type",dataKey:"utype"}])},getExportData:function(){var a=this;return g(p().mark((function t(){var s,e;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.isPdf=!0,s=[],e=[{uname:"",crebal:0,subgen:0,pl:0,expo:0,bal:0,bact:"",uact:"",expolim:"",pname:"",utype:""}],t.next=5,i.a.callApi("userlist",{pno:1,row:1,uname:"",ispdf:a.isPdf}).then((function(t){a.$store.state.isLoading=!1,t.success?s=t.data:(a.$store.state.isLoading=!1,a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:t.msg}))})).catch((function(a){console.log(a)}));case 5:return _.forEach(s,(function(a,t){s[t].uname=s[t].uname,s[t].uact=s[t].uact?"Active":"Disabled",s[t].bact=s[t].bact?"Active":"Disabled",s[t].pship=s[t].pship.split(" ")[0],"user"!=s[t].utype.toLowerCase()?s[t].plper=parseFloat((100-parseInt(s[t].pship.split(" ")[0]))*s[t].pl/100).toFixed(2):(s[t].bal=s[t].subgen-s[t].expo,s[t].plper="-"),e[0].crebal+=parseFloat(s[t].crebal),e[0].subgen+=parseFloat(s[t].subgen),e[0].pl+=parseFloat(s[t].pl),e[0].expo+=parseFloat(s[t].expo),"user"!=s[t].utype.toLowerCase()?e[0].bal+=parseFloat(s[t].bal):e[0].bal+=parseFloat(s[t].subgen-s[t].expo),e.push(s[t])})),t.abrupt("return",e);case 7:case"end":return t.stop()}}),t)})))()},fetchExcelData:function(){var a;return this.$store.state.isLoading=!0,0!==(a=this.getExportData()).length&&a},exportPdf:function(){var a=this;return g(p().mark((function t(){var s,e,i;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=a,t.next=3,s.getExportData();case 3:0!==(e=t.sent).length&&((i=new l.default("l","pt")).text("User List",400,25),i.autoTable(s.pdfColumn,e),i.save("userlist.pdf"));case 5:case"end":return t.stop()}}),t)})))()},isNumber:function(a,t){var s=(a=a||window.event).keyCode?a.keyCode:a.which;!(s<48||s>57)||46===s&&-1==t.indexOf(".")||a.preventDefault(),null!=t&&t.indexOf(".")>-1&&t.split(".")[1].length>1&&a.preventDefault()},generateBreadCrum:function(a){if(this.items=[{text:"Home",to:{name:"home"}}],""==this.guid)this.items.push({text:"Account List",active:!0});else for(var t=0;t<a.length;t++)0==t?this.items.push({text:"Account List",to:{name:"users"}}):this.items.push({text:a[t].uname,to:{name:"childusers",params:{guid:a[t].guid}}})},goToChild:function(a){return{name:"childusers",params:{guid:a.guid}}},updateUserPassword:function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&(t.userchangepassword.user=t.selectedUserData.guid,i.a.callApi("cp",t.userchangepassword).then((function(a){a.success?(t.reserChangePasswordFrm(),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.hideModal("changepwdMDL")):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){})))}))},reserChangePasswordFrm:function(){this.userchangepassword={password:"",mpassword:"",user:""},this.$validator.reset()},withdrawUserCredit:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,remark:t.userDiposite.remark,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("wc",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.getCreditData(),t.$validator.reset(),t.hideModal("creditUpdate"),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))},updateExposureLimit:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={guid:t.selectedUserData.guid,new:t.exnewlimit};t.$store.state.isLoading=!0,i.a.callApi("updateExposureLimit",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.getCreditData(),t.getUserList(),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetExposureLimit(),t.$validator.reset(),t.hideModal("exposureLimitMDL")):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))},updateUserCredit:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("addcredit",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.getCreditData(),t.getUserList(t.currentPage),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.$validator.reset(),t.hideModal("creditUpdate"),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))}},v(v(v(v(v(v(v(v(v(v(e,"reserChangePasswordFrm",(function(){this.userchangepassword={password:"",mpassword:"",user:""},this.$validator.reset()})),"resetLockDataFrm",(function(){this.LockData={guid:"",isuser:this.LockData.isuser,isbet:this.LockData.isbet,mpassword:""},this.$validator.reset()})),"resetExposureLimit",(function(){this.exoldlimit="",this.exnewlimit=""})),"updatebetLock",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&i.a.callApi("bl",t.LockData).then((function(a){a.success?(t.getUserList(t.currentPage),t.hideModal("ExtraMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetLockDataFrm(),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){}))}))})),"updateUserLock",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){if(1==t.$store.state.isLoading)return!1;t.LockData.guid=t.selectedUserData.guid,t.$store.state.isLoading=!0,i.a.callApi("lock",t.LockData).then((function(a){t.$store.state.isLoading=!1,a.success?(t.getUserList(t.currentPage),t.hideModal("changestatusMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetLockDataFrm(),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){}))}}))})),"updateUserProfile",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&(t.$store.state.isLoading=!0,i.a.callApi("user/updateprofile",t.editProfileData).then((function(a){t.$store.state.isLoading=!1,a.success?(t.getUserList(t.currentPage),t.hideModal("ExtraMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetLockDataFrm(),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){})))}))})),"hideModal",(function(a){this.$refs[a].hide()})),"onFiltered",(function(a){this.totalRows=a.length,this.currentPage=1})),"openUserCreditUpdateMdl",(function(a){""==this.guid&&(this.selectedUserData=a,this.openCreditTabs("addCredit"),this.$refs.creditUpdate.show())})),"openCreditTabs",(function(a){switch(a){case"addCredit":this.creditTab=1,this.getCreditData();break;case"withdrawCredit":this.creditTab=2,this.getCreditData();break;case"creditHistory":this.getCreditHistoryData();break;default:console.log("")}})),v(v(v(v(v(v(v(v(v(v(e,"getCreditData",(function(){var a=this;this.CreditData=[],this.CreditLoader=!0,i.a.callApi("creditdata",{guid:this.selectedUserData.guid}).then((function(t){a.CreditLoader=!1,t.success?(a.CreditData=t.data.t1,a.userDiposite={loginusrname:a.CreditData[0].uname,loginusramount:a.CreditData[0].crebal,loginusrNamount:a.CreditData[0].crebal,usrname:a.CreditData[1].uname,usrnameamount:a.CreditData[1].crebal.toFixed(2),usrnameNamount:a.CreditData[1].crebal,amount:"",remark:"",mpassword:""}):a.userDiposite={}})).catch((function(t){a.CreditLoader=!1}))})),"calculatewithdrawCreditChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;this.userDiposite.loginusrNamount=parseFloat(this.userDiposite.loginusramount)+parseFloat(a),this.userDiposite.usrnameNamount=parseFloat(this.userDiposite.usrnameamount)-parseFloat(a)})),"calculateAddCreditChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;this.userDiposite.loginusrNamount=parseFloat(this.userDiposite.loginusramount)-parseFloat(a),this.userDiposite.usrnameNamount=parseFloat(this.userDiposite.usrnameamount)+parseFloat(a)})),"openUserdepositeMDL",(function(a){this.selectedUserData=a,this.getDipoWidrawData(),this.$refs.depositeMDL.show()})),"openExposureLimitMDL",(function(a){this.selectedUserData=a,this.getExposureData(),this.$refs.exposureLimitMDL.show()})),"openUserwithdrwalMDL",(function(a){this.selectedUserData=a,this.getDipoWidrawData(),this.userCreditUpdate.guid=a.guid,this.$refs.withdrwalMDL.show()})),"openUserExtraMDL",(function(a){this.selectedUserData=a,this.userCreditUpdate.guid=a.guid,this.openExtraTabs("profile"),this.$refs.ExtraMDL.show()})),"getExposureData",(function(){var a=this;this.ExposureData=[],i.a.callApi("exposuredata",{guid:this.selectedUserData.guid}).then((function(t){t.success?(a.ExposureData=t.data,a.exoldlimit=t.data[0].expolimit):a.ExposureData=[]})).catch((function(t){a.isCheckingUserName=!1}))})),"openUserChangePwdMdl",(function(a){this.selectedUserData=a,this.$refs.changepwdMDL.show()})),"openUserChangeStatusMdl",(function(a){this.selectedUserData=a,this.getProfileData(),this.$refs.changestatusMDL.show()})),v(v(v(v(v(v(v(v(v(v(e,"getDipoWidrawData",(function(){var a=this;this.DipoWidrawData=[],i.a.callApi("dipowidrawdata",{guid:this.selectedUserData.guid}).then((function(t){t.success?(a.DipoWidrawData=t.data.t1,a.userDiposite={loginusrname:a.DipoWidrawData[0].uname,loginusramount:a.DipoWidrawData[0].bal,loginusrNamount:a.DipoWidrawData[0].bal,usrname:a.DipoWidrawData[1].uname,usrnameamount:a.DipoWidrawData[1].bal,usrnameNamount:0,usrnamepl:a.DipoWidrawData[1].pl,usrnameNpl:0,amount:"",remark:"",mpassword:""}):a.DipoWidrawData=[]})).catch((function(t){a.isCheckingUserName=!1}))})),"calculateDipositeChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;if(parseFloat(a)>0){var t=parseFloat(this.userDiposite.loginusramount)-parseFloat(a);this.userDiposite.loginusrNamount=t.toFixed(2);var s=parseFloat(this.userDiposite.usrnameamount)+parseFloat(a);this.userDiposite.usrnameNamount=s.toFixed(2),this.userDiposite.usrnameNpl=parseFloat(this.userDiposite.usrnamepl)+parseFloat(a)}else this.userDiposite.loginusrNamount=this.userDiposite.loginusramount,this.userDiposite.usrnameNamount=0,this.userDiposite.usrnameNpl=0})),"updateUserDeposit",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,remark:t.userDiposite.remark,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("cg",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.$validator.reset(),t.hideModal("depositeMDL"),t.getUserList(t.currentPage)):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))})),"calculateWithdrawChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;if(parseFloat(a)>0){var t=parseFloat(this.userDiposite.loginusramount)+parseFloat(a);this.userDiposite.loginusrNamount=t.toFixed(2);var s=parseFloat(this.userDiposite.usrnameamount)-parseFloat(a);this.userDiposite.usrnameNamount=s.toFixed(2);var e=parseFloat(this.userDiposite.usrnamepl)-parseFloat(a);this.userDiposite.usrnameNpl=e.toFixed(2)}else this.userDiposite.loginusrNamount=this.userDiposite.loginusramount,this.userDiposite.usrnameNamount=0,this.userDiposite.usrnameNpl=0})),"updateUserWithdrawal",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,remark:t.userDiposite.remark,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("wg",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.getUserList(t.currentPage),t.getDipoWidrawData(),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.$validator.reset(),t.hideModal("withdrwalMDL"),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){}))}}))})),"openExtraTabs",(function(a){switch(a){case"profile":this.getProfileData();break;case"ulock":this.LockData={guid:this.selectedUserData.guid,isuser:!!this.userProfileData.uact,isbet:!!this.userProfileData.bact,mpassword:""};break;case"cp":this.reserChangePasswordFrm();break;case"accountHistory":this.getaccHistroy();break;case"editprofile":this.resetEditProfileForm();break;default:console.log("")}})),"resetEditProfileForm",(function(){this.editProfileData={guid:this.selectedUserData.guid,plock:!!this.userProfileData.plock,fmst:!!this.userProfileData.fmst,fname:this.userProfileData.fname,mpass:""}})),"getcpHistroy",(function(){var a=this;this.cphistoryData=[],this.ExtraMDLLoader=!0,i.a.callApi("cphistory",{guid:this.selectedUserData.guid,uname:this.selectedUserData.uname}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.cphistoryData=t.data.t1:a.cphistoryData=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),"getaccHistroy",(function(){var a=this;this.acchistoryData=[],this.ExtraMDLLoader=!0,i.a.callApi("acchistrorydata",{guid:this.selectedUserData.guid}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.acchistoryData=t.data.t1:a.acchistoryData=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),"getCreditHistoryData",(function(){var a=this;this.creditHistoryData=[],this.ExtraMDLLoader=!0,i.a.callApi("credithistorydata",{guid:this.selectedUserData.guid}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.creditHistoryData=t.data.t1:a.creditHistoryData=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),v(v(v(v(v(v(v(v(v(v(e,"getLoginHistroy",(function(){var a=this;this.loginHistory=[],this.ExtraMDLLoader=!0,i.a.callApi("loginhistory",{guid:this.selectedUserData.guid,uname:this.selectedUserData.uname}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.loginHistory=t.data.t1:a.loginHistory=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),"getProfileData",(function(){var a=this;this.userProfileData={},this.ExtraMDLLoader=!0,i.a.callApi("profiledata",{guid:this.selectedUserData.guid}).then((function(t){a.ExtraMDLLoader=!1,t.success?(a.userProfileData=t.data.t1[0],a.LockData={guid:a.selectedUserData.guid,isuser:!!a.userProfileData.uact,isbet:!!a.userProfileData.bact,mpassword:""}):a.userProfileData={}})).catch((function(t){a.ExtraMDLLoader=!1}))})),"resetUserList",(function(){this.uname="",this.searchuser="",this.load=1,this.getUserList(1)})),"getUserList",(function(){var a=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,s={};s=""!=this.guid?{guid:this.guid,pno:t,row:this.perPage,uname:this.uname,load:this.load,accountStatus:this.accountStatus}:{pno:t,row:this.perPage,uname:this.uname,load:this.load,accountStatus:this.accountStatus,ispdf:this.isPdf},this.$store.state.isLoading=!0,i.a.callApi("userlist",s).then((function(t){if(a.$store.state.isLoading=!1,t.success){var s=null==t.data.t1?[]:t.data.t1;a.userList=[{crebal:a.allUserBal.crebal,utype:"",pship:"",uname:"",guid:""}].concat(m(s)),a.totalRows=t.data.t2.trow,a.generateBreadCrum(t.data.t3),a.load=0}else a.load=0,a.userList=[]})).catch((function(t){a.$store.state.isLoading=!1,a.userList=[],a.load=0}))})),"openDepositTabs",(function(a){switch(a){case 1:this.getDipoWidrawData();break;case 2:this.resetReverseEntryData(),this.getReverseEntryData("D");break;default:console.log("")}})),"openWithdrawTabs",(function(a){switch(a){case 1:this.getDipoWidrawData();break;case 2:this.resetReverseEntryData(),this.getReverseEntryData("W");break;default:console.log("")}})),"resetReverseEntryData",(function(){this.reverseEntryData={etype:"",guid:"",amt:"",edt:"",rmk:"",mpass:"",msg:""}})),"getReverseEntryData",(function(a){var t=this;i.a.callApi("reventrylist",{etype:a,guid:this.selectedUserData.guid}).then((function(s){t.$store.state.isLoading=!1,s.success?t.reverseEntryData={etype:a,guid:t.selectedUserData.guid,amt:s.data[0].amt,edt:s.data[0].edt,rmk:s.data[0].rmk,mpass:"",mag:""}:t.reverseEntryData={etype:"",guid:"",amt:"",edt:"",rmk:"",mpass:"",msg:s.msg}})).catch((function(a){t.resetReverseEntryData(),t.$store.state.isLoading=!1}))})),"reverseEntrySubmit",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&i.a.callApi("reventrybal",t.reverseEntryData).then((function(a){a.success?(t.$swal("",a.msg,"success"),t.$validator.reset(),"D"==t.reverseEntryData.etype?t.hideModal("depositeMDL"):t.hideModal("withdrwalMDL"),t.resetReverseEntryData(),t.getUserList()):t.$swal("",a.msg,"error")})).catch((function(a){}))}))})),"openMarketAnalysisModal",(function(a){var t=this;0!=a.expo&&(this.$store.state.isLoading=!0,i.a.callApi("report/searchanalysispopup",{uid:a.guid}).then((function(a){t.$store.state.isLoading=!1,200==a.status&&(t.searchAnalysisData=a.data,t.$refs.searchAnalysisModal.show())})).catch((function(a){t.$store.state.isLoading=!1})))})),v(v(e,"getTotalBal",(function(){var a=this,t={};t=""!=this.guid?{guid:this.guid,uname:this.uname,load:this.load,accountStatus:"all"}:{uname:this.uname,load:this.load,accountStatus:"all"},this.$store.state.isLoading=!0,i.a.callApi("getbal",t).then((function(t){a.$store.state.isLoading=!1,t.success?a.allUserBal=t.data[0]:a.allUserBal=[]})).catch((function(t){a.$store.state.isLoading=!1,a.load=0}))})),"searchUser",(function(){var a=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,s={};s=""!=this.guid?{guid:this.guid,pno:t,row:this.perPage,uname:this.searchuser,load:this.load,accountStatus:this.accountStatus}:{pno:t,row:this.perPage,uname:this.searchuser,load:this.load,accountStatus:this.accountStatus,ispdf:this.isPdf},this.$store.state.isLoading=!0,i.a.callApi("userlist",s).then((function(t){if(a.$store.state.isLoading=!1,t.success&&t.data.t1.length>0){var s=null==t.data.t1?[]:t.data.t1;a.userList=[{crebal:a.allUserBal.crebal,utype:"",pship:"",uname:"",guid:""}].concat(m(s)),a.totalRows=t.data.t2.trow,a.generateBreadCrum(t.data.t3),a.load=0}else a.load=0,a.userList=[]})).catch((function(t){a.$store.state.isLoading=!1,a.userList=[],a.load=0}))})))},f=s(1),C=Object(f.a)(h,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid"},[t("PageHeader",{attrs:{title:a.pageTitle,items:a.items}}),a._v(" "),t("div",{staticClass:"row account-list"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-6 mb-2 search-form"},[t("div",{staticClass:"d-inline-block mr-2"},[t("b-button",{staticClass:"buttons-pdf",attrs:{variant:"danger",type:"button"},on:{click:a.exportPdf}},[t("i",{staticClass:"far fa-file-pdf mr-1"}),a._v("PDF\n                ")]),a._v(" "),t("downloadexcel",{staticClass:"d-inline-block",attrs:{fields:a.excelColumns,fetch:a.fetchExcelData,type:"csv",name:"userlist.xls"}},[t("b-button",{staticClass:"buttons-excel",attrs:{variant:"success",type:"button"}},[t("i",{staticClass:"far fa-file-excel mr-1"}),a._v("Excel\n                  ")])],1)],1)]),a._v(" "),t("div",{staticClass:"col-md-6 text-right mb-2"})]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-sm-12 col-md-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                  Show \n                  "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n                ")],1)])]),a._v(" "),t("div",{staticClass:"col-sm-12 col-md-6"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                  Search:\n                  "),t("b-form-input",{staticClass:"form-control form-control-sm ml-2",attrs:{name:"searchuser",type:"search",placeholder:"Search..."},model:{value:a.searchuser,callback:function(t){a.searchuser=t},expression:"searchuser"}}),a._v(" "),t("button",{staticClass:"btn btn-primary ml-2",attrs:{type:"submit",id:"loaddata"},on:{click:function(t){return a.searchUser()}}},[a._v("Load")]),a._v(" "),t("button",{staticClass:"btn btn-secondary ml-2",attrs:{type:"submit",id:"loaddata"},on:{click:function(t){return a.resetUserList()}}},[a._v("Reset")])],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("b-table",{staticClass:"table no-footer list-clients",attrs:{"show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.userstblfields,items:a.userList,striped:"",bordered:""},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"cell(uname)",fn:function(s){return[""!=s.item.uname?["user"!=s.item.utype.toLowerCase()?t("router-link",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.right",modifiers:{hover:!0,right:!0}}],staticClass:"wrape-text",attrs:{title:s.item.fname,to:a.goToChild(s.item),target:"_blank"}},[t("span",[a._v(a._s(s.item.uname))])]):t("span",{staticClass:"wrape-text",attrs:{title:s.item.fname}},[a._v(a._s(s.item.uname))])]:a._e()]}},{key:"cell(crebal)",fn:function(s){return[""==a.guid&&a.$store.state.acl.creditref?t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:s.item.crebal,expression:"data.item.crebal"}],staticClass:"text-right mb-0 cp"},[a._v(a._s(s.item.crebal))]):t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:s.item.crebal,expression:"data.item.crebal"}],staticClass:"text-right mb-0"})]}},{key:"cell(pship)",fn:function(s){return[t("p",{staticClass:"text-left mb-0"},[a._v(a._s(s.item.pship.split(" ")[0]))])]}},{key:"cell(guid)",fn:function(s){return[t("b-button-group",[""!=s.item.guid?[""==a.guid&&a.$store.state.acl.depo?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserdepositeMDL(s.item)}}},[a._v("D")]):a._e(),a._v(" "),""==a.guid&&a.$store.state.acl.withdraw?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserwithdrwalMDL(s.item)}}},[a._v("W")]):a._e(),a._v(" "),t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openExposureLimitMDL(s.item)}}},[a._v("L")]),a._v(" "),""==a.guid&&a.$store.state.acl.creditref?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserCreditUpdateMdl(s.item)}}},[a._v("C")]):a._e(),a._v(" "),""==a.guid&&a.$store.state.acl.upass?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserChangePwdMdl(s.item)}}},[a._v("P")]):a._e(),a._v(" "),a.$store.state.acl.ulock?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserChangeStatusMdl(s.item)}}},[a._v("S")]):a._e(),a._v(" "),t("b-button",{staticClass:"action-button"},[a._v("More")])]:a._e()],2)]}},{key:"cell(uact)",fn:function(s){return[1==s.item.uact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""},model:{value:!!s.item.uact,callback:function(t){a.$set(s.item,"uact ? true : false",t)},expression:"data.item.uact ? true : false"}})]:0==s.item.uact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""}})]:a._e()]}},{key:"cell(bact)",fn:function(s){return[1==s.item.bact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""},model:{value:!!s.item.bact,callback:function(t){a.$set(s.item,"bact ? true : false",t)},expression:"data.item.bact ? true : false"}})]:0==s.item.bact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""}})]:a._e()]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])]),a._v(" "),t("b-modal",{ref:"creditUpdate",attrs:{"body-class":"credit-mdl","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title"},[a._v("Credit")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("creditUpdate")}}},[a._v("×")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.CreditLoader}}),a._v(" "),a.CreditData.length>0&&1==a.creditTab?t("form",{attrs:{"data-vv-scope":"userCreditUpdate",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserCredit("userCreditUpdate")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Old Credit")]),a._v(" "),t("div",{staticClass:"col-8"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameamount,expression:"userDiposite.usrnameamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Old Credit",type:"text",readonly:"",name:"userCreditUpdateusrnameamount"},domProps:{value:a.userDiposite.usrnameamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameamount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("New Credit")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.amount,expression:"userDiposite.amount"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("userCreditUpdate.userCreditUpdateamount")},attrs:{type:"text",name:"userCreditUpdateamount"},domProps:{value:a.userDiposite.amount},on:{keypress:function(t){return a.isNumber(t,a.userDiposite.amount)},keyup:function(t){return a.calculateAddCreditChange()},input:function(t){t.target.composing||a.$set(a.userDiposite,"amount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userCreditUpdate.userCreditUpdatempassword")},attrs:{name:"userCreditUpdatempassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("creditUpdate")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                    Back\n                  ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                    submit\n                    "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2),a._v(" "),t("b-modal",{ref:"depositeMDL",attrs:{"dialog-class":"modal-dialog-scrollable","header-bg-variant":"","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h4",{staticClass:"modal-title"},[a._v("Deposit")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("depositeMDL")}}},[a._v("×")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.DipositeLoader}}),a._v(" "),a.DipoWidrawData.length>0?t("form",{attrs:{"data-vv-scope":"userdepositeMDL",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserDeposit("userdepositeMDL")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[0].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusramount,expression:"userDiposite.loginusramount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userDipositeloginusramount"},domProps:{value:a.userDiposite.loginusramount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusramount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusrNamount,expression:"userDiposite.loginusrNamount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userDipositeloginusrNamount"},domProps:{value:a.userDiposite.loginusrNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusrNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[1].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameamount,expression:"userDiposite.usrnameamount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userDipositeusrnameamount"},domProps:{value:a.userDiposite.usrnameamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameamount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameNamount,expression:"userDiposite.usrnameNamount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userDipositeusrnameNamount"},domProps:{value:a.userDiposite.usrnameNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Amount")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.amount,expression:"userDiposite.amount"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("userdepositeMDL.userDipositeamount")},attrs:{type:"number",name:"userDipositeamount"},domProps:{value:a.userDiposite.amount},on:{keypress:function(t){return a.isNumber(t,a.userDiposite.amount)},keyup:function(t){return a.calculateDipositeChange()},input:function(t){t.target.composing||a.$set(a.userDiposite,"amount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Remark")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.remark,expression:"userDiposite.remark"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userdepositeMDL.userDipositeremark")},attrs:{name:"userDipositeremark"},domProps:{value:a.userDiposite.remark},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"remark",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userdepositeMDL.userDipositempassword")},attrs:{name:"userDipositempassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("depositeMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                    Back\n                  ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                    submit\n                    "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2),a._v(" "),t("b-modal",{ref:"withdrwalMDL",attrs:{"dialog-class":"modal-dialog-scrollable","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-dark"},[a._v("Withdraw")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("withdrwalMDL")}}},[a._v("×")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.WithDrawLoader}}),a._v(" "),a.DipoWidrawData.length>0?t("form",{attrs:{"data-vv-scope":"userWithdrawFrm",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserWithdrawal("userWithdrawFrm")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[0].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusramount,expression:"userDiposite.loginusramount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userWithdrawFrmloginusramount"},domProps:{value:a.userDiposite.loginusramount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusramount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusrNamount,expression:"userDiposite.loginusrNamount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userWithdrawFrmloginusrNamount"},domProps:{value:a.userDiposite.loginusrNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusrNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[1].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameamount,expression:"userDiposite.usrnameamount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userWithdrawFrmusrnameamount"},domProps:{value:a.userDiposite.usrnameamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameamount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameNamount,expression:"userDiposite.usrnameNamount"}],staticClass:"form-control txt-right",attrs:{type:"text",readonly:"",name:"userWithdrawFrmusrnameNamount"},domProps:{value:a.userDiposite.usrnameNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Amount")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.amount,expression:"userDiposite.amount"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("userWithdrawFrm.userWithdrawFrmamount")},attrs:{type:"number",name:"userWithdrawFrmamount"},domProps:{value:a.userDiposite.amount},on:{keypress:function(t){return a.isNumber(t,a.userDiposite.amount)},keyup:function(t){return a.calculateWithdrawChange()},input:function(t){t.target.composing||a.$set(a.userDiposite,"amount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Remark")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.remark,expression:"userDiposite.remark"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userWithdrawFrm.userWithdrawFrmremark")},attrs:{name:"userWithdrawFrmremark"},domProps:{value:a.userDiposite.remark},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"remark",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userWithdrawFrm.userWithdrawFrmmpassword")},attrs:{name:"userWithdrawFrmmpassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("withdrwalMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                    Back\n                  ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                    submit\n                    "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2),a._v(" "),t("b-modal",{ref:"changepwdMDL",attrs:{"dialog-class":"modal-dialog-scrollable","header-bg-variant":"","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h4",{staticClass:"modal-title"},[a._v("Password")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("changepwdMDL")}}},[a._v("×")])]),a._v(" "),t("form",{attrs:{"data-vv-scope":"UserChangePassword",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserPassword("UserChangePassword")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("New Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userchangepassword.password,expression:"userchangepassword.password"},{name:"validate",rawName:"v-validate",value:"required|min:8|verify_password",expression:"'required|min:8|verify_password'"}],ref:"password",staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserChangePassword.userchangepasswordpassword")},attrs:{type:"password",name:"userchangepasswordpassword","data-vv-as":"Password"},domProps:{value:a.userchangepassword.password},on:{input:function(t){t.target.composing||a.$set(a.userchangepassword,"password",t.target.value)}}}),a._v(" "),a.verrors.has("UserChangePassword.userchangepasswordpassword")?t("small",{staticClass:"error"},[a._v("\n                    "+a._s(a.verrors.first("UserChangePassword.userchangepasswordpassword"))+"\n                  ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Confirm Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userchangepassword.cpassword,expression:"userchangepassword.cpassword"},{name:"validate",rawName:"v-validate",value:"required|min:8|confirmed:password",expression:"'required|min:8|confirmed:password'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserChangePassword.userchangepasswordcpassword")},attrs:{type:"password",name:"userchangepasswordcpassword","data-vv-as":"Confirm Password"},domProps:{value:a.userchangepassword.cpassword},on:{input:function(t){t.target.composing||a.$set(a.userchangepassword,"cpassword",t.target.value)}}}),a._v(" "),a.verrors.has("UserChangePassword.userchangepasswordcpassword")?t("small",{staticClass:"error"},[a._v("\n                    "+a._s(a.verrors.first("UserChangePassword.userchangepasswordcpassword"))+"\n                  ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userchangepassword.mpassword,expression:"userchangepassword.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserChangePassword.userchangepasswordmpassword")},attrs:{type:"password",name:"userchangepasswordmpassword","data-vv-as":"Transaction Code"},domProps:{value:a.userchangepassword.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userchangepassword,"mpassword",t.target.value)}}}),a._v(" "),a.verrors.has("UserChangePassword.userchangepasswordmpassword")?t("small",{staticClass:"error"},[a._v("\n                    "+a._s(a.verrors.first("UserChangePassword.userchangepasswordmpassword"))+"\n                  ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("changepwdMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                    Back\n                  ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                    submit\n                    "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])],2),a._v(" "),t("b-modal",{ref:"changestatusMDL",attrs:{"dialog-class":"modal-dialog-scrollable","header-bg-variant":"","hide-footer":""},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",{staticClass:"d-inline-block d-sm-none"},[a._v("\n                Lock\n              ")]),a._v(" "),t("span",{staticClass:"d-none d-sm-inline-block"},[a._v("User lock")])]},proxy:!0}])},[t("template",{slot:"modal-header"},[t("h4",{staticClass:"modal-title"},[a._v("Change Status")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("changestatusMDL")}}},[a._v("×")])]),a._v(" "),a._v(" "),t("div",{staticClass:"m-t-20"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6 text-left"},[t("p",{staticClass:"text-warning",attrs:{id:"status-username "}},[a._v(a._s(a.userProfileData.uname))])])])]),a._v(" "),t("form",{attrs:{"data-vv-scope":"UserLock",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserLock("UserLock")}}},[t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-6 text-center"},[t("label",{staticClass:"col-form-label d-block"},[a._v("User Active")]),a._v(" "),t("toggle-button",{attrs:{value:a.LockData.isuser,sync:!0,color:"#0088cc",labels:!0},model:{value:a.LockData.isuser,callback:function(t){a.$set(a.LockData,"isuser",t)},expression:"LockData.isuser"}})],1),a._v(" "),t("div",{staticClass:"col-6 text-center"},[t("label",{staticClass:"col-form-label d-block"},[a._v("Bet Active")]),a._v(" "),t("toggle-button",{attrs:{value:a.LockData.isbet,sync:!0,color:"#0088cc",labels:!0},model:{value:a.LockData.isbet,callback:function(t){a.$set(a.LockData,"isbet",t)},expression:"LockData.isbet"}})],1)]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.LockData.mpassword,expression:"LockData.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserLock.UserLockMpassword")},attrs:{type:"password",name:"UserLockMpassword"},domProps:{value:a.LockData.mpassword},on:{input:function(t){t.target.composing||a.$set(a.LockData,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("changestatusMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                    Back\n                  ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                    submit\n                    "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])],2),a._v(" "),t("b-modal",{ref:"ExtraMDL",attrs:{"dialog-class":"modal-dialog-scrollable","body-class":"theme-bg","header-bg-variant":"primary",size:"xl","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-white"},[a._v(a._s(this.selectedUserData.uname))]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("ExtraMDL")}}},[a._v("×")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.ExtraMDLLoader}}),a._v(" "),t("b-tabs",{attrs:{"active-nav-item-class":"tab-bg-primary"}},[t("b-tab",{attrs:{active:""},on:{click:function(t){return a.openExtraTabs("profile")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",[a._v("Profile")])]},proxy:!0}])},[a._v(" "),a.userProfileData.uname?t("div",{staticClass:"row"},[t("div",{staticClass:"col-xl-6"},[t("div",{staticClass:"card text-center"},[t("div",{staticClass:"card-body p-2"},[t("div",{staticClass:"avatar-sm mx-auto mb-1"},[t("span",{staticClass:"avatar-title rounded-circle bg-soft-primary text-primary font-size-16"},[a._v(a._s(a.userProfileData.uname.charAt(0)))])]),a._v(" "),t("h5",{staticClass:"font-size-15"},[t("a",{staticClass:"text-dark",attrs:{href:"javascript: void(0);"}},[a._v(a._s(a.userProfileData.uname))])]),a._v(" "),t("p",{staticClass:"text-muted mb-1"},[a._v(a._s(a.userProfileData.fname))])]),a._v(" "),t("div",{staticClass:"card-footer bg-transparent border-top"},[t("div",{staticClass:"contact-links d-flex font-size-20"},[t("div",{staticClass:"flex-fill"},[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.top",modifiers:{hover:!0,top:!0}}],attrs:{title:a.userProfileData.mno,href:"javascript: void(0);"}},[t("i",{staticClass:"bx bx-phone-call"})])]),a._v(" "),t("div",{staticClass:"flex-fill"},[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.top",modifiers:{hover:!0,top:!0}}],attrs:{title:"City: "+a.userProfileData.ct,href:"javascript: void(0);"}},[t("i",{staticClass:"bx bxs-city"})])])])])]),a._v(" "),a.$store.state.acl.uinfo?t("div",{staticClass:"card personalinfo-card"},[t("div",{staticClass:"card-body"},[t("h4",{staticClass:"card-title mb-4"},[a._v("Partnership Information")]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("table",{staticClass:"table"},[t("tbody",[""!=a.userProfileData.pname?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Partnership Name:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.pname))])]):a._e(),a._v(" "),""!=a.userProfileData.pname?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("User Part:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.opart))])]):a._e(),a._v(" "),""!=a.userProfileData.pname?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Our Part:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.part))])]):a._e(),a._v(" "),""!=a.userProfileData.rem?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Remark:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.rem))])]):a._e()])])])])]):a._e()]),a._v(" "),a.$store.state.acl.uinfo?t("div",{staticClass:"col-xl-6"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("h4",{staticClass:"card-title mb-4"},[a._v("Additional Information")]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("table",{staticClass:"table"},[t("tbody",[t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("User Name:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.uname))])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Full Name:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.fname))])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Mobile Number:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.mno))])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("City:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v(a._s(a.userProfileData.ct))])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Credit Pts:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.crebal,expression:"userProfileData.crebal"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Pts:")]),a._v(" "),t("td",{staticClass:"br-0"},[a.userProfileData.utype&&"user"==a.userProfileData.utype.toLowerCase()?t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.subgen-a.userProfileData.exp,expression:"userProfileData.subgen - userProfileData.exp"}]}):t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.avabal,expression:"userProfileData.avabal"}]})])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Client P/L:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.pl,expression:"userProfileData.pl"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Exposure:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.exp,expression:"userProfileData.exp"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Casino Pts:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.cbal,expression:"userProfileData.cbal"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Sports Pts:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.sbal,expression:"userProfileData.sbal"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Third Party Pts:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.tparty,expression:"userProfileData.tparty"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Created Date :")]),a._v(" "),t("td",{staticClass:"br-0"},[t("span",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:a.userProfileData.cdt},expression:"{ date: userProfileData.cdt }"}]})])])])])])])])]):a._e()]):a._e()]),a._v(" "),""==a.guid?[t("b-tab",{on:{click:function(t){return a.openExtraTabs("accountHistory")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",{staticClass:"d-inline-block d-sm-none"},[a._v("\n                      Acc history\n                    ")]),a._v(" "),t("span",{staticClass:"d-none d-sm-inline-block"},[a._v("Account history")])]},proxy:!0}],null,!1,2715081053)},[a._v(" "),t("div",{staticClass:"table-responsive"},[t("b-table",{staticClass:"table no-footer",attrs:{"show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.UserAccountHistory,items:a.acchistoryData,filter:a.filter},scopedSlots:a._u([{key:"cell(amt)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.amt,expression:"data.item.amt"}],staticClass:"text-right mb-0"})]}},{key:"cell(edt)",fn:function(a){return[t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.item.edt},expression:"{ date: data.item.edt }"}]})]}}],null,!1,3287368749)})],1)])]:a._e(),a._v(" "),""==a.guid?[t("b-tab",{on:{click:function(t){return a.openExtraTabs("editprofile")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",{staticClass:"d-inline-block d-sm-none"},[a._v("\n                      Edit Profile\n                    ")]),a._v(" "),t("span",{staticClass:"d-none d-sm-inline-block"},[a._v("Edit Profile")])]},proxy:!0}],null,!1,3736557053)},[a._v(" "),t("form",{attrs:{"data-vv-scope":"editprofile",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserProfile("editprofile")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Full Name")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.editProfileData.fname,expression:"editProfileData.fname"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("editprofile.fname")},attrs:{placeholder:"Full Name",type:"text",name:"fname"},domProps:{value:a.editProfileData.fname},on:{input:function(t){t.target.composing||a.$set(a.editProfileData,"fname",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row align-items-center"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Change Password Lock")]),a._v(" "),t("b-form-checkbox",{staticClass:"mb-1",attrs:{switch:""},model:{value:a.editProfileData.plock,callback:function(t){a.$set(a.editProfileData,"plock",t)},expression:"editProfileData.plock"}})],1),a._v(" "),1==a.userProfileData.isshow?t("div",{staticClass:"form-group row align-items-center"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Favorite Master")]),a._v(" "),t("b-form-checkbox",{staticClass:"mb-1",attrs:{switch:""},model:{value:a.editProfileData.fmst,callback:function(t){a.$set(a.editProfileData,"fmst",t)},expression:"editProfileData.fmst"}})],1):a._e(),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.editProfileData.mpass,expression:"editProfileData.mpass"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("editprofile.mpass")},attrs:{type:"password",name:"mpass"},domProps:{value:a.editProfileData.mpass},on:{input:function(t){t.target.composing||a.$set(a.editProfileData,"mpass",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                          submit\n                          "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])])]:a._e()],2)],2),a._v(" "),t("b-modal",{ref:"searchAnalysisModal",attrs:{size:"big",title:"My Market","hide-footer":""}},[t("div",{staticClass:"search-analysis"},[null!=a.searchAnalysisData?t("div",{staticClass:"market-analysis-container"},[a.searchAnalysisData.t1?a._l(a.searchAnalysisData.t1,(function(s,e){return t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[t("a",{attrs:{href:"javascript:void(0)"}},[a._v(a._s(s.ename))])]),a._v(" "),t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}]})]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(s.market,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.mname))])])]),a._v(" "),t("tbody",a._l(a.orderBy(s.section,"srno"),(function(s,e){return t("tr",[t("td",[a._v(a._s(s.sname))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.amt))])])})),0)])])])})),0)])])})):a._e(),a._v(" "),a.searchAnalysisData&&a.searchAnalysisData.t2?[t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[a._v("PLayer Battle")])]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.searchAnalysisData.t2,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v(a._s(s.amt))])])})),0)])])])})),0)])])]:a._e(),a._v(" "),a.searchAnalysisData&&a.searchAnalysisData.t3?[t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[a._v("Diam 11")])]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.searchAnalysisData.t3,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v(a._s(s.amt))])])})),0)])])])})),0)])])]:a._e()],2):a._e()])]),a._v(" "),t("b-modal",{ref:"exposureLimitMDL",attrs:{size:"lg","body-class":"credit-mdl","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-dark"},[a._v("Exposure Limit")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("exposureLimitMDL")}}},[a._v("×")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.CreditLoader}}),a._v(" "),a.ExposureData.length>0?t("form",{attrs:{"data-vv-scope":"updateExposureLimit",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateExposureLimit("updateExposureLimit")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Old Limit")]),a._v(" "),t("div",{staticClass:"col-8"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.exoldlimit,expression:"exoldlimit"}],staticClass:"form-control txt-right",attrs:{placeholder:"Old Credit",type:"text",readonly:""},domProps:{value:a.exoldlimit},on:{input:function(t){t.target.composing||(a.exoldlimit=t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("New Limit")]),a._v(" "),t("div",{staticClass:"col-8"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.exnewlimit,expression:"exnewlimit"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("updateExposureLimit.exnewlimit")},attrs:{type:"number",name:"exnewlimit"},domProps:{value:a.exnewlimit},on:{keypress:function(t){return a.isNumber(t,a.exnewlimit)},keyup:function(t){return a.calculateDipositeChange()},input:function(t){t.target.composing||(a.exnewlimit=t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("updateExposureLimit.userWithdrawFrmmpassword")},attrs:{name:"userWithdrawFrmmpassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("exposureLimitMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                    Back\n                  ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                    submit\n                    "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2)],1)])])])],1)}),[],!1,null,null,null);t.a=C.exports},function(a,t,s){"use strict";var e,i=s(0),n=s(129),o=s(10),c=s(130),r=s(23),l=s(22);s(41);function d(a){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function v(a,t,s){var e;return e=function(a,t){if("object"!=d(a)||!a)return a;var s=a[Symbol.toPrimitive];if(void 0!==s){var e=s.call(a,t||"default");if("object"!=d(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(a)}(t,"string"),(t="symbol"==d(e)?e:String(e))in a?Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[t]=s,a}function m(a){return function(a){if(Array.isArray(a))return u(a)}(a)||function(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}(a)||function(a,t){if(!a)return;if("string"==typeof a)return u(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return u(a,t)}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}function p(){p=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function v(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function m(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=v;var u="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=m(a[i],a,n);if("throw"!==r.type){var l=r.arg,v=l.value;return v&&"object"==d(v)&&e.call(v,"__await")?t.resolve(v.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(v).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=u;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===u)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=m(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=m(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(d(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(v(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function b(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}function g(a){return function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){b(n,e,i,o,c,"next",a)}function c(a){b(n,e,i,o,c,"throw",a)}o(void 0)}))}}var h={components:{Switches:n.a,PageHeader:o.a,InsideLoader:c.a,downloadexcel:r.a},mounted:function(){this.activeTab=null!=this.$route.params.type?this.$route.params.type:"active",this.accountStatus="inactive"==this.$route.params.type?"inactive":"active",this.pageTitle="Account List",this.$store.state.adminUser=JSON.parse(this.$ls.get("admin_user")),this.$route.params.guid&&(this.guid=this.$route.params.guid),this.setUserListTableFields(),this.getUserList()},data:function(){return{userList:[],userBal:[],items:[],guid:"",uname:"",ExtraMDLLoader:!1,CreditLoader:!1,DipositeLoader:!1,WithDrawLoader:!1,userCreditUpdate:{remark:"",amount:0,guid:"",mpassword:""},userchangepassword:{password:"",mpassword:"",user:""},LockData:{guid:"",isuser:!1,isbet:!1,mpassword:""},editProfileData:{guid:"",fname:"",plock:!1,fmst:!1,mpass:""},selectedUserData:{},mpassword:"Admin567",UserChangePasswordHistory:[{key:"edt",label:"Date Time"},{key:"msg",label:"Message"},{key:"ip",label:"IP"},{key:"bdetail",label:"Agent"},{key:"uname",label:"Detail"}],UserAccountHistory:[{key:"sauname",label:"Super User"},{key:"uname",label:"User"},{key:"tfrom",label:"Transfer From"},{key:"amt",label:"Amount",thClass:"text-right"},{key:"edt",label:"Date"}],userstblfields:[{key:"uname",label:"User Name",sortable:!0},{key:"crebal",label:"Credit Referance",sortable:!0,thClass:"text-right"},{key:"subgen",label:"Balance",sortable:!0,thClass:"text-right"},{key:"pl",label:"Client(P/L)",sortable:!0,thClass:"text-right"},{key:"expo",label:"Exposure",thClass:"text-right",tdClass:"text-right"},{key:"bal",label:"Available Balance",thClass:"text-right"},{key:"uact",label:"U st"},{key:"bact",label:"B st"},{key:"expolim",label:"Exposure Limit"},{key:"pship",label:"Default(%)"},{key:"utype",label:"Account Type",sortable:!0},{key:"guid",label:"Action"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,100,250,500,750,1e3],userProfileData:{},loginHistory:[],cphistoryData:[],acchistoryData:[],DipoWidrawData:[],ExposureData:[],CreditData:[],creditHistoryData:[],creditTab:1,userDiposite:{loginusrname:"",loginusramount:"",loginusrNamount:"",usrname:"",usrnameamount:"",usrnameNamount:"",amount:"",remark:"",mpassword:""},exoldlimit:"",exnewlimit:"",excelColumns:{"User Name":"uname","Full Name":"fname","Credit Referance":"crebal",Pts:"subgen","Client(P/L)":"pl",Exposure:"expo","Available Pts":"bal","U st":"uact","B st":"bact","Exposure Limit":"expolim","Default(%)":"pship","Account type":"utype"},pdfColumn:[{title:"User Name",dataKey:"uname"},{title:"Full Name",dataKey:"fname"},{title:"Credit Referance",dataKey:"crebal"},{title:"Pts",dataKey:"subgen"},{title:"Client(P/L)",dataKey:"pl"},{title:"Exposure",dataKey:"expo"},{title:"Available Pts",dataKey:"bal"},{title:"U st",dataKey:"uact"},{title:"B st",dataKey:"bact"},{title:"Exposure Limit",dataKey:"expolim"},{title:"Default(%)",dataKey:"pship"},{title:"Account type",dataKey:"utype"}],reverseEntryData:{etype:"",guid:"",amt:"",edt:"",rmk:"",mpass:""},searchAnalysisData:null,load:1,pageTitle:"",accountStatus:"active",activeTab:"active",toggleActive:!1,isPdf:!1,masterbal:null,searchuser:""}},watch:{currentPage:function(a,t){this.getUserList(a),this.$emit("input",a)},perPage:function(a,t){this.$emit("input",a),this.getUserList()}},methods:(e={changeTab:function(a){this.activeTab=a,"active"==this.activeTab?this.accountStatus="active":this.accountStatus="inactive",this.userBal=[],this.userList=[],this.getUserList()},setUserListTableFields:function(){1==this.$store.state.adminUser.ispa&&(this.userstblfields=[{key:"uname",label:"User Name",sortable:!0},{key:"crebal",label:"Credit Referance",sortable:!0,thClass:"text-right"},{key:"subgen",label:"Pts",sortable:!0,thClass:"text-right"},{key:"pl",label:"Client(P/L)",sortable:!0,thClass:"text-right"},{key:"expo",label:"Exposure",thClass:"text-right",tdClass:"text-right"},{key:"bal",label:"Available Pts",thClass:"text-right"},{key:"bact",label:"B st"},{key:"uact",label:"U st"},{key:"pname",label:"PName"},{key:"utype",label:"Account Type",sortable:!0},{key:"guid",label:"Action"}],this.excelColumns={"User Name":"uname","Full Name":"fname","Credit Referance":"crebal",Pts:"subgen","Client(P/L)":"pl",Exposure:"expo","Available Pts":"bal","B st":"bact","U st":"uact","Default(%)":"pship","Account type":"utype"},this.pdfColumn=[{title:"User Name",dataKey:"uname"},{title:"Full Name",dataKey:"fname"},{title:"Credit Referance",dataKey:"crebal"},{title:"Pts",dataKey:"subgen"},{title:"Client(P/L)",dataKey:"pl"},{title:"Exposure",dataKey:"expo"},{title:"Available Pts",dataKey:"bal"},{title:"U st",dataKey:"uact"},{title:"B st",dataKey:"bact"},{title:"Exposure Limit",dataKey:"expolim"},{title:"Default(%)",dataKey:"pship"},{title:"Account type",dataKey:"utype"}])},getExportData:function(){var a=this;return g(p().mark((function t(){var s,e,n;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.isPdf=!0,s=[],e=[{uname:"",crebal:0,subgen:0,pl:0,expo:0,bal:0,bact:"",uact:"",pname:"",utype:""}],n="",n="active"==a.activeTab?"activeuserlist":"inactiveuserlist",t.next=7,i.a.callApi(n,{pno:1,row:1,uname:"",ispdf:a.isPdf}).then((function(t){a.$store.state.isLoading=!1,t.success?s=t.data:(a.$store.state.isLoading=!1,a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:t.msg}))})).catch((function(a){console.log(a)}));case 7:return _.forEach(s,(function(a,t){s[t].uname=s[t].uname,s[t].fname=s[t].fname,s[t].pship=s[t].pship.split(" ")[0],s[t].uact=s[t].uact?"Active":"Disabled",s[t].bact=s[t].bact?"Active":"Disabled","user"!=s[t].utype.toLowerCase()?s[t].plper=parseFloat((100-parseInt(s[t].pship.split(" ")[0]))*s[t].pl/100).toFixed(2):(s[t].bal=s[t].subgen-s[t].expo,s[t].plper="-"),e[0].crebal+=parseFloat(s[t].crebal),e[0].subgen+=parseFloat(s[t].subgen),e[0].pl+=parseFloat(s[t].pl),e[0].expo+=parseFloat(s[t].expo),"user"!=s[t].utype.toLowerCase()?e[0].bal+=parseFloat(s[t].bal):e[0].bal+=parseFloat(s[t].subgen-s[t].expo),e.push(s[t])})),t.abrupt("return",e);case 9:case"end":return t.stop()}}),t)})))()},getMasterBal:function(){var a=this;i.a.callApi("masterbalance",{}).then((function(t){t.success?a.masterbal=t.data.t1[0]:a.masterbal=null})).catch((function(t){a.masterbal=null}))},fetchExcelData:function(){var a;return this.$store.state.isLoading=!0,0!==(a=this.getExportData()).length&&a},exportPdf:function(){var a=this;return g(p().mark((function t(){var s,e,i;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=a,t.next=3,s.getExportData();case 3:0!==(e=t.sent).length&&((i=new l.default("l","pt")).text("User List",400,25),i.autoTable(s.pdfColumn,e),i.save("userlist.pdf"));case 5:case"end":return t.stop()}}),t)})))()},isNumber:function(a,t){var s=(a=a||window.event).keyCode?a.keyCode:a.which;!(s<48||s>57)||46===s&&-1==t.indexOf(".")||a.preventDefault(),null!=t&&t.indexOf(".")>-1&&t.split(".")[1].length>1&&a.preventDefault()},generateBreadCrum:function(a){if(this.items=[{text:"Home",to:{name:"home"}}],""==this.guid)this.items.push({text:"Account List",active:!0});else for(var t=0;t<a.length;t++)0==t?this.items.push({text:"Account List",to:{name:"users"}}):this.items.push({text:a[t].uname,to:{name:"childusers2",params:{guid:a[t].guid}}})},goToChild:function(a){return{name:"childusers2",params:{guid:a.guid,type:this.activeTab}}},updateUserPassword:function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&(t.userchangepassword.user=t.selectedUserData.guid,i.a.callApi("cp",t.userchangepassword).then((function(a){a.success?(t.reserChangePasswordFrm(),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.hideModal("changepwdMDL")):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){})))}))},reserChangePasswordFrm:function(){this.userchangepassword={password:"",mpassword:"",user:""},this.$validator.reset()},withdrawUserCredit:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,remark:t.userDiposite.remark,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("wc",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.getCreditData(),t.$validator.reset(),t.hideModal("creditUpdate"),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))},updateExposureLimit:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={guid:t.selectedUserData.guid,new:t.exnewlimit};t.$store.state.isLoading=!0,i.a.callApi("updateExposureLimit",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.getCreditData(),t.getUserList(),t.exnewlimit="",t.hideModal("exposureLimitMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg})):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))},updateUserCredit:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("addcredit",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.getCreditData(),t.getUserList(t.currentPage),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.$validator.reset(),t.hideModal("creditUpdate"),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))}},v(v(v(v(v(v(v(v(v(v(e,"reserChangePasswordFrm",(function(){this.userchangepassword={password:"",mpassword:"",user:""},this.$validator.reset()})),"resetLockDataFrm",(function(){this.LockData={guid:"",isuser:this.LockData.isuser,isbet:this.LockData.isbet,mpassword:""},this.$validator.reset()})),"updatebetLock",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&i.a.callApi("bl",t.LockData).then((function(a){a.success?(t.getUserList(t.currentPage),t.hideModal("ExtraMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetLockDataFrm(),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){}))}))})),"updateUserLock",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,t.LockData.guid=t.selectedUserData.guid,i.a.callApi("lock",t.LockData).then((function(a){t.$store.state.isLoading=!1,a.success?(t.getUserList(t.currentPage),t.hideModal("changestatusMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),"inactive"==t.activeTab&&(t.activeTab="active"),t.resetLockDataFrm(),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){}))}}))})),"updateUserProfile",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&(t.$store.state.isLoading=!0,i.a.callApi("user/updateprofile",t.editProfileData).then((function(a){t.$store.state.isLoading=!1,a.success?(t.getUserList(t.currentPage),t.hideModal("ExtraMDL"),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetLockDataFrm(),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})})).catch((function(a){})))}))})),"hideModal",(function(a){this.$refs[a].hide()})),"onFiltered",(function(a){this.totalRows=a.length,this.currentPage=1})),"openUserCreditUpdateMdl",(function(a){""==this.guid&&(this.selectedUserData=a,this.openCreditTabs("addCredit"),this.$refs.creditUpdate.show())})),"openCreditTabs",(function(a){switch(a){case"addCredit":this.creditTab=1,this.getCreditData();break;case"withdrawCredit":this.creditTab=2,this.getCreditData();break;case"creditHistory":this.getCreditHistoryData();break;default:console.log("")}})),"getCreditData",(function(){var a=this;this.CreditData=[],this.CreditLoader=!0,i.a.callApi("creditdata",{guid:this.selectedUserData.guid}).then((function(t){a.CreditLoader=!1,t.success?(a.CreditData=t.data.t1,a.userDiposite={loginusrname:a.CreditData[0].uname,loginusramount:a.CreditData[0].crebal,loginusrNamount:a.CreditData[0].crebal,usrname:a.CreditData[1].uname,usrnameamount:a.CreditData[1].crebal.toFixed(2),usrnameNamount:a.CreditData[1].crebal.toFixed(2),amount:"",remark:"",mpassword:""}):a.userDiposite={}})).catch((function(t){a.CreditLoader=!1}))})),v(v(v(v(v(v(v(v(v(v(e,"calculatewithdrawCreditChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;this.userDiposite.loginusrNamount=parseFloat(this.userDiposite.loginusramount)+parseFloat(a),this.userDiposite.usrnameNamount=parseFloat(this.userDiposite.usrnameamount)-parseFloat(a)})),"calculateAddCreditChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;this.userDiposite.loginusrNamount=parseFloat(this.userDiposite.loginusramount)-parseFloat(a),this.userDiposite.usrnameNamount=parseFloat(this.userDiposite.usrnameamount)+parseFloat(a)})),"openUserdepositeMDL",(function(a){this.selectedUserData=a,this.getDipoWidrawData(),this.$refs.depositeMDL.show()})),"openExposureLimitMDL",(function(a){this.selectedUserData=a,this.getExposureData(),this.$refs.exposureLimitMDL.show()})),"openUserwithdrwalMDL",(function(a){this.selectedUserData=a,this.getDipoWidrawData(),this.userCreditUpdate.guid=a.guid,this.$refs.withdrwalMDL.show()})),"openUserExtraMDL",(function(a){this.selectedUserData=a,this.userCreditUpdate.guid=a.guid,this.openExtraTabs("profile"),this.$refs.ExtraMDL.show()})),"openUserChangePwdMdl",(function(a){this.selectedUserData=a,this.$refs.changepwdMDL.show()})),"openUserChangeStatusMdl",(function(a){this.selectedUserData=a,this.getProfileData(),this.$refs.changestatusMDL.show()})),"getExposureData",(function(){var a=this;this.ExposureData=[],i.a.callApi("exposuredata",{guid:this.selectedUserData.guid}).then((function(t){t.success?(a.ExposureData=t.data,a.exoldlimit=t.data[0].expolimit):a.ExposureData=[]})).catch((function(t){a.isCheckingUserName=!1}))})),"getDipoWidrawData",(function(){var a=this;this.DipoWidrawData=[],i.a.callApi("dipowidrawdata",{guid:this.selectedUserData.guid}).then((function(t){t.success?(a.DipoWidrawData=t.data.t1,a.userDiposite={loginusrname:a.DipoWidrawData[0].uname,loginusramount:a.DipoWidrawData[0].bal,loginusrNamount:a.DipoWidrawData[0].bal,usrname:a.DipoWidrawData[1].uname,usrnameamount:a.DipoWidrawData[1].bal,usrnameNamount:0,usrnamepl:a.DipoWidrawData[1].pl,usrnameNpl:0,amount:"",remark:"",mpassword:""}):a.DipoWidrawData=[]})).catch((function(t){a.isCheckingUserName=!1}))})),v(v(v(v(v(v(v(v(v(v(e,"calculateDipositeChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;if(parseFloat(a)>0){var t=parseFloat(this.userDiposite.loginusramount)-parseFloat(a);this.userDiposite.loginusrNamount=t.toFixed(2);var s=parseFloat(this.userDiposite.usrnameamount)+parseFloat(a);this.userDiposite.usrnameNamount=s.toFixed(2),this.userDiposite.usrnameNpl=parseFloat(this.userDiposite.usrnamepl)+parseFloat(a)}else this.userDiposite.loginusrNamount=this.userDiposite.loginusramount,this.userDiposite.usrnameNamount=0,this.userDiposite.usrnameNpl=0})),"updateUserDeposit",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,remark:t.userDiposite.remark,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("cg",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.$validator.reset(),t.hideModal("depositeMDL"),t.getUserList(t.currentPage)):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){t.$store.state.isLoading=!1}))}}))})),"calculateWithdrawChange",(function(){var a=""==this.userDiposite.amount?0:this.userDiposite.amount;if(parseFloat(a)>0){var t=parseFloat(this.userDiposite.loginusramount)+parseFloat(a);this.userDiposite.loginusrNamount=t.toFixed(2);var s=parseFloat(this.userDiposite.usrnameamount)-parseFloat(a);this.userDiposite.usrnameNamount=s.toFixed(2);var e=parseFloat(this.userDiposite.usrnamepl)-parseFloat(a);this.userDiposite.usrnameNpl=e.toFixed(2)}else this.userDiposite.loginusrNamount=this.userDiposite.loginusramount,this.userDiposite.usrnameNamount=0,this.userDiposite.usrnameNpl=0})),"updateUserWithdrawal",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){var s={mpassword:t.userDiposite.mpassword,guid:t.selectedUserData.guid,remark:t.userDiposite.remark,amount:t.userDiposite.amount};if(1==t.$store.state.isLoading)return!1;t.$store.state.isLoading=!0,i.a.callApi("wg",s).then((function(a){setTimeout((function(s){t.$store.state.isLoading=!1,a.success?(t.getUserList(t.currentPage),t.getDipoWidrawData(),t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.$validator.reset(),t.hideModal("withdrwalMDL"),t.getUserList()):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg})}),2500)})).catch((function(a){}))}}))})),"openExtraTabs",(function(a){switch(a){case"profile":this.getProfileData();break;case"ulock":this.LockData={guid:this.selectedUserData.guid,isuser:!!this.userProfileData.uact,isbet:!!this.userProfileData.bact,mpassword:""};break;case"cp":this.reserChangePasswordFrm();break;case"accountHistory":this.getaccHistroy();break;case"editprofile":this.resetEditProfileForm();break;default:console.log("")}})),"resetEditProfileForm",(function(){this.editProfileData={guid:this.selectedUserData.guid,plock:!!this.userProfileData.plock,fmst:!!this.userProfileData.fmst,fname:this.userProfileData.fname,mpass:""}})),"getcpHistroy",(function(){var a=this;this.cphistoryData=[],this.ExtraMDLLoader=!0,i.a.callApi("cphistory",{guid:this.selectedUserData.guid,uname:this.selectedUserData.uname}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.cphistoryData=t.data.t1:a.cphistoryData=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),"getaccHistroy",(function(){var a=this;this.acchistoryData=[],this.ExtraMDLLoader=!0,i.a.callApi("acchistrorydata",{guid:this.selectedUserData.guid}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.acchistoryData=t.data.t1:a.acchistoryData=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),"getCreditHistoryData",(function(){var a=this;this.creditHistoryData=[],this.ExtraMDLLoader=!0,i.a.callApi("credithistorydata",{guid:this.selectedUserData.guid}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.creditHistoryData=t.data.t1:a.creditHistoryData=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),"getLoginHistroy",(function(){var a=this;this.loginHistory=[],this.ExtraMDLLoader=!0,i.a.callApi("loginhistory",{guid:this.selectedUserData.guid,uname:this.selectedUserData.uname}).then((function(t){a.ExtraMDLLoader=!1,t.success?a.loginHistory=t.data.t1:a.loginHistory=[]})).catch((function(t){a.ExtraMDLLoader=!1}))})),v(v(v(v(v(v(v(v(v(v(e,"getProfileData",(function(){var a=this;this.userProfileData={},this.ExtraMDLLoader=!0,i.a.callApi("profiledata",{guid:this.selectedUserData.guid}).then((function(t){a.ExtraMDLLoader=!1,t.success?(a.userProfileData=t.data.t1[0],a.LockData={guid:a.selectedUserData.guid,isuser:!!a.userProfileData.uact,isbet:!!a.userProfileData.bact,mpassword:""}):a.userProfileData={}})).catch((function(t){a.ExtraMDLLoader=!1}))})),"resetUserList",(function(){this.uname="",this.searchuser="",this.load=1,this.getUserList(1)})),"getUserList",(function(){var a=arguments,t=this;return g(p().mark((function s(){var e,n,o;return p().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:1,n={},s.next=4,t.getTotalBal();case 4:return n=""!=t.guid?{guid:t.guid,pno:e,row:t.perPage,uname:t.uname,load:t.load,accountStatus:t.accountStatus}:{pno:e,row:t.perPage,uname:t.uname,load:t.load,accountStatus:t.accountStatus,ispdf:t.isPdf},t.$store.state.isLoading=!0,o="",o="active"==t.accountStatus?"activeuserlist":"inactiveuserlist",s.next=10,i.a.callApi(o,n).then((function(a){if(t.$store.state.isLoading=!1,a.success){var s=null==a.data.t1?[]:a.data.t1;t.userList=[{crebal:t.userBal.crebal,subgen:t.userBal.subgen,pl:t.userBal.pl,bal:t.userBal.bal,utype:"",pship:"",uname:"",guid:""}].concat(m(s)),t.totalRows=a.data.t2.trow,t.generateBreadCrum(a.data.t3),t.load=0}else t.userList=[],t.load=0})).catch((function(a){t.$store.state.isLoading=!1,t.userList=[],t.load=0}));case 10:case"end":return s.stop()}}),s)})))()})),"openDepositTabs",(function(a){switch(a){case 1:this.getDipoWidrawData();break;case 2:this.resetReverseEntryData(),this.getReverseEntryData("D");break;default:console.log("")}})),"openWithdrawTabs",(function(a){switch(a){case 1:this.getDipoWidrawData();break;case 2:this.resetReverseEntryData(),this.getReverseEntryData("W");break;default:console.log("")}})),"resetReverseEntryData",(function(){this.reverseEntryData={etype:"",guid:"",amt:"",edt:"",rmk:"",mpass:"",msg:""}})),"getReverseEntryData",(function(a){var t=this;i.a.callApi("reventrylist",{etype:a,guid:this.selectedUserData.guid}).then((function(s){t.$store.state.isLoading=!1,s.success?t.reverseEntryData={etype:a,guid:t.selectedUserData.guid,amt:s.data[0].amt,edt:s.data[0].edt,rmk:s.data[0].rmk,mpass:"",mag:""}:t.reverseEntryData={etype:"",guid:"",amt:"",edt:"",rmk:"",mpass:"",msg:s.msg}})).catch((function(a){t.resetReverseEntryData(),t.$store.state.isLoading=!1}))})),"reverseEntrySubmit",(function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&i.a.callApi("reventrybal",t.reverseEntryData).then((function(a){a.success?(t.$swal("",a.msg,"success"),t.$validator.reset(),"D"==t.reverseEntryData.etype?t.hideModal("depositeMDL"):t.hideModal("withdrwalMDL"),t.resetReverseEntryData(),t.getUserList()):t.$swal("",a.msg,"error")})).catch((function(a){}))}))})),"openMarketAnalysisModal",(function(a){var t=this;0!=a.expo&&(this.$store.state.isLoading=!0,i.a.callApi("report/searchanalysispopup",{uid:a.guid}).then((function(a){t.$store.state.isLoading=!1,200==a.status&&(t.searchAnalysisData=a.data,t.$refs.searchAnalysisModal.show())})).catch((function(a){t.$store.state.isLoading=!1})))})),"toggle",(function(){this.toggleActive=!this.toggleActive,1==this.toggleActive&&this.getMasterBal()})),v(v(e,"getTotalBal",(function(){var a=this;return g(p().mark((function t(){var s;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s={},s=""!=a.guid?{guid:a.guid,uname:a.uname,load:a.load,accountStatus:a.accountStatus}:{uname:a.uname,load:a.load,accountStatus:a.accountStatus},a.$store.state.isLoading=!0,t.next=5,i.a.callApi("getbal",s).then((function(t){a.$store.state.isLoading=!1,t.success?a.userBal=t.data[0]:a.userBal=[]})).catch((function(t){a.$store.state.isLoading=!1,a.load=0}));case 5:case"end":return t.stop()}}),t)})))()})),"searchUser",(function(){var a=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,s={};s=""!=this.guid?{guid:this.guid,pno:t,row:this.perPage,uname:this.searchuser,load:this.load,accountStatus:this.accountStatus}:{pno:t,row:this.perPage,uname:this.searchuser,load:this.load,accountStatus:this.accountStatus,ispdf:this.isPdf},this.$store.state.isLoading=!0;var e="";e="active"==this.accountStatus?"activeuserlist":"inactiveuserlist",i.a.callApi(e,s).then((function(t){if(a.$store.state.isLoading=!1,t.success&&t.data.t1.length>0){var s=null==t.data.t1?[]:t.data.t1;a.userList=[{crebal:a.userBal.crebal,subgen:a.userBal.subgen,pl:a.userBal.pl,bal:a.userBal.bal,utype:"",pship:"",uname:"",guid:""}].concat(m(s)),a.totalRows=t.data.t2.trow,a.generateBreadCrum(t.data.t3),a.load=0}else a.userList=[],a.load=0})).catch((function(t){a.$store.state.isLoading=!1,a.userList=[],a.load=0}))})))},f=s(1),C=Object(f.a)(h,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid"},["active"==a.activeTab?t("div",{staticClass:"master-balance"},[t("div",{staticClass:"text-center"},[t("span",{class:[{"far fa-arrow-alt-circle-down":!a.toggleActive},{"far fa-arrow-alt-circle-up":a.toggleActive}],attrs:{id:"user-balance"},on:{click:a.toggle}})]),a._v(" "),t("transition",{attrs:{name:"fade"}},[a.toggleActive&&null!=a.masterbal?t("div",{staticClass:"master-balance-detail mt-3",attrs:{id:"master-balance-detail"}},[t("ul",{staticClass:"row"},[t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Upper Level Credit Referance:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.mycf))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Down level Occupy Balance:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.downoBalance))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Down Level Credit Referance:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.downLevelCreditRef))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Total Master Balance")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.generalBal))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Upper Level:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.upPf))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Down Level Profit/Loss :")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.downPf))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Available Balance:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.availaeBalance))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("Available Balance With Profit/Loss:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.wpf))])]),a._v(" "),t("li",{staticClass:"col-md-4"},[t("label",{staticClass:"col-md-8 text-left"},[a._v("My Profit/Loss:")]),a._v(" "),t("span",{staticClass:"text-right col-md-4"},[a._v(a._s(a.masterbal.pf))])])])]):a._e()])],1):a._e(),a._v(" "),t("div",[t("PageHeader",{attrs:{title:a.pageTitle,items:a.items}}),a._v(" "),t("div",{staticClass:"row account-list"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[a._m(0),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-sm-12 col-md-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                    Show \n                    "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n                  ")],1)])]),a._v(" "),t("div",{staticClass:"col-sm-12 col-md-6"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                    Search:\n                    "),t("b-form-input",{staticClass:"form-control form-control-sm ml-2",attrs:{name:"searchuser",type:"search",placeholder:"Search..."},model:{value:a.searchuser,callback:function(t){a.searchuser=t},expression:"searchuser"}}),a._v(" "),t("button",{staticClass:"btn btn-primary ml-2",attrs:{type:"submit",id:"loaddata"},on:{click:function(t){return a.searchUser()}}},[a._v("Load")]),a._v(" "),t("button",{staticClass:"btn btn-secondary ml-2",attrs:{type:"submit",id:"loaddata"},on:{click:function(t){return a.resetUserList()}}},[a._v("Reset")])],1)])])]),a._v(" "),t("b-tabs",{attrs:{"active-nav-item-class":"tab-bg-warning","content-class":"text-muted"}},[t("b-tab",{attrs:{title:"Active Users",active:"active"===this.activeTab},on:{click:function(t){return a.changeTab("active")}}}),a._v(" "),t("b-tab",{attrs:{title:"Deactive Users",active:"inactive"===this.activeTab},on:{click:function(t){return a.changeTab("inactive")}}})],1),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("div",{staticClass:"d-inline-block mr-2 my-3"},[t("b-button",{staticClass:"buttons-pdf",attrs:{variant:"danger",type:"button"},on:{click:a.exportPdf}},[t("i",{staticClass:"far fa-file-pdf mr-1"}),a._v("PDF\n                ")]),a._v(" "),t("downloadexcel",{staticClass:"d-inline-block",attrs:{fields:a.excelColumns,fetch:a.fetchExcelData,type:"csv",name:"userlist.xls"}},[t("b-button",{staticClass:"buttons-excel",attrs:{variant:"success",type:"button"}},[t("i",{staticClass:"far fa-file-excel mr-1"}),a._v("Excel\n                  ")])],1)],1),a._v(" "),t("b-table",{staticClass:"table no-footer list-clients",attrs:{"show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.userstblfields,items:a.userList,filter:a.filter,striped:"",bordered:""},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"cell(uname)",fn:function(s){return[""!=s.item.uname?["user"!=s.item.utype.toLowerCase()?t("router-link",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.right",modifiers:{hover:!0,right:!0}}],staticClass:"wrape-text",attrs:{title:s.item.fname,to:a.goToChild(s.item),target:"_blank"}},[t("span",[a._v(a._s(s.item.uname))])]):t("span",{staticClass:"wrape-text",attrs:{title:s.item.fname}},[a._v(a._s(s.item.uname))])]:a._e()]}},{key:"cell(crebal)",fn:function(s){return[""==a.guid&&a.$store.state.acl.creditref?t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:s.item.crebal,expression:"data.item.crebal"}],staticClass:"text-right mb-0 cp"},[a._v("\n                    "+a._s(s.item.crebal)+"\n                  ")]):t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:s.item.crebal,expression:"data.item.crebal"}],staticClass:"text-right mb-0"})]}},{key:"cell(subgen)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.subgen,expression:"data.item.subgen"}],staticClass:"text-right mb-0"})]}},{key:"cell(pl)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.pl,expression:"data.item.pl"}],staticClass:"text-right mb-0"})]}},{key:"cell(plper)",fn:function(s){return["user"!=s.item.utype.toLowerCase()?[t("p",{staticClass:"text-right mb-0"},[a._v("\n                      "+a._s(parseFloat((100-parseInt(s.item.pship.split(" ")[0]))*s.item.pl/100).toFixed(2))+"\n                    ")])]:[t("p",{staticClass:"text-center"},[a._v("-")])]]}},{key:"cell(expo)",fn:function(s){return[0==s.item.expo?t("p",{staticClass:"mb-0 text-right"},[a._v("0")]):t("a",{directives:[{name:"currencyint",rawName:"v-currencyint",value:s.item.expo,expression:"data.item.expo"}],staticClass:"text-right mb-0",attrs:{href:"javascript:void(0)"}})]}},{key:"cell(bal)",fn:function(a){return["user"==a.item.utype.toLowerCase()?t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.subgen-a.item.expo,expression:"data.item.subgen - data.item.expo"}],staticClass:"text-right mb-0"}):t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.bal,expression:"data.item.bal"}],staticClass:"text-right mb-0"})]}},{key:"cell(pship)",fn:function(s){return[t("p",{staticClass:"text-left mb-0"},[a._v("\n                    "+a._s(s.item.pship.split(" ")[0])+"\n                  ")])]}},{key:"cell(guid)",fn:function(s){return[t("b-button-group",[""!=s.item.guid?[""==a.guid&&a.$store.state.acl.depo?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserdepositeMDL(s.item)}}},[a._v("D")]):a._e(),a._v(" "),""==a.guid&&a.$store.state.acl.withdraw?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserwithdrwalMDL(s.item)}}},[a._v("W")]):a._e(),a._v(" "),t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openExposureLimitMDL(s.item)}}},[a._v("L")]),a._v(" "),""==a.guid&&a.$store.state.acl.creditref?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserCreditUpdateMdl(s.item)}}},[a._v("C")]):a._e(),a._v(" "),""==a.guid&&a.$store.state.acl.upass?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserChangePwdMdl(s.item)}}},[a._v("P")]):a._e(),a._v(" "),a.$store.state.acl.ulock?t("b-button",{staticClass:"action-button",on:{click:function(t){return a.openUserChangeStatusMdl(s.item)}}},[a._v("S")]):a._e()]:a._e()],2)]}},{key:"cell(bact)",fn:function(s){return[1==s.item.bact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""},model:{value:!!s.item.bact,callback:function(t){a.$set(s.item,"bact ? true : false",t)},expression:"data.item.bact ? true : false"}})]:0==s.item.bact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""}})]:a._e()]}},{key:"cell(uact)",fn:function(s){return[1==s.item.uact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""},model:{value:!!s.item.uact,callback:function(t){a.$set(s.item,"uact ? true : false",t)},expression:"data.item.uact ? true : false"}})]:0==s.item.uact?[t("b-form-checkbox",{staticClass:"mb-1",attrs:{disabled:""}})]:a._e()]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])]),a._v(" "),t("b-modal",{ref:"creditUpdate",attrs:{"body-class":"credit-mdl","hide-footer":""},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",[a._v("Credit Deposit")])]},proxy:!0}])},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title"},[a._v("\n                  Credit\n                ")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("creditUpdate")}}},[a._v("\n                  ×\n                ")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.CreditLoader}}),a._v(" "),a._v(" "),a.CreditData.length>0&&1==a.creditTab?t("form",{attrs:{"data-vv-scope":"userCreditUpdate",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserCredit("userCreditUpdate")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Old Credit")]),a._v(" "),t("div",{staticClass:"col-8"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameamount,expression:"userDiposite.usrnameamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Old Credit",type:"text",readonly:"",name:"userCreditUpdateusrnameamount"},domProps:{value:a.userDiposite.usrnameamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameamount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("New Credit")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.amount,expression:"userDiposite.amount"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("userCreditUpdate.userCreditUpdateamount")},attrs:{type:"text",name:"userCreditUpdateamount"},domProps:{value:a.userDiposite.amount},on:{keypress:function(t){return a.isNumber(t,a.userDiposite.amount)},keyup:function(t){return a.calculateAddCreditChange()},input:function(t){t.target.composing||a.$set(a.userDiposite,"amount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userCreditUpdate.userCreditUpdatempassword")},attrs:{name:"userCreditUpdatempassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("creditUpdate")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                      Back\n                    ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                      submit\n                      "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2),a._v(" "),t("b-modal",{ref:"depositeMDL",attrs:{"dialog-class":"modal-dialog-scrollable","header-bg-variant":"","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h4",{staticClass:"modal-title"},[a._v("Deposit")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("depositeMDL")}}},[a._v("\n                  ×\n                ")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.DipositeLoader}}),a._v(" "),a.DipoWidrawData.length>0?t("form",{attrs:{"data-vv-scope":"userdepositeMDL",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserDeposit("userdepositeMDL")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[0].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusramount,expression:"userDiposite.loginusramount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userDipositeloginusramount"},domProps:{value:a.userDiposite.loginusramount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusramount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusrNamount,expression:"userDiposite.loginusrNamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userDipositeloginusrNamount"},domProps:{value:a.userDiposite.loginusrNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusrNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[1].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameamount,expression:"userDiposite.usrnameamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userDipositeusrnameamount"},domProps:{value:a.userDiposite.usrnameamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameamount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameNamount,expression:"userDiposite.usrnameNamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userDipositeusrnameNamount"},domProps:{value:a.userDiposite.usrnameNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Amount")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.amount,expression:"userDiposite.amount"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("userdepositeMDL.userDipositeamount")},attrs:{placeholder:"Amount",type:"number",name:"userDipositeamount"},domProps:{value:a.userDiposite.amount},on:{keypress:function(t){return a.isNumber(t,a.userDiposite.amount)},keyup:function(t){return a.calculateDipositeChange()},input:function(t){t.target.composing||a.$set(a.userDiposite,"amount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Remark")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.remark,expression:"userDiposite.remark"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userdepositeMDL.userDipositeremark")},attrs:{placeholder:"Remark",name:"userDipositeremark"},domProps:{value:a.userDiposite.remark},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"remark",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userdepositeMDL.userDipositempassword")},attrs:{name:"userDipositempassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("depositeMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                      Back\n                    ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                      submit\n                      "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2),a._v(" "),t("b-modal",{ref:"withdrwalMDL",attrs:{"dialog-class":"modal-dialog-scrollable","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-dark"},[a._v("Withdraw")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("withdrwalMDL")}}},[a._v("\n                  ×\n                ")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.WithDrawLoader}}),a._v(" "),a.DipoWidrawData.length>0?t("form",{attrs:{"data-vv-scope":"userWithdrawFrm",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserWithdrawal("userWithdrawFrm")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[0].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusramount,expression:"userDiposite.loginusramount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userWithdrawFrmloginusramount"},domProps:{value:a.userDiposite.loginusramount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusramount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.loginusrNamount,expression:"userDiposite.loginusrNamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userWithdrawFrmloginusrNamount"},domProps:{value:a.userDiposite.loginusrNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"loginusrNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v(a._s(a.DipoWidrawData[1].uname))]),a._v(" "),t("div",{staticClass:"col-8"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameamount,expression:"userDiposite.usrnameamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userWithdrawFrmusrnameamount"},domProps:{value:a.userDiposite.usrnameamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameamount",t.target.value)}}})]),a._v(" "),t("div",{staticClass:"col-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.usrnameNamount,expression:"userDiposite.usrnameNamount"}],staticClass:"form-control txt-right",attrs:{placeholder:"Amount",type:"text",readonly:"",name:"userWithdrawFrmusrnameNamount"},domProps:{value:a.userDiposite.usrnameNamount},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"usrnameNamount",t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Amount")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.amount,expression:"userDiposite.amount"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("userWithdrawFrm.userWithdrawFrmamount")},attrs:{placeholder:"Amount",type:"number",name:"userWithdrawFrmamount"},domProps:{value:a.userDiposite.amount},on:{keypress:function(t){return a.isNumber(t,a.userDiposite.amount)},keyup:function(t){return a.calculateWithdrawChange()},input:function(t){t.target.composing||a.$set(a.userDiposite,"amount",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Remark")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.remark,expression:"userDiposite.remark"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userWithdrawFrm.userWithdrawFrmremark")},attrs:{placeholder:"Remark",name:"userWithdrawFrmremark"},domProps:{value:a.userDiposite.remark},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"remark",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userWithdrawFrm.userWithdrawFrmmpassword")},attrs:{name:"userWithdrawFrmmpassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("withdrwalMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                      Back\n                    ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                      submit\n                      "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2),a._v(" "),t("b-modal",{ref:"changepwdMDL",attrs:{"dialog-class":"modal-dialog-scrollable","header-bg-variant":"","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h4",{staticClass:"modal-title"},[a._v("Password")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("changepwdMDL")}}},[a._v("×")])]),a._v(" "),t("form",{attrs:{"data-vv-scope":"UserChangePassword",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserPassword("UserChangePassword")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("New Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userchangepassword.password,expression:"userchangepassword.password"},{name:"validate",rawName:"v-validate",value:"required|min:8|verify_password",expression:"'required|min:8|verify_password'"}],ref:"password",staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserChangePassword.userchangepasswordpassword")},attrs:{type:"password",name:"userchangepasswordpassword","data-vv-as":"Password"},domProps:{value:a.userchangepassword.password},on:{input:function(t){t.target.composing||a.$set(a.userchangepassword,"password",t.target.value)}}}),a._v(" "),a.verrors.has("UserChangePassword.userchangepasswordpassword")?t("small",{staticClass:"error"},[a._v("\n                      "+a._s(a.verrors.first("UserChangePassword.userchangepasswordpassword"))+"\n                    ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Confirm Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userchangepassword.cpassword,expression:"userchangepassword.cpassword"},{name:"validate",rawName:"v-validate",value:"required|min:8|confirmed:password",expression:"'required|min:8|confirmed:password'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserChangePassword.userchangepasswordcpassword")},attrs:{type:"password",name:"userchangepasswordcpassword","data-vv-as":"Confirm Password"},domProps:{value:a.userchangepassword.cpassword},on:{input:function(t){t.target.composing||a.$set(a.userchangepassword,"cpassword",t.target.value)}}}),a._v(" "),a.verrors.has("UserChangePassword.userchangepasswordcpassword")?t("small",{staticClass:"error"},[a._v("\n                      "+a._s(a.verrors.first("UserChangePassword.userchangepasswordcpassword"))+"\n                    ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userchangepassword.mpassword,expression:"userchangepassword.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserChangePassword.userchangepasswordmpassword")},attrs:{type:"password",name:"userchangepasswordmpassword","data-vv-as":"Transaction Code"},domProps:{value:a.userchangepassword.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userchangepassword,"mpassword",t.target.value)}}}),a._v(" "),a.verrors.has("UserChangePassword.userchangepasswordmpassword")?t("small",{staticClass:"error"},[a._v("\n                      "+a._s(a.verrors.first("UserChangePassword.userchangepasswordmpassword"))+"\n                    ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("changepwdMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                      Back\n                    ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                      submit\n                      "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])],2),a._v(" "),t("b-modal",{ref:"changestatusMDL",attrs:{"dialog-class":"modal-dialog-scrollable","header-bg-variant":"","hide-footer":""},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",{staticClass:"d-inline-block d-sm-none"},[a._v("\n                  Lock\n                ")]),a._v(" "),t("span",{staticClass:"d-none d-sm-inline-block"},[a._v("User lock")])]},proxy:!0}])},[t("template",{slot:"modal-header"},[t("h4",{staticClass:"modal-title"},[a._v("Change Status")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("changestatusMDL")}}},[a._v("×")])]),a._v(" "),a._v(" "),t("div",{staticClass:"m-t-20"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6 text-left"},[t("p",{staticClass:"text-warning",attrs:{id:"status-username "}},[a._v(a._s(a.userProfileData.uname))])])])]),a._v(" "),t("form",{attrs:{"data-vv-scope":"UserLock",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserLock("UserLock")}}},[t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-6 text-center"},[t("label",{staticClass:"col-form-label d-block"},[a._v("User Active")]),a._v(" "),t("toggle-button",{attrs:{value:a.LockData.isuser,sync:!0,color:"#0088cc",labels:!0},model:{value:a.LockData.isuser,callback:function(t){a.$set(a.LockData,"isuser",t)},expression:"LockData.isuser"}})],1),a._v(" "),t("div",{staticClass:"col-6 text-center"},[t("label",{staticClass:"col-form-label d-block"},[a._v("Bet Active")]),a._v(" "),t("toggle-button",{attrs:{value:a.LockData.isbet,sync:!0,color:"#0088cc",labels:!0},model:{value:a.LockData.isbet,callback:function(t){a.$set(a.LockData,"isbet",t)},expression:"LockData.isbet"}})],1)]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.LockData.mpassword,expression:"LockData.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserLock.UserLockMpassword")},attrs:{type:"password",name:"UserLockMpassword"},domProps:{value:a.LockData.mpassword},on:{input:function(t){t.target.composing||a.$set(a.LockData,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("changestatusMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                      Back\n                    ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                      submit\n                      "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])],2),a._v(" "),t("b-modal",{ref:"ExtraMDL",attrs:{"dialog-class":"modal-dialog-scrollable","body-class":"theme-bg","header-bg-variant":"primary",size:"xl","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-white"},[a._v("\n                  "+a._s(this.selectedUserData.uname)+"\n                ")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("ExtraMDL")}}},[a._v("\n                  ×\n                ")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.ExtraMDLLoader}}),a._v(" "),t("b-tabs",{attrs:{"active-nav-item-class":"tab-bg-primary","content-class":"text-muted"}},[t("b-tab",{attrs:{active:""},on:{click:function(t){return a.openExtraTabs("profile")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",[a._v("Profile")])]},proxy:!0}])},[a._v(" "),a.userProfileData.uname?t("div",{staticClass:"row"},[t("div",{staticClass:"col-xl-6"},[t("div",{staticClass:"card text-center"},[t("div",{staticClass:"card-body p-2"},[t("div",{staticClass:"avatar-sm mx-auto mb-1"},[t("span",{staticClass:"avatar-title rounded-circle bg-soft-primary text-primary font-size-16"},[a._v(a._s(a.userProfileData.uname.charAt(0)))])]),a._v(" "),t("h5",{staticClass:"font-size-15"},[t("a",{staticClass:"text-dark",attrs:{href:"javascript: void(0);"}},[a._v(a._s(a.userProfileData.uname))])]),a._v(" "),t("p",{staticClass:"text-muted mb-1"},[a._v("\n                            "+a._s(a.userProfileData.fname)+"\n                          ")])]),a._v(" "),t("div",{staticClass:"card-footer bg-transparent border-top"},[t("div",{staticClass:"contact-links d-flex font-size-20"},[t("div",{staticClass:"flex-fill"},[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.top",modifiers:{hover:!0,top:!0}}],attrs:{title:a.userProfileData.mno,href:"javascript: void(0);"}},[t("i",{staticClass:"bx bx-phone-call"})])]),a._v(" "),t("div",{staticClass:"flex-fill"},[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.top",modifiers:{hover:!0,top:!0}}],attrs:{title:"City: "+a.userProfileData.ct,href:"javascript: void(0);"}},[t("i",{staticClass:"bx bxs-city"})])])])])]),a._v(" "),a.$store.state.acl.uinfo?t("div",{staticClass:"card personalinfo-card"},[t("div",{staticClass:"card-body"},[t("h4",{staticClass:"card-title mb-4"},[a._v("\n                            Partnership Information\n                          ")]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("table",{staticClass:"table"},[t("tbody",[""!=a.userProfileData.pname?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Partnership Name:\n                                  ")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.pname)+"\n                                  ")])]):a._e(),a._v(" "),""!=a.userProfileData.pname?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("User Part:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.opart)+"\n                                  ")])]):a._e(),a._v(" "),""!=a.userProfileData.pname?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Our Part:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.part)+"\n                                  ")])]):a._e(),a._v(" "),""!=a.userProfileData.rem?t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Remark:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.rem)+"\n                                  ")])]):a._e()])])])])]):a._e()]),a._v(" "),a.$store.state.acl.uinfo?t("div",{staticClass:"col-xl-6"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("h4",{staticClass:"card-title mb-4"},[a._v("\n                            Additional Information\n                          ")]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("table",{staticClass:"table"},[t("tbody",[t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("User Name:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.uname)+"\n                                  ")])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Full Name:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.fname)+"\n                                  ")])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Mobile Number:\n                                  ")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.mno)+"\n                                  ")])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("City:")]),a._v(" "),t("td",{staticClass:"br-0"},[a._v("\n                                    "+a._s(a.userProfileData.ct)+"\n                                  ")])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Credit Pts:\n                                  ")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.crebal,expression:"userProfileData.crebal"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Pts:")]),a._v(" "),t("td",{staticClass:"br-0"},[a.userProfileData.utype&&"user"==a.userProfileData.utype.toLowerCase()?t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.subgen-a.userProfileData.exp,expression:"userProfileData.subgen - userProfileData.exp"}]}):t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.avabal,expression:"userProfileData.avabal"}]})])]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Client P/L:\n                                  ")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.pl,expression:"userProfileData.pl"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("Exposure:")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.exp,expression:"userProfileData.exp"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Casino Pts:\n                                  ")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.cbal,expression:"userProfileData.cbal"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Sports Pts:\n                                  ")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.sbal,expression:"userProfileData.sbal"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Third Party Pts:\n                                  ")]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:a.userProfileData.tparty,expression:"userProfileData.tparty"}],staticClass:"br-0"})]),a._v(" "),t("tr",[t("th",{staticClass:"br-0",attrs:{scope:"row"}},[a._v("\n                                    Created Date :\n                                  ")]),a._v(" "),t("td",{staticClass:"br-0"},[t("span",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:a.userProfileData.cdt},expression:"{\n                                      date: userProfileData.cdt,\n                                    }"}]})])])])])])])])]):a._e()]):a._e()]),a._v(" "),""==a.guid?[t("b-tab",{on:{click:function(t){return a.openExtraTabs("accountHistory")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",{staticClass:"d-inline-block d-sm-none"},[a._v("\n                        Acc history\n                      ")]),a._v(" "),t("span",{staticClass:"d-none d-sm-inline-block"},[a._v("Account history")])]},proxy:!0}],null,!1,2765783517)},[a._v(" "),t("div",{staticClass:"table-responsive"},[t("b-table",{staticClass:"table no-footer",attrs:{"show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.UserAccountHistory,items:a.acchistoryData,filter:a.filter},scopedSlots:a._u([{key:"cell(amt)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.amt,expression:"data.item.amt"}],staticClass:"text-right mb-0"})]}},{key:"cell(edt)",fn:function(a){return[t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.item.edt},expression:"{ date: data.item.edt }"}]})]}}],null,!1,3287368749)})],1)])]:a._e(),a._v(" "),""==a.guid?[t("b-tab",{on:{click:function(t){return a.openExtraTabs("editprofile")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",{staticClass:"d-inline-block d-sm-none"},[a._v("\n                        Edit Profile\n                      ")]),a._v(" "),t("span",{staticClass:"d-none d-sm-inline-block"},[a._v("Edit Profile")])]},proxy:!0}],null,!1,3213464317)},[a._v(" "),t("form",{attrs:{"data-vv-scope":"editprofile",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserProfile("editprofile")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Full Name")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.editProfileData.fname,expression:"editProfileData.fname"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("editprofile.fname")},attrs:{placeholder:"Full Name",type:"text",name:"fname"},domProps:{value:a.editProfileData.fname},on:{input:function(t){t.target.composing||a.$set(a.editProfileData,"fname",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row align-items-center"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Change Password Lock")]),a._v(" "),t("b-form-checkbox",{staticClass:"mb-1",attrs:{switch:""},model:{value:a.editProfileData.plock,callback:function(t){a.$set(a.editProfileData,"plock",t)},expression:"editProfileData.plock"}})],1),a._v(" "),1==a.userProfileData.isshow?t("div",{staticClass:"form-group row align-items-center"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Favorite Master")]),a._v(" "),t("b-form-checkbox",{staticClass:"mb-1",attrs:{switch:""},model:{value:a.editProfileData.fmst,callback:function(t){a.$set(a.editProfileData,"fmst",t)},expression:"editProfileData.fmst"}})],1):a._e(),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.editProfileData.mpass,expression:"editProfileData.mpass"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("editprofile.mpass")},attrs:{type:"password",name:"mpass"},domProps:{value:a.editProfileData.mpass},on:{input:function(t){t.target.composing||a.$set(a.editProfileData,"mpass",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                            submit\n                            "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])])]:a._e()],2)],2),a._v(" "),t("b-modal",{ref:"searchAnalysisModal",attrs:{size:"big",title:"My Market","hide-footer":""}},[t("div",{staticClass:"search-analysis"},[null!=a.searchAnalysisData?t("div",{staticClass:"market-analysis-container"},[a.searchAnalysisData.t1?a._l(a.searchAnalysisData.t1,(function(s,e){return t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[t("a",{attrs:{href:"javascript:void(0)"}},[a._v(a._s(s.ename))])]),a._v(" "),t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}]})]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(s.market,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.mname))])])]),a._v(" "),t("tbody",a._l(a.orderBy(s.section,"srno"),(function(s,e){return t("tr",[t("td",[a._v(a._s(s.sname))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v("\n                                      "+a._s(s.amt)+"\n                                    ")])])})),0)])])])})),0)])])})):a._e(),a._v(" "),a.searchAnalysisData&&a.searchAnalysisData.t2?[t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[a._v("PLayer Battle")])]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.searchAnalysisData.t2,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{\n                                      date: event.gstime,\n                                    }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v("\n                                      "+a._s(s.amt)+"\n                                    ")])])})),0)])])])})),0)])])]:a._e(),a._v(" "),a.searchAnalysisData&&a.searchAnalysisData.t3?[t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[a._v("Diam 11")])]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.searchAnalysisData.t3,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{\n                                      date: event.gstime,\n                                    }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v("\n                                      "+a._s(s.amt)+"\n                                    ")])])})),0)])])])})),0)])])]:a._e()],2):a._e()])]),a._v(" "),t("b-modal",{ref:"exposureLimitMDL",attrs:{"body-class":"credit-mdl","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-dark"},[a._v("\n                  Exposure Limit\n                ")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("exposureLimitMDL")}}},[a._v("\n                  ×\n                ")])]),a._v(" "),t("InsideLoader",{attrs:{"is-visible":a.CreditLoader}}),a._v(" "),a.ExposureData.length>0?t("form",{attrs:{"data-vv-scope":"updateExposureLimit",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateExposureLimit("updateExposureLimit")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Old Limit")]),a._v(" "),t("div",{staticClass:"col-8"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.exoldlimit,expression:"exoldlimit"}],staticClass:"form-control txt-right",attrs:{placeholder:"Old Credit",type:"text",readonly:""},domProps:{value:a.exoldlimit},on:{input:function(t){t.target.composing||(a.exoldlimit=t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("New Limit")]),a._v(" "),t("div",{staticClass:"col-8"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.exnewlimit,expression:"exnewlimit"},{name:"validate",rawName:"v-validate",value:"required|max:14",expression:"'required|max:14'"}],staticClass:"form-control txt-right",class:{"is-invalid":a.verrors.first("updateExposureLimit.exnewlimit")},attrs:{type:"number",name:"exnewlimit"},domProps:{value:a.exnewlimit},on:{keypress:function(t){return a.isNumber(t,a.exnewlimit)},keyup:function(t){return a.calculateDipositeChange()},input:function(t){t.target.composing||(a.exnewlimit=t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Passworld")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userDiposite.mpassword,expression:"userDiposite.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("updateExposureLimit.userWithdrawFrmmpassword")},attrs:{name:"userWithdrawFrmmpassword",type:"password"},domProps:{value:a.userDiposite.mpassword},on:{input:function(t){t.target.composing||a.$set(a.userDiposite,"mpassword",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-back",attrs:{type:"button"},on:{click:function(t){return a.hideModal("exposureLimitMDL")}}},[t("i",{staticClass:"fas fa-undo mr-1"}),a._v("\n                      Back\n                    ")]),a._v(" "),t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n                      submit\n                      "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])]):a._e()],2)],1)])])])],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-md-6 mb-2 search-form"})])}],!1,null,null,null);t.a=C.exports},,,,,,,,function(a,t,s){var e=s(564);"string"==typeof e&&(e=[[a.i,e,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};s(90)(e,i);e.locals&&(a.exports=e.locals)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,t,s){var e=s(610);"string"==typeof e&&(e=[[a.i,e,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};s(90)(e,i);e.locals&&(a.exports=e.locals)},,,,,,,,,,,,,,function(a,t,s){var e=s(639);"string"==typeof e&&(e=[[a.i,e,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};s(90)(e,i);e.locals&&(a.exports=e.locals)},function(a,t,s){var e=s(641);"string"==typeof e&&(e=[[a.i,e,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};s(90)(e,i);e.locals&&(a.exports=e.locals)},,,,,,,,,,,,,,,,,,,,,,,,,function(a,t,s){"use strict";var e=s(16),i=s(0),n=s(34),o=s.n(n),c={props:["rules"],mounted:function(){this.selectedLangId=_.get(_.head(this.rules),"lid"),this.selectedLangName=_.get(_.head(this.rules),"lname")},data:function(){return{imgPath:IMG_PATH,langs:[],selectedLangId:"",selectedLangName:""}},computed:{rulesData:function(){return _.filter(this.rules,{lid:this.selectedLangId})}},methods:{strCapitalize:function(a){return _.capitalize(a)},getFlag:function(a){switch(a){case 1:return"flag_english";case 2:return"flag_hindi"}},changeLang:function(a,t){this.selectedLangId=a,this.selectedLangName=t}}},r=s(1),l=Object(r.a)(c,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"main-rules-container"},[t("div",{staticClass:"dropdown rules-language-container"},[t("div",{staticClass:"dropdown-toggle",attrs:{"data-toggle":"dropdown","aria-expanded":"false"}},[t("img",{attrs:{src:a.imgPath+"admin/img/"+a.getFlag(a.selectedLangId)+".png"}}),a._v("\n            "+a._s(a.strCapitalize(a.selectedLangName))+"\n            "),t("i",{staticClass:"fas fa-angle-down ml-1"})]),a._v(" "),t("div",{staticClass:"dropdown-menu rules-language"},[a._l(a.rules,(function(s,e){return[t("div",{key:e,on:{click:function(t){return a.changeLang(s.lid,s.lname)}}},[t("img",{attrs:{src:a.imgPath+"admin/img/"+a.getFlag(s.lid)+".png"}}),a._v(" "),t("span",[a._v(a._s(a.strCapitalize(s.lname)))])])]}))],2)]),a._v(" "),t("div",{staticClass:"menu-box"},[t("div",{attrs:{id:"accordion"}},[a._l(a.rulesData,(function(s){return[a._l(s.slist,(function(s,e){return[t("div",{key:"event".concat(e),staticClass:"card"},[t("div",{staticClass:"card-header",attrs:{id:"eventhead".concat(e)}},[t("a",{staticClass:"collapsed",attrs:{href:"javascript:void(0)","data-toggle":"collapse","data-target":"#event".concat(e),"aria-controls":"event".concat(e)}},[a._v("\n                                "+a._s(s.etname)+"\n                            ")])]),a._v(" "),t("div",{staticClass:"collapse",attrs:{id:"event".concat(e),"aria-labelledby":"eventhead".concat(e),"data-parent":"#accordion"}},[t("div",{staticClass:"card-body",attrs:{id:"eventaccordion".concat(e)}},[a._l(s.gametypelist,(function(s,i){return[t("div",{key:"event".concat(e,"game").concat(i),staticClass:"card"},[t("div",{staticClass:"card-header"},[t("a",{staticClass:"collapsed",attrs:{href:"javascript:void(0)","data-toggle":"collapse","data-target":"#event".concat(e,"game").concat(i)}},[a._v(a._s(s.gtype))])]),a._v(" "),t("div",{staticClass:"card-body collapse",attrs:{"data-parent":"#eventaccordion".concat(e),id:"event".concat(e,"game").concat(i)}},[a._l(a.orderBy(s.rulelist,"rorder"),(function(s,e){return[t("div",{key:"rule".concat(e),staticClass:"rule-text",class:[{"text-danger":"2"==s.rcolor},{"text-success":"3"==s.rcolor}]},[a._v("\n                                                    "+a._s(s.rule)+"\n                                                ")])]}))],2)])]}))],2)])])]}))]}))],2)])])}),[],!1,null,null,null).exports,d=s(390),v=s.n(d),m={components:{simplebar:e.a,Multiselect:o.a,rules:l,VueSlickCarousel:v.a},data:function(){return{logoPath:LOGO_PATH,username:"",isLoading:!1,callApi:!0,imgPath:IMG_PATH,search:{username:"",searchedUsers:[]},searchAnalysisData:null,rulesData:[],fixtureData:[],sliderSetting:{arrows:!1,dots:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,centerPadding:"20px",autoplay:!0,speed:2e3,autoplaySpeed:3e3,pauseOnHover:!1,vertical:!0,verticalSwiping:!0},welcomebanner:"",welcomeMsg:""}},mounted:function(){this.username=JSON.parse(this.$ls.get("admin_user")),this.$store.state.adminUser=this.username,1==this.$store.state.rdisplay&&this.getRules(),this.$store.state.ipop=_.get(this.$store.state.adminUser,"ipop",!1),1==this.$store.state.ipop&&this.showWelcomeBanner(),this.getUserData(),this.getKeepAliveData(),this.getFixture(),this.getButtonListCs()},methods:{getButtonList:function(){var a=this;i.a.callApi("game/buttonlist",{}).then((function(t){200==t.status?(a.$store.state.mmval=t.data.t1[0].mmval,a.$store.state.voamt=t.data.t1[0].voamt):(a.$store.state.mmval=1,a.$store.state.voamt=1)})).catch((function(a){}))},getButtonListCs:function(){var a=this;i.a.callApi("game/buttonlistmstcs",{}).then((function(t){200==t.status?(a.$store.state.brate=_.get(_.head(t.data.t1),"brate",1)||1,a.$store.state.bratemin=_.get(_.head(t.data.t1),"bratemin",1)||1,a.$store.state.bratemul=_.get(_.head(t.data.t1),"bratemul",1)||1):(a.$store.state.mmval=1,a.$store.state.bratemin=1,a.$store.state.bratemul=1)})).catch((function(a){}))},getFixture:function(){var a=this;i.a.callApi("fixturedata2").then((function(t){200==t.status?a.fixtureData=t.data:a.fixtureData=[]})).catch((function(a){}))},getKeepAliveData:function(){var a=this;i.a.callApi("getmid",{}).then((function(t){1==a.callApi&&setTimeout((function(t){a.getKeepAliveData()}),3e5)})).catch((function(t){1==a.callApi&&setTimeout((function(t){a.getKeepAliveData()}),3e5)}))},getUserData:function(){var a=this;i.a.callApi("bal",{}).then((function(t){200==t.status?(a.$store.state.user=t.data,a.$store.state.is_mobile=IS_MOBILE,a.$store.state.is_tablet=IS_TABLET):402==t.status&&(a.$auth.logout(),a.$ls.remove("admin_token"),a.$ls.remove("admin_user"),window.location.reload()),1==a.callApi&&setTimeout((function(t){a.getUserData()}),1e3)})).catch((function(t){1==a.callApi&&setTimeout((function(t){a.getUserData()}),1e3)}))},searchAnalysis:function(){var a=this;this.$store.state.isLoading=!0;var t=null!=this.search.username?this.search.username.uguid:"";i.a.callApi("report/searchanalysis",{uid:t}).then((function(t){a.$store.state.isLoading=!1,200==t.status&&(a.searchAnalysisData=t.data,a.search.username=null,a.$refs.searchAnalysisModal.show())})).catch((function(t){a.$store.state.isLoading=!1}))},openChangepasswordMdl:function(){this.$refs.changepasswordMDL.show()},hideModal:function(a){this.$refs[a].hide()},logoutUser:function(){this.$ls.remove("admin_token"),this.$ls.remove("admin_user"),this.$auth.logout(),this.$router.push({name:"login"})},toggleMenu:function(){this.$parent.toggleMenu()},toggleRightSidebar:function(){this.$parent.toggleRightSidebar()},initFullScreen:function(){document.body.classList.toggle("fullscreen-enable"),document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)},searchUser:function(a){var t=this;a.length>=3&&0==this.search.searchedUsers.length?i.a.callApi("searchalluser",{uname:a}).then((function(a){a.success?t.search.searchedUsers=a.data.t1:t.search.searchedUsers=[]})).catch((function(a){t.search.searchedUsers=[]})):a.length<3&&(this.search.searchedUsers=[])},showRules:function(){this.$refs.rulesModal.show()},hideRules:function(){this.$refs.rulesModal.hide(),this.$store.state.rdisplay=!1},getRules:function(){var a=this;this.rulesData=[],this.$store.state.isLoading=!0,i.a.callApi("rules").then((function(t){200==t.status?(a.rulesData=t.data,a.showRules()):a.rulesData=[],a.$store.state.isLoading=!1})).catch((function(t){a.$store.state.isLoading=!1,a.rulesData=[]}))},acceptRules:function(){var a=this;this.hideRules(),i.a.callApi("acceptrules").then((function(t){t.status,a.$store.state.isLoading=!1})).catch((function(t){a.$store.state.isLoading=!1}))},showWelcomeBanner:function(){var a=this;i.a.callApi("welcomebanners").then((function(t){if(200==t.status&&(t.data.welcome_banner&&t.data.welcome_banner.img_desktop||t.data.welcome_banner.img_mobile)){var s=a.$store.state.is_mobile?t.data.welcome_banner.img_mobile:t.data.welcome_banner.img_desktop;a.welcomebanner=BUCKET_PATH+"common/wel-banner/"+s,a.welcomeMsg=t.data.welcome_banner.bdesc,a.$refs.welcomeBannerModal.show(),a.$store.state.ipop=!1,a.$store.state.adminUser.ipop=!1,localStorage.setItem("admin_user",JSON.stringify(a.$store.state.adminUser))}})).catch((function(a){}))},hideWelcomeBanner:function(){this.$refs.welcomeBannerModal.hide()}},beforeDestroy:function(){this.callApi=!1}},u=Object(r.a)(m,(function(){var a=this,t=a._self._c;return t("header",{attrs:{id:"page-topbar"}},[t("div",{staticClass:"navbar-header"},[t("div",{staticClass:"d-flex"},[t("div",{staticClass:"navbar-brand-box"},[a.$store.state.acl.ulist?t("router-link",{staticClass:"logo logo-light",attrs:{to:{name:"users2"}}},[t("span",{staticClass:"logo-lg"},[t("img",{staticClass:"site-logo",attrs:{src:a.logoPath,alt:""}})])]):t("a",{staticClass:"logo logo-light",attrs:{target:"_blank"}},[t("span",{staticClass:"logo-lg"},[t("img",{staticClass:"site-logo",attrs:{src:a.logoPath,alt:""}})])])],1),a._v(" "),t("button",{staticClass:"btn btn-sm px-3 font-size-16 header-item",attrs:{id:"vertical-menu-btn",type:"button"},on:{click:a.toggleMenu}},[t("i",{staticClass:"fa fa-fw fa-bars"})]),a._v(" "),t("ul",{staticClass:"nav align-items-center main-menu"},[a.$store.state.acl.ulist?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:{name:"users"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("List of\n            Clients")])],1):a._e(),a._v(" "),a.$store.state.acl.ma?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:{name:"MarketAnalysis"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Market\n            Analysis")])],1):a._e(),a._v(" "),a.$store.state.acl.casinolist?t("li",{staticClass:"nav-item dropdown"},[a._m(0),a._v(" "),t("div",{staticClass:"dropdown-menu"},[t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"ourroullete"}}},[t("span",[a._v("Unique Roulette")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"ballByBall"}}},[t("span",[a._v("Ball By Ball")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"lucky15"}}},[t("span",[a._v("Lucky15")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"goal"}}},[t("span",[a._v("Goal")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:""}}},[t("span",[a._v("Binary")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"Race20"}}},[t("span",[a._v("Race 20-20")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"Queen"}}},[t("span",[a._v("Queen")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"BaccaratList"}}},[t("span",[a._v("Baccarat")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"SportsCasinoList"}}},[t("span",[a._v("Sport Casino")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"war"}}},[t("span",[a._v("Casino War")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"WorliList"}}},[t("span",[a._v("Worli")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"ThreeCardJudgement"}}},[t("span",[a._v("3 Card Judgement")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"Cards32List"}}},[t("span",[a._v("32 Card Casino")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"LiveTeenpattiList"}}},[t("span",[a._v("Live Teenpatti")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"Teenpatti2List"}}},[t("span",[a._v("Teenpatti 2.0")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"LivePokerList"}}},[t("span",[a._v("Live Poker")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"AndarBaharList"}}},[t("span",[a._v("Andar Bahar")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"Lucky7List"}}},[t("span",[a._v("Lucky 7")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"DragonTigerList"}}},[t("span",[a._v("Dragon Tiger")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"BollywoodCasinoList"}}},[t("span",[a._v("Bollywood Casino")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:""}}},[t("span",[a._v("Cricket Casino")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"OtherCasinoList"}}},[t("span",[a._v("Others")])])],1)]):a._e(),a._v(" "),a.$store.state.acl.casinolist?t("li",{staticClass:"nav-item dropdown"},[a._m(1),a._v(" "),t("div",{staticClass:"dropdown-menu"},[t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vdtl20"}}},[t("span",[a._v("20-20 DTL")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vaaa"}}},[t("span",[a._v("Amar Akbar Anthony")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vteenmuf"}}},[t("span",[a._v("Muflis Teenpatti")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vteen"}}},[t("span",[a._v("1 Day Teenpatti")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vdt6"}}},[t("span",[a._v("1 Day Dragon Tiger")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vlucky7"}}},[t("span",[a._v("Lucky 7")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vbtable"}}},[t("span",[a._v("Bollywood Casino")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vteen20"}}},[t("span",[a._v("20-20 Teenpatti")])]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"vtrio"}}},[t("span",[a._v("Trio")])])],1)]):a._e(),a._v(" "),t("li",{staticClass:"nav-item dropdown"},[a._m(2),a._v(" "),t("div",{staticClass:"dropdown-menu"},[a.$store.state.acl.raccst?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"AccountStatement"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Account Statement")]):a._e(),a._v(" "),a.$store.state.acl.reportcb?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"CurrentBets"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Current Bets")]):a._e(),a._v(" "),t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"GeneralReport"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("General Report")]),a._v(" "),t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"GameReport"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Game Report")]),a._v(" "),a.$store.state.acl.lcasinores?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"LiveCasinoReport"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Casino Report")]):a._e(),a._v(" "),a.$store.state.acl.reportpl?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"ProfitLoss"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Profit And Loss")]):a._e(),a._v(" "),a.$store.state.acl.casinores?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"CasinoResult"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Casino Result Report")]):a._e(),a._v(" "),a.$store.state.acl.glock?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"UserLock"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("General Lock")]):a._e(),a._v(" "),a.$store.state.acl.reportuh?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"UserHistory"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("User History")]):a._e(),a._v(" "),a.$store.state.acl.reporttu?t("router-link",{staticClass:"side-nav-link-ref dropdown-item",attrs:{to:{name:"TurnOverReport"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Turnover")]):a._e(),a._v(" "),t("router-link",{staticClass:"side-nav-link-ref dropdown-item d-none",attrs:{to:{name:"UserAuthList"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("User Authentication")])],1)]),a._v(" "),a.$store.state.acl.bank?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:{name:"Bank"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Bank")])],1):a._e(),a._v(" "),a.$store.state.acl.loginuc?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:{name:"CreateAccount"}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[a._v("Multi\n            Login")])],1):a._e()])]),a._v(" "),t("div",{staticClass:"d-flex user-menu"},[t("b-dropdown",{attrs:{variant:"black","toggle-class":"header-item"},scopedSlots:a._u([{key:"button-content",fn:function(){return[t("span",{staticClass:"ml-1"},[a._v(a._s(a.username.uname))]),a._v(" "),t("i",{staticClass:"fa fa-caret-down"})]},proxy:!0}])},[a.$store.state.user?t("div",{staticClass:"dropdown d-sm-none ml-1 mr-1"},[t("div",{staticClass:"bal-box"},[t("span",{staticClass:"balance nowrap"},[a._v("Pts:\n              "),t("span",{staticClass:"balance-value"},[a.$store.state.user.bal&&0!=a.$store.state.user.bal?t("b",{directives:[{name:"currency",rawName:"v-currency",value:a.$store.state.user.bal,expression:"$store.state.user.bal"}]}):t("b",[a._v("0")])]),a._v(" "),a.$store.state.user.exp&&0!=a.$store.state.user.exp?[a._v("\n                |\n                "),t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.$store.state.user.exp,expression:"$store.state.user.exp"}],staticClass:"balance-value"})]:a._e()],2)])]):a._e(),a._v(" "),a._v(" "),t("a",{staticClass:"dropdown-item d-sm-none",attrs:{href:"javascript: void(0);"},on:{click:function(t){return a.getRules()}}},[t("i",{staticClass:"fas fa-info-circle mr-1"}),a._v(" Rules\n        ")]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"secureAuth"}}},[a._v("\n          Secure Auth Verification\n        ")]),a._v(" "),t("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"Changepassword"}}},[a._v("\n          Change Password\n        ")]),a._v(" "),t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.logoutUser()}}},[a._v("\n\n          Logout\n        ")])],1),a._v(" "),t("b-modal",{ref:"changepasswordMDL",attrs:{"header-bg-variant":"default","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title"},[a._v("Change Password")]),a._v(" "),t("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("changepasswordMDL")}}},[a._v("\n            ×\n          ")])])],2),a._v(" "),t("b-modal",{ref:"searchAnalysisModal",attrs:{size:"big",title:"Market Analysis","hide-footer":"","modal-class":"market-analysis-modal"}},[t("div",{staticClass:"search-analysis"},[null!=a.searchAnalysisData?t("div",{staticClass:"row row5"},[a.searchAnalysisData.t1?t("div",{staticClass:"col-md-3"},[t("div",{staticClass:"block-title"},[t("span",[a._v("Game Detail")])]),a._v(" "),t("div",{staticClass:"analysis-detail"},[t("div",{staticClass:"row row5"},[t("label",{staticClass:"col-md-6"},[t("b",[a._v("Username")])]),a._v(" "),t("div",{staticClass:"col-md-6 text-right"},[t("b",{attrs:{title:a.searchAnalysisData.t1[0].fname}},[a._v(a._s(a.searchAnalysisData.t1[0].uname))])])]),a._v(" "),t("div",{staticClass:"row row5"},[t("label",{staticClass:"col-md-6"},[a._v("Account Type")]),a._v(" "),t("div",{staticClass:"col-md-6 text-right"},[a._v("\n                    "+a._s(a.searchAnalysisData.t1[0].lname)+"\n                  ")])]),a._v(" "),t("div",{staticClass:"row row5"},[t("label",{staticClass:"col-md-6"},[a._v("General")]),a._v(" "),t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.searchAnalysisData.t1[0].gen,expression:"searchAnalysisData.t1[0].gen"}],staticClass:"col-md-6 text-right"})]),a._v(" "),t("div",{staticClass:"row row5"},[t("label",{staticClass:"col-md-6"},[a._v("Exposure")]),a._v(" "),t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.searchAnalysisData.t1[0].exp,expression:"searchAnalysisData.t1[0].exp"}],staticClass:"col-md-6 text-right"})]),a._v(" "),t("div",{staticClass:"row row5"},[t("label",{staticClass:"col-md-6"},[a._v("Credit Reference")]),a._v(" "),t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.searchAnalysisData.t1[0].cbal,expression:"searchAnalysisData.t1[0].cbal"}],staticClass:"col-md-6 text-right"})])])]):a._e(),a._v(" "),t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"block-title"},[t("span",[a._v("User Lock")])]),a._v(" "),t("div",{staticClass:"search-analysis-table mb-3"},[t("table",{staticClass:"table table-striped table-dark"},[t("thead",[t("tr",[t("th",[a._v("Master Name")]),a._v(" "),t("th",{staticClass:"text-center"},[a._v("User Act")]),a._v(" "),t("th",{staticClass:"text-center"},[a._v("Bet Active")])])]),a._v(" "),null!=a.searchAnalysisData.t2?t("tbody",a._l(a.searchAnalysisData.t2,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"text-center"},[1==s.uact?t("i",{staticClass:"fas fa-check-square"}):t("i",{staticClass:"far fa-square"})]),a._v(" "),t("td",{staticClass:"text-center"},[1==s.bact?t("i",{staticClass:"fas fa-check-square"}):t("i",{staticClass:"far fa-square"})])])})),0):a._e()])])]),a._v(" "),t("div",{staticClass:"col-md-5"},[t("div",{staticClass:"block-title"},[t("span",[a._v("Game Lock")])]),a._v(" "),t("div",{staticClass:"search-analysis-table mb-3"},[t("table",{staticClass:"table table-striped table-dark"},[t("thead",[t("tr",[t("th",[a._v("S.No.")]),a._v(" "),t("th",[a._v("Master Name")]),a._v(" "),t("th",{staticClass:"text-center"},[a._v("Bet Lock")]),a._v(" "),t("th",[a._v("Event Name")])])]),a._v(" "),null!=a.searchAnalysisData.t3?t("tbody",a._l(a.searchAnalysisData.t3,(function(s,e){return t("tr",[t("td",[a._v(a._s(e+1))]),a._v(" "),t("td",[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"text-center"},[1==s.isact?t("i",{staticClass:"fas fa-square"}):t("i",{staticClass:"far fa-check-square"})]),a._v(" "),t("td",[a._v("\n                        "+a._s(s.lkname)+"\n                      ")])])})),0):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"4"}},[a._v("\n                        No records found\n                      ")])])])])])])]):a._e(),a._v(" "),null!=a.searchAnalysisData?t("div",{staticClass:"market-analysis-container"},[a.searchAnalysisData.t4?a._l(a.searchAnalysisData.t4,(function(s,e){return t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[t("a",{attrs:{href:"javascript:void(0)"}},[a._v(a._s(s.ename))])]),a._v(" "),t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}]})]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(s.market,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.mname))])])]),a._v(" "),t("tbody",a._l(a.orderBy(s.section,"srno"),(function(s,e){return t("tr",[t("td",[a._v(a._s(s.sname))]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.amt))])])})),0)])])])})),0)])])})):a._e(),a._v(" "),a.searchAnalysisData&&a.searchAnalysisData.t5?[t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[a._v("PLayer Battle")])]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.searchAnalysisData.t5,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v("\n                                "+a._s(s.amt)+"\n                              ")])])})),0)])])])})),0)])])]:a._e(),a._v(" "),a.searchAnalysisData&&a.searchAnalysisData.t6?[t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[a._v("Diam 11")])]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.searchAnalysisData.t6,(function(s,e){return t("div",{staticClass:"col-md-4"},[t("div",{staticClass:"market-analysis-content-detail"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v("\n                                "+a._s(s.amt)+"\n                              ")])])})),0)])])])})),0)])])]:a._e()],2):a._e()])]),a._v(" "),a.$store.state.acl.searchanalysis?t("div",{staticClass:"site-searchbox mt-3"},[t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"clear-on-select":!1,"close-on-select":!0,label:"uname","track-by":"uguid",options:a.search.searchedUsers,"select-label":"","deselect-label":"","show-labels":!1,placeholder:"All Client"},on:{"search-change":a.searchUser,input:function(t){return a.searchAnalysis()}},model:{value:a.search.username,callback:function(t){a.$set(a.search,"username",t)},expression:"search.username"}},[t("span",{attrs:{slot:"noResult"},slot:"noResult"},[a._v("No elements found")])]),a._v(" "),a._m(3)],1):a._e()],1)])])}),[function(){var a=this._self._c;return a("a",{staticClass:"nav-link dropdown-toggle",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-expanded":"false"}},[this._v("Live\n            Market\n            "),a("i",{staticClass:"fa fa-caret-down"})])},function(){var a=this._self._c;return a("a",{staticClass:"nav-link dropdown-toggle",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-expanded":"false"}},[this._v("Live\n            Virtual Market\n            "),a("i",{staticClass:"fa fa-caret-down"})])},function(){var a=this._self._c;return a("a",{staticClass:"nav-link dropdown-toggle",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-expanded":"false"}},[this._v("Reports\n            "),a("i",{staticClass:"fa fa-caret-down"})])},function(){var a=this._self._c;return a("div",{staticClass:"search-icon"},[a("i",{staticClass:"fas fa-search-plus"})])}],!1,null,null,null).exports,p=(s(608),{name:"tree-item",mounted:function(){},props:{item:Object},data:function(){return{isOpen:!1}},computed:{isFolder:function(){return this.item.children&&this.item.children.length},isEvent:function(){return this.item.etid},isCompition:function(){return this.item.cid},isGame:function(){return this.item.gmid}},methods:{getTreeList2:function(a){var t=this;i.a.callApi("treedata2",{etid:a}).then((function(a){200==a.status&&(t.$store.state.tree=a.data.t1)})).catch((function(a){console.log(a)}))},toggle:function(){this.isFolder&&(this.isOpen=!this.isOpen),this.isEvent&&(this.item.expand=!this.item.expand,this.$store.state.etid=this.item.expand?this.item.etid:null,this.$store.state.cid=null),this.isCompition&&(this.item.expand=!this.item.expand,this.$store.state.cid=this.item.expand?this.item.cid:null)}}}),b={components:{treeItem:Object(r.a)(p,(function(){var a=this,t=a._self._c;return t("li",{class:[{show:a.item.expand}]},[a.isGame?[0==a.item.iscc?t("router-link",{staticClass:"side-nav-link-ref",class:a.item.gmid==a.$store.state.gameId?"active":"",attrs:{to:{name:"GameDetail",params:{etid:a.$base64.encode(a.item.etid),gameId:a.$base64.encode(a.item.gmid)}}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[t("span",[a._v(a._s(a.item.name))])]):1==a.item.iscc?t("router-link",{staticClass:"side-nav-link-ref",class:a.item.gmid==a.$store.state.gameId?"active":"",attrs:{to:{name:"VirtualCricket",params:{etid:a.$base64.encode(a.item.etid),gameId:a.$base64.encode(a.item.gmid)}}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[t("span",[a._v(a._s(a.item.name))])]):2==a.item.iscc?t("router-link",{staticClass:"side-nav-link-ref",class:a.item.gmid==a.$store.state.gameId?"active":"",attrs:{to:{name:"VirtualGame",params:{etid:a.$base64.encode(a.item.etid),gameId:a.$base64.encode(a.item.gmid)}}},nativeOn:{click:function(t){return a.$helpers.toggleSideBar.apply(null,arguments)}}},[t("span",[a._v(a._s(a.item.name))])]):a._e()]:a.isEvent?[t("a",{class:[{"has-arrow":a.isFolder}],attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getTreeList2(a.item.etid)}}},[t("span",[a._v(a._s(a.item.etname))]),a._v(" "),a.isFolder?t("span",[a._v(" ("+a._s(a.$store.getters.treeTotalEvents(a.item.etid))+")")]):a._e()])]:[t("a",{class:[{"has-arrow":a.isFolder},a.item.cid==a.$store.state.cid?"active":""],attrs:{href:"javascript:void(0)"},on:{click:a.toggle}},[t("span",[a._v(a._s(a.item.name))]),a._v(" "),a.isFolder?t("span",[a._v(" ("+a._s(a.item.children.length)+")")]):a._e()])],a._v(" "),a.isFolder?t("ul",{staticClass:"sub-menu mm-collapse",class:{"mm-show":a.item.expand}},a._l(a.item.children,(function(a,s){return t("tree-item",{key:s,staticClass:"text-dark",attrs:{item:a}})})),1):a._e()],2)}),[],!1,null,null,null).exports},data:function(){return{selectedetid:null,selectedcname:null,selectedDate:null,selectedgmid:null,selectedKey:null,selectedKey2:null,selectedKey3:null,selectedKey4:null}},mounted:function(){document.body.setAttribute("data-sidebar","dark"),this.getTreeData1()},methods:{showCollapsed:function(a){return a===this.selectedKey||!1},showCollapsed2:function(a){return a===this.selectedKey2||!1},showCollapsed3:function(a){return a===this.selectedKey3||!1},showCollapsed4:function(a){return a===this.selectedKey4||!1},closeSidebar:function(){this.$parent.$parent.$parent.toggleMenu()},getTreeData1:function(){var a=this;i.a.callApi("treedata1",{}).then((function(t){200==t.status?a.$store.state.tree=t.data.t1:a.$store.state.tree=[]})).catch((function(a){console.log(a)}))},getTreeList2:function(a,t){var s=this;this.selectedKey===t?this.selectedKey=null:this.selectedKey=t,this.$store.state.treelist2=[],this.selectedetid=a,i.a.callApi("treedata2",{etid:a}).then((function(a){200==a.status?s.$store.state.treelist2=a.data.t1:s.$store.state.treelist2=[]})).catch((function(a){console.log(a)}))},getTreeList3:function(a,t){var s=this;this.selectedKey2===t+a.cid?this.selectedKey2=null:this.selectedKey2=t+a.cid,this.$store.state.treelist3=[],this.selectedcname=a.cname,i.a.callApi("treedata3",{cid:a.cid}).then((function(a){200==a.status?s.$store.state.treelist3=a.data.t1:s.$store.state.treelist3=[]})).catch((function(a){console.log(a)}))},getTreeList4:function(a,t,s){var e=this;this.selectedKey3===a+s?this.selectedKey3=null:this.selectedKey3=a+s,this.$store.state.treelist4=[],this.selectedDate=t+a,i.a.callApi("treedata4",{cid:a,dt:t}).then((function(a){200==a.status?e.$store.state.treelist4=a.data.t1:e.$store.state.treelist4=[]})).catch((function(a){console.log(a)}))},getTreeList5:function(a,t){var s=this;this.selectedKey4===t+a?this.selectedKey4=null:this.selectedKey4=t+a,this.$store.state.treelist5=[],this.selectedgmid=a,i.a.callApi("treedata5",{gmid:a}).then((function(a){200==a.status?s.$store.state.treelist5=a.data.t1:s.$store.state.treelist5=[]})).catch((function(a){console.log(a)}))}}},g=Object(r.a)(b,(function(){var a=this,t=a._self._c;return t("div",{attrs:{id:"sidebar-menu"}},[t("ul",{staticClass:"metismenu list-unstyled",attrs:{id:"side-menu"}},[a.$store.state.acl.events?t("li",{staticClass:"menu-box",attrs:{id:"event-tree"}},[t("a",{attrs:{href:"javascript: void(0);"}},[t("span",[a._v("Sports")]),a._v(" "),t("i",{staticClass:"fa fa-times float-right",on:{click:a.closeSidebar}})]),a._v(" "),t("ul",{staticClass:"sub-menu mm-collapse mm-show"},a._l(a.$store.state.tree,(function(s,e){return t("li",{},[t("span",{key:e,on:{click:function(t){return a.getTreeList2(s.etid,e)}}},[a._v(a._s(s.etname)+" "),t("b",{staticClass:"ml-1"},[a._v(a._s(a.selectedKey==e?"-":"+"))])]),a._v(" "),a.$store.state.treelist2&&s.etid===a.selectedetid?t("ul",{directives:[{name:"show",rawName:"v-show",value:a.showCollapsed(e),expression:"showCollapsed(key)"}],staticClass:"sub-menu"},a._l(a.$store.state.treelist2,(function(s,e){return t("li",[t("span",{on:{click:function(t){return a.getTreeList3(s,e)}}},[a._v(a._s(s.cname)+" "),t("b",{staticClass:"ml-1"},[a._v(a._s(a.selectedKey2==e+s.cid?"-":"+"))])]),a._v(" "),a.$store.state.treelist3&&s.cname===a.selectedcname?t("ul",{directives:[{name:"show",rawName:"v-show",value:a.showCollapsed2(e+s.cid),expression:"showCollapsed2(key2+list2.cid)"}],staticClass:"sub-menu"},a._l(a.$store.state.treelist3,(function(e,i){return t("li",{},[t("span",{on:{click:function(t){return a.getTreeList4(s.cid,e.dt,i)}}},[a._v(a._s(e.dt)+" "),t("b",{staticClass:"ml-1"},[a._v(a._s(a.selectedKey3==s.cid+i?"-":"+"))])]),a._v(" "),a.$store.state.treelist4&&e.dt+s.cid===a.selectedDate?t("ul",{directives:[{name:"show",rawName:"v-show",value:a.showCollapsed3(s.cid+i),expression:"showCollapsed3(list2.cid+key3)"}],staticClass:"sub-menu"},a._l(a.$store.state.treelist4,(function(s,e){return t("li",{},[t("span",{on:{click:function(t){return a.getTreeList5(s.gmid,e)}}},[a._v(a._s(s.ename)+" "),t("b",{staticClass:"ml-1"},[a._v(a._s(a.selectedKey4==e+s.gmid?"-":"+"))])]),a._v(" "),a.$store.state.treelist5&&s.gmid===a.selectedgmid?t("ul",{directives:[{name:"show",rawName:"v-show",value:a.showCollapsed4(e+s.gmid),expression:"showCollapsed4(key4+list4.gmid)"}],staticClass:"sub-menu"},a._l(a.$store.state.treelist5,(function(s){return t("li",{},[4==a.selectedetid?[1==s.cc?[t("router-link",{staticClass:"side-nav-link-ref",attrs:{to:{name:"VirtualGame",params:{etid:a.$base64.encode(a.selectedetid),gameId:a.$base64.encode(a.selectedgmid)}}}},[t("span",[a._v(a._s(s.mname))])])]:2==s.cc?[t("router-link",{staticClass:"side-nav-link-ref",attrs:{to:{name:"VirtualCricket",params:{etid:a.$base64.encode(a.selectedetid),gameId:a.$base64.encode(a.selectedgmid)}}}},[t("span",[a._v(a._s(s.mname))])])]:[t("router-link",{staticClass:"side-nav-link-ref",attrs:{to:{name:"GameDetail",params:{etid:a.$base64.encode(a.selectedetid),gameId:a.$base64.encode(a.selectedgmid)}}}},[t("span",[a._v(a._s(s.mname))])])]]:[t("router-link",{staticClass:"side-nav-link-ref",attrs:{to:{name:"GameDetail",params:{etid:a.$base64.encode(a.selectedetid),gameId:a.$base64.encode(a.selectedgmid),mid:a.$base64.encode(s.mid)}}}},[t("span",[a._v(a._s(s.mname))])])]],2)})),0):a._e()])})),0):a._e()])})),0):a._e()])})),0):a._e()])})),0)]):a._e()])])}),[],!1,null,null,null).exports,h={components:{simplebar:e.a,SideNav:g},props:{isCondensed:{type:Boolean,default:!1}},data:function(){return{settings:{minScrollbarLength:60}}},methods:{}},f={components:{},data:function(){return{config:{handler:this.handleRightBarClick,middleware:this.middleware,events:["click"]}}},methods:{hide:function(){this.$parent.toggleRightSidebar()},handleRightBarClick:function(a,t){this.$parent.hideRightSidebar()},middleware:function(a,t){return!a.target.classList.contains("toggle-right")}}},C={components:{NavBar:u,SideBar:Object(r.a)(h,(function(){var a=this._self._c;return a("div",{staticClass:"vertical-menu"},[this.isCondensed?a("simplebar",{staticClass:"h-100"},[a("SideNav")],1):a("simplebar",{staticClass:"h-100",attrs:{settings:this.settings}},[a("SideNav")],1)],1)}),[],!1,null,null,null).exports,RightBar:Object(r.a)(f,(function(){return(0,this._self._c)("div")}),[],!1,null,null,null).exports,Loader:s(71).a},data:function(){return{isMenuCondensed:!1,domain:DOMAIN}},watch:{$route:function(){1==this.isMenuCondensed&&(this.isMenuCondensed=!1,document.body.classList.toggle("vertical-collpsed"))}},created:function(){document.body.removeAttribute("data-layout","horizontal"),document.body.removeAttribute("data-topbar","dark"),document.body.removeAttribute("data-layout-size","boxed")},mounted:function(){this.$store.state.userdata=JSON.parse(this.$ls.get("user"))},methods:{toggleMenu:function(){document.body.classList.toggle("sidebar-enable"),window.screen.width>=320?document.body.classList.toggle("vertical-collpsed"):document.body.classList.remove("vertical-collpsed"),this.isMenuCondensed=!this.isMenuCondensed},toggleRightSidebar:function(){document.body.classList.toggle("right-bar-enabled")},hideRightSidebar:function(){document.body.classList.remove("right-bar-enabled")}}},k=(s(609),Object(r.a)(C,(function(){var a=this._self._c;return a("div",{class:{"point-inner":"3"==this.$store.getters.themeType},attrs:{id:"layout-wrapper"}},[a("NavBar"),this._v(" "),a("SideBar",{attrs:{"is-condensed":this.isMenuCondensed}}),this._v(" "),a("div",{staticClass:"main-content"},[a("div",{staticClass:"page-content"},[a("Loader",{attrs:{"is-visible":this.$store.state.isLoading}}),this._v(" "),a("div",{},[a("router-view",{key:this.$route.path})],1)],1)]),this._v(" "),a("RightBar")],1)}),[],!1,null,"61537a09",null));t.a=k.exports},function(a,t,s){"use strict";var e,i=s(0),n=s(3),o=s(8),c=s(6),r=s(42),l={name:"Market2",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalmax:function(a){var t,s=Number(a/(this.$store.state.brate*this.$store.state.bratemul)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-2"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"}):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("\n                        Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]})])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("div",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null).exports,m={name:"Market4",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalmax:function(a){var t,s=Number(a/(this.$store.state.brate*this.$store.state.bratemul)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},u=Object(d.a)(m,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-4"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[t("a",{attrs:{href:"javascript:void(0)",title:""}},[t("img",{staticClass:"mr-1",attrs:{src:a.imgPath+"admin/img/arrow-down.svg"}})]),a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[t("div",{staticClass:"bet-table-row bet-table-row-top"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[1!=a.$store.state.adminUser.ispa?t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}}):a._e()]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"})]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("small",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null).exports,p={name:"Market6",data:function(){return{imgPath:IMG_PATH,bookData:[]}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getBookData:function(a,t,s,e){var n=this;i.a.callApi("game/fancybookdata",{gmid:parseInt(s),mid:a,sid:t,type:e.toLowerCase()}).then((function(a){200==a.status?n.bookData=a.data:n.bookData=[],n.$refs.fancyBookModal.show(),n.$store.state.isLoading=!1})).catch((function(a){n.bookData=[],n.$store.state.isLoading=!1}))},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},b=Object(d.a)(p,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),a.filterBy(s.odds,"BACK1","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e(),a._v(" "),a.filterBy(s.odds,"BACK2","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"}),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY2","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK2","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e(),a._v(" "),a.filterBy(s.odds,"BACK3","oname").length?[t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"}),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY3","oname"),"tno",-1),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK3","oname"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size&&0!=s.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]}))],2)]:a._e()],2),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v(a._s(s.rem))]):a._e()]}))],2)]),a._v(" "),t("b-modal",{ref:"fancyBookModal",attrs:{"hide-footer":"",title:"Run Amount"}},[t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[null!=a.bookData&&a.bookData.length>0?[a._l(a.bookData,(function(s,e){return[t("tr",{class:{"back-border":s.amt>=0,"lay-border":s.amt<0}},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))]:[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("No")]),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Yes")])])}],!1,null,null,null).exports,g={name:"Market7",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},h=Object(d.a)(g,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[t("a",{attrs:{href:"javascript:void(0)",title:""}},[t("img",{staticClass:"mr-1",attrs:{src:a.imgPath+"admin/img/arrow-down.svg"}})]),a._v("\n          "+a._s(a.marketDataNew.mname)+"\n        ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[9!=s.sid?t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{ mid: marketDataNew.mid, sid: section.sid }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{ mid: marketDataNew.mid, sid: section.sid }"}],staticClass:"mb-0"},[a._v("\n                0\n              ")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},a.getClass(i.odds,"BACK",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{ odds: oddsData.odds }"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size&&0!=i.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{ size: oddsData.size }"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"layodds".concat(n),staticClass:"bl-box lay",class:[{"no-val":0==i.odds},a.getClass(i.odds,"LAY",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{ odds: oddsData.odds }"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size&&0!=i.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{ size: oddsData.size }"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]}))],2)]):a._e(),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v("\n          "+a._s(s.rem)+"\n        ")]):a._e()]}))],2)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Back")]),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("Lay")])])}],!1,null,null,null).exports,f={name:"Market7",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},C=Object(d.a)(f,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Tie"}},[t("a",{attrs:{href:"javascript:void(0)",title:""}},[t("img",{staticClass:"mr-1",attrs:{src:a.imgPath+"admin/img/arrow-down.svg"}})]),a._v("\n          Tie\n        ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a._m(0),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[9==s.sid?t("div",{key:"web".concat(e),staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",{on:{click:function(t){return a.getBookData(a.marketDataNew.mid,s.sid,a.$parent.gameId,a.marketDataNew.gtype)}}},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{ mid: marketDataNew.mid, sid: section.sid }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"fancybook",rawName:"v-fancybook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{ mid: marketDataNew.mid, sid: section.sid }"}],staticClass:"mb-0"},[a._v("\n                0\n              ")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"backodds".concat(n),staticClass:"bl-box back",class:[{"no-val":0==i.odds},a.getClass(i.odds,"BACK",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{ odds: oddsData.odds }"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size&&0!=i.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{ size: oddsData.size }"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY1","oname"),"tno",-1),(function(i,n){return[t("div",{key:"layodds".concat(n),staticClass:"bl-box lay",class:[{"no-val":0==i.odds},a.getClass(i.odds,"LAY",i.tno,e)],on:{click:function(t){return a.$parent.setBetData(i.odds,i.otype,s.sid,a.marketDataNew.mid,a.marketDataNew.mname,s.nat,a.marketDataNew.gtype,i.size)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:i.odds},expression:"{ odds: oddsData.odds }"}],staticClass:"d-block odds"},[a._v(a._s(i.odds))]),a._v(" "),0!=i.size&&0!=i.odds?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:i.size},expression:"{ size: oddsData.size }"}],staticClass:"d-block"},[a._v(a._s(i.size))]):a._e()])]}))],2)]):a._e(),a._v(" "),""!=s.rem?t("div",{staticClass:"sec-remark"},[a._v("\n          "+a._s(s.rem)+"\n        ")]):a._e()]}))],2)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"text-right nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title d-none-mobile"},[this._v("Back")]),this._v(" "),a("div",{staticClass:"lay bl-title d-none-mobile"},[this._v("Lay")])])}],!1,null,null,null).exports,k=s(32),y=s.n(k),x=s(16),w=s(27),D=s(4),N=s(5),P={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:n.a,RightSideBar:o.a,Card:c.a,Ball:r.a,Market2:v,Market4:u,Market6:b,Market7:h,Market8:C,simplebar:x.a,GameBetList:w.a,CasinoRules:D.a,LastResultsSection:N.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Mini SuperOver",gameType:"superover3",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},firstScoreboardCall:!0,userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null}},methods:{getTvUrl:function(){var a=this;i.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;i.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data.t1,a.cards=_.get(a.casinoData,"card").split("|"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameData.old=a.gameData.new,a.gameData.new=t.data.t2,a.casinoData.oldgmid!=a.oldGameId&&(a.getLastResults(),e&&e.close(),a.connectScoreBoard(),0==a.firstScoreboardCall&&(a.scoreboardData={spnnation1:"IND",spnnation2:"AUS",spnballrunningstatus:"",score1:"0-0 (0.0)",score2:"0-0 (0.0)",spnrunrate1:"0.00",spnrunrate2:"",spnmessage:"",spnreqrate1:"",spnreqrate2:"",dayno:"",isfinished:"0",activenation1:"1",activenation2:"0",balls:["","","","","",""]}),a.firstScoreboardCall=!1),a.oldGameId=a.casinoData.oldgmid,a.gameId=a.casinoData.gmid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;i.a.callApi("game/userbook",{gid:parseInt(this.gameId),etid:this.casinoData.etid}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3):(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;i.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},connectScoreBoard:function(){if(null!=this.casinoData.oldgmid){var a=this;(e=y.a.connect(SCOREBOARD_URL,{transports:["websocket"]})).on("connect",(function(){e.emit("subscribe",{type:0==a.casinoData.scard?2:a.casinoData.scard,rooms:[parseInt(a.casinoData.oldgmid)]})})),e.on("error",(function(){console.log("error")})),e.on("update",(function(t){if(0==a.casinoData.scard)var s=protobuf.roots.default.EventPublish.decode(new Uint8Array(t.data));else s=t.data;null!=s&&null!=s&&1==s.isfinished?e.emit("unsubscribe",{type:a.casinoData.scard,rooms:[]}):null!=s&&null!=s&&(a.scoreboardData=s)})),e.on("disconnect",(function(){}))}},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,i.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1,2!=this.casinoData.scard&&null!=this.casinoData.oldgmid&&(e.emit("unsubscribe",{type:this.casinoData.scard,rooms:[]}),e.close())}},T=Object(d.a)(P,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket super-over detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.casinoData.ename))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{staticClass:"banner"},[a.casinoData&&2!=a.casinoData.scard?[1==a.casinoData.scard&&"0"==a.scoreboardData.isfinished?t("div",{staticClass:"scorecard m-b-5"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-5"},[t("p",{staticClass:"team-1 row mb-0"},[t("span",{staticClass:"team-name col-md-3"},[a._v(a._s(a.scoreboardData.spnnation1))]),a._v(" "),t("span",{staticClass:"score col-md-9 text-right"},[a._v(a._s(a.scoreboardData.score1))])]),a._v(" "),t("p",{staticClass:"team-1 row mb-0"},[t("span",{staticClass:"team-name col-md-3"},[a._v(a._s(a.scoreboardData.spnnation2))]),a._v(" "),t("span",{staticClass:"score col-md-9 text-right"},[a._v(a._s(a.scoreboardData.score2))])])]),a._v(" "),t("div",{staticClass:"col-md-7"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-5"},[t("div",{staticClass:"row"},[t("span",{staticClass:"team-name"},[""!==a.scoreboardData.spnrunrate1?t("span",[a._v("\n                              CRR "+a._s(a.scoreboardData.spnrunrate1)+"\n                            ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate1?t("span",[a._v("\n                              RR "+a._s(a.scoreboardData.spnreqrate1)+" ")]):a._e(),a._v(" \n                          ")])]),a._v(" "),t("div",{staticClass:"row m-t-10"},[t("span",{staticClass:"team-name"},[""!==a.scoreboardData.spnrunrate2?t("span",[a._v("\n                              CRR "+a._s(a.scoreboardData.spnrunrate2)+"\n                            ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate2?t("span",[a._v("\n                              RR "+a._s(a.scoreboardData.spnreqrate2)+" ")]):a._e(),a._v(" \n                          ")])])]),a._v(" "),t("div",{staticClass:"col-md-7"},[t("div",{staticClass:"text-right"},[t("p",{staticClass:"mb-0"},[a._v("\n                            "+a._s(a.scoreboardData.spnmessage)+"\n                          ")])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-12"},[t("p",{staticClass:"text-right ball-by-ball mb-0"},a._l(a.scoreboardData.balls,(function(s){return""!==s?t("span",{staticClass:"ball-runs mr-1",class:[{four:4==s},{six:6==s},{wicket:"ww"==s.toLowerCase()}]},[a._v("\n                                "+a._s(s)+"\n                              ")]):a._e()})),0)])])])])])])]):a._e()]:a._e()],2),a._v(" "),t("div",{},[t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},a._l(4,(function(s){return t("div",[a._l(a.cards[s-1].split(","),(function(a){return[t("Ball",{attrs:{ball:a}})]}))],2)})),0)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2)]),a._v(" "),t("div",{staticClass:"market-container"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return["match"!=s.gtype?[2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),7==s.dtype?[t("Market8",{key:e+1,attrs:{index:e+1,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}}),a._v(" "),t("Market7",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()]}))],2),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e()],2),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n            View All\n          ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"my-game-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},[t("table",{staticClass:"table coupon-table mb-0"},[a._m(0),a._v(" "),null!=a.userBook?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{attrs:{colspan:"6"}},[t("b",[a._v(a._s(s.mname))])])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v("\n                          "+a._s(s.sname)+"\n                          "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")]),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{ date: bet.pdt }"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.gtype))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"6"}})])]}))],2):t("tbody",[a._m(1)])])])])])])]),a._v(" "),t("div",{staticClass:"card mb-2 my-bet cricket-rule"})]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v("\n        "+a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0)+"\n      ")]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid)}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)])],2)],1)}),[function(){var a=this,t=a._self._c;return t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                        Amount\n                      ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                        PlaceDate\n                      ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                        Gametype\n                      ")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"6"}},[this._v("\n                        No records found\n                      ")])])}],!1,null,null,null);t.a=T.exports},function(a,t,s){"use strict";var e,i,n=s(0),o=s(39),c=s(72),r=s(73),l=s(74),d=s(75),v=s(76),m=s(77),u=s(78),p=s(79),b=s(80),g=s(81),h=s(82),f={name:"Market4",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},kval:function(a){var t,s=a;return a>=1e3?(t=parseFloat(a/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},C=s(1),k=Object(C.a)(f,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-12"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a.$store.getters.isMobile?t("div",{staticClass:"text-right d-inline-block w-100 pr-2"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                    Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                    Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]):t("div",{staticClass:"bet-table-row bet-table-row-top"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[1!=a.$store.state.adminUser.ispa?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}}):a._e()]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("p",{},[t("span",[t("span",[a._v(a._s(s.cno))]),a._v(" "),t("span",[a._v("("+a._s(s.sdraw)+")")])]),a._v("\n                        "+a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1!=s.gscode,removed:"removed"==s.gstatus.toLowerCase()},attrs:{"data-title":"removed"==s.gstatus.toLowerCase()?"".concat(s.gstatus,"  -  ").concat(s.adfa,"%,  ").concat(s.rdt," (IST)"):s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[t("span",[s.cno?t("span",[a._v(a._s(s.cno))]):a._e(),a._v(" "),s.sdraw?t("span",[a._v("("+a._s(s.sdraw)+")")]):a._e()]),a._v("\n                        "+a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"},[a._v("0")])]),a._v(" "),2==a.marketDataNew.ocnt?[a._m(0,!0),a._v(" "),a._m(1,!0)]:a._e(),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()])]})),a._v(" "),2==a.marketDataNew.ocnt?[a._m(2,!0),a._v(" "),a._m(3,!0)]:a._e()],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("small",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[function(){var a=this._self._c;return a("div",{staticClass:"bl-box back2 no-val"},[a("span",{staticClass:"d-block odds"},[this._v("-")])])},function(){var a=this._self._c;return a("div",{staticClass:"bl-box back1 no-val"},[a("span",{staticClass:"d-block odds"},[this._v("-")])])},function(){var a=this._self._c;return a("div",{staticClass:"bl-box lay1 no-val"},[a("span",{staticClass:"d-block odds"},[this._v("-")])])},function(){var a=this._self._c;return a("div",{staticClass:"bl-box lay2 no-val"},[a("span",{staticClass:"d-block odds"},[this._v("-")])])}],!1,null,null,null).exports,y={name:"Market13",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return _.orderBy(_.get(this.marketDataNew,"section"),"sno")},oldMarketSections:function(){return _.orderBy(_.get(this.marketDataOld,"section"),"sno")}},mounted:function(){},props:["marketDataNew","marketDataOld","index"],methods:{kvalsportmax:function(a){var t,s=Number(a/(this.$store.state.brateSport*this.$store.state.bratemulSport)).toFixed(2);return s>=1e3?(t=parseFloat(s/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},kval:function(a){var t,s=a;return a>=1e3?(t=parseFloat(a/1e3).toFixed(1),s=parseFloat(t)+"K"):s=parseFloat(s),s},getClass:function(a,t,s,e){var i=_.first(this.find(this.filterBy(_.get(this.oldMarketSections[e],"odds"),t,"otype"),s,"tno")),n=_.get(i,"odds",a);return n<a?"bg-success":n>a?"bg-danger":""}}},x=Object(C.a)(y,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-13"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header"},[t("div",{staticClass:"nation-name",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.marketDataNew.mname}},[a._v("\n                    "+a._s(a.marketDataNew.mname)+"\n                ")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getLockUserList(a.marketDataNew.mid,!0)}}},[a._v("Bet Lock")]),a._v(" "),"match"==a.marketDataNew.gtype||"match1"==a.marketDataNew.gtype?t("a",{staticClass:"btn btn-back",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.$parent.getBookData(a.marketDataNew.mid,a.marketDataNew.gtype)}}},[a._v("User Book")]):a._e()])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show",class:{suspendedfull:1!=a.marketDataNew.gscode},attrs:{id:"market".concat(a.index),"data-title":a.marketDataNew.status}},[a.$store.getters.isMobile?t("div",{staticClass:"text-right d-inline-block w-100 pr-2"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                    Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                    Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}})]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]):t("div",{staticClass:"bet-table-row bet-table-row-top"},[t("div",{staticClass:"text-right nation-name"},["match1"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[a._v("\n                        Min:"),t("span",{directives:[{name:"kvalsportmin",rawName:"v-kvalsportmin",value:{size:a.marketDataNew.min},expression:"{size: marketDataNew.min}"}]}),a._v(" \n                        Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.max},expression:"{size: marketDataNew.max}"}]})]):"match"==a.marketDataNew.gtype?t("span",{staticClass:"max-bet"},[1!=a.$store.state.adminUser.ispa?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{ size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof }"},{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:"Max : ".concat(a.kvalsportmax(a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof))}}):a._e()]):t("span",{staticClass:"max-bet"},[a._v("Max:"),t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:a.marketDataNew.iplay?a.marketDataNew.maxb:a.marketDataNew.umaxbof},expression:"{size: marketDataNew.iplay ? marketDataNew.maxb : marketDataNew.umaxbof}"}]})])]),a._v(" "),t("div",{staticClass:"back bl-title d-none-mobile"},[a._v("Back")]),a._v(" "),t("div",{staticClass:"lay bl-title d-none-mobile"},[a._v("Lay")])]),a._v(" "),a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"mobile".concat(e),staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")]),a._v(" "),t("span",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}]},[a._v("0")])])]),a._v(" "),t("div",{key:"web".concat(e),staticClass:"bet-table-row",class:{suspendedtext:1==a.marketDataNew.gscode&&1!=s.gscode},attrs:{"data-title":s.gstatus}},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",{},[a._v(a._s(s.nat))]),a._v(" "),t("p",{directives:[{name:"sportbook",rawName:"v-sportbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-left"},[a._v("0")]),a._v(" "),t("p",{directives:[{name:"sportpointbook",rawName:"v-sportpointbook",value:{mid:a.marketDataNew.mid,sid:s.sid},expression:"{mid: marketDataNew.mid, sid: section.sid}"}],staticClass:"mb-0 float-right"},[a._v("0")])]),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"BACK","otype"),"tno",-1),(function(s,i){return[t("div",{key:"backodds".concat(i),staticClass:"bl-box back",class:[{back:0==s.tno},{back1:1==s.tno},{back2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"BACK",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),"match1"==a.marketDataNew.gtype?[0!=s.size?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"},[a._v(a._s(s.size))]):a._e()]:[0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]],2)]})),a._v(" "),a._l(a.orderBy(a.filterBy(s.odds,"LAY","otype"),"tno"),(function(s,i){return[t("div",{key:"layodds".concat(i),staticClass:"bl-box lay",class:[{lay:0==s.tno},{lay1:1==s.tno},{lay2:2==s.tno},{"no-val":0==s.odds},a.getClass(s.odds,"LAY",s.tno,e)]},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.odds},expression:"{odds: oddsData.odds}"}],staticClass:"d-block odds"},[a._v(a._s(s.odds))]),a._v(" "),"match1"==a.marketDataNew.gtype?[0!=s.size?t("span",{directives:[{name:"kvalsportmax",rawName:"v-kvalsportmax",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]:[0!=s.size?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.size},expression:"{size: oddsData.size}"}],staticClass:"d-block"}):a._e()]],2)]}))],2)]}))],2)]),a._v(" "),""!=a.marketDataNew.rem?t("small",{staticClass:"remark"},[a._v(a._s(a.marketDataNew.rem))]):a._e()])}),[],!1,null,null,null).exports,w=s(83),D=s(27),N=s(16),P=s(32),T=s.n(P);var B={mounted:function(){this.gameId=o.a.decode(this.$route.params.gameId),this.etid=o.a.decode(this.$route.params.etid),this.$store.state.gameId=this.gameId,this.getGameDetail(),this.getUserBook(),4!=this.etid&&null!=this.$route.params.mid&&(this.mid=o.a.decode(this.$route.params.mid),this.getMarketList())},components:{Market1:c.a,Market2:r.a,Market3:l.a,Market4:d.a,Market5:v.a,Market6:m.a,Market7:u.a,Market8:p.a,Market9:b.a,Market10:g.a,Market11:h.a,Market12:k,Market13:x,GameAllBookTree:w.a,GameBetList:D.a,simplebar:N.a},data:function(){return{imgPath:IMG_PATH,isLoading:!1,gameId:null,etid:0,mid:0,m:0,port:null,gameDetail:[],gameData:{old:{},new:{}},marketList:[],firstCall:!0,callGameDataApi:!0,callUserBookApi:!0,loadingPlacebet:!1,userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null,betType:0},userLock:{mid:0,mpass:"",userList:null,t1:null,lockAll:!1,selected:[]},allBookTreeData:[],scoreboardData:{},hasNoGameData:0,showTv:!1,animationUrl:"",tvUrl:"",noData:!1}},methods:{getButtonList:function(){var a=this;n.a.callApi("game/buttonlistmst",{etid:this.$store.state.etid,cid:this.$store.state.cid}).then((function(t){200==t.status?(a.$store.state.brateSport=_.get(_.head(t.data.t1),"brate",1)||1,a.$store.state.brateminSport=_.get(_.head(t.data.t1),"bratemin",1)||1,a.$store.state.bratemulSport=_.get(_.head(t.data.t1),"bratemul",1)||1):(a.$store.state.mmvalSport=1,a.$store.state.brateminSport=1,a.$store.state.bratemulSport=1)})).catch((function(a){}))},getTvUrl:function(){var a=this;this.showTv=!this.showTv,this.tvUrl="",this.showTv&&n.a.callApi("game/tv",{gmid:parseInt(this.gameId),ip:this.$store.getters.ipAddress}).then((function(t){200==t.status&&(a.tvUrl=t.data.url),a.$store.state.isLoading=!1})).catch((function(t){a.$store.state.isLoading=!1}))},setMarketId:function(a){this.mid=a},checkIsTest:function(a){return a.includes("T-")},getUserBook:function(){var a=this;n.a.callApi("game/userbook",{gid:parseInt(this.gameId),mid:parseInt(this.mid),etid:parseInt(this.gameDetail.etid)}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3,1==a.callUserBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)):1==a.callUserBookApi&&(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null,setTimeout((function(t){a.getUserBook()}),1e3))})).catch((function(t){1==a.callUserBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getGameDetail:function(){var a=this;n.a.callApi("game/detail",{gid:parseInt(this.gameId),etid:parseInt(this.etid)}).then((function(t){200==t.status?(a.gameDetail=_.first(t.data),i=a.gameDetail.iplay?700:1e3,a.$store.state.etid=_.get(a.gameDetail,"etid"),a.$store.state.cid=_.get(a.gameDetail,"cid"),a.m=_.get(a.gameDetail,"m"),a.port=_.get(a.gameDetail,"port"),a.mid=a.mid?a.mid:a.gameDetail.mid,0!=a.gameDetail.gtv&&n.a.callApi("casino/gettoken",{id:"graphic"}).then((function(t){200==t.status?a.animationUrl="".concat(t.data.url,"/").concat(a.gameDetail.gtv,"/11"):a.animationUrl=""})).catch((function(t){a.animationUrl=""})),2!=a.gameDetail.scard&&4==a.$store.state.etid&&a.connectScoreBoard(),a.getButtonList()):a.gameDetail=[],a.getGameData()})).catch((function(t){a.gameDetail=[]}))},getMarketList:function(){var a=this;this.$store.state.isLoading=!0,n.a.callApi("game/marketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?a.marketList=t.data.t1:a.marketList=[],a.$store.state.isLoading=!1})).catch((function(t){a.marketList=[],a.$store.state.isLoading=!1}))},getGameData:function(){var a=this;n.a.callApi("game/data",{gid:parseInt(this.gameId),m:parseInt(this.m),mid:this.mid.toString(),etid:parseInt(this.gameDetail.etid),port:this.port}).then((function(t){200==t.status?(t.data&&t.data.length?a.hasNoGameData=0:(a.hasNoGameData++,5==a.hasNoGameData&&(a.callUserBookApi=!1,a.callGameDataApi=!1,a.$store.state.gameId=null)),a.firstCall?(a.gameData.old=t.data,a.firstCall=!1):a.gameData.old=a.gameData.new,a.gameData.new=t.data,1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),i)):(a.noData=!0,a.gameData.new=[],a.gameData.old=[],1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),i))})).catch((function(t){1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),i)}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,n.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket,"matched"))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a,t){var s=this;"matched"==t?this.viewMoreBets.betType=0:"unmatched"==t?this.viewMoreBets.betType=1:"deleted"==t&&(this.viewMoreBets.betType=2),this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,n.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a),type:t}).then((function(a){200==a.status?s.viewMoreBets.betList=a.data.t1:s.viewMoreBets.betList=[],s.$store.state.isLoading=!1})).catch((function(a){s.viewMoreBets.betList=[],s.$store.state.isLoading=!1}))},getLockUserList:function(a,t){var s=this;1==t&&(this.userLock={mid:a,t1:null,mpass:"",userList:null,lockAll:!1,selected:[]}),this.$store.state.isLoading=!0,n.a.callApi("game/lockuserlist",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?(s.userLock.userList=null,s.userLock.userList=a.data.t2,s.userLock.t1=a.data.t1[0],s.resetBetlockList()):s.userLock.userList=null,s.$store.state.isLoading=!1,1==t&&s.$refs.userLockModal.show()})).catch((function(a){s.userLock.userList=[],s.$store.state.isLoading=!1}))},resetBetlockList:function(){var a=this;this.userLock.lockAll="0"==this.userLock.t1.sstatus?1:0,this.userLock.selected=[],this.userLock.userList.forEach((function(t,s){"0"==t.isact&&a.userLock.selected.push(t.uguid)}))},lockUser:function(a,t){var s=this;if(""==this.userLock.mpass)return this.$swal("","Transaction Code is required","error"),setTimeout((function(a){s.resetBetlockList()}),300),!1;this.$store.state.isLoading=!0,n.a.callApi("game/lockusergame",{gid:parseInt(this.gameId),mid:parseInt(this.userLock.mid),guid:a.uguid,isact:a.isact,mpass:this.userLock.mpass}).then((function(a){200==a.status?s.$swal("",a.msg,"success"):s.$swal("",a.msg,"error"),s.getLockUserList(s.userLock.mid,!1),s.$store.state.isLoading=!1})).catch((function(a){s.$store.state.isLoading=!1}))},lockUserAll:function(a){var t=this;if(""==this.userLock.mpass)return this.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:"Transaction Code is required"}),setTimeout((function(a){t.resetBetlockList()}),300),!1;this.$store.state.isLoading=!0,n.a.callApi("game/lockallusergame",{gid:parseInt(this.gameId),mid:parseInt(this.userLock.mid),mpass:this.userLock.mpass,islock:this.userLock.lockAll}).then((function(a){200==a.status?t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg}),t.getLockUserList(t.userLock.mid,!1),t.$store.state.isLoading=!1})).catch((function(a){t.$store.state.isLoading=!1}))},getBookData:function(a,t){var s=this;this.$store.state.isLoading=!0,n.a.callApi("game/allbook",{gid:parseInt(this.gameId),mid:parseInt(a),gtype:t}).then((function(a){if(200==a.status){s.allbook=_.orderBy(a.data.t1,["lvl"],["asc"]);var t=[];s.allbook.forEach((function(a,s){t.push(a.uid)})),s.allbook.forEach((function(a,e){t.includes(parseInt(a.sub))||(s.allbook[e].sub=0)})),s.allBookTreeData=s.buildAllBookTree(s.allbook,s.allbook[0].sub)}else s.allbook=[],s.allBookTreeData=[];s.$store.state.isLoading=!1,s.$refs.allbookModal.show(),s.$refs.allbookModal.show()})).catch((function(a){s.allbook=[],s.allBookTreeData=[],s.$store.state.isLoading=!1}))},buildAllBookTree:function(a,t){var s=this,e=[],i=!1;return a.forEach((function(n,o){n.sub==t&&((i=s.buildAllBookTree(a,n.uid))&&(n.children=i),e.push(n))})),e},connectScoreBoard:function(){if(null!=this.gameDetail.oldgmid){var a=this,t=0==a.gameDetail.scard?SCOREBOARD_URL+"?format=binary":SCOREBOARD_URL;(e=T.a.connect(t,{transports:["websocket"]})).on("connect",(function(){e.emit("subscribe",{type:0==a.gameDetail.scard?2:a.gameDetail.scard,rooms:[parseInt(a.gameDetail.oldgmid)]})})),e.on("error",(function(){console.log("error")})),e.on("update",(function(t){if(0==a.gameDetail.scard)var s=protobuf.roots.default.EventPublish.decode(new Uint8Array(t.data));else s=t.data;null!=s&&null!=s&&1==s.isfinished?e.emit("unsubscribe",{type:a.gameDetail.scard,rooms:[]}):null!=s&&null!=s?a.scoreboardData=s:$("#scoreboard-box").html("")})),e.on("disconnect",(function(){}))}}},beforeDestroy:function(){this.callUserBookApi=!1,this.callGameDataApi=!1,this.$store.state.gameId=null,2!=this.gameDetail.scard&&null!=this.gameDetail.oldgmid&&(e.emit("unsubscribe",{type:this.gameDetail.scard,rooms:[]}),e.close())}},L=Object(C.a)(B,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[4!=a.etid?[t("div",{staticClass:"market-name-list"},[a._l(a.marketList,(function(s,e){return[t("a",{staticClass:"btn btn-primary",class:{active:a.mid==s.mid},attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.setMarketId(s.mid)}}},[a._v(a._s(s.mname))])]}))],2)]:a._e(),a._v(" "),t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameDetail.cname)+" > "+a._s(a.gameDetail.ename))]),a._v(" "),t("span",[t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.gameDetail.stime},expression:"{ date: gameDetail.stime }"}]}),a._v(" "),10==a.etid&&a.gameDetail.mname?t("span",[a._v("| "+a._s(a.gameDetail.mname))]):a._e()])]),a._v(" "),a.gameDetail&&0!=a.gameDetail.gtv&&a.animationUrl?t("div",{staticClass:"banner scorestats mb-1",style:{"background-image":"url("+a.imgPath+"admin/img/events-banner/"+a.gameDetail.etid+".png)"}},[t("iframe",{attrs:{src:a.animationUrl,frameborder:"0"}})]):a._e(),a._v(" "),t("div",{staticClass:"market-container mt-0"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return a.gameData.old.length>0&&a.gameData.new.length>0?[1==s.dtype?[t("Market1",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),3==s.dtype?[t("Market3",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),5==s.dtype?[t("Market5",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),7==s.dtype?[t("Market7",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),8==s.dtype?[t("Market8",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),9==s.dtype?[t("Market9",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),10==s.dtype?[t("Market10",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),11==s.dtype?[t("Market11",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),12==s.dtype?[t("Market12",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),13==s.dtype?[t("Market13",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()})),a._v(" "),a.noData?[a._v("No records found")]:a._e()],2)]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card mb-2"},[a.gameDetail.tv?[t("div",{staticClass:"card-header pointer",attrs:{"data-toggle":"collapse","data-target":".video-tv","aria-expanded":"true"},on:{click:function(t){return a.getTvUrl()}}},[a._m(0)]),a._v(" "),t("div",{staticClass:"video-tv collapse"},[a.showTv?t("iframe",{attrs:{src:"".concat(a.tvUrl),allow:"autoplay"}}):a._e()])]:a._e()],2),a._v(" "),t("div",{staticClass:"mb-2"},[t("div",{directives:[{name:"show",rawName:"v-show",value:4==a.gameDetail.etid,expression:"gameDetail.etid == 4"}],staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("Score Card")])]),a._v(" "),a.gameDetail&&2!=a.gameDetail.scard?t("div",[0==a.gameDetail.scard&&a.scoreboardData.statistics&&!a.checkIsTest(a.scoreboardData.home)?t("div",{staticClass:"scorecard"},[a._m(1),a._v(" "),t("div",{staticClass:"scorecard-box"},[t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"row row1"},[t("div",{staticClass:"col-5"},[a._v(a._s(a.scoreboardData.home))]),a._v(" "),t("div",{staticClass:"col-2 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[0].scores[0].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[0].scores[1].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[0].scores[2].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[0].scores[3].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[0].scores[4].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[0].scores[5].value)+"\n                  ")])])]),a._v(" "),t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"row row1"},[t("div",{staticClass:"col-5"},[a._v(a._s(a.scoreboardData.away))]),a._v(" "),t("div",{staticClass:"col-2 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[1].scores[0].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[1].scores[1].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[1].scores[2].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[1].scores[3].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[1].scores[4].value)+"\n                  ")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("\n                    "+a._s(a.scoreboardData.statistics[1].scores[5].value)+"\n                  ")])])]),a._v(" "),t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"row row5 mt-2"},[t("div",{staticClass:"col-12 text-center"},[t("span",[a._v(a._s(a.scoreboardData.status))])])])])])]):a._e(),a._v(" "),0==a.gameDetail.scard&&a.scoreboardData.statistics&&a.checkIsTest(a.scoreboardData.home)?t("div",{staticClass:"scorecard"},[a._m(2),a._v(" "),t("div",{staticClass:"row row5 mt-2"},[t("div",{staticClass:"col-6"},[a._v("\n                "+a._s(a.scoreboardData.home.replace("T-",""))+" -\n                "+a._s(a.scoreboardData.statistics[0].scores[3].value)+"\n              ")]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("\n                "+a._s(a.scoreboardData.statistics[0].scores[0].value)+"\n              ")]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("\n                "+a._s(a.scoreboardData.statistics[0].scores[1].value)+"\n              ")])]),a._v(" "),t("div",{staticClass:"row row5 mt-2"},[t("div",{staticClass:"col-6"},[a._v("\n                "+a._s(a.scoreboardData.away)+" -\n                "+a._s(a.scoreboardData.statistics[1].scores[3].value)+"\n              ")]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("\n                "+a._s(a.scoreboardData.statistics[1].scores[0].value)+"\n              ")]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("\n                "+a._s(a.scoreboardData.statistics[1].scores[1].value)+"\n              ")])]),a._v(" "),t("div",{staticClass:"row row5 mt-2"},[t("div",{staticClass:"col-12 text-center"},[t("span",[a._v(a._s(a.scoreboardData.status))])])])]):a._e(),a._v(" "),1==a.gameDetail.scard&&"0"==a.scoreboardData.isfinished?t("div",{staticClass:"scorecard m-b-5"},[t("div",{staticClass:"row"},[t("span",{staticClass:"team-name col-md-2"},[a._v(a._s(a.scoreboardData.spnnation1))]),a._v(" "),t("span",{staticClass:"score col-md-6"},[a._v(a._s(a.scoreboardData.score1))]),a._v(" "),""!==a.scoreboardData.spnrunrate1?t("span",{staticClass:"col-md-2 run-rate"},[a._v("CRR "+a._s(a.scoreboardData.spnrunrate1))]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate1?t("span",{staticClass:"col-md-2 run-rate"},[a._v("RR "+a._s(a.scoreboardData.spnreqrate1))]):a._e()]),a._v(" "),t("div",{staticClass:"row m-t-10"},[t("span",{staticClass:"team-name col-md-2"},[a._v(a._s(a.scoreboardData.spnnation2))]),a._v(" "),t("span",{staticClass:"score col-md-6"},[a._v(a._s(a.scoreboardData.score2))]),a._v(" "),""!==a.scoreboardData.spnrunrate2?t("span",{staticClass:"col-md-2 run-rate"},[a._v("CRR "+a._s(a.scoreboardData.spnrunrate2))]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate2?t("span",{staticClass:"col-md-2 run-rate"},[a._v("RR "+a._s(a.scoreboardData.spnreqrate2))]):a._e()]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-6 m-t-10"},[""!=a.scoreboardData.spnmessage?t("p",[a._v(a._s(a.scoreboardData.spnmessage))]):a._e()]),a._v(" "),t("div",{staticClass:"col-md-6 ball-runs-container m-t-5"},[t("p",{staticClass:"text-right ball-by-ball"},a._l(a.scoreboardData.balls,(function(s){return""!==s?t("span",{staticClass:"ball-runs",class:[{four:4==s},{six:6==s},{wicket:"ww"==s.toLowerCase()}]},[a._v(a._s(s))]):a._e()})),0)])])]):a._e()]):a._e()]),a._v(" "),t("div",{staticClass:"card mb-2 my-bet",attrs:{id:"my-game-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body"},[t("b-tabs",{attrs:{small:""}},[t("b-tab",{attrs:{title:"Matched Bets",active:""}},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table coupon-table mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("\n                          Rate\n                        ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                          Amount\n                        ")])])]),a._v(" "),a.userBook&&null!=a.userBook.t2?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase()||"oddeven"==s.gtype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()&&"oddeven"!=s.gtype.toLowerCase()}},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.mname))]),a._v(" "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.pdt},expression:"{ date: bet.pdt }"}],staticClass:"float-right"})])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase()||"oddeven"==s.gtype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()&&"oddeven"!=s.gtype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v("\n                            "+a._s(s.sname)+"\n                            "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                              / "+a._s(s.bhav)+"\n                            ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v("\n                            "+a._s(s.amt)+"\n                          ")])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"4"}},[a._v("\n                          No records found\n                        ")])])])])])])]),a._v(" "),t("b-tab",{attrs:{title:"Unmatched Bets"}},[t("div",{staticClass:"tab-pane",attrs:{id:"unmatched-bet"}},[t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table coupon-table mb-0"},[t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("\n                          Rate\n                        ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                          Amount\n                        ")])])]),a._v(" "),a.userBook&&null!=a.userBook.t4?t("tbody",[a._l(a.userBook.t4,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase()||"oddeven"==s.gtype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()&&"oddeven"!=s.gtype.toLowerCase()}},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.mname))]),a._v(" "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.pdt},expression:"{ date: bet.pdt }"}],staticClass:"float-right"})])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase()||"oddeven"==s.gtype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()&&"oddeven"!=s.gtype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v("\n                            "+a._s(s.sname)+"\n                            "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                              / "+a._s(s.bhav)+"\n                            ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v("\n                            "+a._s(s.amt)+"\n                          ")])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"4"}},[a._v("\n                          No records found\n                        ")])])])])])])])],1)],1)])])]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid,"matched")}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("b-tabs",{attrs:{pills:"",card:""},model:{value:a.viewMoreBets.betType,callback:function(t){a.$set(a.viewMoreBets,"betType",t)},expression:"viewMoreBets.betType"}},[t("b-tab",{attrs:{title:"Matched Bets",active:""},on:{click:function(t){return a.getMarketBets(a.viewMoreBets.selectedMarket,"matched")}}},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:t("div",{staticClass:"text-center"},[a._v("No records found")])],2)]),a._v(" "),1==a.$store.state.adminUser.ispa?t("b-tab",{attrs:{title:"Unmatched Bets"},on:{click:function(t){return a.getMarketBets(a.viewMoreBets.selectedMarket,"unmatched")}}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2):a._e(),a._v(" "),t("b-tab",{attrs:{title:"Deleted Bets"},on:{click:function(t){return a.getMarketBets(a.viewMoreBets.selectedMarket,"deleted")}}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)],1)],1)],2),a._v(" "),t("b-modal",{ref:"userLockModal",attrs:{"hide-footer":"",title:"Bet Lock"}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"}),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userLock.mpass,expression:"userLock.mpass"}],staticClass:"form-control",attrs:{type:"password",name:"ulockmpass",value:"",placeholder:"Transaction Code"},domProps:{value:a.userLock.mpass},on:{input:function(t){t.target.composing||a.$set(a.userLock,"mpass",t.target.value)}}})])])]),a._v(" "),t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",[t("b-form-checkbox",{attrs:{value:"1"},on:{change:function(t){return a.lockUserAll(t)}},model:{value:a.userLock.lockAll,callback:function(t){a.$set(a.userLock,"lockAll",t)},expression:"userLock.lockAll"}})],1),a._v(" "),t("th",[a._v("All Account")])])]),a._v(" "),t("tbody",[null!=a.userLock.userList&&a.userLock.userList.length>0?[a._l(a.userLock.userList,(function(s,e){return[t("tr",[t("td",[t("b-form-checkbox",{ref:"user"+s.uguid,refInFor:!0,attrs:{name:"locku",value:s.uguid},on:{change:function(t){return a.lockUser(s,t)}},model:{value:a.userLock.selected,callback:function(t){a.$set(a.userLock,"selected",t)},expression:"userLock.selected"}})],1),a._v(" "),t("td",[a._v(a._s(s.uname))])])]}))]:[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])]),a._v(" "),t("b-modal",{ref:"allbookModal",staticClass:"user-book",attrs:{"hide-footer":"",title:"User Book",size:"xl"}},[null!=a.allBookTreeData&&a.allBookTreeData.length>0?t("div",{staticClass:"user-book"},[t("ul",{staticClass:"mtree transit bubba mtree-header"},[t("li",{staticClass:"mtree-node"},[t("a",{attrs:{href:"#"}},[t("table",{staticClass:"table m-b-0 table-striped",staticStyle:{"border-bottom":"0"}},[t("thead",[t("tr",[t("th"),a._v(" "),a._l(a.allBookTreeData[0],(function(s,e){return["children"!=e&&"lvl"!=e&&"uid"!=e&&"sub"!=e&&"Username"!=e?t("th",{staticClass:"text-right"},[a._v("\n                      "+a._s(e)+"\n                    ")]):a._e()]}))],2)])])])])]),a._v(" "),t("ul",{staticClass:"mtree transit bubba user-table"},[a._l(a.allBookTreeData,(function(a,s){return[t("GameAllBookTree",{staticClass:"item",attrs:{model:a}})]}))],2)]):t("div",{staticClass:"text-center"},[a._v("No Record Found")])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v("\n      "+a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0)+"\n    ")]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()],2)}),[function(){var a=this._self._c;return a("h6",{staticClass:"card-title"},[a("a",{attrs:{href:"javascript:void(0)",title:""}},[a("img",{staticClass:"mr-1",attrs:{src:"/static/admin/img/arrow-down.svg"}})]),this._v("\n              Live Match\n            ")])},function(){var a=this,t=a._self._c;return t("div",{staticClass:"scorecard-header"},[t("div",{staticClass:"row row1"},[t("div",{staticClass:"col-5"},[a._v("Nation")]),a._v(" "),t("div",{staticClass:"col-2 text-center"},[a._v("SC")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("OV")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("RR")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("4s")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("6s")]),a._v(" "),t("div",{staticClass:"col-1 text-center"},[a._v("EX")])])])},function(){var a=this._self._c;return a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-6"},[this._v("Nation Name")]),this._v(" "),a("div",{staticClass:"col-3 text-center"},[this._v("1st INNINGS")]),this._v(" "),a("div",{staticClass:"col-3 text-center"},[this._v("2nd INNINGS")])])}],!1,null,null,null);t.a=L.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(49),c=s(50),r=s(9),l=s.n(r),d={props:["params"],data:function(){return{tabNo:1,casinoList:null,formData:{ctype:""},reportData:[],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150],reportFields:[{key:"uname",label:"User Name",sortable:!0},{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],exportTable:null}},mounted:function(){this.getGameTypeList()},computed:{sodaList:function(){return"all"==this.betType?_.filter(this.gameSoda,{match:!0}):"back"==this.betType?_.filter(this.gameSoda,{btype:"back",match:!0}):"lay"==this.betType?_.filter(this.gameSoda,{btype:"lay",match:!0}):"deleted"==this.betType?_.filter(this.gameSoda,{match:!1}):[]}},watch:{selected:function(){var a=this,t=this;this.selected.length>0?(this.winTotal=0,this.sodaTotal=0,_.forEach(this.sodaList,(function(s,e){t.selected.includes(e)&&(a.winTotal+=s.wl,a.sodaTotal++)}))):this.calculateTotalWin()}},methods:{setTableFields:function(a){"pop-the-ball"==this.params.gtype?(this.reportFields=[{key:"uname",label:"User Name",sortable:!0},{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"urate",label:"Rate",sortable:!0,thClass:"text-right"},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"winloss",label:"Win/Loss",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Rate",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Win/Loss",dataKey:"winloss"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Rate:"urate",Amount:"amt","Win/Loss":"winloss",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}}):"binary"==this.params.gtype?(this.reportFields=[{key:"uname",label:"User Name",sortable:!0},{key:"mname",label:"Market Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"urate",label:"Payout",sortable:!0,thClass:"text-right"},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"winloss",label:"Win/Loss",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"tslot",label:"Time",sortable:!0},{key:"mval",label:"Market Value",sortable:!0},{key:"edt",label:"Date",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Market Name",dataKey:"mname"},{title:"Type",dataKey:"ttype"},{title:"Payout",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Win/Loss",dataKey:"winloss"},{title:"Total",dataKey:"total"},{title:"Time",dataKey:"tslot"},{title:"Market Value",dataKey:"mval"},{title:"Date",dataKey:"edt"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Market Name":"mname",Type:"ttype",Payout:"urate",Amount:"amt","Win/Loss":"winloss",Total:"total",Time:"tslot","Market Value":"mval",Date:"edt","Transaction Id":"tid"}}):"ludo"==this.params.gtype||"rummy"==this.params.gtype||"ludo-lands"==this.params.gtype||"snakes-and-ladders"==this.params.gtype?(this.reportFields=[{key:"uname",label:"User Name",sortable:!0},{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}}):"bc"==this.params.gtype||"av"==a||"bcslot"==a||"ds"==a?(this.reportFields=[{key:"uname",label:"User Name",sortable:!0},{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Transaction Id":"tid"}}):(this.reportFields=[{key:"uname",label:"User Name",sortable:!0},{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}})},getGameTypeList:function(){var a=this;e.a.callApi("report/tpgtypelist",{}).then((function(t){200==t.status?a.casinoList=t.data:a.casinoList=[]})).catch((function(t){a.casinoList=[]}))},loadReport:function(){var a=this;this.$store.state.isLoading=!0,this.setTableFields(this.formData.ctype),e.a.callApi("popup/thirdparty",{mid:this.params.mid,gmid:this.params.gmid,ctype:this.formData.ctype}).then((function(t){if(200==t.status){var s=a,e=0;a.reportData=[];var i=_.sortBy(t.data,["edt"]);_.forEach(i,(function(a){1==s.tabNo&&(a.gtype=s.formData.ctype),"ezugi"==a.gtype||"evo"==a.gtype||"ss"==a.gtype||"qt"==a.gtype||"vivo"==a.gtype||"ds"==a.gtype||"tembo"==a.gtype||"lottery"==a.gtype||"av"==a.gtype||"bcslot"==a.gtype||"scratch"==a.gtype||"darwin"==a.gtype||"pg"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"cockfight"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()||"cancel bet"==a.ttype.toLowerCase()||"adjust bet"==a.ttype.toLowerCase()||"void bet"==a.ttype.toLowerCase()||"unvoid settle"==a.ttype.toLowerCase()?e+=a.amt:"debit"!=a.ttype.toLowerCase()&&"unsettle bet"!=a.ttype.toLowerCase()&&"unvoid bet"!=a.ttype.toLowerCase()&&"void settle"!=a.ttype.toLowerCase()||(e-=a.amt):"runner"==a.gtype?"buyout"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()||"cancel"==a.ttype.toLowerCase()?e+=a.amt:"buyin"==a.ttype.toLowerCase()&&(e-=a.amt):"pop-the-ball"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?1==s.tabNo?e+=a.tip*a.amt:e+=a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"binary"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.winloss:"debit"==a.ttype.toLowerCase()&&(e-=a.winloss):"tgs"==a.gtype||"tgslive"==a.gtype||"slot"==a.gtype||"smart"==a.gtype||"astar"==a.gtype||"bc"==a.gtype||"bota"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"ludo"!=a.gtype&&"rummy"!=a.gtype&&"ludo-lands"!=a.gtype&&"snakes-and-ladders"!=a.gtype||("credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.winloss:"debit"==a.ttype.toLowerCase()&&(e-=a.winloss)),"pop-the-ball"==s.formData.ctype?s.reportData.push({uname:a.uname,total:parseFloat(e).toFixed(2),amt:a.amt,edt:s.changeDateTimeFormat(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,urate:a.tip,ttype:a.ttype,winloss:parseFloat(a.tip*a.amt).toFixed(2)}):"binary"==s.formData.ctype?s.reportData.push({uname:a.uname,mname:a.mname,ttype:a.ttype,urate:a.rate,amt:a.amt,winloss:"debit"==a.ttype.toLowerCase()?0:a.winloss,total:parseFloat(e).toFixed(2),tslot:a.tslot+" s",mval:a.mval,edt:s.changeDateTimeFormat(a.edt),tid:a.tid}):"ludo"==s.formData.ctype||"rummy"==s.formData.ctype||"ludo-lands"==s.formData.ctype||"snakes-and-ladders"==s.formData.ctype?s.reportData.push({uname:a.uname,total:parseFloat(e).toFixed(2),amt:a.winloss,edt:s.changeDateTimeFormat(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,ctype:a.ctype,ttype:a.ttype}):s.reportData.push({uname:a.uname,total:parseFloat(e).toFixed(2),amt:a.amt,edt:s.changeDateTimeFormat(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,ctype:a.ctype,ttype:a.ttype})})),a.totalRows=a.reportData.length}else a.reportData=[],a.totalRows=0;a.$store.state.isLoading=!1})).catch((function(t){a.reportData=[],a.totalRows=0,a.$store.state.isLoading=!1}))},onFiltered:function(a){this.totalRows=a.length,this.currentPage=1},changeDateTimeFormat:function(a){return l()(String(a)).format("DD/MM/YYYY HH:mm:ss")}}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",[t("div",{staticClass:"mt-4"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"tpcasino"},on:{submit:function(t){return t.preventDefault(),a.loadReport()}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-xl-3 mb-3"},[t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model",value:a.formData.ctype,expression:"formData.ctype"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("tpcasino.ctype")},attrs:{name:"ctype"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.formData,"ctype",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:""}},[a._v("Select")]),a._v(" "),a._l(a.casinoList,(function(s,e){return t("option",{domProps:{value:s.gtype.toLowerCase()}},[a._v("\n                            "+a._s(s.cname)+"\n                        ")])}))],2)]),a._v(" "),a._m(0)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",bordered:"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.reportData,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"cell(urate)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.urate,expression:"data.item.urate"}],staticClass:"text-right"})]}},{key:"cell(winloss)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.winloss,expression:"data.item.winloss"}],staticClass:"text-right"})]}},{key:"cell(total)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.total,expression:"data.item.total"}],staticClass:"text-right",class:[{"text-success":a.item.total>0},{"text-danger":a.item.total<=0}]})]}},{key:"cell(amt)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.amt,expression:"data.item.amt"}],staticClass:"text-right"})]}},{key:"cell(edt)",fn:function(s){return[t("div",[a._v(a._s(s.item.edt))])]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])])}),[function(){var a=this._self._c;return a("div",{staticClass:"col-xl-5 mb-3"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("\n                        Load\n                    ")])])}],!1,null,null,null).exports,u=s(34),p=s.n(u),b=s(22),g=(s(41),s(23));function h(a){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function f(){f=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function d(a,t,s,e){var n=t&&t.prototype instanceof _?t:_,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function v(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=d;var m="suspendedStart",u="executing",p="completed",b={};function _(){}function g(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=_.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=v(a[i],a,n);if("throw"!==r.type){var l=r.arg,d=l.value;return d&&"object"==h(d)&&e.call(d,"__await")?t.resolve(d.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(d).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=m;return function(n,o){if(i===u)throw new Error("Generator is already running");if(i===p){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===b)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===m)throw i=p,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=u;var l=v(t,s,e);if("normal"===l.type){if(i=e.done?p:"suspendedYield",l.arg===b)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=p,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),b;var n=v(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,b;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,b):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,b)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(h(t)+" is not iterable")}return g.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:g,configurable:!0}),g.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(d(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,b):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),b},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),b}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),b}},t}function C(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}var k={components:{PageHeader:i.a,DatePicker:n.a,CasinoResult:o.a,AccountStatementSoda:c.a,Multiselect:p.a,downloadexcel:g.a,TpCasinoPop:m},mounted:function(){1==this.$store.state.adminUser.ispa&&(this.params.type=2),this.getCasinoList(),this.getSportList(),this.getGameTypeList()},data:function(){return{isHidden:!0,reportData:[],items:[{text:"Home",to:{name:"home"}},{text:"Account Statement",active:!0}],listColumns:{Date:"edt",Credit:"crd",Debit:"dbt",Amount:"amt",Description:"rem",Fromto:"fromto"},pdfColumn:[{title:"Date",dataKey:"edt"},{title:"Credit",dataKey:"crd"},{title:"Debit",dataKey:"dbt"},{title:"Amount",dataKey:"amt"},{title:"Description",dataKey:"rem"},{title:"Fromto",dataKey:"fromto"}],reportFields:[{key:"edt",label:"Date",sortable:!0},{key:"crd",label:"Credit",sortable:!0,thClass:"text-right",sortByFormatted:function(a){return parseFloat(a)}},{key:"dbt",label:"Debit",sortable:!0,thClass:"text-right",sortByFormatted:function(a){return parseFloat(a)}},{key:"amt",label:"Closing",sortable:!0,thClass:"text-right",sortByFormatted:function(a){return parseFloat(a)}},{key:"rem",label:"Description",sortable:!0},{key:"fromto",label:"Fromto",sortable:!0}],params:{username:null,type:0,stmt:"allbalance",gtype:"all",eid:0,fdt:l()().tz(DEFAULT_TIMEZONE).subtract(1,"week").format("MM/DD/YYYY"),tdt:l()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY")},searchedUsers:[],casinoList:[],sportList:[],gameTypeList:[],page:{currentPage:1,filter:null,perPage:25,totalRows:0,pageOptions:[25,50,75,100,125,150]},gameDetail:{},gameSoda:[],battlePlayers:null,dreamPlayers:null}},watch:{},computed:{},methods:{rowClass:function(a,t){if(a&&"row"===t)return"1"!=a.rpopup?"nocursor":void 0},fetchExcelData:function(){var a,t=this;return(a=f().mark((function a(){var s;return f().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=t.reportData,a.abrupt("return",s);case 2:case"end":return a.stop()}}),a)})),function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){C(n,e,i,o,c,"next",a)}function c(a){C(n,e,i,o,c,"throw",a)}o(void 0)}))})()},exportPdf:function(){if(0!==this.reportData.length){this.perPage;var a=new b.default("l","pt");a.text("Account Statements",220,25),a.autoTable(this.pdfColumn,this.reportData),a.save("account_statements.pdf")}},resetReportForm:function(){this.params={username:null,type:0,stmt:"allbalance",gtype:"all",eid:0,fdt:l()().subtract(1,"week").format("MM/DD/YYYY"),tdt:l()().format("MM/DD/YYYY")},this.searchedUsers=[],this.reportData=[],this.page.currentPage=1,this.page.totalRows=0,this.isHidden=!0},downloadDetailModalData:function(a){1==a.rpopup&&e.a.callApi("accstatepopupcsv",{gmid:a.gmid,mid:a.mid,gtype:a.gtype,dtype:a.dserver,uid:null!=this.params.username?this.params.username.uguid:""}).then((function(a){200==a.status&&window.open(a.data.path,"_blank")})).catch((function(a){}))},showDetailModal:function(a){var t=this,s=a.gmid,i=a.mid,n=a.gtype,o=a.dserver,c=a.rpopup;if("Tp"==o&&1==c)this.gameDetail=a,Vue.set(this.gameDetail,"gType",n),Vue.set(this.gameDetail,"dType",o),this.$refs["detail-modal"].show();else if(1==c){if(this.loading)return;this.$store.state.isLoading=!0,e.a.callApi("accstatepopup",{gmid:s,mid:i,gtype:n,dtype:o,uid:null!=this.params.username?this.params.username.uguid:""}).then((function(a){200==a.status?(t.gameDetail=_.get(a.data,"t1")?_.get(a.data,"t1"):{},Vue.set(t.gameDetail,"gType",n),Vue.set(t.gameDetail,"dType",o),t.gameSoda=_.get(a.data,"t2"),t.$refs["detail-modal"].show()):(t.gameDetail={},t.gameSoda=[]),t.$store.state.isLoading=!1})).catch((function(a){t.gameDetail={},t.gameSoda=[],t.$store.state.isLoading=!1}))}},getBattlePlayerList:function(a){var t=this;this.battlePlayers=null,e.a.callApi("accdababet",{btid:a.btid}).then((function(s){200==s.status?(t.battlePlayers=s.data,Vue.set(t.battlePlayers,"t3",a)):t.battlePlayers=null})).catch((function(a){t.battlePlayers=null}))},getDreamPlayerList:function(a){var t=this;this.dreamPlayers=null,e.a.callApi("accdreambet",{btid:a.uconid}).then((function(a){200==a.status?t.dreamPlayers=a.data:t.dreamPlayers=null})).catch((function(a){t.dreamPlayers=null}))},getColWidth:function(a){return"rem"==a?"350px":"srno"==a?"80px":"120px"},disabledDates:function(a){return a>new Date(l()().tz(DEFAULT_TIMEZONE).format("YYYY/MM/DD HH:mm:ss"))},onChangeType:function(){this.params.stmt="allbalance",this.params.gtype="all",this.params.eid=0},onChangeStmt:function(){this.params.gtype="all",this.params.eid=0},getCasinoList:function(){var a=this;e.a.callApi("acccasinolist",{}).then((function(t){200==t.status&&(a.casinoList=t.data.t1)})).catch((function(t){a.casinoList=[]}))},getSportList:function(){var a=this;e.a.callApi("sportlist",{}).then((function(t){200==t.status&&(a.sportList=t.data.t1)})).catch((function(t){a.sportList=[]}))},getGameTypeList:function(){var a=this;e.a.callApi("gametypelist",{}).then((function(t){200==t.status&&(a.gameTypeList=t.data.t1)})).catch((function(t){a.gameTypeList=[]}))},loadReport:function(){var a=this;this.$store.state.isLoading=!0,this.isHidden=!1,2!=this.params.type&&3!=this.params.type||(this.params.stmt="");var t={uid:null!=this.params.username?this.params.username.uguid:"",type:this.params.type,sta:this.params.stmt,gtype:this.params.gtype,eid:this.params.eid,fdt:this.params.fdt,tdt:this.params.tdt};e.a.callApi("report/accountstatement",t).then((function(t){if(a.$store.state.isLoading=!1,200==t.status){var s=_.get(_.get(t,"data"),"t1"),i=_.get(_.get(t,"data"),"t2");a.reportData=[];var n=s.ope,o=n,c=1;a.reportData.push({srno:c++,crd:n>=0?parseFloat(n):0,dbt:n<0?parseFloat(n):0,amt:parseFloat(n),dserver:"",edt:l()(String(a.params.fdt),"MM/DD/YYYY hh:mm:ss A").format("DD/MM/YYYY HH:mm:ss"),gmid:0,gtype:"",mid:0,rem:"Opening Pts",rpopup:0,uname:"",eby:""});var r=a;i&&i.length&&_.forEach(i,(function(a){o+=a.amt;var t="";"a"==a.dserver&&(t=a.amt<0?a.uname+"/"+a.eby:a.eby+"/"+a.uname),r.reportData.push({srno:c++,crd:a.amt>=0?parseFloat(a.amt):0,dbt:a.amt<0?parseFloat(a.amt):0,amt:parseFloat(o).toFixed(2),edt:e.a.formatDateTime(a.edt),gmid:a.gmid,gtype:a.gtype,mid:a.mid,rem:a.rem,dserver:a.dserver,rpopup:a.rpopup,uname:a.uname,fromto:t,eby:a.eby,bal:a.amt})})),a.page.totalRows=a.reportData.length,a.loading=!1}else a.reportData=[],a.page.totalRows=0,a.loading=!1})).catch((function(t){a.$store.state.isLoading=!1,a.reportData=[],a.page.totalRows=0,a.loading=!1}))},hideModal:function(a){this.$refs[a].hide()},onFiltered:function(a){this.page.totalRows=a.length,this.page.currentPage=1},searchUser:function(a){var t=this;a.length>2&&0==this.searchedUsers.length&&e.a.callApi("searchalluser",{uname:a}).then((function(a){a.success?t.searchedUsers=a.data.t1:t.searchedUsers=[]})).catch((function(a){t.searchedUsers=[]})),a.length<3&&(this.searchedUsers=[])}}},y=Object(v.a)(k,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Account Statement",items:a.items}}),a._v(" "),t("div",{staticClass:"report-form mb-0 mt-3"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post"},on:{submit:function(t){return t.preventDefault(),a.loadReport()}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Account Type")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.number",value:a.params.type,expression:"params.type",modifiers:{number:!0}}],staticClass:"form-control",on:{change:[function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.$set(a.params,"type",t.target.multiple?s:s[0])},function(t){return a.onChangeType()}]}},[t("option",{attrs:{value:"0"}},[a._v("All")]),a._v(" "),t("option",{attrs:{value:"1"}},[a._v("Deposit/Withdraw Report")]),a._v(" "),t("option",{attrs:{value:"2"}},[a._v("Sports Report")]),a._v(" "),t("option",{attrs:{value:"3"}},[a._v("Casino Report")]),a._v(" "),t("option",{attrs:{value:"4"}},[a._v("Third Party Casino Report")])])])]),a._v(" "),"2"==a.params.type||"3"==a.params.type?["2"==a.params.type?[t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Sports List")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.number",value:a.params.eid,expression:"params.eid",modifiers:{number:!0}}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.$set(a.params,"eid",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:"0"}},[a._v("All")]),a._v(" "),a._l(a.sportList,(function(s,e){return[t("option",{domProps:{value:s.eid}},[a._v(a._s(s.ename))])]}))],2)])]),a._v(" "),t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Game Type")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:a.params.gtype,expression:"params.gtype"}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.params,"gtype",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:"all"}},[a._v("All")]),a._v(" "),a._l(a.gameTypeList,(function(s,e){return[t("option",{domProps:{value:s.gtype}},[a._v(a._s(s.gtypename))])]}))],2)])])]:a._e(),a._v(" "),"3"==a.params.type?[t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Casino List")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:a.params.gtype,expression:"params.gtype"}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.params,"gtype",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:"all"}},[a._v("All")]),a._v(" "),a._l(a.casinoList,(function(s,e){return[t("option",{domProps:{value:s.gtype}},[a._v(a._s(s.casino))])]}))],2)])])]:a._e()]:a._e(),a._v(" "),0==a.params.type?t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Game Name")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.number",value:a.params.stmt,expression:"params.stmt",modifiers:{number:!0}}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.$set(a.params,"stmt",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:"allbalance"}},[a._v("All")])])])]):a._e(),a._v(" "),1==a.params.type?t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Game Name")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model.number",value:a.params.stmt,expression:"params.stmt",modifiers:{number:!0}}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.$set(a.params,"stmt",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:"allbalance"}},[a._v("All")]),a._v(" "),t("option",{attrs:{value:"balanceupper"}},[a._v("Upper")]),a._v(" "),t("option",{attrs:{value:"balancedown"}},[a._v("Down")])])])]):a._e(),a._v(" "),t("div",{staticClass:"col-lg-2"},[t("div",{staticClass:"form-group user-lock-search",staticStyle:{position:"relative"}},[t("label",{attrs:{for:"d-inline-block"}},[a._v("Search By Client Name")]),a._v(" "),t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"clear-on-select":!0,"close-on-select":!0,"select-label":"","deselect-label":"",label:"uname","track-by":"uguid",options:a.searchedUsers},on:{"search-change":a.searchUser},model:{value:a.params.username,callback:function(t){a.$set(a.params,"username",t)},expression:"params.username"}})],1)]),a._v(" "),t("div",{staticClass:"col-lg-2"},[t("label",[a._v("From")]),a._v(" "),t("date-picker",{staticClass:"mb-3",attrs:{format:"DD/MM/YYYY",type:"date",valueType:"MM/DD/YYYY","append-to-body":"",lang:"en","disabled-date":a.disabledDates},model:{value:a.params.fdt,callback:function(t){a.$set(a.params,"fdt",t)},expression:"params.fdt"}})],1),a._v(" "),t("div",{staticClass:"col-lg-2"},[t("label",[a._v("To")]),a._v(" "),t("date-picker",{staticClass:"mb-3",attrs:{format:"DD/MM/YYYY",type:"date",valueType:"MM/DD/YYYY","append-to-body":"",lang:"en","disabled-date":a.disabledDates},model:{value:a.params.tdt,callback:function(t){a.$set(a.params,"tdt",t)},expression:"params.tdt"}})],1)],2),a._v(" "),a._m(0)])]),a._v(" "),t("div",{staticClass:"row mt-3"},[t("div",{staticClass:"col-6"},[a.isHidden?t("div",[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n            Show \n            "),t("b-form-select",{attrs:{options:a.page.pageOptions,size:"sm"},model:{value:a.page.perPage,callback:function(t){a.$set(a.page,"perPage",t)},expression:"page.perPage"}}),a._v(" entries\n          ")],1)])]):a._e(),a._v(" "),a.isHidden?a._e():t("div",[t("b-button",{staticClass:"buttons-pdf",attrs:{variant:"danger",type:"button",disabled:0==a.reportData.length},on:{click:a.exportPdf}},[t("i",{staticClass:"far fa-file-pdf mr-1"}),a._v("PDF\n        ")]),a._v(" "),t("downloadexcel",{staticClass:"d-inline-block",class:{disabled:0==a.reportData.length},attrs:{fetch:a.fetchExcelData,fields:a.listColumns,type:"xls",name:"Account Statements.xls"}},[t("b-button",{staticClass:"buttons-excel",attrs:{variant:"success",type:"button",disabled:0==a.reportData.length}},[t("i",{staticClass:"far fa-file-excel mr-1"}),a._v("Excel\n          ")])],1)],1)]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("Search:\n          "),t("b-form-input",{staticClass:"form-control ml-1",attrs:{type:"search",placeholder:"Search..."},model:{value:a.page.filter,callback:function(t){a.$set(a.page,"filter",t)},expression:"page.filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 mt-2 report-table account-table"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",bordered:"",striped:"",responsive:"sm",id:"accStmtTable",fields:a.reportFields,items:a.reportData,filter:a.page.filter,"current-page":a.page.currentPage,"per-page":a.page.perPage,"tbody-tr-class":a.rowClass},on:{filtered:a.onFiltered,"row-clicked":a.showDetailModal},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}},{key:"table-colgroup",fn:function(s){return a._l(s.fields,(function(s){return t("col",{key:s.key,style:{width:a.getColWidth(s.key)}})}))}},{key:"cell(srno)",fn:function(s){return[t("div",{staticClass:"text-right"},[a._v(a._s(s.item.srno))])]}},{key:"cell(rem)",fn:function(s){return[t("div",{staticClass:"wrape-text"},[a._v(a._s(s.item.rem)+"\n          ")])]}},{key:"cell(crd)",fn:function(s){return[t("div",{staticClass:"text-right",class:{"text-success":parseFloat(s.item.crd)>0,"text-danger":parseFloat(s.item.crd)<0}},[t("span",[a._v(a._s(s.item.crd>0?a.$helpers.toCurrency(s.item.crd):""))])])]}},{key:"cell(dbt)",fn:function(s){return[t("div",{staticClass:"text-right",class:{"text-success":parseFloat(s.item.dbt)>0,"text-danger":parseFloat(s.item.dbt)<0}},[t("span",[a._v(a._s(s.item.dbt<0?a.$helpers.toCurrency(s.item.dbt):""))])])]}},{key:"cell(amt)",fn:function(s){return[t("div",{staticClass:"text-right",class:{"text-success":parseFloat(s.item.amt)>0,"text-danger":parseFloat(s.item.amt)<0}},[t("span",[a._v(a._s(a.$helpers.toCurrency(s.item.amt)))])])]}},{key:"cell(bdetail)",fn:function(s){return[t("a",{staticClass:"text-success",attrs:{href:"javascript:void(0)","data-toggle":"tooltip","data-placement":"top",title:s.item.bdetail,"data-original-title":s.item.bdetail}},[a._v("Detail")])]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.page.totalRows,"per-page":a.page.perPage},model:{value:a.page.currentPage,callback:function(t){a.$set(a.page,"currentPage",t)},expression:"page.currentPage"}})],1)])])]),a._v(" "),t("b-modal",{ref:"detail-modal",attrs:{"hide-footer":"",size:"xl",title:"Details"}},["ss"==a.gameDetail.dType?[t("div",{staticClass:"mt-1"},[a._v("\n        "+a._s(a.gameDetail.etype)+" -> "+a._s(a.gameDetail.cname)+" -> "+a._s(a.gameDetail.ename)+" -> "+a._s(a.gameDetail.mname)+"\n      ")]),a._v(" "),t("div",{staticClass:"mt-1"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[a._v("\n            Winner: "+a._s(a.gameDetail.winnat)+"\n          ")]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[a._v(" Game Time:\n            "),t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.gameDetail.stime},expression:"{ date: gameDetail.stime }"}],staticClass:"text-right"})])])]),a._v(" "),t("AccountStatementSoda",{attrs:{gameSoda:a.gameSoda,isDtypeSS:!0}})]:"ds"==a.gameDetail.dType?[t("div",{staticClass:"mt-1 mb-1"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[a._v("\n            "+a._s(a.gameDetail.ename)+" -> "+a._s(a.gameDetail.ecat)+" -> "+a._s(a.gameDetail.gname)+"\n          ")])])]),a._v(" "),a.gameSoda&&a.gameSoda.length?t("div",{staticClass:"battle-result"},[t("div",{staticClass:"battle-result-container"},[t("div",{staticClass:"battle-header"},[t("div",[a._v("User Name")]),a._v(" "),t("div",[a._v("Team Name")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("User Point")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Computer Point")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Amount")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Toploss Run")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Win/Loss")]),a._v(" "),t("div",{staticClass:"text-center"},[a._v("Ip Address")]),a._v(" "),t("div",[a._v("Browser Details")])]),a._v(" "),t("div",{staticClass:"battle-content",attrs:{id:"accordion"}},[a._l(a.gameSoda,(function(s,e){return[t("div",{key:"row".concat(e),staticClass:"battle-content-row",attrs:{"data-toggle":"collapse",href:"#collapseOne".concat(e)},on:{click:function(t){return a.getBattlePlayerList(s)}}},[t("div",[a._v("\n                  "+a._s(s.uname)+"\n                ")]),a._v(" "),t("div",[a._v("\n                  "+a._s(s.gsubname)+"\n                ")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v(a._s(s.upoint))]),a._v(" "),t("div",{staticClass:"text-right"},[a._v(a._s(s.apoint))]),a._v(" "),t("div",{directives:[{name:"currency",rawName:"v-currency",value:s.maxwinloss,expression:"data.maxwinloss"}],staticClass:"text-right"}),a._v(" "),t("div",{directives:[{name:"currency",rawName:"v-currency",value:s.bamt,expression:"data.bamt"}],staticClass:"text-right"}),a._v(" "),t("div",{directives:[{name:"currency",rawName:"v-currency",value:s.winamt,expression:"data.winamt"}],staticClass:"text-right",class:{"text-success":s.winamt>=0,"text-danger":s.winamt<0}}),a._v(" "),t("div",{staticClass:"text-center"},[t("i",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"fas fa-eye",attrs:{title:s.ip}})]),a._v(" "),t("div",[t("u",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:s.bdetail}},[a._v("Detail")])])]),a._v(" "),t("div",{key:"player".concat(e),staticClass:"battle-content-detail collapse",attrs:{id:"collapseOne".concat(e),"data-parent":"#accordion"}},[a.battlePlayers?t("div",{staticClass:"battle-detail-content"},[a.battlePlayers.t1?t("div",{staticClass:"battle-detail-content-box"},[t("div",{staticClass:"battle-detail-content-title"},[a._v("User")]),a._v(" "),a._l(a.battlePlayers.t1,(function(s,e){return[t("div",{key:e,staticClass:"battle-detail-content-row"},[t("div",[a._v(a._s(s.pname))]),a._v(" "),t("div",[a._v(a._s(s.prun))])])]}))],2):a._e()]):a._e(),a._v(" "),a.battlePlayers?t("div",{staticClass:"battle-detail-content"},[a.battlePlayers.t2?t("div",{staticClass:"battle-detail-content-box"},[t("div",{staticClass:"battle-detail-content-title"},[a._v("Computer")]),a._v(" "),a._l(a.battlePlayers.t2,(function(s,e){return[t("div",{key:e,staticClass:"battle-detail-content-row"},[t("div",[a._v(a._s(s.pname))]),a._v(" "),t("div",[a._v(a._s(s.prun))])])]}))],2):a._e()]):a._e(),a._v(" "),a.battlePlayers?[a.battlePlayers.t3?t("div",{staticClass:"battle-detail-content-info text-center",class:[{"text-danger":a.battlePlayers.t3.winamt<=0},{"text-success":a.battlePlayers.t3.winamt>0}]},[a.battlePlayers.t3.winamt<=0?[t("div",[a._v("OPPS..!")]),a._v(" "),t("div",[a._v("WE ARE SORRY TO KNOW THAT YOU LOST "+a._s(a.battlePlayers.t3.winamt)+"\n                      ")])]:a._e(),a._v(" "),a.battlePlayers.t3.winamt>0?[t("div",[a._v("YEAH..!")]),a._v(" "),t("div",[a._v("YOUR GAIN IS "+a._s(a.battlePlayers.t3.winamt))])]:a._e()],2):a._e()]:a._e()],2)]}))],2)])]):a._e()]:"d1s"==a.gameDetail.dType?[t("div",{staticClass:"mt-1 mb-1"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[a._v("\n            "+a._s(a.gameDetail.ename)+" -> "+a._s(a.gameDetail.ecname)+" -> "+a._s(a.gameDetail.gname)+"\n          ")]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[a._v(" Game Time:\n            "),t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.gameDetail.stime},expression:"{ date: gameDetail.stime }"}],staticClass:"text-right"})])])]),a._v(" "),a.gameSoda&&a.gameSoda.length?t("div",{staticClass:"battle-result"},[t("div",{staticClass:"battle-result-container dream-result-container"},[t("div",{staticClass:"battle-header"},[t("div",[a._v("Team Name")]),a._v(" "),t("div",[a._v("Contest Name")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Rank")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Point")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Amount")]),a._v(" "),t("div",{staticClass:"text-right"},[a._v("Win/Loss")]),a._v(" "),t("div",{staticClass:"text-center"},[a._v("Ip Address")]),a._v(" "),t("div",[a._v("Browser Details")])]),a._v(" "),t("div",{staticClass:"battle-content",attrs:{id:"accordion"}},[a._l(a.gameSoda,(function(s,e){return[t("div",{key:"row".concat(e),staticClass:"battle-content-row",attrs:{"data-toggle":"collapse",href:"#collapseOne".concat(e)},on:{click:function(t){return a.getDreamPlayerList(s)}}},[t("div",[a._v("\n                  "+a._s(s.tname)+"\n                ")]),a._v(" "),t("div",[a._v(a._s(s.conname))]),a._v(" "),t("div",{staticClass:"text-right"},[a._v(a._s(s.rank))]),a._v(" "),t("div",{staticClass:"text-right"},[a._v(a._s(s.point))]),a._v(" "),t("div",{staticClass:"text-right"},[a._v(a._s(s.amt))]),a._v(" "),t("div",{staticClass:"text-right",class:{"text-success":s.winamt>=0,"text-danger":s.winamt<0}},[a._v(a._s(s.winamt))]),a._v(" "),t("div",{staticClass:"text-center"},[t("i",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"fas fa-eye",attrs:{title:s.ip}})]),a._v(" "),t("div",[t("u",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:s.bdetail}},[a._v("Detail")])])]),a._v(" "),t("div",{key:"player".concat(e),staticClass:"battle-content-detail collapse",attrs:{id:"collapseOne".concat(e),"data-parent":"#accordion"}},[a.dreamPlayers?t("div",{staticClass:"battle-detail-content"},[t("div",{staticClass:"battle-detail-content-box"},[t("div",{staticClass:"battle-detail-content-row"},[t("div",{staticClass:"row row5"},[a._l(a.dreamPlayers,(function(s,e){return[t("div",{key:e,staticClass:"col-6"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[a._v(a._s(s.pname)+"\n                                "),s.iscap?t("span",{staticClass:"captain-icon"},[a._v("C")]):a._e(),a._v(" "),s.isvc?t("span",{staticClass:"captain-icon"},[a._v("VC")]):a._e()]),a._v(" "),t("div",{staticClass:"col-6"},[a._v(a._s(s.point))])])])]}))],2)])])]):a._e()])]}))],2)])]):a._e()]:"Tp"==a.gameDetail.dType?[t("TpCasinoPop",{attrs:{params:a.gameDetail}})]:[t("CasinoResult",{attrs:{resultData:a.gameDetail}}),a._v(" "),t("AccountStatementSoda",{attrs:{gameSoda:a.gameSoda,desc:a.gameDetail.rdesc}})]],2)],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-2"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("Load")])])])}],!1,null,null,null);t.a=y.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(42),r={name:"Market6",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return this.marketDataNew},oldMarketSections:function(){return this.marketDataOld}},mounted:function(){},props:["marketDataNew","marketDataOld","index","title"],methods:{}},l=s(1),d=Object(l.a)(r,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("div",{staticClass:"nation-name"},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.title}},[a._v("\n          "+a._s(a.title)+"\n        ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show container-fluid container-fluid-5",attrs:{id:"market".concat(a.index)}},[a._m(0),a._v(" "),t("div",{staticClass:"row row5"},[a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"col-6 col-md-4"},[t("div",{staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid},expression:"{ sid: section.sid }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",[a._v("\n                    "+a._s(s.nat)+"\n                  ")]),a._v(" "),t("p",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid},expression:"{\n                      sid: section.sid,\n                    }"}],staticClass:"mb-0"},[a._v("\n                    0\n                  ")])]),a._v(" "),t("div",{staticClass:"bl-box back",class:{"no-val":0==s.b,suspended:"OPEN"!=s.gstatus},attrs:{"data-title":s.gstatus},on:{click:function(t){return a.$parent.setBetData(s.nat,s.b,s.sid,s.subtype,"back",s.gstatus,s.min,s.max)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.b},expression:"{ odds: section.b }"}],staticClass:"d-block odds"},[a._v(a._s(s.b))]),a._v(" "),0!=s.bs&&0!=s.b?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.bs},expression:"{ size: section.bs }"}],staticClass:"d-block"},[a._v("\n                    "+a._s(s.bs)+"\n                  ")]):a._e()]),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                  Min:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:s.min,type:"min"},expression:"{ size: section.min, type: 'min' }"}]},[a._v("0")]),a._v("\n                  Max:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:s.max,type:"max"},expression:"{ size: section.max, type: 'max' }"}]},[a._v("0")])])]),a._v(" "),s.rem&&""!=s.rem?t("div",{key:"rem".concat(e),staticClass:"market-message"},[a._v("\n                "+a._s(s.rem)+"\n              ")]):a._e()])])]}))],2)])])])}),[function(){var a=this._self._c;return a("div",{staticClass:"row row5 d-none-mobile"},[a("div",{staticClass:"col-6 col-md-4"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])]),this._v(" "),a("div",{staticClass:"col-6 col-md-4"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])]),this._v(" "),a("div",{staticClass:"col-6 col-md-4"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])])])}],!1,null,null,null).exports,v=(s(32),s(16)),m=s(27),u=s(4),p=s(5),b={created:function(){"3"!=this.$store.getters.themeType||this.$router.push({name:"casinolist"})},mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,Ball:c.a,Market6:d,simplebar:v.a,GameBetList:m.a,CasinoRules:u.a,LastResultsSection:p.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")},runs:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"runs"});return this.orderBy(a,"sr")},wicket:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"wicket"});return this.orderBy(a,"sr")},extraruns:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"extraruns"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"ballbyball",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.cards=_.get(a.casinoData,"card").split("|"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameId=a.casinoData.mid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.gameId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,e.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},g=Object(l.a)(b,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket super-over detail-page-container ball-by-ball"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}}),a._v(" "),t("transition",{attrs:{name:"bounce",mode:"in-out"}},[""!=a.casinoData.rdesc?[t("div",{staticClass:"cricket20ballpopup"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/ball-blank.png")}}),a._v(" "),t("span",[a._v(a._s(a.casinoData.rdesc))])])]:a._e()],2)],1):a._e()]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"market-container"},[a.runs&&a.runs.length?[t("Market6",{attrs:{marketDataNew:a.runs,marketDataOld:a.runs,index:"-runs",title:"Runs"}})]:a._e(),a._v(" "),a.wicket&&a.wicket.length?[t("Market6",{attrs:{marketDataNew:a.wicket,marketDataOld:a.wicket,index:"-wicket",title:"Wicket"}})]:a._e(),a._v(" "),a.extraruns&&a.extraruns.length?[t("Market6",{attrs:{marketDataNew:a.extraruns,marketDataOld:a.extraruns,index:"-extraruns",title:"Extra Runs"}})]:a._e()],2):a._e(),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n              View All\n            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("RightSideBar",{attrs:{mid:a.gameId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=g.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(42),r={name:"Market6",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return this.marketDataNew},oldMarketSections:function(){return this.marketDataOld}},mounted:function(){},props:["marketDataNew","marketDataOld","index","title"],methods:{}},l=s(1),d=Object(l.a)(r,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("div",{staticClass:"nation-name"},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.title}},[a._v("\n          "+a._s(a.title)+"\n        ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show container-fluid container-fluid-5",attrs:{id:"market".concat(a.index)}},[a._m(0),a._v(" "),t("div",{staticClass:"row row5"},[a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"col-6 col-md-4"},[t("div",{staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: section.sid }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",[a._v("\n                    "+a._s(s.nat)+"\n                  ")]),a._v(" "),t("p",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{\n                      sid: section.sid,\n                    }"}],staticClass:"mb-0"},[a._v("\n                    0\n                  ")])]),a._v(" "),t("div",{staticClass:"bl-box back",class:{"no-val":0==s.b,suspended:"OPEN"!=s.gstatus},attrs:{"data-title":s.gstatus},on:{click:function(t){return a.$parent.setBetData(s.nat,s.b,s.sid,s.subtype,"back",s.gstatus,s.min,s.max)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.b},expression:"{ odds: section.b }"}],staticClass:"d-block odds"},[a._v(a._s(s.b))]),a._v(" "),0!=s.bs&&0!=s.b?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.bs},expression:"{ size: section.bs }"}],staticClass:"d-block"},[a._v("\n                    "+a._s(s.bs)+"\n                  ")]):a._e()]),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                  Min:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:s.min,type:"min"},expression:"{ size: section.min, type: 'min' }"}]},[a._v("0")]),a._v("\n                  Max:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:s.max,type:"max"},expression:"{ size: section.max, type: 'max' }"}]},[a._v("0")])])]),a._v(" "),s.rem&&""!=s.rem?t("div",{key:"rem".concat(e),staticClass:"market-message"},[a._v("\n                "+a._s(s.rem)+"\n              ")]):a._e()])])]}))],2)])])])}),[function(){var a=this._self._c;return a("div",{staticClass:"row row5 d-none-mobile"},[a("div",{staticClass:"col-6 col-md-4"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])]),this._v(" "),a("div",{staticClass:"col-6 col-md-4"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])]),this._v(" "),a("div",{staticClass:"col-6 col-md-4"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])])])}],!1,null,null,null).exports,v=(s(32),s(16)),m=s(27),u=s(4),p=s(5),b={created:function(){"3"!=this.$store.getters.themeType||this.$router.push({name:"casinolist"})},mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,Ball:c.a,Market6:d,simplebar:v.a,GameBetList:m.a,CasinoRules:u.a,LastResultsSection:p.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")},runs:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"lucky15",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null,leftTime:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.cards=_.get(a.casinoData,"card").split("|"),a.leftTime=_.get(a.casinoData,"lt"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameId=a.casinoData.mid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):(a.$store.state.grp=0,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800))})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.gameId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,e.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},g=Object(l.a)(b,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket super-over detail-page-container ball-by-ball"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}}),a._v(" "),t("transition",{attrs:{name:"bounce",mode:"in-out"}},[""!=a.casinoData.rdesc?[t("div",{staticClass:"cricket20ballpopup"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/ball-blank.png")}}),a._v(" "),t("span",[a._v(a._s(a.casinoData.rdesc))])])]:a._e()],2)],1):a._e()]),a._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:0!=a.leftTime,expression:"leftTime != 0"}],staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"market-container"},[a.runs&&a.runs.length?[t("Market6",{attrs:{marketDataNew:a.runs,marketDataOld:a.runs,index:"-runs",title:"Runs"}})]:a._e()],2):a._e(),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n              View All\n            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("RightSideBar",{attrs:{mid:a.gameId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=g.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(42),r={name:"Market6",data:function(){return{imgPath:IMG_PATH}},computed:{newMarketSections:function(){return this.marketDataNew},oldMarketSections:function(){return this.marketDataOld}},mounted:function(){},props:["marketDataNew","marketDataOld","index","title"],methods:{}},l=s(1),d=Object(l.a)(r,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"market-6"},[t("div",{staticClass:"bet-table"},[t("div",{staticClass:"bet-table-header",attrs:{"data-toggle":"collapse","data-target":"#market".concat(a.index),"aria-expanded":"true"}},[t("div",{staticClass:"nation-name"},[t("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{title:a.title}},[a._v("\n          "+a._s(a.title)+"\n        ")])])]),a._v(" "),t("div",{staticClass:"bet-table-body collapse show container-fluid container-fluid-5",attrs:{id:"market".concat(a.index)}},[a._m(0),a._v(" "),t("div",{staticClass:"row row5"},[a._l(a.newMarketSections,(function(s,e){return[t("div",{key:"web".concat(e),staticClass:"col-6 col-md-12"},[t("div",{staticClass:"fancy-tripple"},[t("div",{staticClass:"bet-table-mobile-row d-none-desktop"},[t("div",{staticClass:"bet-table-mobile-team-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: section.sid }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"bet-table-row"},[t("div",{staticClass:"nation-name d-none-mobile"},[t("p",[a._v("\n                    "+a._s(s.nat)+"\n                  ")]),a._v(" "),t("p",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{\n                      sid: section.sid,\n                    }"}],staticClass:"mb-0"},[a._v("\n                    0\n                  ")])]),a._v(" "),t("div",{staticClass:"bl-box back",class:{"no-val":0==s.b,suspended:"OPEN"!=s.gstatus},attrs:{"data-title":s.gstatus},on:{click:function(t){return a.$parent.setBetData(s.nat,s.b,s.sid,s.subtype,"back",s.gstatus,s.min,s.max)}}},[t("span",{directives:[{name:"odds",rawName:"v-odds",value:{odds:s.b},expression:"{ odds: section.b }"}],staticClass:"d-block odds"},[a._v(a._s(s.b))]),a._v(" "),0!=s.bs&&0!=s.b?t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:s.bs},expression:"{ size: section.bs }"}],staticClass:"d-block"},[a._v("\n                    "+a._s(s.bs)+"\n                  ")]):a._e()]),a._v(" "),t("div",{staticClass:"fancy-min-max"},[a._v("\n                  Min:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:s.min,type:"min"},expression:"{ size: section.min, type: 'min' }"}]},[a._v("0")]),a._v("\n                  Max:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:s.max,type:"max"},expression:"{ size: section.max, type: 'max' }"}]},[a._v("0")])])]),a._v(" "),s.rem&&""!=s.rem?t("div",{key:"rem".concat(e),staticClass:"market-message"},[a._v("\n                "+a._s(s.rem)+"\n              ")]):a._e()])])]}))],2)])])])}),[function(){var a=this._self._c;return a("div",{staticClass:"row row5 d-none-mobile"},[a("div",{staticClass:"col-6 col-md-12"},[a("div",{staticClass:"fancy-tripple"},[a("div",{staticClass:"bet-table-row"},[a("div",{staticClass:"nation-name"}),this._v(" "),a("div",{staticClass:"back bl-title back-title"},[this._v("Back")])])])])])}],!1,null,null,null).exports,v=(s(32),s(16)),m=s(27),u=s(4),p=s(5),b={created:function(){"3"!=this.$store.getters.themeType||this.$router.push({name:"casinolist"})},mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,Ball:c.a,Market6:d,simplebar:v.a,GameBetList:m.a,CasinoRules:u.a,LastResultsSection:p.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")},player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"player"});return this.orderBy(a,"sr")},goal:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"goal"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"goal",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.cards=_.get(a.casinoData,"card").split("|"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameId=a.casinoData.mid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):(a.$store.state.grp=0,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800))})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.gameId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,e.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},g=Object(l.a)(b,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket super-over detail-page-container ball-by-ball goal"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}}),a._v(" "),t("transition",{attrs:{name:"bounce",mode:"in-out"}},[""!=a.casinoData.rdesc?[t("div",{staticClass:"cricket20ballpopup"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/soccer-ball.png")}}),a._v(" "),t("span",[a._v(a._s(a.casinoData.rdesc))])])]:a._e()],2)],1):a._e()]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"market-container"},[a.player&&a.player.length?[t("Market6",{attrs:{marketDataNew:a.player,marketDataOld:a.player,index:"-player",title:"Who Will Goal Next?"}})]:a._e(),a._v(" "),a.goal&&a.goal.length?[t("Market6",{attrs:{marketDataNew:a.goal,marketDataOld:a.goal,index:"-goal",title:"Method Of Next Goal"}})]:a._e()],2):a._e(),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n              View All\n            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("RightSideBar",{attrs:{mid:a.gameId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=g.exports},function(a,t,s){"use strict";var e=s(0),i=s(5),n=s(8),o=s(3),c=s(4),r=function(a,t){return a.reduce((function(a,s){return a[s[t]]=s,a}),{})},l={computed:{boardData:function(){return r(this.casinoData.sub,"i")}},mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getCasinoData(),this.getTvUrl(),this.getUserBook(),this.getLastResults()},components:{RightSideBar:n.a,LastResultsSection:i.a,Timer:o.a,CasinoRules:c.a},data:function(){return{gameTitle:"Unique Roulette",gameType:"ourroullete",tvUrl:"",lastResults:[],showResults:!0,casinoData:[],imgPath:IMG_PATH+"front/img/roulette",mId:0,callBookApi:!0,callDataApi:!0,time:{total:0,current:0},clock:null,cards:[]}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status&&(a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card"),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),500))}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table roulette"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),a.cards?[t("div",{staticClass:"casino-video-cards"},[t("div",[t("div",{attrs:{className:"flip-card-container"}},[t("div",{attrs:{className:"flip-card"}},[t("div",{attrs:{className:"flip-card-inner"}},[t("div",{attrs:{className:"flip-card-front"}},[t("img",{attrs:{src:"".concat(a.imgPath,"/").concat(a.cards,".png")}})])])])])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])])],2),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}}),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"roulette-box-container"},[t("div",{staticClass:"board-in"},[t("div",{staticClass:"board-right"},[t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[138].s}},[a._m(0)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[137].s}},[a._m(1)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[136].s}},[a._m(2)])]),a._v(" "),t("div",{staticClass:"board-bottom"},[t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[133].s}},[a._m(3)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[134].s}},[a._m(4)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[135].s}},[a._m(5)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[139].s}},[a._m(6)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[144].s}},[a._m(7)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[141].s}},[a._m(8)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[142].s}},[a._m(9)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[143].s}},[a._m(10)]),a._v(" "),t("div",{staticClass:"board-cell yellow",class:{suspended:"1"!=a.boardData[140].s}},[a._m(11)])]),a._v(" "),t("div",{staticClass:"board-center"},[t("div",{staticClass:"board-cell green",class:{suspended:"1"!=a.boardData[1].s}},[a._m(12)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[2].s}},[a._m(13)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[3].s}},[a._m(14)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[4].s}},[a._m(15)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[5].s}},[a._m(16)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[6].s}},[a._m(17)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[7].s}},[a._m(18)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[8].s}},[a._m(19)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[9].s}},[a._m(20)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[10].s}},[a._m(21)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[11].s}},[a._m(22)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[12].s}},[a._m(23)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[13].s}},[a._m(24)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[14].s}},[a._m(25)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[15].s}},[a._m(26)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[16].s}},[a._m(27)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[17].s}},[a._m(28)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[18].s}},[a._m(29)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[19].s}},[a._m(30)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[20].s}},[a._m(31)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[21].s}},[a._m(32)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[22].s}},[a._m(33)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[23].s}},[a._m(34)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[24].s}},[a._m(35)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[25].s}},[a._m(36)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[26].s}},[a._m(37)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[27].s}},[a._m(38)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[28].s}},[a._m(39)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[29].s}},[a._m(40)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[30].s}},[a._m(41)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[31].s}},[a._m(42)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[32].s}},[a._m(43)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[33].s}},[a._m(44)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[34].s}},[a._m(45)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[35].s}},[a._m(46)]),a._v(" "),t("div",{staticClass:"board-cell black",class:{suspended:"1"!=a.boardData[36].s}},[a._m(47)]),a._v(" "),t("div",{staticClass:"board-cell red",class:{suspended:"1"!=a.boardData[37].s}},[a._m(48)])])])])]):a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n              View All\n            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text center-center",attrs:{id:"138"}},[this._v("2to1")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("2to1")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("2to1")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("1st12")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("2nd12")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("3rd12")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("1 - 18")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("Even")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("Red")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("Blacl")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("Odd")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-text"},[this._v("19 - 36")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("0")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("1")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("2")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("3")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("4")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("5")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("6")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("7")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("8")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("9")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("10")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("11")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("12")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("13")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("14")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("15")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("16")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("17")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("18")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("19")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("20")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("21")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("22")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("23")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("24")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("25")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("26")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("27")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("28")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("29")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("30")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("31")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("32")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("33")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("34")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("35")])])},function(){var a=this._self._c;return a("div",{staticClass:"board-cell-in"},[a("span",{staticClass:"board-number"},[this._v("36")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=(s(562),{components:{},beforeMount:function(){this.$auth.check()&&this.$router.push({name:"MarketAnalysis"}),$("body").addClass("login")},beforeDestroy:function(){$("body").removeClass("login")},mounted:function(){},computed:{},data:function(){return{logoPath:LOGO_PATH,user:{username:"",password:"",recaptcha:""},submitted:!1,has_error:!1,errors:{},error:"",authError:"",isAuthError:!1,submitUrl:"",imgPath:IMG_PATH,isLogin:!0,changePassword:{password:"",newPassword:"",newPasswordConfirm:"",uname:""},isMobileDevice:IS_MOBILE_DEVICE,domain:DOMAIN}},methods:{updatePassword:function(a){var t=this;this.loading||this.$validator.validateAll(a).then((function(a){a&&(t.loading=!0,t.changePassword.uname=t.user.username,e.a.callApi("changepass-login",t.changePassword).then((function(a){200==a.status?(t.$swal({icon:"success",text:a.data.msg}),t.isLogin=!0,t.loading=!1,t.$router.push({name:"ChangePasswordSuccess",params:{token:a.data.tran}})):(t.$swal({icon:"error",text:a.msg}),t.loading=!1)})).catch((function(a){a.response&&405==a.response.status&&t.$swal({icon:"success",text:a.response.data.msg}),t.loading=!1})))}))},login:function(a){var t=this;this.submitted||(this.has_error=!1,this.errors={},this.error="",this.submitted=!0,this.$validator.validateAll(a).then((function(a){a?t.$recaptcha("login").then((function(a){t.user.recaptcha=a;var e=1==ENC_RESPONSE?{data:_0x895125e(t.user,s(36))}:t.user;t.$auth.login({data:e,success:function(a){this.submitted=!1;var t=1==ENC_RESPONSE?_0x895125d(a.data.data,s(36)):a.data;200==t.status?(this.$store.state.rdisplay=t.data.rdisplay,this.$store.commit("updatePermission",t.data.pcode),t.data.login?(this.$ls.set("admin_user",JSON.stringify(t.data)),this.$auth.token(null,t.data.token,!1),this.$store.state.WMSG=t.msg,1==t.data.auth||2==t.data.auth?this.$router.push({name:"loginAuth",params:{authId:t.data.auth}}):this.$store.state.acl.ma?this.$router.push({name:"MarketAnalysis"}):this.$router.push({name:"BlankPage"})):(this.isLogin=t.data.login,this.user.password="",this.$swal({icon:"success",text:"Welcome, You are logged in first time. Please change your password to continue."}))):402==t.status?(this.$swal({icon:"error",text:t.msg}),window.location.reload()):this.$swal({icon:"error",text:t.msg})},error:function(a){this.submitted=!1,this.has_error=!0,405==a.response.status?this.errors=a.response.data.errors||{}:this.error=a.response.data.msg,this.resetUserValue()},rememberMe:!1,fetchUser:!1})})):t.submitted=!1})))},resetUserValue:function(){this.user.password="",this.user.username="",this.$validator.reset()}}}),n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("section",{staticClass:"login-mn"},[t("div",{staticClass:"log-logo m-b-20"},[t("img",{staticStyle:{"max-width":"250px","max-height":"100px"},attrs:{src:a.logoPath}})]),a._v(" "),t("div",{staticClass:"log-fld"},[a.isLogin?[t("h2",{staticClass:"text-center"},[a._v("Sign In")])]:[t("h2",{staticClass:"text-center"},[a._v("Change Password")])],a._v(" "),t("b-alert",{staticClass:"mt-3",attrs:{variant:"danger",dismissible:""},model:{value:a.isAuthError,callback:function(t){a.isAuthError=t},expression:"isAuthError"}},[a._v(a._s(a.authError))]),a._v(" "),a.isLogin?t("b-form",{staticClass:"form-horizontal",attrs:{autocomplete:"off","data-vv-scope":"form-login",action:a.submitUrl,method:"POST"},on:{submit:function(t){return t.preventDefault(),a.login("form-login")}}},[a._t("default"),a._v(" "),t("b-form-group",{attrs:{id:"input-group-1",label:"","label-for":"input-1"}},[t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{id:"input-1",name:"username",type:"text",placeholder:"Username"},model:{value:a.user.username,callback:function(t){a.$set(a.user,"username",t)},expression:"user.username"}}),a._v(" "),a.verrors.has("form-login.username")?t("span",{staticClass:"error"},[a._v("\n                  "+a._s(a.verrors.first("form-login.username"))+"\n                ")]):a._e()],1),a._v(" "),t("b-form-group",{attrs:{id:"input-group-2",label:"","label-for":"input-2"}},[t("b-form-input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",attrs:{id:"input-2",name:"password",type:"password",placeholder:"password"},model:{value:a.user.password,callback:function(t){a.$set(a.user,"password",t)},expression:"user.password"}}),a._v(" "),a.verrors.has("form-login.password")?t("span",{staticClass:"error"},[a._v("\n                  "+a._s(a.verrors.first("form-login.password"))+"\n                ")]):a._e()],1),a._v(" "),t("div",{staticClass:"form-group text-center"},[t("b-button",{staticClass:"btn btn-submit btn-login",attrs:{type:"submit"}},[a._v("Login "),t("i",{staticClass:"fas fa-sign-in-alt"})])],1)],2):a._e(),a._v(" "),a.isLogin?a._e():t("form",{key:"2",staticClass:"change-form p-2",attrs:{"data-vv-scope":"form-changepassword"},on:{submit:function(t){return t.preventDefault(),a.updatePassword("form-changepassword")}}},[t("div",{staticClass:"form-group"},[t("label",{staticClass:"user-email-text"},[a._v("Old Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.changePassword.password,expression:"changePassword.password"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",attrs:{type:"password",name:"OldPassword"},domProps:{value:a.changePassword.password},on:{input:function(t){t.target.composing||a.$set(a.changePassword,"password",t.target.value)}}}),a._v(" "),a.verrors.has("form-changepassword.OldPassword")?t("span",{staticClass:"error"},[a._v("\n                    "+a._s(a.verrors.first("form-changepassword.OldPassword"))+"\n                ")]):a._e()]),a._v(" "),t("div",{staticClass:"form-group"},[t("label",{staticClass:"user-email-text"},[a._v("New Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.changePassword.newPassword,expression:"changePassword.newPassword"},{name:"validate",rawName:"v-validate",value:"required|verify_password|min:8|max:20",expression:"'required|verify_password|min:8|max:20'"}],ref:"NewPassword",staticClass:"form-control",attrs:{type:"password",name:"NewPassword"},domProps:{value:a.changePassword.newPassword},on:{input:function(t){t.target.composing||a.$set(a.changePassword,"newPassword",t.target.value)}}}),a._v(" "),a.verrors.has("form-changepassword.NewPassword")?t("span",{staticClass:"error"},[a._v("\n                    "+a._s(a.verrors.first("form-changepassword.NewPassword"))+"\n                ")]):a._e()]),a._v(" "),t("div",{staticClass:"form-group"},[t("label",{staticClass:"user-email-text"},[a._v("Confirm Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.changePassword.newPasswordConfirm,expression:"changePassword.newPasswordConfirm"},{name:"validate",rawName:"v-validate",value:"required|confirmed:NewPassword|verify_password|min:8|max:20",expression:"\n          'required|confirmed:NewPassword|verify_password|min:8|max:20'\n        "}],staticClass:"form-control",attrs:{type:"password",name:"ConfirmNewPassword","data-vv-as":"NewPassword"},domProps:{value:a.changePassword.newPasswordConfirm},on:{input:function(t){t.target.composing||a.$set(a.changePassword,"newPasswordConfirm",t.target.value)}}}),a._v(" "),a.verrors.has("form-changepassword.ConfirmNewPassword")?t("span",{staticClass:"error"},[a._v("\n                    "+a._s(a.verrors.first("form-changepassword.ConfirmNewPassword"))+"\n                ")]):a._e()]),a._v(" "),a._m(0)])],2),a._v(" "),"d247.com"==a.domain?t("div",{staticClass:"log-copy"},[t("p",[t("a",{staticClass:"mail-link",attrs:{href:"mailto:info@"+a.domain}},[a._v(a._s("info@"+a.domain))])])]):a._e()])}),[function(){var a=this._self._c;return a("div",{staticClass:"form-group mb-0"},[a("button",{staticClass:"btn btn-submit btn-login",attrs:{type:"submit"}},[this._v("\n                    Change Password\n                ")])])}],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e={mounted:function(){this.$auth.check()||this.$router.push({name:"login"})},data:function(){return{}},methods:{},components:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){this._self._c;return this._m(0)}),[function(){var a=this._self._c;return a("div",{staticClass:"account-pages my-5 pt-5"},[a("div",{staticClass:"container"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12"},[a("div",{staticClass:"text-center mb-5"},[a("h1",{staticClass:"display-2 font-weight-medium"},[this._v("\n            4"),a("i",{staticClass:"bx bx-buoy bx-spin text-primary display-3"}),this._v("4\n          ")]),this._v(" "),a("h4",{staticClass:"text-uppercase"},[this._v("Sorry, page not found")]),this._v(" "),a("div",{staticClass:"mt-5 text-center"},[a("a",{staticClass:"btn btn-primary",attrs:{href:"/admin/home"}},[this._v("Back to Dashboard")])])])])]),this._v(" "),a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-md-8 col-xl-6"},[a("div",[a("img",{staticClass:"img-fluid",attrs:{src:"/static/admin/assets/images/error-img.png",alt:""}})])])])])])}],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={mounted:function(){}},i=s(1),n=Object(i.a)(e,(function(){return(0,this._self._c)("div")}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={mounted:function(){this.$auth.check()||this.$router.push({name:"login"})},data:function(){return{}},methods:{},components:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){this._self._c;return this._m(0)}),[function(){var a=this._self._c;return a("div",{staticClass:"account-pages my-5 pt-5"},[a("div",{staticClass:"container"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12"},[a("div",{staticClass:"text-center mb-5"},[a("h1",{staticClass:"display-2 font-weight-medium"},[this._v("\r\n          4"),a("i",{staticClass:"bx bx-buoy bx-spin text-primary display-3"}),this._v("3\r\n          ")]),this._v(" "),a("h4",{staticClass:"text-uppercase"},[this._v("You don't have permission to access this page")]),this._v(" "),a("div",{staticClass:"mt-5 text-center"},[a("a",{staticClass:"btn btn-primary",attrs:{href:"/admin/home"}},[this._v("Back to Dashboard")])])])])]),this._v(" "),a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-md-8 col-xl-6"},[a("div",[a("img",{staticClass:"img-fluid",attrs:{src:"/static/admin/assets/images/error-img.png",alt:""}})])])])])])}],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={mounted:function(){this.$auth.check()||this.$router.push({name:"login"})},data:function(){return{}},methods:{},components:{},beforeDestroy:function(){}},i=(s(563),s(1)),n=Object(i.a)(e,(function(){this._self._c;return this._m(0)}),[function(){var a=this._self._c;return a("div",{staticClass:"no-internet container"},[a("div",{staticClass:"align-items-center d-flex",staticStyle:{height:"100vh"}},[a("div",{staticClass:"w-100 text-center"},[a("h3",{staticClass:"mt-5"},[this._v("No Internet! "),a("br"),this._v("Please check your internet connection and try again")]),this._v(" "),a("div",{staticClass:"mt-5 text-center"},[a("a",{staticClass:"btn btn-primary btn-rounded waves-effect waves-light",attrs:{href:"/admin"}},[this._v("Retry")])])])])])}],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i=s(125),n=s.n(i),o=s(10),c=s(71),r={components:{OtpInput:n.a,Loader:c.a,PageHeader:o.a},mounted:function(){this.$store.state.adminUser=JSON.parse(this.$ls.get("admin_user")),this.getAuth(),this.botName="two_factor_gauth_bot",this.auth_apk_url=DIM_BUCKET_PATH+"secure-auth-apk/SecureAuthApp-2.0.apk"},data:function(){return{items:[{text:"Home",to:{name:"home"}},{text:"Secure Auth",active:!0}],auth_apk_url:"".concat(AUTH_APK_URL,"SecureAuthApp-SecureAuthApp-2.0.apk"),imgPath:IMG_PATH,loading:!1,apk_url:"",time:{total:30},tokenval:"",authoff:{status:!1,code:""},selected:"",tdata:{connectionId:"",password:""},authId:null,domain:DOMAIN,botName:""}},methods:{getAuth:function(){var a=this;e.a.callApi("user/getauth",{}).then((function(t){200==t.status?a.authId=t.data:a.authId=null})).catch((function(t){a.authId=null}))},enableAuth:function(a){var t=this;this.selected=a,this.authoff.status=!1,this.tdata={connectionId:"",password:""},1==this.selected&&(this.loading=!0,e.a.callApi("user/authon",{}).then((function(a){t.loading=!1,200==a.status?t.tokenval=a.data:(t.tokenval="",403!=a.status&&t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg}))})).catch((function(a){t.tokenval="",t.loading=!1})))},getTelegramConnectionId:function(){var a=this;this.loading=!0,e.a.callApi("user/authontele",{password:this.tdata.password}).then((function(t){200==t.status?(a.tdata.connectionId=t.data,a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:t.msg})):a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:t.msg}),a.loading=!1})).catch((function(t){a.loading=!1}))},disableAuth:function(){var a=this;this.authoff.status=!0,2==this.authId&&(this.loading=!0,e.a.callApi("user/userchecktele",{}).then((function(t){a.loading=!1,200==t.status?(a.tdata.connectionId=t.cval,a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:t.msg})):403!=t.status&&a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:t.msg})})).catch((function(t){a.loading=!1})))},handleOnComplete:function(a){this.authoff.code=a,this.verifyCode()},handleOnChange:function(a){this.authoff.code=a},handleClearInput:function(){this.$refs.otpInput.clearInput()},verifyCode:function(){var a=this;this.loading=!0,e.a.callApi("user/authoff",{code:parseInt(this.authoff.code),authId:this.authId}).then((function(t){a.loading=!1,200==t.status?(a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:t.msg}),a.getAuth()):(a.$refs.otpInput.clearInput(),403!=t.status&&a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:t.msg}))})).catch((function(t){a.loading=!1}))}}},l=s(1),d=Object(l.a)(r,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"security-auth"},[t("PageHeader",{attrs:{title:"Secure Auth Verification",items:a.items}}),a._v(" "),null!=a.authId?t("div",{},[t("div",{staticClass:"card-body"},[null!=a.authId?[t("div",{staticClass:"text-center"},[t("b",[a._v("Secure Auth Verification Status:")]),a._v(" "),"1"==a.authId||"2"==a.authId?t("a",{staticClass:"btn btn-success",attrs:{href:"javascript:void(0)",title:"Click here to disable secure auth verification"},on:{click:function(t){return a.disableAuth()}}},[a._v("Enabled")]):t("span",{staticClass:"badge badge-danger"},[a._v("Disabled")])]),a._v(" "),0==a.authId?[t("div",{staticClass:"mt-2 text-center"},[a._v("\n            Please select below option to enable secure auth verification\n          ")]),a._v(" "),t("div",{staticClass:"casino-report-tabs mt-3"},[t("ul",{staticClass:"nav nav-tabs"},[t("li",{staticClass:"nav-item pointer",on:{click:function(t){return a.enableAuth(1)}}},[t("a",{staticClass:"nav-link",class:{active:1==a.selected}},[a._v("Enable Using Mobile App")])]),a._v(" "),t("li",{staticClass:"nav-item pointer",on:{click:function(t){return a.enableAuth(2)}}},[t("a",{staticClass:"nav-link",class:{active:2==a.selected}},[a._v("Enable Using Telegram")])])])])]:a._e(),a._v(" "),t("div",{staticClass:"tab-content mt-4"},[1==a.selected||"1"==a.authId?[t("div",{staticClass:"tab-pane mobile-app active",class:[{"loader-section-parent":a.loading}]},[t("Loader",{attrs:{isVisible:a.loading}}),a._v(" "),t("div",{staticClass:"text-center"},[""!=a.tokenval?[t("div",{staticClass:"mt-3"},[a._v("\n                    Please enter below auth code in your 'Secure Auth Verification App'.\n                  ")]),a._v(" "),t("div",{staticClass:"mt-3"},[t("div",{staticClass:"verify-code"},[a._v(a._s(a.tokenval))])])]:a._e(),a._v(" "),"1"==a.authId||""!=a.tokenval?[a._m(0),a._v(" "),t("div",{staticClass:"mt-3"},[a._v("\n                    Using this app you will receive auth code during login\n                    authentication\n                  ")]),a._v(" "),t("div",{staticClass:"mt-3"},[t("a",{attrs:{href:a.auth_apk_url}},[a._m(1)])])]:a._e()],2)],1)]:a._e(),a._v(" "),2==a.selected||"2"==a.authId?[t("div",{staticClass:"tab-pane telegram active",class:[{"loader-section-parent":a.loading}]},[t("Loader",{attrs:{isVisible:a.loading}}),a._v(" "),0==a.authId?[t("div",{staticClass:"text-center"},[t("b",[a._v("Please enter your login password to continue")]),a._v(" "),t("div",{staticClass:"form-group mt-3 secure-password"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.tdata.password,expression:"tdata.password"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Enter your login password"},domProps:{value:a.tdata.password},on:{input:function(t){t.target.composing||a.$set(a.tdata,"password",t.target.value)}}}),a._v(" "),t("button",{staticClass:"btn btn-primary ml-2 vt",on:{click:function(t){return a.getTelegramConnectionId()}}},[a._v("\n                      Get Connection ID\n                    ")])]),a._v(" "),""!=a.tdata.connectionId?t("div",{staticClass:"mt-3"},[t("b",[a._v("Please follow below instructions for the telegram 2-step\n                      verification")]),a._v(" "),t("p",[a._v("\n                      Find "),t("a",{staticClass:"text-primary",attrs:{target:"_blank",href:"https://t.me/".concat(a.botName,"?start")}},[a._v("@"+a._s(a.botName))]),a._v(" in your telegram and type\n                      "),t("kbd",[a._v("/start")]),a._v("\n                      command. Bot will respond you.\n                    ")]),a._v(" "),t("p",{staticClass:"text-dark"},[a._v("\n                      After this type "),t("kbd",[a._v("/connect "+a._s(a.tdata.connectionId))]),a._v(" and\n                      send it to BOT.\n                    ")]),a._v(" "),t("p",[a._v("\n                      Now your telegram account will be linked with your website account\n                      and 2-Step veriication will be enabled.\n                    ")]),a._v(" "),t("hr")]):a._e()])]:a._e()],2)]:a._e(),a._v(" "),1==a.authoff.status?[t("div",{staticClass:"tab-pane active"},[t("div",{staticClass:"mt-2 mb-3 login-auth"},[t("h3",{staticClass:"text-center"},[a._v("Security Code Verification")]),a._v(" "),t("div",{staticClass:"mt-3 text-center"},[a._v("\n                  Enter 6-digit code from your security auth verification App\n                ")]),a._v(" "),t("form",{staticClass:"mt-3",attrs:{role:"form",autocomplete:"off",method:"post"},on:{submit:function(t){return t.preventDefault(),a.verifyCode()}}},[t("div",{staticStyle:{display:"flex","flex-direction":"row","justify-content":"center"}},[t("OtpInput",{ref:"otpInput",attrs:{"input-classes":"otp-input",separator:"","num-inputs":6,"should-auto-focus":!0,"is-input-num":!0},on:{"on-change":a.handleOnChange,"on-complete":a.handleOnComplete}})],1)])])])]:a._e()],2)]:a._e()],2)]):a._e()],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"mt-3"},[a("b",[this._v("If you haven't downloaded,"),a("br"),this._v("please download 'Secure Auth\n                      Verification App' from below link.")])])},function(){var a=this._self._c;return a("button",{staticClass:"btn btn-primary"},[a("i",{staticClass:"fab fa-android"}),this._v(" "),a("span",{},[this._v("Download on the Android")])])}],!1,null,null,null);t.a=d.exports},function(a,t,s){"use strict";var e=s(0),i=s(125),n=s.n(i),o=s(71),c={components:{OtpInput:n.a,Loader:o.a},mounted:function(){this.authId=this.$route.params.authId,2==this.authId&&this.genOtpTele()},data:function(){return{logoPath:LOGO_PATH,imgPath:IMG_PATH,loading:!1,formData:{code:""},authId:""}},methods:{handleOnComplete:function(a){this.formData.code=a,this.verifyCode()},handleOnChange:function(a){this.formData.code=a},handleClearInput:function(){this.$refs.otpInput.clearInput()},verifyCode:function(){var a=this;this.loading=!0,e.a.callApi("user/verifycode",{code:parseInt(this.formData.code),authId:this.authId}).then((function(t){a.loading=!1,200==t.status?a.$router.push({name:"MarketAnalysis"}):(a.$refs.otpInput.clearInput(),a.makeToast("danger",t.message))})).catch((function(t){422==t.response.status&&a.makeToast("danger",t.response.data.message),a.loading=!1}))},genOtpTele:function(){var a=this;this.loading=!0,e.a.callApi("user/genotptele",{}).then((function(t){a.loading=!1,200==t.status?a.makeToast("success",t.message):a.makeToast("danger",t.message)})).catch((function(t){422==t.response.status&&a.makeToast("danger",t.response.data.message),a.loading=!1}))}}},r=s(1),l=Object(r.a)(c,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"login-auth",class:{"loader-section-parent":a.loading}},[t("Loader",{attrs:{isVisible:a.loading}}),a._v(" "),t("div",{staticClass:"loginInner1 authentication"},[t("div",{staticClass:"log-logo m-b-20 text-center"},[t("img",{staticClass:"logo-login",attrs:{src:a.logoPath}})]),a._v(" "),t("div",{staticClass:"featured-box-login featured-box-secundary default"},[1==a.authId?[t("h3",{staticClass:"text-center"},[a._v("Security Code Verification")]),a._v(" "),t("div",{staticClass:"mt-3 text-center"},[a._v("Enter 6-digit code from your security auth verification App")])]:2==a.authId?[t("h3",{staticClass:"text-center"},[a._v("Security Code Verification Using Telegram App")]),a._v(" "),t("div",{staticClass:"mt-3 text-center"},[a._v("Enter 6-digit code from your telegram bot\n                    "),2==a.authId?t("span",{},[t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.genOtpTele()}}},[a._v("Resend Code")])]):a._e()])]:a._e(),a._v(" "),t("form",{staticClass:"mt-3",attrs:{role:"form",autocomplete:"off",method:"post"},on:{submit:function(t){return t.preventDefault(),a.verifyCode()}}},[t("div",{staticStyle:{display:"flex","flex-direction":"row"}},[t("OtpInput",{ref:"otpInput",attrs:{"input-classes":"otp-input",separator:"","num-inputs":6,"should-auto-focus":!0,"is-input-num":!0},on:{"on-change":a.handleOnChange,"on-complete":a.handleOnComplete}})],1)])],2)])],1)}),[],!1,null,null,null);t.a=l.exports},function(a,t,s){"use strict";var e=s(0),i=(s(12),s(10)),n=s(16),o={components:{PageHeader:i.a,simplebar:n.a},mounted:function(){""!=this.$store.state.WMSG&&(this.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,type:"success",text:this.$store.state.WMSG,icon:"success"}),this.$store.state.WMSG=""),this.loadReport()},data:function(){return{items:[{text:"Home",active:!0}],reportData:[],searchMarktetText:"",isLoading:!1}},computed:{},methods:{marketData1:function(){var a=this;return _.filter(this.reportData.t1,(function(t){return _.some(t,(function(t){return _.includes(t.toString().toLowerCase(),a.searchMarktetText.toLowerCase())}))}))},marketData2:function(){var a=this;return _.filter(this.reportData.t2,(function(t){return _.some(t,(function(t){return _.includes(t.toString().toLowerCase(),a.searchMarktetText.toLowerCase())}))}))},marketData3:function(){var a=this;return _.filter(this.reportData.t3,(function(t){return _.some(t,(function(t){return _.includes(t.toString().toLowerCase(),a.searchMarktetText.toLowerCase())}))}))},loadReport:function(){var a=this;this.isLoading=!0,e.a.callApi("report/marketanalysis",{}).then((function(t){200==t.status?a.reportData=t.data:a.reportData=[],a.isLoading=!1})).catch((function(t){a.reportData=[],a.isLoading=!1}))}},beforeDestroy:function(){}},c=s(1),r=Object(c.a)(o,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid"},[t("div",{staticClass:"market-analysis"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"page-title-box d-flex align-items-center justify-content-between"},[t("h4",{staticClass:"mb-0 font-size-18"},[a._v("\n            Market Analysis\n            "),t("a",{staticClass:"text-dark pl-2",attrs:{href:"javascript:void(0)",title:"Refresh Data"},on:{click:function(t){return a.loadReport()}}},[t("i",{staticClass:"fa fa-sync",class:{"fa-spin":1==a.isLoading}})])]),a._v(" "),t("div",{staticClass:"page-title-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.searchMarktetText,expression:"searchMarktetText"}],staticClass:"form-control",attrs:{type:"text",name:"searchMarktetText",value:"",placeholder:"Search Event"},domProps:{value:a.searchMarktetText},on:{input:function(t){t.target.composing||(a.searchMarktetText=t.target.value)}}})])])])]),a._v(" "),t("div",{staticClass:"market-analysis-container"},[a.marketData1()?a._l(a.marketData1(),(function(s,e){return t("div",{staticClass:"market-analysis-container"},[t("div",{staticClass:"market-analysis-title"},[t("div",[0==s.iscc&&4!=s.etid?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"GameDetail",params:{etid:a.$base64.encode(s.etid),gameId:a.$base64.encode(s.eid),mid:a.$base64.encode(s.market[0].mid)}}}},[a._v(a._s(s.ename))]):0==s.iscc&&4==s.etid?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"GameDetail",params:{etid:a.$base64.encode(s.etid),gameId:a.$base64.encode(s.eid)}}}},[a._v(a._s(s.ename))]):1==s.iscc?[1==s.shlight?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"VirtualGame",params:{etid:a.$base64.encode(s.etid),gameId:a.$base64.encode(s.eid)}}}},[a._v(a._s(s.ename))]):a._e(),a._v(" "),0==s.shlight?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"Cricketv3"}}},[a._v(a._s(s.ename))]):a._e()]:2==s.iscc?[1==s.shlight?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"VirtualCricket",params:{etid:a.$base64.encode(s.etid),gameId:a.$base64.encode(s.eid)}}}},[a._v(a._s(s.ename))]):a._e()]:3==s.iscc?[0!=s.shlight||s.ename.includes("Over2")||s.ename.includes("Mini")?a._e():t("router-link",{staticClass:"ma-link",attrs:{to:{name:"SuperOver"}}},[a._v(a._s(s.ename))]),a._v(" "),s.ename.includes("Over2")?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"SuperOver2"}}},[a._v(a._s(s.ename))]):a._e(),a._v(" "),s.ename.includes("Mini")?t("router-link",{staticClass:"ma-link",attrs:{to:{name:"SuperOver3"}}},[a._v(a._s(s.ename))]):a._e()]:a._e()],2),a._v(" "),t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}]})]),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(s.market,(function(s,e){return t("div",{staticClass:"col-lg-4"},[t("div",{staticClass:"market-analysis-content-detail",attrs:{"data-simplebar":""}},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",{attrs:{colspan:"2"}},[a._v(a._s(s.mname))])])]),a._v(" "),t("tbody",a._l(a.orderBy(s.section,"srno"),(function(s,e){return t("tr",[t("td",[a._v(a._s(s.sname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"section.amt"}],staticClass:"text-right"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")])])})),0)])])])})),0)])])})):a._e(),a._v(" "),a.reportData&&a.reportData.t2?[t("div",{staticClass:"market-analysis-container"},[a._m(0),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.marketData2(),(function(s,e){return t("div",{staticClass:"col-lg-4"},[t("div",{staticClass:"market-analysis-content-detail",attrs:{"data-simplebar":""}},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")])])})),0)])])])})),0)])])]:a._e(),a._v(" "),a.reportData&&a.reportData.t3?[t("div",{staticClass:"market-analysis-container"},[a._m(1),a._v(" "),t("div",{staticClass:"market-analysis-content"},[t("div",{staticClass:"row row5"},a._l(a.marketData3(),(function(s,e){return t("div",{staticClass:"col-lg-4"},[t("div",{staticClass:"market-analysis-content-detail",attrs:{"data-simplebar":""}},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v(a._s(s.ename))]),a._v(" "),t("th",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.gstime},expression:"{ date: event.gstime }"}],staticClass:"text-right"})])]),a._v(" "),t("tbody",a._l(s.market,(function(s,e){return t("tr",[t("td",[a._v(a._s(s.mname))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"market.amt"}],staticClass:"text-right"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")])])})),0)])])])})),0)])])]:a._e()],2)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"market-analysis-title"},[a("div",[this._v("PLayer Battle")])])},function(){var a=this._self._c;return a("div",{staticClass:"market-analysis-title"},[a("div",[this._v("Diam 11")])])}],!1,null,null,null);t.a=r.exports},function(a,t,s){"use strict";var e=s(0),i=s(34),n=s.n(i),o=s(10),c={components:{Multiselect:n.a,PageHeader:o.a},mounted:function(){this.accountCreateLoadData()},data:function(){return{items:[{text:"Home",to:{name:"home"}},{text:"Users",to:{name:"users"}},{text:"Create Account",active:!0}],user:{username:"",fullname:"",password:"",cpassword:"",city:"",mono:"",mpassword:"",spart:"",point:"",spart1:"",comm:"",ptype:"1",newlvlno:"",lvlno:"",camt:"",remark:"",plock:!1,exposerlim:0},isCheckingUserName:!1,isUserNameAvailable:0,ptypeOpt:[],isLoading:!1,ptypeData:[],ppartOptions:[],lvlnoOptions:[],ptUline:0,rpassword:"",pval:"",ourVal:"",ourComVal:""}},methods:{checkPtVal:function(a,t){var s=this,e=(a=a||window.event).which?a.which:a.keyCode;e>31&&(e<48||e>57)&&46!==e&&a.preventDefault(),setTimeout((function(a){"spart1"==t&&(s.user.spart1>s.pval&&(s.user.spart1=""),s.user.spart1<=s.pval&&(s.ourVal=s.pval-s.user.spart1)),"comm"==t&&(s.user.comm>s.pval&&(s.user.comm=""),s.user.comm<=s.pval&&(s.ourComVal=s.pval-s.user.comm))}),300)},isNumber:function(a){var t=(a=a||window.event).which?a.which:a.keyCode;if(!(t>31&&(t<48||t>57)&&46!==t))return!0;a.preventDefault()},fillValue:function(){if("1"==this.user.ptype){var a=_.findIndex(this.ptypeOpt,(function(a){return"1"==a.ptid}));this.user.spart=this.ptypeOpt[a].ptval,this.ptUline=this.ptypeOpt[a].ptval}if("2"==this.user.ptype){a=_.findIndex(this.ptypeOpt,(function(a){return"2"==a.ptid}));this.user.spart1=this.ptypeOpt[a].ptval,this.ptUline=this.ptypeOpt[a].ptval}if("3"==this.user.ptype){a=_.findIndex(this.ptypeOpt,(function(a){return"3"==a.ptid}));this.user.point=1,this.ptUline=this.ptypeOpt[a].ptval}if("4"==this.user.ptype){a=_.findIndex(this.ptypeOpt,(function(a){return"4"==a.ptid}));this.user.comm=this.ptypeOpt[a].ptval,this.ptUline=this.ptypeOpt[a].ptval}},resetUserValue:function(){this.user={username:"",fullname:"",password:"",cpassword:"",city:"",mono:"",mpassword:"",spart:"",point:"",spart1:"",comm:"",ptype:"",lvlno:"",camt:"",remark:""},this.rpassword="",this.$validator.reset()},checkUserName:function(a){var t=this;this.user.username.length>3?(this.isCheckingUserName=!0,e.a.callApi("checkun",{username:this.user.username}).then((function(a){t.isCheckingUserName=!1,a.success?t.isUserNameAvailable=1:t.isUserNameAvailable=2})).catch((function(a){t.isCheckingUserName=!1}))):this.isUserNameAvailable=0},insertuser:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(t.isLoading=!0,t.$store.state.isLoading=!0,t.user.password!=t.rpassword)return t.$store.state.isLoading=!1,t.isLoading=!1,t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:"Password and Retype Password not matching"});if(a){if(t.user.camt=""==t.user.camt?0:parseFloat(t.user.camt),t.ourVal>t.pval)return t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:"Value can not be greater than Downline"});t.ourVal<=t.pval&&6!=t.newlvlno&&(t.user.spart1=t.ourVal),e.a.callApi("insertuser",t.user).then((function(a){t.$store.state.isLoading=!1,t.isLoading=!1,200==a.status?(t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}),t.resetUserValue(),t.$router.push({name:"users"})):(a.status,t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg}))})).catch((function(a){t.$store.state.isLoading=!1,t.isLoading=!1}))}else t.$store.state.isLoading=!1,t.isLoading=!1}))},accountCreateLoadData:function(){var a=this;e.a.callApi("acccreateload",{}).then((function(t){t.success?(a.ppartOptions=t.data.t3,a.ptypeOpt=t.data.t2,a.pval=t.data.t2[0].ptval,a.lvlnoOptions=t.data.t4,a.user.lvlno=t.data.t1[0].lvlno):(a.ppartOptions=[],a.ptypeOpt=[],a.lvlnoOptions=[],a.user.lvlno="")})).catch((function(t){a.ppartOptions=[],a.ptypeOpt=[],a.lvlnoOptions=[],a.user.lvlno=""}))}},beforeDestroy:function(){}},r=s(1),l=Object(r.a)(c,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"add-account"},[t("h2",{staticClass:"m-b-20"},[a._v("Add Account")]),a._v(" "),t("form",{attrs:{"data-vv-scope":"InserUserAccount",method:"post"},on:{submit:function(t){return t.preventDefault(),a.insertuser("InserUserAccount")}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("h4",{staticClass:"mb-4 col-12"},[a._v("Personal Detail")]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Client Name:")]),a._v(" "),t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:4|max:15|alpha_num",expression:"'required|min:4|max:15|alpha_num'"},{name:"model",rawName:"v-model",value:a.user.username,expression:"user.username"}],staticClass:"form-control",class:[{"is-invalid":a.verrors.first("InserUserAccount.clientname")||2==a.isUserNameAvailable},{"is-valid":1==a.isUserNameAvailable}],attrs:{type:"text",placeholder:"Client Name",name:"clientname"},domProps:{value:a.user.username},on:{keyup:function(t){return a.checkUserName(t)},input:function(t){t.target.composing||a.$set(a.user,"username",t.target.value)}}}),a._v(" "),a.verrors.has("InserUserAccount.clientname")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("InserUserAccount.clientname"))+"\n              ")]):a._e()])]),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("User Password:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.password,expression:"user.password"},{name:"validate",rawName:"v-validate",value:"required|min:8|max:20|verify_password",expression:"'required|min:8|max:20|verify_password'"}],ref:"password",staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.password")},attrs:{type:"password",placeholder:"User Password",name:"password"},domProps:{value:a.user.password},on:{input:function(t){t.target.composing||a.$set(a.user,"password",t.target.value)}}}),a._v(" "),a.verrors.has("InserUserAccount.password")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("InserUserAccount.password"))+"\n              ")]):a._e()])]),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Retype Password:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.rpassword,expression:"rpassword"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Retype Password",name:"rpassword"},domProps:{value:a.rpassword},on:{input:function(t){t.target.composing||(a.rpassword=t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Full Name:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.fullname,expression:"user.fullname"},{name:"validate",rawName:"v-validate",value:"required|min:4|max:50",expression:"'required|min:4|max:50'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.fullname")},attrs:{type:"text",placeholder:"Full Name",name:"fullname"},domProps:{value:a.user.fullname},on:{input:function(t){t.target.composing||a.$set(a.user,"fullname",t.target.value)}}}),a._v(" "),a.verrors.has("InserUserAccount.fullname")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("InserUserAccount.fullname"))+"\n              ")]):a._e()])]),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("City:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.city,expression:"user.city"},{name:"validate",rawName:"v-validate",value:"min:3|max:20",expression:"'min:3|max:20'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.city")},attrs:{type:"text",placeholder:"City",name:"city"},domProps:{value:a.user.city},on:{input:function(t){t.target.composing||a.$set(a.user,"city",t.target.value)}}}),a._v(" "),a.verrors.has("InserUserAccount.city")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("InserUserAccount.city"))+"\n              ")]):a._e()])]),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Phone:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.mono,expression:"user.mono"},{name:"validate",rawName:"v-validate",value:"numeric|min:10|max:15",expression:"'numeric|min:10|max:15'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.mono")},attrs:{type:"text",placeholder:"Phone Number",name:"mono",maxlength:"15"},domProps:{value:a.user.mono},on:{input:function(t){t.target.composing||a.$set(a.user,"mono",t.target.value)}}}),a._v(" "),a.verrors.has("InserUserAccount.mono")?t("small",{staticClass:"error"},[a._v("\n                  "+a._s(a.verrors.first("InserUserAccount.mono"))+"\n                ")]):a._e()])])])]),a._v(" "),t("div",{staticClass:"col-6"},[t("h4",{staticClass:"mb-4 col-12"},[a._v("Account Detail")]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Account Type:")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:a.user.newlvlno,expression:"user.newlvlno"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.newlvlno")},attrs:{name:"newlvlno",label:"label","data-vv-as":"User Type"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.user,"newlvlno",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:""}},[a._v("Select Account Type")]),a._v(" "),a._l(a.lvlnoOptions,(function(s,e){return[t("option",{key:e,domProps:{value:s.lvlno}},[a._v(a._s(s.lname))])]}))],2),a._v(" "),a.verrors.has("InserUserAccount.newlvlno")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("InserUserAccount.newlvlno"))+"\n              ")]):a._e()])]),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Credit Reference:")]),a._v(" "),t("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:20",expression:"'required|max:20'"},{name:"model",rawName:"v-model",value:a.user.camt,expression:"user.camt"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.camt")},attrs:{type:"text",placeholder:"Credit Reference",name:"camt"},domProps:{value:a.user.camt},on:{input:function(t){t.target.composing||a.$set(a.user,"camt",t.target.value)}}}),a._v(" "),a.verrors.has("InserUserAccount.camt")?t("small",{staticClass:"error"},[a._v("\n                  "+a._s(a.verrors.first("InserUserAccount.camt"))+"\n                ")]):a._e()])]),a._v(" "),6==a.user.newlvlno?t("div",{staticClass:"col-6"},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Exposer Limit:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.exposerlim,expression:"user.exposerlim"}],staticClass:"form-control",attrs:{type:"text",placeholder:"Exposer Limit",name:"exposerlim"},domProps:{value:a.user.exposerlim},on:{input:function(t){t.target.composing||a.$set(a.user,"exposerlim",t.target.value)}}})])]):a._e()])])]),a._v(" "),t("div",{staticClass:"row mt-4"},[t("div",{staticClass:"col-12"},[t("h4",{staticClass:"mb-4 col-md-12"},[a._v("Commission Settings")]),a._v(" "),t("table",{staticClass:"table table-striped table-bordered"},[t("tbody",[t("tr",[t("td",[a._v("Upline")]),a._v(" "),t("td",[a._v(a._s(a.pval))])]),a._v(" "),t("tr",[t("td",[a._v("Downline")]),a._v(" "),t("td",[t("input",{directives:[{name:"model",rawName:"v-model.number",value:a.user.comm,expression:"user.comm",modifiers:{number:!0}}],class:{"is-invalid":a.verrors.first("InserUserAccount.comm")},attrs:{type:"text",name:"comm",id:"",placeholder:"0",maxlength:"4",readonly:6==a.user.newlvlno},domProps:{value:a.user.comm},on:{keypress:function(t){return a.checkPtVal(t,"comm")},paste:function(t){return a.checkPtVal(t,"comm")},input:function(t){t.target.composing||a.$set(a.user,"comm",a._n(t.target.value))},blur:function(t){return a.$forceUpdate()}}})])]),a._v(" "),t("tr",[t("td",[a._v("Our")]),a._v(" "),t("td",[a._v(a._s(a.ourComVal))])])])])]),a._v(" "),t("div",{staticClass:"col-12"},[t("h4",{staticClass:"mb-4 col-md-12"},[a._v("Partnership")]),a._v(" "),t("table",{staticClass:"table table-striped table-bordered"},[t("tbody",[t("tr",[t("td",[a._v("Upline")]),a._v(" "),t("td",[a._v(a._s(a.pval))])]),a._v(" "),t("tr",[t("td",[a._v("Downline")]),a._v(" "),t("td",[t("div",{staticClass:"form-group"},[t("input",{directives:[{name:"model",rawName:"v-model.number",value:6==a.user.newlvlno?"0":a.user.spart1,expression:"user.newlvlno == 6 ? '0' : user.spart1",modifiers:{number:!0}},{name:"validate",rawName:"v-validate",value:"required|max:4",expression:"'required|max:4'"}],class:{"is-invalid":a.verrors.first("InserUserAccount.spart1")},attrs:{type:"text",name:"spart1",placeholder:"0",readonly:6==a.user.newlvlno,disabled:""==a.user.newlvlno},domProps:{value:6==a.user.newlvlno?"0":a.user.spart1},on:{keypress:function(t){return a.checkPtVal(t,"spart1")},paste:function(t){return a.checkPtVal(t,"spart1")},input:function(t){t.target.composing||a.$set(6==a.user.newlvlno?"0":a.user,"spart1",a._n(t.target.value))},blur:function(t){return a.$forceUpdate()}}}),a._v(" "),a.verrors.has("InserUserAccount.spart1")?t("div",{staticClass:"error"},[t("p",[a._v("Downline is required")])]):a._e()])])]),a._v(" "),t("tr",[t("td",[a._v("Our")]),a._v(" "),t("td",[a._v(a._s(a.ourVal))])])])])]),a._v(" "),6==a.user.newlvlno?t("div",{staticClass:"col-12"},[t("h4",{staticClass:"mb-4 col-md-12"},[a._v("Min Max Bet")]),a._v(" "),a._m(0)]):a._e()]),a._v(" "),t("div",{staticClass:"row mt-4"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"form-group col-3 float-right"},[t("label",{attrs:{for:"m_pwd"}},[a._v("Transaction Password:")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.mpassword,expression:"user.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("InserUserAccount.mpassword")},attrs:{placeholder:"Transaction Password",value:"",type:"password",name:"mpassword"},domProps:{value:a.user.mpassword},on:{input:function(t){t.target.composing||a.$set(a.user,"mpassword",t.target.value)}}})])])]),a._v(" "),a._m(1)])])}),[function(){var a=this,t=a._self._c;return t("table",{staticClass:"table table-striped table-bordered"},[t("tbody",[t("tr",[t("td",{attrs:{rowspan:"2"}},[a._v("Min Bet")]),a._v(" "),t("td",[a._v("100")])]),a._v(" "),t("tr",[t("td",[t("input",{attrs:{type:"text",placeholder:"100",value:"100"}})])]),a._v(" "),t("tr",[t("td",{attrs:{rowspan:"2"}},[a._v("Max Bet")]),a._v(" "),t("td",[a._v("5000000")])]),a._v(" "),t("tr",[t("td",[t("input",{attrs:{type:"text",placeholder:"5000000",value:"5000000"}})])]),a._v(" "),t("tr",[t("td",{attrs:{rowspan:"2"}},[a._v("Delay")]),a._v(" "),t("td",[a._v("5.00")])]),a._v(" "),t("tr",[t("td",[t("input",{attrs:{type:"text",placeholder:"5.00",value:"5.00"}})])])])])},function(){var a=this._self._c;return a("div",{staticClass:"row m-t-20"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"float-right"},[a("input",{attrs:{type:"hidden",name:"_token"}}),this._v(" "),a("button",{staticClass:"btn btn-submit",attrs:{type:"submit"}},[this._v("Create Account")])])])])}],!1,null,null,null);t.a=l.exports},function(a,t,s){"use strict";var e=s(0),i={components:{PageHeader:s(10).a},mounted:function(){},data:function(){return{user:{password:"",newPassword:"",newPasswordConfirm:"",uname:""},isLoading:!1}},methods:{resetUserValue:function(){this.user={password:"",newPassword:"",newPasswordConfirm:"",uname:this.$store.state.adminUser.uname},this.$validator.reset()},doChangePassword:function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&(t.isLoading=!0,t.user.uname=t.$store.state.adminUser.uname,e.a.callApi("ocp",t.user).then((function(a){if(t.isLoading=!1,200==a.status){t.$swal({icon:"success",text:a.msg}),t.resetUserValue();var s=t;setTimeout((function(){s.$ls.remove("admin_token"),s.$ls.remove("admin_user"),s.$auth.logout(),s.$router.push({name:"login"})}),3e3)}else a.status,t.$swal({icon:"error",text:a.msg})})).catch((function(a){t.isLoading=!1})))}))}},beforeDestroy:function(){}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid"},[t("PageHeader",{attrs:{title:"Change Password"}}),a._v(" "),t("div",{staticClass:"col-12"},[t("div",{staticClass:"row mt-3"},[t("div",{staticClass:"col-4"},[t("form",{attrs:{"data-vv-scope":"ChangePassword",method:"post"},on:{submit:function(t){return t.preventDefault(),a.doChangePassword("ChangePassword")}}},[t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("New Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.newPassword,expression:"user.newPassword"},{name:"validate",rawName:"v-validate",value:"required|min:8|verify_password",expression:"'required|min:8|verify_password'"}],ref:"newPassword",staticClass:"form-control",class:{"is-invalid":a.verrors.first("ChangePassword.NewPassword")},attrs:{type:"password","data-vv-as":"New Password",name:"NewPassword"},domProps:{value:a.user.newPassword},on:{input:function(t){t.target.composing||a.$set(a.user,"newPassword",t.target.value)}}}),a._v(" "),a.verrors.has("ChangePassword.NewPassword")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("ChangePassword.NewPassword"))+"\n              ")]):a._e()]),a._v(" "),t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Confirm Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.newPasswordConfirm,expression:"user.newPasswordConfirm"},{name:"validate",rawName:"v-validate",value:"required|confirmed:newPassword|verify_password",expression:"'required|confirmed:newPassword|verify_password'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("ChangePassword.ConfirmNewPassword")},attrs:{"data-vv-as":"Confirm Password",type:"password",name:"ConfirmNewPassword"},domProps:{value:a.user.newPasswordConfirm},on:{input:function(t){t.target.composing||a.$set(a.user,"newPasswordConfirm",t.target.value)}}}),a._v(" "),a.verrors.has("ChangePassword.ConfirmNewPassword")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("ChangePassword.ConfirmNewPassword"))+"\n              ")]):a._e()]),a._v(" "),t("div",{staticClass:"form-group"},[t("label",{attrs:{for:""}},[a._v("Transaction Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.user.password,expression:"user.password"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("ChangePassword.password")},attrs:{"data-vv-as":"Transaction Code",type:"password",name:"password"},domProps:{value:a.user.password},on:{input:function(t){t.target.composing||a.$set(a.user,"password",t.target.value)}}}),a._v(" "),a.verrors.has("ChangePassword.password")?t("small",{staticClass:"error"},[a._v("\n                "+a._s(a.verrors.first("ChangePassword.password"))+"\n              ")]):a._e()]),a._v(" "),a._m(0)])])])])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"form-group"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[this._v("Load")])])}],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";s(0);var e={mounted:function(){this.transactionToken=this.$route.params.token},data:function(){return{isLoading:!1,transactionToken:"",domain:DOMAIN}},methods:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"cp-success-box"},[t("div",{staticClass:"text-center container"},[a._m(0),a._v(" "),t("h1",[a._v("Your transaction password is "),t("span",{staticClass:"text-info token-box"},[a._v(a._s(a.transactionToken))]),a._v(". ")]),a._v(" "),t("h2",[a._v("Please remember this transaction password, from now on all transcation of the website can be done only with this password and keep one thing in mind, do not share this password with anyone.")]),a._v(" "),t("h2",{staticClass:"mt-3 text-dark"},[a._v("Thank you, Team "+a._s(a.domain))]),a._v(" "),t("div",{staticClass:"font-hindi"},[a._m(1),a._v(" "),t("h1",[a._v("आपका लेनदेन पासवर्ड "),t("span",{staticClass:"text-info token-box"},[a._v(a._s(a.transactionToken))]),a._v(" है।")]),a._v(" "),t("h2",[a._v("कृपया इस लेन-देन के पासवर्ड को याद रखें, अब से वेबसाइट के सभी हस्तांतरण केवल इस पासवर्ड से किए जा सकते हैं और एक बात का ध्यान रखें, इस पासवर्ड को किसी के साथ साझा न करें।")]),a._v(" "),t("h2",{staticClass:"mt-3 text-dark"},[a._v("धन्यवाद, टीम "+a._s(a.domain))])]),a._v(" "),t("router-link",{staticClass:"btn btn-dark btn-lg mt-5",staticStyle:{"min-width":"200px"},attrs:{to:{name:"login"}}},[t("i",{staticClass:"fas fa-arrow-left mr-3"}),a._v("Back")])],1)])}),[function(){var a=this._self._c;return a("h1",[a("span",{staticClass:"text-success"},[this._v("Success! Your password has been updated successfully.")])])},function(){var a=this._self._c;return a("h1",{staticClass:"mt-5"},[a("span",{staticClass:"text-success"},[this._v("Success! आपका पासवर्ड बदला जा चुका है।")])])}],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e,i=s(0),n=s(39),o=s(72),c=s(73),r=s(74),l=s(75),d=s(76),v=s(77),m=s(78),u=s(79),p=s(80),b=s(81),g=s(82),h=s(83),f=s(27),C=s(16),k=s(3),y=s(6),x=s(32),w=s.n(x);var D={mounted:function(){this.gameId=n.a.decode(this.$route.params.gameId),this.etid=n.a.decode(this.$route.params.etid),this.$store.state.gameId=this.gameId,this.getGameDetail(),this.getUserBook()},components:{Market1:o.a,Market2:c.a,Market3:r.a,Market4:l.a,Market5:d.a,Market6:v.a,Market7:m.a,Market8:u.a,Market9:p.a,Market10:b.a,Market11:g.a,GameAllBookTree:h.a,GameBetList:f.a,simplebar:C.a,Timer:k.a,Card:y.a},data:function(){return{imgPath:IMG_PATH,isLoading:!1,gameId:null,gtype:"",etid:0,mid:0,m:0,port:null,gameDetail:[],gameData:{old:{},new:{}},marketList:[],firstCall:!0,callGameDataApi:!0,callUserBookApi:!0,loadingPlacebet:!1,userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},userLock:{mid:0,mpass:"",userList:null,t1:null,lockAll:!1,selected:[]},allBookTreeData:[],scoreboardData:{},hasNoGameData:0,showTv:!1,tvUrl:"",time:{total:0,current:0},cards:[],showCards:!0}},methods:{reloadPage:function(){this.isLoading=!0,window.location.reload()},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},setMarketId:function(a){this.mid=a,this.$refs.marketListModal.hide()},checkIsTest:function(a){return a.includes("T-")},getUserBook:function(){var a=this;i.a.callApi("game/userbook",{gid:parseInt(this.gameId),mid:parseInt(this.mid),etid:parseInt(this.gameDetail.etid)}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3,1==a.callUserBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)):1==a.callUserBookApi&&(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null,setTimeout((function(t){a.getUserBook()}),1e3))})).catch((function(t){1==a.callUserBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getGameDetail:function(){var a=this;i.a.callApi("game/detail",{gid:parseInt(this.gameId),etid:parseInt(this.etid)}).then((function(t){200==t.status?(a.gameDetail=_.first(t.data),a.$store.state.etid=_.get(a.gameDetail,"etid"),a.$store.state.cid=_.get(a.gameDetail,"cid"),a.gtype=_.get(a.gameDetail,"gtype"),a.m=_.get(a.gameDetail,"m"),a.port=_.get(a.gameDetail,"port"),a.mid=a.gameDetail.mid,a.getTvUrl(),2!=a.gameDetail.scard&&4==a.$store.state.etid&&a.connectScoreBoard()):a.gameDetail=[],1==a.gameDetail.iplay&&(a.getGameData(),a.getCricketvData())})).catch((function(t){a.gameDetail=[]}))},getTvUrl:function(){var a=this;i.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayervirtual/"+a.gameId+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},getCricketvData:function(){var a=this;i.a.callApi("game/getcricketvdata",{gmid:parseInt(this.gameId),gtype:this.gtype}).then((function(t){if(200==t.status){var s=t.data.t1;""!=s.card?a.cards=_.get(s,"card").split("|"):a.cards=[],a.time.total=_.get(s,"ft"),a.time.current=_.get(s,"lt")}1==a.callGameDataApi&&setTimeout((function(t){a.getCricketvData()}),600)})).catch((function(t){1==a.callGameDataApi&&setTimeout((function(t){a.getCricketvData()}),600)}))},getMarketList:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/marketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?a.marketList=t.data.t1:a.marketList=[],a.$store.state.isLoading=!1,a.$refs.marketListModal.show()})).catch((function(t){a.marketList=[],a.$store.state.isLoading=!1}))},getGameData:function(){var a=this;i.a.callApi("game/data",{gid:parseInt(this.gameId),m:parseInt(this.m),mid:parseInt(this.mid),etid:parseInt(this.gameDetail.etid),vir:!0,port:this.port}).then((function(t){200==t.status?(!t.data||t.data.length,a.firstCall?(a.gameData.old=t.data,a.firstCall=!1):a.gameData.old=a.gameData.new,a.gameData.new=t.data,1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),1e3)):1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),1e3)})).catch((function(t){1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),1e3)}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,i.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))},getLockUserList:function(a,t){var s=this;1==t&&(this.userLock={mid:a,t1:null,mpass:"",userList:null,lockAll:!1,selected:[]}),this.$store.state.isLoading=!0,i.a.callApi("game/lockuserlist",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?(s.userLock.userList=null,s.userLock.userList=a.data.t2,s.userLock.t1=a.data.t1[0],s.resetBetlockList()):s.userLock.userList=null,s.$store.state.isLoading=!1,1==t&&s.$refs.userLockModal.show()})).catch((function(a){s.userLock.userList=[],s.$store.state.isLoading=!1}))},resetBetlockList:function(){var a=this;this.userLock.lockAll="0"==this.userLock.t1.sstatus?1:0,this.userLock.selected=[],this.userLock.userList.forEach((function(t,s){"0"==t.isact&&a.userLock.selected.push(t.uguid)}))},lockUser:function(a,t){var s=this;if(""==this.userLock.mpass)return this.$swal("","Transaction Code is required","error"),setTimeout((function(a){s.resetBetlockList()}),300),!1;this.$store.state.isLoading=!0,i.a.callApi("game/lockusergame",{gid:parseInt(this.gameId),mid:parseInt(this.userLock.mid),guid:a.uguid,isact:a.isact,mpass:this.userLock.mpass}).then((function(a){200==a.status?s.$swal("",a.msg,"success"):s.$swal("",a.msg,"error"),s.getLockUserList(s.userLock.mid,!1),s.$store.state.isLoading=!1})).catch((function(a){s.$store.state.isLoading=!1}))},lockUserAll:function(a){var t=this;if(""==this.userLock.mpass)return this.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:"Transaction Code is required"}),setTimeout((function(a){t.resetBetlockList()}),300),!1;this.$store.state.isLoading=!0,i.a.callApi("game/lockallusergame",{gid:parseInt(this.gameId),mid:parseInt(this.userLock.mid),mpass:this.userLock.mpass,islock:this.userLock.lockAll}).then((function(a){200==a.status?t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg}),t.getLockUserList(t.userLock.mid,!1),t.$store.state.isLoading=!1})).catch((function(a){t.$store.state.isLoading=!1}))},getBookData:function(a,t){var s=this;this.$store.state.isLoading=!0,i.a.callApi("game/allbook",{gid:parseInt(this.gameId),mid:parseInt(a),gtype:t}).then((function(a){200==a.status?(s.allbook=a.data.t1,s.allBookTreeData=s.buildAllBookTree(s.allbook,s.allbook[0].subid)):(s.allbook=[],s.allBookTreeData=[]),s.$store.state.isLoading=!1,s.$refs.allbookModal.show(),s.$refs.allbookModal.show()})).catch((function(a){s.allbook=[],s.allBookTreeData=[],s.$store.state.isLoading=!1}))},buildAllBookTree:function(a,t){var s=this,e=[],i=!1;return a.forEach((function(n,o){n.subid==t&&((i=s.buildAllBookTree(a,n.userid))&&(n.children=i),e.push(n))})),e},connectScoreBoard:function(){if(null!=this.gameDetail.oldgmid){var a=this,t=0==a.gameDetail.scard?SCOREBOARD_URL+"?format=binary":SCOREBOARD_URL;(e=w.a.connect(t,{transports:["websocket"]})).on("connect",(function(){e.emit("subscribe",{type:0==a.gameDetail.scard?2:a.gameDetail.scard,rooms:[parseInt(a.gameDetail.oldgmid)]})})),e.on("error",(function(){console.log("error")})),e.on("update",(function(t){if(0==a.gameDetail.scard)var s=protobuf.roots.default.EventPublish.decode(new Uint8Array(t.data));else s=t.data;null!=s&&null!=s&&1==s.isfinished?e.emit("unsubscribe",{type:a.gameDetail.scard,rooms:[]}):null!=s&&null!=s?a.scoreboardData=s:$("#scoreboard-box").html("")})),e.on("disconnect",(function(){}))}}},beforeDestroy:function(){this.callUserBookApi=!1,this.callGameDataApi=!1,this.$store.state.gameId=null,2!=this.gameDetail.scard&&null!=this.gameDetail.oldgmid&&(e.emit("unsubscribe",{type:this.gameDetail.scard,rooms:[]}),e.close())}},N=s(1),P=Object(N.a)(D,(function(){var a=this,t=a._self._c;return a.gameDetail&&a.gameDetail.etid?t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-table five-cricket virtual-cricket detail-page-container"},[t("div",{staticClass:"game-header",class:"sport".concat(a.gameDetail.etid)},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameDetail.cname)+" > "+a._s(a.gameDetail.ename))]),a._v(" "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.gameDetail.stime},expression:"{ date: gameDetail.stime }"}],staticClass:"float-right game-header-date"})]),a._v(" "),t("div",{staticClass:"container-fluid container-fluid-5"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-xl-12"},[t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[1==a.gameDetail.iplay&&""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):t("div",{staticClass:"five-video-baner"},[""!=a.gtype?t("img",{attrs:{src:a.imgPath+"admin/img/"+a.gtype+"-bg.jpg"}}):a._e(),a._v(" "),a._m(0)])]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},a._l(6,(function(s){return t("div",[a._l(a.cards[s-1].split(","),(function(a){return[t("Card",{attrs:{card:a}})]}))],2)})),0)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer"},[0!=a.time.total?t("Timer",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e()],1),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{directives:[{name:"b-modal",rawName:"v-b-modal.rules-modal",modifiers:{"rules-modal":!0}}],staticClass:"casino-video-rules-icon",attrs:{title:"Rules"}},[t("i",{staticClass:"fas fa-info-circle"})]),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",on:{click:function(t){return a.reloadPage()}}},[t("i",{staticClass:"fas fa-sync-alt",class:{"fa-spin":1==a.isLoading}})]),a._v(" "),t("b-modal",{attrs:{id:"rules-modal","modal-class":"casino-rules",title:"Rules","hide-footer":""}},[t("img",{staticClass:"img-fluid",attrs:{src:"".concat(a.imgPath,"admin/img/casino-rules/").concat(a.gtype,".jpg")}})])],1)],2)])])]),a._v(" "),a.gameDetail&&0!=a.gameDetail.gtv&&null!=a.gameDetail.gtv?t("div",{staticClass:"banner scorestats mb-1"},[a.gameDetail.etid?[t("img",{staticClass:"img-fluid",attrs:{src:"".concat(a.imgPath,"admin/img/events-banner/").concat(a.gameDetail.etid,".png")}})]:a._e(),a._v(" "),t("iframe",{attrs:{src:"https://royalexch999.com/scoreanimation/".concat(a.gameDetail.gtv,"/1234"),frameborder:"0"}})],2):a._e(),a._v(" "),null!=a.gameDetail&&"4"!=a.gameDetail.etid?t("div",{staticClass:"more-market text-right"},[t("button",{staticClass:"btn btn-back",on:{click:function(t){return a.getMarketList()}}},[a._v("More Market")])]):a._e(),a._v(" "),t("div",{staticClass:"market-container"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return["match"!=s.gtype?[1==s.dtype?[t("Market1",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),3==s.dtype?[t("Market3",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),5==s.dtype?[t("Market5",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),7==s.dtype?[t("Market7",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),8==s.dtype?[t("Market8",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),9==s.dtype?[t("Market9",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),10==s.dtype?[t("Market10",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),11==s.dtype?[t("Market11",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()]}))],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card m-b-10"},[1==a.gameDetail.iplay?[a.gameDetail&&2!=a.gameDetail.scard?[a._m(1),a._v(" "),1==a.gameDetail.scard&&"0"==a.scoreboardData.isfinished?t("div",{staticClass:"scorecard"},[t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"score-top-row"},[t("div",{staticClass:"score-team"},[t("b",[a._v(a._s(a.scoreboardData.spnnation1))]),a._v(" "+a._s(a.scoreboardData.score1)+"\n                  ")]),a._v(" "),t("div",[""!==a.scoreboardData.spnrunrate1?t("span",[a._v("\n                      CRR\n                      "+a._s(a.scoreboardData.spnrunrate1)+"\n                    ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate1?t("span",[a._v("\n                      RR\n                      "+a._s(a.scoreboardData.spnreqrate1)+"\n                    ")]):a._e()]),a._v(" "),""!=a.scoreboardData.spnballrunningstatus?t("div",{staticClass:"score-message"},[""!==a.scoreboardData.dayno?t("span",[a._v("\n                      Day\n                      "+a._s(a.scoreboardData.dayno)+" |\n                    ")]):a._e(),a._v("\n                    "+a._s(a.scoreboardData.spnballrunningstatus)+"\n                  ")]):a._e(),a._v(" "),""!=a.scoreboardData.spnmessage?t("div",{staticClass:"score-message"},[""!==a.scoreboardData.dayno?t("span",[a._v("\n                      Day\n                      "+a._s(a.scoreboardData.dayno)+" |\n                    ")]):a._e(),a._v("\n                    "+a._s(a.scoreboardData.spnmessage)+"\n                  ")]):a._e()])]),a._v(" "),t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"score-top-row"},[t("div",{staticClass:"score-team"},[t("b",[a._v(a._s(a.scoreboardData.spnnation2))]),a._v(" "+a._s(a.scoreboardData.score2)+"\n                  ")]),a._v(" "),t("div",[""!==a.scoreboardData.spnrunrate2?t("span",[a._v("\n                      CRR\n                      "+a._s(a.scoreboardData.spnrunrate2)+"\n                    ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate2?t("span",[a._v("\n                      RR\n                      "+a._s(a.scoreboardData.spnreqrate2)+"\n                    ")]):a._e()]),a._v(" "),t("div",{staticClass:"score-message"},a._l(a.scoreboardData.balls,(function(s){return""!==s?t("span",{staticClass:"ball-runs mr-1",class:[{four:4==s},{six:6==s},{wicket:"ww"==s.toLowerCase()}]},[a._v(a._s(s))]):a._e()})),0)])])]):a._e()]:a._e()]:a._e()],2),a._v(" "),t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"my-game-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},[t("table",{staticClass:"table coupon-table mb-0"},[a._m(2),a._v(" "),null!=a.userBook?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.mname))]),a._v(" "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.pdt},expression:"{ date: bet.pdt }"}],staticClass:"float-right"})])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v(a._s(s.sname)+" "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v(a._s(s.amt))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[a._m(3)])])])])])])])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v(a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0))]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()]),a._v(" "),t("b-modal",{ref:"marketListModal",staticClass:"market-list",attrs:{"hide-footer":"",title:"MORE MARKET"}},[t("div",{staticClass:"table-responsive more-market"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Market Name")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Market Book")])])]),a._v(" "),t("tbody",[null!=a.marketList&&a.marketList.length>0?[a._l(a.marketList,(function(s,e){return[t("tr",[t("td",[t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.setMarketId(s.mid)}}},[a._v(a._s(s.mname))])]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.scnt))])])]}))]:[t("tr",[t("td",{attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid)}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)])],2),a._v(" "),t("b-modal",{ref:"userLockModal",attrs:{"hide-footer":"",title:"Bet Lock"}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-8"}),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"form-group"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userLock.mpass,expression:"userLock.mpass"}],staticClass:"form-control",attrs:{type:"password",name:"ulockmpass",value:"",placeholder:"Transaction Code"},domProps:{value:a.userLock.mpass},on:{input:function(t){t.target.composing||a.$set(a.userLock,"mpass",t.target.value)}}})])])]),a._v(" "),t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",[t("b-form-checkbox",{attrs:{value:"1"},on:{change:function(t){return a.lockUserAll(t)}},model:{value:a.userLock.lockAll,callback:function(t){a.$set(a.userLock,"lockAll",t)},expression:"userLock.lockAll"}})],1),a._v(" "),t("th",[a._v("All Account")])])]),a._v(" "),t("tbody",[null!=a.userLock.userList&&a.userLock.userList.length>0?[a._l(a.userLock.userList,(function(s,e){return[t("tr",[t("td",[t("b-form-checkbox",{ref:"user"+s.uguid,refInFor:!0,attrs:{name:"locku",value:s.uguid},on:{change:function(t){return a.lockUser(s,t)}},model:{value:a.userLock.selected,callback:function(t){a.$set(a.userLock,"selected",t)},expression:"userLock.selected"}})],1),a._v(" "),t("td",[a._v(a._s(s.uname))])])]}))]:[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])]),a._v(" "),t("b-modal",{ref:"allbookModal",staticClass:"user-book",attrs:{"hide-footer":"",title:"User Book",size:"xl"}},[null!=a.allBookTreeData&&a.allBookTreeData.length>0?t("div",{staticClass:"user-book"},[t("ul",{staticClass:"mtree transit bubba mtree-header"},[t("li",{staticClass:"mtree-node"},[t("a",{attrs:{href:"#"}},[t("table",{staticClass:"table m-b-0 table-striped",staticStyle:{"border-bottom":"0"}},[t("thead",[t("tr",[t("th",[a._v("User Name")]),a._v(" "),a._l(a.allBookTreeData[0],(function(s,e){return["children"!=e&&"levelno"!=e&&"userid"!=e&&"subid"!=e&&"Username"!=e?t("th",{staticClass:"text-right"},[a._v("\n                      "+a._s(e))]):a._e()]}))],2)])])])])]),a._v(" "),t("ul",{staticClass:"mtree transit bubba user-table"},[a._l(a.allBookTreeData,(function(a,s){return[t("GameAllBookTree",{staticClass:"item",attrs:{model:a}})]}))],2)]):t("div",{staticClass:"text-center"},[a._v("\n      No Record Found\n    ")])])],1):a._e()}),[function(){var a=this,t=a._self._c;return t("div",{staticClass:"animate-text"},[t("span",[a._v("M")]),a._v(" "),t("span",[a._v("a")]),a._v(" "),t("span",[a._v("t")]),a._v(" "),t("span",[a._v("c")]),a._v(" "),t("span",[a._v("h")]),a._v(" "),t("span",[a._v(" ")]),a._v(" "),t("span",[a._v("w")]),a._v(" "),t("span",[a._v("i")]),a._v(" "),t("span",[a._v("l")]),a._v(" "),t("span",[a._v("l")]),a._v(" "),t("span",[a._v(" ")]),a._v(" "),t("span",[a._v("b")]),a._v(" "),t("span",[a._v("e")]),a._v(" "),t("span",[a._v(" ")]),a._v(" "),t("span",[a._v("s")]),a._v(" "),t("span",[a._v("t")]),a._v(" "),t("span",[a._v("a")]),a._v(" "),t("span",[a._v("r")]),a._v(" "),t("span",[a._v("t")]),a._v(" "),t("span",[a._v(" ")]),a._v(" "),t("span",[a._v("s")]),a._v(" "),t("span",[a._v("o")]),a._v(" "),t("span",[a._v("o")]),a._v(" "),t("span",[a._v("n")])])},function(){var a=this._self._c;return a("div",{staticClass:"card-header"},[a("h6",{staticClass:"card-title float-left"},[this._v("Score Card")])])},function(){var a=this._self._c;return a("thead",[a("tr",[a("th",{staticStyle:{"min-width":"90px"}},[this._v("UserName")]),this._v(" "),a("th",{staticStyle:{"min-width":"90px"}},[this._v("Nation")]),this._v(" "),a("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[this._v("Rate")]),this._v(" "),a("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[this._v("Amount")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"4"}},[this._v("No records found")])])}],!1,null,null,null);t.a=P.exports},function(a,t,s){"use strict";var e,i=s(0),n=s(39),o=s(72),c=s(73),r=s(74),l=s(75),d=s(76),v=s(77),m=s(78),u=s(79),p=s(80),b=s(81),g=s(82),h=s(83),f=s(27),C=s(16),k=s(3),y=s(6),x=s(32),w=s.n(x);var D={mounted:function(){this.gameId=n.a.decode(this.$route.params.gameId),this.etid=n.a.decode(this.$route.params.etid),this.$store.state.gameId=this.gameId,this.getGameDetail(),this.getUserBook()},components:{Market1:o.a,Market2:c.a,Market3:r.a,Market4:l.a,Market5:d.a,Market6:v.a,Market7:m.a,Market8:u.a,Market9:p.a,Market10:b.a,Market11:g.a,GameAllBookTree:h.a,GameBetList:f.a,simplebar:C.a,Timer:k.a,Card:y.a},data:function(){return{imgPath:IMG_PATH,isLoading:!1,gameId:null,gtype:"",etid:0,mid:0,m:0,port:null,gameDetail:[],gameData:{old:{},new:{}},marketList:[],firstCall:!0,callGameDataApi:!0,callUserBookApi:!0,loadingPlacebet:!1,userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},userLock:{mid:0,mpass:"",userList:null,t1:null,lockAll:!1,selected:[]},allBookTreeData:[],scoreboardData:{},hasNoGameData:0,showTv:!1,tvUrl:"",time:{total:0,current:0},cards:[],showCards:!0}},methods:{toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},setMarketId:function(a){this.mid=a,this.$refs.marketListModal.hide()},checkIsTest:function(a){return a.includes("T-")},getUserBook:function(){var a=this;i.a.callApi("game/userbook",{gid:parseInt(this.gameId),mid:parseInt(this.mid),etid:parseInt(this.gameDetail.etid)}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3,1==a.callUserBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)):1==a.callUserBookApi&&(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null,setTimeout((function(t){a.getUserBook()}),1e3))})).catch((function(t){1==a.callUserBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getGameDetail:function(){var a=this;i.a.callApi("game/detail",{gid:parseInt(this.gameId),etid:parseInt(this.etid)}).then((function(t){200==t.status?(a.gameDetail=_.first(t.data),a.$store.state.etid=_.get(a.gameDetail,"etid"),a.$store.state.cid=_.get(a.gameDetail,"cid"),a.gtype=_.get(a.gameDetail,"gtype"),a.m=_.get(a.gameDetail,"m"),a.port=_.get(a.gameDetail,"port"),a.mid=a.gameDetail.mid,a.getTvUrl(),2!=a.gameDetail.scard&&4==a.$store.state.etid&&a.connectScoreBoard()):a.gameDetail=[],a.getGameData(),a.getCricketvData()})).catch((function(t){a.gameDetail=[]}))},getTvUrl:function(){var a=this;i.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gtype+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},getCricketvData:function(){var a=this;i.a.callApi("game/getcricketvdata",{gmid:parseInt(this.gameId),gtype:this.gtype}).then((function(t){if(200==t.status){var s=t.data.t1;""!=s.card?a.cards=_.get(s,"card").split("|"):a.cards=[],a.time.total=_.get(s,"ft"),a.time.current=_.get(s,"lt")}1==a.callGameDataApi&&setTimeout((function(t){a.getCricketvData()}),600)})).catch((function(t){1==a.callGameDataApi&&setTimeout((function(t){a.getCricketvData()}),600)}))},getMarketList:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/marketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?a.marketList=t.data.t1:a.marketList=[],a.$store.state.isLoading=!1,a.$refs.marketListModal.show()})).catch((function(t){a.marketList=[],a.$store.state.isLoading=!1}))},getGameData:function(){var a=this;i.a.callApi("game/data",{gid:parseInt(this.gameId),m:parseInt(this.m),mid:parseInt(this.mid),etid:parseInt(this.gameDetail.etid),vir:!0,port:this.port}).then((function(t){200==t.status?(!t.data||t.data.length,a.firstCall?(a.gameData.old=t.data,a.firstCall=!1):a.gameData.old=a.gameData.new,a.gameData.new=t.data,1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),1e3)):1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),1e3)})).catch((function(t){1==a.callGameDataApi&&setTimeout((function(t){a.getGameData()}),1e3)}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,i.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))},getLockUserList:function(a,t){var s=this;1==t&&(this.userLock={mid:a,t1:null,mpass:"",userList:null,lockAll:!1,selected:[]}),this.$store.state.isLoading=!0,i.a.callApi("game/lockuserlist",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?(s.userLock.userList=null,s.userLock.userList=a.data.t2,s.userLock.t1=a.data.t1[0],s.resetBetlockList()):s.userLock.userList=null,s.$store.state.isLoading=!1,1==t&&s.$refs.userLockModal.show()})).catch((function(a){s.userLock.userList=[],s.$store.state.isLoading=!1}))},resetBetlockList:function(){var a=this;this.userLock.lockAll="0"==this.userLock.t1.sstatus?1:0,this.userLock.selected=[],this.userLock.userList.forEach((function(t,s){"0"==t.isact&&a.userLock.selected.push(t.uguid)}))},lockUser:function(a,t){var s=this;if(""==this.userLock.mpass)return this.$swal("","Transaction Code is required","error"),setTimeout((function(a){s.resetBetlockList()}),300),!1;this.$store.state.isLoading=!0,i.a.callApi("game/lockusergame",{gid:parseInt(this.gameId),mid:parseInt(this.userLock.mid),guid:a.uguid,isact:a.isact,mpass:this.userLock.mpass}).then((function(a){200==a.status?s.$swal("",a.msg,"success"):s.$swal("",a.msg,"error"),s.getLockUserList(s.userLock.mid,!1),s.$store.state.isLoading=!1})).catch((function(a){s.$store.state.isLoading=!1}))},lockUserAll:function(a){var t=this;if(""==this.userLock.mpass)return this.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:"Transaction Code is required"}),setTimeout((function(a){t.resetBetlockList()}),300),!1;this.$store.state.isLoading=!0,i.a.callApi("game/lockallusergame",{gid:parseInt(this.gameId),mid:parseInt(this.userLock.mid),mpass:this.userLock.mpass,islock:this.userLock.lockAll}).then((function(a){200==a.status?t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"success",text:a.msg}):t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,icon:"error",text:a.msg}),t.getLockUserList(t.userLock.mid,!1),t.$store.state.isLoading=!1})).catch((function(a){t.$store.state.isLoading=!1}))},getBookData:function(a,t){var s=this;this.$store.state.isLoading=!0,i.a.callApi("game/allbook",{gid:parseInt(this.gameId),mid:parseInt(a),gtype:t}).then((function(a){200==a.status?(s.allbook=a.data.t1,s.allBookTreeData=s.buildAllBookTree(s.allbook,s.allbook[0].subid)):(s.allbook=[],s.allBookTreeData=[]),s.$store.state.isLoading=!1,s.$refs.allbookModal.show(),s.$refs.allbookModal.show()})).catch((function(a){s.allbook=[],s.allBookTreeData=[],s.$store.state.isLoading=!1}))},buildAllBookTree:function(a,t){var s=this,e=[],i=!1;return a.forEach((function(n,o){n.subid==t&&((i=s.buildAllBookTree(a,n.userid))&&(n.children=i),e.push(n))})),e},connectScoreBoard:function(){if(null!=this.gameDetail.oldgmid){var a=this,t=0==a.gameDetail.scard?SCOREBOARD_URL+"?format=binary":SCOREBOARD_URL;(e=w.a.connect(t,{transports:["websocket"]})).on("connect",(function(){e.emit("subscribe",{type:0==a.gameDetail.scard?2:a.gameDetail.scard,rooms:[parseInt(a.gameDetail.oldgmid)]})})),e.on("error",(function(){console.log("error")})),e.on("update",(function(t){if(0==a.gameDetail.scard)var s=protobuf.roots.default.EventPublish.decode(new Uint8Array(t.data));else s=t.data;null!=s&&null!=s&&1==s.isfinished?e.emit("unsubscribe",{type:a.gameDetail.scard,rooms:[]}):null!=s&&null!=s?a.scoreboardData=s:$("#scoreboard-box").html("")})),e.on("disconnect",(function(){}))}}},beforeDestroy:function(){this.callUserBookApi=!1,this.callGameDataApi=!1,this.$store.state.gameId=null,2!=this.gameDetail.scard&&null!=this.gameDetail.oldgmid&&(e.emit("unsubscribe",{type:this.gameDetail.scard,rooms:[]}),e.close())}},N=s(1),P=Object(N.a)(D,(function(){var a=this,t=a._self._c;return a.gameDetail&&a.gameDetail.etid?t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-table five-cricket detail-page-container"},[t("div",{staticClass:"game-header",class:"sport".concat(a.gameDetail.etid)},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameDetail.cname)+" > "+a._s(a.gameDetail.ename))]),a._v(" "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.gameDetail.stime},expression:"{ date: gameDetail.stime }"}],staticClass:"float-right game-header-date"})]),a._v(" "),t("div",{staticClass:"container-fluid container-fluid-5"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-xl-10"},[t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()])])])])]),a._v(" "),a.gameDetail&&0!=a.gameDetail.gtv&&null!=a.gameDetail.gtv?t("div",{staticClass:"banner scorestats mb-1"},[a.gameDetail.etid?[t("img",{staticClass:"img-fluid",attrs:{src:"".concat(a.imgPath,"admin/img/events-banner/").concat(a.gameDetail.etid,".png")}})]:a._e(),a._v(" "),t("iframe",{attrs:{src:"https://royalexch999.com/scoreanimation/".concat(a.gameDetail.gtv,"/1234"),frameborder:"0"}})],2):a._e(),a._v(" "),null!=a.gameDetail&&"4"!=a.gameDetail.etid?t("div",{staticClass:"more-market text-right"},[t("button",{staticClass:"btn btn-back",on:{click:function(t){return a.getMarketList()}}},[a._v("More Market")])]):a._e(),a._v(" "),t("div",{staticClass:"market-container"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return["match"!=s.gtype?[1==s.dtype?[t("Market1",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),3==s.dtype?[t("Market3",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),5==s.dtype?[t("Market5",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),7==s.dtype?[t("Market7",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),8==s.dtype?[t("Market8",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),9==s.dtype?[t("Market9",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),10==s.dtype?[t("Market10",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),11==s.dtype?[t("Market11",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()]}))],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"my-game-bets"}},[a._m(0),a._v(" "),1==a.gameDetail.scard&&"0"==a.scoreboardData.isfinished?t("div",{staticClass:"scorecard"},[t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"score-top-row"},[t("div",{staticClass:"score-team"},[t("b",[a._v(a._s(a.scoreboardData.spnnation1))]),a._v(" "+a._s(a.scoreboardData.score1)+"\n              ")]),a._v(" "),t("div",[""!==a.scoreboardData.spnrunrate1?t("span",[a._v("\n                  CRR\n                  "+a._s(a.scoreboardData.spnrunrate1)+"\n                ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate1?t("span",[a._v("\n                  RR\n                  "+a._s(a.scoreboardData.spnreqrate1)+"\n                ")]):a._e()]),a._v(" "),""!=a.scoreboardData.spnballrunningstatus?t("div",{staticClass:"score-message"},[""!==a.scoreboardData.dayno?t("span",[a._v("\n                  Day\n                  "+a._s(a.scoreboardData.dayno)+" |\n                ")]):a._e(),a._v("\n                "+a._s(a.scoreboardData.spnballrunningstatus)+"\n              ")]):a._e(),a._v(" "),""!=a.scoreboardData.spnmessage?t("div",{staticClass:"score-message"},[""!==a.scoreboardData.dayno?t("span",[a._v("\n                  Day\n                  "+a._s(a.scoreboardData.dayno)+" |\n                ")]):a._e(),a._v("\n                "+a._s(a.scoreboardData.spnmessage)+"\n              ")]):a._e()])]),a._v(" "),t("div",{staticClass:"scorecard-row"},[t("div",{staticClass:"score-top-row"},[t("div",{staticClass:"score-team"},[t("b",[a._v(a._s(a.scoreboardData.spnnation2))]),a._v(" "+a._s(a.scoreboardData.score2)+"\n              ")]),a._v(" "),t("div",[""!==a.scoreboardData.spnrunrate2?t("span",[a._v("\n                  CRR\n                  "+a._s(a.scoreboardData.spnrunrate2)+"\n                ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate2?t("span",[a._v("\n                  RR\n                  "+a._s(a.scoreboardData.spnreqrate2)+"\n                ")]):a._e()]),a._v(" "),t("div",{staticClass:"score-message"},a._l(a.scoreboardData.balls,(function(s){return""!==s?t("span",{staticClass:"ball-runs mr-1",class:[{four:4==s},{six:6==s},{wicket:"ww"==s.toLowerCase()}]},[a._v(a._s(s))]):a._e()})),0)])])]):a._e(),a._v(" "),t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},[t("table",{staticClass:"table coupon-table mb-0"},[a._m(1),a._v(" "),null!=a.userBook?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{attrs:{colspan:"4"}},[t("b",[a._v(a._s(s.mname))]),a._v(" "),t("span",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:s.pdt},expression:"{ date: bet.pdt }"}],staticClass:"float-right"})])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v(a._s(s.sname)+" "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v(a._s(s.amt))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"4"}})])]}))],2):t("tbody",[a._m(2)])])])])])])])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v(a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0))]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()]),a._v(" "),t("b-modal",{ref:"marketListModal",staticClass:"market-list",attrs:{"hide-footer":"",title:"MORE MARKET"}},[t("div",{staticClass:"table-responsive more-market"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Market Name")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Market Book")])])]),a._v(" "),t("tbody",[null!=a.marketList&&a.marketList.length>0?[a._l(a.marketList,(function(s,e){return[t("tr",[t("td",[t("a",{attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.setMarketId(s.mid)}}},[a._v(a._s(s.mname))])]),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.scnt))])])]}))]:[t("tr",[t("td",{attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid)}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)])],2),a._v(" "),t("b-modal",{ref:"userLockModal",attrs:{"hide-footer":"",title:"Bet Lock"}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-8"}),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"form-group"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.userLock.mpass,expression:"userLock.mpass"}],staticClass:"form-control",attrs:{type:"password",name:"ulockmpass",value:"",placeholder:"Transaction Code"},domProps:{value:a.userLock.mpass},on:{input:function(t){t.target.composing||a.$set(a.userLock,"mpass",t.target.value)}}})])])]),a._v(" "),t("div",{staticClass:"table-responsive"},[t("table",{staticClass:"table table-bordered"},[t("thead",[t("tr",[t("th",[t("b-form-checkbox",{attrs:{value:"1"},on:{change:function(t){return a.lockUserAll(t)}},model:{value:a.userLock.lockAll,callback:function(t){a.$set(a.userLock,"lockAll",t)},expression:"userLock.lockAll"}})],1),a._v(" "),t("th",[a._v("All Account")])])]),a._v(" "),t("tbody",[null!=a.userLock.userList&&a.userLock.userList.length>0?[a._l(a.userLock.userList,(function(s,e){return[t("tr",[t("td",[t("b-form-checkbox",{ref:"user"+s.uguid,refInFor:!0,attrs:{name:"locku",value:s.uguid},on:{change:function(t){return a.lockUser(s,t)}},model:{value:a.userLock.selected,callback:function(t){a.$set(a.userLock,"selected",t)},expression:"userLock.selected"}})],1),a._v(" "),t("td",[a._v(a._s(s.uname))])])]}))]:[t("tr",[t("td",{staticClass:"text-center",attrs:{colspan:"2"}},[a._v("No record found")])])]],2)])])]),a._v(" "),t("b-modal",{ref:"allbookModal",staticClass:"user-book",attrs:{"hide-footer":"",title:"User Book",size:"xl"}},[null!=a.allBookTreeData&&a.allBookTreeData.length>0?t("div",{staticClass:"user-book"},[t("ul",{staticClass:"mtree transit bubba mtree-header"},[t("li",{staticClass:"mtree-node"},[t("a",{attrs:{href:"#"}},[t("table",{staticClass:"table m-b-0 table-striped",staticStyle:{"border-bottom":"0"}},[t("thead",[t("tr",[t("th",[a._v("User Name")]),a._v(" "),a._l(a.allBookTreeData[0],(function(s,e){return["children"!=e&&"levelno"!=e&&"userid"!=e&&"subid"!=e&&"Username"!=e?t("th",{staticClass:"text-right"},[a._v("\n                      "+a._s(e))]):a._e()]}))],2)])])])])]),a._v(" "),t("ul",{staticClass:"mtree transit bubba user-table"},[a._l(a.allBookTreeData,(function(a,s){return[t("GameAllBookTree",{staticClass:"item",attrs:{model:a}})]}))],2)]):t("div",{staticClass:"text-center"},[a._v("\n      No Record Found\n    ")])])],1):a._e()}),[function(){var a=this._self._c;return a("div",{staticClass:"card-header mb-3"},[a("h6",{staticClass:"card-title float-left"},[this._v("Score Card")])])},function(){var a=this._self._c;return a("thead",[a("tr",[a("th",{staticStyle:{"min-width":"90px"}},[this._v("UserName")]),this._v(" "),a("th",{staticStyle:{"min-width":"90px"}},[this._v("Nation")]),this._v(" "),a("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[this._v("Rate")]),this._v(" "),a("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[this._v("Amount")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"4"}},[this._v("No records found")])])}],!1,null,null,null);t.a=P.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(23),o=s(9),c=s.n(o),r=s(22);s(41);function l(a){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function d(){d=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function v(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{v({},"")}catch(a){v=function(a,t,s){return a[t]=s}}function m(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function u(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=m;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};v(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){v(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=u(a[i],a,n);if("throw"!==r.type){var d=r.arg,v=d.value;return v&&"object"==l(v)&&e.call(v,"__await")?t.resolve(v.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(v).then((function(a){d.value=a,o(d)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=u(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=u(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(l(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=v(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,v(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),v(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(m(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),v(w,r,"Generator"),v(w,o,(function(){return this})),v(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function v(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}function m(a){return function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){v(n,e,i,o,c,"next",a)}function c(a){v(n,e,i,o,c,"throw",a)}o(void 0)}))}}var u={components:{PageHeader:i.a,downloadexcel:n.a},mounted:function(){},data:function(){return{reportData:[],gtype:1,items:[{text:"Home",to:{name:"home"}},{text:"Current Bets",active:!0}],reportFields:[{key:"etype",label:"Event Type",sortable:!0},{key:"ename",label:"Event Name",sortable:!0},{key:"uname",label:"User Name",sortable:!0},{key:"mname",label:"M Name",sortable:!0},{key:"sname",label:"Nation",sortable:!0},{key:"urate",label:"U Rate",sortable:!0,thClass:"text-right"},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"pdt",label:"Place Date",sortable:!0}],listColumns:{"Event Type":"etype","Event Name":"ename","User Name":"uname","M Name":"mname",Nation:"sname","User Rate":"urate",Amount:"amt","Place Date":"pdt"},pdfColumn:[{title:"Event Type",dataKey:"etype"},{title:"Event Name",dataKey:"ename"},{title:"User Name",dataKey:"uname"},{title:"M Name",dataKey:"mname"},{title:"Nation",dataKey:"sname"},{title:"User Rate",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Place Date",dataKey:"pdt"}],ipdetail:{},currentPage:1,filter:null,oldFilter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150],betType:"all",winTotal:0,sodaTotal:0,selectedSoda:[],radioEvent:""}},watch:{selectedSoda:function(){var a=this;this.selectedSoda.length>0?(this.winTotal=0,this.sodaTotal=0,_.forEach(this.selectedSoda,(function(t,s){a.winTotal+=t.amt,a.sodaTotal++}))):this.calculateTotalWin()}},computed:{reportDataFiltered:function(){return"all"==this.betType?this.reportData:"back"==this.betType?_.filter(this.reportData,{btype:"back"}):"lay"==this.betType?_.filter(this.reportData,{btype:"lay"}):[]}},methods:{getReportFields:function(){this.reportFields=[1==this.gtype?{key:"etype",label:"Event Type",sortable:!0}:null,{key:"ename",label:"Event Name",sortable:!0},{key:"uname",label:"User Name",sortable:!0},1==this.gtype?{key:"mname",label:"M Name",sortable:!0}:null,{key:"sname",label:"Nation",sortable:!0},{key:"urate",label:"User Rate",sortable:!0,thClass:"text-right"},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"pdt",label:"Place Date",sortable:!0}],1==this.gtype?(this.listColumns={"Event Type":"etype","Event Name":"ename","User Name":"uname","M Name":"mname",Nation:"sname","User Rate":"urate",Amount:"amt","Place Date":"pdt"},this.pdfColumn=[{title:"Event Type",dataKey:"etype"},{title:"Event Name",dataKey:"ename"},{title:"User Name",dataKey:"uname"},{title:"M Name",dataKey:"mname"},{title:"Nation",dataKey:"sname"},{title:"User Rate",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Place Date",dataKey:"pdt"}]):(this.listColumns={"Event Name":"ename","User Name":"uname",Nation:"sname","User Rate":"urate",Amount:"amt","Place Date":"pdt"},this.pdfColumn=[{title:"Event Name",dataKey:"ename"},{title:"User Name",dataKey:"uname"},{title:"Nation",dataKey:"sname"},{title:"User Rate",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Place Date",dataKey:"pdt"}])},changeReportType:function(a){this.reportData=[],this.gtype=a,this.getReportFields()},fetchExcelData:function(){var a=this;return m(d().mark((function t(){var s,e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=_.cloneDeep(a.reportData),0,e=a,_.forEach(s,(function(a,t){s[t].amt=e.$helpers.toCurrency(a.amt),s[t].pdt=c()(String(a.pdt),"MM-DD-YYYY hh:mm:ss A").format("DD/MM/YYYY HH:MM:SS A")})),t.abrupt("return",s);case 5:case"end":return t.stop()}}),t)})))()},exportPdf:function(){var a=this;return m(d().mark((function t(){var s,e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.fetchExcelData();case 2:0!==(s=t.sent).length&&((e=new r.default("l","pt")).text("Current Bets",380,25),e.autoTable(a.pdfColumn,s),e.save("current_bet.pdf"));case 4:case"end":return t.stop()}}),t)})))()},checkIP:function(a){var t=this;this.$store.state.isLoading=!0,e.a.callApi("report/checkip",{ip:a}).then((function(a){t.$store.state.isLoading=!1,a.success?(t.ipdetail=a.data,t.$refs.ipdetail.show()):t.ipdetail=[]})).catch((function(a){t.$store.state.isLoading=!1,t.ipdetail=[]}))},loadReport:function(a){var t=this;this.$store.state.isLoading=!0,this.selectedSoda=[],this.searchText="",this.loading=!0;var s="";""!=a?(this.radioEvent=a,s=a.target.value):s="matchbet",e.a.callApi("report/currentbets",{gtype:this.gtype,type:s}).then((function(a){t.$store.state.isLoading=!1,200==a.status?(t.reportData=a.data.t1,t.totalRows=t.reportDataFiltered.length,t.loading=!1):(t.reportData=[],t.totalRows=0,t.loading=!1),t.calculateTotalWin()})).catch((function(a){t.$store.state.isLoading=!1,t.reportData=[],t.totalRows=0,t.loading=!1}))},hideModal:function(a){this.$refs[a].hide()},onFiltered:function(a){this.filter!=this.oldFilter&&(this.oldFilter=this.filter,this.selectedSoda=[]),this.totalRows=a.length,this.currentPage=1},reportRowClass:function(a,t){if(a)return"back"==a.btype.toLowerCase()||"oddeven"==a.gtype.toLowerCase()?"back-border":"lay"==a.btype.toLowerCase()&&"oddeven"!=a.gtype.toLowerCase()?"lay-border":void 0},changeType:function(a){this.selectedSoda=[],this.betType=a.target.value,this.calculateTotalWin()},calculateTotalWin:function(){this.sodaTotal=this.reportDataFiltered.length,this.winTotal=_.sumBy(this.reportDataFiltered,(function(a){return a.amt}))}}},p=s(1),b=Object(p.a)(u,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Current Bets",items:a.items}}),a._v(" "),t("div",{staticClass:"casino-report-tabs"},[t("ul",{staticClass:"nav nav-tabs"},[t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",class:{active:1==a.gtype},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.changeReportType(1)}}},[a._v("Sports")])]),a._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",class:{active:2==a.gtype},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.changeReportType(2)}}},[a._v("Casino")])])])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"report-form mb-3 row align-items-center modal-chekbox"},[t("div",{staticClass:"col-12"},[1==a.gtype?[t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"customRadio",name:"example",value:"matchbet",checked:""},on:{change:function(t){return a.loadReport(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"customRadio"}},[a._v("Matched")])]),a._v(" "),1==a.$store.state.adminUser.ispa?t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"customRadio1",name:"example",value:"unsettled"},on:{change:function(t){return a.loadReport(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"customRadio1"}},[a._v("Unmatched")])]):a._e(),a._v(" "),t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"customRadio2",name:"example",value:"deletebet"},on:{change:function(t){return a.loadReport(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"customRadio2"}},[a._v("Deleted")])])]:a._e()],2),a._v(" "),t("div",{staticClass:"col-6"},[t("div",{staticClass:"custom-control custom-radio custom-control-inline pl-0"},[t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-all",name:"bettype",value:"all",checked:""},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-all"}},[a._v("All")])]),a._v(" "),t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-back",name:"bettype",value:"back"},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-back"}},[a._v("Back")])]),a._v(" "),t("div",{staticClass:"custom-control custom-radio custom-control-inline"},[t("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:"soda-lay",name:"bettype",value:"lay"},on:{change:function(t){return a.changeType(t)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:"soda-lay"}},[a._v("Lay")])])]),a._v(" "),t("div",{staticClass:"custom-control-inline"},[t("b-button",{staticClass:"mr-2",attrs:{variant:"primary",type:"button",title:"Refresh Data"},on:{click:function(t){return a.loadReport(a.radioEvent)}}},[a._v("Load\n                ")])],1)]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"custom-control-inlinemr-0 mt-1"},[t("h5",[a._v("Total Soda: "),t("span",{staticClass:"mr-2"},[a._v(a._s(a.sodaTotal))]),a._v(" Total Amount: "),t("span",{directives:[{name:"currency",rawName:"v-currency",value:a.winTotal,expression:"winTotal"}]})])])])]),a._v(" "),t("div",{staticClass:"row w-100"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                  Show \n                  "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n                ")],1)])]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("Search:\n                 \n                  "),t("b-form-input",{staticClass:"form-control ml-1",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{staticClass:"table no-footer",attrs:{"show-empty":"",bordered:"",striped:"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.reportDataFiltered,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage,"tbody-tr-class":a.reportRowClass},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}},{key:"table-colgroup",fn:function(s){return a._l(s.fields,(function(a){return t("col",{key:a.key,style:{width:"ename"===a.key?"200px":"auto"}})}))}},{key:"cell(urate)",fn:function(s){return[t("p",{staticClass:"text-right mb-0"},[a._v(a._s(s.item.urate))])]}},{key:"cell(sname)",fn:function(s){return[1!=a.gtype||"fancy"!=s.item.gtype.toLowerCase()&&"khado"!=s.item.gtype.toLowerCase()?t("p",{staticClass:"mb-0"},[a._v(a._s(s.item.sname))]):t("p",{staticClass:"mb-0"},[a._v(a._s(s.item.sname+" / "+s.item.bhav))])]}},{key:"cell(amt)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.amt,expression:"data.item.amt"}],staticClass:"text-right mb-0"})]}},{key:"cell(ip)",fn:function(s){return[t("p",{staticClass:"mb-0 pointer",on:{click:function(t){return a.checkIP(s.item.ip)}}},[a._v(a._s(s.item.ip))])]}},{key:"cell(pdt)",fn:function(a){return[t("div",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:a.item.pdt},expression:"{date: data.item.pdt}"}]})]}},{key:"cell(bdetail)",fn:function(s){return[t("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip",value:s.item.bdetail,expression:"data.item.bdetail"}],staticClass:"text-success",attrs:{href:"javascript:void(0)"}},[a._v("Detail")])]}},{key:"cell(action)",fn:function(s){return[t("b-form-checkbox",{attrs:{value:s.item},model:{value:a.selectedSoda,callback:function(t){a.selectedSoda=t},expression:"selectedSoda"}})]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])])])])]),a._v(" "),t("b-modal",{ref:"ipdetail",attrs:{size:"sm","header-bg-variant":"success","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title text-uppercase text-white"},[a._v("Ip Detail")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("ipdetail")}}},[a._v("×")])]),a._v(" "),t("b-table-simple",{attrs:{hover:"",small:"","caption-top":"",responsive:""}},[t("b-thead",{attrs:{"head-variant":"dark"}},[t("b-tr",[t("b-th",[a._v("Key")]),a._v(" "),t("b-th",[a._v("Value")])],1)],1),a._v(" "),t("b-tbody",[t("b-tr",[t("b-td",[t("b",[a._v("IP:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.query))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("City:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.city))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Country:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.country))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Mobile:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.mobile))])],1)],1)],1)],2)],1)}),[],!1,null,null,null);t.a=b.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(23),c=s(34),r=s.n(c),l=s(22);s(41);function d(a){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function v(){v=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function m(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function u(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=m;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=u(a[i],a,n);if("throw"!==r.type){var l=r.arg,v=l.value;return v&&"object"==d(v)&&e.call(v,"__await")?t.resolve(v.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(v).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=u(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=u(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(d(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(m(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function m(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}function u(a){return function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){m(n,e,i,o,c,"next",a)}function c(a){m(n,e,i,o,c,"throw",a)}o(void 0)}))}}var p={components:{PageHeader:i.a,DatePicker:n.a,downloadexcel:o.a,Multiselect:r.a},mounted:function(){},data:function(){return{fromto:[],profitLoss:[],type:"login",pty:{utype:"all"},usertype:[{value:"all",text:"All"},{value:"user",text:"User"}],items:[{text:"Home",to:{name:"home"}},{text:"Profit Loss",active:!0}],partyWinLossFields:[{key:"index",label:"No"},{key:"uname",label:"User Name"},{key:"lvl",label:"Level"},{key:"cbal",label:"Casino Pts",thClass:"text-right",tdClass:"text-right"},{key:"sbal",label:"Sport Pts",thClass:"text-right",tdClass:"text-right"},{key:"tpbal",label:"Third Party Pts",thClass:"text-right",tdClass:"text-right"},{key:"pl",label:"Profit/Loss",thClass:"text-right",tdClass:"text-right"}],listColumns:{No:"index","User Name":"uname",Level:"lvl","Casino Pts":"cbal","Sport Pts":"sbal","Third Party Pts":"tpbal","Profit/Loss":"pl"},pdfColumn:[{title:"No",dataKey:"index"},{title:"User Name",dataKey:"uname"},{title:"Level",dataKey:"lvl"},{title:"Casino Pts",dataKey:"cbal"},{title:"Sport Pts",dataKey:"sbal"},{title:"Third Party Pts",dataKey:"tpbal"},{title:"Profit/Loss",dataKey:"pl"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150],totalBal:{pl:0,cbal:0,sbal:0,tpbal:0}}},watch:{},methods:{exportPdf:function(){var a=this;return u(v().mark((function t(){var s,e,i;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=a,t.next=3,a.preparedata();case 3:0!==(e=t.sent).length&&((i=new l.default("p","pt")).text("Party Profit Loss",220,25),i.autoTable(s.pdfColumn,e),i.save("Party Profit Loss.pdf"));case 5:case"end":return t.stop()}}),t)})))()},fetchData:function(){var a=this;return u(v().mark((function t(){var s;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=a.preparedata(),t.abrupt("return",s);case 2:case"end":return t.stop()}}),t)})))()},resetReportForm:function(){this.pty.utype="all",this.profitLoss=[],this.currentPage=1,this.totalRows=0},onFiltered:function(a){this.totalRows=a.length;var t=this;this.totalBal={pl:0,cbal:0,sbal:0,tpbal:0},_.forEach(a,(function(a){t.totalBal.pl+=a.cbal+a.sbal+a.tpbal,t.totalBal.cbal+=a.cbal,t.totalBal.sbal+=a.sbal,t.totalBal.tpbal+=a.tpbal})),this.filtersprofitLoss=a,this.currentPage=1},preparedata:function(){var a=this;return u(v().mark((function t(){var s,e;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(s=[],e=0;e<a.filtersprofitLoss.length;e++)s.push({index:e+1,uname:a.filtersprofitLoss[e].uname,lvl:a.filtersprofitLoss[e].lvl,cbal:a.$helpers.toCurrency(a.filtersprofitLoss[e].cbal),sbal:a.$helpers.toCurrency(a.filtersprofitLoss[e].sbal),tpbal:a.$helpers.toCurrency(a.filtersprofitLoss[e].tpbal),pl:a.$helpers.toCurrency(a.filtersprofitLoss[e].cbal+a.filtersprofitLoss[e].sbal+a.filtersprofitLoss[e].tpbal)});return s.push({index:"",uname:"",lvl:"",pl:a.$helpers.toCurrency(a.totalBal.pl),cbal:a.$helpers.toCurrency(a.totalBal.cbal),sbal:a.$helpers.toCurrency(a.totalBal.sbal),tpbal:a.$helpers.toCurrency(a.totalBal.tpbal)}),t.abrupt("return",s);case 4:case"end":return t.stop()}}),t)})))()},getHistory:function(){var a=this,t=this;null!==this.fromto&&(this.totalBal={pl:0,cbal:0,sbal:0,tpbal:0},this.$store.state.isLoading=!0,e.a.callApi("report/profitloss",this.pty).then((function(s){a.$store.state.isLoading=!1,s.success?(a.profitLoss=s.data.t1,_.forEach(a.profitLoss,(function(a){t.totalBal.pl+=a.cbal+a.sbal+a.tpbal,t.totalBal.cbal+=a.cbal,t.totalBal.sbal+=a.sbal,t.totalBal.tpbal+=a.tpbal})),a.filtersprofitLoss=a.profitLoss,a.totalRows=a.profitLoss.length):(a.profitLoss=[],a.totalRows=0)})).catch((function(t){a.$store.state.isLoading=!1,a.profitLoss=[],a.totalRows=0})))}}},b=s(1),g=Object(b.a)(p,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Profit Loss",items:a.items}}),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("form",{attrs:{"data-vv-scope":"InserUserAccount",method:"post"},on:{submit:function(a){return a.preventDefault(),(!1).apply(null,arguments)}}},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"form-group col-md-3"},[t("b-form-select",{attrs:{options:a.usertype},model:{value:a.pty.utype,callback:function(t){a.$set(a.pty,"utype",t)},expression:"pty.utype"}})],1),a._v(" "),t("div",{staticClass:"form-group col-md-9"},[t("b-button",{attrs:{variant:"primary",type:"button"},on:{click:a.getHistory}},[a._v("Load")])],1)])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-sm-12 col-md-12"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\r\n                    Search:\r\n                    "),t("b-form-input",{staticClass:"form-control ml-2",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",bordered:"",striped:"","foot-clone":"",id:"plTbl",fields:a.partyWinLossFields,items:a.profitLoss,filter:a.filter},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}},{key:"cell(index)",fn:function(t){return[a._v(a._s((a.currentPage-1)*a.perPage+(t.index+1)))]}},{key:"cell(cbal)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.cbal,expression:"data.item.cbal"}],staticClass:"mb-0"})]}},{key:"cell(sbal)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.sbal,expression:"data.item.sbal"}],staticClass:"mb-0"})]}},{key:"cell(bal)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.bal,expression:"data.item.bal"}],staticClass:"mb-0"})]}},{key:"cell(tpbal)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.tpbal,expression:"data.item.tpbal"}],staticClass:"mb-0"})]}},{key:"cell(pl)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.cbal+a.item.sbal+a.item.tpbal,expression:"data.item.cbal + data.item.sbal + data.item.tpbal"}],staticClass:"mb-0"})]}},{key:"cell(total)",fn:function(a){return[t("p",{directives:[{name:"currency",rawName:"v-currency",value:a.item.cbal+a.item.sbal+a.item.bal+a.item.tpbal,expression:"\r\n                      data.item.cbal + data.item.sbal + data.item.bal + data.item.tpbal\r\n                    "}],staticClass:"mb-0",class:[{"text-success":a.item.cbal+a.item.sbal+a.item.bal+a.item.tpbal>0},{"text-danger":a.item.cbal+a.item.sbal+a.item.bal+a.item.tpbal<0}]})]}},{key:"foot()",fn:function(s){return["index"==s.column||"uname"==s.column||"lvl"==s.column||"cbal"==s.column||"sbal"==s.column||"tpbal"==s.column||"pl"==s.column?t("span"):a._e()]}}])})],1)])])])])],1)}),[],!1,null,null,null);t.a=g.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(34),c=s.n(o),r=s(9),l=s.n(r),d=s(23),v=s(22);s(41);function m(a){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function u(){u=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function d(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function v(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=d;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=v(a[i],a,n);if("throw"!==r.type){var l=r.arg,d=l.value;return d&&"object"==m(d)&&e.call(d,"__await")?t.resolve(d.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(d).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=v(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=v(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(m(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(d(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function p(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}var b={components:{PageHeader:i.a,Multiselect:c.a,DatePicker:n.a,downloadexcel:d.a},mounted:function(){new Date;this.fromto=[l()().tz(DEFAULT_TIMEZONE).subtract(1,"week").format("MM/DD/YYYY"),l()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY")]},data:function(){return{username:null,fromto:[],searchedUsers:[],history:[],type:"login",items:[{text:"Home",to:{name:"home"}},{text:"User History",active:!0}],reportFields:[{key:"uname",label:"Username",sortable:!0},{key:"edt",label:"Date"},{key:"ip",label:"IP"},{key:"action",label:"Detail"}],listColumns:{"User Name":"uname",Date:"edt",IP:"ip"},pdfColumn:[{title:"User Name",dataKey:"uname"},{title:"Date",dataKey:"edt"},{title:"IP",dataKey:"ip"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,ipdetail:{},pageOptions:[25,50,75,100,125,150]}},watch:{},methods:{resetReportForm:function(){new Date;this.fromto=[l()().tz(DEFAULT_TIMEZONE).subtract(1,"week").format("MM/DD/YYYY"),l()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY")],this.username=null,this.searchedUsers=[],this.history=[],this.currentPage=1,this.totalRows=0},disabledDates:function(a){return a>new Date(l()().tz(DEFAULT_TIMEZONE).format("YYYY/MM/DD"))},hideModal:function(a){this.$refs[a].hide()},checkIP:function(a){var t=this;this.$store.state.isLoading=!0,e.a.callApi("report/checkip",{ip:a}).then((function(a){t.$store.state.isLoading=!1,a.success?(t.ipdetail=a.data,t.$refs.ipdetail.show()):t.ipdetail=[]})).catch((function(a){t.$store.state.isLoading=!1,t.ipdetail=[]}))},onFiltered:function(a){this.totalRows=a.length,this.currentPage=1},setHistoryType:function(a){this.username=null;new Date;this.fromto=[l()().tz(DEFAULT_TIMEZONE).subtract(1,"week").format("MM/DD/YYYY"),l()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY")],this.searchedUsers=[],this.type=a,this.history=[]},getHistory:function(){var a=this;if(null!==this.fromto){this.$store.state.isLoading=!0;var t="login"==this.type?"login-history":"pass-history";e.a.callApi("report/"+t,{guid:null!=this.username?this.username.uguid:"",fdt:this.fromto[0],tdt:this.fromto[1]}).then((function(t){a.$store.state.isLoading=!1,t.success?(a.history=t.data.t1,a.totalRows=a.history.length):(a.history=[],a.totalRows=0)})).catch((function(t){a.$store.state.isLoading=!1,a.history=[],a.totalRows=0}))}},fetchExcelData:function(){var a,t=this;return(a=u().mark((function a(){var s;return u().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=t.history,a.abrupt("return",s);case 2:case"end":return a.stop()}}),a)})),function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){p(n,e,i,o,c,"next",a)}function c(a){p(n,e,i,o,c,"throw",a)}o(void 0)}))})()},exportPdf:function(){if(0!==this.history.length){var a=new v.default("p","pt");a.text("User History Data",220,25),a.autoTable(this.pdfColumn,this.history),a.save("userHistory.pdf")}},searchUser:function(a){var t=this;a.length>2&&0==this.searchedUsers.length&&e.a.callApi("searchalluser",{uname:a}).then((function(a){a.success?t.searchedUsers=a.data.t1:t.searchedUsers=[]})).catch((function(a){t.searchedUsers=[]})),a.length<3&&(this.searchedUsers=[])}}},_=s(1),g=Object(_.a)(b,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"User History",items:a.items}}),a._v(" "),t("div",{staticClass:"mt-3"},[t("b-tabs",{attrs:{"active-nav-item-class":"tab-bg-primary ","content-class":"p-2 text-muted "}},[t("b-tab",{attrs:{active:""},on:{click:function(t){return a.setHistoryType("login")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",[a._v("Login History")])]},proxy:!0}])},[a._v(" "),t("form",{attrs:{"data-vv-scope":"InserUserAccount",method:"post"},on:{submit:function(a){return a.preventDefault(),(!1).apply(null,arguments)}}},[t("div",{staticClass:"row row5 mt-3"},[t("div",{staticClass:"form-group col-xl-3"},[t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"clear-on-select":!1,"close-on-select":!0,"select-label":"","deselect-label":"",label:"uname","track-by":"uguid",options:a.searchedUsers},on:{"search-change":a.searchUser},model:{value:a.username,callback:function(t){a.username=t},expression:"username"}})],1),a._v(" "),t("div",{staticClass:"form-group col-xl-3"},[t("date-picker",{attrs:{format:"DD/MM/YYYY",type:"date",range:"","disabled-date":a.disabledDates,"value-type":"MM/DD/YYYY","append-to-body":"",lang:"en"},model:{value:a.fromto,callback:function(t){a.fromto=t},expression:"fromto"}})],1),a._v(" "),t("div",{staticClass:"form-group col-xl-6"},[t("b-button",{attrs:{variant:"primary",type:"button"},on:{click:a.getHistory}},[a._v("Load")])],1)])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                Show \n                "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n              ")],1)])]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("Search:\n                "),t("b-form-input",{staticClass:"form-control ml-2",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{striped:"",bordered:"","show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.history,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"cell(edt)",fn:function(a){return[t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.item.edt},expression:"{ date: data.item.edt }"}]})]}},{key:"cell(action)",fn:function(s){return[t("p",{staticClass:"text-center pointer mb-0",on:{click:function(t){return a.checkIP(s.item.ip)}}},[t("i",{staticClass:"fas fa-eye"})])]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])]),a._v(" "),t("b-tab",{on:{click:function(t){return a.setHistoryType("cp")}},scopedSlots:a._u([{key:"title",fn:function(){return[t("span",[a._v("Change Password History")])]},proxy:!0}])},[a._v(" "),t("form",{attrs:{"data-vv-scope":"cpAccount",method:"post"},on:{submit:function(a){return a.preventDefault(),(!1).apply(null,arguments)}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"form-group col-xl-3"},[t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"close-on-select":!0,"clear-on-select":!1,"select-label":"","deselect-label":"",label:"uname","track-by":"uguid",options:a.searchedUsers},on:{"search-change":a.searchUser},model:{value:a.username,callback:function(t){a.username=t},expression:"username"}})],1),a._v(" "),t("div",{staticClass:"form-group col-xl-3"},[t("date-picker",{attrs:{format:"DD/MM/YYYY",type:"date",range:"","value-type":"MM/DD/YYYY","append-to-body":"",lang:"en","disabled-date":a.disabledDates},model:{value:a.fromto,callback:function(t){a.fromto=t},expression:"fromto"}})],1),a._v(" "),t("div",{staticClass:"form-group col-xl-4"},[t("b-button",{attrs:{variant:"primary",type:"button"},on:{click:a.getHistory}},[a._v("Load")])],1)])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                Show \n                "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n              ")],1)])]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[t("b-form-input",{staticClass:"form-control form-control-sm ml-2",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.history,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage,striped:"",bordered:""},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}},{key:"cell(uname)",fn:function(s){return[t("p",{staticClass:"mb-0"},[a._v("\n                "+a._s(s.item.cuname+" ("+s.item.luname+"/"+s.item.luname+")")+"\n              ")])]}},{key:"cell(edt)",fn:function(a){return[t("div",{directives:[{name:"format-datetime",rawName:"v-format-datetime",value:{date:a.item.edt},expression:"{ date: data.item.edt }"}]})]}},{key:"cell(action)",fn:function(s){return[t("p",{staticClass:"text-center pointer mb-0",on:{click:function(t){return a.checkIP(s.item.ip)}}},[t("i",{staticClass:"fas fa-eye"})])]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])])],1)],1),a._v(" "),t("b-modal",{ref:"ipdetail",attrs:{size:"sm","header-bg-variant":"","hide-footer":""}},[t("template",{slot:"modal-header"},[t("h5",{staticClass:"modal-title"},[a._v("Ip Detail")]),a._v(" "),t("button",{staticClass:"close text-white",attrs:{type:"button","data-dismiss":"modal"},on:{click:function(t){return a.hideModal("ipdetail")}}},[a._v("\n        ×\n      ")])]),a._v(" "),t("b-table-simple",{attrs:{bordered:"",striped:"",hover:"",small:"","caption-top":"",responsive:""}},[t("b-thead",{attrs:{"head-variant":"dark"}},[t("b-tr",[t("b-th",[a._v("Key")]),a._v(" "),t("b-th",[a._v("Value")])],1)],1),a._v(" "),a.ipdetail?t("b-tbody",[t("b-tr",[t("b-td",[t("b",[a._v("IP:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.query))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("City:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.city))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Country:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.country))])],1),a._v(" "),t("b-tr",[t("b-td",[t("b",[a._v("Mobile:")])]),a._v(" "),t("b-td",[a._v(a._s(a.ipdetail.mobile))])],1)],1):a._e()],1)],2)],1)}),[],!1,null,null,null);t.a=g.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(23),c=s(9),r=s.n(c),l=s(22),d=(s(41),s(49)),v=s(50);function m(a){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function u(){u=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function d(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function v(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=d;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=v(a[i],a,n);if("throw"!==r.type){var l=r.arg,d=l.value;return d&&"object"==m(d)&&e.call(d,"__await")?t.resolve(d.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(d).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=v(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=v(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(m(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(d(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function p(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}var b={components:{PageHeader:i.a,downloadexcel:o.a,DatePicker:n.a,CasinoResult:d.a,AccountStatementSoda:v.a},mounted:function(){this.params.gtype=this.$route.params.gtype?this.$route.params.gtype:"",this.getCasinoList(),""!=this.params.gtype&&this.loadReport()},data:function(){return{reportData:[],items:[{text:"Home",to:{name:"home"}},{text:"Our Casino Result",active:!0}],params:{dt:r()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY"),gtype:""},reportFields:[{key:"mid",label:"Market Id",sortable:!0},{key:"winnat",label:"Winner",sortable:!0}],listColumns:{"Market Id":"mid",Winner:"winnat"},pdfColumn:[{title:"Market Id",dataKey:"mid"},{title:"Winner",dataKey:"winnat"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150],casinoList:[],gameDetail:[],gameSoda:[],detailTitle:""}},watch:{},computed:{},methods:{fetchExcelData:function(){var a,t=this;return(a=u().mark((function a(){var s;return u().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=_.cloneDeep(t.reportData),a.abrupt("return",s);case 2:case"end":return a.stop()}}),a)})),function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){p(n,e,i,o,c,"next",a)}function c(a){p(n,e,i,o,c,"throw",a)}o(void 0)}))})()},exportPdf:function(){if(0!==this.reportData.length){var a=new l.default("l","pt");a.text("Casino Result Report",380,25),a.autoTable(this.pdfColumn,this.reportData),a.save("casinoresults.pdf")}},resetReportForm:function(){this.params={dt:r()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY"),gtype:""},this.reportData=[],this.currentPage=1,this.totalRows=0},disabledDt:function(a){var t=new Date(r()().tz(DEFAULT_TIMEZONE).format("YYYY/MM/DD"));return t.setHours(0,0,0,0),a>t},getCasinoList:function(){var a=this;e.a.callApi("report/casino",{}).then((function(t){200==t.status?a.casinoList=t.data:a.casinoList=[]})).catch((function(t){a.casinoList=[]}))},loadReport:function(){var a=this;this.$validator.validateAll("casinoResult").then((function(t){t&&(a.$store.state.isLoading=!0,e.a.callApi("report/casinoresult",a.params).then((function(t){a.$store.state.isLoading=!1,200==t.status?(a.reportData=t.data,a.totalRows=a.reportData.length):(a.reportData=[],a.totalRows=0)})).catch((function(t){a.$store.state.isLoading=!1,a.reportData=[],a.totalRows=0})))}))},hideModal:function(a){this.$refs[a].hide()},onFiltered:function(a){this.totalRows=a.length,this.currentPage=1},showResult:function(a){var t=this;"roulette"!=this.params.gtype&&"roulette1"!=this.params.gtype&&"roulette2"!=this.params.gtype&&"roulette3"!=this.params.gtype&&(this.$store.state.isLoading=!0,e.a.callApi("accstatepopup",{gmid:0,mid:a,gtype:this.params.gtype,dtype:"cs"}).then((function(a){200==a.status?(t.gameDetail=_.get(a.data,"t1")?_.get(a.data,"t1"):{},Vue.set(t.gameDetail,"gType",t.params.gtype.toLowerCase()),Vue.set(t.gameDetail,"dType","cs"),t.detailTitle=t.gameDetail.ename?t.gameDetail.ename:"",t.gameSoda=_.get(a.data,"t2"),t.$refs["detail-modal"].show()):(t.gameDetail={},t.gameSoda=[]),t.$store.state.isLoading=!1})).catch((function(a){t.gameDetail={},t.gameSoda=[],t.$store.state.isLoading=!1})))}}},g=s(1),h=Object(g.a)(b,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"live-bets-report listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Casino Result Report",items:a.items}}),a._v(" "),t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"casinoResult"},on:{submit:function(t){return t.preventDefault(),a.loadReport()}}},[t("div",{staticClass:"row row5 mb-3"},[t("div",{staticClass:"co-2 mb-2"},[t("DatePicker",{attrs:{"disabled-date":a.disabledDt,lang:"en","value-type":"MM/DD/YYYY",format:"DD/MM/YYYY"},model:{value:a.params.dt,callback:function(t){a.$set(a.params,"dt",t)},expression:"params.dt"}})],1),a._v(" "),t("div",{staticClass:"col-2 mb-2"},[t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model",value:a.params.gtype,expression:"params.gtype"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("casinoResult.gtype")},attrs:{name:"gtype"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.params,"gtype",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:""}},[a._v("Select Casino")]),a._v(" "),a._l(a.casinoList,(function(s,e){return t("option",{domProps:{value:s.gtype.toLowerCase()}},[a._v("\n            "+a._s(s.cname)+"\n          ")])}))],2)]),a._v(" "),a._m(0)])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n          Show \n          "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n        ")],1)])]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("Search:\n          "),t("b-form-input",{staticClass:"form-control ml-1",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table casino-result-table"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",bordered:"",fixed:"",striped:"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.reportData,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}},{key:"cell(mid)",fn:function(s){return[t("a",{staticClass:"link-default",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.showResult(s.item.mid)}}},[a._v(a._s(s.item.mid))])]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])]),a._v(" "),t("b-modal",{ref:"detail-modal",attrs:{"hide-footer":"",size:"xl",title:a.detailTitle+" Result"}},[t("CasinoResult",{attrs:{resultData:a.gameDetail}}),a._v(" "),t("AccountStatementSoda",{attrs:{gameSoda:a.gameSoda,isDtypeSS:"cricketv"==a.gameDetail.gType||"cricketv2"==a.gameDetail.gType||"cricketv3"==a.gameDetail.gType,desc:a.gameDetail.rdesc}})],1)],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"col-6 mb-2"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("\n          Submit\n        ")]),this._v(" "),a("div",{staticClass:"d-inline-block ml-3"})])}],!1,null,null,null);t.a=h.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(23),o=s(22);s(41);function c(a){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function r(){r=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",l=n.asyncIterator||"@@asyncIterator",d=n.toStringTag||"@@toStringTag";function v(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{v({},"")}catch(a){v=function(a,t,s){return a[t]=s}}function m(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function u(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=m;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};v(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){v(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,r){var l=u(a[i],a,n);if("throw"!==l.type){var d=l.arg,v=d.value;return v&&"object"==c(v)&&e.call(v,"__await")?t.resolve(v.__await).then((function(a){s("next",a,o,r)}),(function(a){s("throw",a,o,r)})):t.resolve(v).then((function(a){d.value=a,o(d)}),(function(a){return s("throw",a,o,r)}))}r(l.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=u(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=u(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(c(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=v(C,d,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,v(a,d,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),v(N.prototype,l,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(m(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),v(w,d,"Generator"),v(w,o,(function(){return this})),v(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function l(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}function d(a){return function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){l(n,e,i,o,c,"next",a)}function c(a){l(n,e,i,o,c,"throw",a)}o(void 0)}))}}var v={components:{PageHeader:i.a,downloadexcel:n.a},mounted:function(){this.getBankUserList()},data:function(){return{mpass:"",items:[{text:"Home",to:{name:"home"}},{text:"Bank",active:!0}],userList:[],recordmsg:"",accountType:"",tranStatus:{},transfer:0,transferList:[],bankColumns:{UserName:"uname","Credit Reference":"cref",Pts:"gen","Client (P/L)":"client",Exposure:"exp","Available Pts":"wgen"},userstblfields:[{key:"uname",label:"User Name",sortable:!1},{key:"crebal",label:"CR",sortable:!1,thClass:"text-right"},{key:"subgen",label:"Pts",sortable:!1,thClass:"text-right"},{key:"pl",label:"Client(P/L)",sortable:!1,thClass:"text-right"},{key:"expolim",label:"Exposure Limit",thClass:"text-right"},{key:"expo",label:"Exposure",thClass:"text-right"},{key:"bal",label:"Available Pts",thClass:"text-right"},{key:"utype",label:"Account Type",sortable:!1},{key:"action",label:"Action"},{key:"status",label:"Status"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,100,250,500,750,1e3],excelColumns:{"User Name":"uname",CR:"crebal",Pts:"subgen","Client(P/L)":"pl",Exposure:"expo","Exposure Limit":"expolim","Available Pts":"bal","Account type":"utype"},pdfColumn:[{title:"User Name",dataKey:"uname"},{title:"CR",dataKey:"crebal"},{title:"Pts",dataKey:"subgen"},{title:"Client(P/L)",dataKey:"pl"},{title:"Exposure",dataKey:"expo"},{title:"Exposure Limit",dataKey:"expolim"},{title:"Available Pts",dataKey:"bal"},{title:"Account type",dataKey:"utype"}],transerAllFlag:!1,uname:"",isPdf:!1}},watch:{currentPage:function(a,t){this.getBankUserList(a),this.$emit("input",a)},perPage:function(a,t){this.$emit("input",a),this.getBankUserList()}},computed:{},methods:{onFiltered:function(a){this.totalRows=a.length,this.currentPage=1},getExportData:function(){var a=this;return d(r().mark((function t(){var s;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.isPdf=!0,s=[],t.next=4,e.a.callApi("bankuserlist",{pno:1,row:1,uname:"",ispdf:a.isPdf}).then((function(t){a.$store.state.isLoading=!1,t.success?s=t.data:(a.$store.state.isLoading=!1,a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,type:"error",text:t.msg}))})).catch((function(a){console.log(a)}));case 4:return _.forEach(s,(function(a,t){s[t].uname=s[t].uname+" ("+s[t].fname+")"})),t.abrupt("return",s);case 6:case"end":return t.stop()}}),t)})))()},fetchExcelData:function(){var a;return this.$store.state.isLoading=!0,0!==(a=this.getExportData()).length&&a},exportPdf:function(){var a=this;return d(r().mark((function t(){var s,e,i;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=a,t.next=3,s.getExportData();case 3:0!==(e=t.sent).length&&((i=new o.default("l","pt")).text("Bank User List",400,25),i.autoTable(s.pdfColumn,e),i.save("bankuserlist.pdf"));case 5:case"end":return t.stop()}}),t)})))()},getColWidth:function(a){return"action"==a?"250px":"uname"==a||"status"==a?"200px":"auto"},getBankUserList:function(){var a=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.$store.state.isLoading=!0,this.currentPage=t,e.a.callApi("bankuserlist",{pno:t,row:this.perPage,uname:this.uname,ispdf:this.isPdf}).then((function(t){a.$store.state.isLoading=!1,200==t.status?(a.userList=null==t.data.t1?[]:t.data.t1,a.totalRows=t.data.t2.trow,a.tranStatus={}):(a.userList=null,a.totalRows=0,a.tranStatus={})})).catch((function(t){a.$store.state.isLoading=!1,a.userList=null,a.totalRows=0,a.tranStatus={}}))},validateAmount:function(a,t){return!0},transferBalanceSingle:function(a,t){var s=this;if(Vue.set(this.tranStatus,a,{type:"",msg:""}),Vue.set(this.tranStatus,a,{type:"",msg:""}),this.validateAmount(a,t)){if(""==this.mpass)return void Vue.set(this.tranStatus,a,{type:"error",msg:"Please enter master password"});if(null==t||""==t)return void Vue.set(this.tranStatus,a,{type:"error",msg:"Please enter amount"});if(1==this.$store.state.isLoading)return!1;this.$store.state.isLoading=!0;var i=null;t>0?i={amt:parseFloat(t),guid:a,state:"deposite",mpass:this.mpass}:(t*=-1,i={amt:parseFloat(t),guid:a,state:"withdraw",mpass:this.mpass}),e.a.callApi("bankdepowithdraw",i).then((function(t){setTimeout((function(e){s.$store.state.isLoading=!1,s.istransfer=!0,200==t.status?(Vue.set(s.tranStatus,a,{type:"success",msg:t.msg}),s.getBankUserList(s.currentPage)):(Vue.set(s.tranStatus,a,{type:"error",msg:t.msg}),s.$store.state.isLoading=!1)}),2500)})).catch((function(t){s.$store.state.isLoading=!1,s.istransfer=!0,422==t.response.status?Vue.set(s.tranStatus,a,{type:"error",msg:response.msg}):s.form_errors=[],s.$store.state.isLoading=!1})).then((function(a){s.istransfer=!0}))}else Vue.set(this.tranStatus,a,{type:"error",msg:"Amount not valid"})},transferBalanceSingle1:function(a,t,s,i){var n=this;return d(r().mark((function o(){var c;return r().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(Vue.set(n.tranStatus,a,{type:"",msg:"",status:300}),!n.validateAmount(a,t)){o.next=14;break}if(""!=n.mpass){o.next=5;break}return Vue.set(n.tranStatus,a,{type:"error",msg:"Please enter master password",status:300}),o.abrupt("return");case 5:if(null!=t&&""!=t){o.next=8;break}return Vue.set(n.tranStatus,a,{type:"error",msg:"Please enter amount",status:300}),o.abrupt("return");case 8:return c=null,t>0?c={amt:parseFloat(t),guid:a,state:"deposite",mpass:n.mpass}:(t*=-1,c={amt:parseFloat(t),guid:a,state:"withdraw",mpass:n.mpass}),o.next=12,e.a.callApi("bankdepowithdraw",c).then((function(t){200==t.status?Vue.set(n.tranStatus,a,{type:"success",msg:t.msg,status:t.status}):(t.status,Vue.set(n.tranStatus,a,{type:"error",msg:t.msg,status:t.status})),s==i-1&&(n.mpass="",n.getBankUserList(n.currentPage))})).catch((function(t){422==t.response.status?Vue.set(n.tranStatus,a,{type:"error",msg:response.msg,status:422}):n.form_errors=[]})).then((function(a){}));case 12:o.next=15;break;case 14:Vue.set(n.tranStatus,a,{type:"error",msg:"Amount not valid",status:300});case 15:return o.next=17,new Promise((function(a){return setTimeout(a,2500)}));case 17:return o.abrupt("return",n.tranStatus[a]);case 18:case"end":return o.stop()}}),o)})))()},transferBalanceAll:function(a){var t=this;if(1==this.transerAllFlag)return!1;this.transerAllFlag=!0,this.$validator.validateAll(a).then((function(a){if(a){var s=[];t.userList.forEach((function(a,t){""!=a.amount&&0!=a.amount&&a.amount&&s.push({guid:a.guid,amount:a.amount})})),t.transferList=s,t.transfer=0;s.length;if(0==s.length)return void t.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,type:"error",text:"Please enter amount"});t.transferallaccount()}}))},transferallaccount:function(){var a=this;return d(r().mark((function t(){var s;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("",!(a.transfer<a.transferList.length)){t.next=10;break}return a.$store.state.isLoading=!0,s=a,t.next=6,s.transferBalanceSingle1(s.transferList[s.transfer].guid,s.transferList[s.transfer].amount,a.transfer,a.transferList.length);case 6:402==t.sent.status?(a.$store.state.isLoading=!1,a.transerAllFlag=!1):(s.transfer=s.transfer+1,s.transferallaccount()),t.next=12;break;case 10:a.$store.state.isLoading=!1,a.transerAllFlag=!1;case 12:case"end":return t.stop()}}),t)})))()},setTransferAmount:function(a,t){var s=this;t.amount=parseFloat(-1*t.pl).toFixed(2),_.forEach(this.userList,(function(a,e){a.guid==t.guid&&(a.amount=parseFloat(-1*t.pl).toFixed(2),Vue.set(s.userList,e,a))}))},resetBankList:function(){this.uname="",this.currentPage=1,this.getBankUserList(1)},searchBankUsers:function(){this.load=0,this.currentPage=1,this.getBankUserList(1)}}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",[t("PageHeader",{attrs:{title:"Bank",items:a.items}}),a._v(" "),t("div",{staticClass:"row bank-panel"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"report-form mb-1"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-6 mb-2 search-form"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post"},on:{submit:function(t){return t.preventDefault(),a.searchBankUsers()}}},[t("div",{staticClass:"d-inline-block form-group form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.uname,expression:"uname"}],staticClass:"form-control",attrs:{type:"text",name:"searchKey",placeholder:"Search User"},domProps:{value:a.uname},on:{input:function(t){t.target.composing||(a.uname=t.target.value)}}})]),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"submit"}},[a._v("Load")]),a._v(" "),t("button",{staticClass:"btn btn-light",attrs:{type:"button",id:"reset"},on:{click:function(t){return a.resetBankList()}}},[a._v("Reset")])])])]),a._v(" "),t("div",{staticClass:"col-md-6 text-right"},[t("div",{staticClass:"d-inline-block"},[t("downloadexcel",{staticClass:"d-inline-block",attrs:{fields:a.excelColumns,fetch:a.fetchExcelData,type:"csv",name:"bankuserlist.xls"}},[t("b-button",{staticClass:"mr-1",attrs:{variant:"success",type:"button",disabled:0==a.userList.length}},[t("i",{staticClass:"fas fa-file-excel"})])],1),a._v(" "),t("b-button",{attrs:{variant:"danger",type:"button",disabled:0==a.userList.length},on:{click:a.exportPdf}},[t("i",{staticClass:"fas fa-file-pdf"})])],1),a._v(" "),t("form",{staticClass:"d-inline-block",attrs:{"data-vv-scope":"transferAll",method:"post"},on:{submit:function(t){return t.preventDefault(),a.transferBalanceAll("transferAll")}}},[t("div",{staticClass:"d-inline-block form-group form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.mpass,expression:"mpass"},{name:"validate",rawName:"v-validate",value:"required|max:20",expression:"'required|max:20'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("transferAll.masterPassword")},attrs:{type:"password",name:"masterPassword",placeholder:"Transaction Code","data-vv-as":"Transaction Code"},domProps:{value:a.mpass},on:{input:function(t){t.target.composing||(a.mpass=t.target.value)}}})]),a._v(" "),a._m(0)])])])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                  Show \n                  "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n                ")],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",responsive:"sm",id:"eventsListTbl",fields:a.userstblfields,items:a.userList,filter:a.filter},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"table-colgroup",fn:function(s){return a._l(s.fields,(function(s){return t("col",{key:s.key,style:{width:a.getColWidth(s.key)}})}))}},{key:"cell(uname)",fn:function(s){return[t("span",{staticClass:"text-ellipsis",attrs:{title:s.item.uname+" ("+s.item.fname+")"}},[a._v(a._s(s.item.uname))])]}},{key:"cell(crebal)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.crebal,expression:"data.item.crebal"}],staticClass:"text-right mb-0"})]}},{key:"cell(subgen)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.subgen,expression:"data.item.subgen"}],staticClass:"text-right mb-0"})]}},{key:"cell(pl)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.pl,expression:"data.item.pl"}],staticClass:"text-right mb-0"})]}},{key:"cell(expo)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.expo,expression:"data.item.expo"}],staticClass:"text-right mb-0"})]}},{key:"cell(expolim)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.expolim,expression:"data.item.expolim"}],staticClass:"text-right mb-0"})]}},{key:"cell(bal)",fn:function(a){return[t("p",{directives:[{name:"currencyint",rawName:"v-currencyint",value:a.item.bal,expression:"data.item.bal"}],staticClass:"text-right mb-0"})]}},{key:"cell(action)",fn:function(s){return[t("a",{staticClass:"text-success",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.setTransferAmount(s.index,s.item)}}},[a._v("All "),t("i",{staticClass:"fas fa-arrow-right"})]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:s.item.amount,expression:"data.item.amount"}],staticClass:"form-control form-control-sm transfer-amt",attrs:{type:"number",name:"amount",placeholder:"0"},domProps:{value:s.item.amount},on:{input:function(t){t.target.composing||a.$set(s.item,"amount",t.target.value)}}}),a._v(" "),t("button",{staticClass:"btn btn-info btn-sm",on:{click:function(t){return a.transferBalanceSingle(s.item.guid,s.item.amount)}}},[a._v("Submit")])]}},{key:"cell(status)",fn:function(s){return[a.tranStatus[s.item.guid]?t("span",{class:{"text-success":"success"==a.tranStatus[s.item.guid].type,"text-danger":"error"==a.tranStatus[s.item.guid].type}},[a._v(a._s(a.tranStatus[s.item.guid].msg))]):a._e()]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])])])])])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"d-inline-block"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"transferSubmit"}},[this._v("Transfer All")])])}],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(23),c=s(9),r=s.n(c),l=s(22),d=(s(41),s(49)),v=s(50),m=s(34),u=s.n(m);function p(a){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function b(){b=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function d(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function v(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=d;var m="suspendedStart",u="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=v(a[i],a,n);if("throw"!==r.type){var l=r.arg,d=l.value;return d&&"object"==p(d)&&e.call(d,"__await")?t.resolve(d.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(d).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=m;return function(n,o){if(i===u)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===m)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=u;var l=v(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=v(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(p(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(d(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function g(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}var h={components:{PageHeader:i.a,downloadexcel:o.a,DatePicker:n.a,CasinoResult:d.a,AccountStatementSoda:v.a,Multiselect:u.a},mounted:function(){this.params.gtype=this.$route.params.gtype?this.$route.params.gtype:"",this.getGameTypeList(),""!=this.params.gtype&&this.loadReport()},data:function(){return{username:null,searchedUsers:[],reportData:[],items:[{text:"Home",to:{name:"home"}},{text:"Casino Result",active:!0}],reportType:"",params:{dt:r()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY"),gtype:"",uid:""},reportFields:[{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],exportTable:{pdfHeading:[{title:"Casino Type",dataKey:"ctype"},{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Casino Type":"ctype","Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}},currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150],casinoList:[],gameDetail:[],gameSoda:[],unSettleType:"",unsettleData:{}}},watch:{},computed:{},methods:{fetchExcelData:function(){var a,t=this;return(a=b().mark((function a(){var s;return b().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=_.cloneDeep(t.reportData),a.abrupt("return",s);case 2:case"end":return a.stop()}}),a)})),function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){g(n,e,i,o,c,"next",a)}function c(a){g(n,e,i,o,c,"throw",a)}o(void 0)}))})()},exportPdf:function(){if(0!==this.reportData.length){var a=new l.default("l","pt");a.autoTable(this.exportTable.pdfHeading,this.reportData,{margin:{top:50},didDrawPage:function(t){a.setFontSize(16),a.text("Live Casino Results",220,25)}}),a.save("livecasinoresults.pdf")}},resetReportForm:function(){this.params={dt:r()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY"),gtype:"",uid:""},this.reportType="",this.username=null,this.searchedUsers=[],this.reportData=[],this.tunSettleType="",this.unsettleData={}},disabledDt:function(a){var t=new Date(r()().tz(DEFAULT_TIMEZONE).format("YYYY/MM/DD"));return t.setHours(0,0,0,0),a>t},setTableFields:function(){"pop-the-ball"==this.params.gtype?(this.reportFields=[{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"urate",label:"Rate",sortable:!0,thClass:"text-right"},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"winloss",label:"Win/Loss",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Rate",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Win/Loss",dataKey:"winloss"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Rate:"urate",Amount:"amt","Win/Loss":"winloss",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}}):"binary"==this.params.gtype?(this.reportFields=[{key:"mname",label:"Market Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"urate",label:"Payout",sortable:!0,thClass:"text-right"},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"winloss",label:"Win/Loss",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"tslot",label:"Time",sortable:!0},{key:"mval",label:"Market Value",sortable:!0},{key:"edt",label:"Date",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Market Name",dataKey:"mname"},{title:"Type",dataKey:"ttype"},{title:"Payout",dataKey:"urate"},{title:"Amount",dataKey:"amt"},{title:"Win/Loss",dataKey:"winloss"},{title:"Total",dataKey:"total"},{title:"Time",dataKey:"tslot"},{title:"Market Value",dataKey:"mval"},{title:"Date",dataKey:"edt"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Market Name":"mname",Type:"ttype",Payout:"urate",Amount:"amt","Win/Loss":"winloss",Total:"total",Time:"tslot","Market Value":"mval",Date:"edt","Transaction Id":"tid"}}):"ludo"==this.params.gtype||"rummy"==this.params.gtype||"ludo-lands"==this.params.gtype||"snakes-and-ladders"==this.params.gtype?(this.reportFields=[{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}}):"bc"==this.params.gtype||"av"==this.params.gtype||"bcslot"==this.params.gtype||"ds"==this.params.gtype?(this.reportFields=[{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Transaction Id":"tid"}}):(this.reportFields=[{key:"gname",label:"Game Name",sortable:!0},{key:"ttype",label:"Type",sortable:!0},{key:"amt",label:"Amount",sortable:!0,thClass:"text-right"},{key:"total",label:"Total",sortable:!0,thClass:"text-right"},{key:"edt",label:"Date",sortable:!0},{key:"rid",label:"Round Id",sortable:!0},{key:"tid",label:"Transaction Id",sortable:!0}],this.exportTable={pdfHeading:[{title:"Game Name",dataKey:"gname"},{title:"Type",dataKey:"ttype"},{title:"Amount",dataKey:"amt"},{title:"Total",dataKey:"total"},{title:"Date",dataKey:"edt"},{title:"Round Id",dataKey:"rid"},{title:"Transaction Id",dataKey:"tid"}],excelHeading:{"Game Name":"gname",Type:"ttype",Amount:"amt",Total:"total",Date:"edt","Round Id":"rid","Transaction Id":"tid"}})},getGameTypeList:function(){var a=this;e.a.callApi("report/tpgtypelist",{}).then((function(t){200==t.status?a.casinoList=t.data:a.casinoList=[]})).catch((function(t){a.casinoList=[]}))},loadReport:function(){var a=this;this.$validator.validateAll("casinoResult").then((function(t){t&&(a.$store.state.isLoading=!0,a.params.uid=null!=a.username?a.username.guid:"","settled"==a.reportType?a.loadSettledReport():a.loadUnSettledReport())}))},loadSettledReport:function(){var a=this;e.a.callApi("report/tpreportuserwise",this.params).then((function(t){if(a.$store.state.isLoading=!1,200==t.status){var s=a,e=0;a.reportData=[];var i=_.sortBy(t.data,["edt"]);_.forEach(i,(function(a){a.gtype=s.params.gtype,"ezugi"==a.gtype||"evo"==a.gtype||"ss"==a.gtype||"qt"==a.gtype||"vivo"==a.gtype||"ds"==a.gtype||"tembo"==a.gtype||"lottery"==a.gtype||"av"==a.gtype||"bcslot"==a.gtype||"scratch"==a.gtype||"darwin"==a.gtype||"pg"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"cockfight"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()||"cancel bet"==a.ttype.toLowerCase()||"adjust bet"==a.ttype.toLowerCase()||"void bet"==a.ttype.toLowerCase()||"unvoid settle"==a.ttype.toLowerCase()?e+=a.amt:"debit"!=a.ttype.toLowerCase()&&"unsettle bet"!=a.ttype.toLowerCase()&&"unvoid bet"!=a.ttype.toLowerCase()&&"void settle"!=a.ttype.toLowerCase()||(e-=a.amt):"runner"==a.gtype?"buyout"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()||"cancel"==a.ttype.toLowerCase()?e+=a.amt:"buyin"==a.ttype.toLowerCase()&&(e-=a.amt):"pop-the-ball"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.tip*a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"binary"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.winloss:"debit"==a.ttype.toLowerCase()&&(e-=a.winloss):"tgs"==a.gtype||"tgslive"==a.gtype||"slot"==a.gtype||"smart"==a.gtype||"astar"==a.gtype||"bc"==a.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"ludo"!=a.gtype&&"rummy"!=a.gtype&&"ludo-lands"!=a.gtype&&"snakes-and-ladders"!=a.gtype||("credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.winloss:"debit"==a.ttype.toLowerCase()&&(e-=a.winloss)),"pop-the-ball"==s.params.gtype?s.reportData.push({total:parseFloat(e).toFixed(2),amt:a.amt,edt:s.changeDateTimeFormatSettled(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,urate:a.tip,ttype:a.ttype,winloss:parseFloat(a.tip*a.amt).toFixed(2)}):"binary"==s.params.gtype?s.reportData.push({mname:a.mname,ttype:a.ttype,urate:a.rate,amt:a.amt,winloss:"debit"==a.ttype.toLowerCase()?0:a.winloss,total:parseFloat(e).toFixed(2),tslot:a.tslot+" s",mval:a.mval,edt:s.changeDateTimeFormatSettled(a.edt),tid:a.tid}):"ludo"==s.params.gtype||"rummy"==s.params.gtype||"ludo-lands"==s.params.gtype||"snakes-and-ladders"==s.params.gtype?s.reportData.push({total:parseFloat(e).toFixed(2),amt:a.winloss,edt:s.changeDateTimeFormatSettled(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,ctype:a.ctype,ttype:a.ttype}):s.reportData.push({total:parseFloat(e).toFixed(2),amt:a.amt,edt:s.changeDateTimeFormatSettled(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,ctype:a.ctype,ttype:a.ttype})})),a.totalRows=a.reportData.length}else a.reportData=[],a.totalRows=0})).catch((function(t){a.$store.state.isLoading=!1,a.reportData=[],a.totalRows=0}))},loadUnSettledReport:function(){var a=this;e.a.callApi("report/tpcurrentbets",this.params).then((function(t){if(a.$store.state.isLoading=!1,200==t.status){var s=a,e=0;a.reportData=[];var i=_.sortBy(t.data,["edt"]);_.forEach(i,(function(a){"ezugi"==s.params.gtype||"vivo"==s.params.gtype||"evo"==s.params.gtype||"ss"==s.params.gtype||"qt"==s.params.gtype||"tgs"==s.params.gtype||"tgslive"==s.params.gtype||"slot"==s.params.gtype||"binary"==s.params.gtype||"pop-the-ball"==s.params.gtype||"smart"==s.params.gtype||"astar"==s.params.gtype||"bc"==s.params.gtype||"snakes-and-ladders"==s.params.gtype||"tembo"==s.params.gtype||"lottery"==s.params.gtype||"av"==s.params.gtype||"bcslot"==s.params.gtype||"scratch"==s.params.gtype||"darwin"==s.params.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.amt:"debit"==a.ttype.toLowerCase()&&(e-=a.amt):"cockfight"==s.params.gtype?"credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()||"cancel bet"==a.ttype.toLowerCase()||"adjust bet"==a.ttype.toLowerCase()||"void bet"==a.ttype.toLowerCase()||"unvoid settle"==a.ttype.toLowerCase()?e+=a.amt:"debit"!=a.ttype.toLowerCase()&&"unsettle bet"!=a.ttype.toLowerCase()&&"unvoid bet"!=a.ttype.toLowerCase()&&"void settle"!=a.ttype.toLowerCase()||(e-=a.amt):"runner"==s.params.gtype?"buyout"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()||"cancel"==a.ttype.toLowerCase()?e+=a.amt:"buyin"==a.ttype.toLowerCase()&&(e-=a.amt):"ludo"!=s.params.gtype&&"rummy"!=s.params.gtype&&"ludo-lands"!=s.params.gtype||("credit"==a.ttype.toLowerCase()||"rollback"==a.ttype.toLowerCase()?e+=a.wl:"debit"==a.ttype.toLowerCase()&&(e-=a.wl)),"pop-the-ball"==s.params.gtype?s.reportData.push({total:parseFloat(e).toFixed(2),amt:a.amt,edt:s.changeDateTimeFormat(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,urate:a.tip,ttype:a.ttype,winloss:parseFloat(a.tip*a.amt).toFixed(2)}):"binary"==s.params.gtype?s.reportData.push({mname:a.mname,ttype:a.ttype,urate:a.rate,amt:a.amt,winloss:"debit"==a.ttype.toLowerCase()?0:a.winloss,total:parseFloat(e).toFixed(2),tslot:a.tslot+" s",mval:a.mval,edt:s.changeDateTimeFormat(a.edt),tid:a.tid}):"ludo"==s.params.gtype||"rummy"==s.params.gtype||"ludo-lands"==s.params.gtype?s.reportData.push({total:parseFloat(e).toFixed(2),amt:a.wl,edt:s.changeDateTimeFormat(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,ctype:a.ctype,ttype:a.ttype}):s.reportData.push({total:parseFloat(e).toFixed(2),amt:a.amt,edt:s.changeDateTimeFormat(a.edt),gname:a.gname,rid:a.rid,tid:a.tid,ctype:a.ctype,ttype:a.ttype})})),a.totalRows=a.reportData.length}else a.reportData=[],a.totalRows=0})).catch((function(t){a.$store.state.isLoading=!1,a.reportData=[],a.totalRows=0}))},changeDateTimeFormatSettled:function(a){return r()(String(a),"YYYY-MM-DD HH:mm:ss").format("DD/MM/YYYY HH:mm:ss")},changeDateTimeFormat:function(a){return r.a.tz(String(a),"MM/DD/YYYY hh:mm:ss A","Asia/Calcutta").tz(r.a.tz.guess()).format("DD/MM/YYYY HH:mm:ss")},hideModal:function(a){this.$refs[a].hide()},onFiltered:function(a){this.totalRows=a.length,this.currentPage=1},searchUser:function(a){var t=this;a.length>2&&0==this.searchedUsers.length&&e.a.callApi("report/tpusersearch",{uname:a}).then((function(a){a.success?t.searchedUsers=a.data:t.searchedUsers=[]})).catch((function(a){t.searchedUsers=[]})),a.length<3&&(this.searchedUsers=[])}}},f=s(1),C=Object(f.a)(h,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"live-bets-report listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Casino Report",items:a.items}}),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"casinoResult"},on:{submit:function(t){return t.preventDefault(),a.loadReport()}}},[t("div",{staticClass:"row row5 mb-3"},[t("div",{staticClass:"col-xl-2 mb-3"},[t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model",value:a.reportType,expression:"reportType"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("casinoResult.reportType")},attrs:{name:"reportType"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.reportType=t.target.multiple?s:s[0]}}},[t("option",{attrs:{value:""}},[a._v("Select Casino Type")]),a._v(" "),t("option",{attrs:{value:"settled"}},[a._v("Settled Bets")]),a._v(" "),t("option",{attrs:{value:"unsettled"}},[a._v("UnSettled Bets")])])]),a._v(" "),t("div",{staticClass:"form-group col-xl-2"},[t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"clear-on-select":!1,"close-on-select":!0,"select-label":"","deselect-label":"",label:"uname","track-by":"guid",options:a.searchedUsers},on:{"search-change":a.searchUser},model:{value:a.username,callback:function(t){a.username=t},expression:"username"}})],1),a._v(" "),"settled"==a.reportType?t("div",{staticClass:"col-xl-2 mb-3"},[t("DatePicker",{attrs:{"disabled-date":a.disabledDt,lang:"en","value-type":"MM/DD/YYYY",format:"DD/MM/YYYY"},model:{value:a.params.dt,callback:function(t){a.$set(a.params,"dt",t)},expression:"params.dt"}})],1):a._e(),a._v(" "),t("div",{staticClass:"col-xl-2 mb-3"},[t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model",value:a.params.gtype,expression:"params.gtype"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("casinoResult.gtype")},attrs:{name:"gtype"},on:{change:[function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.params,"gtype",t.target.multiple?s:s[0])},function(t){return a.setTableFields()}]}},[t("option",{attrs:{value:""}},[a._v("Select")]),a._v(" "),a._l(a.casinoList,(function(s,e){return t("option",{domProps:{value:s.gtype.toLowerCase()}},[a._v("\n                                        "+a._s(s.cname)+"\n                                    ")])}))],2)]),a._v(" "),a._m(0)])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n                                    Show \n                                    "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n                                ")],1)])]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[t("b-form-input",{staticClass:"form-control form-control-sm ml-2",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 mt-2 report-table"},[t("b-table",{staticClass:"table table-bordered no-footer table-hover",attrs:{"show-empty":"",bordered:"",striped:"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.reportData,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage},on:{filtered:a.onFiltered},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}},{key:"cell(urate)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.urate,expression:"data.item.urate"}],staticClass:"text-right"})]}},{key:"cell(winloss)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.winloss,expression:"data.item.winloss"}],staticClass:"text-right"})]}},{key:"cell(total)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.total,expression:"data.item.total"}],staticClass:"text-right",class:[{"text-success":a.item.total>0},{"text-danger":a.item.total<=0}]})]}},{key:"cell(amt)",fn:function(a){return[t("div",{directives:[{name:"currency",rawName:"v-currency",value:a.item.amt,expression:"data.item.amt"}],staticClass:"text-right"})]}},{key:"cell(edt)",fn:function(s){return[t("div",[a._v(a._s(s.item.edt))])]}}])})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])])])])]),a._v(" "),t("b-modal",{ref:"detail-modal",attrs:{"hide-footer":"",size:"xl",title:"Details"}},[t("CasinoResult",{attrs:{resultData:a.gameDetail}}),a._v(" "),t("AccountStatementSoda",{attrs:{gameSoda:a.gameSoda}})],1)],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"col-xl mb-3"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("\n                                    Submit\n                                ")]),this._v(" "),a("div",{staticClass:"d-inline-block ml-3"})])}],!1,null,null,null);t.a=C.exports},function(a,t,s){"use strict";var e=s(0),i=s(34),n=s.n(i),o=s(10),c={components:{Multiselect:n.a,PageHeader:o.a},mounted:function(){},data:function(){return{items:[{text:"Home",to:{name:"home"}},{text:"General Lock",active:!0}],reportData:[],searchedUsers:[],checked:1,sportsList:[],casinoList:[],lockData:{sports:[],casino:[]},mpass:"",username:null,showForm:!1}},computed:{},methods:{resetReportForm:function(){this.mpass="",this.reportData=[],this.searchedUsers=[],this.username=null,this.lockData.sports=[],this.lockData.casino=[],this.showForm=!1,this.sportsList=[],this.casinoList=[]},getTreeData:function(){var a=this;e.a.callApi("treeviewdatamar",{}).then((function(t){200==t.status?a.sportsList=t.data:a.sportsList=[]})).catch((function(t){a.sportsList=[]}))},searchUser:function(a){var t=this;a.length>2&&0==this.searchedUsers.length&&e.a.callApi("searchalluser",{uname:a}).then((function(a){a.success?t.searchedUsers=a.data.t1:t.searchedUsers=[]})).catch((function(a){t.searchedUsers=[]})),a.length<3&&(this.searchedUsers=[])},getUserLockData:function(){var a=this;if(""==this.mpass)return this.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,type:"error",icon:"error",text:"Transaction code is required"}),!1;this.$store.state.isLoading=!0,e.a.callApi("generallocklist",{guid:null!=this.username?this.username.uguid:"",mpass:this.mpass}).then((function(t){a.$store.state.isLoading=!1,200==t.status?(t.data&&t.data.t1?a.setGeneralLockData(t.data.t1):(a.lockData.sports=[],a.lockData.casino=[]),a.showForm=!0):(a.$swal({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,type:"error",icon:"error",text:t.msg}),a.lockData.sports=[],a.lockData.casino=[],a.showForm=!1),0==a.sportsList.length&&a.getTreeData(),0==a.casinoList.length&&a.getCasinoList()})).catch((function(a){}))},setGeneralLockData:function(a){var t=[],s=[];a.forEach((function(a){"0"==a.lkid?s.push(a.gtype):t.push(a.lkid)})),this.lockData.sports=t,this.lockData.casino=s},lockUser:function(a,t,s,i){var n=this;this.$store.state.isLoading=!0;var o="generallock";0!=a?this.lockData.sports.includes(parseInt(a))&&(o="generalunlock"):this.lockData.casino.includes(s)&&(o="generalunlock");var c=null!=this.username?this.username.uguid:"";e.a.callApi(o,{guid:c,mpass:this.mpass,lkid:parseInt(a),lkname:i,lktype:t,gtype:s}).then((function(a){n.$store.state.isLoading=!1,200==a.status?n.setGeneralLockData(a.data.t1):n.getUserLockData()})).catch((function(a){}))},checkLock:function(a){return!!this.lockData.sports.includes(parseInt(a))},checkGameLock:function(a,t,s){return!!(this.lockData.sports.includes(parseInt(a))||this.lockData.sports.includes(parseInt(t))||this.lockData.sports.includes(parseInt(s)))},getCasinoList:function(){var a=this;e.a.callApi("casinolist",{}).then((function(t){200==t.status?a.casinoList=t.data.t1:a.casinoList=[]})).catch((function(t){a.casinoList=[]}))}},beforeDestroy:function(){}},r=s(1),l=Object(r.a)(c,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"General Lock",items:a.items}}),a._v(" "),t("div",{staticClass:"user-lock-container"},[t("div",{staticClass:"m-t-20"},[t("div",{},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post"},on:{submit:function(t){return t.preventDefault(),a.getUserLockData()}}},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-3"},[t("div",{staticClass:"form-group user-lock-search",staticStyle:{position:"relative"}},[t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"clear-on-select":!1,"close-on-select":!0,"select-label":"","deselect-label":"",label:"uname","track-by":"uguid",options:a.searchedUsers,autocomplete:"random",placeholder:"Search By Client Name"},on:{"search-change":a.searchUser},model:{value:a.username,callback:function(t){a.username=t},expression:"username"}},[t("span",{attrs:{slot:"noResult"},slot:"noResult"},[a._v("No elements found")])])],1)]),a._v(" "),t("div",{staticClass:"col-md-2"},[t("div",{staticClass:"form-group"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.mpass,expression:"mpass"}],staticClass:"form-control d-inline-block",attrs:{type:"password",placeholder:"Transaction Code"},domProps:{value:a.mpass},on:{input:function(t){t.target.composing||(a.mpass=t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"col-md-2"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[a._v("\n                Load\n              ")]),a._v(" "),t("button",{staticClass:"btn btn-light",attrs:{type:"button",id:"reset"},on:{click:function(t){return a.resetReportForm()}}},[a._v("\n                Reset\n              ")])])])])])]),a._v(" "),a.showForm?t("div",[t("div",{staticClass:"row mt-3"},[a.sportsList&&a.sportsList.length>0?t("div",{staticClass:"col-lg-6 col-12"},[t("h4",{staticClass:"ptitle"},[a._v("Events")]),a._v(" "),t("ul",{staticClass:"navbar-nav user-lock-nav",attrs:{id:"accordian1"}},a._l(a.sportsList,(function(s,e){return t("li",{staticClass:"nav-item dropdown show"},[s.children?t("a",{staticClass:"arrow-icon",attrs:{title:"click here to expand","data-toggle":"collapse","data-target":"#menu-"+s.etid,role:"button","aria-expanded":"false"}},[t("i",{staticClass:"fas fa-angle-down"})]):t("a",{staticClass:"arrow-icon",attrs:{href:"javascript:void(0)"}},[a._v(" ")]),a._v(" "),t("span",{staticClass:"custom-control custom-checkbox"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.lockData.sports,expression:"lockData.sports"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid},domProps:{value:s.etid,checked:Array.isArray(a.lockData.sports)?a._i(a.lockData.sports,s.etid)>-1:a.lockData.sports},on:{click:function(t){return a.lockUser(s.etid,"eventtype","match",s.name)},change:function(t){var e=a.lockData.sports,i=t.target,n=!!i.checked;if(Array.isArray(e)){var o=s.etid,c=a._i(e,o);i.checked?c<0&&a.$set(a.lockData,"sports",e.concat([o])):c>-1&&a.$set(a.lockData,"sports",e.slice(0,c).concat(e.slice(c+1)))}else a.$set(a.lockData,"sports",n)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:s.etid}},[a._v(a._s(s.name))])]),a._v(" "),s.children?t("ul",{staticClass:"sub-menu collapse",attrs:{id:"menu-"+s.etid,"data-parent":"#accordian1"}},a._l(s.children,(function(e,i){return t("li",[e.children?t("a",{staticClass:"arrow-icon",attrs:{title:"click here to expand","data-toggle":"collapse","data-target":"#menu-"+e.cid,role:"button","aria-expanded":"false"}},[t("i",{staticClass:"fas fa-angle-down"})]):t("a",{staticClass:"arrow-icon",attrs:{href:"javascript:void(0)"}},[a._v(" ")]),a._v(" "),t("span",{key:i,staticClass:"custom-control custom-checkbox"},[a.checkLock(s.etid)?[t("input",{directives:[{name:"model",rawName:"v-model",value:a.checked,expression:"checked"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid+e.cid,checked:"checked",disabled:"disabled"},domProps:{value:e.cid,checked:Array.isArray(a.checked)?a._i(a.checked,e.cid)>-1:a.checked},on:{change:function(t){var s=a.checked,i=t.target,n=!!i.checked;if(Array.isArray(s)){var o=e.cid,c=a._i(s,o);i.checked?c<0&&(a.checked=s.concat([o])):c>-1&&(a.checked=s.slice(0,c).concat(s.slice(c+1)))}else a.checked=n}}})]:[t("input",{directives:[{name:"model",rawName:"v-model",value:a.lockData.sports,expression:"lockData.sports"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid+e.cid},domProps:{value:e.cid,checked:Array.isArray(a.lockData.sports)?a._i(a.lockData.sports,e.cid)>-1:a.lockData.sports},on:{click:function(t){return a.lockUser(e.cid,"comm","match",e.name)},change:function(t){var s=a.lockData.sports,i=t.target,n=!!i.checked;if(Array.isArray(s)){var o=e.cid,c=a._i(s,o);i.checked?c<0&&a.$set(a.lockData,"sports",s.concat([o])):c>-1&&a.$set(a.lockData,"sports",s.slice(0,c).concat(s.slice(c+1)))}else a.$set(a.lockData,"sports",n)}}})],a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:s.etid+e.cid}},[a._v(a._s(e.name))])],2),a._v(" "),e.children?t("ul",{staticClass:"sub-menu collapse",attrs:{id:"menu-"+e.cid,"data-parent":"#menu-"+s.etid}},a._l(e.children,(function(i,n){return t("li",[i.children?t("a",{staticClass:"arrow-icon",attrs:{title:"click here to expand","data-toggle":"collapse","data-target":"#menu-"+i.gmid,role:"button","aria-expanded":"false"}},[t("i",{staticClass:"fas fa-angle-down"})]):t("a",{staticClass:"arrow-icon",attrs:{href:"javascript:void(0)"}},[a._v(" ")]),a._v(" "),t("span",{key:n,staticClass:"custom-control custom-checkbox"},[a.checkGameLock(s.etid,e.cid,0)?[t("input",{directives:[{name:"model",rawName:"v-model",value:a.checked,expression:"checked"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid+e.cid+i.gmid,checked:"checked",disabled:"disabled"},domProps:{value:i.gmid,checked:Array.isArray(a.checked)?a._i(a.checked,i.gmid)>-1:a.checked},on:{change:function(t){var s=a.checked,e=t.target,n=!!e.checked;if(Array.isArray(s)){var o=i.gmid,c=a._i(s,o);e.checked?c<0&&(a.checked=s.concat([o])):c>-1&&(a.checked=s.slice(0,c).concat(s.slice(c+1)))}else a.checked=n}}})]:[t("input",{directives:[{name:"model",rawName:"v-model",value:a.lockData.sports,expression:"lockData.sports"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid+e.cid+i.gmid},domProps:{value:i.gmid,checked:Array.isArray(a.lockData.sports)?a._i(a.lockData.sports,i.gmid)>-1:a.lockData.sports},on:{click:function(t){return a.lockUser(i.gmid,"game","match",i.name)},change:function(t){var s=a.lockData.sports,e=t.target,n=!!e.checked;if(Array.isArray(s)){var o=i.gmid,c=a._i(s,o);e.checked?c<0&&a.$set(a.lockData,"sports",s.concat([o])):c>-1&&a.$set(a.lockData,"sports",s.slice(0,c).concat(s.slice(c+1)))}else a.$set(a.lockData,"sports",n)}}})],a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:s.etid+e.cid+i.gmid}},[a._v(a._s(i.name))])],2),a._v(" "),i.children?t("ul",{staticClass:"sub-menu collapse",attrs:{id:"menu-"+i.gmid,"data-parent":"#menu-"+e.cid}},[a._l(i.children,(function(o,c){return[t("h5",{staticClass:"mb-0 font-size-16"},[a._v("\n                            "+a._s(o.gtype)+"\n                          ")]),a._v(" "),a._l(o.children,(function(c,r){return t("li",[t("span",{key:n,staticClass:"custom-control custom-checkbox"},[a.checkGameLock(s.etid,e.cid,i.gmid)?[t("input",{directives:[{name:"model",rawName:"v-model",value:a.checked,expression:"checked"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid+e.cid+i.gmid+c.mid,checked:"checked",disabled:"disabled"},domProps:{value:c.mid,checked:Array.isArray(a.checked)?a._i(a.checked,c.mid)>-1:a.checked},on:{change:function(t){var s=a.checked,e=t.target,i=!!e.checked;if(Array.isArray(s)){var n=c.mid,o=a._i(s,n);e.checked?o<0&&(a.checked=s.concat([n])):o>-1&&(a.checked=s.slice(0,o).concat(s.slice(o+1)))}else a.checked=i}}})]:[t("input",{directives:[{name:"model",rawName:"v-model",value:a.lockData.sports,expression:"lockData.sports"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.etid+e.cid+i.gmid+c.mid},domProps:{value:c.mid,checked:Array.isArray(a.lockData.sports)?a._i(a.lockData.sports,c.mid)>-1:a.lockData.sports},on:{click:function(t){return a.lockUser(c.mid,"market",o.gtype,c.mname)},change:function(t){var s=a.lockData.sports,e=t.target,i=!!e.checked;if(Array.isArray(s)){var n=c.mid,o=a._i(s,n);e.checked?o<0&&a.$set(a.lockData,"sports",s.concat([n])):o>-1&&a.$set(a.lockData,"sports",s.slice(0,o).concat(s.slice(o+1)))}else a.$set(a.lockData,"sports",i)}}})],a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:s.etid+e.cid+i.gmid+c.mid}},[a._v(a._s(c.mname))])],2)])}))]}))],2):a._e()])})),0):a._e()])})),0):a._e()])})),0)]):a._e(),a._v(" "),a.casinoList&&a.casinoList.length>0?t("div",{staticClass:"col-lg-6 col-12"},[t("h4",{staticClass:"ptitle"},[a._v("Casino List")]),a._v(" "),t("ul",{staticClass:"user-lock-nav"},a._l(a.casinoList,(function(s,e){return t("li",[t("span",{staticClass:"custom-control custom-checkbox"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.lockData.casino,expression:"lockData.casino"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:s.gtype},domProps:{value:s.gtype,checked:Array.isArray(a.lockData.casino)?a._i(a.lockData.casino,s.gtype)>-1:a.lockData.casino},on:{click:function(t){return a.lockUser(0,s.lktype,s.gtype,s.casino)},change:function(t){var e=a.lockData.casino,i=t.target,n=!!i.checked;if(Array.isArray(e)){var o=s.gtype,c=a._i(e,o);i.checked?c<0&&a.$set(a.lockData,"casino",e.concat([o])):c>-1&&a.$set(a.lockData,"casino",e.slice(0,c).concat(e.slice(c+1)))}else a.$set(a.lockData,"casino",n)}}}),a._v(" "),t("label",{staticClass:"custom-control-label",attrs:{for:s.gtype}},[a._v(a._s(s.casino))])])])})),0)]):a._e()])]):a._e()])],1)}),[],!1,null,null,null);t.a=l.exports},function(a,t,s){"use strict";var e=s(10),i=s(35),n=s(9),o=s.n(n),c={components:{PageHeader:e.a,DatePicker:i.a},mounted:function(){},data:function(){return{fdt:o()(new Date).tz("Asia/Calcutta").subtract(1,"week").format("MM/DD/YYYY"),tdt:o()(new Date).tz("Asia/Calcutta").format("MM/DD/YYYY"),type:"all",fields:["Sr.No","Name","Amount"]}},methods:{disabledfDt:function(a){return a>new Date(o()().tz("Asia/Calcutta").format("YYYY/MM/DD"))},disabledtDt:function(a){var t=new Date(o()().tz("Asia/Calcutta").format("YYYY/MM/DD")),s=new Date(this.fdt),e=new Date(o()(this.fdt).endOf("month").format("MM/DD/YYYY")),i=new Date(o()(this.fdt).add(1,"week").format("MM/DD/YYYY"));return i>e?a>e||a<s:i>t?a>t||a<s:a>i||a<s},updateToDate:function(){var a=new Date(o()().tz("Asia/Calcutta").format("YYYY/MM/DD")),t=new Date(o()(this.fdt).endOf("month").format("YYYY/MM/DD")),s=new Date(o()(this.fdt).add(1,"week").format("YYYY/MM/DD"));this.tdt=s>t?o()(t).format("MM/DD/YYYY"):s>a?o()(a).format("MM/DD/YYYY"):o()(s).format("MM/DD/YYYY")},loadReport:function(a){var t=this;this.$store.state.isLoading=!0,setTimeout((function(){return t.$store.state.isLoading=!1}),2e3)},loadReport2:function(a){var t=this;this.$store.state.isLoading=!0,setTimeout((function(){return t.$store.state.isLoading=!1}),2e3)}}},r=s(1),l=Object(r.a)(c,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Game Report"}}),a._v(" "),t("div",{staticClass:"row mt-3"},[t("div",{staticClass:"col-12"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"toReport"},on:{submit:function(t){return t.preventDefault(),a.loadReport("toReport")}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-2"},[t("label",[a._v("From")]),a._v(" "),t("DatePicker",{attrs:{"disabled-date":a.disabledfDt,lang:"en",type:"date",clearable:!1,editable:!1,valueType:"MM/DD/YYYY",format:"DD/MM/YYYY"},on:{change:a.updateToDate},model:{value:a.fdt,callback:function(t){a.fdt=t},expression:"fdt"}})],1),a._v(" "),t("div",{staticClass:"col-md-2"},[t("label",[a._v("To")]),a._v(" "),t("DatePicker",{attrs:{"disabled-date":a.disabledtDt,lang:"en",type:"date",clearable:!1,editable:!1,valueType:"MM/DD/YYYY",format:"DD/MM/YYYY"},on:{change:a.updateToDate},model:{value:a.tdt,callback:function(t){a.tdt=t},expression:"tdt"}})],1),a._v(" "),t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Type")]),a._v(" "),t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model.number",value:a.type,expression:"type",modifiers:{number:!0}}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("toReport.type")},attrs:{name:"type"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.type=t.target.multiple?s:s[0]}}},[t("option",{attrs:{value:"all"}},[a._v("All")]),a._v(" "),t("option",{attrs:{value:"match"}},[a._v("Match")]),a._v(" "),t("option",{attrs:{value:"fancy"}},[a._v("Fancy")])])])]),a._v(" "),a._m(0)])])])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"gamereport"},on:{submit:function(t){return t.preventDefault(),a.loadReport2("gamereport")}}},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-8 col-xl-6"},[t("div",{staticClass:"form-group"},[t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model.number",value:a.type,expression:"type",modifiers:{number:!0}}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("gamereport.type")},attrs:{name:"type"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.type=t.target.multiple?s:s[0]}}},[t("option",{attrs:{value:"all"}},[a._v("All")])])])]),a._v(" "),a._m(1)])])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{attrs:{striped:"",bordered:"",hover:"",fields:a.fields,"show-empty":""},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}}])})],1)],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"col-md-4 col-xl-3 mt-4"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("\n              Game List\n            ")])])},function(){var a=this._self._c;return a("div",{staticClass:"col-md-4 col-xl-3"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("\n              Show Game Report\n            ")]),this._v(" "),a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("\n              Master Game Report\n            ")])])}],!1,null,null,null);t.a=l.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){},data:function(){return{type:"general_report",fields:["Sr.No","Name","Amount"]}},methods:{loadReport:function(a){var t=this;this.$store.state.isLoading=!0,setTimeout((function(){return t.$store.state.isLoading=!1}),2e3)}}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid"},[t("PageHeader",{attrs:{title:"General Report"}}),a._v(" "),t("div",{staticClass:"row mt-3"},[t("div",{staticClass:"col-12"},[t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"toReport"},on:{submit:function(t){return t.preventDefault(),a.loadReport("toReport")}}},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Select Type")]),a._v(" "),t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model",value:a.type,expression:"type"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("toReport.type")},attrs:{name:"type"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.type=t.target.multiple?s:s[0]}}},[t("option",{attrs:{value:"general_report",selected:""}},[a._v("General Report")]),a._v(" "),t("option",{attrs:{value:"credit_refrance_report"}},[a._v("Credit Refrance Report")])])])]),a._v(" "),a._m(0)])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{attrs:{striped:"",hover:"",bordered:"",fields:a.fields,"show-empty":""},scopedSlots:a._u([{key:"empty",fn:function(s){return[t("p",{staticClass:"text-center mb-0"},[a._v("No data available in table")])]}}])})],1)])])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"col-md-4 col-xl-3 mt-4"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[this._v("Load")])])}],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(23),c=s(9),r=s.n(c),l=s(22),d=(s(41),s(34)),v=s.n(d);function m(a){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function u(){u=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function l(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{l({},"")}catch(a){l=function(a,t,s){return a[t]=s}}function d(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function v(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=d;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};l(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){l(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,c){var r=v(a[i],a,n);if("throw"!==r.type){var l=r.arg,d=l.value;return d&&"object"==m(d)&&e.call(d,"__await")?t.resolve(d.__await).then((function(a){s("next",a,o,c)}),(function(a){s("throw",a,o,c)})):t.resolve(d).then((function(a){l.value=a,o(l)}),(function(a){return s("throw",a,o,c)}))}c(r.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=v(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=v(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(m(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=l(C,r,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,l(a,r,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),l(N.prototype,c,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(d(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),l(w,r,"Generator"),l(w,o,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function p(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}var b={components:{PageHeader:i.a,downloadexcel:o.a,DatePicker:n.a,Multiselect:v.a},mounted:function(){this.updateStartDate(),this.getCasinoList(),this.getSportList(),this.getGameTypeList()},data:function(){return{reportData:[],items:[{text:"Home",to:{name:"home"}},{text:"Turnover Report",active:!0}],params:{username:null,type:"",gtype:"",etid:"",fdt:r()(new Date).tz("Asia/Calcutta").subtract(1,"week").format("MM/DD/YYYY"),tdt:r()(new Date).tz("Asia/Calcutta").format("MM/DD/YYYY"),fromto:[r()().tz(DEFAULT_TIMEZONE).subtract(1,"week").format("MM/DD/YYYY"),r()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY")]},searchedUsers:[],listColumns:{"Loss Turn Over":"tamt",Loss:"ltamt","Win Turn Over":"tamt1",Win:"ltamt1","Total Turn Over":"ttotal","Total P/L":"pl"},pdfColumn:[{title:"Loss Turn Over",dataKey:"tamt"},{title:"Loss",dataKey:"ltamt"},{title:"Win Turn Over",dataKey:"tamt1"},{title:"Win",dataKey:"ltamt1"},{title:"Total Turn Over",dataKey:"ttotal"},{title:"Total P/L",dataKey:"pl"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150],gameDetail:[],gameSoda:[],casinoList:[],sportList:[],gameTypeList:[]}},watch:{},computed:{},methods:{fetchExcelData:function(){var a,t=this;return(a=u().mark((function a(){var s;return u().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=_.cloneDeep(t.reportData),a.abrupt("return",s);case 2:case"end":return a.stop()}}),a)})),function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){p(n,e,i,o,c,"next",a)}function c(a){p(n,e,i,o,c,"throw",a)}o(void 0)}))})()},exportPdf:function(){if(0!==this.reportData.length){var a=new l.default("l","pt");a.text("Turnover Report",380,25),a.autoTable(this.pdfColumn,this.reportData),a.save("turnoverreport.pdf")}},updateStartDate:function(){var a=new Date(r()(this.params.tdt).startOf("month").format("YYYY/MM/DD")),t=new Date(r()(this.params.tdt).subtract(1,"week").format("YYYY/MM/DD"));this.params.fdt=t<a?r()(a).format("MM/DD/YYYY"):r()(t).format("MM/DD/YYYY")},updateToDate:function(){var a=new Date(r()().tz("Asia/Calcutta").format("YYYY/MM/DD")),t=new Date(r()(this.params.fdt).endOf("month").format("YYYY/MM/DD")),s=new Date(r()(this.params.fdt).add(1,"week").format("YYYY/MM/DD"));this.params.tdt=s>t?r()(t).format("MM/DD/YYYY"):s>a?r()(a).format("MM/DD/YYYY"):r()(s).format("MM/DD/YYYY")},disabledfDt:function(a){return a>new Date(r()().tz("Asia/Calcutta").format("YYYY/MM/DD"))},disabledtDt:function(a){var t=new Date(r()().tz("Asia/Calcutta").format("YYYY/MM/DD")),s=new Date(this.params.fdt),e=new Date(r()(this.params.fdt).endOf("month").format("MM/DD/YYYY")),i=new Date(r()(this.params.fdt).add(1,"week").format("MM/DD/YYYY"));return i>e?a>e||a<s:i>t?a>t||a<s:a>i||a<s},onChangeType:function(){this.params.gtype="",this.params.etid="",this.$validator.reset()},getCasinoList:function(){var a=this;e.a.callApi("acccasinolist",{}).then((function(t){200==t.status&&(a.casinoList=t.data.t1)})).catch((function(t){a.casinoList=[]}))},getSportList:function(){var a=this;e.a.callApi("sportlist",{}).then((function(t){200==t.status&&(a.sportList=t.data.t1)})).catch((function(t){a.sportList=[]}))},getGameTypeList:function(){var a=this;e.a.callApi("gametypelist",{}).then((function(t){200==t.status&&(a.gameTypeList=t.data.t1)})).catch((function(t){a.gameTypeList=[]}))},resetReportForm:function(){this.params={type:"",gtype:"",etid:"",fdt:r()(new Date).tz("Asia/Calcutta").subtract(1,"week").format("MM/DD/YYYY"),tdt:r()(new Date).tz("Asia/Calcutta").format("MM/DD/YYYY"),fromto:[r()().tz(DEFAULT_TIMEZONE).subtract(1,"week").format("MM/DD/YYYY"),r()().tz(DEFAULT_TIMEZONE).format("MM/DD/YYYY")]},this.reportData=[],this.currentPage=1,this.totalRows=0,this.$validator.reset(),this.updateStartDate()},disabledDt:function(a){var t=new Date(r()().format("YYYY/MM/DD"));return t.setHours(0,0,0,0),a>t},loadReport:function(a){var t=this;this.$validator.validateAll(a).then((function(a){if(a){t.$store.state.isLoading=!0,2==t.params.type&&(t.params.etid=0);var s={uid:null!=t.params.username?t.params.username.uguid:"",etid:t.params.etid,fdt:t.params.fdt,gtype:t.params.gtype,tdt:t.params.tdt,type:t.params.type};e.a.callApi("report/turnover",s).then((function(a){t.$store.state.isLoading=!1,200==a.status?(t.reportData=[],t.reportData.push({tamt:t.$helpers.toCurrency(a.data.t1[0].tamt),ltamt:t.$helpers.toCurrency(a.data.t1[0].ltamt),tamt1:t.$helpers.toCurrency(a.data.t2[0].tamt),ltamt1:t.$helpers.toCurrency(a.data.t2[0].ltamt),ttotal:t.$helpers.toCurrency(a.data.t1[0].tamt+a.data.t2[0].tamt),pl:t.$helpers.toCurrency(a.data.t1[0].ltamt+a.data.t2[0].ltamt)}),t.totalRows=t.reportData.length):(t.reportData=[],t.totalRows=0)})).catch((function(a){t.$store.state.isLoading=!1,t.reportData=[],t.totalRows=0}))}}))},hideModal:function(a){this.$refs[a].hide()},onFiltered:function(a){this.totalRows=a.length,this.currentPage=1},disabledDates:function(a){return a>new Date(r()().tz(DEFAULT_TIMEZONE).format("YYYY/MM/DD"))},showResult:function(a){var t=this;this.$store.state.isLoading=!0,e.a.callApi("accstatepopup",{gmid:0,mid:a,gtype:this.params.gtype,dtype:"cs"}).then((function(a){200==a.status?(t.gameDetail=_.get(a.data,"t1")?_.get(a.data,"t1"):{},Vue.set(t.gameDetail,"gType",t.params.gtype.toLowerCase()),Vue.set(t.gameDetail,"dType","cs"),t.gameSoda=_.get(a.data,"t2"),t.$refs["detail-modal"].show()):(t.gameDetail={},t.gameSoda=[]),t.$store.state.isLoading=!1})).catch((function(a){t.gameDetail={},t.gameSoda=[],t.$store.state.isLoading=!1}))},searchUser:function(a){var t=this;a.length>2&&0==this.searchedUsers.length&&e.a.callApi("searchalluser",{uname:a}).then((function(a){a.success?t.searchedUsers=a.data.t1:t.searchedUsers=[]})).catch((function(a){t.searchedUsers=[]})),a.length<3&&(this.searchedUsers=[])}}},g=s(1),h=Object(g.a)(b,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"Turnover Report",items:a.items}}),a._v(" "),t("b-alert",{attrs:{show:"",variant:"info"}},[t("div",{attrs:{direction:"right"}},[a._v("\n        You will be able to see the data of last 7 days only.\n      ")])]),a._v(" "),t("form",{staticClass:"ajaxFormSubmit",attrs:{method:"post","data-vv-scope":"toReport"},on:{submit:function(t){return t.preventDefault(),a.loadReport("toReport")}}},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group user-lock-search",staticStyle:{position:"relative"}},[t("label",{attrs:{for:"d-inline-block"}},[a._v("Search By Client Name")]),a._v(" "),t("multiselect",{attrs:{searchable:!0,"internal-search":!0,"clear-on-select":!0,"close-on-select":!0,"select-label":"","deselect-label":"",label:"uname","track-by":"uguid",options:a.searchedUsers},on:{"search-change":a.searchUser},model:{value:a.params.username,callback:function(t){a.$set(a.params,"username",t)},expression:"params.username"}})],1)]),a._v(" "),t("div",{staticClass:"col-md-2"},[t("label",[a._v("From Date:")]),a._v(" "),t("DatePicker",{attrs:{"disabled-date":a.disabledfDt,lang:"en",type:"date",clearable:!1,editable:!1,valueType:"MM/DD/YYYY",format:"DD/MM/YYYY"},on:{change:a.updateToDate},model:{value:a.params.fdt,callback:function(t){a.$set(a.params,"fdt",t)},expression:"params.fdt"}})],1),a._v(" "),a.params.fdt?t("div",{staticClass:"col-md-2"},[t("label",[a._v("To Date:")]),a._v(" "),t("DatePicker",{attrs:{"disabled-date":a.disabledtDt,lang:"en",type:"date",clearable:!1,editable:!1,valueType:"MM/DD/YYYY",format:"DD/MM/YYYY"},model:{value:a.params.tdt,callback:function(t){a.$set(a.params,"tdt",t)},expression:"params.tdt"}})],1):a._e(),a._v(" "),t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Type")]),a._v(" "),t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model.number",value:a.params.type,expression:"params.type",modifiers:{number:!0}}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("toReport.type")},attrs:{name:"type"},on:{change:[function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.$set(a.params,"type",t.target.multiple?s:s[0])},function(t){return a.onChangeType()}]}},[t("option",{attrs:{value:""}},[a._v("Select Type")]),a._v(" "),t("option",{attrs:{value:"1"}},[a._v("Sports")]),a._v(" "),t("option",{attrs:{value:"2"}},[a._v("Casino")])])])]),a._v(" "),"1"==a.params.type?[t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Sports List")]),a._v(" "),t("select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"},{name:"model",rawName:"v-model.number",value:a.params.etid,expression:"params.etid",modifiers:{number:!0}}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("toReport.etid")},attrs:{name:"etid"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(t){var s="_value"in t?t._value:t.value;return a._n(s)}));a.$set(a.params,"etid",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:""}},[a._v("Select Sports List")]),a._v(" "),a._l(a.sportList,(function(s,e){return[t("option",{domProps:{value:s.eid}},[a._v(a._s(s.ename))])]}))],2)])]),a._v(" "),t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Game Type")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:a.params.gtype,expression:"params.gtype"}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.params,"gtype",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:""}},[a._v("Select Game Type")]),a._v(" "),a._l(a.gameTypeList,(function(s,e){return[t("option",{domProps:{value:s.gtype}},[a._v("\n                    "+a._s(s.gtypename)+"\n                  ")])]}))],2)])])]:a._e(),a._v(" "),"2"==a.params.type?[t("div",{staticClass:"col-md-4 col-xl-2"},[t("div",{staticClass:"form-group"},[t("label",[a._v("Casino List")]),a._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:a.params.gtype,expression:"params.gtype"}],staticClass:"form-control",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(a){return a.selected})).map((function(a){return"_value"in a?a._value:a.value}));a.$set(a.params,"gtype",t.target.multiple?s:s[0])}}},[t("option",{attrs:{value:""}},[a._v("Select Casino")]),a._v(" "),a._l(a.casinoList,(function(s,e){return[t("option",{domProps:{value:s.gtype}},[a._v(a._s(s.casino))])]}))],2)])])]:a._e()],2),a._v(" "),t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-12 col-xl-3"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit",id:"loaddata"}},[a._v("\n            Load\n          ")]),a._v(" "),t("button",{staticClass:"btn btn-light",attrs:{type:"button",id:"reset"},on:{click:function(t){return a.resetReportForm()}}},[a._v("\n            Reset\n          ")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-1"},[t("b-button",{staticClass:"buttons-pdf",attrs:{variant:"danger",type:"button",disabled:0==a.reportData.length},on:{click:a.exportPdf}},[t("i",{staticClass:"far fa-file-pdf mr-1"}),a._v("PDF\n            ")]),a._v(" "),t("downloadexcel",{staticClass:"d-inline-block",class:{disabled:0==a.reportData.length},attrs:{fetch:a.fetchExcelData,fields:a.listColumns,type:"csv",name:"turnoverreport.xls"}},[t("b-button",{staticClass:"mr-1 buttons-excel",attrs:{variant:"success",type:"button",disabled:0==a.reportData.length}},[t("i",{staticClass:"far fa-file-excel mr-1"}),a._v("Excel\n              ")])],1)],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 mt-3 report-table"},[t("table",{staticClass:"table table-bordered table-striped"},[a._m(0),a._v(" "),a.reportData&&a.reportData.length>0?t("tbody",[t("tr",[t("td",{staticClass:"text-right"},[a._v("\n              "+a._s(a.reportData[0].tamt)+"\n            ")]),a._v(" "),t("td",{staticClass:"text-right"},[a._v("\n              "+a._s(a.reportData[0].ltamt)+"\n            ")]),a._v(" "),t("td",{staticClass:"text-right"},[a._v("\n              "+a._s(a.reportData[0].tamt1)+"\n            ")]),a._v(" "),t("td",{staticClass:"text-right"},[a._v("\n              "+a._s(a.reportData[0].ltamt1)+"\n            ")]),a._v(" "),t("td",{staticClass:"text-right"},[a._v("\n              "+a._s(a.reportData[0].ttotal)+"\n            ")]),a._v(" "),t("td",{staticClass:"text-right"},[a._v("\n              "+a._s(a.reportData[0].pl)+"\n            ")])])]):t("tbody",[a._m(1)])])])],1)}),[function(){var a=this,t=a._self._c;return t("thead",[t("tr",[t("th",{staticClass:"text-right"},[a._v("Loss Turn Over")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Loss")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Win Turn Over")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Win")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Total Turn Over")]),a._v(" "),t("th",{staticClass:"text-right"},[a._v("Total P/L")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"6"}},[this._v("\n              There are no records to show\n            ")])])}],!1,null,null,null);t.a=h.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(23),o=(s(9),s(22));s(41);function c(a){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function r(){r=function(){return t};var a,t={},s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(a,t,s){a[t]=s.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",l=n.asyncIterator||"@@asyncIterator",d=n.toStringTag||"@@toStringTag";function v(a,t,s){return Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}),a[t]}try{v({},"")}catch(a){v=function(a,t,s){return a[t]=s}}function m(a,t,s,e){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),c=new A(e||[]);return i(o,"_invoke",{value:P(a,s,c)}),o}function u(a,t,s){try{return{type:"normal",arg:a.call(t,s)}}catch(a){return{type:"throw",arg:a}}}t.wrap=m;var p="suspendedStart",b="executing",_="completed",g={};function h(){}function f(){}function C(){}var k={};v(k,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(R([])));x&&x!==s&&e.call(x,o)&&(k=x);var w=C.prototype=h.prototype=Object.create(k);function D(a){["next","throw","return"].forEach((function(t){v(a,t,(function(a){return this._invoke(t,a)}))}))}function N(a,t){function s(i,n,o,r){var l=u(a[i],a,n);if("throw"!==l.type){var d=l.arg,v=d.value;return v&&"object"==c(v)&&e.call(v,"__await")?t.resolve(v.__await).then((function(a){s("next",a,o,r)}),(function(a){s("throw",a,o,r)})):t.resolve(v).then((function(a){d.value=a,o(d)}),(function(a){return s("throw",a,o,r)}))}r(l.arg)}var n;i(this,"_invoke",{value:function(a,e){function i(){return new t((function(t,i){s(a,e,t,i)}))}return n=n?n.then(i,i):i()}})}function P(t,s,e){var i=p;return function(n,o){if(i===b)throw new Error("Generator is already running");if(i===_){if("throw"===n)throw o;return{value:a,done:!0}}for(e.method=n,e.arg=o;;){var c=e.delegate;if(c){var r=T(c,e);if(r){if(r===g)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===p)throw i=_,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=b;var l=u(t,s,e);if("normal"===l.type){if(i=e.done?_:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(i=_,e.method="throw",e.arg=l.arg)}}}function T(t,s){var e=s.method,i=t.iterator[e];if(i===a)return s.delegate=null,"throw"===e&&t.iterator.return&&(s.method="return",s.arg=a,T(t,s),"throw"===s.method)||"return"!==e&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+e+"' method")),g;var n=u(i,t.iterator,s.arg);if("throw"===n.type)return s.method="throw",s.arg=n.arg,s.delegate=null,g;var o=n.arg;return o?o.done?(s[t.resultName]=o.value,s.next=t.nextLoc,"return"!==s.method&&(s.method="next",s.arg=a),s.delegate=null,g):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,g)}function B(a){var t={tryLoc:a[0]};1 in a&&(t.catchLoc=a[1]),2 in a&&(t.finallyLoc=a[2],t.afterLoc=a[3]),this.tryEntries.push(t)}function L(a){var t=a.completion||{};t.type="normal",delete t.arg,a.completion=t}function A(a){this.tryEntries=[{tryLoc:"root"}],a.forEach(B,this),this.reset(!0)}function R(t){if(t||""===t){var s=t[o];if(s)return s.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function s(){for(;++i<t.length;)if(e.call(t,i))return s.value=t[i],s.done=!1,s;return s.value=a,s.done=!0,s};return n.next=n}}throw new TypeError(c(t)+" is not iterable")}return f.prototype=C,i(w,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:f,configurable:!0}),f.displayName=v(C,d,"GeneratorFunction"),t.isGeneratorFunction=function(a){var t="function"==typeof a&&a.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(a){return Object.setPrototypeOf?Object.setPrototypeOf(a,C):(a.__proto__=C,v(a,d,"GeneratorFunction")),a.prototype=Object.create(w),a},t.awrap=function(a){return{__await:a}},D(N.prototype),v(N.prototype,l,(function(){return this})),t.AsyncIterator=N,t.async=function(a,s,e,i,n){void 0===n&&(n=Promise);var o=new N(m(a,s,e,i),n);return t.isGeneratorFunction(s)?o:o.next().then((function(a){return a.done?a.value:o.next()}))},D(w),v(w,d,"Generator"),v(w,o,(function(){return this})),v(w,"toString",(function(){return"[object Generator]"})),t.keys=function(a){var t=Object(a),s=[];for(var e in t)s.push(e);return s.reverse(),function a(){for(;s.length;){var e=s.pop();if(e in t)return a.value=e,a.done=!1,a}return a.done=!0,a}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(L),!t)for(var s in this)"t"===s.charAt(0)&&e.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=a)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var s=this;function i(e,i){return c.type="throw",c.arg=t,s.next=e,i&&(s.method="next",s.arg=a),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var r=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(r&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(a,t){for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===a||"continue"===a)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var o=n?n.completion:{};return o.type=a,o.arg=t,n?(this.method="next",this.next=n.finallyLoc,g):this.complete(o)},complete:function(a,t){if("throw"===a.type)throw a.arg;return"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&t&&(this.next=t),g},finish:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.finallyLoc===a)return this.complete(s.completion,s.afterLoc),L(s),g}},catch:function(a){for(var t=this.tryEntries.length-1;t>=0;--t){var s=this.tryEntries[t];if(s.tryLoc===a){var e=s.completion;if("throw"===e.type){var i=e.arg;L(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,s,e){return this.delegate={iterator:R(t),resultName:s,nextLoc:e},"next"===this.method&&(this.arg=a),g}},t}function l(a,t,s,e,i,n,o){try{var c=a[n](o),r=c.value}catch(a){return void s(a)}c.done?t(r):Promise.resolve(r).then(e,i)}var d={components:{PageHeader:i.a,downloadexcel:n.a},mounted:function(){this.getUserAuthList()},data:function(){return{reportData:[],items:[{text:"Home",to:{name:"home"}},{text:"User Authentication",active:!0}],reportFields:[{key:"uname",label:"Username",sortable:!0},{key:"auth",label:"Authentication",sortable:!0}],listColumns:{Username:"uname",Authentication:"auth"},pdfColumn:[{title:"Username",dataKey:"uname"},{title:"Authentication",dataKey:"auth"}],currentPage:1,filter:null,perPage:25,totalLength:0,totalRows:0,pageOptions:[25,50,75,100,125,150]}},watch:{},computed:{},methods:{fetchExcelData:function(){var a,t=this;return(a=r().mark((function a(){var s;return r().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return s=_.cloneDeep(t.reportData),a.abrupt("return",s);case 2:case"end":return a.stop()}}),a)})),function(){var t=this,s=arguments;return new Promise((function(e,i){var n=a.apply(t,s);function o(a){l(n,e,i,o,c,"next",a)}function c(a){l(n,e,i,o,c,"throw",a)}o(void 0)}))})()},exportPdf:function(){if(0!==this.reportData.length){var a=new o.default("l","pt");a.text("Casino Result Report",380,25),a.autoTable(this.pdfColumn,this.reportData),a.save("casinoresults.pdf")}},getUserAuthList:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("report/userauthlist",{}).then((function(t){a.$store.state.isLoading=!1,200==t.status?(a.reportData=t.data,a.totalRows=a.reportData.length):(a.reportData=[],a.totalRows=0)})).catch((function(t){a.$store.state.isLoading=!1,a.reportData=[],a.totalRows=0}))},onFiltered:function(a){this.totalRows=a.length,this.currentPage=1}}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"listing-grid report-wrapper"},[t("PageHeader",{attrs:{title:"User Authentication",items:a.items}}),a._v(" "),t("div",{staticClass:"row mb-3"},[t("div",{staticClass:"col-md-12"},[t("div",{staticClass:"d-inline-block"},[t("b-button",{staticClass:"buttons-pdf",attrs:{variant:"danger",type:"button",disabled:0==a.reportData.length},on:{click:a.exportPdf}},[t("i",{staticClass:"far fa-file-pdf mr-1"}),a._v("PDF\n        ")]),a._v(" "),t("downloadexcel",{staticClass:"d-inline-block",class:{disabled:0==a.reportData.length},attrs:{fetch:a.fetchExcelData,fields:a.listColumns,type:"csv",name:"casinoresults.xls"}},[t("b-button",{staticClass:"mr-1 buttons-excel",attrs:{variant:"success",type:"button",disabled:0==a.reportData.length}},[t("i",{staticClass:"far fa-file-excel mr-1"}),a._v("Excel\n          ")])],1)],1)])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-6"},[t("div",{staticClass:"dataTables_length",attrs:{id:"tickets-table_length"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("\n          Show \n          "),t("b-form-select",{attrs:{options:a.pageOptions,size:"sm"},model:{value:a.perPage,callback:function(t){a.perPage=t},expression:"perPage"}}),a._v(" entries\n        ")],1)])]),a._v(" "),t("div",{staticClass:"col-6 text-right"},[t("div",{staticClass:"dataTables_filter text-md-right",attrs:{id:"tickets-table_filter"}},[t("label",{staticClass:"d-inline-flex align-items-center"},[a._v("Search:\n        \n          "),t("b-form-input",{staticClass:"form-control ml-1",attrs:{type:"search",placeholder:"Search..."},model:{value:a.filter,callback:function(t){a.filter=t},expression:"filter"}})],1)])])]),a._v(" "),t("div",{staticClass:"table-responsive mb-0 report-table"},[t("b-table",{staticClass:"table no-footer table-hover",attrs:{"show-empty":"",bordered:"",striped:"",fixed:"",responsive:"sm",id:"eventsListTbl",fields:a.reportFields,items:a.reportData,filter:a.filter,"current-page":a.currentPage,"per-page":a.perPage},on:{filtered:a.onFiltered}})],1),a._v(" "),t("div",{staticClass:"row pt-3"},[t("div",{staticClass:"col"},[t("div",{staticClass:"dataTables_paginate paging_simple_numbers float-right"},[t("ul",{staticClass:"pagination pagination-rounded mb-0"},[t("b-pagination",{staticClass:"dataTables_paginate paging_simple_numbers my-0",attrs:{align:"right","total-rows":a.totalRows,"per-page":a.perPage},model:{value:a.currentPage,callback:function(t){a.currentPage=t},expression:"currentPage"}})],1)])])])],1)}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Baccarat"},data:function(){return{pageTitle:"",imgPath:IMG_PATH,casinoList:[],casinoBannersPath:DIM_BUCKET_PATH+"casino-icons/lc/",title:"",tabList:[],gameId:""}},methods:{getGameList:function(a){var t=this;this.casinoList=[],e.a.callApi("casino/tablelist",{gmid:this.gameId,ismob:1}).then((function(a){200==a.status?t.casinoList=a.data:t.casinoList=[]})).catch((function(a){t.casinoList=[]}))}},beforeDestroy:function(){this.callAPI=!1}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"baccarat2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/baccarat2.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"baccarat"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/baccarat.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Khal29"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/29cardbaccarat.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Sports Casino List"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"SuperOver3"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/superover3.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"SuperOver2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/superover2.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"SuperOver"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/superover.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Cricketv3"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/cricketv3.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"CMatch20"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/cc-20.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"CasinoMeter"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/cmeter.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"cmeter1"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/1cardmeter.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Live Worli"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return a("div",{staticClass:"col-md-12 featured-box"},[a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("h2",{staticClass:"mb-0"},[this._v(this._s(this.pageTitle))])])])]),this._v(" "),a("div",{staticClass:"row diamond-casino-container mt-3"},[a("div",{staticClass:"col-4 mb-3"},[a("router-link",{attrs:{to:{name:"worli"}}},[a("div",{staticClass:"casino-box"},[a("div",{staticClass:"casino-icons"},[a("img",{staticClass:"img-fluid",attrs:{src:this.imgPath+"admin/img/banners/worli-matka.jpg"}})])])])],1),this._v(" "),a("div",{staticClass:"col-4 mb-3"},[a("router-link",{attrs:{to:{name:"worli2"}}},[a("div",{staticClass:"casino-box"},[a("div",{staticClass:"casino-icons"},[a("img",{staticClass:"img-fluid",attrs:{src:this.imgPath+"admin/img/banners/instant-worli.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="32 Cards"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return a("div",{staticClass:"col-md-12 featured-box"},[a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("h2",{staticClass:"mb-0"},[this._v(this._s(this.pageTitle))])])])]),this._v(" "),a("div",{staticClass:"row diamond-casino-container mt-3"},[a("div",{staticClass:"col-4 mb-3"},[a("router-link",{attrs:{to:{name:"Card32A"}}},[a("div",{staticClass:"casino-box"},[a("div",{staticClass:"casino-icons"},[a("img",{staticClass:"img-fluid",attrs:{src:this.imgPath+"admin/img/banners/32cardsA.jpg"}})])])])],1),this._v(" "),a("div",{staticClass:"col-4 mb-3"},[a("router-link",{attrs:{to:{name:"Card32B"}}},[a("div",{staticClass:"casino-box"},[a("div",{staticClass:"casino-icons"},[a("img",{staticClass:"img-fluid",attrs:{src:this.imgPath+"admin/img/banners/32cardsB.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Live Teenpatti"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"teenpattiT20"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/20-20-teenpatti.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"TeenpattiOneday"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/1day-teenpatti.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"teenpattiTest"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/test-teenpatti.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"teenpattiOpen"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/8player.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"TeenpattiInstant3"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/instantteenpatti3.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"TeenpattiInstant"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/instantteenpatti.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"TeenpattiInstant2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/instantteenpatti2.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"TeenpattiT20B"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/2020teenpattib.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"TeenpattiMuflis"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/muflisteenpatii.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Teenpatti2Cards"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/2cardsteenpatti.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Teenpatti41"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/queen-top.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Teenpatti42"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/jack-top.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Live Poker"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"pokerT20"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/20-20-poker.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"pokeroneday"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/1-day-poker.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"poker6Player"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/poker-6-player.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Andar Bahar"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"AndarBahar2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/andar-bahar2.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"AndarBahar"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/andar-bahar.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"ab3"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/ab50cards.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"ab4"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/ab4.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="lucky 7"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"lucky7"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/Lucky7-A.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"lucky7eu"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/lucky7Bbanner.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"lucky7eu2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/lucky7c.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Dragon Tiger"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"dragonTigerT202"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/dt202.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"dragonTigerLionT20"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/dtl20.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"dragonTigerT20"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/dt20.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"dragonTigerOneDay"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/dt6.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Bollywood Casino"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"AAA"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/aaa.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"bollywoodTable"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/ddb.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"AAA2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/aaa2.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Others Casino List"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"col-md-12 featured-box"},[t("div",[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"d-flex align-items-center justify-content-between"},[t("h2",{staticClass:"mb-0"},[a._v(a._s(a.pageTitle))])])])]),a._v(" "),t("div",{staticClass:"row diamond-casino-container mt-3"},[t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Lottery"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/lottery.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"race2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/raceto2nd.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Race17"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/raceto17.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"sicbo"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/sicbo.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Dum10"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/duskadum.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"teen1oneday"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/1cardoneday.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"teen1t20"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/1card20.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Kbc"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/kbc.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"NoteNumber"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/notenumber.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Trio"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/trio.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"Trap"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/trap.jpg"}})])])])],1),a._v(" "),t("div",{staticClass:"col-4 mb-3"},[t("router-link",{attrs:{to:{name:"sicbo2"}}},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"casino-icons"},[t("img",{staticClass:"img-fluid",attrs:{src:a.imgPath+"admin/img/banners/sic-bo-double.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={components:{PageHeader:s(10).a},mounted:function(){this.$store.state.activeTab="casino",this.pageTitle="Teenpatti 2.0"},data:function(){return{pageTitle:"",imgPath:IMG_PATH}},methods:{},beforeDestroy:function(){this.callAPI=!1}},i=s(1),n=Object(i.a)(e,(function(){var a=this._self._c;return a("div",{staticClass:"col-md-12 featured-box"},[a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("h2",{staticClass:"mb-0"},[this._v(this._s(this.pageTitle))])])])]),this._v(" "),a("div",{staticClass:"row diamond-casino-container mt-3"},[a("div",{staticClass:"col-4 mb-3"},[a("router-link",{attrs:{to:{name:"Teenpatti2"}}},[a("div",{staticClass:"casino-box"},[a("div",{staticClass:"casino-icons"},[a("img",{staticClass:"img-fluid",attrs:{src:this.imgPath+"admin/img/banners/teencasino.jpg"}})])])])],1)])])])}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen"});return this.orderBy(a,"sr")},oddEven:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"oddeven"}),t=this.orderBy(a,"sr");return t.forEach((function(a){a.odds=_.orderBy(a.odds,"sno")})),t},suit:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"suita"==a.subtype||"suitb"==a.subtype}));return this.orderBy(a,"sr")},consicutive:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"con"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Teenpatti 1-day",gameType:"teen",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti1day"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Player A")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Player B")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("b",[a._v("Consecutive")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.consicutive[0].sid},expression:"{sid: consicutive[0].sid}"}],staticClass:"mr-2 casino-book"}),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range6","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range6"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.consicutive[0].min},expression:"{size: consicutive[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.consicutive[0].max},expression:"{size: consicutive[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("b",[a._v("Consecutive")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.consicutive[1].sid},expression:"{sid: consicutive[1].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range12","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range12"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.consicutive[1].min},expression:"{size: consicutive[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.consicutive[1].max},expression:"{size: consicutive[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[1].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1dayother"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-box-row mb-3"},[t("div",{staticClass:"casino-nation-name mb-4"},[t("b",[a._v("Odd")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range13"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range13"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.oddEven[0].min},expression:"{size: oddEven[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.oddEven[0].max},expression:"{size: oddEven[0].max}"}]})])])]),a._v(" "),a._l(a.oddEven,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[a._l(s.odds,(function(e,i){return["odd"==e.nat.toLowerCase()?[t("div",{key:i,staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}],staticClass:"casino-book"})]:a._e()]}))],2)]}))],2),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name mb-4"},[t("b",[a._v("Even")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range14"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range14"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.oddEven[0].min},expression:"{size: oddEven[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.oddEven[0].max},expression:"{size: oddEven[0].max}"}]})])])]),a._v(" "),a._l(a.oddEven,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[a._l(s.odds,(function(e,i){return["even"==e.nat.toLowerCase()?[t("div",{key:i,staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}],staticClass:"casino-book"})]:a._e()]}))],2)]}))],2)])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),a._m(3),a._v(" "),a._m(4)]),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{sid: data.sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("b",[a._v("Consecutive")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.consicutive[0].min},expression:"{size: consicutive[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.consicutive[0].max},expression:"{size: consicutive[0].max}"}]})])])]),a._v(" "),a._m(5),a._v(" "),a._m(6)]),a._v(" "),a._l(a.consicutive,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:0},expression:"{sid: data.sid, subid: 0}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2),a._v(" "),t("div",{staticClass:"casino-box-row teen1dayodev"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("b",[a._v("Cards")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range7"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.oddEven[0].min},expression:"{size: oddEven[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.oddEven[0].max},expression:"{size: oddEven[0].max}"}]})])])]),a._v(" "),a._m(7),a._v(" "),a._m(8)]),a._v(" "),a._l(a.oddEven,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))])]),a._v(" "),a._l(s.odds,(function(e,i){return[t("div",{key:i,staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}]},[a._v("0")])])]}))],2)]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this,t=a._self._c;return t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name no-border"}),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Card 1")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Card 2")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Card 3")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Card 4")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Card 5")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Card 6")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Odd")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Even")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Player"});return this.orderBy(a,"sr")},pair:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Pair"});return this.orderBy(a,"sr")},khal:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"Khal"==a.subtype}));return this.orderBy(a,"sr")},redBlack:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"RedBlack"});return this.orderBy(a,"sr")},total:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Total"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"20-20 Teenpatti",gameType:"teen20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti20"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Player A")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Player B")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen20casino-container d-none-small"},[t("div",{staticClass:"teen20left"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Player")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("3 Baccarat")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.khal[0].min},expression:"{size: khal[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.khal[0].max},expression:"{size: khal[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Total")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{size: total[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{size: total[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{size: pair[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{size: pair[0].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box mb-4"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid},expression:"{sid: player[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.khal[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.khal[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.khal[0].sid},expression:"{sid: khal[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid},expression:"{sid: total[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("A")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[0].sid},expression:"{sid: pair[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-rb-box-container mb-3"},[t("div",{staticClass:"casino-rb-box blackcontainer"},[t("div",{staticClass:"casino-rb-box-player blackbox back",class:{suspended:"OPEN"!=a.redBlack[0].gstatus}},[t("div",{staticClass:"text-right"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[0].sid},expression:"{sid: redBlack[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[0].min},expression:"{size: redBlack[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[0].max},expression:"{size: redBlack[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-rb-box redcontainer"},[t("div",{staticClass:"casino-rb-box-player redbox back",class:{suspended:"OPEN"!=a.redBlack[1].gstatus}},[t("div",{},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{staticClass:"diamond-icon",attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[1].sid},expression:"{sid: redBlack[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[1].min},expression:"{size: redBlack[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[1].max},expression:"{size: redBlack[1].max}"}]})])])])])]),a._v(" "),t("div",{staticClass:"teen20center"}),a._v(" "),t("div",{staticClass:"teen20right"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Player")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range7"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[1].min},expression:"{size: player[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[1].max},expression:"{size: player[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("3 Baccarat")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range8"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range8"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.khal[1].min},expression:"{size: khal[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.khal[1].max},expression:"{size: khal[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Total")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range9"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range9"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[1].min},expression:"{size: total[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[1].max},expression:"{size: total[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range10"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range10"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[1].min},expression:"{size: pair[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[1].max},expression:"{size: pair[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box mb-4"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[1].sid},expression:"{sid: player[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.khal[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.khal[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.khal[1].sid},expression:"{sid: khal[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid},expression:"{sid: total[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("B")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[1].sid},expression:"{sid: pair[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-rb-box-container mb-3"},[t("div",{staticClass:"casino-rb-box blackcontainer"},[t("div",{staticClass:"casino-rb-box-player blackbox back",class:{suspended:"OPEN"!=a.redBlack[2].gstatus}},[t("div",{},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[2].sid},expression:"{sid: redBlack[2].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range11"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range11"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[2].min},expression:"{size: redBlack[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[2].max},expression:"{size: redBlack[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-rb-box redcontainer"},[t("div",{staticClass:"casino-rb-box-player redbox back",class:{suspended:"OPEN"!=a.redBlack[3].gstatus}},[t("div",{},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{staticClass:"diamond-icon",attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[3].sid},expression:"{sid: redBlack[3].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range12"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range12"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[3].min},expression:"{size: redBlack[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[3].max},expression:"{size: redBlack[3].max}"}]})])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen20casino-container d-none-big"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("Player")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range1","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid,subid:0},expression:"{sid: player[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[1].sid,subid:0},expression:"{sid: player[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("3 Baccarat")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range2","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.khal[0].min},expression:"{size: khal[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.khal[0].max},expression:"{size: khal[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.khal[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.khal[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.khal[0].sid,subid:0},expression:"{sid: khal[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.khal[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.khal[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.khal[1].sid,subid:0},expression:"{sid: khal[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("Total")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range3","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{size: total[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{size: total[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid,subid:0},expression:"{sid: total[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid,subid:0},expression:"{sid: total[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range4","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{size: pair[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{size: pair[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("A")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[0].sid,subid:0},expression:"{sid: pair[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("B")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[1].sid,subid:0},expression:"{sid: pair[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("div",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range5","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[0].min},expression:"{size: redBlack[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[0].max},expression:"{size: redBlack[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[0].sid,subid:0},expression:"{sid: redBlack[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[2].sid,subid:0},expression:"{sid: redBlack[2].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("div",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range6","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[1].min},expression:"{size: redBlack[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[1].max},expression:"{size: redBlack[1].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[1].sid,subid:0},expression:"{sid: redBlack[1].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[3].sid,subid:0},expression:"{sid: redBlack[3].sid, subid: 0}"}]},[a._v("0")])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"}),this._v(" "),a("div",{staticClass:"casino-bl-box-item playera"},[this._v("Player A")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item playerb"},[this._v("Player B")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Player"});return this.orderBy(a,"sr")},pair:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Pair"});return this.orderBy(a,"sr")},total:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Total"});return this.orderBy(a,"sr")},anycolor:function(){var a=_.filter(_.get(this.casinoData,"sub"),{sid:25});return this.orderBy(a,"sr")},anyStraight:function(){var a=_.filter(_.get(this.casinoData,"sub"),{sid:26});return this.orderBy(a,"sr")},anyTrio:function(){var a=_.filter(_.get(this.casinoData,"sub"),{sid:27});return this.orderBy(a,"sr")},anyStaritFlush:function(){var a=_.filter(_.get(this.casinoData,"sub"),{sid:28});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Teenpatti Open",gameType:"teen8",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpattiopen"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"dealer-name justify-content-start"},[a._v("Dealer")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[8]}}),a._v(" "),t("Card",{attrs:{card:a.cards[17]}}),a._v(" "),t("Card",{attrs:{card:a.cards[26]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?t("div",{staticClass:"casino-box mb-2 d-none-small"},[t("div",{staticClass:"casino-open-card-box"},[a._l(a.player,(function(s,e){return[t("div",{key:e},[t("div",[t("b",[a._v(a._s(e+1))])]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[e],showCloseCard:!0}}),a._v(" "),t("Card",{attrs:{card:a.cards[e+9],showCloseCard:!0}}),a._v(" "),t("Card",{attrs:{card:a.cards[e+18],showCloseCard:!0}})],1)])]}))],2),a._v(" "),t("div",{staticClass:"casino-box-header"},[t("div",{staticClass:"casino-nation-name no-border"}),a._v(" "),t("div",{staticClass:"casino-bl-box text-right"},a._l(a.player,(function(s,e){return t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v(a._s(s.nat))])])})),0)]),a._v(" "),t("div",{staticClass:"casino-box-content"},[t("div",{staticClass:"casino-box-row mb-4"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Odds")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range1","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{ size: player[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{ size: player[0].max }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},a._l(a.player,(function(s,e){return t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:0},expression:"{\n                          sid: element.sid,\n                          subid: 0,\n                        }"}],staticClass:"casino-book"},[a._v("0")])])})),0)]),a._v(" "),t("div",{staticClass:"casino-box-row mb-4"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Pair Plus")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range3","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{ size: pair[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{ size: pair[0].max }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},a._l(a.pair,(function(s,e){return t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd open-pair"},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:0},expression:"{ sid: element.sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])})),0)]),a._v(" "),t("div",{staticClass:"casino-box-row mb-4"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Total")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range2","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{ size: total[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{ size: total[0].max }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},a._l(a.total,(function(s,e){return t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:0},expression:"{ sid: element.sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])})),0)])])]):a._e(),a._v(" "),a.$store.getters.isTablet?a._e():t("div",{staticClass:"casino-box mb-2 d-none-big"},[t("div",{staticClass:"casino-box-header"},[t("div",{staticClass:"casino-nation-name no-border"}),a._v(" "),t("div",{staticClass:"casino-bl-box text-right"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Odds")]),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range4","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{ size: player[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{ size: player[0].max }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range3","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{ size: pair[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{ size: pair[0].max }"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Total")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range6","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{ size: total[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{ size: total[0].max }"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"casino-box-content"},a._l(a.player,(function(s,e){return t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("div",{class:{"hide-cards":"1"==a.cards[e]}},[t("Card",{attrs:{card:a.cards[e]}}),a._v(" "),t("Card",{attrs:{card:a.cards[e+9]}}),a._v(" "),t("Card",{attrs:{card:a.cards[e+18]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))]),a._v(" "),t("span",{directives:[{name:"casinobookcalc",rawName:"v-casinobookcalc",value:{sid:s.sid,urate:s.b},expression:"{ sid: element.sid, urate: element.b }"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair[e].nat))]),a._v(" "),t("span",{directives:[{name:"casinobookcalc",rawName:"v-casinobookcalc",value:{sid:a.pair[e].sid,urate:a.pair[e].b},expression:"{\n                          sid: pair[index].sid,\n                          urate: pair[index].b,\n                        }"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[e].b))]),a._v(" "),t("span",{directives:[{name:"casinobookcalc",rawName:"v-casinobookcalc",value:{sid:a.total[e].sid,urate:a.total[e].b},expression:"{\n                          sid: total[index].sid,\n                          urate: total[index].b,\n                        }"}]},[a._v("0")])])])])})),0)]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                  View All\n                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen9"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Teenpatti Test",gameType:"teen9",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,gameDetail:[],gameSoda:[],tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpattitest"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Tiger")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[6]}})],1),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Lion")]),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}}),a._v(" "),t("Card",{attrs:{card:a.cards[7]}})],1),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Dragon")]),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[8]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teentestother"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name no-border"}),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Winner")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Pair")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Flush")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[2].min},expression:"{size: main[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[2].max},expression:"{size: main[2].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Straight")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[3].min},expression:"{size: main[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[3].max},expression:"{size: main[3].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Trio")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[4].min},expression:"{size: main[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[4].max},expression:"{size: main[4].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Straight Flush")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[5].min},expression:"{size: main[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[5].max},expression:"{size: main[5].max}"}]})])])])])]),a._v(" "),t("div",{staticClass:"casino-box-row mb-4"},[a._m(0),a._v(" "),a._l(6,(function(s,e){return[t("div",{key:"tiger-".concat(e),staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]}))],2),a._v(" "),t("div",{staticClass:"casino-box-row mb-4"},[a._m(1),a._v(" "),a._l(6,(function(s,e){return[t("div",{key:"lion-".concat(e),staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+5].sid,subid:0},expression:"{sid: main[i+5].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]}))],2),a._v(" "),t("div",{staticClass:"casino-box-row mb-4"},[a._m(2),a._v(" "),a._l(6,(function(s,e){return[t("div",{key:"dragon-".concat(e),staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+11].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+11].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+11].sid,subid:0},expression:"{sid: main[i+11].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]}))],2)])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row teen1dayodev"},[a._m(3),a._v(" "),a._l(6,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.main[s-1].nat.replace("Tiger","").trim()))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range".concat(e)}},[a._v("\r\n                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s-1].min},expression:"{size: main[i-1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s-1].max},expression:"{size: main[i-1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+5].sid,subid:0},expression:"{sid: main[i+5].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+11].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+11].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+11].sid,subid:0},expression:"{sid: main[i+11].sid, subid: 0}"}]},[a._v("0")])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Tiger")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Lion")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Dragon")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item casino-card-img"}),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Tiger")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lion")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Dragon")])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e={mounted:function(){},components:{Baccarat:s(127).a},data:function(){return{}},methods:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){return(0,this._self._c)("Baccarat",{attrs:{gtype:"baccarat2"}})}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={mounted:function(){},components:{Lucky7:s(70).a},data:function(){return{}},methods:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){return(0,this._self._c)("Lucky7",{attrs:{gtype:"lucky7eu"}})}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e={mounted:function(){},components:{Lucky7:s(70).a},data:function(){return{}},methods:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){return(0,this._self._c)("Lucky7",{attrs:{gtype:"lucky7eu2"}})}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"poker"});return this.orderBy(a,"sr")},cardBonus:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"pokerfancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Poker 1-day",gameType:"poker",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table poker1day"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"playerboardcards"},[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Board")]),a._v(" "),t("div",{staticClass:"d-flex"},[t("Card",{attrs:{card:a.cards[4]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[6]}}),a._v(" "),t("Card",{attrs:{card:a.cards[7]}}),a._v(" "),t("Card",{attrs:{card:a.cards[8]}})],1)])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"playerabox"},[t("div",{staticClass:"casino-box-row playerafabcy"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"float-left mr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])]),a._v(" "),t("b",[a._v("Player A")])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-nation-name text-center w-100"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.player[0].sid},expression:"{sid: player[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"casino-box poker1dayother mt-2"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"odds-min-max"},[t("span",{staticClass:"float-right casino-min-max pr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.cardBonus[0].min},expression:"{size: cardBonus[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.cardBonus[0].max},expression:"{size: cardBonus[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-min-max pl-2"},[t("span",{staticClass:"float-right casino-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.cardBonus[1].min},expression:"{size: cardBonus[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.cardBonus[1].max},expression:"{size: cardBonus[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.cardBonus[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("2 Cards Bonus")])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.cardBonus[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("7 Cards Bonus")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"odds-min-max"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.cardBonus[0].sid,subid:0},expression:"{sid: cardBonus[0].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"odds-min-max"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.cardBonus[1].sid,subid:0},expression:"{sid: cardBonus[1].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"playerabcardbox"},[t("div",{staticClass:"poker-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/poker.png")}})]),a._v(" "),t("div",{staticClass:"row row5 w-100"},[t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"dealer-name playera"},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"mt-1"},[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)]),a._v(" "),t("div",{staticClass:"col-12 col-md-6 text-right"},[t("div",{staticClass:"dealer-name playerb"},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"mt-1"},[t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}})],1)])])]),a._v(" "),t("div",{staticClass:"playerbbox"},[t("div",{staticClass:"casino-box-row playerbfabcy"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"float-left mr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo4"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[1].min},expression:"{size: player[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[1].max},expression:"{size: player[1].max}"}]})])]),a._v(" "),t("b",[a._v("Player B")])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].l))])])])]),a._v(" "),t("div",{staticClass:"casino-nation-name text-center w-100"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.player[1].sid},expression:"{sid: player[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"casino-box poker1dayother mt-2"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"odds-min-max"},[t("span",{staticClass:"float-right casino-min-max pr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo5"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.cardBonus[2].min},expression:"{size: cardBonus[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.cardBonus[2].max},expression:"{size: cardBonus[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-min-max pl-2"},[t("span",{staticClass:"float-right casino-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo6"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.cardBonus[3].min},expression:"{size: cardBonus[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.cardBonus[3].max},expression:"{size: cardBonus[3].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.cardBonus[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("2 Cards Bonus")])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.cardBonus[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("7 Cards Bonus")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"odds-min-max"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.cardBonus[2].sid,subid:0},expression:"{sid: cardBonus[2].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"odds-min-max"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.cardBonus[3].sid,subid:0},expression:"{sid: cardBonus[3].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"poker20"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"20-20 Poker",gameType:"poker20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table poker20"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"playeracards"},[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"d-flex"},[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)]),a._v(" "),t("div",{staticClass:"playerbcards"},[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"d-flex"},[t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}})],1)]),a._v(" "),t("div",{staticClass:"playerboardcards"},[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Board")]),a._v(" "),t("div",{staticClass:"d-flex"},[t("Card",{attrs:{card:a.cards[4]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[6]}}),a._v(" "),t("Card",{attrs:{card:a.cards[7]}}),a._v(" "),t("Card",{attrs:{card:a.cards[8]}})],1)])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"poker20casino-container d-none-small"},[t("div",{staticClass:"poker20left"},[t("div",[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Winner")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("One Pair")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[2].min},expression:"{size: main[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[2].max},expression:"{size: main[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Two Pair")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[4].min},expression:"{size: main[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[4].max},expression:"{size: main[4].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[2].sid},expression:"{sid: main[2].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[4].sid},expression:"{sid: main[4].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"mt-1"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Three of a Kind")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[6].min},expression:"{size: main[6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[6].max},expression:"{size: main[6].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Straight")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[8].min},expression:"{size: main[8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[8].max},expression:"{size: main[8].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Flush")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[10].min},expression:"{size: main[10].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[10].max},expression:"{size: main[10].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[6].sid},expression:"{sid: main[6].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[8].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[8].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[8].sid},expression:"{sid: main[8].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[10].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[10].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[10].sid},expression:"{sid: main[10].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"mt-1"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Full House")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range7"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[12].min},expression:"{size: main[12].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[12].max},expression:"{size: main[12].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Four of a Kind")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range8"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range8"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[14].min},expression:"{size: main[14].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[14].max},expression:"{size: main[14].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Straight Flush")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range9"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range9"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[16].min},expression:"{size: main[16].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[16].max},expression:"{size: main[16].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[12].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[12].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[12].sid},expression:"{sid: main[12].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[14].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[14].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[14].sid},expression:"{sid: main[14].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[16].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[16].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[16].sid},expression:"{sid: main[16].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"poker20center"}),a._v(" "),t("div",{staticClass:"poker20right"},[t("div",[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Winner")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range10"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range10"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("One Pair")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range11"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range11"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[3].min},expression:"{size: main[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[3].max},expression:"{size: main[3].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Two Pair")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range12"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range12"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[5].min},expression:"{size: main[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[5].max},expression:"{size: main[5].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[3].sid},expression:"{sid: main[3].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[5].sid},expression:"{sid: main[5].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"mt-1"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Three of a Kind")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range13"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range13"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[7].min},expression:"{size: main[7].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[7].max},expression:"{size: main[7].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Straight")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range14"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range14"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9].min},expression:"{size: main[9].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9].max},expression:"{size: main[9].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Flush")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range15"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range15"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[11].min},expression:"{size: main[11].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[11].max},expression:"{size: main[11].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[7].sid},expression:"{sid: main[7].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9].sid},expression:"{sid: main[9].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[11].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[11].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[11].sid},expression:"{sid: main[11].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"mt-1"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Full House")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range16"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range16"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[13].min},expression:"{size: main[13].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[13].max},expression:"{size: main[13].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Four of a Kind")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range17"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range17"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[15].min},expression:"{size: main[15].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[15].max},expression:"{size: main[15].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Straight Flush")]),a._v(" "),t("div",{staticClass:"ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range18"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range18"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[17].min},expression:"{size: main[17].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[17].max},expression:"{size: main[17].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[13].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[13].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[13].sid},expression:"{sid: main[13].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[15].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[15].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[15].sid},expression:"{sid: main[15].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[17].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[17].sid},expression:"{sid: main[17].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"poker20casino-container d-none-big"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Winner")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid,subid:0},expression:"{sid: main[0].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid,subid:0},expression:"{sid: main[1].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("One Pair")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[2].min},expression:"{size: main[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[2].max},expression:"{size: main[2].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[2].sid,subid:0},expression:"{sid: main[2].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[3].sid,subid:0},expression:"{sid: main[3].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Two Pair")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[4].min},expression:"{size: main[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[4].max},expression:"{size: main[4].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[4].sid,subid:0},expression:"{sid: main[4].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[5].sid,subid:0},expression:"{sid: main[5].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Three of a Kind")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[6].min},expression:"{size: main[6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[6].max},expression:"{size: main[6].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[6].sid,subid:0},expression:"{sid: main[6].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[7].sid,subid:0},expression:"{sid: main[7].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Straight")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[8].min},expression:"{size: main[8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[8].max},expression:"{size: main[8].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[8].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[8].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[8].sid,subid:0},expression:"{sid: main[8].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9].sid,subid:0},expression:"{sid: main[9].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Flush")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[10].min},expression:"{size: main[10].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[10].max},expression:"{size: main[10].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[10].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[10].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[10].sid,subid:0},expression:"{sid: main[10].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[11].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[11].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[11].sid,subid:0},expression:"{sid: main[11].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Full House")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range7"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[12].min},expression:"{size: main[12].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[12].max},expression:"{size: main[12].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[12].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[12].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[12].sid,subid:0},expression:"{sid: main[12].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[13].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[13].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[13].sid,subid:0},expression:"{sid: main[13].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Four of a Kind")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range8"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range8"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[14].min},expression:"{size: main[14].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[14].max},expression:"{size: main[14].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[14].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[14].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[14].sid,subid:0},expression:"{sid: main[14].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[15].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[15].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[15].sid,subid:0},expression:"{sid: main[15].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v("Straight Flush")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range9"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range9"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[16].min},expression:"{size: main[16].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[16].max},expression:"{size: main[16].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[16].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[16].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[16].sid,subid:0},expression:"{sid: main[16].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[17].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[17].sid,subid:0},expression:"{sid: main[17].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"}),this._v(" "),a("div",{staticClass:"casino-bl-box-item playera"},[this._v("\r\n                                        Player A")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item playerb"},[this._v("\r\n                                        Player B")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"poker6"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Poker 6 Players",gameType:"poker6",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table poker6player"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[12]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[12]}}),a._v(" "),t("Card",{attrs:{card:a.cards[13]}}),a._v(" "),t("Card",{attrs:{card:a.cards[14]}}),a._v(" "),t("Card",{attrs:{card:a.cards[15]}}),a._v(" "),t("Card",{attrs:{card:a.cards[16]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.casinoData.rdesc?[t("div",{staticClass:"poker-result-board"},[t("div",{staticClass:"d-inline-block"},[t("div",{staticClass:"d-inline-block"},[t("span",[a._v(a._s(a.casinoData.rdesc.split("||")[0]))])])]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("b",[a._v(a._s(a.casinoData.rdesc.split("||")[1]))])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?[t("div",{staticClass:"d-none-small"},[t("div",{staticClass:"casino-box"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("h4",{staticClass:"playera"},[a._v("Hands")]),a._v(" "),t("div",{staticClass:"casino-row-container"},[a._l(6,(function(s,e){return[t("div",{key:"hands-".concat(e),staticClass:"casino-col-container"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"w-100 mb-1 pr"},[t("b",[a._v(a._s(a.main[s-1].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#hands-".concat(s-1)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"hands-".concat(s-1)}},[a._v("\r\n                                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s-1].min},expression:"{size: main[i-1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s-1].max},expression:"{size: main[i-1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"poker6box",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("span",{staticClass:"player-card"},[t("Card",{attrs:{card:a.cards[s-1]}})],1),a._v(" "),t("span",{staticClass:"player-card"},[t("Card",{attrs:{card:a.cards[s+5]}})],1)]),a._v(" "),t("span",{staticClass:"float-right mr-1"},[t("b",{staticClass:"d-block text-right"},[a._v(a._s(a.main[s-1].b))])])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}],staticClass:"casino-book text-center w-100"})])])]}))],2)]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright pattern"},[t("h4",[a._v("Pattern")]),a._v(" "),t("div",{staticClass:"casino-row-container"},[a._l(9,(function(s,e){return[t("div",{key:"pattern-".concat(e),staticClass:"casino-col-container",class:{fullbox:7==s||8==s||9==s}},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"w-100 mb-1 pr"},[t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#pattern-".concat(s+5)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"pattern-".concat(s+5)}},[a._v("\r\n                                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+5].min},expression:"{size: main[i+5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+5].max},expression:"{size: main[i+5].max}"}]})])])]),a._v(" "),t("div",{staticClass:"poker6box",class:{suspended:"OPEN"!=a.main[s+5].gstatus}},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[s+5].nat))]),a._v(" "),t("span",{staticClass:"d-block text-right"},[t("b",[a._v(a._s(a.main[s+5].b))])])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+5].sid,subid:0},expression:"{sid: main[i+5].sid, subid: 0}"}],staticClass:"casino-book text-center w-100"})])])]}))],2)])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[a._m(0),a._v(" "),t("div",{staticClass:"casino-box mb-2 tab-content"},[t("div",{staticClass:"tab-pane active hands",attrs:{id:"hands"}},[t("div",{staticClass:"casino-row-container"},[a._l(6,(function(s,e){return[t("div",{key:"hands-".concat(e),staticClass:"casino-col-container"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"w-100 mb-1 pr"},[t("b",[a._v(a._s(a.main[s-1].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#hands-".concat(s-1)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"hands-".concat(s-1)}},[a._v("\r\n                                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s-1].min},expression:"{size: main[i-1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s-1].max},expression:"{size: main[i-1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"poker6box",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("span",{staticClass:"player-card"},[t("Card",{attrs:{card:a.cards[s-1]}})],1),a._v(" "),t("span",{staticClass:"player-card"},[t("Card",{attrs:{card:a.cards[s+5]}})],1)]),a._v(" "),t("span",{staticClass:"text-right mr-1 flex-odds"},[t("b",{staticClass:"d-block w-100"},[a._v(a._s(a.main[s-1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}],staticClass:"w-100"},[a._v("0")])])])])])])]}))],2)]),a._v(" "),t("div",{staticClass:"tab-pane fade pattern",attrs:{id:"pattern"}},[t("div",{staticClass:"casino-row-container"},[a._l(9,(function(s,e){return[t("div",{key:"pattern-".concat(e),staticClass:"casino-col-container"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"w-100 mb-1 pr"},[t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#pattern-".concat(s+5)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"pattern-".concat(s+5)}},[a._v("\r\n                                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+5].min},expression:"{size: main[i+5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+5].max},expression:"{size: main[i+5].max}"}]})])])]),a._v(" "),t("div",{staticClass:"poker6box",class:{suspended:"OPEN"!=a.main[s+5].gstatus}},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("b",[a._v(a._s(a.main[s+5].nat))])]),a._v(" "),t("span",{staticClass:"text-right mr-1 flex-odds"},[t("b",{staticClass:"d-block w-100"},[a._v(a._s(a.main[s+5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+5].sid,subid:0},expression:"{sid: main[i+5].sid, subid: 0}"}],staticClass:"w-100"},[a._v("0")])])])])])])]}))],2)])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-tabs"},[a("ul",{staticClass:"nav nav-tabs"},[a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link active",attrs:{href:"#hands","data-toggle":"tab"}},[this._v("Hands")])]),this._v(" "),a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"#pattern","data-toggle":"tab"}},[this._v("Pattern")])])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"dt6"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"dt6fancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"1-Day Dragon Tiger",gameType:"dt6",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table dt1day"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"dt1dayfancy"},[t("div",{staticClass:"casino-box-row dragonfancy"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"float-left mr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo0"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo0"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])]),a._v(" "),t("b",[a._v(a._s(a.main[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name text-center w-100"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-box-row pairfancy"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"float-left mr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{size: fancy[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{size: fancy[0].max}"}]})])]),a._v(" "),t("b",[a._v(a._s(a.fancy[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[0].b))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name text-center w-100"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{sid: fancy[0].sid, subid: 0}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-box-row tigerfancy"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"float-left mr-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])]),a._v(" "),t("b",[a._v(a._s(a.main[1].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name text-center w-100"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container mt-2"},[t("div",{staticClass:"teen1dayleft"},[t("div",[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[1].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[2].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[3].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[4].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Even")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{sid: fancy[1].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Odd")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{sid: fancy[2].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{sid: fancy[4].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{sid: fancy[3].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row casino-odds"},[t("div",{staticClass:"text-center w-100"},[t("span",{staticClass:"float-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[1].min},expression:"{size: fancy[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[1].max},expression:"{size: fancy[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"mt-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{sid: fancy[5].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{sid: fancy[6].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[8].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[8].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[8].sid,subid:0},expression:"{sid: fancy[8].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{sid: fancy[7].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row casino-odds"},[t("div",{staticClass:"text-center w-100"},[t("span",{staticClass:"float-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[5].min},expression:"{size: fancy[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[5].max},expression:"{size: fancy[5].max}"}]})])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[9].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[10].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[11].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[12].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[9].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Even")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[9].sid,subid:0},expression:"{sid: fancy[9].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[10].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v("Odd")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[10].sid,subid:0},expression:"{sid: fancy[10].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[11].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[11].sid,subid:0},expression:"{sid: fancy[11].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.fancy[12].gstatus}},[t("div",{staticClass:"back casino-bl-box-item casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[12].sid,subid:0},expression:"{sid: fancy[12].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row casino-odds"},[t("div",{staticClass:"text-center w-100"},[t("span",{staticClass:"float-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[9].min},expression:"{size: fancy[9].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[9].max},expression:"{size: fancy[9].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"mt-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[13].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[13].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[13].sid,subid:0},expression:"{sid: fancy[13].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[14].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[14].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[14].sid,subid:0},expression:"{sid: fancy[14].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[16].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[16].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[16].sid,subid:0},expression:"{sid: fancy[16].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[15].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[15].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[15].sid,subid:0},expression:"{sid: fancy[15].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row casino-odds"},[t("div",{staticClass:"text-center w-100"},[t("span",{staticClass:"float-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[13].min},expression:"{size: fancy[13].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[13].max},expression:"{size: fancy[13].max}"}]})])])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row casino-odds casino-title"},[a("div",{staticClass:"text-left w-100"},[a("b",{staticClass:"text-playera"},[this._v("Dragon")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row casino-odds casino-title"},[a("div",{staticClass:"text-left w-100"},[a("b",{staticClass:"text-playerb"},[this._v("Tiger")])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e={mounted:function(){},components:{DragonTigerT20:s(128).a},data:function(){return{}},methods:{},beforeDestroy:function(){}},i=s(1),n=Object(i.a)(e,(function(){return(0,this._self._c)("DragonTigerT20",{attrs:{gtype:"dt202"}})}),[],!1,null,null,null);t.a=n.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={props:["gtype"],mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.gtype&&"dt202"==this.gtype&&(this.gameType=this.gtype,this.gameTitle="20-20 Dragon Tiger - 2"),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"20-20 D T L",gameType:"dtl20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table dtl20"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[2==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])])]:3==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]:6==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})])])]:7==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})])])]:8==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})])])]:9==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})])])]:[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[s-1].nat.split(" ")[0]))])])],a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-l-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-l-".concat(e)}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s-1].min},expression:"{size: main[i-1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s-1].max},expression:"{size: main[i-1].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+17].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+17].sid,subid:0},expression:"{sid: main[i+17].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+35].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+35].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+35].sid,subid:0},expression:"{sid: main[i+35].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])],2)]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[7==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:8==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:9==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s+4,".png")}})]],2)]),a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-r-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-r-".concat(e)}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+8].min},expression:"{size: main[i+8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+8].max},expression:"{size: main[i+8].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+8].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+8].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+8].sid,subid:0},expression:"{sid: main[i+8].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+26].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+26].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+26].sid,subid:0},expression:"{sid: main[i+26].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+44].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+44].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+44].sid,subid:0},expression:"{sid: main[i+44].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0")])])])])]}))],2)])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"d-none-big"},[a._m(2),a._v(" "),t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"dragon"}},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[2==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])])]:3==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]:6==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})])])]:7==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})])])]:8==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})])])]:9==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})])])]:[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[s-1].nat.split(" ")[0]))])])],a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-l-d-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-l-d-".concat(e)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s-1].min},expression:"{size: main[i-1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s-1].max},expression:"{size: main[i-1].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}]},[a._v("0")])])])],2)]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[7==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:8==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:9==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s+4,".png")}})]],2)]),a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-r-d-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-r-d-".concat(e)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+8].min},expression:"{size: main[i+8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+8].max},expression:"{size: main[i+8].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+8].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+8].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+8].sid,subid:0},expression:"{sid: main[i+8].sid, subid: 0}"}]},[a._v("0")])])])])]}))],2)])]),a._v(" "),t("div",{staticClass:"tab-pane",attrs:{id:"tiger"}},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[2==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])])]:3==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]:6==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})])])]:7==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})])])]:8==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})])])]:9==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})])])]:[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[s+17].nat.split(" ")[0]))])])],a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-l-t-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-l-t-".concat(e)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+17].min},expression:"{size: main[i+17].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+17].max},expression:"{size: main[i+17].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+17].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+17].sid,subid:0},expression:"{sid: main[i+17].sid, subid: 0}"}]},[a._v("0")])])])],2)]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[7==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:8==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:9==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s+4,".png")}})]],2)]),a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-r-t-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-r-t-".concat(e)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+26].min},expression:"{size: main[i+26].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+26].max},expression:"{size: main[i+26].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+26].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+26].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+26].sid,subid:0},expression:"{sid: main[i+26].sid, subid: 0}"}]},[a._v("0")])])])])]}))],2)])]),a._v(" "),t("div",{staticClass:"tab-pane",attrs:{id:"lion"}},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[2==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])])]:3==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]:6==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})])])]:7==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}})])])]:8==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}})])])]:9==s?[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}})])])]:[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[s+35].nat.split(" ")[0]))])])],a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-l-l-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-l-l-".concat(e)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+35].min},expression:"{size: main[i+35].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+35].max},expression:"{size: main[i+35].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+35].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+35].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+35].sid,subid:0},expression:"{sid: main[i+35].sid, subid: 0}"}]},[a._v("0")])])])],2)]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._l(9,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[7==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:8==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:9==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s+4,".png")}})]],2)]),a._v(" "),t("div",{staticClass:"float-right dtl20info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-r-l-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-r-l-".concat(e)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+44].min},expression:"{size: main[i+44].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+44].max},expression:"{size: main[i+44].max}"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s+44].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+44].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+44].sid,subid:0},expression:"{sid: main[i+44].sid, subid: 0}"}]},[a._v("0")])])])])]}))],2)])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row mb-0"},[a("div",{staticClass:"casino-nation-name no-border"},[a("div")]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("b",[this._v("D")])]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("b",[this._v("T")])]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("b",[this._v("L")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row mb-0 d-none-small"},[a("div",{staticClass:"casino-nation-name no-border"},[a("div")]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("b",[this._v("D")])]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("b",[this._v("T")])]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("b",[this._v("L")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-tabs"},[a("ul",{staticClass:"nav nav-tabs",attrs:{role:"tablist"}},[a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link active",attrs:{href:"#dragon","data-toggle":"tab"}},[this._v("Dragon")])]),this._v(" "),a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"#tiger","data-toggle":"tab"}},[this._v("Tiger")])]),this._v(" "),a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"#lion","data-toggle":"tab"}},[this._v("Lion")])])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"aaa"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"aaafancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"aaa",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table aaa"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"dealer-name"},[a._v("Cards")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"row row5 d-none-small"},[t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"casino-nation-name casino-book"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"casino-nation-name casino-book"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[2].sid},expression:"{ sid: main[2].sid }"}],staticClass:"casino-nation-name casino-book"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-12"},[t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"row row5 d-none-big"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("A. Amar")]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("B. Akbar")]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("C. Anthony")]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[2].sid},expression:"{ sid: main[2].sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].l))])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})])])])],a._v(" "),t("div",{staticClass:"row row5 aaa-oe"},[t("div",{staticClass:"col-lg-4 col-12"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[0].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[1].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Even")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{ sid: fancy[0].sid, subid: 0 }"}],staticClass:"casino-book text-center"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Odd")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{ sid: fancy[1].sid, subid: 0 }"}],staticClass:"casino-book text-center"})])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{ size: fancy[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{ size: fancy[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"col-lg-4 col-12"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[2].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[3].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}],staticClass:"casino-book text-center"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}],staticClass:"casino-book text-center"})])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{ size: fancy[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{ size: fancy[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"col-lg-4 col-12"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[17].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[18].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Under 7")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[17].sid,subid:0},expression:"{ sid: fancy[17].sid, subid: 0 }"}],staticClass:"casino-book text-center"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[18].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Over 7")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[18].sid,subid:0},expression:"{ sid: fancy[18].sid, subid: 0 }"}],staticClass:"casino-book text-center"})])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[17].min},expression:"{ size: fancy[17].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[17].max},expression:"{ size: fancy[17].max }"}]})])])])]),a._v(" "),t("div",{staticClass:"mt-2"},[t("div",{staticClass:"text-center w-100"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v(a._s(a.fancy[4].b))])])])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.fancy[s+3].gstatus}},[1==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]:11==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:12==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:13==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]],2),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[s+3].sid,subid:0},expression:"{ sid: fancy[i + 3].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])])]}))],2),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{ size: fancy[4].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{ size: fancy[4].max }"}]})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("A. Amar")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("B. Akbar")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("C. Anthony")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"aaa"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"aaafancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"aaa2",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table aaa"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"row row5 d-none-small"},[t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"casino-nation-name casino-book"},[a._v("\r\n                                            0\r\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"casino-nation-name casino-book"},[a._v("\r\n                                            0\r\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[2].sid},expression:"{sid: main[2].sid}"}],staticClass:"casino-nation-name casino-book"},[a._v("\r\n                                            0\r\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-12"},[t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"row row5 d-none-big"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("A. Amar")]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("B. Akbar")]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("C. Anthony")]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[2].sid},expression:"{sid: main[2].sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].l))])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])])],a._v(" "),t("div",{staticClass:"row row5 aaa-oe"},[t("div",{staticClass:"col-lg-4 col-12"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[0].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[1].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Even")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{sid: fancy[0].sid, subid: 0}"}],staticClass:"casino-book text-center"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Odd")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{sid: fancy[1].sid, subid: 0}"}],staticClass:"casino-book text-center"})])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{size: fancy[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{size: fancy[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"col-lg-4 col-12"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[2].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[3].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{sid: fancy[3].sid, subid: 0}"}],staticClass:"casino-book text-center"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{sid: fancy[2].sid, subid: 0}"}],staticClass:"casino-book text-center"})])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{size: fancy[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{size: fancy[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"col-lg-4 col-12"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[17].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[18].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Under 7")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[17].sid,subid:0},expression:"{sid: fancy[17].sid, subid: 0}"}],staticClass:"casino-book text-center"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[18].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Over 7")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[18].sid,subid:0},expression:"{sid: fancy[18].sid, subid: 0}"}],staticClass:"casino-book text-center"})])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[17].min},expression:"{size: fancy[17].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[17].max},expression:"{size: fancy[17].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"mt-2"},[t("div",{staticClass:"text-center w-100"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v(a._s(a.fancy[4].b))])])])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.fancy[s+3].gstatus}},[1==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]:11==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:12==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:13==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]],2),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[s+3].sid,subid:0},expression:"{sid: fancy[i+3].sid, subid: 0}"}],staticClass:"casino-book text-center"},[a._v("0")])])]}))],2),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{size: fancy[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{size: fancy[4].max}"}]})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                    View All\r\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("A. Amar")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("B. Akbar")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("C. Anthony")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"btable"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"btablefancy"});return this.orderBy(a,"sr")},fancy1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"btablefancy1"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Bollywood Casino",gameType:"btable",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",alphabets:["A","B","C","D","E","F"],userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table aaa"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"row row5 d-none-small"},[a._l(6,(function(s,e){return[t("div",{key:e,staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.alphabets[s-1])+". "+a._s(a.main[s-1].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[s-1].sid},expression:"{ sid: main[i - 1].sid }"}],staticClass:"casino-book text-center"},[a._v("\n                                                0\n                                            ")])])])]})),a._v(" "),t("div",{staticClass:"col-12"},[t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})])])])],2)]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"row row5 d-none-big"},[a._l(6,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(a.alphabets[s-1])+". "+a._s(a.main[s-1].nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[s-1].sid},expression:"{ sid: main[i - 1].sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus},on:{click:function(t){return a.setBetData(a.main[s-1].nat,a.main[s-1].b,a.mId,a.main[s-1].sid,a.main[s-1].subtype,0,"back",a.gameType,a.main[s-1].gstatus)}}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus},on:{click:function(t){return a.setBetData(a.main[s-1].nat,a.main[s-1].l,a.mId,a.main[s-1].sid,a.main[s-1].subtype,0,"lay",a.gameType,a.main[s-1].gstatus)}}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].l))])])])]})),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("Odd")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy1[0].sid,subid:0},expression:"{ sid: fancy1[0].sid, subid: 0 }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy1[0].gstatus},on:{click:function(t){return a.setBetData(a.fancy1[0].nat,a.fancy1[0].b,a.mId,a.fancy1[0].sid,a.fancy1[0].subtype,0,"back",a.gameType,a.fancy1[0].gstatus)}}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy1[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy1[0].gstatus},on:{click:function(t){return a.setBetData(a.fancy1[0].nat,a.fancy1[0].l,a.mId,a.fancy1[0].sid,a.fancy1[0].subtype,0,"lay",a.gameType,a.fancy1[0].gstatus)}}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy1[0].l))])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy1[0].min},expression:"{ size: fancy1[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy1[0].max},expression:"{ size: fancy1[0].max }"}]})])])],2)],a._v(" "),t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-lg-4 col-12 d-none-small"},[t("div",{staticClass:"casino-box-row"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy1[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy1[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy1[0].sid,subid:0},expression:"{ sid: fancy1[0].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("\n                                        0\n                                    ")]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy1[0].min},expression:"{ size: fancy1[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy1[0].max},expression:"{ size: fancy1[0].max }"}]})])])])]),a._v(" "),t("div",{staticClass:"col-lg-4 col-6 bc-fancy"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[6].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Dulha Dulhan K-Q")])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{ sid: fancy[6].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[6].min},expression:"{ size: fancy[6].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[6].max},expression:"{ size: fancy[6].max }"}]})])])]),a._v(" "),t("div",{staticClass:"col-lg-4 col-6 bc-fancy"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[7].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Barati J-A")])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{ sid: fancy[7].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[7].min},expression:"{ size: fancy[7].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[7].max},expression:"{ size: fancy[7].max }"}]})])])])]),a._v(" "),t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-lg-6 col-12 aaa-oe"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[0].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[1].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{ sid: fancy[0].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{ sid: fancy[1].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{ size: fancy[0].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{ size: fancy[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"col-lg-6 col-12"},[t("div",{staticClass:"text-center w-100"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Cards "+a._s(a.fancy[2].b))])])])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{ sid: fancy[4].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{ sid: fancy[5].sid, subid: 0 }"}],staticClass:"casino-book text-center"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container justify-content-end casino-min-max w-100"},[t("div",[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{ size: fancy[2].min }"}]}),a._v(" - "),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{ size: fancy[2].max }"}]})])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Odd")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"poker20"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Worli Matka",gameType:"worli",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table worli detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("\r\n                            Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Cards")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                            View All\r\n                        ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"poker20"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Instant Worli",gameType:"worli2",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table worli detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("\r\n                            Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Cards")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                            View All\r\n                        ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Casino War",gameType:"war",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table casino-war detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("\r\n                            Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("Card",{attrs:{card:a.cards[6]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"casino-war-container"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name no-border"}),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[0]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[1]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[2]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[3]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[4]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[5]}})],1)])]),a._v(" "),a._m(0),a._v(" "),a._l(9,(function(s,e){return t("div",{key:e,staticClass:"casino-box-row"},[0==e?t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Winner")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo0"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo0"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),1==e?t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/spade.png"}}),a._v(" "),t("img",{attrs:{src:a.imgPath+"admin/img/cards/club.png"}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo1"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),2==e?t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/heart.png"}}),a._v(" "),t("img",{attrs:{src:a.imgPath+"admin/img/cards/diamond.png"}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo2"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),3==e?t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Odd")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo3"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),4==e?t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Even")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo4"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),5==e?t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/spade.png"}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo5"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),6==e?t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/club.png"}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo6"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),7==e?t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/heart.png"}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo7"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),8==e?t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/diamond.png"}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#minmaxinfo8"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"minmaxinfo8"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[e].min},expression:"{ size: main[key].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[e].max},expression:"{ size: main[key].max }"}]},[a._v("0")])])])]):a._e(),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[e].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[e].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e].sid},expression:"{sid: main[key].sid}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[e+9].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[e+9].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+9].sid},expression:"{sid: main[key+9].sid}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[e+18].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[e+18].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+18].sid},expression:"{sid: main[key+18].sid}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[e+27].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[e+27].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+27].sid},expression:"{sid: main[key+27].sid}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[e+36].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[e+36].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+36].sid},expression:"{sid: main[key+36].sid}"}],staticClass:"casino-book"})])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.main[e+45].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[e+45].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+45].sid},expression:"{sid: main[key+45].sid}"}],staticClass:"casino-book"})])])])}))],2)])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-war-container casino-war-cards"},[a.cards&&a.cards.length?[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[0]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[1]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[2]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[3]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[4]}})],1)]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e()],2),a._v(" "),a._m(1),a._v(" "),t("div",{staticClass:"tab-content w-100"},[a._l(6,(function(s,e){return[t("div",{key:e,staticClass:"tab-pane",class:{active:0==e},attrs:{id:"tab".concat(s)}},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"casino-war-container"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[9*e].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e].min},expression:"{size: main[key*9].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e].max},expression:"{size: main[key*9].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e].sid,subid:0},expression:"{sid: main[key*9].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+1)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+1)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+1].min},expression:"{size: main[(key*9)+1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+1].max},expression:"{size: main[(key*9)+1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+1].sid,subid:0},expression:"{sid: main[(key*9)+1].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+2)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+2)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+2].min},expression:"{size: main[(key*9)+2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+2].max},expression:"{size: main[(key*9)+2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+2].sid,subid:0},expression:"{sid: main[(key*9)+2].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("b",[a._v(a._s(a.main[9*e+3].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+3)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+3)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+3].min},expression:"{size: main[(key*9)+3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+3].max},expression:"{size: main[(key*9)+3].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+3].sid,subid:0},expression:"{sid: main[(key*9)+3].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("b",[a._v(a._s(a.main[9*e+4].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+4)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+4)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+4].min},expression:"{size: main[(key*9)+4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+4].max},expression:"{size: main[(key*9)+4].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+4].sid,subid:0},expression:"{sid: main[(key*9)+4].sid, subid: 0}"}]},[a._v("0")])])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"casino-war-container"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+5)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+5)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+5].min},expression:"{size: main[(key*9)+5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+5].max},expression:"{size: main[(key*9)+5].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+5].sid,subid:0},expression:"{sid: main[(key*9)+5].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+6)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+6)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+6].min},expression:"{size: main[(key*9)+6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+6].max},expression:"{size: main[(key*9)+6].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+6].sid,subid:0},expression:"{sid: main[(key*9)+6].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+7)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+7)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+7].min},expression:"{size: main[(key*9)+7].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+7].max},expression:"{size: main[(key*9)+7].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+7].sid,subid:0},expression:"{sid: main[(key*9)+7].sid, subid: 0}"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-".concat(9*e+8)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-".concat(9*e+8)}},[a._v("\r\n                                                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[9*e+8].min},expression:"{size: main[(key*9)+8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[9*e+8].max},expression:"{size: main[(key*9)+8].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[9*e+8].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[9*e+8].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[9*e+8].sid,subid:0},expression:"{sid: main[(key*9)+8].sid, subid: 0}"}]},[a._v("0")])])])])])])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this,t=a._self._c;return t("div",{staticClass:"casino-box-row casino-war-title"},[t("div",{staticClass:"casino-nation-name no-border"}),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("1")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("2")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("3")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("4")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("5")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("6")])])])])},function(){var a=this,t=a._self._c;return t("div",{staticClass:"casino-tabs"},[t("ul",{staticClass:"nav nav-tabs"},[t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link active",attrs:{href:"#tab1","data-toggle":"tab"}},[a._v("1")])]),a._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"#tab2","data-toggle":"tab"}},[a._v("2")])]),a._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"#tab3","data-toggle":"tab"}},[a._v("3")])]),a._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"#tab4","data-toggle":"tab"}},[a._v("4")])]),a._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"#tab5","data-toggle":"tab"}},[a._v("5")])]),a._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"#tab6","data-toggle":"tab"}},[a._v("6")])])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{mainData:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"3 Cards Judgement",gameType:"3cardj",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table threecardj detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("\r\n                            Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("h4",{staticClass:"text-left text-white text-uppercase"},[a._v("Cards")]),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"threecardj-container"},[a._l(a.mainData,(function(s,e){return[t("div",{staticClass:"threecardj-bl-box",class:{back:0==e,lay:1==e}},[t("div",{staticClass:"threecardj-title"},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid},expression:"{sid: data.sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"threecardj-cards",class:{suspended:"OPEN"!=s.gstatus}},[t("div",{staticClass:"threecardj-odds text-center"},[t("b",[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},a._l(13,(function(a,s){return t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("Card",1==a?{attrs:{card:"A"}}:11==a?{attrs:{card:"J"}}:12==a?{attrs:{card:"Q"}}:13==a?{attrs:{card:"K"}}:{attrs:{card:a}})],1)])})),0),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[t("span",[a._v(a._s(a.casinoData.remark.split("|")[e]))])])])])]}))],2),a._v(" "),t("div",{staticClass:"text-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[0].min},expression:"{size: mainData[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[0].max},expression:"{size: mainData[0].max}"}]})]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{mainData:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Casino Meter",gameType:"cmeter",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},checkLowCards:function(a){if(1==a)return!1;if(3==a.length){var t=a.slice(0,1);if("a"==t.toLowerCase()||t<=9)return!0}},checkHighCards:function(a){if(1==a)return!1;var t;if(3==a.length&&("j"==(t=a.slice(0,1)).toLowerCase()||"k"==t.toLowerCase()||"q"==t.toLowerCase()))return!0;if(4==a.length&&"10"==(t=a.slice(0,2)))return!0}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table cmeter detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("\r\n                            Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.casinoData&&a.mainData.length>0&&""!=a.casinoData.card?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"text-center"},[t("b",{staticClass:"text-playerb"},[a._v(a._s(a.mainData[0].nat))]),a._v(" "),t("span",{staticClass:"text-success ml-2"},[a._v(a._s(a.casinoData.rdesc.split(",")[0]))])]),a._v(" "),t("div",{staticClass:"w-100"},[t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(a.casinoData.card.split(","),(function(s,e){return[a.checkLowCards(s,!0)?[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("Card",{attrs:{card:s}})],1)])]:a._e()]}))],2),a._v(" "),t("div",{staticClass:"casino-min-max"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[0].sid},expression:"{sid: mainData[0].sid}"}],staticClass:"casino-book"}),a._v(" "),t("span",{staticClass:"float-right"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[0].min},expression:"{size: mainData[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[0].max},expression:"{size: mainData[0].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"text-center"},[t("b",{staticClass:"text-playerb"},[a._v(a._s(a.mainData[1].nat))]),a._v(" "),t("span",{staticClass:"text-success ml-2"},[a._v(a._s(a.casinoData.rdesc.split(",")[1]))])]),a._v(" "),t("div",{staticClass:"w-100"},[t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(a.casinoData.card.split(","),(function(s,e){return[a.checkHighCards(s,!0)?[t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image"},[t("Card",{attrs:{card:s}})],1)])]:a._e()]}))],2),a._v(" "),t("div",{staticClass:"casino-min-max"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[1].sid},expression:"{sid: mainData[1].sid}"}],staticClass:"casino-book"}),a._v(" "),t("span",{staticClass:"float-right"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[1].min},expression:"{size: mainData[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[1].max},expression:"{size: mainData[1].max}"}]})])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5);function l(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return d(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function d(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var v={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{mainData:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"32 Cards A",gameType:"card32",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,playerCards:{p1:[],p2:[],p3:[],p4:[],winner:""},clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt"));var s,e=1,i={count:8,cards:[]},n={count:9,cards:[]},o={count:10,cards:[]},c={count:11,cards:[]},r=l(t.data.card.split(","));try{for(r.s();!(s=r.n()).done;){var d=s.value;e>4&&(e=1),"1"!=d&&(1==e&&(i.cards.push(d),i.count+=a.getCardValue(d)),2==e&&(n.cards.push(d),n.count+=a.getCardValue(d)),3==e&&(o.cards.push(d),o.count+=a.getCardValue(d)),4==e&&(c.cards.push(d),c.count+=a.getCardValue(d))),e++}}catch(a){r.e(a)}finally{r.f()}Vue.set(a.cards,"p1",i),Vue.set(a.cards,"p2",n),Vue.set(a.cards,"p3",o),Vue.set(a.cards,"p4",c),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getCardValue:function(a){var t=0;return"K"==(t=4==a.length?a.slice(0,2):a.slice(0,1))&&(t=13),"Q"==t&&(t=12),"J"==t&&(t=11),"A"==t&&(t=1),parseInt(t)},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table cards32a"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[a.cards.p1.cards&&a.cards.p1.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p1.count>=a.cards.p2.count&&a.cards.p1.count>=a.cards.p3.count&&a.cards.p1.count>=a.cards.p4.count}},[a._v("Player\n                                                8: ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p1.count))])]),a._v(" "),t("div",[a._l(a.cards.p1.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e(),a._v(" "),a.cards.p2.cards&&a.cards.p2.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p2.count>=a.cards.p1.count&&a.cards.p2.count>=a.cards.p3.count&&a.cards.p2.count>=a.cards.p4.count}},[a._v("Player\n                                                9: ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p2.count))])]),a._v(" "),t("div",[a._l(a.cards.p2.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e(),a._v(" "),a.cards.p3.cards&&a.cards.p3.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p3.count>=a.cards.p1.count&&a.cards.p3.count>=a.cards.p2.count&&a.cards.p3.count>=a.cards.p4.count}},[a._v("Player\n                                                10: ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p3.count))])]),a._v(" "),t("div",[a._l(a.cards.p3.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e(),a._v(" "),a.cards.p4.cards&&a.cards.p4.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p4.count>=a.cards.p1.count&&a.cards.p4.count>=a.cards.p2.count&&a.cards.p4.count>=a.cards.p3.count}},[a._v("Player\n                                                11: ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p4.count))])]),a._v(" "),t("div",[a._l(a.cards.p4.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e()])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.mainData[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.mainData[0].sid},expression:"{ sid: mainData[0].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo0"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo0"}},[a._v("\n                                                Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[0].min},expression:"{ size: mainData[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[0].max},expression:"{ size: mainData[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!==a.mainData[0].gstatus}},[t("div",{staticClass:"back casino-bl-box-item",attrs:{"data-toggle":"modal","data-target":"#casino-betslip"}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.mainData[1].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.mainData[1].sid},expression:"{ sid: mainData[1].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\n                                                Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[1].min},expression:"{ size: mainData[1].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[1].max},expression:"{ size: mainData[1].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!==a.mainData[1].gstatus}},[t("div",{staticClass:"back casino-bl-box-item",attrs:{"data-toggle":"modal","data-target":"#casino-betslip"}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[1].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.mainData[2].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.mainData[2].sid},expression:"{ sid: mainData[2].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\n                                                Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[2].min},expression:"{ size: mainData[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[2].max},expression:"{ size: mainData[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!==a.mainData[2].gstatus}},[t("div",{staticClass:"back casino-bl-box-item",attrs:{"data-toggle":"modal","data-target":"#casino-betslip"}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[2].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[2].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.mainData[3].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.mainData[3].sid},expression:"{ sid: mainData[3].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\n                                                Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[3].min},expression:"{ size: mainData[3].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[3].max},expression:"{ size: mainData[3].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!==a.mainData[3].gstatus}},[t("div",{staticClass:"back casino-bl-box-item",attrs:{"data-toggle":"modal","data-target":"#casino-betslip"}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[3].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.mainData[3].l))])])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5);function l(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return d(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function d(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var v={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"card32eufancy"});return this.orderBy(a,"sr")},fancy1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"card32eufancy1"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"32 Cards B",gameType:"card32eu",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){var s={count:8,cards:[]},e={count:9,cards:[]},i={count:10,cards:[]},n={count:11,cards:[]};a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.clock.setValue(_.get(a.casinoData,"lt"));var o,c=1,r=l(t.data.card.split(","));try{for(r.s();!(o=r.n()).done;){var d=o.value;c>4&&(c=1),"1"!=d&&(1==c&&(s.cards.push(d),s.count+=a.getCardValue(d)),2==c&&(e.cards.push(d),e.count+=a.getCardValue(d)),3==c&&(i.cards.push(d),i.count+=a.getCardValue(d)),4==c&&(n.cards.push(d),n.count+=a.getCardValue(d))),c++}}catch(a){r.e(a)}finally{r.f()}Vue.set(a.cards,"p1",s),Vue.set(a.cards,"p2",e),Vue.set(a.cards,"p3",i),Vue.set(a.cards,"p4",n),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getCardValue:function(a){var t=0;return"K"==(t=4==a.length?a.slice(0,2):a.slice(0,1))&&(t=13),"Q"==t&&(t=12),"J"==t&&(t=11),"A"==t&&(t=1),parseInt(t)},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table cards32b"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards.p1?t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||!a.cards.p1.cards.length}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[a.cards.p1.cards&&a.cards.p1.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p1.count>=a.cards.p2.count&&a.cards.p1.count>=a.cards.p3.count&&a.cards.p1.count>=a.cards.p4.count}},[a._v("Player 8:\n                    ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p1.count))])]),a._v(" "),t("div",[a._l(a.cards.p1.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e(),a._v(" "),a.cards.p2.cards&&a.cards.p2.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p2.count>=a.cards.p1.count&&a.cards.p2.count>=a.cards.p3.count&&a.cards.p2.count>=a.cards.p4.count}},[a._v("Player 9:\n                    ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p2.count))])]),a._v(" "),t("div",[a._l(a.cards.p2.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e(),a._v(" "),a.cards.p3.cards&&a.cards.p3.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p3.count>=a.cards.p1.count&&a.cards.p3.count>=a.cards.p2.count&&a.cards.p3.count>=a.cards.p4.count}},[a._v("Player 10:\n                    ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p3.count))])]),a._v(" "),t("div",[a._l(a.cards.p3.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e(),a._v(" "),a.cards.p4.cards&&a.cards.p4.cards.length?t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.cards.p4.count>=a.cards.p1.count&&a.cards.p4.count>=a.cards.p2.count&&a.cards.p4.count>=a.cards.p3.count}},[a._v("Player 11:\n                    ")]),a._v(" "),t("span",{staticClass:"text-warning"},[a._v(a._s(a.cards.p4.count))])]),a._v(" "),t("div",[a._l(a.cards.p4.cards,(function(a,s){return[t("Card",{key:s,attrs:{card:a}})]}))],2)]):a._e()])]):a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-winner-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-winner-".concat(e)}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{ size: data.min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{ size: data.max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])])]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 8")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-1"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{ size: fancy[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{ size: fancy[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{ sid: fancy[0].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{ sid: fancy[1].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 9")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-2"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{ size: fancy[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{ size: fancy[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 10")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-3"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{ size: fancy[4].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{ size: fancy[4].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{ sid: fancy[4].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{ sid: fancy[5].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 11")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-4"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[6].min},expression:"{ size: fancy[6].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[6].max},expression:"{ size: fancy[6].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{ sid: fancy[6].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{ sid: fancy[7].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])])])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container mt-4 d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(2),a._v(" "),a._l(a.fancy1,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(s.nat.replace("Three","3")))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:0},expression:"{ sid: data.sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-fancy1-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-fancy1-".concat(e)}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{ size: data.min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{ size: data.max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])])]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright right1"},[a._m(3),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[18].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[18].sid,subid:0},expression:"{ sid: fancy[18].sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-fancy-18"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-fancy-18"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[18].min},expression:"{ size: fancy[18].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[18].max},expression:"{ size: fancy[18].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[18].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[18].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[19].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[19].sid,subid:0},expression:"{ sid: fancy[19].sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-fancy-19"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-fancy-19"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[19].min},expression:"{ size: fancy[19].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[19].max},expression:"{ size: fancy[19].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[19].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[19].b))])])])])])]),a._v(" "),t("div",{staticClass:"text-center mt-4 d-none-small pr casino-cards-odds-title"},[t("b",[a._v(a._s(a.fancy[8].b))]),a._v(" "),t("div",{staticClass:"d-inline-block ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-single"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-single"}},[a._v("\n                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[8].min},expression:"{ size: fancy[8].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[8].max},expression:"{ size: fancy[8].max }"}]})])])]),a._v(" "),t("div",{staticClass:"d-none-small cards32bextra mt-1"},[t("div",{staticClass:"casino-bl-box"},[a._l(10,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.fancy[e+8].gstatus}},[t("span",{staticClass:"casino-box-odd"},10==s?[a._v("0")]:[a._v(a._s(s))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[e+8].sid,subid:0},expression:"{ sid: fancy[key + 8].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("\n                        0\n                      ")])])]}))],2)])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[a._m(4),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"d-block w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-winner-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-winner-".concat(e)}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{ size: data.min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{ size: data.max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])])]})),a._v(" "),a._m(5),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 8")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-1"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{ size: fancy[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{ size: fancy[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{ sid: fancy[0].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{ sid: fancy[1].sid, subid: 0 }"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 9")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-2"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{ size: fancy[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{ size: fancy[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 10")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-3"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{ size: fancy[4].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{ size: fancy[4].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{ sid: fancy[4].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{ sid: fancy[5].sid, subid: 0 }"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player 11")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-odd-evan-4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-odd-evan-4"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[6].min},expression:"{ size: fancy[6].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[6].max},expression:"{ size: fancy[6].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{ sid: fancy[6].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{ sid: fancy[7].sid, subid: 0 }"}]},[a._v("0")])])])]),a._v(" "),a._m(6),a._v(" "),a._l(a.fancy1,(function(s,e){return[t("div",{key:"fancy1-".concat(e),staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("b",[a._v(a._s(s.nat.replace("Three","3")))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"d-block w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-fancy1-".concat(e)}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-fancy1-".concat(e)}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{ size: data.min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{ size: data.max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])])]})),a._v(" "),a._m(7),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("b",[a._v(a._s(a.fancy[18].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[18].sid,subid:0},expression:"{ sid: fancy[18].sid, subid: 0 }"}],staticClass:"d-block w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-fancy-18"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-fancy-18"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[18].min},expression:"{ size: fancy[18].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[18].max},expression:"{ size: fancy[18].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[18].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[18].b))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[18].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[18].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",[t("b",[a._v(a._s(a.fancy[19].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[19].sid,subid:0},expression:"{ sid: fancy[19].sid, subid: 0 }"}],staticClass:"d-block w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-fancy-19"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-fancy-19"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[19].min},expression:"{ size: fancy[19].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[19].max},expression:"{ size: fancy[19].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[19].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[19].b))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[19].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[19].l))])])])]),a._v(" "),t("div",{staticClass:"text-center w-100 pr casino-cards-odds-title"},[t("b",[a._v(a._s(a.fancy[8].b))]),a._v(" "),t("div",{staticClass:"d-inline-block ml-1 float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo-single"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo-single"}},[a._v("\n                      R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[8].min},expression:"{ size: fancy[8].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[8].max},expression:"{ size: fancy[8].max }"}]})])])]),a._v(" "),t("div",{staticClass:"cards32bextra"},[t("div",{staticClass:"casino-bl-box"},[a._l(10,(function(s,e){return[t("div",{key:"single-".concat(e),staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.fancy[e+8].gstatus}},[t("span",{staticClass:"casino-box-odd"},10==s?[a._v("0")]:[a._v(a._s(s))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[e+8].sid,subid:0},expression:"{ sid: fancy[key + 8].sid, subid: 0 }"}]},[a._v("0")])])]}))],2)])],2)],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                View All\n              ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row mb-0"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row mb-0"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Odd")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Even")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row mb-0"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row mb-0"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Odd")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Even")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"})]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])])])}],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4);function l(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return d(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function d(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var v={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Queen",gameType:"queen",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,playersCards:{p1:null,p2:null,p3:null,p4:null},clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){if(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),null!=a.casinoData){var s,e=[],i=[],n=[],o=[],c=1,r=0,d=0,v=0,m=0,u=l(a.cards);try{for(u.s();!(s=u.n()).done;){var p=s.value;c>4&&(c=1),"1"!=p&&(1==c&&(e.push(p),"Q"==p.charAt(0)?r+=12:1!=parseInt(p.charAt(0))&&(r+=parseInt(p.charAt(0)))),2==c&&(i.push(p),"Q"==p.charAt(0)?d+=12:1!=parseInt(p.charAt(0))&&(d+=parseInt(p.charAt(0)))),3==c&&(n.push(p),"Q"==p.charAt(0)?v+=12:1!=parseInt(p.charAt(0))&&(v+=parseInt(p.charAt(0)))),4==c&&(o.push(p),"Q"==p.charAt(0)?m+=12:1!=parseInt(p.charAt(0))&&(m+=parseInt(p.charAt(0))))),c++}}catch(a){u.e(a)}finally{u.f()}Vue.set(a.playersCards,"p1",e),Vue.set(a.playersCards,"p2",i),Vue.set(a.playersCards,"p3",n),Vue.set(a.playersCards,"p4",o),d=d>0?d+1:d,v=v>0?v+2:v,m=m>0?m+3:m,Vue.set(a.playersCards,"p1Total",r),Vue.set(a.playersCards,"p2Total",d),Vue.set(a.playersCards,"p3Total",v),Vue.set(a.playersCards,"p4Total",m)}1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table casino-queen"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("\n                Round ID: "+a._s(a.casinoData.mid)+"\n              ")])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.playersCards.p1Total>=a.playersCards.p2Total&&a.playersCards.p1Total>=a.playersCards.p3Total&&a.playersCards.p1Total>=a.playersCards.p4Total}},[a._v(a._s(a.main[0].nat)+":\n                      ")]),a._v(" "),t("span",{staticClass:"text-warning ml-1"},[a._v(a._s(a.playersCards.p1Total))])]),a._v(" "),t("div",[a._l(a.playersCards.p1,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.playersCards.p2Total>=a.playersCards.p1Total&&a.playersCards.p2Total>=a.playersCards.p3Total&&a.playersCards.p2Total>=a.playersCards.p4Total}},[a._v(a._s(a.main[1].nat)+":\n                      ")]),a._v(" "),t("span",{staticClass:"text-warning ml-1"},[a._v(a._s(a.playersCards.p2Total))])]),a._v(" "),t("div",[a._l(a.playersCards.p2,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.playersCards.p3Total>=a.playersCards.p1Total&&a.playersCards.p3Total>=a.playersCards.p2Total&&a.playersCards.p3Total>=a.playersCards.p4Total}},[a._v(a._s(a.main[2].nat)+":\n                      ")]),a._v(" "),t("span",{staticClass:"text-warning ml-1"},[a._v(a._s(a.playersCards.p3Total))])]),a._v(" "),t("div",[a._l(a.playersCards.p3,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",{class:{"text-success":a.playersCards.p4Total>=a.playersCards.p1Total&&a.playersCards.p4Total>=a.playersCards.p2Total&&a.playersCards.p4Total>=a.playersCards.p3Total}},[a._v(a._s(a.main[3].nat)+":\n                      ")]),a._v(" "),t("span",{staticClass:"text-warning ml-1"},[a._v(a._s(a.playersCards.p4Total))])]),a._v(" "),t("div",[a._l(a.playersCards.p4,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"queen-box"},[t("div",{staticClass:"row"},a._l(a.main,(function(s,e){return t("div",{staticClass:"col-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(s.nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=s.gstatus}},[t("div",{staticClass:"back casino-bl-box-item",attrs:{"data-toggle":"modal","data-target":"#casino-betslip"}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"casino-book text-danger"})])])])})),0)])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"row row5 d-none-big"},[a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)],a._v(" "),t("div",{staticClass:"col-12 text-right casino-min-max"},[a._v("\n              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                  View All\n                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{mainData:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Cricket Match 20-20",gameType:"cmatch20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table cricket20 detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("\r\n                            Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("Card",{attrs:{card:a.cards[0]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen20casino-container"},[t("div",{staticClass:"teen20left"},[a._l(5,(function(s,e){return[t("div",{staticClass:"score-box"},[a._m(0,!0),a._v(" "),t("div",{staticClass:"ball-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/ball").concat(e+2,".png")}})]),a._v(" "),t("div",{staticClass:"blbox",class:{suspended:"OPEN"!=a.mainData[e].gstatus}},[t("div",{staticClass:"back"},[t("span",{staticClass:"odds d-block"},[a._v(a._s(a.mainData[e].b))])]),a._v(" "),t("div",{staticClass:"lay"},[t("span",{staticClass:"odds d-block"},[a._v(a._s(a.mainData[e].l))])])]),a._v(" "),t("div",{staticClass:"c20minmax"},[t("i",{staticClass:"fas fa-info-circle float-right collapsed",attrs:{"data-toggle":"collapse","data-target":"#minmax"+e,"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"minmax"+e}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[e].min},expression:"{size: mainData[key].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[e].max},expression:"{size: mainData[key].max}"}]})])])])]}))],2),a._v(" "),t("div",{staticClass:"teen20right"},[a._l(4,(function(s,e){return[t("div",{staticClass:"score-box"},[a._m(1,!0),a._v(" "),t("div",{staticClass:"ball-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/balls/ball").concat(e+7,".png")}})]),a._v(" "),t("div",{staticClass:"blbox",class:{suspended:"OPEN"!=a.mainData[e+5].gstatus}},[t("div",{staticClass:"back"},[t("span",{staticClass:"odds d-block"},[a._v(a._s(a.mainData[e+5].b))])]),a._v(" "),t("div",{staticClass:"lay"},[t("span",{staticClass:"odds d-block"},[a._v(a._s(a.mainData[e+5].l))])])]),a._v(" "),t("div",{staticClass:"c20minmax"},[t("i",{staticClass:"fas fa-info-circle float-right collapsed",attrs:{"data-toggle":"collapse","data-target":"#minmaxr"+e,"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"minmaxr"+e}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[e+5].min},expression:"{size: mainData[key+5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[e+5].max},expression:"{size: mainData[key+5].max}"}]})])])])]}))],2)]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"team-score"},[a("div"),this._v(" "),a("div")])},function(){var a=this._self._c;return a("div",{staticClass:"team-score"},[a("div"),this._v(" "),a("div")])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults(),setTimeout((function(){$("#andarSlider, #baharSlider").owlCarousel({rtl:!0,loop:!1,margin:0,slideBy:4,nav:!0,responsiveClass:!0,dots:!1,responsive:{0:{items:3},320:{items:3},768:{items:4}}})}),1e3)},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Andar Bahar",gameType:"ab20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",andarAllSlider:[],baharAllSlider:[],andarAllLength:0,baharAllLength:0,andarAll:[],baharAll:[],clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){this.baharAllSlider.length>0&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),""!=a.casinoData.ares?a.andarAll=a.casinoData.ares.split(","):a.andarAll=[],""!=a.casinoData.bres?a.baharAll=a.casinoData.bres.split(","):a.baharAll=[],""!=a.casinoData.aall?a.andarAllSlider=a.casinoData.aall.split(",").reverse():a.andarAllSlider=[],""!=a.casinoData.ball?a.baharAllSlider=a.casinoData.ball.split(",").reverse():a.baharAllSlider=[];var s="";a.andarAllSlider.length>0?(a.andarAllSlider.forEach((function(t){var e="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");s+='<div class="item"><span><img src="'.concat(e,'"></span></div>')})),$("#andarSlider").trigger("replace.owl.carousel",s).trigger("refresh.owl.carousel"),a.andarAllLength=a.andarAllSlider.length):($("#andarSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.andarAllLength=0);var e="";a.baharAllSlider.length>0?(a.baharAllSlider.forEach((function(t){var s="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");e+='<div class="item"><span><img src="'.concat(s,'"></span></div>')})),$("#baharSlider").trigger("replace.owl.carousel",e).trigger("refresh.owl.carousel"),a.baharAllLength=a.baharAllSlider.length):($("#baharSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.baharAllLength=0),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table andar-bahar"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||!a.baharAllSlider.length>0}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards()}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),a._m(0)]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"ab-bg"},[t("div",{staticClass:"andar-cards-box text-center"},[t("h5",{staticClass:"w-100 text-center text-playera"},[a._v("\r\n                                    Andar\r\n                                    "),t("div",{staticClass:"casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]},[a._v("0")])])]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:"andar-".concat(e),staticClass:"casino-card-item"},[13==a.andarAll.length?[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(a.andarAll[e],".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e].sid,subid:0},expression:"{sid: main[key].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                            ")])]:[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(s,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e].sid,subid:0},expression:"{sid: main[key].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                            ")])]],2)]}))],2),a._v(" "),t("div",{staticClass:"bahar-cards-box text-center"},[t("h5",{staticClass:"w-100 text-center text-playerb"},[a._v("\r\n                                    Bahar\r\n                                    "),t("div",{staticClass:"casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]},[a._v("0")]),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]},[a._v("0")])])]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:"bahar-".concat(e),staticClass:"casino-card-item"},[13==a.baharAll.length?[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(a.baharAll[e],".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+13].sid,subid:0},expression:"{sid: main[key+13].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                            ")])]:[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(s,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[e+13].sid,subid:0},expression:"{sid: main[key+13].sid, subid: 0}"}],staticClass:"casino-book"},[a._v("0\r\n                                            ")])]],2)]}))],2)]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-video-cards-container"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}}),this._v(" "),a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}})])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults(),setTimeout((function(){$("#andarSlider, #baharSlider").owlCarousel({rtl:!0,loop:!1,margin:10,slideBy:4,nav:!0,responsiveClass:!0,dots:!1,responsive:{0:{items:3},320:{items:3},768:{items:4}}})}),1e3)},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Andar Bahar 2",gameType:"abj",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),a.andarAllSlider=[],a.baharAllSlider=[],a.cards.forEach((function(t,s){1!=t&&s>2&&(s%2!=0?a.baharAllSlider.push(t):a.andarAllSlider.push(t))}));var s="";a.andarAllSlider.length>0?(a.andarAllSlider.reverse().forEach((function(t){var e="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");s+='<div class="item"><span><img src="'.concat(e,'"></span></div>')})),$("#andarSlider").trigger("replace.owl.carousel",s).trigger("refresh.owl.carousel")):($("#andarSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.andarAllLength=0);var e="";a.baharAllSlider.length>0?(a.baharAllSlider.reverse().forEach((function(t){var s="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");e+='<div class="item"><span><img src="'.concat(s,'"></span></div>')})),$("#baharSlider").trigger("replace.owl.carousel",e).trigger("refresh.owl.carousel")):($("#baharSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.baharAllLength=0),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;1==this.callBookApi&&(this.userExp=this.$store.state.user.exp,e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table andar-bahar2"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards d-none-small",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"row row5 align-items-center"},[a._m(0),a._v(" "),t("div",{staticClass:"col-2"},[t("span",[t("img",{staticClass:"card-right",attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[0]+".png"}})])]),a._v(" "),t("div",{staticClass:"col-9"},[t("div",{staticClass:"card-inner mb-1"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-3"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[2]+".png"}})])]),a._v(" "),a._m(1)])]),a._v(" "),t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-3"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[1]+".png"}})])]),a._v(" "),a._m(2)])])])])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isMobile?t("div",{staticClass:"casino-video-cards d-none-desktop"},[t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"row row5 align-items-center"},[a._m(3),a._v(" "),t("div",{staticClass:"col-2"},[t("span",[t("img",{staticClass:"card-right",attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[0]+".png"}})])]),a._v(" "),t("div",{staticClass:"col-9"},[t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-3"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[2]+".png"}})])]),a._v(" "),a._m(4)])]),a._v(" "),t("div",{staticClass:"card-inner"},[t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-3"},[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/"+a.cards[1]+".png"}})])]),a._v(" "),a._m(5)])])])])])]):a._e(),a._v(" "),t("div",{staticClass:"teen20casino-container"},[t("div",{staticClass:"teen20left"},[t("div",{staticClass:"ab2-title"},[a._v("A")]),a._v(" "),t("div",{staticClass:"sa-sb-box",class:{suspended:"OPEN"!==a.main[0].gstatus}},[t("div",[a._v(a._s(a.main[0].nat))]),a._v(" "),t("div",[a._v(a._s(a.main[0].b))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"ab-book"})]),a._v(" "),t("div",{staticClass:"ab2-bet",class:{suspended:"OPEN"!==a.main[1].gstatus}},[t("div",[a._v(a._s(a.main[1].nat))]),a._v(" "),t("div",[a._v(a._s(a.main[1].b))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"ab-book"})]),a._v(" "),t("div",{staticClass:"ab2-bet",class:{suspended:"OPEN"!==a.main[2].gstatus}},[t("div",[a._v(a._s(a.main[2].nat))]),a._v(" "),t("div",[a._v(a._s(a.main[2].b))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[2].sid},expression:"{sid: main[2].sid}"}],staticClass:"ab-book"})]),a._v(" "),t("div",{staticClass:"ab2-title"},[a._v("A")])]),a._v(" "),t("div",{staticClass:"teen20center"}),a._v(" "),t("div",{staticClass:"teen20right"},[t("div",{staticClass:"ab2-title"},[a._v("B")]),a._v(" "),t("div",{staticClass:"sa-sb-box",class:{suspended:"OPEN"!==a.main[3].gstatus}},[t("div",[a._v(a._s(a.main[3].nat))]),a._v(" "),t("div",[a._v(a._s(a.main[3].b))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[3].sid},expression:"{sid: main[3].sid}"}],staticClass:"ab-book"})]),a._v(" "),t("div",{staticClass:"ab2-bet",class:{suspended:"OPEN"!==a.main[4].gstatus}},[t("div",[a._v(a._s(a.main[4].nat))]),a._v(" "),t("div",[a._v(a._s(a.main[4].b))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[4].sid},expression:"{sid: main[4].sid}"}],staticClass:"ab-book"})]),a._v(" "),t("div",{staticClass:"ab2-bet",class:{suspended:"OPEN"!==a.main[5].gstatus}},[t("div",[a._v(a._s(a.main[5].nat))]),a._v(" "),t("div",[a._v(a._s(a.main[5].b))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[5].sid},expression:"{sid: main[5].sid}"}],staticClass:"ab-book"})]),a._v(" "),t("div",{staticClass:"ab2-title"},[a._v("B")])])]),a._v(" "),t("div",{staticClass:"teen20casino-container"},[t("div",{staticClass:"teen20left ab2oddeven"},[a._m(6),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!==a.main[23].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[23].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[23].sid},expression:"{sid: main[23].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!==a.main[24].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[24].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[24].sid},expression:"{sid: main[24].sid}"}],staticClass:"casino-book"})])])]),a._v(" "),t("div",{staticClass:"teen20center"}),a._v(" "),t("div",{staticClass:"teen20left ab2cards"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/spade.png"}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/heart.png"}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/club.png"}})])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-card-img"},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/diamond.png"}})])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!==a.main[19].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[19].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[19].sid},expression:"{sid: main[19].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!==a.main[21].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[21].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[21].sid},expression:"{sid: main[21].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!==a.main[20].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[20].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[20].sid},expression:"{sid: main[20].sid}"}],staticClass:"casino-book"})]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!==a.main[22].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[22].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[22].sid},expression:"{sid: main[22].sid}"}],staticClass:"casino-book"})])])])]),a._v(" "),t("div",{staticClass:"teen20casino-container ab2allcards"},[t("div",{staticClass:"text-center w-100"},[t("div",{staticClass:"casino-bl-box casino-cards-odds-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v(a._s(a.main[6].b))])])])]),a._v(" "),t("div",{staticClass:"casino-cards text-center mt-1"},a._l(13,(function(s){return t("div",{staticClass:"casino-card-item"},[t("div",{staticClass:"card-image",class:{suspended:"OPEN"!==a.main[s+5].gstatus}},[t("img",1==s?{attrs:{src:a.imgPath+"admin/img/cards/A.png"}}:11==s?{attrs:{src:a.imgPath+"admin/img/cards/J.png"}}:12==s?{attrs:{src:a.imgPath+"admin/img/cards/Q.png"}}:13==s?{attrs:{src:a.imgPath+"admin/img/cards/K.png"}}:{attrs:{src:a.imgPath+"admin/img/cards/"+s+".png"}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+5].sid},expression:"{sid: main[n+5].sid}"}],staticClass:"casino-book"},[a._v("0")])])})),0)]),a._v(" "),t("div",{staticClass:"text-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                View All\r\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"col-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12 mb-3"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"col-9"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}})])},function(){var a=this._self._c;return a("div",{staticClass:"col-9"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}})])},function(){var a=this._self._c;return a("div",{staticClass:"col-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"col-9"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSliderMob"}})])},function(){var a=this._self._c;return a("div",{staticClass:"col-9"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSliderMob"}})])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-bl-box"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Odd")])])]),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Even")])])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen6"});return this.orderBy(a,"sr")},oddEven:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"oddeven"==a.subtype&&1==a.visible})),t=this.orderBy(a,"sr");return t.forEach((function(a){a.odds=_.orderBy(a.odds,"sno")})),t},suit:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"suit"==a.subtype&&1==a.visible}));return this.orderBy(a,"sr")},underover:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"uo"});return this.orderBy(a,"sr")},cardsdata:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"cards"==a.subtype&&1==a.visible}));return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Teenpatti 2.0",gameType:"teen6",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti2"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"d-none-small"},[a._v("Main")]),a._v(" "),t("b",{staticClass:"d-none-big"},[a._v("Player A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"d-none-small"},[a._v("Main")]),a._v(" "),t("b",{staticClass:"d-none-big"},[a._v("Player B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range2","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range2"}},[a._v("\n                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{ size: main[1].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{ size: main[1].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])]),a._v(" "),t("div",{staticClass:"teen2uo"},[t("div",{staticClass:"teen1dayleft"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Under 21")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[0].sid,subid:0},expression:"{ sid: underover[0].sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range3","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range3"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.underover[0].min},expression:"{ size: underover[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.underover[0].max},expression:"{ size: underover[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[0].b))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Over 22")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[1].sid,subid:0},expression:"{ sid: underover[1].sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range4","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range4"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.underover[1].min},expression:"{ size: underover[1].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.underover[1].max},expression:"{ size: underover[1].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[1].b))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(3),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Under 21")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[2].sid,subid:0},expression:"{ sid: underover[2].sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range5","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range5"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.underover[2].min},expression:"{ size: underover[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.underover[2].max},expression:"{ size: underover[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[2].b))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Over 22")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[3].sid,subid:0},expression:"{ sid: underover[3].sid, subid: 0 }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range6","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range6"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.underover[3].min},expression:"{ size: underover[3].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.underover[3].max},expression:"{ size: underover[3].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[3].b))])])])])])])]),a._v(" "),t("div",{staticClass:"tee2suit mt-1"},[t("div",{staticClass:"casino-bl-box tee2suitheader"},[a._l(a.orderBy(a.suit[0].odds,"sno"),(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box-item casino-card-img"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])])]}))],2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[a._l(a.orderBy(a.suit[0].odds,"sno"),(function(s,e){return[t("div",{key:"suit"+e,staticClass:"casino-bl-box-item back casino-card-img",class:{suspended:"OPEN"!=a.suit[0].gstatus}},[0==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}):a._e(),a._v(" "),1==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}):a._e(),a._v(" "),2==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}}):a._e(),a._v(" "),3==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}}):a._e(),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.suit[0].sid,subid:s.sid},expression:"{ sid: suit[0].sid, subid: odds.sid }"}],staticClass:"casino-book"},[a._v("0")])])]}))],2),a._v(" "),t("div",{staticClass:"casino-min-max text-right mt-4"},[a._v("\n                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.suit[0].min},expression:"{ size: suit[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.suit[0].max},expression:"{ size: suit[0].max }"}]})])]),a._v(" "),t("div",{staticClass:"row row5 mt-3"},[t("div",{staticClass:"col-12 col-lg-4"},[t("div",{staticClass:"teen2eo"},[t("div",{staticClass:"casino-bl-box tee2eoheader"},[a._l(a.oddEven[0].odds,(function(s,e){return[t("div",{key:"oddevenods"+e,staticClass:"casino-bl-box-item casino-card-img"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])])]}))],2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[a._l(a.oddEven[0].odds,(function(s,e){return[t("div",{key:"oddeven"+e,staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.oddEven[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.oddEven[0].sid,subid:s.sid},expression:"{ sid: oddEven[0].sid, subid: odds.sid }"}],staticClass:"casino-book"},[a._v("0")])])]}))],2)]),a._v(" "),t("div",{staticClass:"casino-min-max text-right mt-3"},[a._v("\n                  R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.oddEven[0].min},expression:"{ size: oddEven[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.oddEven[0].max},expression:"{ size: oddEven[0].max }"}]})])]),a._v(" "),t("div",{staticClass:"col-12 col-lg-8"},[t("div",{staticClass:"teen2cards"},[t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(a.cardsdata[0].odds,(function(s,e){return[t("div",{key:"cards"+e,staticClass:"casino-card-item"},[t("div",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))]),a._v(" "),t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.cardsdata[0].gstatus}},[0==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}}):a._e(),a._v(" "),1==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/2.png")}}):a._e(),a._v(" "),2==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/3.png")}}):a._e(),a._v(" "),3==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/4.png")}}):a._e(),a._v(" "),4==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/5.png")}}):a._e(),a._v(" "),5==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/6.png")}}):a._e(),a._v(" "),6==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/7.png")}}):a._e(),a._v(" "),7==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/8.png")}}):a._e(),a._v(" "),8==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/9.png")}}):a._e(),a._v(" "),9==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/10.png")}}):a._e(),a._v(" "),10==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}}):a._e(),a._v(" "),11==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}}):a._e(),a._v(" "),12==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}}):a._e()]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.cardsdata[0].sid,subid:s.sid},expression:"{ sid: cardsdata[0].sid, subid: odds.sid }"}],staticClass:"casino-book"},[a._v("0")])])]}))],2),a._v(" "),t("div",{staticClass:"casino-min-max text-right"},[a._v("\n                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.cardsdata[0].min},expression:"{ size: cardsdata[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.cardsdata[0].max},expression:"{ size: cardsdata[0].max }"}]})])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                View All\n              ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row d-none-small"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row d-none-small"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item",attrs:{"data-toggle":"modal"}},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row d-none-big"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"})])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row d-none-big"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"})])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5);function l(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return d(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function d(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var v={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"race20fancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Race20",gameType:"race20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,playersCards:{p1:null,p2:null,p3:null,p4:null},spadeCard:[],heartCard:[],clubCard:[],diamondCard:[],totalCards:0,totalPoints:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),a.spadeCard=[],a.heartCard=[],a.clubCard=[],a.diamondCard=[];var s,e=0,i=0,n=l(a.cards);try{for(n.s();!(s=n.n()).done;){var o=s.value,c="",r="0";1!=o&&(4==o.length?(c=o.slice(2),r=o.slice(0,2)):(c=o.slice(1),r=o.slice(0,1)),i+=1),"SS"==c?a.spadeCard.push(o):"HH"==c?a.heartCard.push(o):"CC"==c?a.clubCard.push(o):"DD"==c&&a.diamondCard.push(o),"Q"==r&&(r=12),"J"==r&&(r=11),"A"==r&&(r=1),e+=parseInt(r)}}catch(a){n.e(a)}finally{n.f()}a.totalPoints=e,a.totalCards=i,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table race20"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))]),a._v(" "),a.$store.getters.isMobile?a._e():t("div",{staticClass:"total-points"},[t("div",[t("div",[a._v("Total Card:")]),a._v(" "),t("div",[a._v(a._s(a.totalCards))])]),a._v(" "),t("div",[t("div",[a._v("Total Point:")]),a._v(" "),t("div",[a._v(a._s(a.totalPoints))])])])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/spade.png"}})]),a._v(" "),a._l(a.spadeCard,(function(s,e){return[t("span",{key:e},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/".concat(s,".png")}})])]})),a._v(" "),a.spadeCard&&a.spadeCard.length?t("span",{class:{"k-margin":5!=a.spadeCard.length}},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/KSS.png"}})]):a._e()],2),a._v(" "),t("div",[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/heart.png"}})]),a._v(" "),a._l(a.heartCard,(function(s,e){return[t("span",{key:e},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/".concat(s,".png")}})])]})),a._v(" "),a.heartCard&&a.heartCard.length?t("span",{class:{"k-margin":5!=a.heartCard.length}},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/KHH.png"}})]):a._e()],2),a._v(" "),t("div",[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/club.png"}})]),a._v(" "),a._l(a.clubCard,(function(s,e){return[t("span",{key:e},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/".concat(s,".png")}})])]})),a._v(" "),a.clubCard&&a.clubCard.length?t("span",{class:{"k-margin":5!=a.clubCard.length}},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/KCC.png"}})]):a._e()],2),a._v(" "),t("div",[t("span",[t("img",{attrs:{src:a.imgPath+"admin/img/cards/diamond.png"}})]),a._v(" "),a._l(a.diamondCard,(function(s,e){return[t("span",{key:e},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/".concat(s,".png")}})])]})),a._v(" "),a.diamondCard&&a.diamondCard.length?t("span",{class:{"k-margin":5!=a.diamondCard.length}},[t("img",{attrs:{src:a.imgPath+"admin/img/cards/KDD.png"}})]):a._e()],2)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[a.$store.getters.isMobile?t("div",{staticClass:"text-right"},[a._v("\n                Total Cards: "+a._s(a.totalCards)+" | Total Points: "+a._s(a.totalPoints)+"\n              ")]):a._e(),a._v(" "),t("div",{staticClass:"row row5"},[a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"col-6 col-md-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[0==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KSS.png")}}):a._e(),a._v(" "),1==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KHH.png")}}):a._e(),a._v(" "),2==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KCC.png")}}):a._e(),a._v(" "),3==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KDD.png")}}):a._e(),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#demo"+e}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo"+e}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{ size: odds.min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{ size: odds.max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: odds.sid }"}],staticClass:"casino-nation-name"},[a._v("\n                        0\n                      ")])])])]}))],2),a._v(" "),t("div",{staticClass:"row mt-2"},[t("div",{staticClass:"col-12 col-md-4"},a._l(2,(function(s,e){return t("div",[a._m(0,!0),a._v(" "),t("div",{staticClass:"casino-odds-box casino-yn"},[t("div",{staticClass:"casino-odds-box-bhav"},[t("b",[a._v(a._s(a.fancy[e].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#tp"+e}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"tp"+e}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[e].min},expression:"{ size: fancy[key].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[e].max},expression:"{ size: fancy[key].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[e].l))]),a._v(" "),0==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("100")]):1==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("105")]):t("span",[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[e].b))]),a._v(" "),0==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("100")]):1==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("90")]):t("span",[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-yn"},[t("div"),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[e].sid,subid:0},expression:"{ sid: fancy[key].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                          0\n                        ")])])])])})),0),a._v(" "),t("div",{staticClass:"col-12 col-md-8 win-with"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[2].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy2"}},[a._v("\n                              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{ size: fancy[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{ size: fancy[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[2].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}],staticClass:"casino-nation-name rf-minheight"},[a._v("\n                          0\n                        ")])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[5].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy5"}},[a._v("\n                              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[5].min},expression:"{ size: fancy[5].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[5].max},expression:"{ size: fancy[5].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[5].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{ sid: fancy[5].sid, subid: 0 }"}],staticClass:"casino-nation-name rf-minheight"},[a._v("\n                          0\n                        ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[3].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy3"}},[a._v("\n                              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[3].min},expression:"{ size: fancy[3].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[3].max},expression:"{ size: fancy[3].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[3].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}],staticClass:"casino-nation-name rf-minheight"},[a._v("\n                          0\n                        ")])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[6].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy6"}},[a._v("\n                              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[6].min},expression:"{ size: fancy[6].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[6].max},expression:"{ size: fancy[6].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[6].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{ sid: fancy[6].sid, subid: 0 }"}],staticClass:"casino-nation-name rf-minheight"},[a._v("\n                          0\n                        ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[4].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy4"}},[a._v("\n                              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{ size: fancy[4].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{ size: fancy[4].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[4].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{ sid: fancy[4].sid, subid: 0 }"}],staticClass:"casino-nation-name rf-minheight"},[a._v("\n                          0\n                        ")])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[7].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy7"}},[a._v("\n                              R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[7].min},expression:"{ size: fancy[7].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[7].max},expression:"{ size: fancy[7].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[7].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{ sid: fancy[7].sid, subid: 0 }"}],staticClass:"casino-nation-name rf-minheight"},[a._v("\n                          0\n                        ")])])])])])]),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result ")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                  View All\n                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"d-none-big"},[t("div",{staticClass:"total-points"},[t("div",[t("span",[a._v("Total Cards:")]),a._v(" "),t("span",{staticClass:"text-playerb"},[a._v(a._s(a.totalCards))])]),a._v(" "),t("div",[t("span",[a._v("Total Points:")]),a._v(" "),t("span",{staticClass:"text-playerb"},[a._v(a._s(a.totalPoints))])])]),a._v(" "),t("div",[a._m(1),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name",attrs:{"data-toggle":"modal"}},[0==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KSS.png")}}):a._e(),a._v(" "),1==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KHH.png")}}):a._e(),a._v(" "),2==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KCC.png")}}):a._e(),a._v(" "),3==e?t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/KDD.png")}}):a._e(),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: odds.sid }"}]},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo"+e,"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo"+e}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{ size: odds.min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{ size: odds.max }"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]})),a._v(" "),a._m(2),a._v(" "),a._l(2,(function(s,e){return[t("div",{key:"yesno"+e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name",attrs:{"data-toggle":"modal"}},[t("div",[t("span",{staticClass:"d-block"},[a._v(a._s(a.fancy[e].nat))]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[e].sid,subid:0},expression:"{ sid: fancy[key].sid, subid: 0 }"}]})]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right collapsed",attrs:{"data-toggle":"collapse","data-target":"#noyes"+s,"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"noyes"+s}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[e].min},expression:"{ size: fancy[key].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[e].max},expression:"{ size: fancy[key].max }"}]})])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[e].l))]),a._v(" "),0==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("100")]):1==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("105")]):t("span",[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[e].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[e].b))]),a._v(" "),0==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("100")]):1==e&&"OPEN"==a.fancy[e].gstatus?t("span",[a._v("90")]):t("span",[a._v("0")])])])]}))],2),a._v(" "),t("div",{staticClass:"row row5 win-with"},[t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[2].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy2"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{ size: fancy[2].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{ size: fancy[2].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}]},[a._v(a._s(a.fancy[2].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[5].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy5"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[5].min},expression:"{ size: fancy[5].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[5].max},expression:"{ size: fancy[5].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[5].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{ sid: fancy[5].sid, subid: 0 }"}]},[a._v(a._s(a.fancy[5].b))])])])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[3].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy3"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[3].min},expression:"{ size: fancy[3].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[3].max},expression:"{ size: fancy[3].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}]},[a._v(a._s(a.fancy[3].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[6].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy6"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[6].min},expression:"{ size: fancy[6].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[6].max},expression:"{ size: fancy[6].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[6].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{ sid: fancy[6].sid, subid: 0 }"}]})])])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[4].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy4"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{ size: fancy[4].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{ size: fancy[4].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{ sid: fancy[4].sid, subid: 0 }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.fancy[7].nat))]),a._v(" "),t("div",{staticClass:"range-icon d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#fancy7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"fancy7"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[7].min},expression:"{ size: fancy[7].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[7].max},expression:"{ size: fancy[7].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[7].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{ sid: fancy[7].sid, subid: 0 }"}]})])])])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1 w-100"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-yn"},[a("div"),this._v(" "),a("div",{staticClass:"casino-bl-box"},[a("div",{staticClass:"casino-bl-box-item yn-header"},[a("b",[this._v("No")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item yn-header"},[a("b",[this._v("Yes")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item casino-odds-name"}),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[this._v("Back")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[this._v("Lay")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item casino-odds-name"}),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[this._v("No")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[this._v("Yes")])])}],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e,i=s(0),n=s(3),o=s(8),c=s(6),r=s(84),l=s(85),d=s(86),v=s(32),m=s.n(v),u=s(16),p=s(27),b=s(4),g=s(5),h={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:n.a,RightSideBar:o.a,Card:c.a,Market2:r.a,Market4:l.a,Market6:d.a,simplebar:u.a,GameBetList:p.a,CasinoRules:b.a,LastResultsSection:g.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Cricketv3",gameType:"cricketv3",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null}},methods:{getTvUrl:function(){var a=this;i.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;i.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data.t1,a.cards=_.get(a.casinoData,"card").split("|"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameData.old=a.gameData.new,a.gameData.new=t.data.t2,a.casinoData.oldgmid!=a.oldGameId&&(a.getLastResults(),e&&e.close(),a.connectScoreBoard()),a.oldGameId=a.casinoData.oldgmid,a.gameId=a.casinoData.gmid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;i.a.callApi("game/userbook",{gid:parseInt(this.gameId),etid:this.casinoData.etid}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3):(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;i.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},connectScoreBoard:function(){if(null!=this.casinoData.oldgmid){var a=this;(e=m.a.connect(SCOREBOARD_URL,{transports:["websocket"]})).on("connect",(function(){e.emit("subscribe",{type:0==a.casinoData.scard?2:a.casinoData.scard,rooms:[parseInt(a.casinoData.oldgmid)]})})),e.on("error",(function(){console.log("error")})),e.on("update",(function(t){if(0==a.casinoData.scard)var s=protobuf.roots.default.EventPublish.decode(new Uint8Array(t.data));else s=t.data;null!=s&&null!=s&&1==s.isfinished?e.emit("unsubscribe",{type:a.casinoData.scard,rooms:[]}):null!=s&&null!=s&&(a.scoreboardData=s)})),e.on("disconnect",(function(){}))}},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,i.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1,2!=this.casinoData.scard&&null!=this.casinoData.oldgmid&&(e.emit("unsubscribe",{type:this.casinoData.scard,rooms:[]}),e.close())}},f=s(1),C=Object(f.a)(h,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.casinoData.ename))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{staticClass:"banner"},[a.casinoData&&2!=a.casinoData.scard?[1==a.casinoData.scard&&"0"==a.scoreboardData.isfinished?t("div",{staticClass:"scorecard m-b-5"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-5"},[t("p",{staticClass:"team-1 row mb-0"},[t("span",{staticClass:"team-name col-md-3"},[a._v(a._s(a.scoreboardData.spnnation1))]),a._v(" "),t("span",{staticClass:"score col-md-9 text-right"},[a._v(a._s(a.scoreboardData.score1))])]),a._v(" "),t("p",{staticClass:"team-1 row mb-0"},[t("span",{staticClass:"team-name col-md-3"},[a._v(a._s(a.scoreboardData.spnnation2))]),a._v(" "),t("span",{staticClass:"score col-md-9 text-right"},[a._v(a._s(a.scoreboardData.score2))])])]),a._v(" "),t("div",{staticClass:"col-md-7"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-5"},[t("div",{staticClass:"row"},[t("span",{staticClass:"team-name"},[""!==a.scoreboardData.spnrunrate1?t("span",[a._v(" CRR "+a._s(a.scoreboardData.spnrunrate1)+" ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate1?t("span",[a._v(" RR "+a._s(a.scoreboardData.spnreqrate1)+" ")]):a._e(),a._v(" \n                            ")])]),a._v(" "),t("div",{staticClass:"row m-t-10"},[t("span",{staticClass:"team-name"},[""!==a.scoreboardData.spnrunrate2?t("span",[a._v(" CRR "+a._s(a.scoreboardData.spnrunrate2)+" ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate2?t("span",[a._v(" RR "+a._s(a.scoreboardData.spnreqrate2)+" ")]):a._e(),a._v(" \n                            ")])])]),a._v(" "),t("div",{staticClass:"col-md-7"},[t("div",{staticClass:"text-right"},[t("p",{staticClass:"mb-0"},[a._v("\n                              "+a._s(a.scoreboardData.spnmessage)+"\n                            ")])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-12"},[t("p",{staticClass:"text-right ball-by-ball mb-0"},a._l(a.scoreboardData.balls,(function(s){return""!==s?t("span",{staticClass:"ball-runs mr-1",class:[{four:4==s},{six:6==s},{wicket:"ww"==s.toLowerCase()}]},[a._v("\n                                  "+a._s(s)+"\n                                ")]):a._e()})),0)])])])])])])]):a._e()]:a._e()],2),a._v(" "),t("div",{},[t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},a._l(6,(function(s){return t("div",[a._l(a.cards[s-1].split(","),(function(a){return[t("Card",{attrs:{card:a}})]}))],2)})),0)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2)]),a._v(" "),t("div",{staticClass:"market-container"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return["match"!=s.gtype?[2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()]}))],2),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n              View All\n            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"my-game-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},[t("table",{staticClass:"table coupon-table mb-0"},[a._m(0),a._v(" "),null!=a.userBook?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{attrs:{colspan:"6"}},[t("b",[a._v(a._s(s.mname))])])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v("\n                          "+a._s(s.sname)+"\n                          "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")]),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.gtype))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"6"}})])]}))],2):t("tbody",[a._m(1)])])])])])])])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v("\n        "+a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0)+"\n      ")]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid)}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)])],2)],1)}),[function(){var a=this,t=a._self._c;return t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                        Amount\n                      ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("PlaceDate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Gametype")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"6"}},[this._v("\n                        No records found\n                      ")])])}],!1,null,null,null);t.a=C.exports},function(a,t,s){"use strict";var e,i=s(0),n=s(3),o=s(8),c=s(6),r=s(42),l=s(84),d=s(85),v=s(86),m=s(131),u=s(32),p=s.n(u),b=s(16),g=s(27),h=s(4),f=s(5),C={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:n.a,RightSideBar:o.a,Card:c.a,Ball:r.a,Market2:l.a,Market4:d.a,Market6:v.a,Market7:m.a,simplebar:b.a,GameBetList:g.a,CasinoRules:h.a,LastResultsSection:f.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Cricketv3",gameType:"superover",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null}},methods:{getTvUrl:function(){var a=this;i.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;i.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data.t1,a.cards=_.get(a.casinoData,"card").split("|"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameData.old=a.gameData.new,a.gameData.new=t.data.t2,a.casinoData.oldgmid!=a.oldGameId&&(a.getLastResults(),e&&e.close(),a.connectScoreBoard()),a.oldGameId=a.casinoData.oldgmid,a.gameId=a.casinoData.gmid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;i.a.callApi("game/userbook",{gid:parseInt(this.gameId),etid:this.casinoData.etid}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3):(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;i.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},connectScoreBoard:function(){if(null!=this.casinoData.oldgmid){var a=this;(e=p.a.connect(SCOREBOARD_URL,{transports:["websocket"]})).on("connect",(function(){e.emit("subscribe",{type:0==a.casinoData.scard?2:a.casinoData.scard,rooms:[parseInt(a.casinoData.oldgmid)]})})),e.on("error",(function(){console.log("error")})),e.on("update",(function(t){if(0==a.casinoData.scard)var s=protobuf.roots.default.EventPublish.decode(new Uint8Array(t.data));else s=t.data;null!=s&&null!=s&&1==s.isfinished?e.emit("unsubscribe",{type:a.casinoData.scard,rooms:[]}):null!=s&&null!=s&&(a.scoreboardData=s)})),e.on("disconnect",(function(){}))}},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,i.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,i.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1,2!=this.casinoData.scard&&null!=this.casinoData.oldgmid&&(e.emit("unsubscribe",{type:this.casinoData.scard,rooms:[]}),e.close())}},k=s(1),y=Object(k.a)(C,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket super-over detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.casinoData.ename))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{staticClass:"banner"},[a.casinoData&&2!=a.casinoData.scard?[1==a.casinoData.scard&&"0"==a.scoreboardData.isfinished?t("div",{staticClass:"scorecard m-b-5"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-5"},[t("p",{staticClass:"team-1 row mb-0"},[t("span",{staticClass:"team-name col-md-3"},[a._v(a._s(a.scoreboardData.spnnation1))]),a._v(" "),t("span",{staticClass:"score col-md-9 text-right"},[a._v(a._s(a.scoreboardData.score1))])]),a._v(" "),t("p",{staticClass:"team-1 row mb-0"},[t("span",{staticClass:"team-name col-md-3"},[a._v(a._s(a.scoreboardData.spnnation2))]),a._v(" "),t("span",{staticClass:"score col-md-9 text-right"},[a._v(a._s(a.scoreboardData.score2))])])]),a._v(" "),t("div",{staticClass:"col-md-7"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-5"},[t("div",{staticClass:"row"},[t("span",{staticClass:"team-name"},[""!==a.scoreboardData.spnrunrate1?t("span",[a._v(" CRR "+a._s(a.scoreboardData.spnrunrate1)+" ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate1?t("span",[a._v(" RR "+a._s(a.scoreboardData.spnreqrate1)+" ")]):a._e(),a._v(" \n                          ")])]),a._v(" "),t("div",{staticClass:"row m-t-10"},[t("span",{staticClass:"team-name"},[""!==a.scoreboardData.spnrunrate2?t("span",[a._v(" CRR "+a._s(a.scoreboardData.spnrunrate2)+" ")]):a._e(),a._v(" "),""!==a.scoreboardData.spnreqrate2?t("span",[a._v(" RR "+a._s(a.scoreboardData.spnreqrate2)+" ")]):a._e(),a._v(" \n                          ")])])]),a._v(" "),t("div",{staticClass:"col-md-7"},[t("div",{staticClass:"text-right"},[t("p",{staticClass:"mb-0"},[a._v("\n                            "+a._s(a.scoreboardData.spnmessage)+"\n                          ")])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-12"},[t("p",{staticClass:"text-right ball-by-ball mb-0"},a._l(a.scoreboardData.balls,(function(s){return""!==s?t("span",{staticClass:"ball-runs mr-1",class:[{four:4==s},{six:6==s},{wicket:"ww"==s.toLowerCase()}]},[a._v("\n                                "+a._s(s)+"\n                              ")]):a._e()})),0)])])])])])])]):a._e()]:a._e()],2),a._v(" "),t("div",{},[t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},a._l(6,(function(s){return t("div",[a._l(a.cards[s-1].split(","),(function(a){return[t("Ball",{attrs:{ball:a}})]}))],2)})),0)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2)]),a._v(" "),t("div",{staticClass:"market-container"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return["match"!=s.gtype?[2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),7==s.dtype?[t("Market7",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()]}))],2),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e()],2),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n            View All\n          ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"my-game-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},[t("table",{staticClass:"table coupon-table mb-0"},[a._m(0),a._v(" "),null!=a.userBook?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{attrs:{colspan:"6"}},[t("b",[a._v(a._s(s.mname))])])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v("\n                          "+a._s(s.sname)+"\n                          "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")]),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.gtype))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"6"}})])]}))],2):t("tbody",[a._m(1)])])])])])])]),a._v(" "),t("div",{staticClass:"card mb-2 my-bet cricket-rule"},[a._m(2),a._v(" "),t("div",{staticClass:"card-body"},[t("div",{staticClass:"card"},[a._m(3),a._v(" "),t("div",{staticClass:"card-body"},[t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/cardA.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/ball1.png")}})])]),a._v(" "),t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/card2.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/ball2.png")}})])]),a._v(" "),t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/card3.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/ball3.png")}})])]),a._v(" "),t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/card4.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/ball4.png")}})])]),a._v(" "),t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/card6.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/ball6.png")}})])]),a._v(" "),t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/card10.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/ball0.png")}})])]),a._v(" "),t("div",{staticClass:"row row5 mt-1"},[t("div",{staticClass:"col-4"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/cards/cardK.png")}}),a._v(" "),t("span",{staticClass:"ml-2"},[a._v("X")])]),a._v(" "),t("div",{staticClass:"col-3 text-center"},[a._v("5")]),a._v(" "),t("div",{staticClass:"col-5 text-right value"},[a._v("\n                  WICKET\n                  "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/superOver/balls/wicket.png")}})])])])])])])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v("\n        "+a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0)+"\n      ")]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid)}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)])],2)],1)}),[function(){var a=this,t=a._self._c;return t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                        Amount\n                      ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("PlaceDate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Gametype")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"6"}},[this._v("\n                        No records found\n                      ")])])},function(){var a=this._self._c;return a("div",{staticClass:"card-header text-center"},[a("span",[this._v("ENG vs RSA"),a("br"),this._v("Inning's Card Rules")])])},function(){var a=this._self._c;return a("div",{staticClass:"card-header"},[a("div",{staticClass:"row row5 mt-1"},[a("div",{staticClass:"col-4"},[this._v("Cards")]),this._v(" "),a("div",{staticClass:"col-3 text-center"},[this._v("Count")]),this._v(" "),a("div",{staticClass:"col-5 text-right"},[this._v("Value")])])])}],!1,null,null,null);t.a=y.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(42),r=s(84),l=s(85),d=s(86),v=s(131),m=s(16),u=s(27),p=s(4),b=s(5),g={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,Ball:c.a,Market2:r.a,Market4:l.a,Market6:d.a,Market7:v.a,simplebar:m.a,GameBetList:u.a,CasinoRules:p.a,LastResultsSection:b.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"market"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"superover2",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,gameData:{old:{},new:{}},gameId:0,oldGameId:0,scoreboardData:{},userBook:null,viewMoreBets:{marketList:null,selectedMarket:null,betList:null},clock:null,leftTime:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data.t1,a.cards=_.get(a.casinoData,"card").split("|"),a.leftTime=_.get(a.casinoData,"lt"),a.clock.setValue(_.get(a.casinoData,"lt")),a.gameData.old=a.gameData.new,a.gameData.new=t.data.t2,a.casinoData.gmid!=a.oldGameId&&a.getLastResults(),a.oldGameId=a.casinoData.gmid,a.gameId=a.casinoData.gmid,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("game/userbook",{gid:parseInt(this.gameId),etid:this.casinoData.etid}).then((function(t){200==t.status?(a.userBook=t.data,a.$store.state.betSoda=t.data.t2,a.$store.state.sportbetBook=t.data.t1,a.$store.state.fancybetBook=t.data.t3):(a.userBook=null,a.$store.state.betSoda=null,a.$store.state.sportbetBook=null,a.$store.state.fancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getViewMoreBets:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("game/getbetmarketlist",{gid:parseInt(this.gameId)}).then((function(t){200==t.status?(a.viewMoreBets.marketList=t.data.t1,null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0&&(a.viewMoreBets.selectedMarket=a.viewMoreBets.marketList[0].mid,a.getMarketBets(a.viewMoreBets.selectedMarket))):a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1,a.$refs.viewMoreBetsModal.show()})).catch((function(t){a.viewMoreBets.marketList=[],a.$store.state.isLoading=!1}))},getMarketBets:function(a){var t=this;this.$store.state.isLoading=!0,this.viewMoreBets.selectedMarket=a,e.a.callApi("game/getmarketbets",{gid:parseInt(this.gameId),mid:parseInt(a)}).then((function(a){200==a.status?t.viewMoreBets.betList=a.data.t1:t.viewMoreBets.betList=[],t.$store.state.isLoading=!1})).catch((function(a){t.viewMoreBets.betList=[],t.$store.state.isLoading=!1}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},h=s(1),f=Object(h.a)(g,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table five-cricket super-over super-over2 detail-page-container"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.casinoData.ename))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.gameId))])]),a._v(" "),t("div",{},[t("div",{staticClass:"casino-video mt-0"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:0!=a.leftTime,expression:"leftTime != 0"}],staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1)]),a._v(" "),t("div",{staticClass:"market-container"},[a._l(a.orderBy(a.gameData.new,"sno"),(function(s,e){return["match"!=s.gtype?[2==s.dtype?[t("Market2",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),4==s.dtype?[t("Market4",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),6==s.dtype?[t("Market6",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e(),a._v(" "),7==s.dtype?[t("Market7",{key:e,attrs:{index:e,marketDataNew:s,marketDataOld:a.orderBy(a.gameData.old,"sno")[e]}})]:a._e()]:a._e()]}))],2),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e()],2),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n            View All\n          ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)]),a._v(" "),t("div",{staticClass:"right-sidebar",attrs:{"data-simplebar":!a.$store.getters.isMobile}},[t("div",{staticClass:"card m-b-10 my-bet",attrs:{id:"my-game-bets"}},[t("div",{staticClass:"card-header"},[t("h6",{staticClass:"card-title float-left"},[a._v("My Bets")]),a._v(" "),t("a",{staticClass:"btn btn-back float-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.getViewMoreBets()}}},[a._v("View More")])]),a._v(" "),t("div",{staticClass:"card-body1"},[t("div",{staticClass:"tab-content"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet"}},[t("div",{staticClass:"table-responsive1"},[t("table",{staticClass:"table coupon-table mb-0"},[a._m(0),a._v(" "),null!=a.userBook?t("tbody",[a._l(a.userBook.t2,(function(s){return[t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{attrs:{colspan:"6"}},[t("b",[a._v(a._s(s.mname))])])]),a._v(" "),t("tr",{class:{"back-border":"back"==s.btype.toLowerCase(),"lay-border":"lay"==s.btype.toLowerCase()}},[t("td",{staticClass:"bt0"},[a._v(a._s(s.uname))]),a._v(" "),t("td",{staticClass:"bt0"},[a._v("\n                          "+a._s(s.sname)+"\n                          "),"fancy"==s.gtype.toLowerCase()?[a._v("\n                            / "+a._s(s.bhav)+"\n                          ")]:a._e()],2),a._v(" "),t("td",{staticClass:"text-right bt0"},[a._v(a._s(s.urate))]),a._v(" "),t("td",{directives:[{name:"currency",rawName:"v-currency",value:s.amt,expression:"bet.amt"}],staticClass:"text-right bt0"},[a._v("\n                          "+a._s(s.amt)+"\n                        ")]),a._v(" "),t("td",{directives:[{name:"formatDatetime",rawName:"v-formatDatetime",value:{date:s.pdt},expression:"{date: bet.pdt}"}],staticClass:"text-right"}),a._v(" "),t("td",{staticClass:"text-right"},[a._v(a._s(s.gtype))])]),a._v(" "),t("tr",[t("td",{staticStyle:{height:"3px",padding:"0"},attrs:{colspan:"6"}})])]}))],2):t("tbody",[a._m(1)])])])])])])])]),a._v(" "),a.$store.getters.isMobile?t("div",{staticClass:"market-show-icon d-none-desktop",on:{click:function(t){return a.$helpers.scrollToId("my-game-bets")}}},[t("div",{staticClass:"bet-cnt"},[a._v("\n        "+a._s(a.userBook&&a.userBook.t2?a.userBook.t2.length:0)+"\n      ")]),a._v(" "),t("div",{staticClass:"bet-title"},[a._v("Bets")])]):a._e()]),a._v(" "),t("b-modal",{ref:"viewMoreBetsModal",attrs:{"hide-footer":"",title:"View More",size:"big"}},[null!=a.viewMoreBets.marketList&&a.viewMoreBets.marketList.length>0?[t("ul",{staticClass:"nav nav-tabs d-inline-block text-uppercase",attrs:{role:"tablist "}},a._l(a.viewMoreBets.marketList,(function(s,e){return t("li",{staticClass:"nav-item d-inline-block"},[t("a",{staticClass:"nav-link",class:{active:a.viewMoreBets.selectedMarket==s.mid},attrs:{"data-toggle":"tab",href:"javascript:void(0)"},on:{click:function(t){return a.getMarketBets(s.mid)}}},[a._v(a._s(s.mname))])])})),0)]:a._e(),a._v(" "),t("div",{staticClass:"tab-content m-t-20"},[t("div",{staticClass:"tab-pane active",attrs:{id:"matched-bet2"}},[null!=a.viewMoreBets.betList&&a.viewMoreBets.betList.length>0?[t("GameBetList",{attrs:{gameSoda:a.viewMoreBets.betList}})]:a._e()],2)])],2)],1)}),[function(){var a=this,t=a._self._c;return t("thead",[t("tr",[t("th",{staticStyle:{"min-width":"90px"}},[a._v("UserName")]),a._v(" "),t("th",{staticStyle:{"min-width":"90px"}},[a._v("Nation")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"50px"}},[a._v("Rate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("\n                        Amount\n                      ")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("PlaceDate")]),a._v(" "),t("th",{staticClass:"text-right",staticStyle:{"min-width":"70px"}},[a._v("Gametype")])])])},function(){var a=this._self._c;return a("tr",[a("td",{staticClass:"text-center",attrs:{colspan:"6"}},[this._v("\n                        No records found\n                      ")])])}],!1,null,null,null);t.a=f.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Lottery",gameType:"lottcard",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table lottery"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})]),a._v(" "),t("b-modal",{attrs:{id:"rules-modal","modal-class":"casino-rules",title:"Rules","hide-footer":""}},[t("img",{staticClass:"img-fluid",attrs:{src:"".concat(a.imgPath,"admin/img/casino-rules/").concat(a.gameType,".jpg")}})])],1),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"mb-3"},[t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],1)],2)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{trap:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"trap"});return this.orderBy(a,"sr")},highLow:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"highlow"});return this.orderBy(a,"sr")},jqk:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"jqk"==a.subtype}));return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Trap",gameType:"trap",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,playersCards:{p1:null,p2:null,p3:null,p4:null},count:{playerA:0,playerB:0},playerALength:"",playerBLength:"",clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt"));var s=[],e=[];a.cards.forEach((function(a,t){t%2==0?s.push(a):e.push(a)}));for(var i=0,n=0,o=s;n<o.length;n++){var c=o[n],r="0";1!=c&&(r=4==c.length?c.slice(0,2):c.slice(0,1)),"K"==r&&(r=13),"Q"==r&&(r=12),"J"==r&&(r=11),"A"==r&&(r=1),i+=parseInt(r)}a.count.playerA=i;for(var l=0,d=0,v=e;d<v.length;d++){var m=v[d],u="0";1!=m&&(u=4==m.length?m.slice(0,2):m.slice(0,1)),"K"==u&&(u=13),"Q"==u&&(u=12),"J"==u&&(u=11),"A"==u&&(u=1),l+=parseInt(u)}a.count.playerB=l,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table trap"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-6 text-center"},[t("span",[t("b",[a._v("A")]),a._v(" "),t("div",{staticClass:"player-count"},[a._v(a._s(a.count.playerA))])])]),a._v(" "),t("div",{staticClass:"col-6 text-center"},[t("span",[t("b",[a._v("B")]),a._v(" "),t("div",{staticClass:"player-count"},[a._v(a._s(a.count.playerB))])])])]),a._v(" "),a._l(7,(function(s,e){return[t("div",{key:e,staticClass:"row row5"},[t("div",{staticClass:"col-6"},[1!=a.cards[e+s-1]?t("Card",{attrs:{card:a.cards[e+s-1]}}):a._e()],1),a._v(" "),t("div",{staticClass:"col-6"},[1!=a.cards[e+s]?t("Card",{attrs:{card:a.cards[e+s]}}):a._e()],1)])]}))],2)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.trap[0].sid},expression:"{ sid: trap[0].sid }"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.trap[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.trap[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.trap[1].sid},expression:"{ sid: trap[1].sid }"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.trap[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.trap[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[1].l))])])])])])]),a._v(" "),t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[a._l(a.highLow,(function(s,e){return[1==s.visible?[t("div",{key:e,staticClass:"seven-up-down-box"},[a._l(a.orderBy(s.odds,"sno",-1),(function(e,i){return[2==e.sid?[t("div",{key:"up".concat(i),staticClass:"up-box",class:{suspended:"OPEN"!=s.gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{ sid: data.sid, subid: odds.sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-right"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(e.b))]),a._v(" "),t("span",[a._v("LOW")])])])]:a._e(),a._v(" "),1==e.sid?[t("div",{key:"down".concat(i),staticClass:"down-box",class:{suspended:"OPEN"!=s.gstatus}},[t("div",{staticClass:"text-left"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(e.b))]),a._v(" "),t("span",[a._v("HIGH")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{ sid: data.sid, subid: odds.sid }"}],staticClass:"up-down-book"},[a._v("0")])])]:a._e()]})),a._v(" "),t("div",{staticClass:"seven-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/trape-seven.png")}})])],2)]:a._e()]}))],2),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._l(a.jqk,(function(s,e){return[1==s.visible?[t("div",{key:e,staticClass:"casino-box-row jqk-box"},[t("div",{staticClass:"casino-nation-name"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:s.odds[0].sid},expression:"{ sid: data.sid, subid: data.odds[0].sid }"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.odds[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.odds[0].l))])])])])]:a._e()]}))],2)]),a._v(" "),t("div",{staticClass:"teen1daycasino-container trap-number"},[t("img",{staticClass:"img-fluid",attrs:{src:"".concat(a.imgPath,"admin/img/trap-number-bg.jpg")}})]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"patti2"});return this.orderBy(a,"sr")},total:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"total"});return this.orderBy(a,"sr")},baccarat:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Baccarat"});return this.orderBy(a,"sr")},plus:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"plus"});return this.orderBy(a,"sr")}},data:function(){return{bookData:[],showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"patti2",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti2cards"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"d-none-small"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Mini Baccarat A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[0].sid},expression:"{sid: baccarat[0].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-boxfull"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.baccarat[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[0].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"pointer",on:{click:function(t){return a.getBookData(a.mId,a.total[0].sid)}}},[a._v("Total A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid,subid:0},expression:"{sid: total[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box total-odds"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",[a._v(a._s(a.total[0].lbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].l))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",[a._v(a._s(a.total[0].bbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Mini Baccarat B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[1].sid},expression:"{sid: baccarat[1].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-boxfull"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.baccarat[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[1].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"pointer",on:{click:function(t){return a.getBookData(a.mId,a.total[1].sid)}}},[a._v("Total B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid,subid:0},expression:"{sid: total[1].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box total-odds"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",[a._v(a._s(a.total[1].lbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].l))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",[a._v(a._s(a.total[1].bbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))])])])])])]),a._v(" "),t("div",{staticClass:"teenpatti2cardsextra mt-3"},[t("div",{staticClass:"casino-bl-box casino-bl-boxfull"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.plus[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Color Plus")])])]),a._v(" "),t("div",{staticClass:"teenpatti2cardsextra-book"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.plus[0].sid,subid:0},expression:"{sid: plus[0].sid, subid: 0}"}]},[a._v("0")])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Mini Baccarat A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[0].sid},expression:"{sid: baccarat[0].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-boxfull"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.baccarat[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[0].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Mini Baccarat B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[1].sid},expression:"{sid: baccarat[1].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-boxfull"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.baccarat[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[1].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"pointer",on:{click:function(t){return a.getBookData(a.mId,a.total[0].sid)}}},[a._v("Total A")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid,subid:0},expression:"{sid: total[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box total-odds"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",[a._v(a._s(a.total[0].lbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].l))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",[a._v(a._s(a.total[0].bbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"pointer",on:{click:function(t){return a.getBookData(a.mId,a.total[1].sid)}}},[a._v("Total B")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid,subid:0},expression:"{sid: total[1].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box total-odds"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",[a._v(a._s(a.total[1].lbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].l))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",[a._v(a._s(a.total[1].bbhav))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))])])])]),a._v(" "),t("div",{staticClass:"teenpatti2cardsextra mt-3"},[t("div",{staticClass:"casino-bl-box casino-bl-boxfull"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.plus[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Color Plus")])])]),a._v(" "),t("div",{staticClass:"teenpatti2cardsextra-book"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.plus[0].sid,subid:0},expression:"{sid: plus[0].sid, subid: 0}"}]},[a._v("0")])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                    View All\r\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teensin"});return this.orderBy(a,"sr")},pair:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"pair"});return this.orderBy(a,"sr")},highCard:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"highcard"==a.subtype}));return this.orderBy(a,"sr")},colorPlus:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"colorplus"});return this.orderBy(a,"sr")},lucky9:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"lucky9"});return this.orderBy(a,"sr")}},data:function(){return{bookData:[],showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"teensin",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table sin-khal"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("\n                Round ID: "+a._s(a.casinoData.mid)+"\n              ")])]),a._v(" "),t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?void 0:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():void 0,a._v(" "),t("div",{staticClass:"teen20casino-container"},[t("div",{staticClass:"teen20left"},[a._m(0),a._v(" "),a._m(1),a._v(" "),t("div",{staticClass:"casino-bl-box"},[a._m(2),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid,subid:0},expression:"{ sid: player[0].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),a._m(3),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.highCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.highCard[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.highCard[0].sid,subid:0},expression:"{ sid: highCard[0].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),a._m(4),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[0].sid,subid:0},expression:"{ sid: pair[0].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),a._m(5),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.colorPlus[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.colorPlus[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.colorPlus[0].sid,subid:0},expression:"{ sid: colorPlus[0].sid, subid: 0 }"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"teen20center"}),a._v(" "),t("div",{staticClass:"teen20right"},[a._m(6),a._v(" "),a._m(7),a._v(" "),t("div",{staticClass:"casino-bl-box"},[a._m(8),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[1].sid,subid:0},expression:"{ sid: player[1].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),a._m(9),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.highCard[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.highCard[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.highCard[1].sid,subid:0},expression:"{ sid: highCard[1].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),a._m(10),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[1].sid,subid:0},expression:"{ sid: pair[1].sid, subid: 0 }"}]},[a._v("0")])]),a._v(" "),a._m(11),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.colorPlus[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.colorPlus[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.colorPlus[1].sid,subid:0},expression:"{ sid: colorPlus[1].sid, subid: 0 }"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"sin-khal-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/lucky9.png")}}),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.lucky9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.lucky9[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.lucky9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.lucky9[0].l))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.lucky9[0].sid,subid:0},expression:"{ sid: lucky9[0].sid, subid: 0 }"}],staticClass:"sin-khal-box-book"},[a._v("\n                  0\n                ")])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                View All\n              ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title d-none-small"},[a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("Winner")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("High Card")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("Pair")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("Color Plus")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("Winner")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("High Card")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("Pair")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("Color Plus")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title d-none-small"},[a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("Winner")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("High Card")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("Pair")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("span",[this._v("Color Plus")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("Winner")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("High Card")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("Pair")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item d-none-big"},[a("span",[this._v("Color Plus")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{muflis:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teenmuf"});return this.orderBy(a,"sr")},top9:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"top9"});return this.orderBy(a,"sr")},baccarat:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"mbacc"});return this.orderBy(a,"sr")}},data:function(){return{bookData:[],showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"teenmuf",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,showRules:!1,rulesHtml:[],clock:null}},methods:{getCasinoRulesHtml:function(){var a=this;e.a.callApi("casino/ruleshtml",{type:this.gameType}).then((function(t){200==t.status?(a.showRules=!0,a.rulesHtml=t.data,IS_MOBILE&&a.$refs["rules-modal"].show()):(a.showRules=!1,a.rulesHtml=[])})).catch((function(t){a.showRules=!1,a.rulesHtml=[]}))},getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table muflis"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.muflis[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.muflis[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.muflis[0].sid,subid:0},expression:"{sid: muflis[0].sid, subid: 0}"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.top9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("A")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.top9[0].sid,subid:0},expression:"{sid: top9[0].sid, subid: 0}"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[a._m(3),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.baccarat[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[0].sid,subid:0},expression:"{sid: baccarat[0].sid, subid: 0}"}]},[a._v("0")])])])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(4),a._v(" "),t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[a._m(5),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.muflis[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.muflis[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.muflis[1].sid,subid:0},expression:"{sid: muflis[1].sid, subid: 0}"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[a._m(6),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.top9[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("B")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.top9[1].sid,subid:0},expression:"{sid: top9[1].sid, subid: 0}"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[a._m(7),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.baccarat[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[1].sid,subid:0},expression:"{sid: baccarat[1].sid, subid: 0}"}]},[a._v("0")])])])])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                    View All\r\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera text-left"},[this._v("Player A")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Winner")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Top 9")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("M Baccarat A")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb text-left"},[this._v("Player B")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Winner")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("Top 9")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-nation-name"},[a("b",[this._v("M Baccarat B")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5);function l(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return d(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function d(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var v={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"race17"});return this.orderBy(a,"sr")},bigCard:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"bigcard"==a.subtype&&1==a.visible}));return this.orderBy(a,"sr")},zeroCard:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"zerocard"==a.subtype&&1==a.visible}));return this.orderBy(a,"sr")},anyZero:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"anyzero"});return this.orderBy(a,"sr")}},data:function(){return{bookData:[],showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"race17",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,totalPoints:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt"));var s,e=0,i=l(a.cards);try{for(i.s();!(s=i.n()).done;){var n=s.value,o="0";1!=n&&(o=4==n.length?n.slice(0,2):n.slice(0,1)),"10"==o&&(o=0),"J"==o&&(o=0),"Q"==o&&(o=0),"K"==o&&(o=0),"A"==o&&(o=1),e+=parseInt(o)}}catch(a){i.e(a)}finally{i.f()}a.totalPoints=e,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table raceto17"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",{staticClass:"race-total"},[a._v("Total: "+a._s(a.totalPoints))]),a._v(" "),a._l(a.cards,(function(a,s){return[t("div",{key:s},[t("Card",{attrs:{card:a}})],1)]}))],2)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"row row5 d-none-small"},[t("div",{staticClass:"col-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.player[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid,subid:0},expression:"{ sid: player[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"col-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.bigCard[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bigCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bigCard[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.bigCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bigCard[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bigCard[0].sid,subid:0},expression:"{ sid: bigCard[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"col-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.zeroCard[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.zeroCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.zeroCard[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.zeroCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.zeroCard[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.zeroCard[0].sid,subid:0},expression:"{ sid: zeroCard[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"col-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.anyZero[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.anyZero[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.anyZero[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.anyZero[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.anyZero[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.anyZero[0].sid,subid:0},expression:"{ sid: anyZero[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("0")])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"row row5 d-none-big"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("Main Bet")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid,subid:0},expression:"{ sid: player[0].sid, subid: 0 }"}],staticClass:"float-right text-success"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("Big Card")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bigCard[0].sid,subid:0},expression:"{ sid: bigCard[0].sid, subid: 0 }"}],staticClass:"float-right text-success"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bigCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bigCard[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.bigCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bigCard[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("Zero Card")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.zeroCard[0].sid,subid:0},expression:"{ sid: zeroCard[0].sid, subid: 0 }"}],staticClass:"float-right text-success"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.zeroCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.zeroCard[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.zeroCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.zeroCard[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v("Any Zero Card")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.anyZero[0].sid,subid:0},expression:"{ sid: anyZero[0].sid, subid: 0 }"}],staticClass:"float-right text-success"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.anyZero[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.anyZero[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.anyZero[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.anyZero[0].l))])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Player1"});return this.orderBy(a,"sr")},pair:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Pair1"});return this.orderBy(a,"sr")},bacc:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"Bacc1"==a.subtype}));return this.orderBy(a,"sr")},redBlack:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"RedBlack1"});return this.orderBy(a,"sr")},total:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Total1"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"20-20 Teenpatti B",gameType:"teen20b",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,gameDetail:[],gameSoda:[],tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti20"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen20casino-container d-none-small"},[t("div",{staticClass:"teen20left"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Player")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("3 Baccarat")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.bacc[0].min},expression:"{size: bacc[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.bacc[0].max},expression:"{size: bacc[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Total")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{size: total[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{size: total[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{size: pair[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{size: pair[0].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box mb-4"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid},expression:"{sid: player[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bacc[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bacc[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bacc[0].sid},expression:"{sid: bacc[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid},expression:"{sid: total[0].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("A")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[0].sid},expression:"{sid: pair[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-rb-box-container mb-3"},[t("div",{staticClass:"casino-rb-box blackcontainer"},[t("div",{staticClass:"casino-rb-box-player blackbox back",class:{suspended:"OPEN"!=a.redBlack[0].gstatus}},[t("div",{staticClass:"text-right"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[0].sid},expression:"{sid: redBlack[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[0].min},expression:"{size: redBlack[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[0].max},expression:"{size: redBlack[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-rb-box redcontainer"},[t("div",{staticClass:"casino-rb-box-player redbox back",class:{suspended:"OPEN"!=a.redBlack[1].gstatus}},[t("div",{},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{staticClass:"diamond-icon",attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[1].sid},expression:"{sid: redBlack[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[1].min},expression:"{size: redBlack[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[1].max},expression:"{size: redBlack[1].max}"}]})])])])])]),a._v(" "),t("div",{staticClass:"teen20center"}),a._v(" "),t("div",{staticClass:"teen20right"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Player")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range7"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[1].min},expression:"{size: player[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[1].max},expression:"{size: player[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("3 Baccarat")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range8"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range8"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.bacc[1].min},expression:"{size: bacc[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.bacc[1].max},expression:"{size: bacc[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Total")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range9"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range9"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[1].min},expression:"{size: total[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[1].max},expression:"{size: total[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("div",{staticClass:"ml-1"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range10"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range10"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[1].min},expression:"{size: pair[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[1].max},expression:"{size: pair[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"casino-bl-box mb-4"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[1].sid},expression:"{sid: player[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bacc[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bacc[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bacc[1].sid},expression:"{sid: bacc[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid},expression:"{sid: total[1].sid}"}],staticClass:"casino-book"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("B")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[1].sid},expression:"{sid: pair[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-rb-box-container mb-3"},[t("div",{staticClass:"casino-rb-box blackcontainer"},[t("div",{staticClass:"casino-rb-box-player blackbox back",class:{suspended:"OPEN"!=a.redBlack[2].gstatus}},[t("div",{},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[2].sid},expression:"{sid: redBlack[2].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range11"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range11"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[2].min},expression:"{size: redBlack[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[2].max},expression:"{size: redBlack[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-rb-box redcontainer"},[t("div",{staticClass:"casino-rb-box-player redbox back",class:{suspended:"OPEN"!=a.redBlack[3].gstatus}},[t("div",{},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{staticClass:"diamond-icon",attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"text-right"},[t("span",{staticClass:"d-block casino-box-odd"},[a._v(a._s(a.redBlack[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[3].sid},expression:"{sid: redBlack[3].sid}"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"text-right casino-rb-box-player-range"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range12"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range12"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[3].min},expression:"{size: redBlack[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[3].max},expression:"{size: redBlack[3].max}"}]})])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen20casino-container d-none-big"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("Player")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range1","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid,subid:0},expression:"{sid: player[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[1].sid,subid:0},expression:"{sid: player[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("3 Baccarat")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range2","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.bacc[0].min},expression:"{size: bacc[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.bacc[0].max},expression:"{size: bacc[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bacc[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bacc[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bacc[0].sid,subid:0},expression:"{sid: bacc[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bacc[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bacc[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bacc[1].sid,subid:0},expression:"{sid: bacc[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("Total")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range3","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{size: total[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{size: total[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid,subid:0},expression:"{sid: total[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid,subid:0},expression:"{sid: total[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("span",[a._v("Pair Plus")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range4","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{size: pair[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{size: pair[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("A")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[0].sid,subid:0},expression:"{sid: pair[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("B")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[1].sid,subid:0},expression:"{sid: pair[1].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("div",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range5","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[0].min},expression:"{size: redBlack[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[0].max},expression:"{size: redBlack[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[0].sid,subid:0},expression:"{sid: redBlack[0].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[2].sid,subid:0},expression:"{sid: redBlack[2].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name casino-nation-name"},[t("div",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-target":"#range6","data-toggle":"collapse"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[1].min},expression:"{size: redBlack[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[1].max},expression:"{size: redBlack[1].max}"}]})])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[1].sid,subid:0},expression:"{sid: redBlack[1].sid, subid: 0}"}]},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[3].sid,subid:0},expression:"{sid: redBlack[3].sid, subid: 0}"}]},[a._v("0")])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                    View All\r\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"}),this._v(" "),a("div",{staticClass:"casino-bl-box-item playera"},[this._v("Player A")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item playerb"},[this._v("Player B")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{trio:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"trio"});return this.orderBy(a,"sr")},section124:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"124"});return this.orderBy(a,"sr")},jqk1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"jqk1"});return this.orderBy(a,"sr")},red2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"red2"});return this.orderBy(a,"sr")},black2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"black2"});return this.orderBy(a,"sr")},odd2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"odd2"});return this.orderBy(a,"sr")},even2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"even2"});return this.orderBy(a,"sr")},pair2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"pair2"});return this.orderBy(a,"sr")},flush:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"flush"});return this.orderBy(a,"sr")},straight:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"straight"});return this.orderBy(a,"sr")},trio1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"trio1"});return this.orderBy(a,"sr")},straightflush:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"straightflush"});return this.orderBy(a,"sr")}},data:function(){return{bookData:[],showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"trio",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,gameDetail:[],gameSoda:[],tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table pasa"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"casino-box-row d-none-small",staticStyle:{height:"30px"}}),a._v(" "),t("div",{staticClass:"casino-box-row pasa-sesssion"},[t("div",{staticClass:"casino-nation-name"},[t("b",{staticClass:"pointer",on:{click:function(t){return a.getBookData(a.mId,a.trio[0].sid)}}},[a._v(a._s(a.trio[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.trio[0].sid,subid:0},expression:"{ sid: trio[0].sid, subid: 0 }"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.trio[0].gstatus}},[t("span",[a._v(a._s(a.trio[0].l))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trio[0].lbhav))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.trio[0].gstatus}},[t("span",[a._v(a._s(a.trio[0].b))]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trio[0].bbhav))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row d-none-small",staticStyle:{height:"30px"}})]),a._v(" "),t("div",{staticClass:"col-6 col-md-3 pasa-fancy"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.section124[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.section124[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.section124[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.section124[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.section124[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.section124[0].sid,subid:0},expression:"{ sid: section124[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3 pasa-fancy"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.jqk1[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.jqk1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.jqk1[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.jqk1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.jqk1[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.jqk1[0].sid,subid:0},expression:"{ sid: jqk1[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                            0\n                                        ")])])])]),a._v(" "),t("div",{staticClass:"row row5 mt-2 pasa-cards"},[t("div",{staticClass:"col-6 col-md-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.red2[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.red2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.red2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.red2[0].sid,subid:0},expression:"{ sid: red2[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.black2[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.black2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.black2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.black2[0].sid,subid:0},expression:"{ sid: black2[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.odd2[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.odd2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.odd2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odd2[0].sid,subid:0},expression:"{ sid: odd2[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                            0\n                                        ")])])]),a._v(" "),t("div",{staticClass:"col-6 col-md-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.even2[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.even2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.even2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.even2[0].sid,subid:0},expression:"{ sid: even2[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                            0\n                                        ")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row pasa-other-bets"},[t("div",{staticClass:"casino-box-row pasa-other-bet"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.pair2[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair2[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair2[0].sid,subid:0},expression:"{ sid: pair2[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                        0\n                                    ")])]),a._v(" "),t("div",{staticClass:"casino-box-row pasa-other-bet"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.flush[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.flush[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.flush[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.flush[0].sid,subid:0},expression:"{ sid: flush[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                        0\n                                    ")])]),a._v(" "),t("div",{staticClass:"casino-box-row pasa-other-bet"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.straight[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.straight[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.straight[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.straight[0].sid,subid:0},expression:"{ sid: straight[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                        0\n                                    ")])]),a._v(" "),t("div",{staticClass:"casino-box-row pasa-other-bet"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.trio1[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.trio1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trio1[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.trio1[0].sid,subid:0},expression:"{ sid: trio1[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                        0\n                                    ")])]),a._v(" "),t("div",{staticClass:"casino-box-row pasa-other-bet"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.straightflush[0].nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.straightflush[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.straightflush[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.straightflush[0].sid,subid:0},expression:"{ sid: straightflush[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                        0\n                                    ")])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e,class:{"back-border":s.amt>=0,"lay-border":s.amt<0}},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{odd:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"odd"});return this.orderBy(a,"sr")},even:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"even"});return this.orderBy(a,"sr")},black:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"black"});return this.orderBy(a,"sr")},red:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"red"});return this.orderBy(a,"sr")},low:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"low"});return this.orderBy(a,"sr")},high:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"high"});return this.orderBy(a,"sr")},bacc:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"bacc"});return this.orderBy(a,"sr")},card:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"card"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Note Number",gameType:"notenum",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table note"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[2]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[3]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"container-fluid container-fluid-5"},[t("div",{staticClass:"row row5 d-none-small"},[t("div",{staticClass:"col-4 oe-cards"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.odd[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/7.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.odd[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.odd[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odd[0].sid,subid:0},expression:"{ sid: odd[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                                0\n                                            ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.black[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.black[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.black[0].sid,subid:0},expression:"{ sid: black[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                                0\n                                            ")])])]),a._v(" "),t("div",{staticClass:"col-4 oe-cards"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.low[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.low[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.low[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.low[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.low[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.low[0].sid,subid:0},expression:"{ sid: low[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                                0\n                                            ")])])]),a._v(" "),t("div",{staticClass:"col-4 oe-cards"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.even[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/6.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.even[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.even[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.even[0].sid,subid:0},expression:"{ sid: even[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                                0\n                                            ")])])]),a._v(" "),t("div",{staticClass:"col-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.red[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.red[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.red[0].sid,subid:0},expression:"{ sid: red[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                                0\n                                            ")])])]),a._v(" "),t("div",{staticClass:"col-4 oe-cards"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.high[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/6.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/7.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.high[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.high[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.high[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.high[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.high[0].sid,subid:0},expression:"{ sid: high[0].sid, subid: 0 }"}],staticClass:"casino-nation-name"},[a._v("\n                                                0\n                                            ")])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"container-fluid container-fluid-5"},[t("div",{staticClass:"row row5 d-none-big"},[t("div",{staticClass:"casino-bl-box oe-cards"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(a.odd[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/7.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odd[0].sid,subid:0},expression:"{ sid: odd[0].sid, subid: 0 }"}],staticClass:"text-left w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.odd[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.odd[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box oe-cards"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(a.even[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/6.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.even[0].sid,subid:0},expression:"{ sid: even[0].sid, subid: 0 }"}],staticClass:"text-left w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.even[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.even[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("div",{staticClass:"casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.black[0].sid,subid:0},expression:"{ sid: black[0].sid, subid: 0 }"}],staticClass:"text-left w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.black[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.black[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("div",{staticClass:"casino-card-img"},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.red[0].sid,subid:0},expression:"{ sid: red[0].sid, subid: 0 }"}],staticClass:"text-left w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.red[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.red[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box oe-cards"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(a.low[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.low[0].sid,subid:0},expression:"{ sid: low[0].sid, subid: 0 }"}],staticClass:"text-left w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.low[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.low[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.low[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.low[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box oe-cards"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(a.high[0].nat))]),a._v(" "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/6.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/7.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.high[0].sid,subid:0},expression:"{ sid: high[0].sid, subid: 0 }"}],staticClass:"text-left w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.high[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.high[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.high[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.high[0].l))])])])])])],a._v(" "),t("div",{staticClass:"container-fluid container-fluid-5"},[t("div",{staticClass:"row row5"},[t("div",{staticClass:"col-md-4 col-12 note-baccarat"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.bacc[0].nat))]),a._v(" "),t("span",{staticClass:"text-yellow"},[a._v("(1st, 2nd, 3rd card)")])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bacc[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bacc[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bacc[0].sid,subid:0},expression:"{ sid: bacc[0].sid, subid: 0 }"}]},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.bacc[1].nat))]),a._v(" "),t("span",{staticClass:"text-yellow"},[a._v("(4th, 5th, 6th card)")])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bacc[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bacc[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bacc[1].sid,subid:0},expression:"{ sid: bacc[1].sid, subid: 0 }"}]},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"col-md-8 col-12 note-cards"},[t("div",{staticClass:"casino-cards text-center mt-1"},[a._l(a.orderBy(a.card[0].odds,"sno"),(function(s,e){return[t("div",{key:e,staticClass:"casino-card-item"},[t("div",{staticClass:"casino-book"},[a._v(a._s(s.b))]),a._v(" "),t("div",{staticClass:"card-image",class:{suspended:"OPEN"!=a.card[0].gstatus}},[1==s.ssid?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s.ssid,".png")}})]],2),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.card[0].sid,subid:s.ssid},expression:"{ sid: card[0].sid, subid: odds.ssid }"}]},[a._v("0")])])]}))],2)])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen2024"});return this.orderBy(a,"sr")},con20:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"con20"});return this.orderBy(a,"sr")},con24:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"con24"});return this.orderBy(a,"sr")},pair20:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"pair20"==a.subtype}));return this.orderBy(a,"sr")},pair24:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"pair24"==a.subtype}));return this.orderBy(a,"sr")},seq20:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"seq20"==a.subtype}));return this.orderBy(a,"sr")},seq24:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"seq24"==a.subtype}));return this.orderBy(a,"sr")},run9:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"run9"==a.subtype}));return this.orderBy(a,"sr")},run31:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"run31"==a.subtype}));return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Teenpatti 2024",gameType:"teen2024",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti2024"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer"},[0!=a.time.total?t("Timer",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e()],1),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"casinolist"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})]),a._v(" "),t("div",{staticClass:"casino-video-lr-icon",attrs:{title:"Last Results"},on:{click:function(t){a.showResults=!a.showResults}}},[t("i",{staticClass:"fas",class:[{"fa-chevron-circle-down":!a.showResults},{"fa-chevron-circle-up":a.showResults}]})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}}),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[t("div",{staticClass:"playera"},[a._v(a._s(a.main[0].nat)+"\r\n                                                "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}})])])])]),a._v(" "),a._m(0)]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.run9[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.run9[0].sid,subid:0},expression:"{sid: run9[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.run9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run9[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.run9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run9[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.con20[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.con20[0].sid,subid:0},expression:"{sid: con20[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.con20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con20[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.con20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con20[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.pair20[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair20[0].sid,subid:0},expression:"{sid: pair20[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair20[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.pair20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair20[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.seq20[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.seq20[0].sid,subid:0},expression:"{sid: seq20[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.seq20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq20[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.seq20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq20[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[t("div",{staticClass:"playerb"},[a._v(a._s(a.main[1].nat)+"\r\n                                                "),t("div",{staticClass:"d-flex"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/J.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/Q.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/K.jpg")}})])])])]),a._v(" "),a._m(1)]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.main[1].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.run31[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.run31[0].sid,subid:0},expression:"{sid: run31[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.run31[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run31[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.run31[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run31[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.con24[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.con24[0].sid,subid:0},expression:"{sid: con24[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.con24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con24[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.con24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con24[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.pair24[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair24[0].sid,subid:0},expression:"{sid: pair24[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair24[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.pair24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair24[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.seq24[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.seq24[0].sid,subid:0},expression:"{sid: seq24[0].sid, subid: 0}"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.seq24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq24[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.seq24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq24[0].l))])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[t("div",{staticClass:"playera"},[a._v(a._s(a.main[0].nat)+"\r\n                                        "),t("div",{staticClass:"d-flex w-100"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}})])])])]),a._v(" "),t("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[t("div",{staticClass:"playerb"},[a._v(a._s(a.main[1].nat)+"\r\n                                        "),t("div",{staticClass:"d-flex w-100"},[t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/J.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/Q.jpg")}})]),a._v(" "),t("div",{staticClass:"card-image ml-1"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/K.jpg")}})])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.main[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.main[1].nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[a._m(3),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.run9[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.run9[0].sid,subid:0},expression:"{sid: run9[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.run9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run9[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.run9[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run9[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.run31[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.run31[0].sid,subid:0},expression:"{sid: run31[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.run31[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run31[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.run31[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.run31[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[a._m(4),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.con20[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.con20[0].sid,subid:0},expression:"{sid: con20[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.con20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con20[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.con20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con20[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.con24[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.con24[0].sid,subid:0},expression:"{sid: con24[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.con24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con24[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.con24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.con24[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[a._m(5),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.pair20[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair20[0].sid,subid:0},expression:"{sid: pair20[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair20[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.pair20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair20[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.pair24[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair24[0].sid,subid:0},expression:"{sid: pair24[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair24[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.pair24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair24[0].l))])])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[a._m(6),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.seq20[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.seq20[0].sid,subid:0},expression:"{sid: seq20[0].sid, subid: 0}"}],staticClass:"float-right w-100"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.seq20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq20[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.seq20[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq20[0].l))])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(a.seq24[0].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.seq24[0].sid,subid:0},expression:"{sid: seq24[0].sid, subid: 0}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.seq24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq24[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.seq24[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.seq24[0].l))])])])])])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[this._v("\r\n                                             \r\n                                        ")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[this._v("\r\n                                             \r\n                                        ")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[this._v("\r\n                                             \r\n                                        ")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[this._v("\r\n                                             \r\n                                        ")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[this._v("\r\n                                             \r\n                                        ")]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{redBlack:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"redblack"});return this.orderBy(a,"sr")},oddEven:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"oddeven"});return this.orderBy(a,"sr")},upDown:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"updown"});return this.orderBy(a,"sr")},cardj:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"Cardj"});return this.orderBy(a,"sr")},color:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"color"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"KBC",gameType:"kbc",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?a.$store.state.casinoBetSoda=t.data.t1:a.$store.state.casinoBetSoda=null,1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){a.$store.state.casinoBetSoda=null,1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table kbc"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[2]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[3]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[4]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"row row5 kbc-btns"},[t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("[Q1] "+a._s(a.redBlack[0].nat))])]),a._v(" "),t("div",{staticClass:"btn-group btn-group-toggle",attrs:{"data-toggle":"buttons"}},[t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.redBlack[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option1",autocomplete:"off",checked:""}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.redBlack[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("[Q2] "+a._s(a.oddEven[0].nat))])]),a._v(" "),t("div",{staticClass:"btn-group btn-group-toggle",attrs:{"data-toggle":"buttons"}},[t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.oddEven[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option1",autocomplete:"off",checked:""}}),a._v("\n                      ODD\n                    ")]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.oddEven[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v("\n                      EVEN\n                    ")])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("[Q3] "+a._s(a.upDown[0].nat))])]),a._v(" "),t("div",{staticClass:"btn-group btn-group-toggle",attrs:{"data-toggle":"buttons"}},[t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.upDown[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option1",autocomplete:"off",checked:""}}),a._v("\n                      UP\n                    ")]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.upDown[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v("\n                      DOWN\n                    ")])])])])]),a._v(" "),t("div",{staticClass:"row row5 kbc-btns kbcothers mt-2"},[t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("[Q4] "+a._s(a.cardj[0].nat))])]),a._v(" "),t("div",{staticClass:"btn-group btn-group-toggle",attrs:{"data-toggle":"buttons"}},[t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.cardj[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option1",autocomplete:"off",checked:""}}),a._v("\n                      1 2 3\n                    ")]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.cardj[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v("\n                      4 5 6\n                    ")]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.cardj[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v("\n                      8 9 10\n                    ")]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.cardj[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v("\n                      J Q K\n                    ")])])])]),a._v(" "),t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("[Q5] "+a._s(a.color[0].nat))])]),a._v(" "),t("div",{staticClass:"btn-group btn-group-toggle",attrs:{"data-toggle":"buttons"}},[t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.color[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option1",autocomplete:"off",checked:""}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}})]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.color[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}})]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.color[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("label",{staticClass:"btn",class:[{suspended:"OPEN"!=a.color[0].gstatus}]},[t("input",{attrs:{type:"radio",name:"options",id:"option2",autocomplete:"off"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1 w-100"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                View All\n              ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen1"});return this.orderBy(a,"sr")},upDown:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"updown"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"teen1",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teen1oneday"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Player")]),a._v(" "),t("div",[t("span",[t("Card",{attrs:{card:a.cards[0]}})],1)])]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Dealer")]),a._v(" "),t("div",[t("span",[t("Card",{attrs:{card:a.cards[1]}})],1)])])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Player")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Dealer")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"mr-2"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])])]),a._v(" "),a.$store.getters.isTablet?t("div",{staticClass:"teen1daycasino-container"},[t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"seven-up-down-box"},[t("div",{staticClass:"up-box",class:{suspended:"OPEN"!=a.upDown[1].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[1].sid,subid:a.upDown[1].sid},expression:"{ sid: upDown[1].sid, subid: upDown[1].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-right"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[1].b))]),a._v(" "),t("span",[a._v("DOWN")])])]),a._v(" "),t("div",{staticClass:"down-box",class:{suspended:"OPEN"!=a.upDown[0].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[0].sid,subid:a.upDown[0].sid},expression:"{ sid: upDown[0].sid, subid: upDown[0].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-left"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[0].b))]),a._v(" "),t("span",[a._v("UP")])])]),a._v(" "),t("div",{staticClass:"seven-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/trape-seven.png")}})])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"seven-up-down-box"},[t("div",{staticClass:"up-box",class:{suspended:"OPEN"!=a.upDown[3].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[3].sid,subid:a.upDown[3].sid},expression:"{ sid: upDown[3].sid, subid: upDown[3].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-right"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[3].b))]),a._v(" "),t("span",[a._v("DOWN")])])]),a._v(" "),t("div",{staticClass:"down-box",class:{suspended:"OPEN"!=a.upDown[2].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[2].sid,subid:a.upDown[2].sid},expression:"{ sid: upDown[2].sid, subid: upDown[2].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-left"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[2].b))]),a._v(" "),t("span",[a._v("UP")])])]),a._v(" "),t("div",{staticClass:"seven-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/trape-seven.png")}})])])])]):a._e(),a._v(" "),a.$store.getters.isTablet?a._e():t("div",{staticClass:"teen1daycasino-container"},[a._m(0),a._v(" "),a._m(1),a._v(" "),t("div",{staticClass:"teen1dayleft"},[t("div",{staticClass:"seven-up-down-box"},[t("div",{staticClass:"up-box",class:{suspended:"OPEN"!=a.upDown[0].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[0].sid,subid:a.upDown[0].sid},expression:"{ sid: upDown[0].sid, subid: upDown[0].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-right"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[0].b))]),a._v(" "),t("span",[a._v("UP")])])]),a._v(" "),t("div",{staticClass:"down-box",class:{suspended:"OPEN"!=a.upDown[2].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[2].sid,subid:a.upDown[2].sid},expression:"{ sid: upDown[2].sid, subid: upDown[2].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-left"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[2].b))]),a._v(" "),t("span",[a._v("UP")])])]),a._v(" "),t("div",{staticClass:"seven-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/trape-seven.png")}})])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[t("div",{staticClass:"seven-up-down-box"},[t("div",{staticClass:"up-box",class:{suspended:"OPEN"!=a.upDown[1].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[1].sid,subid:a.upDown[1].sid},expression:"{ sid: upDown[1].sid, subid: upDown[1].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-right"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[1].b))]),a._v(" "),t("span",[a._v("DOWN")])])]),a._v(" "),t("div",{staticClass:"down-box",class:{suspended:"OPEN"!=a.upDown[3].gstatus}},[t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.upDown[3].sid,subid:a.upDown[3].sid},expression:"{ sid: upDown[3].sid, subid: upDown[3].sid }"}],staticClass:"up-down-book"},[a._v("0")]),a._v(" "),t("div",{staticClass:"text-left"},[t("div",{staticClass:"up-down-odds"},[a._v(a._s(a.upDown[3].b))]),a._v(" "),t("span",[a._v("DOWN")])])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"teen1dayleft w-50"},[a("b",{staticClass:"text-yellow"},[this._v("Player")])])},function(){var a=this._self._c;return a("div",{staticClass:"teen1dayright w-50 text-right"},[a("b",{staticClass:"text-yellow"},[this._v("Dealer")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.get(this.casinoData,"sub");return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"teen120",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teen1t20"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Player")]),a._v(" "),t("div",[t("span",[t("Card",{attrs:{card:a.cards[0]}})],1)])]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[a._v("Dealer")]),a._v(" "),t("div",[t("span",[t("Card",{attrs:{card:a.cards[1]}})],1)])])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.main[0]?t("div",{staticClass:"dtobx-top"},[t("div",{staticClass:"dragon-box",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("div",{staticClass:"flex-book"},[t("b",[a._v("Player")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid,subid:0},expression:"{ sid: main[0].sid, subid: 0 }"}],staticClass:"d-block"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"text-center flex-odds"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[0].b))])])])]),a._v(" "),t("div",{staticClass:"tiebox",class:{suspended:"OPEN"!=a.main[2].gstatus}},[a._m(0),a._v(" "),t("div",{staticClass:"text-center flex-odds"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[2].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[2].sid,subid:0},expression:"{ sid: main[2].sid, subid: 0 }"}],staticClass:"d-block"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"tiger-box",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("div",{staticClass:"flex-book"},[t("b",[a._v("Dealer")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid,subid:0},expression:"{ sid: main[1].sid, subid: 0 }"}],staticClass:"d-block"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"text-center flex-odds"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[1].b))])])])]),a._v(" "),t("div",{staticClass:"pair-box",class:{suspended:"OPEN"!=a.main[3].gstatus}},[a._m(1),a._v(" "),t("div",{staticClass:"text-center flex-odds"},[t("span",{staticClass:"d-block"},[t("b",[a._v(a._s(a.main[3].b))])]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[3].sid,subid:0},expression:"{ sid: main[3].sid, subid: 0 }"}],staticClass:"d-block"},[a._v("0")])])])]):a._e(),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",[a("b",[this._v("Tie")])])},function(){var a=this._self._c;return a("div",[a("b",[this._v("Pair")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults(),setTimeout((function(){$("#andarSlider, #baharSlider").owlCarousel({rtl:!0,loop:!1,margin:2,slideBy:3,nav:!0,responsiveClass:!0,dots:!1,autoWidth:!0,responsive:{0:{items:3,nav:!0},320:{items:3,nav:!0},768:{items:4,nav:!0}}})}),100)},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"child"),{subtype:"ab3"});return this.orderBy(a,"sr")},odds:function(){return _.filter(_.get(this.casinoData,"sub"),{visible:1})}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"ab3",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",andarAllSlider:[],baharAllSlider:[],andarAllLength:0,baharAllLength:0,andarAll:[],baharAll:[],clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){this.baharAllSlider.length>0&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),a.andarAllSlider=[],a.baharAllSlider=[],a.cards.forEach((function(t,s){1!=t&&(s%2==0?a.baharAllSlider.push(t):a.andarAllSlider.push(t))}));var s="";a.andarAllSlider.length>0?(a.andarAllSlider.reverse().forEach((function(t){var e="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");s+='<div class="item"><span><img src="'.concat(e,'"></span></div>')})),$("#andarSlider").trigger("replace.owl.carousel",s).trigger("refresh.owl.carousel")):($("#andarSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.andarAllLength=0);var e="";a.baharAllSlider.length>0?(a.baharAllSlider.reverse().forEach((function(t){var s="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");e+='<div class="item"><span><img src="'.concat(s,'"></span></div>')})),$("#baharSlider").trigger("replace.owl.carousel",e).trigger("refresh.owl.carousel")):($("#baharSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.baharAllLength=0),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table andar-bahar2 ab3"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.$store.getters.isMobile?a._e():t("div",{staticClass:"casino-video-cards d-none-small",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),a._m(0)]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),t("div",{staticClass:"casino-detail"},[a.$store.getters.isMobile?t("div",{staticClass:"casino-video-cards d-none-desktop"},[a._m(1)]):a._e(),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"ab-bg"},[t("div",{staticClass:"andar-cards-box text-center",class:{suspended:0==a.odds.length||"SUSPENDED"==a.odds[0].gstatus||a.odds[0].sid%2==0}},[t("h5",{staticClass:"w-100 text-center text-playera"},[a._v("\r\n                                    Andar\r\n                                ")]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:"andar-".concat(e),staticClass:"casino-card-item"},[t("div",{staticClass:"text-center"},[a._v(a._s(a.main[e].l))]),a._v(" "),a.main[e].l>0&&1==a.main[e].b?[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(s,".png")}})])]:[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/0.png")}})])],a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odds[0].sid,subid:a.main[e].sid},expression:"{sid: odds[0].sid, subid: main[key].sid}"}],staticClass:"casino-book"})],2)]}))],2),a._v(" "),t("div",{staticClass:"bahar-cards-box text-center",class:{suspended:"SUSPENDED"==a.odds[0].gstatus}},[t("h5",{staticClass:"w-100 text-center text-playerb"},[a._v("\r\n                                    Bahar\r\n                                ")]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:"bahar-".concat(e),staticClass:"casino-card-item"},[t("div",{staticClass:"text-center"},[a._v(a._s(a.main[e+13].l))]),a._v(" "),a.main[e+13].l>0&&1==a.main[e+13].b?[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(s,".png")}})])]:[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/0.png")}})])],a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odds[0].sid,subid:a.main[e+13].sid},expression:"{sid: odds[0].sid, subid: main[key+13].sid}"}],staticClass:"casino-book"})],2)]}))],2)]):a._e(),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                    View All\r\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2)])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-video-cards-container"},[a("div",{staticClass:"row row5 align-items-center"},[a("div",{staticClass:"col-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12 mb-3"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])]),this._v(" "),a("div",{staticClass:"col-11"},[a("div",{staticClass:"card-inner mb-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}})])])]),this._v(" "),a("div",{staticClass:"card-inner"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}})])])])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-video-cards-container"},[a("div",{staticClass:"row row5 align-items-center"},[a("div",{staticClass:"col-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12 mb-3"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])]),this._v(" "),a("div",{staticClass:"col-9"},[a("div",{staticClass:"card-inner"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}})])])]),this._v(" "),a("div",{staticClass:"card-inner"},[a("div",{staticClass:"row row5 mt-1"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}})])])])])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults(),setTimeout((function(){$("#andarSlider").owlCarousel({rtl:!0,loop:!1,margin:0,slideBy:4,nav:!0,responsiveClass:!0,dots:!1,responsive:{0:{items:3},320:{items:3},768:{items:3}}})}),1e3)},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"dum10"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"dum10fancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Das ka Dum",gameType:"dum10",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,playersCards:{p1:null,p2:null,p3:null,p4:null},sliderCards:[]}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){this.sliderCards.length>0&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt");var s="";a.sliderCards=a.casinoData.lcard.split(","),a.sliderCards.length>0?(a.sliderCards.reverse().forEach((function(t){var e="".concat(a.imgPath,"front/img/cards/").concat(t,".png");s+='<div class="item"><span><img src="'.concat(e,'"></span></div>')})),$("#andarSlider").trigger("replace.owl.carousel",s).trigger("refresh.owl.carousel")):$("#andarSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table duskadum"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))]),a._v(" "),t("div",{staticClass:"dkd-total"},[t("div",[a._v("Current Total:")]),a._v(" "),t("div",{staticClass:"numeric text-playerb"},[a._v(a._s(a.casinoData.csum))])])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.sliderCards&&a.sliderCards.length>0?[t("div",{staticClass:"casino-video-cards andar-bahar2",class:{"hide-cards":!(a.showCards&&a.sliderCards.length>0)}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards()}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),a._m(0)])]:a._e(),a._v(" "),a.casinoData&&a.casinoData.card?t("div",{staticClass:"casino-video-current-card"},[t("div",[t("Card",{attrs:{card:a.casinoData.card}})],1)]):a._e(),a._v(" "),t("div",{staticClass:"casino-timer"},[0!=a.time.total?t("Timer",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e()],1),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("div",{staticClass:"p-relative"},[t("b",[a._v(a._s(a.main[0].nat))]),a._v(" "),t("div",{staticClass:"d-inline-block"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo"}},[a._v("\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"float-right mr-2"},[t("span",{staticClass:"d-block"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"casino-book"})]),a._v(" "),t("span",{staticClass:"d-block"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"casino-book"})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])]),a._v(" "),t("div",{staticClass:"dkd-other mt-2"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[2].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[3].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[0].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("b",[a._v(a._s(a.fancy[1].b))])])]),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[2].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{ sid: fancy[2].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy[3].nat))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{ sid: fancy[3].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/diamond.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{ sid: fancy[0].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item casino-card-img",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("span",[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"front/img/cards/club.png")}})]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{ sid: fancy[1].sid, subid: 0 }"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"text-center w-100"},[t("span",{staticClass:"float-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{ size: fancy[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{ size: fancy[0].max }"}]})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-video-cards-container"},[a("div",{staticClass:"dum-slider ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}})])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={props:["gtype"],mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"cmeter1",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,gameDetail:[],gameSoda:[],tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table one-card-meter"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),t("div",{staticClass:"casino-detail"},[a.main.length>0?t("div",{staticClass:"meter-btns"},[t("div",{staticClass:"meter-btn"},[t("div",{staticClass:"text-right min-max"},[a._v("\n                                    Min:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("\n                                    Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})]),a._v(" "),t("div",{staticClass:"meter-btn-box",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("button",{staticClass:"btn btn-fighter-1"},[a._v("\n                                        "+a._s(a.main[0].nat)+"\n                                        "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/fight.png"),alt:"Fight"}})])]),a._v(" "),t("div",{staticClass:"book-green text-center"},[t("b",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid,subid:0},expression:"{sid: main[0].sid, subid: 0}"}]},[a._v("0")])])]),a._v(" "),t("div",{staticClass:"meter-btn"},[t("div",{staticClass:"text-right min-max"},[a._v("\n                                    Min:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("\n                                    Max:"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})]),a._v(" "),t("div",{staticClass:"meter-btn-box",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("button",{staticClass:"btn btn-fighter-2",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/fight.png"),alt:"Fight"}}),a._v("\n                                        "+a._s(a.main[1].nat)+"\n                                    ")])]),a._v(" "),t("div",{staticClass:"book-green text-center"},[t("b",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid,subid:0},expression:"{sid: main[1].sid, subid: 0}"}]},[a._v("0")])])])]):a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1)])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(5),n=s(8),o=s(3),c=s(4),r={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getCasinoData(),this.getTvUrl(),this.getUserBook(),this.getLastResults()},components:{RightSideBar:n.a,LastResultsSection:i.a,Timer:o.a,CasinoRules:c.a},data:function(){return{gameTitle:"Sicbo",gameType:"sicbo",tvUrl:"",lastResults:[],showResults:!0,casinoData:[],imgPath:IMG_PATH,mId:0,callBookApi:!0,callDataApi:!0,time:{total:0,current:0},clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status&&(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),500))}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},l=s(1),d=Object(l.a)(r,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table sicbo"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}}),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"d-none d-xl-block"},[t("div",{staticClass:"sicbo-top"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v("\n                           "+a._s(a.casinoData.sub[0].b)+":1 Lose if Any Triple\n                        ")]),a._v(" "),t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v("\n                           "+a._s(a.casinoData.sub[2].b)+":1\n                        ")]),a._v(" "),t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v("\n                           "+a._s(a.casinoData.sub[1].b)+":1 Lose if Any Triple\n                        ")])]),a._v(" "),t("div",{staticClass:"sicbo-middle"},[t("div",{staticClass:"sicbo-middle-small sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[3].gstatus}},[t("div",[a._v("Small")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("4-10")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-midle"},[t("div",{staticClass:"sicbo-middle-top-row"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[3].gstatus}},[t("div",[a._v("ODD")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[3].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[17].gstatus}},[t("div",[a._v("4")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[17].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[18].gstatus}},[t("div",[a._v("5")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[18].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[19].gstatus}},[t("div",[a._v("6")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[19].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[20].gstatus}},[t("div",[a._v("7")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[20].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[21].gstatus}},[t("div",[a._v("8")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[21].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[22].gstatus}},[t("div",[a._v("9")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[22].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[23].gstatus}},[t("div",[a._v("10")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[23].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[2].gstatus}},[t("div",[a._v("Any Triple")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[24].gstatus}},[t("div",[a._v("11")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[24].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[25].gstatus}},[t("div",[a._v("12")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[25].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[26].gstatus}},[t("div",[a._v("13")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[26].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[27].gstatus}},[t("div",[a._v("14")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[27].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[28].gstatus}},[t("div",[a._v("15")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[28].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[29].gstatus}},[t("div",[a._v("16")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[29].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[30].gstatus}},[t("div",[a._v("17")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[30].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[4].gstatus}},[t("div",[a._v("Even")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[4].b)+":1")])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-middle-row"},[t("div",{staticClass:"sicbo-cube-box-container"},[a._m(0),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[46].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[47].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[48].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[49].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[50].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[51].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[5].b)+":1 Each Double\n                                 ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[5].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[6].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[7].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[8].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[9].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[10].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[11].b)+":1 Each Triple\n                                 ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[11].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[12].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[13].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[14].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[15].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[16].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-big sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[1].gstatus}},[t("div",[a._v("Big")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("11-17")])])]),a._v(" "),t("div",{staticClass:"sicbo-bottom"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[31].b)+":1 Two Dice")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[31].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[32].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[33].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[34].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[35].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[36].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[37].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[38].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[39].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[40].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[41].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[42].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[43].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[44].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[45].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])])]),a._v(" "),t("div",{staticClass:"d-xl-none"},[t("div",{staticClass:"sicbo-top"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[0].b)+":1 Lose if Any Triple\n                           ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[0].gstatus}},[t("div",[a._v("SMALL")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("4-10")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[3].gstatus}},[t("div",[a._v("ODD")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[3].b)+":1")])])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[2].b)+":1")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[2].gstatus}},[t("div",[a._v("Any Triple")])])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[4].b)+":1 Lose if Any Triple\n                           ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[4].gstatus}},[t("div",[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[4].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[1].gstatus}},[t("div",[a._v("BIG")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("11-17")])])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle"},[t("div",{staticClass:"sicbo-middle-left"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[5].b)+":1 Each Double")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[5].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[6].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[7].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[8].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[9].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[10].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[11].b)+":1 Each Triple")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[11].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[12].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[13].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[14].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[15].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[16].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-right"},[t("div",{staticClass:"sicbo-middle-top-row"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[17].gstatus}},[t("div",[a._v("4")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[17].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[18].gstatus}},[t("div",[a._v("5")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[18].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[19].gstatus}},[t("div",[a._v("6")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[19].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[20].gstatus}},[t("div",[a._v("7")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[20].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[21].gstatus}},[t("div",[a._v("8")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[21].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[22].gstatus}},[t("div",[a._v("9")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[22].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[23].gstatus}},[t("div",[a._v("10")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[23].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[24].gstatus}},[t("div",[a._v("11")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[24].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[25].gstatus}},[t("div",[a._v("12")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[25].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[26].gstatus}},[t("div",[a._v("13")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[26].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[27].gstatus}},[t("div",[a._v("14")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[27].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[28].gstatus}},[t("div",[a._v("15")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[28].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[29].gstatus}},[t("div",[a._v("16")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[29].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[30].gstatus}},[t("div",[a._v("17")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[30].b)+":1")])])]),a._v(" "),t("div",{staticClass:"sicbo-bottom"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[31].b)+":1 Two Dice")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[31].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[32].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[33].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[34].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[35].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[36].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[37].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[38].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[39].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[40].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[41].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[42].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[43].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[44].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[45].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-middle-row"},[t("div",{staticClass:"sicbo-cube-box-container"},[a._m(1),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[46].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[47].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[48].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[49].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[50].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[51].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])])])])]),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                        View All\n                     ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a("span",[this._v("1:1 On Single")]),this._v(" "),a("span",[this._v("2:1 On Double")]),this._v(" "),a("span",[this._v("3:1 On Triple")])])},function(){var a=this._self._c;return a("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a("span",[this._v("1:1 On Single")]),this._v(" "),a("span",[this._v("2:1 On Double")]),this._v(" "),a("span",[this._v("3:1 On Triple")])])}],!1,null,null,null);t.a=d.exports},function(a,t,s){"use strict";var e=s(0),i=s(5),n=s(8),o=s(3),c=s(4),r={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getCasinoData(),this.getTvUrl(),this.getUserBook(),this.getLastResults()},components:{RightSideBar:n.a,LastResultsSection:i.a,Timer:o.a,CasinoRules:c.a},data:function(){return{gameTitle:"Sicbo2",gameType:"sicbo2",tvUrl:"",lastResults:[],showResults:!0,casinoData:[],imgPath:IMG_PATH,mId:0,callBookApi:!0,callDataApi:!0,time:{total:0,current:0},clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status&&(a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),500))}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},l=s(1),d=Object(l.a)(r,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table sicbo"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[t("div",{staticClass:"video-box"},[""!=a.tvUrl?t("iframe",{attrs:{src:a.tvUrl}}):a._e()])]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}}),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"d-none d-xl-block"},[t("div",{staticClass:"sicbo-top"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v("\n                           "+a._s(a.casinoData.sub[0].b)+":1 Lose if Any Triple\n                        ")]),a._v(" "),t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v("\n                           "+a._s(a.casinoData.sub[2].b)+":1\n                        ")]),a._v(" "),t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v("\n                           "+a._s(a.casinoData.sub[1].b)+":1 Lose if Any Triple\n                        ")])]),a._v(" "),t("div",{staticClass:"sicbo-middle"},[t("div",{staticClass:"sicbo-middle-small sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[3].gstatus}},[t("div",[a._v("Small")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("4-10")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-midle"},[t("div",{staticClass:"sicbo-middle-top-row"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[3].gstatus}},[t("div",[a._v("ODD")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[3].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[17].gstatus}},[t("div",[a._v("4")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[17].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[18].gstatus}},[t("div",[a._v("5")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[18].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[19].gstatus}},[t("div",[a._v("6")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[19].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[20].gstatus}},[t("div",[a._v("7")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[20].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[21].gstatus}},[t("div",[a._v("8")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[21].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[22].gstatus}},[t("div",[a._v("9")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[22].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[23].gstatus}},[t("div",[a._v("10")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[23].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[2].gstatus}},[t("div",[a._v("Any Triple")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[24].gstatus}},[t("div",[a._v("11")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[24].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[25].gstatus}},[t("div",[a._v("12")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[25].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[26].gstatus}},[t("div",[a._v("13")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[26].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[27].gstatus}},[t("div",[a._v("14")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[27].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[28].gstatus}},[t("div",[a._v("15")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[28].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[29].gstatus}},[t("div",[a._v("16")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[29].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[30].gstatus}},[t("div",[a._v("17")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[30].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[4].gstatus}},[t("div",[a._v("Even")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[4].b)+":1")])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-middle-row"},[t("div",{staticClass:"sicbo-cube-box-container"},[a._m(0),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[46].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[47].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[48].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[49].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[50].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[51].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[5].b)+":1 Each Double\n                                 ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[5].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[6].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[7].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[8].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[9].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[10].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[11].b)+":1 Each Triple\n                                 ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[11].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[12].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[13].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[14].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[15].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[16].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-big sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[1].gstatus}},[t("div",[a._v("Big")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("11-17")])])]),a._v(" "),t("div",{staticClass:"sicbo-bottom"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[31].b)+":1 Two Dice")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[31].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[32].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[33].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[34].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[35].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[36].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[37].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[38].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[39].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[40].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[41].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[42].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[43].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[44].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[45].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])])]),a._v(" "),t("div",{staticClass:"d-xl-none"},[t("div",{staticClass:"sicbo-top"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[0].b)+":1 Lose if Any Triple\n                           ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[0].gstatus}},[t("div",[a._v("SMALL")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("4-10")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[3].gstatus}},[t("div",[a._v("ODD")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[3].b)+":1")])])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[2].b)+":1")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[2].gstatus}},[t("div",[a._v("Any Triple")])])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[4].b)+":1 Lose if Any Triple\n                           ")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[4].gstatus}},[t("div",[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[4].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box sicbo-middle-top-box-odd",class:{suspended:"OPEN"!=a.casinoData.sub[1].gstatus}},[t("div",[a._v("BIG")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v("11-17")])])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle"},[t("div",{staticClass:"sicbo-middle-left"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[5].b)+":1 Each Double")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[5].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[6].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[7].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[8].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[9].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-double",class:{suspended:"OPEN"!=a.casinoData.sub[10].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[11].b)+":1 Each Triple")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[11].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[12].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[13].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[14].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[15].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-tripple",class:{suspended:"OPEN"!=a.casinoData.sub[16].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-right"},[t("div",{staticClass:"sicbo-middle-top-row"},[t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[17].gstatus}},[t("div",[a._v("4")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[17].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[18].gstatus}},[t("div",[a._v("5")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[18].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[19].gstatus}},[t("div",[a._v("6")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[19].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[20].gstatus}},[t("div",[a._v("7")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[20].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[21].gstatus}},[t("div",[a._v("8")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[21].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[22].gstatus}},[t("div",[a._v("9")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[22].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[23].gstatus}},[t("div",[a._v("10")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[23].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[24].gstatus}},[t("div",[a._v("11")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[24].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[25].gstatus}},[t("div",[a._v("12")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[25].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[26].gstatus}},[t("div",[a._v("13")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[26].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[27].gstatus}},[t("div",[a._v("14")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[27].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[28].gstatus}},[t("div",[a._v("15")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[28].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[29].gstatus}},[t("div",[a._v("16")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[29].b)+":1")])]),a._v(" "),t("div",{staticClass:"sicbo-middle-top-box sicbo-square-box",class:{suspended:"OPEN"!=a.casinoData.sub[30].gstatus}},[t("div",[a._v("17")]),a._v(" "),t("div",{staticClass:"sicbo-box-value"},[a._v(a._s(a.casinoData.sub[30].b)+":1")])])]),a._v(" "),t("div",{staticClass:"sicbo-bottom"},[t("div",{staticClass:"sicbo-cube-box-container"},[t("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a._v(a._s(a.casinoData.sub[31].b)+":1 Two Dice")]),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[31].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[32].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[33].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[34].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[35].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[36].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[37].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[38].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[39].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[40].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[41].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[42].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[43].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[44].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-combination",class:{suspended:"OPEN"!=a.casinoData.sub[45].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])]),a._v(" "),t("div",{staticClass:"sicbo-middle-middle-row"},[t("div",{staticClass:"sicbo-cube-box-container"},[a._m(1),a._v(" "),t("div",{staticClass:"sicbo-cube-box-group"},[t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[46].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice1.png"),alt:"Dice 1"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[47].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice2.png"),alt:"Dice 2"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[48].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice3.png"),alt:"Dice 3"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[49].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice4.png"),alt:"Dice 4"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[50].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice5.png"),alt:"Dice 5"}})]),a._v(" "),t("div",{staticClass:"sicbo-cube-box sicbo-square-box sicbo-cube-single",class:{suspended:"OPEN"!=a.casinoData.sub[51].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/dice6.png"),alt:"Dice 6"}})])])])])])])]),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                        View All\n                     ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],1):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a("span",[this._v("1:1 On Single")]),this._v(" "),a("span",[this._v("2:1 On Double")]),this._v(" "),a("span",[this._v("3:1 On Triple")])])},function(){var a=this._self._c;return a("div",{staticClass:"sicbo-top-box sicbo-title-box"},[a("span",[this._v("1:1 On Single")]),this._v(" "),a("span",[this._v("2:1 On Double")]),this._v(" "),a("span",[this._v("3:1 On Triple")])])}],!1,null,null,null);t.a=d.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults(),setTimeout((function(){$("#andarSlider, #baharSlider").owlCarousel({rtl:!0,loop:!1,margin:2,slideBy:3,nav:!0,responsiveClass:!0,dots:!1,autoWidth:!0,responsive:{0:{items:3,nav:!0},320:{items:3,nav:!0},768:{items:4,nav:!0}}})}),100)},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"child"),{subtype:"ab4"});return this.orderBy(a,"sr")},odds:function(){return _.filter(_.get(this.casinoData,"sub"),{visible:1})}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"ab4",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",andarAllSlider:[],baharAllSlider:[],andarAllLength:0,baharAllLength:0,andarAll:[],baharAll:[],clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){this.baharAllSlider.length>0&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),a.andarAllSlider=[],a.baharAllSlider=[],a.cards.forEach((function(t,s){1!=t&&(s%2==0?a.baharAllSlider.push(t):a.andarAllSlider.push(t))}));var s="";a.andarAllSlider.length>0?(a.andarAllSlider.reverse().forEach((function(t){var e="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");s+='<div class="item"><span><img src="'.concat(e,'"></span></div>')})),$("#andarSlider").trigger("replace.owl.carousel",s).trigger("refresh.owl.carousel")):($("#andarSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.andarAllLength=0);var e="";a.baharAllSlider.length>0?(a.baharAllSlider.reverse().forEach((function(t){var s="".concat(a.imgPath,"admin/img/cards/").concat(t,".png");e+='<div class="item"><span><img src="'.concat(s,'"></span></div>')})),$("#baharSlider").trigger("replace.owl.carousel",e).trigger("refresh.owl.carousel")):($("#baharSlider").trigger("replace.owl.carousel","<div/>").trigger("refresh.owl.carousel"),a.baharAllLength=0),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table andar-bahar2 ab3"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.$store.getters.isMobile?a._e():t("div",{staticClass:"casino-video-cards d-none-small",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),a._m(0)]),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],1),a._v(" "),t("div",{staticClass:"casino-detail"},[a.$store.getters.isMobile?t("div",{staticClass:"casino-video-cards d-none-desktop"},[a._m(1)]):a._e(),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"ab-bg"},[t("div",{staticClass:"andar-cards-box text-center",class:{suspended:0==a.odds.length||"SUSPENDED"==a.odds[0].gstatus||a.odds[0].sid%2==0}},[t("h5",{staticClass:"w-100 text-center text-playera"},[a._v("\n                                    Andar\n                                ")]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:"andar-".concat(e),staticClass:"casino-card-item"},[t("div",{staticClass:"text-center"},[a._v(a._s(a.main[e].l))]),a._v(" "),a.main[e].l>0&&1==a.main[e].b?[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(s,".png")}})])]:[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/0.png")}})])],a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odds[0].sid,subid:a.main[e].sid},expression:"{sid: odds[0].sid, subid: main[key].sid}"}],staticClass:"casino-book"})],2)]}))],2),a._v(" "),t("div",{staticClass:"bahar-cards-box text-center",class:{suspended:"SUSPENDED"==a.odds[0].gstatus}},[t("h5",{staticClass:"w-100 text-center text-playerb"},[a._v("\n                                    Bahar\n                                ")]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:"bahar-".concat(e),staticClass:"casino-card-item"},[t("div",{staticClass:"text-center"},[a._v(a._s(a.main[e+13].l))]),a._v(" "),a.main[e+13].l>0&&1==a.main[e+13].b?[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/").concat(s,".png")}})])]:[t("div",{staticClass:"card-image"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/andar-bahar-cards/0.png")}})])],a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odds[0].sid,subid:a.main[e+13].sid},expression:"{sid: odds[0].sid, subid: main[key+13].sid}"}],staticClass:"casino-book"})],2)]}))],2)]):a._e(),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-1"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                    View All\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2)])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-video-cards-container"},[a("div",{staticClass:"row row5 align-items-center"},[a("div",{staticClass:"col-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12 mb-3"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])]),this._v(" "),a("div",{staticClass:"col-11"},[a("div",{staticClass:"card-inner mb-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}})])])]),this._v(" "),a("div",{staticClass:"card-inner"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}})])])])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-video-cards-container"},[a("div",{staticClass:"row row5 align-items-center"},[a("div",{staticClass:"col-1"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12 mb-3"},[a("b",[this._v("A")])])]),this._v(" "),a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("b",[this._v("B")])])])]),this._v(" "),a("div",{staticClass:"col-9"},[a("div",{staticClass:"card-inner"},[a("div",{staticClass:"row row5"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"andarSlider"}})])])]),this._v(" "),a("div",{staticClass:"card-inner"},[a("div",{staticClass:"row row5 mt-1"},[a("div",{staticClass:"col-12"},[a("div",{staticClass:"ab-slider owl-carousel owl-theme",attrs:{id:"baharSlider"}})])])])])])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen41"});return this.orderBy(a,"sr")},underover:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"uo"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Rani Top",gameType:"teen41",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):(a.$store.state.grp=0,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800))})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti2"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].min,type:"min"},expression:"{ size: main[0].min, type: 'min' }"}]}),a._v("-"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].max,type:"max"},expression:"{ size: main[0].max, type: 'max' }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[1].min,type:"min"},expression:"{ size: main[1].min, type: 'min' }"}]}),a._v("-"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[1].max,type:"max"},expression:"{ size: main[1].max, type: 'max' }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])]),a._v(" "),t("div",{staticClass:"teen2uo"},[t("div",{staticClass:"teen1dayleft"}),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.underover[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[0].sid},expression:"{\n                              sid: underover[0].sid,\n                            }"}]},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range5","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range5"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[0].min},expression:"{ size: underover[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[0].max},expression:"{ size: underover[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[0].b))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.underover[1].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[1].sid},expression:"{\n                              sid: underover[1].sid,\n                            }"}]},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range6","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range6"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[1].min},expression:"{ size: underover[1].min }"}]}),a._v("-"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[1].max},expression:"{ size: underover[1].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[1].b))])])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].min,type:"min"},expression:"{ size: main[0].min, type: 'min' }"}]}),a._v("-"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].max,type:"max"},expression:"{ size: main[0].max, type: 'max' }"}]})])])]),a._v(" "),a._m(3),a._v(" "),a._m(4)]),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                View All\n              ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row d-none-big"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"})])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen42"});return this.orderBy(a,"sr")},underover:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"uo"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Jack Top Open Teenpatti",gameType:"teen42",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data2",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,a.$store.state.grp=_.get(a.casinoData,"grp"),_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):(a.$store.state.grp=0,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800))})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType,grp:this.$store.state.grp}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults2",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti2"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{ sid: main[0].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].min,type:"min"},expression:"{ size: main[0].min, type: 'min' }"}]}),a._v("-"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].max,type:"max"},expression:"{ size: main[0].max, type: 'max' }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{ sid: main[1].sid }"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[1].min,type:"min"},expression:"{ size: main[1].min, type: 'min' }"}]}),a._v("-"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[1].max,type:"max"},expression:"{ size: main[1].max, type: 'max' }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])]),a._v(" "),t("div",{staticClass:"teen2uo"},[t("div",{staticClass:"teen1dayleft"}),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(2),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.underover[0].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[0].sid},expression:"{\n                              sid: underover[0].sid,\n                            }"}]},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range5","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range5"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[0].min},expression:"{ size: underover[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[0].max},expression:"{ size: underover[0].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[0].b))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(a.underover[1].nat))]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.underover[1].sid},expression:"{\n                              sid: underover[1].sid,\n                            }"}]},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range6","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range6"}},[a._v("\n                            R:"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[1].min},expression:"{ size: underover[1].min }"}]}),a._v("-"),t("span",{directives:[{name:"kval",rawName:"v-kval",value:{size:a.underover[1].max},expression:"{ size: underover[1].max }"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.underover[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.underover[1].b))])])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\n                          R:"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].min,type:"min"},expression:"{ size: main[0].min, type: 'min' }"}]}),a._v("-"),t("span",{directives:[{name:"kvalpoint",rawName:"v-kvalpoint",value:{size:a.main[0].max,type:"max"},expression:"{ size: main[0].max, type: 'max' }"}]})])])]),a._v(" "),a._m(3),a._v(" "),a._m(4)]),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"front/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                View All\n              ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row d-none-big"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"})])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i={components:{PageHeader:s(10).a},mounted:function(){this.getVirtualCasinoList()},data:function(){return{imgPath:IMG_PATH,pageTitle:"Virtual Casino",items:[{text:"Home",to:{name:"home"}},{text:"Virtual Casino",active:!0}],casinoBannersPath:DIM_BUCKET_PATH+"casino-icons/vc/",title:"",casinoList:[]}},computed:{},methods:{getVirtualCasinoList:function(){var a=this;this.casinoList=[],e.a.callApi("vcasino/list",{}).then((function(t){200==t.status?a.casinoList=t.data:a.casinoList=[]})).catch((function(t){a.casinoList=[]}))}}},n=s(1),o=Object(n.a)(i,(function(){var a=this,t=a._self._c;return t("div",[t("PageHeader",{attrs:{title:a.pageTitle,items:a.items}}),a._v(" "),t("div",{staticClass:"card"},[a.casinoList&&a.casinoList.length>0?t("div",{staticClass:"casino-banners"},[a._l(a.casinoList,(function(s,e){return[t("div",{key:e,staticClass:"casino-banner-item"},[t("router-link",{attrs:{to:{name:s.gtype}}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.casinoBannersPath+s.gtype+".jpg",expression:"casinoBannersPath + data.gtype + '.jpg'"}],staticClass:"img-fluid"})])],1)]}))],2):t("div",{staticClass:"text-center mt-5 mb-5 font-20"},[a._v("\n            No Casino Found\n        ")])])],1)}),[],!1,null,null,null);t.a=o.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vteen"});return this.orderBy(a,"sr")},oddEven:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"voddeven"}),t=this.orderBy(a,"sr");return t.forEach((function(a){a.odds=_.orderBy(a.odds,"sno")})),t},suit:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"vsuita"==a.subtype||"vsuitb"==a.subtype}));return this.orderBy(a,"sr")},consicutive:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vcon"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vteen",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vteen1day"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("Player A")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",{staticClass:"player-card playerb-card"},["2"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("Player B")]),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[a._m(0),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("div",{staticClass:"vminmax"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"w-100 odds-book text-center"})])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.consicutive[0].sid},expression:"{sid: consicutive[0].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("div",{staticClass:"vminmax"},[t("b",[a._v("Consecutive")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range12","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range12"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.consicutive[1].min},expression:"{size: consicutive[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.consicutive[1].max},expression:"{size: consicutive[1].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.consicutive[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.consicutive[1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.consicutive[1].sid},expression:"{sid: consicutive[1].sid}"}],staticClass:"w-100 odds-book text-center"})])])]),a._v(" "),t("div",{staticClass:"others-odds"},[t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box w-100"},[t("div",{staticClass:"d-inline-block pr"},[t("b",[a._v("ODD")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range13"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range13"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.oddEven[0].min},expression:"{size: oddEven[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.oddEven[0].max},expression:"{size: oddEven[0].max}"}]})])])])]),a._v(" "),a._l(a.oddEven,(function(s,e){return[t("div",{staticClass:"odds-box"},[t("div",{key:e,staticClass:"casino-bl-box"},[a._l(s.odds,(function(e,i){return["odd"==e.nat.toLowerCase()?[t("div",{key:i,staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}],staticClass:"casino-book"})]:a._e()]}))],2)])]}))],2),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box w-100"},[t("div",{staticClass:"d-inline-block pr"},[t("b",[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range14"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range14"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.oddEven[0].min},expression:"{size: oddEven[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.oddEven[0].max},expression:"{size: oddEven[0].max}"}]})])])])]),a._v(" "),a._l(a.oddEven,(function(s,e){return t("div",{staticClass:"odds-box"},[t("div",{key:e,staticClass:"casino-bl-box"},[a._l(s.odds,(function(e,i){return["even"==e.nat.toLowerCase()?[t("div",{key:i,staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}],staticClass:"casino-book"})]:a._e()]}))],2)])}))],2)]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"odds-title"},[a("div",{staticClass:"playera"},[this._v("Player A")]),this._v(" "),a("div",[this._v(" ")]),this._v(" "),a("div",{staticClass:"playerb"},[this._v("Player B")])])}],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vplayer"});return this.orderBy(a,"sr")},pair:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vpair"});return this.orderBy(a,"sr")},khal:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"vkhal"==a.subtype}));return this.orderBy(a,"sr")},redBlack:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vredblack"});return this.orderBy(a,"sr")},total:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vtotal"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vteen20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vteen20"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("Player A")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",{staticClass:"player-card playerb-card"},["2"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("Player B")]),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[a._m(0),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid},expression:"{sid: player[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[1].sid},expression:"{sid: player[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.khal[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.khal[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.khal[0].sid},expression:"{sid: khal[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("b",[a._v("3 Baccarat")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.khal[0].min},expression:"{size: khal[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.khal[0].max},expression:"{size: khal[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.khal[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.khal[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.khal[1].sid},expression:"{sid: khal[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[0].sid},expression:"{sid: total[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("b",[a._v("Total")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range3"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.total[0].min},expression:"{size: total[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.total[0].max},expression:"{size: total[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.total[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.total[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.total[1].sid},expression:"{sid: total[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("A")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[0].sid},expression:"{sid: pair[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("b",[a._v("Pair Plus")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range4"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair[0].min},expression:"{size: pair[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair[0].max},expression:"{size: pair[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("B")]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair[1].sid},expression:"{sid: pair[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[0].sid},expression:"{sid: redBlack[0].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}}),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range5"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[0].min},expression:"{size: redBlack[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[0].max},expression:"{size: redBlack[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[2].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[2].sid},expression:"{sid: redBlack[2].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[1].sid},expression:"{sid: redBlack[1].sid}"}],staticClass:"casino-book"},[a._v("0")])])])]),a._v(" "),t("div",{staticClass:"odds-box pt-2"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{staticClass:"diamond-icon",attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}}),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#range6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range6"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.redBlack[1].min},expression:"{size: redBlack[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.redBlack[1].max},expression:"{size: redBlack[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"odds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.redBlack[3].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.redBlack[3].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.redBlack[3].sid},expression:"{sid: redBlack[3].sid}"}],staticClass:"casino-book"},[a._v("0")])])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"odds-title"},[a("div",{staticClass:"playera"},[this._v("Player A")]),this._v(" "),a("div",[this._v(" ")]),this._v(" "),a("div",{staticClass:"playerb"},[this._v("Player B")])])}],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vdt6"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vdt6fancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vdt6",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vdt1day"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("Dragon")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}})],1),a._v(" "),t("div",{staticClass:"player-card playerb-card"},["2"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("Tiger")]),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"dragon-box dpt-box"},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.main[0].nat)+"\r\n                                        "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo0"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo0"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"dt-odds"},[t("div",{staticClass:"back-box",class:{suspended:"OPEN"!=a.main[0].gstatus}},[a._v(a._s(a.main[0].b))]),a._v(" "),t("div",{staticClass:"lay-box",class:{suspended:"OPEN"!=a.main[0].gstatus}},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"pair-box dpt-box"},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.fancy[0].nat)+"\r\n                                        "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demof0"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demof0"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{size: fancy[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{size: fancy[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"dt-odds"},[t("div",{staticClass:"back-box",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[a._v(a._s(a.fancy[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid},expression:"{sid: fancy[0].sid}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"tiger-box dpt-box"},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.main[1].nat)+"\r\n                                        "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"dt-odds"},[t("div",{staticClass:"back-box",class:{suspended:"OPEN"!=a.main[1].gstatus}},[a._v(a._s(a.main[1].b))]),a._v(" "),t("div",{staticClass:"lay-box",class:{suspended:"OPEN"!=a.main[1].gstatus}},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"dt-book w-100"})])]),a._v(" "),t("div",{staticClass:"other-odds"},[t("div",{staticClass:"dragon-section"},[t("div",{staticClass:"w-100 playera mb-2 text-center"},[a._v("DRAGON")]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[1].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{sid: fancy[1].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("ODD")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[2].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{sid: fancy[2].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[3].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{sid: fancy[3].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[4].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{sid: fancy[4].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-3"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[1].min},expression:"{size: fancy[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[1].max},expression:"{size: fancy[1].max}"}]})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[5].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{sid: fancy[5].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[6].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{sid: fancy[6].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[8].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[8].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[8].sid,subid:0},expression:"{sid: fancy[8].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[7].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{sid: fancy[7].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-3"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[5].min},expression:"{size: fancy[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[5].max},expression:"{size: fancy[5].max}"}]})])]),a._v(" "),t("div",{staticClass:"dt-divider"}),a._v(" "),t("div",{staticClass:"tiger-section"},[t("div",{staticClass:"w-100 playerb mb-2 text-center"},[a._v("TIGER")]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[9].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[9].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[9].sid,subid:0},expression:"{sid: fancy[9].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[10].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("ODD")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[10].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[10].sid,subid:0},expression:"{sid: fancy[10].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[11].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[11].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[11].sid,subid:0},expression:"{sid: fancy[11].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[12].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[12].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[12].sid,subid:0},expression:"{sid: fancy[12].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-3"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[9].min},expression:"{size: fancy[9].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[9].max},expression:"{size: fancy[9].max}"}]})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[13].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[13].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[13].sid,subid:0},expression:"{sid: fancy[13].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[14].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[14].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[14].sid,subid:0},expression:"{sid: fancy[14].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[16].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[16].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[16].sid,subid:0},expression:"{sid: fancy[16].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[15].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[15].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[15].sid,subid:0},expression:"{sid: fancy[15].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-3"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[13].min},expression:"{size: fancy[13].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[13].max},expression:"{size: fancy[13].max}"}]})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vdt20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vdt20"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("Dragon")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}})],1),a._v(" "),t("div",{staticClass:"player-card playerb-card"},["2"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("Tiger")]),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"dragon-box dpt-box",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.main[0].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[0].sid,subid:0},expression:"{sid: main[0].sid, subid: 0}"}],staticClass:"dt-book w-100 text-center"})]),a._v(" "),t("div",{staticClass:"pair-box dpt-box",class:{suspended:"OPEN"!=a.main[3].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.main[3].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[3].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[3].sid,subid:0},expression:"{sid: main[3].sid, subid: 0}"}],staticClass:"dt-book w-100 text-center"})]),a._v(" "),t("div",{staticClass:"tie-box dpt-box",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.main[2].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[2].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[2].sid,subid:0},expression:"{sid: main[2].sid, subid: 0}"}],staticClass:"dt-book w-100 text-center"})]),a._v(" "),t("div",{staticClass:"tiger-box dpt-box",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.main[1].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[1].sid,subid:0},expression:"{sid: main[1].sid, subid: 0}"}],staticClass:"dt-book w-100 text-center"})])]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})]),a._v(" "),t("div",{staticClass:"other-odds"},[t("div",{staticClass:"dragon-section"},[t("div",{staticClass:"w-100 playera mb-2 text-center"},[a._v("DRAGON")]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[4].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[4].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[4].sid,subid:0},expression:"{sid: main[4].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[5].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("ODD")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[5].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[5].sid,subid:0},expression:"{sid: main[5].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[7].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[7].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[7].sid,subid:0},expression:"{sid: main[7].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[6].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[6].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[6].sid,subid:0},expression:"{sid: main[6].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[4].min},expression:"{size: main[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[4].max},expression:"{size: main[4].max}"}]})]),a._v(" "),t("div",{staticClass:"vcasino-card-box-container"},[t("div",{staticClass:"vcasino-card-odds"},[a._v("\r\n                                        "+a._s(a.main[8].b)+"\r\n                                    ")]),a._v(" "),t("div",{staticClass:"vcasino-card-box-top"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.main[s+7].gstatus}},[t("img",1==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}}:11==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}}:12==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}}:13==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}}:{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+7].sid},expression:"{sid: main[n+7].sid}"}]})])]}))],2)]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[8].min},expression:"{size: main[8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[8].max},expression:"{size: main[8].max}"}]})])]),a._v(" "),t("div",{staticClass:"dt-divider"}),a._v(" "),t("div",{staticClass:"tiger-section"},[t("div",{staticClass:"w-100 playerb mb-2 text-center"},[a._v("TIGER")]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[21].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("EVEN")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[21].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[21].sid,subid:0},expression:"{sid: main[21].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[22].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("ODD")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[22].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[22].sid,subid:0},expression:"{sid: main[22].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[24].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[24].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[24].sid,subid:0},expression:"{sid: main[24].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.main[23].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.main[23].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[23].sid,subid:0},expression:"{sid: main[23].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[21].min},expression:"{size: main[21].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[21].max},expression:"{size: main[21].max}"}]})]),a._v(" "),t("div",{staticClass:"vcasino-card-box-container"},[t("div",{staticClass:"vcasino-card-odds"},[a._v("\r\n                                        "+a._s(a.main[25].b)+"\r\n                                    ")]),a._v(" "),t("div",{staticClass:"vcasino-card-box-top"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.main[s+24].gstatus}},[t("img",1==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}}:11==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}}:12==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}}:13==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}}:{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+24].sid},expression:"{sid: main[n+24].sid}"}]})])]}))],2)]),a._v(" "),t("div",{staticClass:"w-100 text-right mb-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[25].min},expression:"{size: main[25].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[25].max},expression:"{size: main[25].max}"}]})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{mainData:function(){return _.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType})}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vlucky7",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vlucky7"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"text-center w-100"},[t("div",{staticClass:"w-100 playera mb-2"},[a._v("Card")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"low-box lh-box",class:{suspended:"OPEN"!=a.mainData[0].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.mainData[0].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[0].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[0].sid},expression:"{sid: mainData[0].sid}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"high-box lh-box",class:{suspended:"OPEN"!=a.mainData[1].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.mainData[1].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[1].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[1].sid},expression:"{sid: mainData[1].sid}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"w-100 text-right mt-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[0].min},expression:"{size: mainData[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[0].max},expression:"{size: mainData[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"other-odds"},[t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[2].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.mainData[2].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[2].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[2].sid},expression:"{sid: mainData[2].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[2].min},expression:"{size: mainData[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[2].max},expression:"{size: mainData[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[3].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.mainData[3].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[3].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[3].sid},expression:"{sid: mainData[3].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[3].min},expression:"{size: mainData[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[3].max},expression:"{size: mainData[3].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[5].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[5].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[5].sid},expression:"{sid: mainData[5].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo5"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[5].min},expression:"{size: mainData[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[5].max},expression:"{size: mainData[5].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[4].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[4].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[4].sid},expression:"{sid: mainData[4].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo4"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[4].min},expression:"{size: mainData[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[4].max},expression:"{size: mainData[4].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[19].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/A.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/2.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/3.jpg")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[19].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[19].sid},expression:"{sid: mainData[19].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo19"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo19"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[19].min},expression:"{size: mainData[19].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[19].max},expression:"{size: mainData[19].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[20].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/4.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/5.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/6.jpg")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[20].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[20].sid},expression:"{sid: mainData[20].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo20"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo20"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[20].min},expression:"{size: mainData[20].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[20].max},expression:"{size: mainData[20].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[21].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/8.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/9.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/10.jpg")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[21].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[21].sid},expression:"{sid: mainData[21].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo21"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo21"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[21].min},expression:"{size: mainData[21].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[21].max},expression:"{size: mainData[21].max}"}]})])])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.mainData[22].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/J.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/Q.jpg")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/single/K.jpg")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.mainData[22].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[22].sid},expression:"{sid: mainData[22].sid}"}],staticClass:"dt-book"}),a._v(" "),t("div",{staticClass:"v-min-max"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo22"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo22"}},[a._v("\r\n                                        R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[22].min},expression:"{size: mainData[22].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[22].max},expression:"{size: mainData[22].max}"}]})])])]),a._v(" "),t("div",{staticClass:"vcasino-card-box-top"},[t("div",{staticClass:"w-100 vcasino-card-bhav text-center"},[a._v(a._s(a.mainData[6].b))]),a._v(" "),a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.mainData[s+5].gstatus}},[t("img",1==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}}:11==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}}:12==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}}:13==s?{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}}:{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[s+5].sid},expression:"{sid: mainData[n+5].sid}"}]},[a._v("0")])])]})),a._v(" "),t("div",{staticClass:"w-100 text-right mt-4"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[6].min},expression:"{size: mainData[6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[6].max},expression:"{size: mainData[6].max}"}]})])],2)]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{muflis:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vteenmuf"});return this.orderBy(a,"sr")},top9:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vtop9"});return this.orderBy(a,"sr")},baccarat:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vmbacc"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vteenmuf",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vmuflis"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("Player A")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",{staticClass:"player-card playerb-card"},["2"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("Player B")]),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[a._m(0),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.muflis[0].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.muflis[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.muflis[0].sid,subid:0},expression:"{sid: muflis[0].sid, subid: 0}"}]})])])]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("b",[a._v("Winner")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                            Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.muflis[0].min},expression:"{size: muflis[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.muflis[0].max},expression:"{size: muflis[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.muflis[1].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.muflis[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.muflis[1].sid,subid:0},expression:"{sid: muflis[1].sid, subid: 0}"}]})])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.top9[0].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.top9[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.top9[0].sid,subid:0},expression:"{sid: top9[0].sid, subid: 0}"}]})])])]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("b",[a._v("TOP 9")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                            Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.top9[0].min},expression:"{size: top9[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.top9[0].max},expression:"{size: top9[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.top9[1].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.top9[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.top9[1].sid,subid:0},expression:"{sid: top9[1].sid, subid: 0}"}]})])])])]),a._v(" "),t("div",{staticClass:"odds-section"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.baccarat[0].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[0].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[0].sid,subid:0},expression:"{sid: baccarat[0].sid, subid: 0}"}]})])])]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("b",[a._v("M Baccarat")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                            Range: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.baccarat[0].min},expression:"{size: baccarat[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.baccarat[0].max},expression:"{size: baccarat[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=a.baccarat[1].gstatus}},[t("div",{staticClass:"back casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.baccarat[1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.baccarat[1].sid,subid:0},expression:"{sid: baccarat[1].sid, subid: 0}"}]})])])])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this._self._c;return a("div",{staticClass:"odds-title"},[a("div",{staticClass:"playera"},[this._v("Player A")]),this._v(" "),a("div",[this._v(" ")]),this._v(" "),a("div",{staticClass:"playerb"},[this._v("Player B")])])}],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vaaa"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vaaafancy"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vaaa",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vaaa"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"text-center w-100"},[t("Card",{attrs:{card:a.cards[0]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[2].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[2].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[2].sid},expression:"{sid: main[2].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"text-right w-100 aaa-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[2].min},expression:"{size: main[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[2].max},expression:"{size: main[2].max}"}]})])]),a._v(" "),t("div",{staticClass:"other-odds"},[t("div",{staticClass:"oe-box"},[t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.fancy[0].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[0].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{sid: fancy[0].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.fancy[1].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[1].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{sid: fancy[1].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"text-right w-100 aaa-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[1].min},expression:"{size: fancy[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[1].max},expression:"{size: fancy[1].max}"}]})])]),a._v(" "),t("div",{staticClass:"color-box"},[t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[3].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{sid: fancy[3].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[2].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{sid: fancy[2].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"text-right w-100 aaa-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{size: fancy[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{size: fancy[2].max}"}]})])]),a._v(" "),t("div",{staticClass:"uo-box"},[t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[17].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.fancy[17].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[17].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[17].sid,subid:0},expression:"{sid: fancy[17].sid, subid: 0}"}],staticClass:"dt-book w-100"},[a._v("1000")])]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[18].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v(a._s(a.fancy[18].nat))]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[18].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[18].sid,subid:0},expression:"{sid: fancy[18].sid, subid: 0}"}],staticClass:"dt-book w-100"},[a._v("1000")])]),a._v(" "),t("div",{staticClass:"text-right w-100 aaa-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[18].min},expression:"{size: fancy[18].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[18].max},expression:"{size: fancy[18].max}"}]})])]),a._v(" "),t("div",{staticClass:"vcasino-card-box-top"},[t("div",{staticClass:"vcasino-card-odds"},[a._v(a._s(a.fancy[4].b))]),a._v(" "),t("div",{staticClass:"vcasino-card-box-top"},a._l(13,(function(s,e){return t("div",{staticClass:"vcasino-card-box"},[t("div",{key:e,staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.fancy[s+3].gstatus}},[1==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]:11==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]:12==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]:13==s?[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]:[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/").concat(s,".png")}})]],2),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[s+3].sid,subid:0},expression:"{sid: fancy[i+3].sid, subid: 0}"}]})])})),0),a._v(" "),t("div",{staticClass:"text-right w-100 aaa-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[4].min},expression:"{size: fancy[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[4].max},expression:"{size: fancy[4].max}"}]})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vbtable"});return this.orderBy(a,"sr")},fancy:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vbtablefancy"});return this.orderBy(a,"sr")},fancy1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vbtablefancy1"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vbtable",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vbt"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"text-center w-100"},[t("Card",{attrs:{card:a.cards[0]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[a._m(0),a._v(" "),a._m(1),a._v(" "),a._l(6,(function(s,e){return[t("div",{key:e,staticClass:"vodds-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].l))])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[s-1].sid},expression:"{sid: main[i-1].sid}"}],staticClass:"w-100 odds-book text-center"},[a._v("0\r\n                                    ")])])]})),a._v(" "),t("div",{staticClass:"text-right w-100 bt-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])],2),a._v(" "),t("div",{staticClass:"other-odds"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vbt-odd-name"},[a._v("Odd")]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy1[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.fancy1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.fancy1[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy1[0].sid,subid:0},expression:"{sid: fancy1[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"}),a._v(" "),t("div",{staticClass:"text-right w-100 bt-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy1[0].min},expression:"{size: fancy1[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy1[0].max},expression:"{size: fancy1[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"color-box"},[t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[1].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[1].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[1].sid,subid:0},expression:"{sid: fancy[1].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"even-box back-box",class:{suspended:"OPEN"!=a.fancy[0].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}})]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[0].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[0].sid,subid:0},expression:"{sid: fancy[0].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"text-right w-100 bt-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[0].min},expression:"{size: fancy[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[0].max},expression:"{size: fancy[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"ddb-box"},[t("div",{staticClass:"even-box back-box ddb",class:{suspended:"OPEN"!=a.fancy[6].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("DULHA DULHAN")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[6].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[6].sid,subid:0},expression:"{sid: fancy[6].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"text-right w-100 bt-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[6].min},expression:"{size: fancy[6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[6].max},expression:"{size: fancy[6].max}"}]})])]),a._v(" "),t("div",{staticClass:"ddb-box"},[t("div",{staticClass:"even-box back-box ddb",class:{suspended:"OPEN"!=a.fancy[7].gstatus}},[t("div",[t("div",{staticClass:"dt-name"},[a._v("BARATI")]),a._v(" "),t("div",{staticClass:"dt-odds"},[a._v(a._s(a.fancy[7].b))])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[7].sid,subid:0},expression:"{sid: fancy[7].sid, subid: 0}"}],staticClass:"dt-book w-100"})]),a._v(" "),t("div",{staticClass:"text-right w-100 bt-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[7].min},expression:"{size: fancy[7].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[7].max},expression:"{size: fancy[7].max}"}]})])])]),a._v(" "),t("div",{staticClass:"vcasino-card-box-container"},[t("div",{staticClass:"vcasino-card-odds"},[a._v(a._s(a.fancy[2].b))]),a._v(" "),t("div",{staticClass:"vcasino-card-box-top"},[t("div",{staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.fancy[2].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/J.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[2].sid,subid:0},expression:"{sid: fancy[2].sid, subid: 0}"}]})]),a._v(" "),t("div",{staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.fancy[3].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/Q.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[3].sid,subid:0},expression:"{sid: fancy[3].sid, subid: 0}"}]})]),a._v(" "),t("div",{staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.fancy[4].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/K.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[4].sid,subid:0},expression:"{sid: fancy[4].sid, subid: 0}"}]})]),a._v(" "),t("div",{staticClass:"vcasino-card-box"},[t("div",{staticClass:"d-inline-block",class:{suspended:"OPEN"!=a.fancy[5].gstatus}},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/A.png")}})]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.fancy[5].sid,subid:0},expression:"{sid: fancy[5].sid, subid: 0}"}]})])]),a._v(" "),t("div",{staticClass:"text-right w-100 bt-min-max"},[a._v("R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.fancy[2].min},expression:"{size: fancy[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.fancy[2].max},expression:"{size: fancy[2].max}"}]})])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[function(){var a=this,t=a._self._c;return t("div",{staticClass:"odds-title"},[t("div",{staticClass:"tie"},[t("div",[a._v("A")]),a._v(" "),t("div",{staticClass:"d-none-mobile"},[a._v("Don")])]),a._v(" "),t("div",{staticClass:"tie"},[t("div",[a._v("B")]),a._v(" "),t("div",{staticClass:"d-none-mobile"},[a._v("Amar Akbar Anthony")])]),a._v(" "),t("div",{staticClass:"tie"},[t("div",[a._v("C")]),a._v(" "),t("div",{staticClass:"d-none-mobile"},[a._v("Sahib Bibi Aur Ghulam")])]),a._v(" "),t("div",{staticClass:"tie"},[t("div",[a._v("D")]),a._v(" "),t("div",{staticClass:"d-none-mobile"},[a._v("Dharam Veer")])]),a._v(" "),t("div",{staticClass:"tie"},[t("div",[a._v("E")]),a._v(" "),t("div",{staticClass:"d-none-mobile"},[a._v("Kis Kis Ko Pyaar Karoon")])]),a._v(" "),t("div",{staticClass:"tie"},[t("div",[a._v("F")]),a._v(" "),t("div",{staticClass:"d-none-mobile"},[a._v("Ghulam")])])])},function(){var a=this,t=a._self._c;return t("div",{staticClass:"odds-title"},[t("div",[t("span",{staticClass:"card-character black-card ml-1"},[a._v("A}")])]),a._v(" "),t("div",[t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("A{")]),a._v(" "),t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("A]")]),a._v(" "),t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("A[")])]),a._v(" "),t("div",[t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("K}")]),a._v(" "),t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("Q}")]),a._v(" "),t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("J}")])]),a._v(" "),t("div",[t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("K[")]),a._v(" "),t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("K]")])]),a._v(" "),t("div",[t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("K{")]),a._v(" "),t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("Q]")]),a._v(" "),t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("Q[")]),a._v(" "),t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("Q{")])]),a._v(" "),t("div",[t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("J{")]),a._v(" "),t("span",{staticClass:"card-character black-card d-block ml-1"},[a._v("J]")]),a._v(" "),t("span",{staticClass:"card-character red-card d-block ml-1"},[a._v("J[")])])])}],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5);function d(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return v(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return v(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function v(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var m={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{player:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vrace17"});return this.orderBy(a,"sr")},bigCard:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"vbigcard"==a.subtype&&1==a.visible}));return this.orderBy(a,"sr")},zeroCard:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"vzerocard"==a.subtype&&1==a.visible}));return this.orderBy(a,"sr")},anyZero:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vanyzero"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vrace17",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,totalPoints:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt");var s,e=0,i=d(a.cards);try{for(i.s();!(s=i.n()).done;){var n=s.value,o="0";1!=n&&(o=4==n.length?n.slice(0,2):n.slice(0,1)),"10"==o&&(o=0),"J"==o&&(o=0),"Q"==o&&(o=0),"K"==o&&(o=0),"A"==o&&(o=1),e+=parseInt(o)}}catch(a){i.e(a)}finally{i.f()}a.totalPoints=e,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},u=s(1),p=Object(u.a)(m,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vraceto17"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))]),a._v(" "),t("div",{staticClass:"total-point"},[a._v("Total Points: "),t("b",[a._v(a._s(a.totalPoints))])])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards w-100 text-center"},[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1)]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"arrow17"},[t("div",[a._v("17")]),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/arrow17.png")}})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.player[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                            Range:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.player[0].min},expression:"{size: player[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.player[0].max},expression:"{size: player[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.player[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.player[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.player[0].sid,subid:0},expression:"{sid: player[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.bigCard[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                            Range:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.bigCard[0].min},expression:"{size: bigCard[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.bigCard[0].max},expression:"{size: bigCard[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.bigCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bigCard[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.bigCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.bigCard[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.bigCard[0].sid,subid:0},expression:"{sid: bigCard[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.zeroCard[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                            Range:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.zeroCard[0].min},expression:"{size: zeroCard[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.zeroCard[0].max},expression:"{size: zeroCard[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.zeroCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.zeroCard[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.zeroCard[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.zeroCard[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.zeroCard[0].sid,subid:0},expression:"{sid: zeroCard[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.anyZero[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo4"}},[a._v("\r\n                                            Range:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.anyZero[0].min},expression:"{size: anyZero[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.anyZero[0].max},expression:"{size: anyZero[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.anyZero[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.anyZero[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.anyZero[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.anyZero[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.anyZero[0].sid,subid:0},expression:"{sid: anyZero[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=p.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{mainData:function(){return _.filter(_.get(this.casinoData,"sub"),{subtype:"vbaccarat"})}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vbaccarat",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.g?t.data.g.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vbaccarat"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc.split("|")[2]?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("Player")]),a._v(" "),"1"!=a.cards[4]?t("Card",{staticClass:"l-rotate",attrs:{card:a.cards[4]}}):a._e(),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[0]}})],1),a._v(" "),t("div",{staticClass:"player-card playerb-card"},["2"==a.casinoData.rdesc.split("|")[2]?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("Banker")]),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),"1"!=a.cards[5]?t("Card",{staticClass:"r-rotate",attrs:{card:a.cards[5]}}):a._e()],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"vbaccarat-odds mb-5"},[t("div",{staticClass:"baccarat-odds"},[t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo5"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo5"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[5].min},expression:"{size: mainData[5].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[5].max},expression:"{size: mainData[5].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[5].gstatus}},[a._v(a._s(a.mainData[5].nat)+" "+a._s(parseFloat(a.mainData[5].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[5].sid},expression:"{sid: mainData[5].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo6"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo6"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[6].min},expression:"{size: mainData[6].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[6].max},expression:"{size: mainData[6].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[6].gstatus}},[a._v(a._s(a.mainData[6].nat)+" "+a._s(parseFloat(a.mainData[6].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[6].sid},expression:"{sid: mainData[6].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),t("div",{staticClass:"baccarat-odd-block d-none-mobile"}),a._v(" "),t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo7"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo7"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[7].min},expression:"{size: mainData[7].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[7].max},expression:"{size: mainData[7].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[7].gstatus}},[a._v(a._s(a.mainData[7].nat)+" "+a._s(parseFloat(a.mainData[7].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[7].sid},expression:"{sid: mainData[7].sid}"}],staticClass:"baccarat-odd-val"})]),a._v(" "),t("div",{staticClass:"baccarat-odd-block"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo8"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo8"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[8].min},expression:"{size: mainData[8].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[8].max},expression:"{size: mainData[8].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-odd-name",class:{suspended:"OPEN"!=a.mainData[8].gstatus}},[a._v(a._s(a.mainData[8].nat)+" "+a._s(parseFloat(a.mainData[8].b))+":1")]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[8].sid},expression:"{sid: mainData[8].sid}"}],staticClass:"baccarat-odd-val"})])]),a._v(" "),t("div",{staticClass:"baccarat-bets"},[t("div",{staticClass:"player-pair"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[3].min},expression:"{size: mainData[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[3].max},expression:"{size: mainData[3].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[3].gstatus}},[t("div",[a._v(a._s(a.mainData[3].nat))]),a._v(" "),t("div",{staticClass:"mb-0"},[a._v(a._s(parseFloat(a.mainData[3].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[3].sid},expression:"{sid: mainData[3].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"player"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo0"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo0"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[0].min},expression:"{size: mainData[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[0].max},expression:"{size: mainData[0].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[0].gstatus}},[t("div",[a._v(a._s(a.mainData[0].nat))]),a._v(" "),t("div",[a._v(a._s(parseFloat(a.mainData[0].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[0].sid},expression:"{sid: mainData[0].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"tie"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[2].min},expression:"{size: mainData[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[2].max},expression:"{size: mainData[2].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[2].gstatus}},[t("div",[a._v(a._s(a.mainData[2].nat))]),a._v(" "),t("div",{staticClass:"mb-0"},[a._v(a._s(parseFloat(a.mainData[2].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[2].sid},expression:"{sid: mainData[2].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"banker"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[1].min},expression:"{size: mainData[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[1].max},expression:"{size: mainData[1].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[1].gstatus}},[t("div",[a._v(a._s(a.mainData[1].nat))]),a._v(" "),t("div",[a._v(a._s(parseFloat(a.mainData[1].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[1].sid},expression:"{sid: mainData[1].sid}"}],staticClass:"baccarat-bets-val"})]),a._v(" "),t("div",{staticClass:"banker-pair"},[t("div",{staticClass:"bet-info"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo4"}},[a._v("\r\n                                            R: "),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.mainData[4].min},expression:"{size: mainData[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.mainData[4].max},expression:"{size: mainData[4].max}"}]})])]),a._v(" "),t("div",{staticClass:"baccarat-bets-name",class:{suspended:"OPEN"!=a.mainData[4].gstatus}},[t("div",[a._v(a._s(a.mainData[4].nat))]),a._v(" "),t("div",{staticClass:"mb-0"},[a._v(a._s(parseFloat(a.mainData[4].b))+":1")])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.mainData[4].sid},expression:"{sid: mainData[4].sid}"}],staticClass:"baccarat-bets-val"})])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{trio:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vtrio"});return this.orderBy(a,"sr")},section124:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"v124"});return this.orderBy(a,"sr")},jqk1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vjqk1"});return this.orderBy(a,"sr")},red2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vred2"});return this.orderBy(a,"sr")},black2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vblack2"});return this.orderBy(a,"sr")},odd2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vodd2"});return this.orderBy(a,"sr")},even2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"veven2"});return this.orderBy(a,"sr")},pair2:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vpair2"});return this.orderBy(a,"sr")},flush:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vflush"});return this.orderBy(a,"sr")},straight:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vstraight"});return this.orderBy(a,"sr")},trio1:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vtrio1"});return this.orderBy(a,"sr")},straightflush:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vstraightflush"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vtrio",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,bookData:[]}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vtrio"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards w-100 text-center"},[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[t("b",{staticClass:"pointer",on:{click:function(t){return a.getBookData(a.mId,a.trio[0].sid)}}},[a._v(a._s(a.trio[0].nat))]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo0","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo0"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.trio[0].min},expression:"{size: trio[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.trio[0].max},expression:"{size: trio[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.trio[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trio[0].l))]),a._v(" "),t("span",[a._v(a._s(a.trio[0].lbhav))])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.trio[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trio[0].b))]),a._v(" "),t("span",[a._v(a._s(a.trio[0].bbhav))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.trio[0].sid,subid:0},expression:"{sid: trio[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.section124[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo1"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.section124[0].min},expression:"{size: section124[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.section124[0].max},expression:"{size: section124[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.section124[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.section124[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.section124[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.section124[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.section124[0].sid,subid:0},expression:"{sid: section124[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.jqk1[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo2","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.jqk1[0].min},expression:"{size: jqk1[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.jqk1[0].max},expression:"{size: jqk1[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.jqk1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.jqk1[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.jqk1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.jqk1[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.jqk1[0].sid,subid:0},expression:"{sid: jqk1[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})])]),a._v(" "),t("div",{staticClass:"other-odds"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.red2[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo4","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo4"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.red2[0].min},expression:"{size: red2[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.red2[0].max},expression:"{size: red2[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.red2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.red2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.red2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.red2[0].sid,subid:0},expression:"{sid: red2[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.black2[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo5","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo5"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.black2[0].min},expression:"{size: black2[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.black2[0].max},expression:"{size: black2[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.black2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.black2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.black2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.black2[0].sid,subid:0},expression:"{sid: black2[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.odd2[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo6","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo6"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.odd2[0].min},expression:"{size: odd2[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.odd2[0].max},expression:"{size: odd2[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.odd2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.odd2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.odd2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.odd2[0].sid,subid:0},expression:"{sid: odd2[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.even2[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo7"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.even2[0].min},expression:"{size: even2[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.even2[0].max},expression:"{size: even2[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.even2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even2[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.even2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.even2[0].l))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.even2[0].sid,subid:0},expression:"{sid: even2[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})])]),a._v(" "),t("div",{staticClass:"sub-odds"},[t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.pair2[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo8","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo8"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.pair2[0].min},expression:"{size: pair2[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.pair2[0].max},expression:"{size: pair2[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.pair2[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.pair2[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.pair2[0].sid,subid:0},expression:"{sid: pair2[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.flush[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo9","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo9"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.flush[0].min},expression:"{size: flush[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.flush[0].max},expression:"{size: flush[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.flush[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.flush[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.flush[0].sid,subid:0},expression:"{sid: flush[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.straight[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo10","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo10"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.straight[0].min},expression:"{size: straight[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.straight[0].max},expression:"{size: straight[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.straight[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.straight[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.straight[0].sid,subid:0},expression:"{sid: straight[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.trio1[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo11","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo11"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.trio1[0].min},expression:"{size: trio1[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.trio1[0].max},expression:"{size: trio1[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.trio1[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trio1[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.trio1[0].sid,subid:0},expression:"{sid: trio1[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box"},[t("div",{staticClass:"vrt17-odd-name"},[a._v("\r\n                                    "+a._s(a.straightflush[0].nat)+"\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo12","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo12"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.straightflush[0].min},expression:"{size: straightflush[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.straightflush[0].max},expression:"{size: straightflush[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.straightflush[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.straightflush[0].b))])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.straightflush[0].sid,subid:0},expression:"{sid: straightflush[0].sid, subid: 0}"}],staticClass:"w-100 odds-book text-center"})])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{trap:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vtrap"});return this.orderBy(a,"sr")},highLow:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"vhighlow"});return this.orderBy(a,"sr")},jqk:function(){var a=_.filter(_.get(this.casinoData,"sub"),(function(a){return"vjqk"==a.subtype}));return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vtrap",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,bookData:[],count:{playerA:0,playerB:0}}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){if(200==t.status){a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt");var s=[],e=[];a.cards.forEach((function(a,t){t%2==0?s.push(a):e.push(a)}));for(var i=0,n=0,o=s;n<o.length;n++){var c=o[n],r="0";1!=c&&(r=4==c.length?c.slice(0,2):c.slice(0,1)),"K"==r&&(r=13),"Q"==r&&(r=12),"J"==r&&(r=11),"A"==r&&(r=1),i+=parseInt(r)}a.count.playerA=i;for(var l=0,d=0,v=e;d<v.length;d++){var m=v[d],u="0";1!=m&&(u=4==m.length?m.slice(0,2):m.slice(0,1)),"K"==u&&(u=13),"Q"==u&&(u=12),"J"==u&&(u=11),"A"==u&&(u=1),l+=parseInt(u)}a.count.playerB=l,1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vtrap"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},[t("div",[t("span",{staticClass:"playera"},[a._v("A")]),a._v(" "),t("span",[a._v("Total: "+a._s(a.count.playerA))])]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}}),a._v(" "),t("Card",{attrs:{card:a.cards[6]}}),a._v(" "),t("Card",{attrs:{card:a.cards[8]}}),a._v(" "),t("Card",{attrs:{card:a.cards[10]}}),a._v(" "),t("Card",{attrs:{card:a.cards[12]}})],1),a._v(" "),t("div",{staticClass:"player-card playera-card"},[t("div",[t("span",{staticClass:"playerb"},[a._v("B")]),a._v(" "),t("span",[a._v("Total: "+a._s(a.count.playerB))])]),a._v(" "),t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}}),a._v(" "),t("Card",{attrs:{card:a.cards[7]}}),a._v(" "),t("Card",{attrs:{card:a.cards[9]}}),a._v(" "),t("Card",{attrs:{card:a.cards[11]}}),a._v(" "),t("Card",{attrs:{card:a.cards[13]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[a._l(a.highLow,(function(s,e){return[1==s.visible?[t("div",{key:"highlow".concat(e),staticClass:"vtrap-seven high-low"},[t("div",{staticClass:"vrt17-odd-name vplayera"},[a._v(" \r\n                                            "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{size: data.min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{size: data.max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[a._l(a.orderBy(s.odds,"sno",-1),(function(e,i){return[t("div",{staticClass:"vtrap-item-box back-coin"},[2==e.sid?[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("Low")]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}],staticClass:"odds-book"},[a._v("0")])])]:a._e(),a._v(" "),1==e.sid?[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v("High")]),a._v(" "),t("span",{staticClass:"casino-box-odd"},[a._v(a._s(e.b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:e.sid},expression:"{sid: data.sid, subid: odds.sid}"}],staticClass:"odds-book"},[a._v("0")])])]:a._e()],2)]}))],2),a._v(" "),t("img",{staticClass:"vtrap-img",attrs:{src:"".concat(a.imgPath,"admin/img/trape-seven.png")}})])]:a._e()]})),a._v(" "),t("div",{staticClass:"vodds-box vodd-box-a"},[t("div",{staticClass:"vrt17-odd-name vplayera playera"},[a._v("Player A\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo2"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo2"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.trap[0].min},expression:"{size: trap[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.trap[0].max},expression:"{size: trap[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"vtrap-item-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.trap[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[0].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item lay",class:{suspended:"OPEN"!=a.trap[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[0].l))])])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.trap[0].sid},expression:"{sid: trap[0].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),t("div",{staticClass:"vodds-box vodd-box-b"},[t("div",{staticClass:"vrt17-odd-name vplayerb playerb"},[a._v("Player B\r\n                                    "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo3"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo3"}},[a._v("\r\n                                            R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.trap[1].min},expression:"{size: trap[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.trap[1].max},expression:"{size: trap[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"vtrap-item-box lay-coin"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.trap[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[1].b))])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item lay",class:{suspended:"OPEN"!=a.trap[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.trap[1].l))])])])]),a._v(" "),t("div",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.trap[1].sid},expression:"{sid: trap[1].sid}"}],staticClass:"w-100 odds-book text-center"})]),a._v(" "),a._l(a.jqk,(function(s,e){return[1==s.visible?[t("div",{key:e,staticClass:"vtrap-seven vtrap-jqk"},[t("div",{staticClass:"vrt17-odd-name"},[a._v(" \r\n                                            "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle",attrs:{"data-toggle":"collapse","data-target":"#demo4"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"demo4"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:s.min},expression:"{size: data.min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:s.max},expression:"{size: data.max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"vtrap-item-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.odds[0].b))])]),a._v(" "),t("img",{staticClass:"vtrap-img",attrs:{src:"".concat(a.imgPath,"admin/img/jqk.jpg")}}),a._v(" "),t("div",{staticClass:"casino-bl-box-item lay",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.odds[0].l))])])])]),a._v(" "),t("div",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:s.sid,subid:s.odds[0].sid},expression:"{sid: data.sid, subid: data.odds[0].sid}"}],staticClass:"w-100 odds-book text-center"})])]:a._e()]}))],2),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(19),o=s(20),c=s(6),r=s(4),l=s(5),d={mounted:function(){this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,TimerProgress:n.a,RightSideBar:o.a,Card:c.a,CasinoRules:r.a,LastResultsSection:l.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"",gameType:"vdtl20",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,bookData:[]}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("vcasino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.time.total=_.get(a.casinoData,"ft"),a.time.current=_.get(a.casinoData,"lt"),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("vcasino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("vcasino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))},getBookData:function(a,t){var s=this;e.a.callApi("casino/fancybookpopup",{mid:a,sid:t}).then((function(a){200==a.status?(s.bookData=a.data,s.$refs.runAmount.show()):s.bookData=[]})).catch((function(a){s.bookData=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},v=s(1),m=Object(v.a)(d,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table vcasino vdtl"},[a.time.total>3?t("TimerProgress",{attrs:{totalTime:a.time.total,currentTime:a.time.current}}):a._e(),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("div",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"}):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"vcasino-cards"},[t("div",{staticClass:"player-card playera-card"},["1"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playera mb-2"},[a._v("DRAGON")]),a._v(" "),t("Card",{attrs:{card:a.cards[0]}})],1),a._v(" "),t("div",{staticClass:"player-card playera-card"},["21"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 tie mb-2"},[a._v("TIGER")]),a._v(" "),t("Card",{attrs:{card:a.cards[1]}})],1),a._v(" "),t("div",{staticClass:"player-card playera-card"},["41"==a.casinoData.rdesc?t("img",{staticClass:"v-winner",attrs:{src:"".concat(a.imgPath,"admin/img/svg_casino/icons/winner-left.png")}}):a._e(),a._v(" "),t("div",{staticClass:"w-100 playerb mb-2"},[a._v("LION")]),a._v(" "),t("Card",{attrs:{card:a.cards[2]}})],1)])]:a._e(),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-home-icon",attrs:{title:"Home"}},[t("router-link",{staticStyle:{color:"var(--text-highlight)"},attrs:{to:{name:"vCasinoList"}}},[t("i",{staticClass:"fas fa-home"})])],1),a._v(" "),t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[t("div",{staticClass:"main-odds"},[t("div",{staticClass:"main-odds-left"},[t("div",{staticClass:"vdtl-odds-heading"},[a._v("Main Odds")]),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._m(0),a._v(" "),t("div",{staticClass:"v-odd-box"},[t("b",[a._v("Winner")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo0","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo0"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"v-odd-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/spade.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/club.png")}}),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo1"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"v-odd-box"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/heart.png")}}),a._v(" "),t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/cards/diamond.png")}}),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo2","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo2"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[2].min},expression:"{size: main[2].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[2].max},expression:"{size: main[2].max}"}]})])])]),a._v(" "),t("div",{staticClass:"v-odd-box"},[t("b",[a._v("Odd")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo3","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo3"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[3].min},expression:"{size: main[3].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[3].max},expression:"{size: main[3].max}"}]})])])]),a._v(" "),t("div",{staticClass:"v-odd-box"},[t("b",[a._v("Even")]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo4","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo4"}},[a._v("\r\n                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[4].min},expression:"{size: main[4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[4].max},expression:"{size: main[4].max}"}]})])])])]),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._m(1),a._v(" "),a._l(5,(function(s,e){return[t("div",{key:e,staticClass:"v-odd-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.main[s-1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s-1].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s-1].sid,subid:0},expression:"{sid: main[i-1].sid, subid: 0}"}],staticClass:"book-odd"},[a._v("0")])])])])]}))],2),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._m(2),a._v(" "),a._l(5,(function(s,e){return[t("div",{key:e,staticClass:"v-odd-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.main[s+17].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+17].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+17].sid,subid:0},expression:"{sid: main[i+17].sid, subid: 0}"}],staticClass:"book-odd"},[a._v("0")])])])])]}))],2),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._m(3),a._v(" "),a._l(5,(function(s,e){return[t("div",{key:e,staticClass:"v-odd-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.main[s+35].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+35].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+35].sid,subid:0},expression:"{sid: main[i+35].sid, subid: 0}"}],staticClass:"book-odd"},[a._v("0")])])])])]}))],2)]),a._v(" "),t("div",{staticClass:"main-odds-right"},[t("div",{staticClass:"vdtl-odds-heading"},[a._v("Card Odds")]),a._v(" "),t("div",{staticClass:"w-100 mt-2 v-dragon-box"},[t("h5",{staticClass:"text-center"},[a._v("Dragon")]),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"v-odd-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"w-100-text-center"},[t("b",11==s?[a._v("J")]:12==s?[a._v("Q")]:13==s?[a._v("K")]:[a._v(a._s(s))]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo"+(s+4),"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo"+(s+4)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+4].min},expression:"{size: main[i+4].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+4].max},expression:"{size: main[i+4].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.main[s+4].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+4].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+4].sid,subid:0},expression:"{sid: main[i+4].sid, subid: 0}"}],staticClass:"book-odd"},[a._v("0")])])])])]}))],2)]),a._v(" "),t("div",{staticClass:"w-100 mt-2 v-tiger-box"},[t("h5",{staticClass:"text-center"},[a._v("Tiger")]),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"v-odd-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"w-100-text-center"},[t("b",11==s?[a._v("J")]:12==s?[a._v("Q")]:13==s?[a._v("K")]:[a._v(a._s(s))]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo"+(s+22),"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo"+(s+22)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+22].min},expression:"{size: main[i+22].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+22].max},expression:"{size: main[i+22].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.main[s+22].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+22].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+22].sid,subid:0},expression:"{sid: main[i+22].sid, subid: 0}"}],staticClass:"book-odd"},[a._v("0")])])])])])]}))],2)]),a._v(" "),t("div",{staticClass:"w-100 mt-2 v-lion-box"},[t("h5",{staticClass:"text-center"},[a._v("Lion")]),a._v(" "),t("div",{staticClass:"v-odd-row"},[a._l(13,(function(s,e){return[t("div",{key:e,staticClass:"v-odd-box"},[t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"w-100-text-center"},[t("b",11==s?[a._v("J")]:12==s?[a._v("Q")]:13==s?[a._v("K")]:[a._v(a._s(s))]),a._v(" "),t("div",{staticClass:"d-inline-block ml-2 float-right"},[t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#demo"+(s+40),"aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"demo"+(s+40)}},[a._v("\r\n                                                                R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[s+40].min},expression:"{size: main[i+40].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[s+40].max},expression:"{size: main[i+40].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item back",class:{suspended:"OPEN"!=a.main[s+40].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[s+40].b))]),a._v(" "),t("span",{directives:[{name:"casinofancybook",rawName:"v-casinofancybook",value:{sid:a.main[s+40].sid,subid:0},expression:"{sid: main[i+40].sid, subid: 0}"}],staticClass:"book-odd"},[a._v("0")])])])])])]}))],2)])])]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}})],2):a._e()],1)])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)]),a._v(" "),t("b-modal",{ref:"runAmount",attrs:{title:"Run Amount","hide-footer":""},on:{hide:function(t){a.bookData=[]}}},[a.bookData&&a.bookData.length?t("div",{staticClass:"table-responsive run-amount-container"},[t("table",{staticClass:"table"},[t("thead",[t("tr",[t("th",[a._v("Run")]),a._v(" "),t("th",[a._v("Amount")])])]),a._v(" "),t("tbody",[a._l(a.bookData,(function(s,e){return[t("tr",{key:e},[t("td",[a._v(a._s(s.run))]),a._v(" "),t("td",[a._v(a._s(s.amt))])])]}))],2)])]):a._e()])],1)}),[function(){var a=this._self._c;return a("div",{staticClass:"v-odd-box"},[a("b",[this._v(" ")])])},function(){var a=this._self._c;return a("div",{staticClass:"v-odd-box"},[a("b",[this._v("Dragon")])])},function(){var a=this._self._c;return a("div",{staticClass:"v-odd-box"},[a("b",[this._v("Tiger")])])},function(){var a=this._self._c;return a("div",{staticClass:"v-odd-box"},[a("b",[this._v("Lion")])])}],!1,null,null,null);t.a=m.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(5),r=s(4);function l(a,t){var s="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!s){if(Array.isArray(a)||(s=function(a,t){if(!a)return;if("string"==typeof a)return d(a,t);var s=Object.prototype.toString.call(a).slice(8,-1);"Object"===s&&a.constructor&&(s=a.constructor.name);if("Map"===s||"Set"===s)return Array.from(a);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(a,t)}(a))||t&&a&&"number"==typeof a.length){s&&(a=s);var e=0,i=function(){};return{s:i,n:function(){return e>=a.length?{done:!0}:{done:!1,value:a[e++]}},e:function(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o=!0,c=!1;return{s:function(){s=s.call(a)},n:function(){var a=s.next();return o=a.done,a},e:function(a){c=!0,n=a},f:function(){try{o||null==s.return||s.return()}finally{if(c)throw n}}}}function d(a,t){(null==t||t>a.length)&&(t=a.length);for(var s=0,e=new Array(t);s<t;s++)e[s]=a[s];return e}var v={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getUserBook(),this.getLastResults()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,LastResultsSection:c.a,CasinoRules:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:this.gameType});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Race 2",gameType:"race2",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null,playersCards:{p1:null,p2:null,p3:null,p4:null}}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){if(200==t.status){if(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),null!=a.casinoData){var s,e=[],i=[],n=[],o=[],c=1,r=0,d=0,v=0,m=0,u=l(a.cards);try{for(u.s();!(s=u.n()).done;){var p=s.value;c>4&&(c=1),"1"!=p&&(1==c&&(e.push(p),"Q"==p.charAt(0)?r+=12:1!=parseInt(p.charAt(0))&&(r+=parseInt(p.charAt(0)))),2==c&&(i.push(p),"Q"==p.charAt(0)?d+=12:1!=parseInt(p.charAt(0))&&(d+=parseInt(p.charAt(0)))),3==c&&(n.push(p),"Q"==p.charAt(0)?v+=12:1!=parseInt(p.charAt(0))&&(v+=parseInt(p.charAt(0)))),4==c&&(o.push(p),"Q"==p.charAt(0)?m+=12:1!=parseInt(p.charAt(0))&&(m+=parseInt(p.charAt(0))))),c++}}catch(a){u.e(a)}finally{u.f()}Vue.set(a.playersCards,"p1",e),Vue.set(a.playersCards,"p2",i),Vue.set(a.playersCards,"p3",n),Vue.set(a.playersCards,"p4",o),d=d>0?d+1:d,v=v>0?v+2:v,m=m>0?m+3:m,Vue.set(a.playersCards,"p1Total",r),Vue.set(a.playersCards,"p2Total",d),Vue.set(a.playersCards,"p3Total",v),Vue.set(a.playersCards,"p4Total",m)}1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}else 1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},m=s(1),u=Object(m.a)(v,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table casino-queen"},[t("div",{staticClass:"game-header"},[t("span",{staticClass:"game-header-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"float-right game-header-date"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"casino-video"},[t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",[a._v(a._s(a.main[0].nat))])]),a._v(" "),t("div",[a._l(a.playersCards.p1,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",[a._v(a._s(a.main[1].nat))])]),a._v(" "),t("div",[a._l(a.playersCards.p2,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",[a._v(a._s(a.main[2].nat))])]),a._v(" "),t("div",[a._l(a.playersCards.p3,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)]),a._v(" "),t("div",[t("div",{staticClass:"dealer-name w-100 mb-1"},[t("span",[a._v(a._s(a.main[3].nat))])]),a._v(" "),t("div",[a._l(a.playersCards.p4,(function(a,s){return[t("Card",{attrs:{card:a}})]}))],2)])])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"row"},a._l(a.main,(function(s,e){return t("div",{staticClass:"col-3"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v(a._s(s.nat))])]),a._v(" "),t("div",{staticClass:"casino-bl-box",class:{suspended:"OPEN"!=s.gstatus}},[t("div",{staticClass:"back casino-bl-box-item",attrs:{"data-toggle":"modal","data-target":"#casino-betslip"}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item"},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])]),a._v(" "),t("div",{staticClass:"casino-nation-name"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"casino-book"})])])])})),0)]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"row row5 d-none-big"},[a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("b",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{ sid: data.sid }"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)],a._v(" "),t("div",{staticClass:"col-12 text-right casino-min-max"},[a._v("R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{ size: main[0].min }"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{ size: main[0].max }"}]})]),a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("div",{staticClass:"right-sidebar"},[t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])])}),[],!1,null,null,null);t.a=u.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen3"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Instant Teenpatti",gameType:"teen3",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),700)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),1e3)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti1day"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\r\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),a._m(2),a._v(" "),a._m(3)]),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{sid: data.sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\r\n                                    View All\r\n                                ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen32"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Instant Teenpatti 2.0",gameType:"teen32",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti1day"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),a._m(2),a._v(" "),a._m(3)]),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{sid: data.sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(3),n=s(8),o=s(6),c=s(4),r=s(5),l={mounted:function(){this.clock=new FlipClock($(".clock"),{clockFace:"Counter"}),this.getTvUrl(),this.getCasinoData(),this.getLastResults(),this.getUserBook()},components:{Timer:i.a,RightSideBar:n.a,Card:o.a,CasinoRules:c.a,LastResultsSection:r.a},computed:{main:function(){var a=_.filter(_.get(this.casinoData,"sub"),{subtype:"teen33"});return this.orderBy(a,"sr")}},data:function(){return{showCards:!0,showResults:!0,imgPath:IMG_PATH,gameTitle:"Instant Teenpatti 3.0",gameType:"teen33",casinoData:[],mId:0,cards:[],lastResults:[],time:{total:0,current:0},callDataApi:!0,callBookApi:!0,loadingPlacebet:!1,tvUrl:"",userExp:0,clock:null}},methods:{getTvUrl:function(){var a=this;e.a.callApi("casino/gettoken",{id:"tv"}).then((function(t){200==t.status?a.tvUrl="/admin/pages/mediaplayercasino/"+a.gameType+"/"+t.data.token+"?ip="+IP_ADDRESS:a.tvUrl=""})).catch((function(t){a.tvUrl=""}))},toggleCards:function(a){"1"!=a&&(this.showCards=!this.showCards)},getKey:function(a,t){return _.get(a,"key")},getCasinoData:function(){var a=this;e.a.callApi("casino/data",{type:this.gameType}).then((function(t){200==t.status?(a.casinoData=t.data,_.get(a.casinoData,"mid")!=a.mId&&a.getLastResults(),a.mId=_.get(a.casinoData,"mid"),a.cards=_.get(a.casinoData,"card").split(","),a.clock.setValue(_.get(a.casinoData,"lt")),1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)):1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)})).catch((function(t){1==a.callDataApi&&setTimeout((function(t){a.getCasinoData()}),800)}))},getUserBook:function(){var a=this;e.a.callApi("casino/book",{mid:parseInt(this.mId),gType:this.gameType}).then((function(t){200==t.status?(a.$store.state.casinoBetSoda=t.data.bet,a.$store.state.casinoFancybetBook=t.data.fancy,a.$store.state.casinobetBook=t.data.sportbet):(a.$store.state.casinoBetSoda=null,a.$store.state.casinobetBook=null,a.$store.state.casinoFancybetBook=null),1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)})).catch((function(t){1==a.callBookApi&&setTimeout((function(t){a.getUserBook()}),800)}))},getLastResults:function(){var a=this;e.a.callApi("casino/lastresults",{gType:this.gameType}).then((function(t){200==t.status?(a.lastResults=t.data.res,a.gameTitle=t.data.res1?t.data.res1.cname:""):a.lastResults=[]})).catch((function(t){a.lastResults=[]}))}},beforeDestroy:function(){this.callBookApi=!1,this.callDataApi=!1}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",{staticClass:"detail-page-container"},[t("div",{staticClass:"center-main-container"},[t("div",{staticClass:"center-content"},[t("div",{staticClass:"casino-container"},[t("div",{staticClass:"casino-table teenpatti1day"},[t("div",{staticClass:"casino-video"},[t("div",{staticClass:"casino-video-title"},[t("span",{staticClass:"casino-name"},[a._v(a._s(a.gameTitle))]),a._v(" "),t("span",{staticClass:"casino-video-rid"},[a._v("Round ID: "+a._s(a.casinoData.mid))])]),a._v(" "),t("div",{staticClass:"video-box-container"},[""!=a.tvUrl?t("div",{staticClass:"video-box"},[t("iframe",{attrs:{src:a.tvUrl}})]):a._e()]),a._v(" "),a.cards&&a.cards.length?[t("div",{staticClass:"casino-video-cards",class:{"hide-cards":!a.showCards||"1"==a.cards[0]}},[t("div",{staticClass:"casino-cards-shuffle",on:{click:function(t){return a.toggleCards(a.cards[0])}}},[t("i",{staticClass:"fas fa-grip-lines-vertical"})]),a._v(" "),t("div",{staticClass:"casino-video-cards-container"},[t("div",[t("Card",{attrs:{card:a.cards[0]}}),a._v(" "),t("Card",{attrs:{card:a.cards[2]}}),a._v(" "),t("Card",{attrs:{card:a.cards[4]}})],1),a._v(" "),t("div",[t("Card",{attrs:{card:a.cards[1]}}),a._v(" "),t("Card",{attrs:{card:a.cards[3]}}),a._v(" "),t("Card",{attrs:{card:a.cards[5]}})],1)])])]:a._e(),a._v(" "),t("div",{staticClass:"casino-timer clock"}),a._v(" "),t("div",{staticClass:"casino-video-right-icons"},[t("div",{staticClass:"casino-video-rules-icon",attrs:{title:"Rules"},on:{click:function(t){return a.$refs.casinorules.show()}}},[t("i",{staticClass:"fas fa-info-circle"})])]),a._v(" "),t("CasinoRules",{ref:"casinorules",attrs:{gtype:a.gameType}})],2),a._v(" "),a.casinoData&&a.casinoData.mid?t("div",{staticClass:"casino-detail"},[a.$store.getters.isTablet?[t("div",{staticClass:"teen1daycasino-container d-none-small"},[t("div",{staticClass:"teen1dayleft"},[a._m(0),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[0].sid},expression:"{sid: main[0].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range1","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range1"}},[a._v("\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[0].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[0].l))])])])])]),a._v(" "),t("div",{staticClass:"teen1daycenter"}),a._v(" "),t("div",{staticClass:"teen1dayright"},[a._m(1),a._v(" "),t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-nation-name"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:a.main[1].sid},expression:"{sid: main[1].sid}"}],staticClass:"mr-2 casino-book"},[a._v("0")]),a._v(" "),t("i",{staticClass:"fas fa-info-circle collapsed",attrs:{"data-toggle":"collapse","data-target":"#range7","aria-expanded":"false"}}),a._v(" "),t("div",{staticClass:"icon-range collapse",attrs:{id:"range7"}},[a._v("\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[1].min},expression:"{size: main[1].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[1].max},expression:"{size: main[1].max}"}]})])])]),a._v(" "),t("div",{staticClass:"casino-bl-box"},[t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=a.main[1].gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(a.main[1].l))])])])])])])]:a._e(),a._v(" "),a.$store.getters.isTablet?a._e():[t("div",{staticClass:"teen1daycasino-container d-none-big"},[t("div",{staticClass:"casino-box-row"},[t("div",{staticClass:"casino-bl-box casino-bl-box-title"},[t("div",{staticClass:"casino-bl-box-item"},[t("b",[a._v("Main")]),a._v(" "),t("div",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-info-circle float-right",attrs:{"data-toggle":"collapse","data-target":"#range1"}}),a._v(" "),t("div",{staticClass:"collapse icon-range",attrs:{id:"range1"}},[a._v("\n                                                    R:"),t("span",{directives:[{name:"kvalmin",rawName:"v-kvalmin",value:{size:a.main[0].min},expression:"{size: main[0].min}"}]}),a._v("-"),t("span",{directives:[{name:"kvalmax",rawName:"v-kvalmax",value:{size:a.main[0].max},expression:"{size: main[0].max}"}]})])])]),a._v(" "),a._m(2),a._v(" "),a._m(3)]),a._v(" "),a._l(a.main,(function(s,e){return[t("div",{key:e,staticClass:"casino-bl-box"},[t("div",{staticClass:"casino-bl-box-item casino-odds-name"},[t("span",[a._v(a._s(s.nat))]),a._v(" "),t("span",{directives:[{name:"casinobook",rawName:"v-casinobook",value:{sid:s.sid},expression:"{sid: data.sid}"}],staticClass:"float-right"},[a._v("0")])]),a._v(" "),t("div",{staticClass:"back casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.b))])]),a._v(" "),t("div",{staticClass:"lay casino-bl-box-item",class:{suspended:"OPEN"!=s.gstatus}},[t("span",{staticClass:"casino-box-odd"},[a._v(a._s(s.l))])])])]}))],2)])],a._v(" "),a.casinoData.remark&&""!=a.casinoData.remark?[t("div",{staticClass:"casino-remark mt-3"},[t("div",{staticClass:"remark-icon"},[t("img",{attrs:{src:"".concat(a.imgPath,"admin/img/icons/remark.png")}})]),a._v(" "),t("marquee",[a._v(a._s(a.casinoData.remark))])],1)]:a._e(),a._v(" "),t("div",{staticClass:"last-result-title"},[t("h5",[a._v("Last Result")]),a._v(" "),t("router-link",{staticClass:"result-more",attrs:{to:{name:"CasinoResult",params:{gtype:a.gameType}}}},[a._v("\n                                View All\n                            ")])],1),a._v(" "),a.$store.getters.isTablet?t("LastResultsSection",{attrs:{gtype:a.gameType,lastResults:a.lastResults,showResults:a.showResults}}):a._e()],2):a._e()])])]),a._v(" "),t("RightSideBar",{attrs:{mid:a.mId,gtype:a.gameType}})],1)])}),[function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playera"},[this._v("Player A")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-box-row"},[a("div",{staticClass:"casino-nation-name no-border casino-bl-box-title"},[a("div",{staticClass:"playerb"},[this._v("Player B")])]),this._v(" "),a("div",{staticClass:"casino-bl-box casino-bl-box-title"},[a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])]),this._v(" "),a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Back")])])},function(){var a=this._self._c;return a("div",{staticClass:"casino-bl-box-item"},[a("b",[this._v("Lay")])])}],!1,null,null,null);t.a=v.exports},function(a,t,s){"use strict";var e=s(0),i=s(10),n=s(35),o=s(23),c=(s(2),s(22),s(41),s(49)),r=s(50),l={components:{PageHeader:i.a,downloadexcel:o.a,DatePicker:n.a,CasinoResult:c.a,AccountStatementSoda:r.a},mounted:function(){this.getPermissionList(),this.getUserList()},data:function(){return{userList:[],items:[{text:"Home",to:{name:"home"}},{text:"Multi Login Account",active:!0}],formData:{guid:"",uname:"",fullname:"",pass:"",cpass:"",plist:[],mpass:""},statusFormData:{guid:"",isact:!1,mpass:""},perList:[],isUserNameAvailable:0,cpass:{password:"",cpassword:"",mpassword:"",guid:""},checkAll:!1}},watch:{},computed:{},methods:{checkPermission:function(a,t){return!!a.split(",").includes(t.toString())},checkAllList:function(a){var t=this;1==a?this.perList.forEach((function(a){t.formData.plist.push(a.pid)})):this.formData.plist=[]},getPermissionList:function(){var a=this;e.a.callApi("user/perlist",{}).then((function(t){200==t.status?a.perList=t.data:a.perList=[]})).catch((function(t){a.perList=[]}))},checkUserName:function(a){var t=this;this.formData.uname.length>3&&e.a.callApi("checkun",{username:this.formData.uname}).then((function(a){a.success?t.isUserNameAvailable=1:t.isUserNameAvailable=2})).catch((function(a){}))},editPermission:function(a){var t=this;this.$store.state.isLoading=!0,e.a.callApi("user/editper",{guid:a}).then((function(a){a.success?(t.formData={guid:a.data[0].guid,uname:a.data[0].uname,fullname:a.data[0].fname,pass:"",cpass:"",plist:a.data[0].pid.split(","),mpass:""},t.checkAll=!1,window.scrollTo(0,0)):t.$swal("",a.msg,"error"),t.$store.state.isLoading=!1})).catch((function(a){t.resetFormData(),t.$store.state.isLoading=!1}))},submitForm:function(a){var t=this;this.$validator.validateAll(a).then((function(a){""!=t.formData.guid?a?t.updatePermission():t.$swal("","Please fill required fields","error"):a&&1==t.isUserNameAvailable?t.insertPermission():t.$swal("","Please fill required fields","error")}))},insertPermission:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("user/insertperuser",this.formData).then((function(t){a.$store.state.isLoading=!1,200==t.status?(a.resetFormData(),a.getUserList(),a.$swal("",t.msg,"success")):a.$swal("",t.msg,"error")})).catch((function(t){a.$swal("","Error in response. Please try again","error"),a.$store.state.isLoading=!1}))},updatePermission:function(){var a=this;this.$store.state.isLoading=!0,e.a.callApi("user/updateper",this.formData).then((function(t){a.$store.state.isLoading=!1,200==t.status?(a.resetFormData(),a.getUserList(),a.$swal("",t.msg,"success")):a.$swal("",t.msg,"error")})).catch((function(t){a.$swal("","Error in response. Please try again","error"),a.$store.state.isLoading=!1}))},resetFormData:function(){this.formData={guid:"",uname:"",fullname:"",pass:"",cpass:"",plist:[],mpass:""},this.isUserNameAvailable=0,this.checkAll=!1,this.$validator.reset()},getUserList:function(){var a=this;e.a.callApi("user/peruserlist",{}).then((function(t){a.$store.state.isLoading=!1,200==t.status?a.userList=t.data:a.userList=[]})).catch((function(t){a.$store.state.isLoading=!1,a.userList=[]}))},hideModal:function(a){this.$refs[a].hide()},showUserStatusForm:function(a){var t=this;this.$store.state.isLoading=!0,e.a.callApi("user/editper",{guid:a}).then((function(a){a.success?(t.statusFormData={guid:a.data[0].guid,isact:a.data[0].isact,mpass:""},t.$refs["status-modal"].show()):t.$swal("",a.msg,"error"),t.$store.state.isLoading=!1})).catch((function(a){t.resetStatusFormData(),t.$store.state.isLoading=!1}))},resetStatusFormData:function(){this.statusFormData={guid:"",isact:!1,mpass:""}},updateUserStatus:function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&(t.$store.state.isLoading=!0,e.a.callApi("user/updateperstatus",t.statusFormData).then((function(a){a.success?(t.hideModal("status-modal"),t.$swal("",a.msg,"success"),t.resetStatusFormData(),t.getUserList()):t.$swal("",a.msg,"error"),t.$store.state.isLoading=!1})).catch((function(a){t.$store.state.isLoading=!1})))}))},showChangePasswordForm:function(a){this.resetChangePassForm(),this.cpass.guid=a,this.$refs["cp-modal"].show()},changePassword:function(a){var t=this;this.$validator.validateAll(a).then((function(a){a&&e.a.callApi("user/perchangepass",t.cpass).then((function(a){a.success?(t.resetChangePassForm(),t.$swal("",a.msg,"success"),t.hideModal("cp-modal")):t.$swal("",a.msg,"error")})).catch((function(a){}))}))},resetChangePassForm:function(){this.cpass={password:"",cpassword:"",mpassword:"",guid:""},this.$validator.reset()}}},d=s(1),v=Object(d.a)(l,(function(){var a=this,t=a._self._c;return t("div",[t("PageHeader",{attrs:{title:"Multi Login Account",items:a.items}}),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"card"},[t("div",{staticClass:"card-body create-account-container"},[t("form",{attrs:{method:"post","data-vv-scope":"userInsert"},on:{submit:function(t){return t.preventDefault(),a.submitForm("userInsert")}}},[t("div",{staticClass:"create-account-form"},[t("div",[t("h5",{staticClass:"mb-0"},[a._v("Personal Information")]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-md-3 form-group"},[t("label",[a._v("Client ID")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.formData.uname,expression:"formData.uname"},{name:"validate",rawName:"v-validate",value:"required|min:4|max:20|alpha_num",expression:"'required|min:4|max:20|alpha_num'"}],staticClass:"form-control",class:[{"is-invalid":a.verrors.first("userInsert.uname")||2==a.isUserNameAvailable},{"is-valid":1==a.isUserNameAvailable}],attrs:{readonly:""!=a.formData.guid,type:"text",name:"uname","data-vv-as":"Client ID"},domProps:{value:a.formData.uname},on:{keyup:function(t){return a.checkUserName(t)},input:function(t){t.target.composing||a.$set(a.formData,"uname",t.target.value)}}}),a._v(" "),a.verrors.has("userInsert.uname")?t("small",{staticClass:"error"},[a._v("\n                              "+a._s(a.verrors.first("userInsert.uname"))+"\n                            ")]):a._e()]),a._v(" "),t("div",{staticClass:"col-md-3 form-group"},[t("label",[a._v("Full Name")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.formData.fullname,expression:"formData.fullname"},{name:"validate",rawName:"v-validate",value:"required|min:4|max:50",expression:"'required|min:4|max:50'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userInsert.fullname")},attrs:{type:"text",name:"fullname","data-vv-as":"Full Name"},domProps:{value:a.formData.fullname},on:{input:function(t){t.target.composing||a.$set(a.formData,"fullname",t.target.value)}}}),a._v(" "),a.verrors.has("userInsert.fullname")?t("small",{staticClass:"error"},[a._v("\n                              "+a._s(a.verrors.first("userInsert.fullname"))+"\n                            ")]):a._e()]),a._v(" "),""==a.formData.guid?t("div",{staticClass:"col-md-3 form-group"},[t("label",[a._v("Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.formData.pass,expression:"formData.pass"},{name:"validate",rawName:"v-validate",value:"required|min:8|max:20|verify_password",expression:"'required|min:8|max:20|verify_password'"}],ref:"password",staticClass:"form-control",class:{"is-invalid":a.verrors.first("userInsert.password")},attrs:{type:"password","data-vv-as":"Password",name:"password"},domProps:{value:a.formData.pass},on:{input:function(t){t.target.composing||a.$set(a.formData,"pass",t.target.value)}}}),a._v(" "),a.verrors.has("userInsert.password")?t("small",{staticClass:"error"},[a._v("\n                              "+a._s(a.verrors.first("userInsert.password"))+"\n                            ")]):a._e()]):a._e(),a._v(" "),""==a.formData.guid?t("div",{staticClass:"col-md-3 form-group"},[t("label",[a._v("Confirm Password")]),a._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:a.formData.cpass,expression:"formData.cpass"},{name:"validate",rawName:"v-validate",value:"required|confirmed:password",expression:"'required|confirmed:password'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("userInsert.cpass")},attrs:{type:"password","data-vv-as":"Confirm Password",name:"cpass"},domProps:{value:a.formData.cpass},on:{input:function(t){t.target.composing||a.$set(a.formData,"cpass",t.target.value)}}}),a._v(" "),a.verrors.has("userInsert.cpass")?t("small",{staticClass:"error"},[a._v("\n                              "+a._s(a.verrors.first("userInsert.cpass"))+"\n                            ")]):a._e()]):a._e()])]),a._v(" "),a.perList&&a.perList.length>0?t("div",{staticClass:"mt-2 previlages"},[t("h5",{staticClass:"mb-0"},[a._v("Privileges")]),a._v(" "),t("div",{staticClass:"previlage-box"},[t("div",{staticClass:"previlage-item"},[t("div",[t("b-form-checkbox",{attrs:{name:"plist"},on:{change:function(t){return a.checkAllList(t)}},model:{value:a.checkAll,callback:function(t){a.checkAll=t},expression:"checkAll"}},[a._v("All")])],1)]),a._v(" "),t("br"),a._v(" "),a._l(a.perList,(function(s,e){return t("div",{staticClass:"previlage-item"},[t("div",[t("b-form-checkbox",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],class:{"is-invalid":a.verrors.first("userInsert.plist")},attrs:{name:"plist","data-vv-as":"Privileges",value:s.pid},model:{value:a.formData.plist,callback:function(t){a.$set(a.formData,"plist",t)},expression:"formData.plist"}},[a._v(a._s(s.pname))])],1)])}))],2),a._v(" "),a.verrors.has("userInsert.plist")?t("small",{staticClass:"error"},[a._v("\n                      "+a._s(a.verrors.first("userInsert.plist"))+"\n                    ")]):a._e(),a._v(" "),t("div",{staticClass:"previlage-master mt-2"},[t("div",{staticClass:"form-group mb-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.formData.mpass,expression:"formData.mpass"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control mpass-text",class:{"is-invalid":a.verrors.first("userInsert.mpass")},attrs:{type:"password",name:"mpass",placeholder:"Transaction Code"},domProps:{value:a.formData.mpass},on:{input:function(t){t.target.composing||a.$set(a.formData,"mpass",t.target.value)}}}),a._v(" "),t("button",{staticClass:"btn btn-success",attrs:{type:"submit"}},[a._v("Submit")]),a._v(" "),t("button",{staticClass:"btn btn-light",attrs:{type:"button",id:"reset"},on:{click:function(t){return a.resetFormData()}}},[a._v("Reset")])])])]):a._e()])]),a._v(" "),t("div",{staticClass:"outer mt-4"},[t("div",{staticClass:"inner"},[t("table",{staticClass:"table table-bordered"},[t("tbody",[t("tr",[t("th",{staticClass:"fixed-col-1"},[a._v("Action")]),a._v(" "),t("th",{staticClass:"fixed-col-2"},[a._v("Username")]),a._v(" "),t("th",{staticClass:"fixed-col-3"},[a._v("Full Name")]),a._v(" "),a._l(a.perList,(function(s,e){return t("th",[a._v(a._s(s.pname))])}))],2),a._v(" "),a._l(a.userList,(function(s,e){return t("tr",[t("td",{staticClass:"fixed-col-1"},[t("a",{staticClass:"text-white btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.editPermission(s.guid)}}},[a._v("U")]),a._v(" "),t("a",{staticClass:"text-white btn btn-info",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.showUserStatusForm(s.guid)}}},[a._v("S")]),a._v(" "),t("a",{staticClass:"text-white btn btn-success",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.showChangePasswordForm(s.guid)}}},[a._v("P")])]),a._v(" "),t("td",{staticClass:"fixed-col-2"},[a._v(a._s(s.uname)+" \n                            "),1==s.isact?t("i",{staticClass:"text-success fas fa-check pl-2"}):t("i",{staticClass:"text-light fas fa-check pl-2"})]),a._v(" "),t("td",{staticClass:"fixed-col-3"},[a._v(a._s(s.fname))]),a._v(" "),a._l(a.perList,(function(e,i){return t("td",{staticClass:"text-center"},[a.checkPermission(s.pid,e.pid)?t("i",{staticClass:"fas fa-check-circle"}):t("i",{staticClass:"far fa-circle"})])}))],2)}))],2)])])])])])])]),a._v(" "),t("b-modal",{ref:"status-modal",attrs:{"hide-footer":"",size:"md",title:"Change User Status"}},[t("form",{attrs:{"data-vv-scope":"UserLock",method:"post"},on:{submit:function(t){return t.preventDefault(),a.updateUserStatus("UserLock")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("User lock")]),a._v(" "),t("toggle-button",{attrs:{value:a.statusFormData.isact,sync:!0,color:"#0088cc",labels:!0},model:{value:a.statusFormData.isact,callback:function(t){a.$set(a.statusFormData,"isact",t)},expression:"statusFormData.isact"}})],1),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Code")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback-right pl-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.statusFormData.mpass,expression:"statusFormData.mpass"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("UserLock.UserLockMpassword")},attrs:{placeholder:"Transaction Code",type:"password",name:"UserLockMpassword"},domProps:{value:a.statusFormData.mpass},on:{input:function(t){t.target.composing||a.$set(a.statusFormData,"mpass",t.target.value)}}})])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n              submit\n              "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])]),a._v(" "),t("b-modal",{ref:"cp-modal",attrs:{"hide-footer":"",size:"md",title:"Change Password"}},[t("form",{attrs:{"data-vv-scope":"cpass",method:"post"},on:{submit:function(t){return t.preventDefault(),a.changePassword("cpass")}}},[t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.cpass.password,expression:"cpass.password"},{name:"validate",rawName:"v-validate",value:"required|min:8|verify_password",expression:"'required|min:8|verify_password'"}],ref:"password",staticClass:"form-control",class:{"is-invalid":a.verrors.first("cpass.cppassword")},attrs:{placeholder:"Password",type:"password",name:"cppassword","data-vv-as":"Password"},domProps:{value:a.cpass.password},on:{input:function(t){t.target.composing||a.$set(a.cpass,"password",t.target.value)}}}),a._v(" "),a.verrors.has("cpass.cppassword")?t("small",{staticClass:"error"},[a._v("\n            "+a._s(a.verrors.first("cpass.cppassword"))+"\n          ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Confirm Password")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.cpass.cpassword,expression:"cpass.cpassword"},{name:"validate",rawName:"v-validate",value:"required|min:8|confirmed:password",expression:"'required|min:8|confirmed:password'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("cpass.cpcpassword")},attrs:{placeholder:"Confirm Password",type:"password",name:"cpcpassword","data-vv-as":"Confirm Password"},domProps:{value:a.cpass.cpassword},on:{input:function(t){t.target.composing||a.$set(a.cpass,"cpassword",t.target.value)}}}),a._v(" "),a.verrors.has("cpass.cpcpassword")?t("small",{staticClass:"error"},[a._v("\n            "+a._s(a.verrors.first("cpass.cpcpassword"))+"\n          ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("label",{staticClass:"col-form-label col-4"},[a._v("Transaction Code")]),a._v(" "),t("div",{staticClass:"col-8 form-group-feedback form-group-feedback-right"},[t("input",{directives:[{name:"model",rawName:"v-model",value:a.cpass.mpassword,expression:"cpass.mpassword"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"form-control",class:{"is-invalid":a.verrors.first("cpass.cpmpassword")},attrs:{placeholder:"Transaction Code",type:"password",name:"cpmpassword","data-vv-as":"Transaction Code"},domProps:{value:a.cpass.mpassword},on:{input:function(t){t.target.composing||a.$set(a.cpass,"mpassword",t.target.value)}}}),a._v(" "),a.verrors.has("cpass.cpmpassword")?t("small",{staticClass:"error"},[a._v("\n            "+a._s(a.verrors.first("cpass.cpmpassword"))+"\n          ")]):a._e()])]),a._v(" "),t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-12 text-right"},[t("button",{staticClass:"btn btn-primary",attrs:{type:"submit"}},[a._v("\n            submit\n            "),t("i",{staticClass:"fas fa-sign-in-alt ml-1"})])])])])])],1)}),[],!1,null,null,null);t.a=v.exports},,,function(a,t,s){a.exports=s(679)},,,function(a,t,s){window._=s(522);try{window.Popper=s(63).default,window.$=window.jQuery=s(315),s(523)}catch(a){}},,,,,,,,,,function(a,t,s){var e={"./af":136,"./af.js":136,"./ar":137,"./ar-dz":138,"./ar-dz.js":138,"./ar-kw":139,"./ar-kw.js":139,"./ar-ly":140,"./ar-ly.js":140,"./ar-ma":141,"./ar-ma.js":141,"./ar-ps":142,"./ar-ps.js":142,"./ar-sa":143,"./ar-sa.js":143,"./ar-tn":144,"./ar-tn.js":144,"./ar.js":137,"./az":145,"./az.js":145,"./be":146,"./be.js":146,"./bg":147,"./bg.js":147,"./bm":148,"./bm.js":148,"./bn":149,"./bn-bd":150,"./bn-bd.js":150,"./bn.js":149,"./bo":151,"./bo.js":151,"./br":152,"./br.js":152,"./bs":153,"./bs.js":153,"./ca":154,"./ca.js":154,"./cs":155,"./cs.js":155,"./cv":156,"./cv.js":156,"./cy":157,"./cy.js":157,"./da":158,"./da.js":158,"./de":159,"./de-at":160,"./de-at.js":160,"./de-ch":161,"./de-ch.js":161,"./de.js":159,"./dv":162,"./dv.js":162,"./el":163,"./el.js":163,"./en-au":164,"./en-au.js":164,"./en-ca":165,"./en-ca.js":165,"./en-gb":166,"./en-gb.js":166,"./en-ie":167,"./en-ie.js":167,"./en-il":168,"./en-il.js":168,"./en-in":169,"./en-in.js":169,"./en-nz":170,"./en-nz.js":170,"./en-sg":171,"./en-sg.js":171,"./eo":172,"./eo.js":172,"./es":173,"./es-do":174,"./es-do.js":174,"./es-mx":175,"./es-mx.js":175,"./es-us":176,"./es-us.js":176,"./es.js":173,"./et":177,"./et.js":177,"./eu":178,"./eu.js":178,"./fa":179,"./fa.js":179,"./fi":180,"./fi.js":180,"./fil":181,"./fil.js":181,"./fo":182,"./fo.js":182,"./fr":183,"./fr-ca":184,"./fr-ca.js":184,"./fr-ch":185,"./fr-ch.js":185,"./fr.js":183,"./fy":186,"./fy.js":186,"./ga":187,"./ga.js":187,"./gd":188,"./gd.js":188,"./gl":189,"./gl.js":189,"./gom-deva":190,"./gom-deva.js":190,"./gom-latn":191,"./gom-latn.js":191,"./gu":192,"./gu.js":192,"./he":193,"./he.js":193,"./hi":194,"./hi.js":194,"./hr":195,"./hr.js":195,"./hu":196,"./hu.js":196,"./hy-am":197,"./hy-am.js":197,"./id":198,"./id.js":198,"./is":199,"./is.js":199,"./it":200,"./it-ch":201,"./it-ch.js":201,"./it.js":200,"./ja":202,"./ja.js":202,"./jv":203,"./jv.js":203,"./ka":204,"./ka.js":204,"./kk":205,"./kk.js":205,"./km":206,"./km.js":206,"./kn":207,"./kn.js":207,"./ko":208,"./ko.js":208,"./ku":209,"./ku-kmr":210,"./ku-kmr.js":210,"./ku.js":209,"./ky":211,"./ky.js":211,"./lb":212,"./lb.js":212,"./lo":213,"./lo.js":213,"./lt":214,"./lt.js":214,"./lv":215,"./lv.js":215,"./me":216,"./me.js":216,"./mi":217,"./mi.js":217,"./mk":218,"./mk.js":218,"./ml":219,"./ml.js":219,"./mn":220,"./mn.js":220,"./mr":221,"./mr.js":221,"./ms":222,"./ms-my":223,"./ms-my.js":223,"./ms.js":222,"./mt":224,"./mt.js":224,"./my":225,"./my.js":225,"./nb":226,"./nb.js":226,"./ne":227,"./ne.js":227,"./nl":228,"./nl-be":229,"./nl-be.js":229,"./nl.js":228,"./nn":230,"./nn.js":230,"./oc-lnc":231,"./oc-lnc.js":231,"./pa-in":232,"./pa-in.js":232,"./pl":233,"./pl.js":233,"./pt":234,"./pt-br":235,"./pt-br.js":235,"./pt.js":234,"./ro":236,"./ro.js":236,"./ru":237,"./ru.js":237,"./sd":238,"./sd.js":238,"./se":239,"./se.js":239,"./si":240,"./si.js":240,"./sk":241,"./sk.js":241,"./sl":242,"./sl.js":242,"./sq":243,"./sq.js":243,"./sr":244,"./sr-cyrl":245,"./sr-cyrl.js":245,"./sr.js":244,"./ss":246,"./ss.js":246,"./sv":247,"./sv.js":247,"./sw":248,"./sw.js":248,"./ta":249,"./ta.js":249,"./te":250,"./te.js":250,"./tet":251,"./tet.js":251,"./tg":252,"./tg.js":252,"./th":253,"./th.js":253,"./tk":254,"./tk.js":254,"./tl-ph":255,"./tl-ph.js":255,"./tlh":256,"./tlh.js":256,"./tr":257,"./tr.js":257,"./tzl":258,"./tzl.js":258,"./tzm":259,"./tzm-latn":260,"./tzm-latn.js":260,"./tzm.js":259,"./ug-cn":261,"./ug-cn.js":261,"./uk":262,"./uk.js":262,"./ur":263,"./ur.js":263,"./uz":264,"./uz-latn":265,"./uz-latn.js":265,"./uz.js":264,"./vi":266,"./vi.js":266,"./x-pseudo":267,"./x-pseudo.js":267,"./yo":268,"./yo.js":268,"./zh-cn":269,"./zh-cn.js":269,"./zh-hk":270,"./zh-hk.js":270,"./zh-mo":271,"./zh-mo.js":271,"./zh-tw":272,"./zh-tw.js":272};function i(a){var t=n(a);return s(t)}function n(a){if(!s.o(e,a)){var t=new Error("Cannot find module '"+a+"'");throw t.code="MODULE_NOT_FOUND",t}return e[a]}i.keys=function(){return Object.keys(e)},i.resolve=n,a.exports=i,i.id=531},,function(a,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,t){},function(a,t,s){"use strict";s(319)},function(a,t,s){(a.exports=s(89)(!1)).push([a.i,"\n.no-internet .btn-primary{\r\n  width:150px;\n}\r\n",""])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,t,s){"use strict";s(360)},function(a,t,s){(a.exports=s(89)(!1)).push([a.i,"\n.page-content[data-v-61537a09] {\r\n  position: relative;\n}\r\n",""])},,,,,,,,,,,,,,,,,,,,,,,,,function(a,t){},,,function(a,t,s){"use strict";s(374)},function(a,t,s){(a.exports=s(89)(!1)).push([a.i,"\n.base-timer .component-fade-enter-active[data-v-07e7cfbb],\n.base-timer .component-fade-leave-active[data-v-07e7cfbb] {\n    transition: all .3s;\n}\n.base-timer .component-fade-enter[data-v-07e7cfbb]{\n    opacity: 0;\n    transform: translateY(-10px);\n}\n.base-timer .component-fade-leave-to[data-v-07e7cfbb]\n{\n    opacity: 0;\n    transform: translateY(10px);\n}\n",""])},function(a,t,s){"use strict";s(375)},function(a,t,s){(a.exports=s(89)(!1)).push([a.i,"\r\n/*.slide-fade-enter-active, .slide-fade-leave-active {\r\n  transition: all .3s ease;\r\n  transform-style: preserve-3d;\r\n}\r\n\r\n.slide-fade-enter, .slide-fade-leave-to {\r\n  opacity: 0;\r\n  transform: rotateY(90deg);\r\n}*/\r\n",""])},function(a,t,s){"use strict";s.r(t);var e=s(11),i=s.n(e),n=s(2),o=s.n(n),c=s(12),r=s(43);i.a.directive("kval",(function(a,t){var s,e=t.value.size,i=e;e>=1e3?(s=parseFloat(e/1e3).toFixed(1),i=parseFloat(s)+"K"):i=parseFloat(i),a.innerHTML=i})),i.a.directive("kvalpoint",(function(a,t){var s,e=t.value.size,i=e=1==c.a.state.adminUser.ispa?Number(e/c.a.state.mmval).toFixed(2):e;e>=1e3?(s=parseFloat(e/1e3).toFixed(2),i=parseFloat(s)+"K"):i=parseFloat(i),a.innerHTML=i})),i.a.directive("kvolpoint",(function(a,t){var s,e=t.value.size,i=e=Number(e*c.a.state.voamt).toFixed(2);e>=1e3?(s=parseFloat(e/1e3).toFixed(2),i=parseFloat(s)+"K"):i=parseFloat(i),a.innerHTML=i})),i.a.directive("currency",(function(a,t){var s=t.value;s=null!=s?(s=parseFloat(s)).toLocaleString("EN-IN",{minimumFractionDigits:2,maximumFractionDigits:2}):"",a.innerHTML=s})),i.a.directive("currencyint",(function(a,t){var s=t.value;s=null!=s?(s=parseInt(s)).toLocaleString("EN-IN"):"",a.innerHTML=s})),i.a.directive("odds",(function(a,t){var s=t.value.odds,e="—";0!=s&&(e=s),a.innerHTML=e})),i.a.directive("sportpointbook",(function(a,t){var s=t.value.mid,e=t.value.sid,i=0,n=[];if(c.a.state.sportbetBook&&c.a.state.sportbetBook.length)for(var o=0;o<c.a.state.sportbetBook.length;o++){var l=c.a.state.sportbetBook[o];s==l.mid&&(n.push(l),e==l.sid&&(i=l.uamt))}i>0?(a.style.color="green",a.classList.remove("d-none")):i<0?(a.style.color="red",a.classList.remove("d-none")):a.classList.add("d-none"),i&&(i=r.a.toCurrency(i)),a.innerHTML=i})),i.a.directive("sportbook",(function(a,t){var s=t.value.mid,e=t.value.sid,i=0,n=0,o=[];if(c.a.state.sportbetBook&&c.a.state.sportbetBook.length)for(var l=0;l<c.a.state.sportbetBook.length;l++){var d=c.a.state.sportbetBook[l];s==d.mid&&(o.push(d),e==d.sid&&(i=d.book))}if(i>0?a.style.color="green":i<0?a.style.color="red":0==i?(a.style.color="red",a.classList.remove("d-none")):a.classList.add("d-none"),i&&(i=r.a.toCurrency(i)),c.a.state.sportbetBook&&2==o.length){for(var v=0;v<o.length;v++)e==o[v].sid&&(0==v?(n=(o[0].book/o[1].book).toFixed(2),n=Math.abs(isNaN(n)?"":n)):1==v&&(n=(o[1].book/o[0].book).toFixed(2),n=Math.abs(isNaN(n)?"":n)));a.innerHTML=i+' <span class="badge badge-dark book-per">'+n+"%</span>"}else a.innerHTML=i})),i.a.directive("fancybook",(function(a,t){var s=t.value.mid,e=t.value.sid,i=0;if(c.a.state.fancybetBook&&c.a.state.fancybetBook.length)for(var n=0;n<c.a.state.fancybetBook.length;n++){var o=c.a.state.fancybetBook[n];s==o.mid&&e==o.sid&&(i=o.book)}i>0?a.style.color="green":i<0?a.style.color="red":0==i?(a.style.color="red",a.classList.remove("d-none")):a.classList.add("d-none"),i&&(i=r.a.toCurrency(i)),a.innerHTML=i})),i.a.directive("casinofancybook",(function(a,t){var s=t.value.sid,e=0;t.value.subid&&(e=t.value.subid);var i=0;if(c.a.state.casinoFancybetBook&&c.a.state.casinoFancybetBook.length)for(var n=0;n<c.a.state.casinoFancybetBook.length;n++){var o=c.a.state.casinoFancybetBook[n];o.sid==s&&o.subid==e&&(i=o.amt)}i>0?(a.classList.remove("book-red"),a.classList.add("book-green"),a.classList.remove("book-black"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):i<=0?(a.classList.remove("book-green"),a.classList.remove("book-black"),a.classList.add("book-red"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):(a.classList.remove("book-red"),a.classList.remove("book-green"),a.classList.add("book-black"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.remove("lock-top")),i&&(i=r.a.toCurrency(i)),a.innerHTML=i})),i.a.directive("casinobook",(function(a,t){var s=t.value.sid,e=0;if(c.a.state.casinobetBook&&c.a.state.casinobetBook.length)for(var i=0;i<c.a.state.casinobetBook.length;i++){var n=c.a.state.casinobetBook[i];n.sid==s&&(e=n.amt)}e>0?(a.classList.remove("book-black"),a.classList.remove("book-red"),a.classList.add("book-green"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):e<=0?(a.classList.remove("book-black"),a.classList.remove("book-green"),a.classList.add("book-red"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):(a.classList.remove("book-red"),a.classList.remove("book-green"),a.classList.add("book-black"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.remove("lock-top")),e&&(e=r.a.toCurrency(e)),a.innerHTML=e})),i.a.directive("teenbook",(function(a,t){var s=t.value.sid,e=t.value.rate,i=0;t.value.subid&&(i=t.value.subid);var n="";if(c.a.state.casinoFancybetBook&&c.a.state.casinoFancybetBook.length)for(var o=0;o<c.a.state.casinoFancybetBook.length;o++){var l=c.a.state.casinoFancybetBook[o];l.sid==s&&l.subid==i&&(n=-1*parseFloat(parseFloat(l.amt*e)-l.amt).toFixed(2))}n>0?(a.classList.remove("book-black"),a.classList.remove("book-red"),a.classList.add("book-green"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):n<0?(a.classList.remove("book-black"),a.classList.remove("book-green"),a.classList.add("book-red"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):(a.classList.remove("book-red"),a.classList.remove("book-green"),a.classList.remove("d-none"),a.classList.add("book-black"),a.parentElement&&a.parentElement.classList.remove("lock-top")),n&&(n=r.a.toCurrency(n)),a.innerHTML=n})),i.a.directive("highlightDate",(function(a,t){var s=t.value.dateTime,e=o()(s,"MM-DD-YYYY hh:mm:ss A"),i=(o()(e).fromNow(),o()(e).calendar(null,{lastWeek:function(){return"["+e.format("DD MMM")+"]"},lastDay:"[Yesterday]",sameDay:"[Today]",nextDay:"[Tomorrow]",nextWeek:function(){return o()().isSame(e,"week")?"["+e.format("dddd")+"]":"["+e.format("DD MMM")+"]"},sameElse:function(){return"["+e.format("DD MMM")+"]"}}));a.innerHTML=i})),i.a.directive("highlightTime",(function(a,t){var s=t.value.time,e=o()(s,"MM-DD-YYYY hh:mm:ss A").format("HH:mm");a.innerHTML=e})),i.a.directive("formatDate",(function(a,t){var s=t.value.date;if(s){var e=o()(s,"MM/DD/YYYY hh:mm:ss A").format("DD/MM/YYYY");a.innerHTML=e}else a.innerHTML=""})),i.a.directive("formatDatetime",(function(a,t){var s=t.value.date;if(s){var e=o.a.tz(String(s),"MM/DD/YYYY hh:mm:ss A","Asia/Calcutta").tz(o.a.tz.guess());a.innerHTML=e.format("DD/MM/YYYY HH:mm:ss")}else a.innerHTML=""})),i.a.directive("casinobookcalc",(function(a,t){var s=t.value.sid,e=t.value.urate,i="0";if(c.a.state.casinoFancybetBook&&c.a.state.casinoFancybetBook.length)for(var n=0;n<c.a.state.casinoFancybetBook.length;n++){var o=c.a.state.casinoFancybetBook[n];if(o.sid==s&&0==o.subid){var l=-1*o.amt;i=l*e-l}}i>0?(a.classList.remove("book-black"),a.classList.remove("book-red"),a.classList.add("book-green"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):i<0?(a.classList.remove("book-black"),a.classList.remove("book-green"),a.classList.add("book-red"),a.classList.remove("d-none"),a.parentElement&&a.parentElement.classList.contains("suspended")&&a.parentElement.classList.add("lock-top")):(a.classList.remove("book-red"),a.classList.remove("book-green"),a.classList.remove("d-none"),a.classList.add("book-black"),a.parentElement&&a.parentElement.classList.remove("lock-top")),i&&(i=r.a.toCurrency(i)),a.innerHTML=i})),i.a.directive("kvalsportmin",(function(a,t){var s,e=t.value.size,i=(t.value.type,e=Number(e/c.a.state.brateminSport).toFixed(2));e>=1e3&&e<1e5?(s=parseFloat(e/1e3).toFixed(2),i=parseFloat(s)+"K"):e>=1e5?(s=parseFloat(e/1e5).toFixed(2),i=parseFloat(s)+"L"):i=parseFloat(i),a.innerHTML=i})),i.a.directive("kvalsportmax",(function(a,t){var s,e=t.value.size,i=(t.value.type,e=Number(e/(c.a.state.brateSport*c.a.state.bratemulSport)).toFixed(2));e>=1e3&&e<1e5?(s=parseFloat(e/1e3).toFixed(2),i=parseFloat(s)+"K"):e>=1e5?(s=parseFloat(e/1e5).toFixed(2),i=parseFloat(s)+"L"):i=parseFloat(i),a.innerHTML=i})),i.a.directive("kvalmin",(function(a,t){var s,e=t.value.size,i=(t.value.type,e=Number(e/c.a.state.bratemin).toFixed(2));e>=1e3&&e<1e5?(s=parseFloat(e/1e3).toFixed(2),i=parseFloat(s)+"K"):e>=1e5?(s=parseFloat(e/1e5).toFixed(2),i=parseFloat(s)+"L"):i=parseFloat(i),a.innerHTML=i})),i.a.directive("kvalmax",(function(a,t){var s,e=t.value.size,i=(t.value.type,e=Number(e/(c.a.state.brate*c.a.state.bratemul)).toFixed(2));e>=1e3&&e<1e5?(s=parseFloat(e/1e3).toFixed(2),i=parseFloat(s)+"K"):e>=1e5?(s=parseFloat(e/1e5).toFixed(2),i=parseFloat(s)+"L"):i=parseFloat(i),a.innerHTML=i}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,t,s){"use strict";s.r(t);s(519);var e=s(681),i=s(11),n=s.n(i),o=s(384),c=s.n(o),r=s(385),l=s.n(r),d=s(126),v={data:function(){return{}},components:{}},m=s(1),u=Object(m.a)(v,(function(){return(0,this._self._c)("router-view")}),[],!1,null,null,null).exports,p=s(386),b=s.n(p),_=s(387),g=s.n(_),h=s(388),f=s.n(h),C={auth:b.a,http:g.a,router:f.a,tokenDefaultName:"admin_token",tokenStore:["localStorage"],loginData:{url:"login",method:"POST",redirect:"",fetchUser:!1},logoutData:{url:"logout",method:"POST",redirect:"/",makeRequest:!0},fetchData:{url:"user",method:"GET",enabled:!1},refreshData:{url:"refresh",method:"GET",enabled:!1,interval:30}},k=s(122),y=s(391),x=s.n(y),w=s(392),D=s(12),N=s(307),P=s(393),T=s.n(P),B=s(399),L=s(394),A=s.n(L),R=s(396),$=s(39),z=s(43),E=s(309),O=s.n(E),S=s(397);s(521),s(642),window.Vue=n.a,n.a.router=k.a,n.a.use(d.a),n.a.use(l.a,e.a),e.a.defaults.baseURL="/api/admin",e.a.defaults.timeout=12e4,n.a.use(x.a),n.a.use(c.a,C),n.a.component("index",u),n.a.use(w.VueReCaptcha,{siteKey:RECAPTCHAV3_PUBLIC_KEY});n.a.use(N.a,{aria:!0,classNames:{},classes:!1,delay:0,dictionary:null,errorBagName:"verrors",events:"input|blur",fieldsBagName:"vfields",i18n:null,i18nRootKey:"validations",inject:!0,locale:"en",validity:!1,useConstraintAttrs:!0}),N.a.Validator.extend("verify_password",{getMessage:function(a){return"The password must contain at least: 1 uppercase letter, 1 lowercase letter, 1 number"},validate:function(a){return new RegExp("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])").test(a)}}),n.a.use(T.a,{name:"ls",bind:!0}),n.a.use(B.a),n.a.use(A.a),n.a.use(R.a,{toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,customClass:{title:"swal2-theme-title"}});var U={install:function(){n.a.base64=$.a,n.a.prototype.$base64=$.a}};n.a.use(U);var M={install:function(){n.a.helpers=z.a,n.a.prototype.$helpers=z.a}};n.a.use(M),n.a.use(O.a),n.a.mixin(O.a.mixin),n.a.use(S.a,{preLoad:1.1,attempt:1});new n.a({el:"#app",router:k.a,store:D.a,beforeCreate:function(){this.$store.commit("initialiseStore")}})},function(a,t,s){"use strict";var e=s(0);function i(a){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(a)}function n(a,t,s){var e;return e=function(a,t){if("object"!=i(a)||!a)return a;var s=a[Symbol.toPrimitive];if(void 0!==s){var e=s.call(a,t||"default");if("object"!=i(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(a)}(t,"string"),(t="symbol"==i(e)?e:String(e))in a?Object.defineProperty(a,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[t]=s,a}var o={components:{PageHeader:s(10).a},mounted:function(){this.getTabList()},data:function(){return n({imgPath:IMG_PATH,pageTitle:"Our Casino",items:[{text:"Home",to:{name:"home"}},{text:"Our Casino",active:!0}],casinoList:[],casinoBannersPath:DIM_BUCKET_PATH+"casino-icons/lc/",title:"",tabList:[],gameId:null},"casinoList",[])},computed:{},methods:{scroll_left:function(){document.querySelector(".casino-tabs-admin .nav-tabs").scrollLeft-=300},scroll_right:function(){document.querySelector(".casino-tabs-admin .nav-tabs").scrollLeft+=300},getCasinoRoute:function(a){var t=_.find([{type:"worli",route:"worli"},{type:"worli2",route:"worli2"},{type:"btable",route:"bollywoodTable"},{type:"aaa",route:"AAA"},{type:"aaa2",route:"AAA2"},{type:"dtl20",route:"dragonTigerLionT20"},{type:"dt202",route:"dragonTigerT202"},{type:"dt20",route:"dragonTigerT20"},{type:"dt6",route:"dragonTigerOneDay"},{type:"poker6",route:"poker6Player"},{type:"poker",route:"pokeroneday"},{type:"poker20",route:"pokerT20"},{type:"teen",route:"TeenpattiOneday"},{type:"teen20",route:"teenpattiT20"},{type:"teen8",route:"teenpattiOpen"},{type:"teen9",route:"teenpattiTest"},{type:"baccarat",route:"baccarat"},{type:"baccarat2",route:"baccarat2"},{type:"lucky7",route:"lucky7"},{type:"lucky7eu",route:"lucky7eu"},{type:"lucky7eu2",route:"lucky7eu2"},{type:"war",route:"war"},{type:"3cardj",route:"ThreeCardJudgement"},{type:"cmeter",route:"CasinoMeter"},{type:"card32",route:"Card32A"},{type:"card32eu",route:"Card32B"},{type:"queen",route:"Queen"},{type:"cmatch20",route:"CMatch20"},{type:"ab20",route:"AndarBahar"},{type:"abj",route:"AndarBahar2"},{type:"race20",route:"Race20"},{type:"teen6",route:"Teenpatti2"},{type:"cricketv3",route:"Cricketv3"},{type:"lottcard",route:"Lottery"},{type:"paasa",route:"Paasa"},{type:"superover",route:"SuperOver"},{type:"trap",route:"Trap"},{type:"patti2",route:"Teenpatti2Cards"},{type:"teensin",route:"Khal29"},{type:"teenmuf",route:"TeenpattiMuflis"},{type:"race17",route:"Race17"},{type:"teen20b",route:"TeenpattiT20B"},{type:"trio",route:"Trio"},{type:"notenum",route:"NoteNumber"},{type:"teen2024",route:"Teenpatti2024"},{type:"kbc",route:"Kbc"},{type:"teen1",route:"teen1oneday"},{type:"teen120",route:"teen1t20"},{type:"ab3",route:"ab3"},{type:"race2",route:"race2"},{type:"teen3",route:"TeenpattiInstant"},{type:"teen32",route:"TeenpattiInstant2"},{type:"dum10",route:"Dum10"},{type:"cmeter1",route:"cmeter1"},{type:"sicbo",route:"sicbo"},{type:"ballbyball",route:"ballByBall"},{type:"teen33",route:"TeenpattiInstant3"},{type:"sicbo2",route:"sicbo2"},{type:"ab4",route:"ab4"},{type:"teen41",route:"Teenpatti41"},{type:"teen42",route:"Teenpatti42"},{type:"lucky15",route:"lucky15"},{type:"goal",route:"goal"},{type:"superover3",route:"SuperOver3"},{type:"ourroullete",route:"ourroullete"}],{type:a});return _.get(t,"route")},getTabList:function(){var a=this;this.tabList=[],this.gameId=null,e.a.callApi("casino/tablist",{type:4}).then((function(t){200==t.status?(a.tabList=t.data,a.gameId=_.get(_.head(a.tabList),"gmid"),a.getGameList(a.gameId)):(a.tabList=[],a.gameId=null)})).catch((function(t){a.tabList=[],a.gameId=null}))},changeGameId:function(a,t){this.gameId=a,this.gameName=t,this.getGameList(this.gameId)},getGameList:function(a){var t=this;this.casinoList=[],e.a.callApi("casino/tablelist",{gmid:a,ismob:IS_MOBILE?0:1}).then((function(a){200==a.status?t.casinoList=a.data:t.casinoList=[]})).catch((function(a){t.casinoList=[]}))}}},c=s(1);Object(c.a)(o,(function(){var a=this,t=a._self._c;return t("div",[t("PageHeader",{attrs:{title:a.pageTitle,items:a.items}}),a._v(" "),t("div",{staticClass:"card"},[t("div",{staticClass:"casino-tabs-admin p-2"},[t("div",{staticClass:"casino-tabs-menu w-100"},[t("a",{staticClass:"arrow-tabs arrow-left",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.scroll_left()}}},[t("i",{staticClass:"mdi mdi-chevron-left"})]),a._v(" "),t("ul",{staticClass:"nav nav-tabs nav-tabs-custom"},[a._l(a.tabList,(function(s,e){return[t("li",{key:e,staticClass:"nav-item"},[t("a",{staticClass:"nav-link",class:{active:a.gameId==s.gmid},attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.changeGameId(s.gmid,s.gname)}}},[a._v("\n                                "+a._s(s.gname)+"\n                            ")])])]}))],2),a._v(" "),t("a",{staticClass:"arrow-tabs arrow-right",attrs:{href:"javascript:void(0)"},on:{click:function(t){return a.scroll_right()}}},[t("i",{staticClass:"mdi mdi-chevron-right"})])])]),a._v(" "),t("div",{staticClass:"casino-banners"},[a._l(a.casinoList,(function(s,e){return[a.getCasinoRoute(s.gid)?t("div",{key:e,staticClass:"casino-banner-item"},[s.gid?[t("router-link",{attrs:{to:{name:a.getCasinoRoute(s.gid)}}},[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.casinoBannersPath+s.gid+".jpg",expression:"casinoBannersPath + table.gid + '.jpg'"}],staticClass:"img-fluid"})])]:[t("img",{directives:[{name:"lazy",rawName:"v-lazy",value:a.imgPath+"admin/img/casino/default.jpeg",expression:"imgPath + 'admin/img/casino/default.jpeg'"}],staticClass:"img-fluid"})]],2):a._e()]}))],2)])],1)}),[],!1,null,null,null).exports}],[[518,2,4,3,0]]]);
})();  
    </script>

    <script src="https://versionobj.ecoassetsservice.com/v25/static/front/plugin/owl/owl.carousel.min.js" type="text/javascript"></script>
    <script src="https://versionobj.ecoassetsservice.com/v25/static/admin/js/custom.js" type="text/javascript"></script>

    <script type="text/javascript">
      $(function () {
        $("#loader-full").hide();
        $.getJSON("https://api.ipify.org?format=jsonp&callback=?",
          function (json) {
            IP_ADDRESS = json.ip;
            localStorage.setItem("clientAddr", json.ip);
          }
        );
      });
      $(window).scroll(function() {
        if(!IS_MOBILE){
          if ($(this).scrollTop() > 12) {
              $('.right-sidebar').addClass('sticky');
          }
          if ($(this).scrollTop() < 12) {
              $('.right-sidebar').removeClass('sticky');
          }
        }else{
          $('.right-sidebar').removeClass('sticky');
        }
      });
      $(window).resize(function () {
        IS_MOBILE = getWidth() < 1280 ? true : false
        IS_TABLET = getWidth() >= 768 ? true : false
        if(!IS_MOBILE){
          if ($(this).scrollTop() > 12) {
              $('.right-sidebar').addClass('sticky');
          }
          if ($(this).scrollTop() < 12) {
              $('.right-sidebar').removeClass('sticky');
          }
        }else{
          $('.right-sidebar').removeClass('sticky');
        }   
      });
    </script>

  <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8f54a040ad55384f',t:'MTczNDc1MDA3MC4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe>

<div><div class="grecaptcha-badge" data-style="bottomright" style="width: 256px; height: 60px; position: fixed; visibility: hidden; display: block; transition: right 0.3s ease 0s; bottom: 14px; right: -186px; box-shadow: gray 0px 0px 5px; border-radius: 2px; overflow: hidden;"><div class="grecaptcha-logo"><iframe title="reCAPTCHA" width="256" height="60" role="presentation" name="a-lha0svxzxb43" frameborder="0" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation" src="https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=6LfX5uUhAAAAAEWCO0-VmoLKyCBqr16p2oe_PFkV&amp;co=aHR0cHM6Ly93d3cudm9sdm9leGNoLmluOjQ0Mw..&amp;hl=en&amp;v=zIriijn3uj5Vpknvt_LnfNbF&amp;size=invisible&amp;cb=a0gnx24rxa4k"></iframe></div><div class="grecaptcha-error"></div><textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea></div></div></body></html>