import {r as B, z as Y, R as J, B as T, G as U, H as F, N as s, I as o, K as H, M as x, ap as Q, O as t, J as e, P as d, Q as I, av as M, Z as fe, aA as q, ax as j, ao as y, C as K, $ as ae, ar as ne, au as W, b0 as Ge, b1 as Ae, b2 as Be, aq as Pe, aB as de, aG as ye, aH as ke, aC as we, aD as $e, aw as De, D as Re, aT as ue, az as me, a6 as He, A as Me, X as be, aX as Ne, aI as xe, a$ as Ue} from "./common.modules-f9fa5dc7.js";
import {G as ie, y as ee, b3 as ge, b4 as Oe, g as C, b5 as je, b6 as ze, b7 as Ve, b8 as We, N as Fe, b as V, _ as O, A as _e, b9 as Ee, i as X, a1 as qe, ba as Je, bb as ce, aL as le, c as Z, bc as re, m as Ce, aD as Ze, a as Le, aI as Ke, aH as Xe, bd as Ie, n as pe, be as Se, bf as Qe, bg as Ye, bh as et} from "./page-activity-ActivityDetail-0d51a056.js";
const he = B(!1);
function Te() {
    const {locale: f} = Y()
      , p = ie()
      , g = J();
    async function r(u, l) {
        je(u),
        f.value = u,
        p.updateLanguage(u),
        await ze(u),
        Ve().upUserLanguage(),
        We(Fe.global.t),
        localStorage.setItem("needUpd", "1"),
        l === 1 ? i() : he.value = !1
    }
    const i = () => {
        g.back()
    }
      , h = T( () => {
        let u = 0;
        const l = ee().getLanguage
          , v = [];
        if (l) {
            const a = l == null ? void 0 : l.replace("th", "tha").split("|");
            a == null || a.forEach(n => {
                ge.forEach(w => {
                    (n.toLowerCase().indexOf(w.key.toLowerCase()) !== -1 || w.key.toLowerCase().indexOf(n.toLowerCase()) !== -1) && (v.push(w),
                    u++)
                }
                )
            }
            )
        }
        return p.getLanguage || p.updateLanguage(Oe()),
        u == 0 ? ge : v
    }
    );
    return {
        onClick: r,
        languagesList: h,
        getIcons: C,
        locale: f,
        goBack: i,
        getLangName: u => {
            const l = h.value.find(v => v.key === u);
            return (l == null ? void 0 : l.key.toLocaleUpperCase()) || ""
        }
        ,
        show: he
    }
}
const tt = ["onClick"]
  , st = {
    class: "item-title"
}
  , ot = ["src"]
  , nt = {
    key: 0
}
  , at = {
    key: 1
}
  , it = U({
    __name: "index",
    props: {
        type: {
            type: Number,
            default: 1
        }
    },
    setup(f) {
        const {onClick: p, languagesList: g, locale: r} = Te();
        return (i, h) => {
            const c = F("van-radio")
              , u = F("van-radio-group");
            return s(),
            o("div", {
                class: Q(f.type === 2 ? "list info" : "list")
            }, [(s(!0),
            o(H, null, x(t(g), (l, v) => (s(),
            o("div", {
                class: Q(["item ar-1px-b", l.key == t(r) ? "checked" : ""]),
                key: v,
                onClick: a => t(p)(l.key, f.type)
            }, [e("div", st, [e("img", {
                src: t(V)("languages", l.key)
            }, null, 8, ot), f.type === 2 ? (s(),
            o("span", nt, d(l.key.toLocaleUpperCase()), 1)) : (s(),
            o("span", at, d(l.name), 1))]), I(u, {
                modelValue: t(r),
                "onUpdate:modelValue": h[0] || (h[0] = a => fe(r) ? r.value = a : null)
            }, {
                default: M( () => [I(c, {
                    name: l.key
                }, null, 8, ["name"])]),
                _: 2
            }, 1032, ["modelValue"])], 10, tt))), 128))], 2)
        }
    }
});
const lt = O(it, [["__scopeId", "data-v-29e221c4"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Main/LanguageList/index.vue"]])
  , ct = {
    class: "img"
}
  , rt = {
    class: "languageName"
}
  , dt = U({
    __name: "LangPopup",
    setup(f) {
        const {getLangName: p, locale: g, show: r} = Te()
          , i = ee()
          , h = T( () => i.getLoginChangeLanguage == "1");
        return (c, u) => {
            const l = F("van-popup")
              , v = q("lazy");
            return s(),
            o("div", null, [h.value ? (s(),
            o("div", {
                key: 0,
                class: "right",
                onClick: u[0] || (u[0] = a => r.value = !0)
            }, [j(e("img", ct, null, 512), [[v, t(V)("languages", t(g))]]), e("span", rt, d(t(p)(t(g))), 1)])) : y("v-if", !0), I(l, {
                show: t(r),
                "onUpdate:show": u[1] || (u[1] = a => fe(r) ? r.value = a : null),
                class: "popup",
                position: "bottom",
                teleport: "body"
            }, {
                default: M( () => [I(lt, {
                    type: 2
                })]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const ut = O(dt, [["__scopeId", "data-v-8610bd15"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Login/LangPopup.vue"]])
  , _t = {
    class: "noticeBar__container"
}
  , pt = {
    class: "noticeBar__container-body"
}
  , vt = {
    key: 0,
    class: "noticeBar__container-body-text"
}
  , mt = U({
    __name: "index",
    props: {
        color: {
            type: String,
            required: !1,
            default: "red"
        }
    },
    setup(f) {
        const p = J()
          , g = ie()
          , r = B(null)
          , i = B(g.messageList)
          , h = async () => {
            const c = await _e(Ee({
                pageNo: 1,
                pageSize: 5
            }));
            if (c) {
                if (g.setMessage(c.data.list),
                i.value = c.data.list,
                !i.value.length)
                    return;
                r.value && clearInterval(r.value),
                r.value = setInterval( () => {
                    i.value.push(i.value.shift())
                }
                , 7e3)
            }
        }
        ;
        return K( () => {
            i.value || setTimeout( () => {
                h()
            }
            , 1e3)
        }
        ),
        (c, u) => {
            var v;
            const l = F("svg-icon");
            return s(),
            o("div", _t, [I(l, {
                name: "noticeBarSpeaker"
            }), e("div", pt, [i.value && i.value[0] && i.value[0].siteMessage ? (s(),
            o("div", vt, d((v = i.value[0]) == null ? void 0 : v.siteMessage), 1)) : y("v-if", !0)]), e("button", {
                onClick: u[0] || (u[0] = a => t(p).push({
                    name: "Notification"
                })),
                class: "hotIcon"
            }, d(c.$t("more")), 1)])
        }
    }
})
  , gt = O(mt, [["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/NoticeBar/index.vue"]])
  , ht = {
    class: "dialog__container",
    role: "dialog",
    tabindex: "0"
}
  , ft = {
    class: "dialog__container-img"
}
  , yt = {
    alt: ""
}
  , kt = {
    class: "dialog__container-title"
}
  , wt = {
    class: "dialog__container-content"
}
  , $t = {
    class: "dialog__container-footer"
}
  , bt = U({
    __name: "HomeDialog",
    props: {
        show: {
            type: Boolean,
            default: !1
        },
        title: {
            type: String,
            default: ""
        },
        confirmText: {
            type: String,
            default: "comfirm"
        },
        showCancelBtn: {
            type: Boolean,
            default: !0
        },
        cancelText: {
            type: String,
            default: "cancel"
        },
        clickOutSide: {
            type: Boolean,
            default: !1
        },
        picname: {
            type: String,
            default: () => C("public", "superjackpotHome")
        }
    },
    emits: ["update:show", "confirm"],
    setup(f, {emit: p}) {
        const g = f
          , {t: r} = Y();
        ae( () => g.show, c => {
            c ? window.addEventListener("touchmove", h, {
                passive: !1
            }) : window.removeEventListener("touchmove", h)
        }
        );
        function i(c) {
            g.clickOutSide && p("update:show", !1)
        }
        const h = c => {
            g.show && c.preventDefault()
        }
        ;
        return (c, u) => {
            const l = q("lazy");
            return s(),
            o("div", {
                class: Q(["dialog", {
                    active: f.show,
                    inactive: !f.show
                }])
            }, [e("div", ht, [e("div", ft, [ne(c.$slots, "header", {}, () => [j(e("img", yt, null, 512), [[l, f.picname]])], !0)]), e("div", kt, [ne(c.$slots, "title", {}, () => [e("h1", null, d(t(r)(f.title)), 1)], !0)]), e("div", wt, [ne(c.$slots, "content", {}, void 0, !0)]), e("div", $t, [ne(c.$slots, "footer", {}, () => [f.showCancelBtn ? (s(),
            o("button", {
                key: 0,
                onClick: u[0] || (u[0] = () => {
                    p("update:show", !1)
                }
                )
            }, d(c.$t(f.cancelText)), 1)) : y("v-if", !0), e("button", {
                onClick: u[1] || (u[1] = () => {
                    p("confirm")
                }
                )
            }, d(c.$t(f.confirmText)), 1)], !0)])]), e("div", {
                class: "dialog__outside",
                onClick: i
            })], 2)
        }
    }
});
const Ct = O(bt, [["__scopeId", "data-v-c0caae78"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/common/HomeDialog.vue"]])
  , Lt = {
    class: "swiper_box"
}
  , It = ["onClick"]
  , St = {
    key: 0,
    class: "swiper-button"
}
  , Tt = U({
    __name: "index",
    props: {
        isShowButton: {
            type: Boolean,
            default: !1
        }
    },
    setup(f) {
        const p = J()
          , {getBannerApi: g, getBanner: r, openThirdGame: i} = X()
          , {getSelfCustomerServiceLink: h} = qe({
            ServerType: 2
        })
          , c = B(0)
          , u = [Be]
          , l = n => {
            n.activeIndex >= r.value.length ? c.value = n.activeIndex - r.value.length : c.value = n.activeIndex
        }
          , v = {
            0: "slot",
            1: "video",
            2: "sport",
            3: "lottery",
            4: "chess"
        }
          , a = n => {
            if (n.jumpLinkType == 1) {
                if (!n.gameCode) {
                    if ([0, 4].includes(n.categoryType) && n.vendorCode) {
                        p.push({
                            name: "AllOnlineGames",
                            query: {
                                game: n.categoryType == 0 ? "slot" : "chess",
                                vendorCode: n.vendorCode || ""
                            }
                        });
                        return
                    }
                    if ([1, 2].includes(n.categoryType) && n.vendorCode)
                        return i(n);
                    const P = v[n.categoryType] || "";
                    p.push({
                        name: "AllGames",
                        query: {
                            type: P
                        }
                    });
                    return
                }
                i(n);
                return
            } else if (n.jumpLinkType == 2) {
                h();
                return
            }
            const w = n.url;
            w && (window.location.href = w)
        }
        ;
        return K(async () => {
            await g()
        }
        ),
        (n, w) => {
            const P = q("lazy");
            return s(),
            o("div", Lt, [I(t(Ae), {
                class: "my-swipe",
                "slides-per-view": 1,
                "space-between": 20,
                onSlideChange: l,
                autoplay: {
                    delay: 5e3,
                    disableOnInteraction: !1
                },
                modules: u,
                loop: !0
            }, {
                default: M( () => [(s(!0),
                o(H, null, x(t(r), ($, L) => (s(),
                W(t(Ge), {
                    key: L
                }, {
                    default: M( () => [j(e("img", {
                        onClick: b => a($)
                    }, null, 8, It), [[P, $.bannerUrl]])]),
                    _: 2
                }, 1024))), 128))]),
                _: 1
            }), t(r).length > 1 && f.isShowButton ? (s(),
            o("div", St, [(s(!0),
            o(H, null, x(t(r).length, $ => (s(),
            o("span", {
                key: $,
                class: Q({
                    active: c.value === $ - 1
                })
            }, null, 2))), 128))])) : y("v-if", !0)])
        }
    }
});
const Gt = O(Tt, [["__scopeId", "data-v-3ad7aed7"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Swiper/index.vue"]])
  , At = {
    class: "terms"
}
  , Bt = {
    class: "terms-logo"
}
  , Pt = Pe('<span class="terms-logo-service" data-v-d344ff1e><svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-d344ff1e><circle cx="35" cy="35" r="33" stroke="url(#paint0_linear_84_6311)" stroke-width="4" data-v-d344ff1e></circle><path d="M25.3809 33.7041V36.8906H12.7109V33.7041H25.3809ZM20.7852 28.6895V42.1465H17.3193V28.6895H20.7852ZM36.3496 25.4775V44H32.6934V29.6924L28.3008 31.0889V28.207L35.9561 25.4775H36.3496ZM54.8213 38.9346C54.8213 40.0941 54.5505 41.0716 54.0088 41.8672C53.4671 42.6543 52.7223 43.251 51.7744 43.6572C50.835 44.055 49.7686 44.2539 48.5752 44.2539C47.3818 44.2539 46.3112 44.055 45.3633 43.6572C44.4154 43.251 43.6663 42.6543 43.1162 41.8672C42.5661 41.0716 42.291 40.0941 42.291 38.9346C42.291 38.1559 42.4476 37.4535 42.7607 36.8271C43.0739 36.1924 43.5098 35.6507 44.0684 35.2021C44.6354 34.7451 45.2998 34.3981 46.0615 34.1611C46.8232 33.9157 47.6527 33.793 48.5498 33.793C49.7516 33.793 50.8265 34.0046 51.7744 34.4277C52.7223 34.8509 53.4671 35.4476 54.0088 36.2178C54.5505 36.988 54.8213 37.8936 54.8213 38.9346ZM51.1396 38.6934C51.1396 38.1263 51.0296 37.6396 50.8096 37.2334C50.598 36.8187 50.2975 36.5013 49.9082 36.2812C49.5189 36.0612 49.0661 35.9512 48.5498 35.9512C48.0335 35.9512 47.5807 36.0612 47.1914 36.2812C46.8021 36.5013 46.4974 36.8187 46.2773 37.2334C46.0658 37.6396 45.96 38.1263 45.96 38.6934C45.96 39.252 46.0658 39.7344 46.2773 40.1406C46.4974 40.5469 46.8021 40.86 47.1914 41.0801C47.5892 41.2917 48.0505 41.3975 48.5752 41.3975C49.0999 41.3975 49.5527 41.2917 49.9336 41.0801C50.3229 40.86 50.6191 40.5469 50.8223 40.1406C51.0339 39.7344 51.1396 39.252 51.1396 38.6934ZM54.4277 30.416C54.4277 31.3555 54.1781 32.1891 53.6787 32.917C53.1794 33.6364 52.4854 34.1992 51.5967 34.6055C50.7165 35.0117 49.7093 35.2148 48.5752 35.2148C47.4326 35.2148 46.417 35.0117 45.5283 34.6055C44.6396 34.1992 43.9456 33.6364 43.4463 32.917C42.9469 32.1891 42.6973 31.3555 42.6973 30.416C42.6973 29.2988 42.9469 28.3594 43.4463 27.5977C43.9541 26.8275 44.6481 26.2435 45.5283 25.8457C46.417 25.4479 47.4242 25.249 48.5498 25.249C49.6924 25.249 50.7038 25.4479 51.584 25.8457C52.4727 26.2435 53.1667 26.8275 53.666 27.5977C54.1738 28.3594 54.4277 29.2988 54.4277 30.416ZM50.7715 30.5811C50.7715 30.0817 50.6826 29.6501 50.5049 29.2861C50.3271 28.9137 50.0732 28.626 49.7432 28.4229C49.4215 28.2197 49.0238 28.1182 48.5498 28.1182C48.0928 28.1182 47.6992 28.2155 47.3691 28.4102C47.0475 28.6048 46.7979 28.8883 46.6201 29.2607C46.4508 29.6247 46.3662 30.0648 46.3662 30.5811C46.3662 31.0804 46.4508 31.5205 46.6201 31.9014C46.7979 32.2738 47.0518 32.5658 47.3818 32.7773C47.7119 32.9889 48.1097 33.0947 48.5752 33.0947C49.0407 33.0947 49.4342 32.9889 49.7559 32.7773C50.0859 32.5658 50.3356 32.2738 50.5049 31.9014C50.6826 31.5205 50.7715 31.0804 50.7715 30.5811Z" fill="url(#paint1_linear_84_6311)" data-v-d344ff1e></path><defs data-v-d344ff1e><linearGradient id="paint0_linear_84_6311" x1="35" y1="0" x2="35" y2="70" gradientUnits="userSpaceOnUse" data-v-d344ff1e><stop stop-color="#FA2221" data-v-d344ff1e></stop><stop offset="1" stop-color="#FA5121" data-v-d344ff1e></stop></linearGradient><linearGradient id="paint1_linear_84_6311" x1="34.5" y1="20" x2="34.5" y2="50" gradientUnits="userSpaceOnUse" data-v-d344ff1e><stop stop-color="#FA2221" data-v-d344ff1e></stop><stop offset="1" stop-color="#FA5121" data-v-d344ff1e></stop></linearGradient></defs></svg></span>', 1)
  , Dt = ["onClick"]
  , Rt = {
    alt: ""
}
  , Ht = {
    class: "terms-rule"
}
  , Mt = {
    class: "terms-rule"
}
  , Nt = {
    class: "terms-rule"
}
  , xt = {
    class: "terms-tips"
}
  , Ut = {
    class: "terms-tips"
}
  , Ot = U({
    __name: "team",
    setup(f) {
        const {t: p} = Y()
          , g = J()
          , r = ee();
        let i = B([]);
        function h(u) {
            g.push({
                name: "CustomerService-ServiceCollection",
                state: {
                    itemId: u
                }
            })
        }
        const c = async () => {
            const u = await _e(Je());
            u && (i.value = u.data || [])
        }
        ;
        return K( () => {
            c()
        }
        ),
        (u, l) => {
            const v = F("svg-icon")
              , a = q("lazy");
            return s(),
            o("div", At, [e("div", Bt, [Pt, (s(!0),
            o(H, null, x(t(i), (n, w) => (s(),
            o("span", {
                class: "terms-logo-service",
                key: w,
                onClick: P => h(n.typeID)
            }, [j(e("img", Rt, null, 512), [[a, t(C)("main", `CStype${n.typeID}`)]])], 8, Dt))), 128))]), e("p", Ht, [I(v, {
                name: "Rectan"
            }), e("span", null, d(t(p)("damanRule").replace("Daman", t(r).getProjectName)), 1)]), e("p", Mt, [I(v, {
                name: "Rectan"
            }), e("span", null, d(t(p)("damanRule2").replace("Daman", t(r).getProjectName)), 1)]), e("p", Nt, [I(v, {
                name: "Rectan"
            }), e("span", null, d(t(p)("damanRule3").replace("Daman", t(r).getProjectName)), 1)]), e("p", xt, d(t(p)("damanWarn").replace("Daman", t(r).getProjectName)), 1), e("p", Ut, d(t(p)("damanWarn2").replace("Daman", t(r).getProjectName)), 1)])
        }
    }
});
const jt = O(Ot, [["__scopeId", "data-v-d344ff1e"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/team.vue"]])
  , zt = {
    class: "rank"
}
  , Vt = {
    class: "title"
}
  , Wt = ["src"]
  , Ft = {
    class: "rank_c"
}
  , Et = {
    class: "rank_c-topThree"
}
  , qt = {
    class: "r2"
}
  , Jt = ["data-img"]
  , Zt = ["data-img"]
  , Kt = {
    class: "name"
}
  , Xt = {
    class: "money"
}
  , Qt = {
    class: "r1"
}
  , Yt = ["data-img"]
  , es = ["data-img"]
  , ts = {
    class: "name"
}
  , ss = {
    class: "money"
}
  , os = {
    class: "r3"
}
  , ns = ["data-img"]
  , as = ["data-img"]
  , is = {
    class: "name"
}
  , ls = {
    class: "money"
}
  , cs = {
    class: "rank_c-list"
}
  , rs = {
    class: "left-rank"
}
  , ds = ["src"]
  , us = ["data-img"]
  , _s = {
    class: "middle-name"
}
  , ps = {
    class: "right-box"
}
  , vs = U({
    __name: "rank",
    setup(f) {
        const {t: p} = Y()
          , {homeState: g} = X()
          , r = {
            nickName: p("noData"),
            userPhoto: "",
            price: 0,
            time: "",
            typeName: ""
        };
        ae( () => g.rankList, c => {
            i.value.splice(0, c.length, ...c.sort( (u, l) => l.price - u.price).slice(0, 3)),
            h.value.splice(0, c.length, ...c.sort( (u, l) => l.price - u.price).slice(3, 10))
        }
        );
        const i = B([r, r, r])
          , h = B([]);
        return (c, u) => {
            const l = q("lazy");
            return s(),
            o("div", zt, [e("div", Vt, [e("img", {
                src: t(C)("home", "Ranking"),
                alt: ""
            }, null, 8, Wt), de(" " + d(c.$t("earningsRankingToday")), 1)]), e("div", Ft, [e("div", Et, [e("div", qt, [t(ce)(i.value[1].userPhoto) ? j((s(),
            o("img", {
                key: 1,
                "data-img": t(V)("home", "avatar")
            }, null, 8, Zt)), [[l, t(V)("main/Avatar", i.value[1].userPhoto)]]) : j((s(),
            o("img", {
                key: 0,
                "data-img": t(V)("home", "avatar")
            }, null, 8, Jt)), [[l, t(V)("home", "avatar")]]), e("div", Kt, d(t(le)(i.value[1].nickName)), 1), e("div", Xt, d(t(Z)(i.value[1].price)), 1)]), e("div", Qt, [t(ce)(i.value[0].userPhoto) ? j((s(),
            o("img", {
                key: 1,
                "data-img": t(V)("home", "avatar")
            }, null, 8, es)), [[l, t(V)("main/Avatar", i.value[0].userPhoto)]]) : j((s(),
            o("img", {
                key: 0,
                "data-img": t(V)("home", "avatar")
            }, null, 8, Yt)), [[l, t(V)("home", "avatar")]]), e("div", ts, d(t(le)(i.value[0].nickName)), 1), e("div", ss, d(t(Z)(i.value[0].price)), 1)]), e("div", os, [t(ce)(i.value[2].userPhoto) ? j((s(),
            o("img", {
                key: 1,
                "data-img": t(V)("home", "avatar")
            }, null, 8, as)), [[l, t(V)("main/Avatar", i.value[2].userPhoto)]]) : j((s(),
            o("img", {
                key: 0,
                "data-img": t(V)("home", "avatar")
            }, null, 8, ns)), [[l, t(V)("home", "avatar")]]), e("div", is, d(t(le)(i.value[2].nickName)), 1), e("div", ls, d(t(Z)(i.value[2].price)), 1)])]), e("div", cs, [(s(!0),
            o(H, null, x(h.value, (v, a) => (s(),
            o("div", {
                class: "rank_c-list__item",
                key: a
            }, [e("span", rs, d(a + 4), 1), t(ce)(v.userPhoto) ? j((s(),
            o("img", {
                key: 1,
                "data-img": t(V)("home", "avatar")
            }, null, 8, us)), [[l, t(V)("main/Avatar", v.userPhoto)]]) : (s(),
            o("img", {
                key: 0,
                src: t(V)("home", "avatar")
            }, null, 8, ds)), e("span", _s, d(t(le)(v.nickName)), 1), y(' <span class="middle-name">{{ formatString(item.nickName, 10) }}</span> '), e("span", ps, d(t(Z)(v.price)), 1)]))), 128))])])])
        }
    }
});
const ms = O(vs, [["__scopeId", "data-v-2cb0a7a0"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/rank.vue"]])
  , gs = {
    class: "lobbyItem"
}
  , hs = {
    class: "h"
}
  , fs = {
    class: "t"
}
  , ys = {
    key: 0,
    class: "d"
}
  , ks = {
    class: "g"
}
  , ws = ["onClick"]
  , $s = U({
    __name: "lobbyItem",
    props: {
        listData: {
            type: Array,
            required: !0
        },
        isMore: {
            type: Boolean,
            required: !1,
            default: !0
        },
        isLeft: {
            type: Boolean,
            required: !1,
            default: !0
        }
    },
    emits: ["item-click", "more-click"],
    setup(f, {emit: p}) {
        const g = f
          , r = B(0)
          , i = B()
          , h = a => {
            r.value = a
        }
          , c = T( () => re(g.listData || [], 6).map(n => re(n, 3)));
        function u(a) {
            p("item-click", a)
        }
        const l = () => {
            p("more-click")
        }
          , v = a => {
            var n, w;
            a === "left" ? (n = i.value) == null || n.prev() : (w = i.value) == null || w.next()
        }
        ;
        return (a, n) => {
            const w = F("Maintain")
              , P = q("lazy");
            return s(),
            o("div", gs, [e("div", hs, [e("div", fs, [ne(a.$slots, "head", {}, void 0, !0)]), a.isLeft ? (s(),
            o("div", ys, [a.isMore ? (s(),
            o("div", {
                key: 0,
                onClick: l,
                class: "more"
            }, d(a.$t("more")), 1)) : y("v-if", !0), e("div", {
                class: "left",
                onClick: n[0] || (n[0] = $ => v("left"))
            }), e("div", {
                class: "right",
                onClick: n[1] || (n[1] = $ => v("right"))
            })])) : y("v-if", !0)]), I(t(ke), {
                class: "my-swipe",
                ref_key: "swipeRef",
                ref: i,
                autoplay: 3e3,
                onChange: h,
                "lazy-render": !1,
                "show-indicators": !1
            }, {
                default: M( () => [(s(!0),
                o(H, null, x(c.value, ($, L) => (s(),
                W(t(ye), {
                    key: L
                }, {
                    default: M( () => [e("div", ks, [(s(!0),
                    o(H, null, x($, (b, k) => (s(),
                    o("div", {
                        key: k,
                        class: "row"
                    }, [(s(!0),
                    o(H, null, x(b, (R, z) => (s(),
                    o("div", {
                        key: z,
                        onClick: S => u(R)
                    }, [j(e("img", null, null, 512), [[P, R.img || R.vendorImg]]), I(w, {
                        item: R
                    }, null, 8, ["item"])], 8, ws))), 128))]))), 128))])]),
                    _: 2
                }, 1024))), 128))]),
                _: 1
            }, 512), ne(a.$slots, "default", {}, void 0, !0)])
        }
    }
});
const se = O($s, [["__scopeId", "data-v-fbc20715"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/lobbyItem.vue"]])
  , bs = f => (we("data-v-c21053b3"),
f = f(),
$e(),
f)
  , Cs = {
    key: 0,
    class: "homeNav"
}
  , Ls = {
    class: "title"
}
  , Is = bs( () => e("div", {
    class: "right_btn"
}, null, -1))
  , Ss = {
    class: "tip"
}
  , Ts = {
    class: "picContainer"
}
  , Gs = {
    class: "multiple"
}
  , As = {
    class: "gameName"
}
  , Bs = {
    class: "bonusAmount"
}
  , Ps = U({
    __name: "bigaward",
    setup(f) {
        const {ActiveSotre: p, getActive: g} = Ce()
          , {homeState: r} = X()
          , i = ie()
          , h = ee()
          , c = B(0)
          , u = B()
          , l = T( () => {
            var n;
            return re(((n = r.allGameList) == null ? void 0 : n.awardrecordlist) || [], 3)
        }
        )
          , v = n => {
            c.value = n
        }
          , a = () => {
            Ze.push({
                name: "SuperJackpot"
            })
        }
        ;
        return K(async () => {
            i.token && await g()
        }
        ),
        (n, w) => {
            const P = q("lazy");
            return t(i).token && t(p).isOpenJackpotReward == 1 ? (s(),
            o("div", Cs, [e("div", Ls, [e("div", null, d(n.$t("superjackpot")), 1), Is]), e("div", Ss, [de(d(n.$t("bigAward")) + d(n.$t("cpsTip4")) + " ", 1), e("span", null, d(t(Z)(t(h).jackportMaxReswadAmount)), 1)]), I(t(ke), {
                class: "my-swipe",
                ref_key: "swipeRef",
                ref: u,
                autoplay: 3e3,
                onChange: v,
                "lazy-render": !1,
                "show-indicators": !1
            }, {
                default: M( () => [(s(!0),
                o(H, null, x(l.value, ($, L) => (s(),
                W(t(ye), {
                    key: L
                }, {
                    default: M( () => [e("div", Ts, [(s(!0),
                    o(H, null, x($, (b, k) => j((s(),
                    o("div", {
                        alt: "",
                        key: k
                    }, [e("div", Gs, d(b.multiple) + "X", 1), j(e("img", null, null, 512), [[P, b.imgUrl]]), e("div", As, d(b.gameName), 1), e("div", Bs, d(t(Z)(b.bonusAmount)), 1)])), [[P, b.imgUrl]])), 128))])]),
                    _: 2
                }, 1024))), 128))]),
                _: 1
            }, 512), t(i).token ? (s(),
            o("div", {
                key: 0,
                class: "btn",
                onClick: a
            }, d(n.$t("lookBigAward")), 1)) : y("v-if", !0)])) : y("v-if", !0)
        }
    }
});
const Ds = O(Ps, [["__scopeId", "data-v-c21053b3"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/bigaward.vue"]])
  , oe = f => (we("data-v-7c58b1d0"),
f = f(),
$e(),
f)
  , Rs = {
    class: "tournament-container"
}
  , Hs = {
    class: "contentChamp"
}
  , Ms = {
    class: "title"
}
  , Ns = {
    class: "subtitle"
}
  , xs = {
    class: "prize"
}
  , Us = {
    key: 0,
    class: "countdown"
}
  , Os = {
    class: "countdown-item"
}
  , js = {
    class: "countdown-value"
}
  , zs = oe( () => e("div", {
    class: "countdown-label"
}, "Days", -1))
  , Vs = oe( () => e("div", {
    class: "countdown-separator"
}, ":", -1))
  , Ws = {
    class: "countdown-item"
}
  , Fs = {
    class: "countdown-value"
}
  , Es = oe( () => e("div", {
    class: "countdown-label"
}, "Hours", -1))
  , qs = oe( () => e("div", {
    class: "countdown-separator"
}, ":", -1))
  , Js = {
    class: "countdown-item"
}
  , Zs = {
    class: "countdown-value"
}
  , Ks = oe( () => e("div", {
    class: "countdown-label"
}, "Minutes", -1))
  , Xs = oe( () => e("div", {
    class: "countdown-separator"
}, ":", -1))
  , Qs = {
    class: "countdown-item"
}
  , Ys = {
    class: "countdown-value"
}
  , eo = oe( () => e("div", {
    class: "countdown-label"
}, "Seconds", -1))
  , to = {
    key: 1,
    class: "timeText"
}
  , so = {
    key: 2,
    class: "timeText"
}
  , oo = {
    key: 3,
    class: "timeText"
}
  , no = {
    key: 4,
    class: "timeText"
}
  , ao = U({
    __name: "Champion",
    props: {
        itemD: {
            type: null,
            required: !1,
            default: {}
        },
        state: {
            type: Number,
            required: !1
        },
        isRefresh: {
            type: Boolean,
            required: !1,
            default: !1
        }
    },
    emits: ["update:isRefresh"],
    setup(f, {emit: p}) {
        const g = f
          , {serviceNowTime: r} = Le()
          , i = () => {
            if (g.state == 1) {
                const n = r.value.replace(/-/g, "/")
                  , w = g.itemD.endTime.replace(/-/g, "/");
                c.value = new Date(w).getTime() - new Date(n).getTime(),
                c.value > 0 && (u.value = Re({
                    time: c.value,
                    onChange: v
                }),
                u.value.start())
            }
        }
          , {isRefresh: h} = De(g, p)
          , c = B(0)
          , u = B();
        ae( () => g.itemD.id, n => {
            i()
        }
        , {
            immediate: !0
        });
        const l = T( () => u.value.current);
        function v(n) {
            n.total == 0 ? h.value = !0 : h.value = !1
        }
        function a(n) {
            return {
                hours: String(n.hours).padStart(2, "0"),
                minutes: String(n.minutes).padStart(2, "0"),
                seconds: String(n.seconds).padStart(2, "0")
            }
        }
        return (n, w) => {
            var P, $, L, b, k, R;
            return s(),
            o("div", Rs, [e("div", Hs, [e("h1", Ms, d(n.$t("eTournament")), 1), e("h2", Ns, d(n.$t("winTips5")), 1), e("div", xs, d(t(Z)(((P = n.itemD) == null ? void 0 : P.sumBonus) || 0)), 1), n.state == 1 ? (s(),
            o("div", Us, [e("div", Os, [e("div", js, d(($ = l.value) == null ? void 0 : $.days), 1), zs]), Vs, e("div", Ws, [e("div", Fs, d((L = a(l.value)) == null ? void 0 : L.hours), 1), Es]), qs, e("div", Js, [e("div", Zs, d((b = a(l.value)) == null ? void 0 : b.minutes), 1), Ks]), Xs, e("div", Qs, [e("div", Ys, d((k = a(l.value)) == null ? void 0 : k.seconds), 1), eo])])) : n.state == 0 ? (s(),
            o("h1", to, d(n.$t("startTime")), 1)) : n.state == 2 ? (s(),
            o("h1", so, d(n.$t("ended")), 1)) : y("v-if", !0), n.state == 0 ? (s(),
            o("div", oo, d((R = n.itemD) == null ? void 0 : R.startTime), 1)) : y("v-if", !0), n.state == 2 ? (s(),
            o("div", no, "00:00:00")) : y("v-if", !0)])])
        }
    }
});
const io = O(ao, [["__scopeId", "data-v-7c58b1d0"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/Champion.vue"]])
  , lo = {
    key: 0,
    class: "count-active"
}
  , co = {
    class: "wv"
}
  , ro = ["src"]
  , uo = ["src"]
  , _o = U({
    __name: "CountActive",
    setup(f) {
        const p = J()
          , {championEntranceV: g, championEntranceVO: r} = Le()
          , i = ie()
          , {ActiveSotre: h, getActive: c} = Ce()
          , u = B(!1);
        return ae(u, l => {
            u.value && g()
        }
        ),
        ae( () => h.value.isOpenChampion, l => {
            l && g()
        }
        , {
            immediate: !0
        }),
        K(async () => {
            i.token && await c()
        }
        ),
        (l, v) => t(i).token ? (s(),
        o("div", lo, [t(h).isOpenChampion == 1 ? (s(),
        W(io, {
            key: 0,
            itemD: t(r),
            state: t(r).state,
            isRefresh: u.value,
            "onUpdate:isRefresh": v[0] || (v[0] = a => u.value = a),
            onClick: v[1] || (v[1] = () => t(p).push({
                name: "Championship"
            }))
        }, null, 8, ["itemD", "state", "isRefresh"])) : y("v-if", !0), e("div", co, [e("img", {
            src: t(C)("home", "jb_l"),
            onClick: v[2] || (v[2] = a => t(p).push({
                name: "Turntable"
            }))
        }, null, 8, ro), e("img", {
            src: t(C)("home", "jb_r"),
            onClick: v[3] || (v[3] = a => t(p).push({
                name: "vip"
            }))
        }, null, 8, uo)])])) : y("v-if", !0)
    }
});
const po = O(_o, [["__scopeId", "data-v-5fc3e4da"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/CountActive.vue"]])
  , vo = {
    class: "lobby"
}
  , mo = {
    key: 0,
    class: "lottery"
}
  , go = {
    class: "h"
}
  , ho = {
    class: "t"
}
  , fo = {
    class: "b"
}
  , yo = ["src", "onClick"]
  , ko = {
    class: "title pop"
}
  , wo = {
    class: "title miniGame"
}
  , $o = {
    class: "title live"
}
  , bo = {
    class: "title slot"
}
  , Co = {
    class: "title sport"
}
  , Lo = {
    class: "title chess"
}
  , Io = {
    class: "title fishing"
}
  , So = U({
    __name: "lobby",
    props: {
        tabList: {
            type: Array,
            required: !0
        }
    },
    emits: ["change-type"],
    setup(f, {emit: p}) {
        const g = f
          , r = ue("useHomeHook")
          , {homeState: i, isAlowGame: h, onItemClick: c, isSassLotteryGame: u, openThirdGame: l} = r
          , v = J()
          , a = T( () => g.tabList.map(m => m.key))
          , n = [{
            value: 1,
            path: "WinGo"
        }, {
            value: 2,
            path: "K3"
        }, {
            value: 3,
            path: "5D"
        }, {
            value: 4,
            path: "WinTrx"
        }, {
            value: 9,
            path: "MotoRace"
        }, {
            value: 10,
            path: "VideoWinGo"
        }]
          , w = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.lottery.map(_ => (_.img = _.categoryImg,
            _))) || []
        }
        )
          , P = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.flash) || []
        }
        )
          , $ = T( () => {
            var m, _;
            return ((_ = (m = i.allGameList) == null ? void 0 : m.popular) == null ? void 0 : _.platformList.map(D => (D.img = D.imgUrl,
            D))) || []
        }
        )
          , L = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.slot.map(_ => (_.img = _.vendorImg,
            _))) || []
        }
        )
          , b = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.chess.map(_ => (_.img = _.vendorImg,
            _))) || []
        }
        )
          , k = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.fish) || []
        }
        )
          , R = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.video.map(_ => (_.img = _.vendorImg,
            _))) || []
        }
        )
          , z = T( () => {
            var m;
            return ((m = i.allGameList) == null ? void 0 : m.sport.map(_ => (_.img = _.vendorImg,
            _))) || []
        }
        )
          , S = m => {
            if (u(m))
                return l({
                    ...m,
                    vendorCode: "ARLottery"
                });
            v.push({
                name: "AllLotteryGames-" + n[n.findIndex(_ => _.value === m.id)].path,
                query: {
                    id: m.id
                }
            })
        }
          , G = m => {
            p("change-type", m)
        }
          , A = (m, _) => {
            sessionStorage.setItem("slotGamesList", JSON.stringify(i.allGameList[_])),
            sessionStorage.setItem("gameType", JSON.stringify(_)),
            sessionStorage.setItem("clickedItem", JSON.stringify(m)),
            v.push({
                name: "AllOnlineGames"
            })
        }
        ;
        return (m, _) => (s(),
        o("div", vo, [(s(!0),
        o(H, null, x(a.value, (D, E) => (s(),
        o(H, {
            key: E
        }, [D === "Lottery" ? (s(),
        o("div", mo, [e("div", go, [e("div", ho, d(m.$t("lottery")), 1)]), e("div", fo, [(s(!0),
        o(H, null, x(w.value, (N, te) => (s(),
        o("img", {
            key: te,
            src: N.categoryImg,
            onClick: ve => t(h)(N, S)
        }, null, 8, yo))), 128))])])) : D === "Popular" ? (s(),
        W(se, {
            key: 1,
            listData: $.value,
            onItemClick: t(c),
            onMoreClick: _[0] || (_[0] = N => G("Popular"))
        }, {
            head: M( () => [e("div", ko, d(m.$t("popularTitle")), 1)]),
            _: 1
        }, 8, ["listData", "onItemClick"])) : D === "Flash" ? (s(),
        W(se, {
            key: 2,
            listData: P.value,
            onMoreClick: _[1] || (_[1] = N => G("Flash")),
            onItemClick: t(c)
        }, {
            head: M( () => [e("div", wo, d(m.$t("code9308")), 1)]),
            _: 1
        }, 8, ["listData", "onItemClick"])) : D === "Video" ? (s(),
        W(se, {
            key: 3,
            listData: R.value,
            onMoreClick: _[2] || (_[2] = N => G("Video")),
            onItemClick: t(c)
        }, {
            head: M( () => [e("div", $o, d(m.$t("live")), 1)]),
            _: 1
        }, 8, ["listData", "onItemClick"])) : D === "Slot" ? (s(),
        W(se, {
            key: 4,
            listData: L.value,
            onMoreClick: _[3] || (_[3] = N => G("Slot")),
            onItemClick: _[4] || (_[4] = N => A(N, "slot"))
        }, {
            head: M( () => [e("div", bo, d(m.$t("electronicGame")), 1)]),
            _: 1
        }, 8, ["listData"])) : D === "Sport" ? (s(),
        W(se, {
            key: 5,
            listData: z.value,
            onMoreClick: _[5] || (_[5] = N => G("Sport")),
            onItemClick: t(c)
        }, {
            head: M( () => [e("div", Co, d(m.$t("sport")), 1)]),
            _: 1
        }, 8, ["listData", "onItemClick"])) : D === "Chess" ? (s(),
        W(se, {
            key: 6,
            listData: b.value,
            onMoreClick: _[6] || (_[6] = N => G("Chess")),
            onItemClick: _[7] || (_[7] = N => A(N, "chess"))
        }, {
            head: M( () => [e("div", Lo, d(m.$t("chess")), 1)]),
            _: 1
        }, 8, ["listData"])) : D === "Fish" ? (s(),
        W(se, {
            key: 7,
            listData: k.value,
            onMoreClick: _[8] || (_[8] = N => G("Fish")),
            onItemClick: t(c)
        }, {
            head: M( () => [e("div", Io, d(m.$t("fishing")), 1)]),
            _: 1
        }, 8, ["listData", "onItemClick"])) : y("v-if", !0)], 64))), 128)), I(po), I(Ds)]))
    }
});
const To = O(So, [["__scopeId", "data-v-feb301e9"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/lobby.vue"]])
  , Go = {
    class: "allGame"
}
  , Ao = {
    class: "nei_title"
}
  , Bo = ["src"]
  , Po = ["onClick"]
  , Do = U({
    __name: "gameList",
    props: {
        activeType: {
            type: String,
            required: !0
        }
    },
    setup(f) {
        const p = f
          , g = ue("useHomeHook")
          , {homeState: r, isSassLotteryGame: i, openThirdGame: h, onItemClick: c, gol2chess: u} = g
          , {t: l} = Y()
          , v = J()
          , a = T( () => r.allGameList[p.activeType.toLocaleLowerCase()] || [])
          , n = L => {
            var b;
            u(L, (b = r.allGameList) == null ? void 0 : b.chess)
        }
          , w = [{
            value: 1,
            path: "WinGo"
        }, {
            value: 2,
            path: "K3"
        }, {
            value: 3,
            path: "5D"
        }, {
            value: 4,
            path: "WinTrx"
        }, {
            value: 9,
            path: "MotoRace"
        }, {
            value: 10,
            path: "VideoWinGo"
        }]
          , P = L => {
            if (i(L))
                return h({
                    ...L,
                    vendorCode: "ARLottery"
                });
            v.push({
                name: "AllLotteryGames-" + w[w.findIndex(b => b.value === L.id)].path,
                query: {
                    id: L.id
                }
            })
        }
          , $ = {
            Popular: {
                lable: l("popularTitle"),
                icon: C("home", "Popular")
            },
            Flash: {
                lable: l("code9308"),
                icon: C("home", "MiniGame")
            },
            Video: {
                lable: l("live"),
                icon: C("home", "Casino")
            },
            Slot: {
                lable: l("electronicGame"),
                icon: C("home", "Slots")
            },
            Sport: {
                lable: l("sport"),
                icon: C("home", "Sports")
            },
            Chess: {
                lable: l("chess"),
                icon: C("home", "PVC")
            },
            Fish: {
                lable: l("fishing"),
                icon: C("home", "Fishing")
            },
            Lottery: {
                lable: l("lottery"),
                icon: C("home", "Lottery")
            }
        };
        return (L, b) => {
            var z, S;
            const k = F("Maintain")
              , R = q("lazy");
            return s(),
            o("div", Go, [e("div", Ao, [e("img", {
                src: (z = $[L.activeType]) == null ? void 0 : z.icon,
                alt: ""
            }, null, 8, Bo), e("span", null, d((S = $[L.activeType]) == null ? void 0 : S.lable), 1)]), e("div", {
                class: Q(L.activeType === "Lottery" ? "b" : "nei")
            }, [(s(!0),
            o(H, null, x(a.value, (G, A) => (s(),
            o("div", {
                key: A,
                onClick: m => L.activeType === "Chess" ? n(G) : L.activeType === "Lottery" ? P(G) : t(c)(G)
            }, [j(e("img", null, null, 512), [[R, G.img]]), I(k, {
                item: G
            }, null, 8, ["item"])], 8, Po))), 128))], 2)])
        }
    }
});
const Ro = O(Do, [["__scopeId", "data-v-26f8cd56"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/gameList.vue"]])
  , Ho = {
    class: "allGame"
}
  , Mo = {
    class: "head"
}
  , No = ["src"]
  , xo = {
    class: "tabs-btn"
}
  , Uo = {
    class: "slotsPic"
}
  , Oo = ["onClick"]
  , jo = {
    alt: ""
}
  , zo = U({
    __name: "seachGame",
    props: {
        activeType: {
            type: String,
            required: !0
        }
    },
    setup(f) {
        const p = f
          , {t: g} = Y()
          , r = ue("useHomeHook")
          , {homeState: i, onItemClick: h, getSlotList: c} = r
          , u = J()
          , l = B([])
          , v = B({})
          , a = T( () => i.allGameList[p.activeType.toLocaleLowerCase()] || [])
          , n = async k => {
            const R = await _e(Xe({
                type: k
            }));
            R && (l.value = R.data.gameLists || []),
            v.value = a.value.find(z => z.vendorId == k)
        }
        ;
        ae( () => p.activeType, k => {
            a.value[0] && n(a.value[0].vendorId)
        }
        , {
            immediate: !0
        });
        const w = k => {
            sessionStorage.setItem("slotGamesList", JSON.stringify(a.value)),
            sessionStorage.setItem("gameType", JSON.stringify(p.activeType.toLocaleLowerCase())),
            sessionStorage.setItem("clickedItem", JSON.stringify(v.value)),
            u.push({
                name: "AllOnlineGames"
            })
        }
        ;
        K( () => {
            n(a.value[0].vendorId)
        }
        );
        const P = {
            Slot: {
                lable: g("electronicGame"),
                icon: C("home", "Slots")
            }
        }
          , $ = B("")
          , L = B([])
          , b = B({});
        return K(async () => {
            await c(),
            L.value = i.slotsGame.map(k => (b.value[k.vendorCode] = k.childList.slice(0, 6),
            k.vendorCode))
        }
        ),
        (k, R) => {
            var _, D;
            const z = F("svg-icon")
              , S = F("Maintain")
              , G = F("van-tab")
              , A = F("van-tabs")
              , m = q("lazy");
            return s(),
            o("div", Ho, [e("div", Mo, [e("img", {
                src: (_ = P[k.activeType]) == null ? void 0 : _.icon,
                alt: ""
            }, null, 8, No), e("span", null, d((D = P[k.activeType]) == null ? void 0 : D.lable), 1)]), I(A, {
                active: $.value,
                "onUpdate:active": R[0] || (R[0] = E => $.value = E),
                animated: "",
                class: "tabs-nav"
            }, {
                default: M( () => [(s(!0),
                o(H, null, x(L.value, (E, N) => (s(),
                W(G, {
                    key: N,
                    name: E
                }, {
                    title: M( () => [e("div", xo, [I(z, {
                        class: "gameIcon",
                        name: E
                    }, null, 8, ["name"]), de(d(t(Ke)(E)), 1)])]),
                    default: M( () => [e("div", Uo, [b.value[$.value] ? (s(!0),
                    o(H, {
                        key: 0
                    }, x(b.value[$.value], (te, ve) => (s(),
                    o("div", {
                        key: ve,
                        onClick: ea => t(h)(te)
                    }, [j(e("img", jo, null, 512), [[m, te.img]]), I(S, {
                        item: te
                    }, null, 8, ["item"])], 8, Oo))), 128)) : y("v-if", !0)])]),
                    _: 2
                }, 1032, ["name"]))), 128))]),
                _: 1
            }, 8, ["active"]), e("div", {
                class: "btn",
                onClick: w
            }, d(k.$t("viewAll")), 1)])
        }
    }
});
const Vo = O(zo, [["__scopeId", "data-v-2c9b8be5"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/seachGame.vue"]])
  , Wo = {
    class: "popular"
}
  , Fo = {
    class: "title"
}
  , Eo = ["src"]
  , qo = {
    class: "container"
}
  , Jo = ["onClick"]
  , Zo = {
    key: 0,
    class: "win-odds"
}
  , Ko = {
    class: "title icon2"
}
  , Xo = ["src"]
  , Qo = {
    class: "container"
}
  , Yo = ["onClick"]
  , en = {
    key: 0,
    class: "win-odds"
}
  , tn = U({
    __name: "popular",
    setup(f) {
        const {homeState: p, onItemClick: g} = X()
          , r = ee()
          , i = T( () => {
            var c, u;
            return console.log("homeState.allGameList?.popular.platformList", (c = p.allGameList) == null ? void 0 : c.popular.platformList),
            ((u = p.allGameList) == null ? void 0 : u.popular.platformList) || []
        }
        )
          , h = T( () => {
            var c;
            return (c = p.allGameList) == null ? void 0 : c.popular.clicksTopList
        }
        );
        return (c, u) => {
            const l = F("Maintain")
              , v = q("lazy");
            return s(),
            o("div", Wo, [e("div", Fo, [e("img", {
                src: t(C)("home", "good"),
                alt: ""
            }, null, 8, Eo), e("span", null, d(c.$t("platRecom")), 1)]), e("div", qo, [(s(!0),
            o(H, null, x(i.value, (a, n) => (s(),
            o("div", {
                key: n
            }, [j(e("img", {
                onClick: w => t(g)(a)
            }, null, 8, Jo), [[v, a.imgUrl]]), t(r).isShowHotGameWinOdds ? (s(),
            o("div", Zo, [e("span", null, d(c.$t("winOdds")), 1), e("span", null, d(a.winOdds) + "%", 1), e("div", {
                class: "win-p",
                style: me({
                    width: `${Math.min(a.winOdds, 100)}%`
                })
            }, null, 4)])) : y("v-if", !0), I(l, {
                item: a
            }, null, 8, ["item"])]))), 128))]), e("div", Ko, [e("img", {
                src: t(C)("home", "Popular"),
                alt: ""
            }, null, 8, Xo), e("span", null, d(c.$t("hot")), 1)]), e("div", Qo, [(s(!0),
            o(H, null, x(h.value, (a, n) => (s(),
            o("div", {
                key: n
            }, [j(e("img", {
                onClick: w => t(g)(a)
            }, null, 8, Yo), [[v, a.imgUrl]]), t(r).isShowHotGameWinOdds ? (s(),
            o("div", en, [e("span", null, d(c.$t("winOdds")), 1), e("span", null, d(a.winOdds) + "%", 1), e("div", {
                class: "win-p",
                style: me({
                    width: `${Math.min(a.winOdds, 100)}%`
                })
            }, null, 4)])) : y("v-if", !0), I(l, {
                item: a
            }, null, 8, ["item"])]))), 128))])])
        }
    }
});
const sn = O(tn, [["__scopeId", "data-v-2b807afa"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/popular.vue"]])
  , on = {
    class: "game"
}
  , nn = {
    key: 0,
    class: "sticky nav"
}
  , an = ["onClick"]
  , ln = ["src"]
  , cn = ["onClick"]
  , rn = ["src"]
  , dn = U({
    __name: "game",
    setup(f) {
        const p = [{
            type: "Lottery",
            label: "Lottery",
            activeImg: C("home", "Lottery"),
            no_activeImg: C("home", "icon_Lottery")
        }, {
            type: "Popular",
            label: "Popular",
            activeImg: C("home", "Popular"),
            no_activeImg: C("home", "icon_Popular")
        }, {
            type: "Flash",
            label: "Mini Game",
            activeImg: C("home", "MiniGame"),
            no_activeImg: C("home", "icon_MiniGame")
        }, {
            type: "Video",
            label: "Casino",
            activeImg: C("home", "Casino"),
            no_activeImg: C("home", "icon_Casino")
        }, {
            type: "Slot",
            label: "Slots",
            activeImg: C("home", "Slots"),
            no_activeImg: C("home", "icon_Slots")
        }, {
            type: "Sport",
            label: "Sports",
            activeImg: C("home", "Sports"),
            no_activeImg: C("home", "icon_Sports")
        }, {
            type: "Chess",
            label: "PVC",
            activeImg: C("home", "PVC"),
            no_activeImg: C("home", "icon_PVC")
        }, {
            type: "Fish",
            label: "Fishing",
            activeImg: C("home", "Fishing"),
            no_activeImg: C("home", "icon_Fishing")
        }]
          , g = ["Flash", "Fish", "Video", "Sport", "Chess", "Lottery"]
          , r = ["Slot"]
          , i = ["Popular"]
          , h = X();
        He("useHomeHook", h);
        const {t: c} = Y()
          , {getGameType: u, homeState: l, getAllGame: v} = h
          , a = B("")
          , n = Me([])
          , w = B(!1)
          , P = B(sessionStorage.getItem("gameMenu"))
          , $ = B(null)
          , L = async () => {
            await u(),
            l.gameTypeList.length > 0 && (l.gameTypeList.forEach(S => {
                S.state === 1 && n.push({
                    isShow: S.state === 1,
                    title: c("code" + S.typeNameCode),
                    img: S.categoryImg,
                    sort: S.sort,
                    key: S.categoryCode.charAt(0).toUpperCase() + S.categoryCode.slice(1)
                })
            }
            ),
            P.value = JSON.stringify(n),
            sessionStorage.setItem("gameMenu", JSON.stringify(n)))
        }
          , b = T( () => {
            const S = P.value
              , G = {
                type: "",
                label: "Lobby",
                activeImg: C("home", "Lobby"),
                no_activeImg: C("home", "icon_Lobby")
            };
            if (S) {
                const m = p.map(_ => {
                    var E;
                    return {
                        ...(E = JSON.parse(S)) == null ? void 0 : E.find(N => N.key === _.type),
                        ..._
                    }
                }
                ).sort( (_, D) => (D.sort ?? 0) - (_.sort ?? 0)).filter(_ => _.isShow) || [];
                return [G, ...m]
            }
            return []
        }
        );
        function k(S, G, A=!1) {
            a.value = S;
            const m = G.currentTarget;
            if ($.value) {
                const _ = $.value
                  , D = _.offsetWidth
                  , E = m.offsetLeft - _.offsetLeft
                  , N = m.offsetWidth
                  , te = Math.max(0, E - (D - N) / 2);
                _.scrollTo({
                    left: te,
                    behavior: "smooth"
                })
            }
            A && $.value && window.scrollTo({
                top: $.value.offsetTop + 12,
                behavior: "smooth"
            })
        }
        const R = S => {
            a.value = S
        }
          , z = () => {
            if ($.value) {
                const S = $.value.getBoundingClientRect().top - 40;
                w.value = S <= 0
            }
        }
        ;
        return K( () => {
            window.addEventListener("scroll", z)
        }
        ),
        be( () => {
            window.removeEventListener("scroll", z)
        }
        ),
        L(),
        v(),
        (S, G) => (s(),
        o(H, null, [e("div", on, [w.value ? (s(),
        o("div", nn, [(s(!0),
        o(H, null, x(b.value, A => (s(),
        o("div", {
            key: A.type,
            onClick: m => k(A.type, m, !0)
        }, [e("img", {
            src: a.value === A.type ? A.activeImg : A.no_activeImg
        }, null, 8, ln), e("div", {
            class: Q({
                activeText: a.value === A.type
            })
        }, d(A.label), 3)], 8, an))), 128))])) : y("v-if", !0), e("div", {
            ref_key: "navRef",
            ref: $,
            class: "nav"
        }, [(s(!0),
        o(H, null, x(b.value, A => (s(),
        o("div", {
            key: A.type,
            onClick: m => k(A.type, m)
        }, [e("img", {
            src: a.value === A.type ? A.activeImg : A.no_activeImg
        }, null, 8, rn), e("div", {
            class: Q({
                activeText: a.value === A.type
            })
        }, d(A.label), 3), e("div", {
            class: Q({
                active: a.value === A.type
            })
        }, null, 2)], 8, cn))), 128))], 512)]), a.value == "" ? (s(),
        W(To, {
            key: 0,
            onChangeType: R,
            tabList: b.value
        }, null, 8, ["tabList"])) : y("v-if", !0), g.includes(a.value) ? (s(),
        W(Ro, {
            key: 1,
            activeType: a.value
        }, null, 8, ["activeType"])) : y("v-if", !0), i.includes(a.value) ? (s(),
        W(sn, {
            key: 2
        })) : y("v-if", !0), r.includes(a.value) ? (s(),
        W(Vo, {
            key: 3,
            activeType: a.value
        }, null, 8, ["activeType"])) : y("v-if", !0)], 64))
    }
});
const un = O(dn, [["__scopeId", "data-v-65220fc3"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/game.vue"]])
  , _n = {
    class: "winner_91"
}
  , pn = {
    class: "winner_91-wrapper"
}
  , vn = {
    class: "head"
}
  , mn = {
    class: "game"
}
  , gn = ["src"]
  , hn = {
    class: "name"
}
  , fn = {
    class: "amount"
}
  , yn = U({
    __name: "winner",
    setup(f) {
        const {homeState: p, getWinInfoDetail: g, getWinInfo: r} = X()
          , i = B(null)
          , h = B(null);
        return K(async () => {
            await g(),
            Ne(h.value),
            p.winInfoList.length > 0 && (i.value = setInterval(async () => {
                p.winInfoList.unshift(p.winInfoList.pop())
            }
            , 3e3))
        }
        ),
        be( () => {
            clearInterval(i.value)
        }
        ),
        (c, u) => (s(),
        o("div", _n, [e("div", pn, [e("div", vn, [e("div", null, d(c.$t("winningDetal")), 1)]), e("div", {
            class: "body",
            ref_key: "wrapperRef",
            ref: h
        }, [(s(!0),
        o(H, null, x(t(r).slice(0, 10), l => (s(),
        o("div", {
            class: "winner_91-wrapper__item",
            key: JSON.stringify(l)
        }, [e("div", mn, [e("img", {
            src: l.imgUrl,
            alt: ""
        }, null, 8, gn)]), e("div", hn, d(t(le)(l.nickName)), 1), e("div", fn, d(t(Z)(l.amount || 0)), 1)]))), 128))], 512)])]))
    }
});
const kn = O(yn, [["__scopeId", "data-v-38950b50"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/Home/Public5BlackGoldHome/winner.vue"]])
  , wn = ["src"]
  , $n = {
    class: "bonus-con"
}
  , bn = {
    class: "bonus"
}
  , Cn = {
    class: "text"
}
  , Ln = ["src"]
  , In = {
    class: "text"
}
  , Sn = U({
    __name: "DownloadPWA",
    setup(f) {
        const p = Ie()
          , {t: g} = Y()
          , r = ee()
          , {onDown: i} = X()
          , {store: h} = pe();
        console.log("当前下载奖励金额", h.downAppRewardBonusAmount),
        T( () => r.isOpenDownAppRewardSwitch);
        const c = T( () => (r == null ? void 0 : r.downAppBonusAmount) ?? 0)
          , u = T( () => r.isShowDownAppBonusAmountSwitch);
        return (l, v) => t(p).apk.value != t(Se).FullApk ? (s(),
        o(H, {
            key: 0
        }, [u.value ? (s(),
        o("div", {
            key: 0,
            class: "btn pwa-btn",
            onClick: v[0] || (v[0] = (...a) => t(i) && t(i)(...a))
        }, [e("img", {
            class: "icon",
            src: t(r).getWebIco
        }, null, 8, wn), e("div", $n, [e("div", bn, d(t(g)("getMoney", [t(Z)(c.value, "", 0)])), 1), e("div", Cn, d(t(g)("addToDesktop")), 1)])])) : (s(),
        o("div", {
            key: 1,
            class: "btn pwa-btn",
            onClick: v[1] || (v[1] = (...a) => t(i) && t(i)(...a))
        }, [e("img", {
            class: "icon",
            src: t(r).getWebIco
        }, null, 8, Ln), e("div", In, d(t(g)("addToDesktop")), 1)]))], 64)) : y("v-if", !0)
    }
});
const Tn = O(Sn, [["__scopeId", "data-v-b3bd7e49"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/common/DownloadPWA.vue"]])
  , Gn = "/assets/png/reBenefits-c784b658.png"
  , An = "/assets/png/rewardCenter-f8f2277a.png"
  , Bn = "/assets/png/tg_bg-8a7ff21e.png"
  , Pn = "/assets/png/turntable_icon-9b14cf81.png"
  , Dn = {
    class: "float"
}
  , Rn = {
    class: "downText"
}
  , Hn = {
    class: "time"
}
  , Mn = U({
    __name: "Turntable",
    setup(f) {
        xe(_ => ({
            "d9cf7d89-reBenefitBgUrl": z.value,
            "d9cf7d89-rewardCenterBgUrl": S.value,
            "d9cf7d89-bigTurntableBgUrl": A.value,
            "d9cf7d89-telegramBgUrl": G.value,
            "d9cf7d89-changlongIconUrl": m.value
        }));
        const p = J()
          , g = B()
          , r = ee()
          , {store: i, onReturnReBenefit: h} = pe()
          , c = ie()
          , {isAlowGame: u, goChangLong: l, showChanglong: v} = X()
          , {onTriggerGoogle: a} = et()
          , {formattedTime: n, activityStatus: w} = Qe()
          , P = T( () => i.reBenefit && w.value === "IN_PROGRESS")
          , $ = async () => {
            if (!c.token) {
                p.push({
                    name: "login"
                });
                return
            }
            await u("", l)
        }
          , L = () => {
            if (!c.token) {
                p.push({
                    name: "login"
                });
                return
            }
            p.push({
                name: "Turntable"
            })
        }
          , b = () => {
            if (!c.token) {
                p.push({
                    name: "login"
                });
                return
            }
            i.rewardCenter = !0,
            a("reward_center_click")
        }
          , k = () => {
            if (!c.token) {
                p.push({
                    name: "login"
                });
                return
            }
            h(),
            i.isShowReBenefit = !0
        }
          , R = _ => {
            _ && window.open(_)
        }
          , z = T( () => `url('${Gn}')`)
          , S = T( () => `url('${r.getBonusCenterImgUrl || An}')`)
          , G = T( () => `url('${r.getTelegramImgUrl || Bn}')`)
          , A = T( () => `url('${r.getBigTurntableImgUrl || Pn}')`)
          , m = T( () => `url('${r.getLotteryDragonIcon || Ye}')`);
        return (_, D) => {
            const E = q("scrollhide");
            return j((s(),
            o("div", Dn, [y(" 会员回归奖励 "), P.value ? (s(),
            o("div", {
                key: 0,
                class: "reBenefit float-entry",
                onClick: k
            }, [e("div", Rn, [e("span", Hn, d(t(n)), 1)])])) : y("v-if", !0), y(" 奖金弹窗 "), t(r).getIsShowRewardCenter ? (s(),
            o("div", {
                key: 1,
                class: "rewardCenter float-entry",
                onClick: b
            })) : y("v-if", !0), y(" 抽奖转盘组件 "), t(r).getOpenTurntable ? (s(),
            o("div", {
                key: 2,
                class: "turntable-lottery float-entry",
                onClick: L
            })) : y("v-if", !0), y(" 大转盘组件 "), t(r).getBigTurntableLink ? (s(),
            o("div", {
                key: 3,
                ref_key: "turntableId",
                ref: g,
                class: "turntable float-entry",
                onClick: D[0] || (D[0] = N => R(t(r).getBigTurntableLink))
            }, null, 512)) : y("v-if", !0), y(" Telegram组件 "), t(r).getTelegramExternalLink ? (s(),
            o("div", {
                key: 4,
                class: "turntable-telegram float-entry",
                onClick: D[1] || (D[1] = N => R(t(r).getTelegramExternalLink))
            })) : y("v-if", !0), y(" 长龙组件 "), t(v) ? (s(),
            o("div", {
                key: 5,
                class: "changlongEnter float-entry",
                onClick: $
            })) : y("v-if", !0)])), [[E]])
        }
    }
});
const Nn = O(Mn, [["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/components/common/Turntable.vue"]])
  , xn = ["src"]
  , Un = {
    key: 0,
    class: "nav-right"
}
  , On = {
    key: 1,
    class: "nav-right"
}
  , jn = {
    class: "public5BlackGoldHome"
}
  , zn = {
    class: "box"
}
  , Vn = {
    class: "box"
}
  , Wn = {
    class: "box"
}
  , Fn = {
    class: "box"
}
  , En = {
    class: "box"
}
  , qn = {
    class: "promptHeader"
}
  , Jn = ["innerHTML"]
  , Zn = {
    class: "Laundry-Con"
}
  , Kn = {
    class: "Laundry-Con_tip"
}
  , Xn = {
    class: "Landty-Con-tips"
}
  , Qn = U({
    __name: "public5BlackGoldHome",
    setup(f) {
        const {projectIcon: p, isAppDownloadIcon: g, showPWA: r, showChanglong: i, onDown: h} = X()
          , c = ie()
          , u = J()
          , l = ee()
          , {closeLaundry: v, closePrompt: a, store: n, promptContent: w, beforeClosePrompt: P} = pe();
        T( () => l.getIsCanAppDownload),
        B(0);
        const $ = Ie()
          , L = () => {
            v(),
            u.push({
                name: "SuperJackpot"
            })
        }
        ;
        return (b, k) => {
            const R = F("svg-icon")
              , z = F("NavBar")
              , S = F("van-dialog");
            return s(),
            o(H, null, [I(z, null, {
                left: M( () => [e("img", {
                    src: t(p),
                    alt: ""
                }, null, 8, xn)]),
                right: M( () => [t(c).getToken ? (s(),
                o("div", On, [t($).apk.value != t(Se).FullApk ? (s(),
                W(R, {
                    key: 0,
                    class: "down",
                    name: "down1",
                    onClick: Ue(t(h), ["stop"])
                }, null, 8, ["onClick"])) : y("v-if", !0), I(ut)])) : (s(),
                o("div", Un, [e("div", {
                    class: "nav-btn",
                    onClick: k[0] || (k[0] = G => t(u).push({
                        name: "login"
                    }))
                }, d(b.$t("login")), 1), e("div", {
                    class: "nav-btn reg",
                    onClick: k[1] || (k[1] = G => t(u).push({
                        name: "register"
                    }))
                }, d(b.$t("register")), 1)]))]),
                _: 1
            }), e("div", jn, [e("div", zn, [I(Gt, {
                isShowButton: !0
            })]), e("div", Vn, [I(gt)]), e("div", Wn, [I(kn)]), I(un), e("div", Fn, [I(ms)]), e("div", En, [I(jt)])]), y("下载PWA应用"), I(Tn), y(" 邀请转盘 "), y(" <InviteTurntable /> "), I(Nn), y("公告弹窗"), I(S, {
                show: t(n).prompt,
                "onUpdate:show": k[2] || (k[2] = G => t(n).prompt = G),
                "before-close": t(P),
                "confirm-button-text": b.$t("confirm"),
                onConfirm: t(a)
            }, {
                default: M( () => [e("div", qn, d(t(w).title), 1), e("div", {
                    class: "promptContent",
                    innerHTML: t(w).siteMessage
                }, null, 8, Jn)]),
                _: 1
            }, 8, ["show", "before-close", "confirm-button-text", "onConfirm"]), y("超级大奖弹窗"), I(Ct, {
                show: t(n).laundry,
                "onUpdate:show": k[3] || (k[3] = G => t(n).laundry = G),
                "show-cancel-btn": !1,
                title: b.$t("congratulations"),
                confirmText: "OK",
                onConfirm: L
            }, {
                content: M( () => [e("div", Zn, [e("div", Kn, d(b.$t("getSuper")), 1), e("div", Xn, d(b.$t("getRewards")), 1)])]),
                _: 1
            }, 8, ["show", "title"])], 64)
        }
    }
});
const Yn = O(Qn, [["__scopeId", "data-v-c9e9070a"], ["__file", "/usr/local/jenkins-prod/workspace/AR079-Pages-india-tashanwin/src/views/home/other/public5BlackGoldHome.vue"]])
  , oa = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: Yn
}, Symbol.toStringTag, {
    value: "Module"
}));
export {Ct as D, ut as L, gt as N, lt as a, oa as p};
