import {r as U, z, R as K, B as $, G as S, H as Z, N as a, I as c, K as W, M as R, ao as M, O as t, J as e, P as f, Q as T, au as V, Z as ce, az as j, aw as b, an as h, C as E, $ as de, aq as Y, aA as ue, ay as ne, aB as _e, aC as me, aD as ke, n as Ce, A as pe, at as N, a$ as we, b0 as Ge, b1 as Le, aH as be} from "./common.modules-af1f85b9.js";
import {G as te, y as q, b2 as ae, b3 as $e, g as se, b4 as Ie, b5 as Te, b6 as Se, b7 as De, N as xe, b as O, _ as D, A as ge, b8 as Ae, i as F, b9 as le, aJ as ie, c as ee, ba as We, a1 as ve, n as oe, bb as Me, bc as Be, bd as ye, be as fe, bf as Oe, a4 as He} from "./page-activity-ActivityDetail-09e806d3.js";
import {L as Re} from "./page-home-Casino-1d49356a.js";
const re = U(!1);
function he() {
    const {locale: d} = z()
      , l = te()
      , p = K();
    async function r(n, o) {
        Ie(n),
        d.value = n,
        l.updateLanguage(n),
        await Te(n),
        Se().upUserLanguage(),
        De(xe.global.t),
        localStorage.setItem("needUpd", "1"),
        o === 1 ? _() : re.value = !1
    }
    const _ = () => {
        p.back()
    }
      , s = $( () => {
        let n = 0;
        const o = q().getLanguage
          , u = [];
        if (o) {
            const y = o == null ? void 0 : o.replace("th", "tha").split("|");
            y == null || y.forEach(m => {
                ae.forEach(g => {
                    (m.toLowerCase().indexOf(g.key.toLowerCase()) !== -1 || g.key.toLowerCase().indexOf(m.toLowerCase()) !== -1) && (u.push(g),
                    n++)
                }
                )
            }
            )
        }
        return l.getLanguage || l.updateLanguage($e()),
        n == 0 ? ae : u
    }
    );
    return {
        onClick: r,
        languagesList: s,
        getIcons: se,
        locale: d,
        goBack: _,
        getLangName: n => {
            const o = s.value.find(u => u.key === n);
            return (o == null ? void 0 : o.key.toLocaleUpperCase()) || ""
        }
        ,
        show: re
    }
}
const je = ["onClick"]
  , Pe = {
    class: "item-title"
}
  , Ne = ["src"]
  , Ve = {
    key: 0
}
  , Ue = {
    key: 1
}
  , ze = S({
    __name: "index",
    props: {
        type: {
            type: Number,
            default: 1
        }
    },
    setup(d) {
        const {onClick: l, languagesList: p, locale: r} = he();
        return (_, s) => {
            const i = Z("van-radio")
              , n = Z("van-radio-group");
            return a(),
            c("div", {
                class: M(d.type === 2 ? "list info" : "list")
            }, [(a(!0),
            c(W, null, R(t(p), (o, u) => (a(),
            c("div", {
                class: M(["item ar-1px-b", o.key == t(r) ? "checked" : ""]),
                key: u,
                onClick: y => t(l)(o.key, d.type)
            }, [e("div", Pe, [e("img", {
                src: t(O)("languages", o.key)
            }, null, 8, Ne), d.type === 2 ? (a(),
            c("span", Ve, f(o.key.toLocaleUpperCase()), 1)) : (a(),
            c("span", Ue, f(o.name), 1))]), T(n, {
                modelValue: t(r),
                "onUpdate:modelValue": s[0] || (s[0] = y => ce(r) ? r.value = y : null)
            }, {
                default: V( () => [T(i, {
                    name: o.key
                }, null, 8, ["name"])]),
                _: 2
            }, 1032, ["modelValue"])], 10, je))), 128))], 2)
        }
    }
});
const Ee = D(ze, [["__scopeId", "data-v-29e221c4"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Main/LanguageList/index.vue"]])
  , Fe = {
    class: "img"
}
  , Ke = {
    class: "languageName"
}
  , qe = S({
    __name: "LangPopup",
    setup(d) {
        const {getLangName: l, locale: p, show: r} = he()
          , _ = q()
          , s = $( () => _.getLoginChangeLanguage == "1");
        return (i, n) => {
            const o = Z("van-popup")
              , u = j("lazy");
            return a(),
            c("div", null, [s.value ? (a(),
            c("div", {
                key: 0,
                class: "right",
                onClick: n[0] || (n[0] = y => r.value = !0)
            }, [b(e("img", Fe, null, 512), [[u, t(O)("languages", t(p))]]), e("span", Ke, f(t(l)(t(p))), 1)])) : h("v-if", !0), T(o, {
                show: t(r),
                "onUpdate:show": n[1] || (n[1] = y => ce(r) ? r.value = y : null),
                class: "popup",
                position: "bottom",
                teleport: "body"
            }, {
                default: V( () => [T(Ee, {
                    type: 2
                })]),
                _: 1
            }, 8, ["show"])])
        }
    }
});
const Je = D(qe, [["__scopeId", "data-v-8610bd15"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Login/LangPopup.vue"]])
  , Ze = {
    class: "noticeBar__container"
}
  , Xe = {
    class: "noticeBar__container-body"
}
  , Qe = {
    key: 0,
    class: "noticeBar__container-body-text"
}
  , Ye = S({
    __name: "index",
    props: {
        color: {
            type: String,
            required: !1,
            default: "red"
        }
    },
    setup(d) {
        const l = K()
          , p = te()
          , r = U(null)
          , _ = U(p.messageList)
          , s = async () => {
            const i = await ge(Ae({
                pageNo: 1,
                pageSize: 5
            }));
            if (i) {
                if (p.setMessage(i.data.list),
                _.value = i.data.list,
                !_.value.length)
                    return;
                r.value && clearInterval(r.value),
                r.value = setInterval( () => {
                    _.value.push(_.value.shift())
                }
                , 7e3)
            }
        }
        ;
        return E( () => {
            _.value || setTimeout( () => {
                s()
            }
            , 1e3)
        }
        ),
        (i, n) => {
            var u;
            const o = Z("svg-icon");
            return a(),
            c("div", Ze, [T(o, {
                name: "noticeBarSpeaker"
            }), e("div", Xe, [_.value && _.value[0] && _.value[0].siteMessage ? (a(),
            c("div", Qe, f((u = _.value[0]) == null ? void 0 : u.siteMessage), 1)) : h("v-if", !0)]), e("button", {
                onClick: n[0] || (n[0] = y => t(l).push({
                    name: "Notification"
                })),
                class: "hotIcon"
            }, f(i.$t("more")), 1)])
        }
    }
})
  , et = D(Ye, [["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/NoticeBar/index.vue"]])
  , tt = {
    class: "dialog__container",
    role: "dialog",
    tabindex: "0"
}
  , nt = {
    class: "dialog__container-img"
}
  , st = {
    alt: ""
}
  , ot = {
    class: "dialog__container-title"
}
  , at = {
    class: "dialog__container-content"
}
  , lt = {
    class: "dialog__container-footer"
}
  , it = S({
    __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
        },
        pathname: {
            type: String,
            default: "public"
        },
        picname: {
            type: String,
            default: "superjackpotHome"
        }
    },
    emits: ["update:show", "confirm"],
    setup(d, {emit: l}) {
        const p = d
          , {t: r} = z();
        de( () => p.show, i => {
            i ? window.addEventListener("touchmove", s, {
                passive: !1
            }) : window.removeEventListener("touchmove", s)
        }
        );
        function _(i) {
            p.clickOutSide && l("update:show", !1)
        }
        const s = i => {
            p.show && i.preventDefault()
        }
        ;
        return (i, n) => {
            const o = j("lazy");
            return a(),
            c("div", {
                class: M(["dialog", {
                    active: d.show,
                    inactive: !d.show
                }])
            }, [e("div", tt, [e("div", nt, [Y(i.$slots, "header", {}, () => [b(e("img", st, null, 512), [[o, t(se)(d.pathname, d.picname)]])], !0)]), e("div", ot, [Y(i.$slots, "title", {}, () => [e("h1", null, f(t(r)(d.title)), 1)], !0)]), e("div", at, [Y(i.$slots, "content", {}, void 0, !0)]), e("div", lt, [Y(i.$slots, "footer", {}, () => [d.showCancelBtn ? (a(),
            c("button", {
                key: 0,
                onClick: n[0] || (n[0] = () => {
                    l("update:show", !1)
                }
                )
            }, f(i.$t(d.cancelText)), 1)) : h("v-if", !0), e("button", {
                onClick: n[1] || (n[1] = () => {
                    l("confirm")
                }
                )
            }, f(i.$t(d.confirmText)), 1)], !0)])]), e("div", {
                class: "dialog__outside",
                onClick: _
            })], 2)
        }
    }
});
const rt = D(it, [["__scopeId", "data-v-c0caae78"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/common/HomeDialog.vue"]])
  , ct = d => (_e("data-v-84514e8e"),
d = d(),
me(),
d)
  , dt = {
    class: "dailyProfitRank"
}
  , ut = {
    class: "title"
}
  , _t = ct( () => e("b", null, null, -1))
  , mt = {
    class: "dailyProfitRank__content"
}
  , pt = {
    class: "dailyProfitRank__content-topThree"
}
  , gt = ["src"]
  , vt = ["data-img"]
  , yt = {
    class: "dailyProfitRank__content-list"
}
  , ft = {
    class: "left-rank"
}
  , ht = ["src"]
  , kt = ["data-img"]
  , Ct = {
    class: "middle-name"
}
  , wt = {
    class: "right-box"
}
  , Gt = S({
    __name: "index",
    setup(d) {
        const {t: l} = z()
          , {homeState: p} = F()
          , r = {
            nickName: l("noData"),
            userPhoto: "",
            price: 0,
            time: "",
            typeName: ""
        };
        de( () => p.rankList, i => {
            _.value.splice(0, i.length, ...i.sort( (n, o) => o.price - n.price).slice(0, 3)),
            s.value.splice(0, i.length, ...i.sort( (n, o) => o.price - n.price).slice(3, 10))
        }
        );
        const _ = U([r, r, r])
          , s = U([]);
        return (i, n) => {
            const o = j("lazy");
            return a(),
            c("div", dt, [e("div", ut, [_t, ue(f(i.$t("earningsRankingToday")), 1)]), e("div", mt, [e("div", pt, [(a(!0),
            c(W, null, R(_.value, (u, y) => (a(),
            c("div", {
                class: "dailyProfitRank__content-topThree__item",
                key: y,
                style: ne({
                    order: y === 0 ? 2 : y === 2 ? 3 : 1,
                    top: y === 0 ? "-45px" : "-30px"
                })
            }, [e("div", {
                style: ne({
                    background: `url(${t(O)("images/DailyProfitRank", `border${y + 1}`)}) no-repeat center center / 100% 100%`
                })
            }, [t(le)(u.userPhoto) ? b((a(),
            c("img", {
                key: 1,
                "data-img": t(O)("home", "avatar")
            }, null, 8, vt)), [[o, t(O)("main/Avatar", u.userPhoto)]]) : (a(),
            c("img", {
                key: 0,
                src: t(O)("home", "avatar")
            }, null, 8, gt))], 4), e("div", null, [b(e("img", null, null, 512), [[o, t(O)("images/DailyProfitRank", `crown${y + 1}`)]]), b(e("img", null, null, 512), [[o, t(O)("images/DailyProfitRank", `place${y + 1}`)]])]), e("span", null, f(t(ie)(u.nickName)), 1), e("span", null, f(t(ee)(u.price)), 1)], 4))), 128))]), e("div", yt, [(a(!0),
            c(W, null, R(s.value, (u, y) => (a(),
            c("div", {
                class: "dailyProfitRank__content-list__item",
                key: y
            }, [e("span", ft, f(y + 4), 1), t(le)(u.userPhoto) ? b((a(),
            c("img", {
                key: 1,
                "data-img": t(O)("home", "avatar")
            }, null, 8, kt)), [[o, t(O)("main/Avatar", u.userPhoto)]]) : (a(),
            c("img", {
                key: 0,
                src: t(O)("home", "avatar")
            }, null, 8, ht)), e("span", Ct, f(t(ie)(u.nickName)), 1), h(' <span class="middle-name">{{ formatString(item.nickName, 10) }}</span> '), e("span", wt, f(t(ee)(u.price)), 1)]))), 128))])])])
        }
    }
});
const Lt = D(Gt, [["__scopeId", "data-v-84514e8e"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/DailyProfitRank/index.vue"]])
  , bt = {
    class: "game_menu"
}
  , $t = {
    class: "menu_box1"
}
  , It = {
    alt: ""
}
  , Tt = {
    alt: ""
}
  , St = {
    alt: ""
}
  , Dt = {
    class: "menu_box2"
}
  , xt = {
    alt: ""
}
  , At = {
    alt: ""
}
  , Wt = {
    alt: ""
}
  , Mt = {
    class: "menu_box3"
}
  , Bt = {
    alt: ""
}
  , Ot = {
    alt: ""
}
  , Ht = S({
    __name: "gameMenu",
    props: {
        allGameList: {
            type: Array,
            default: () => []
        }
    },
    emits: ["clickMenu"],
    setup(d, {expose: l, emit: p}) {
        const r = d
          , _ = $( () => {
            let i = {};
            return (r.allGameList || []).forEach( (o, u) => {
                i[o.gameType] = Object.assign(o, u)
            }
            ),
            i
        }
        )
          , s = i => {
            const n = _.value[i];
            p("clickMenu", {
                type: i,
                gameMenu: n,
                index: n.index
            })
        }
        ;
        return l({
            handleClickMenu: s
        }),
        (i, n) => {
            var u, y, m, g, x, A, k, G;
            const o = j("lazy");
            return a(),
            c("div", bt, [e("div", $t, [e("div", {
                onClick: n[0] || (n[0] = I => s("lottery"))
            }, [b(e("img", It, null, 512), [[o, (u = _.value.lottery) == null ? void 0 : u.img]]), e("span", null, f(i.$t("lottery")), 1)]), e("div", {
                onClick: n[1] || (n[1] = I => s("flash"))
            }, [b(e("img", Tt, null, 512), [[o, (y = _.value.flash) == null ? void 0 : y.img]]), e("span", null, f(i.$t("miniGame")), 1)]), e("div", {
                onClick: n[2] || (n[2] = I => s("slot"))
            }, [b(e("img", St, null, 512), [[o, (m = _.value.slot) == null ? void 0 : m.img]]), e("span", null, f(i.$t("electronic")), 1)])]), e("div", Dt, [e("div", {
                onClick: n[3] || (n[3] = I => s("sport"))
            }, [b(e("img", xt, null, 512), [[o, (g = _.value.sport) == null ? void 0 : g.img]]), e("span", null, f(i.$t("sport")), 1)]), e("div", {
                onClick: n[4] || (n[4] = I => s("popular")),
                class: "live_menu"
            }, [b(e("img", At, null, 512), [[o, (x = _.value.popular) == null ? void 0 : x.img]]), e("span", null, f(i.$t("hot")), 1)]), e("div", {
                onClick: n[5] || (n[5] = I => s("video"))
            }, [b(e("img", Wt, null, 512), [[o, (A = _.value.video) == null ? void 0 : A.img]]), e("span", null, f(i.$t("live")), 1)])]), e("div", Mt, [e("div", {
                onClick: n[6] || (n[6] = I => s("chess"))
            }, [b(e("img", Bt, null, 512), [[o, (k = _.value.chess) == null ? void 0 : k.img]]), e("span", null, f(i.$t("chess")), 1)]), e("div", {
                onClick: n[7] || (n[7] = I => s("fish"))
            }, [b(e("img", Ot, null, 512), [[o, (G = _.value.fish) == null ? void 0 : G.img]]), e("span", null, f(i.$t("fishing")), 1)])])])
        }
    }
});
const Rt = D(Ht, [["__scopeId", "data-v-e4d24ee9"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/Game/gameMenu.vue"]])
  , jt = {
    key: 0,
    class: "title"
}
  , Pt = {
    class: "list"
}
  , Nt = ["onClick"]
  , Vt = {
    class: "item"
}
  , Ut = ["src", "data-img"]
  , zt = {
    key: 0,
    class: "win-odds"
}
  , Et = S({
    __name: "HotGameItem",
    props: {
        gameList: {
            type: Array,
            required: !0
        },
        isAll: {
            type: Boolean,
            required: !0
        }
    },
    emits: ["onItemClick"],
    setup(d, {emit: l}) {
        const p = ke( () => Ce( () => import("./noticeBarHot-d83b21e6.js"), ["assets/js/noticeBarHot-d83b21e6.js", "assets/js/common.modules-af1f85b9.js", "assets/css/common-e210f711.css", "assets/js/page-activity-ActivityDetail-09e806d3.js", "assets/js/page-turntable-assets-d6267459.js", "assets/js/native/index-2c2af617.js", "assets/js/en-8dc3e88f.js", "assets/css/page-activity-ActivityDetail-a597c4a3.css"]))
          , r = q()
          , _ = s => {
            l("onItemClick", s)
        }
        ;
        return (s, i) => (a(),
        c("div", {
            class: M(["hot_container", {
                hot_all: s.isAll
            }])
        }, [s.gameList.length > 0 ? (a(),
        c("div", {
            key: 0,
            class: M(["popular", {
                pupularAll: s.isAll
            }])
        }, [s.isAll ? h("v-if", !0) : (a(),
        c("div", jt, [T(t(p), {
            class: "hotGames"
        }), e("span", null, f(s.$t("hot")), 1)])), e("div", Pt, [(a(!0),
        c(W, null, R(s.gameList, n => (a(),
        c("div", {
            key: n.vendorId,
            onClick: o => _(n)
        }, [e("div", Vt, [e("img", {
            src: n.imgUrl,
            alt: "",
            "data-img": t(O)("images", "avatar")
        }, null, 8, Ut)]), t(r).isShowHotGameWinOdds ? (a(),
        c("div", zt, [e("span", null, f(s.$t("winOdds")), 1), e("span", null, f(n.winOdds) + "%", 1), e("div", {
            class: "win-p",
            style: ne({
                width: `${Math.min(n.winOdds, 100)}%`
            })
        }, null, 4)])) : h("v-if", !0)], 8, Nt))), 128))])], 2)) : h("v-if", !0)], 2))
    }
});
const Ft = D(Et, [["__scopeId", "data-v-2d052cb9"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/HotGameItem.vue"]])
  , Kt = ["onClick"]
  , qt = S({
    __name: "OnlineGamesItem",
    props: {
        gameData: {
            type: Object,
            required: !0
        },
        isAll: {
            type: Boolean,
            required: !0
        },
        gameType: {
            type: String,
            required: !0
        }
    },
    emits: ["onItemClick"],
    setup(d, {emit: l}) {
        const p = d
          , r = $( () => p.isAll ? p.gameData.gameList : p.gameData.gameList.length > 8 ? p.gameData.gameList.slice(0, 8) : p.gameData.gameList)
          , _ = s => {
            l("onItemClick", s)
        }
        ;
        return E( () => {}
        ),
        (s, i) => {
            const n = j("lazy");
            return a(),
            c("div", {
                class: M(["minGame_container", {
                    all_game: s.isAll
                }])
            }, [(a(!0),
            c(W, null, R(r.value, o => (a(),
            c("div", {
                class: "onlineGamesItem",
                key: o.gameID,
                onClick: u => _(o)
            }, [b((a(),
            c("img", {
                class: M(s.gameType === "fish" ? "fish_img" : "min_game_img"),
                key: o.gameID
            }, null, 2)), [[n, o.img]])], 8, Kt))), 128))], 2)
        }
    }
});
const Jt = D(qt, [["__scopeId", "data-v-9ed47b8d"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/OnlineGamesItem.vue"]])
  , Zt = {
    class: "lottery_container"
}
  , Xt = {
    class: "lottery_container-tab"
}
  , Qt = {
    class: "lottery_container-tab-wrap"
}
  , Yt = ["onClick"]
  , en = {
    class: "lottery_container-list"
}
  , tn = ["onClick"]
  , nn = {
    class: "lotterySlotItem_img"
}
  , sn = S({
    __name: "LotterySlotItem",
    props: {
        gameData: {
            type: Object,
            required: !0
        },
        isAll: {
            type: Boolean,
            required: !0
        }
    },
    setup(d) {
        const l = d
          , {t: p} = z()
          , {isAlowGame: r, isSassLotteryGame: _, openThirdGame: s} = F()
          , i = K()
          , n = $( () => l.gameData.gameList.filter(k => k.state === 1));
        function o(k) {
            return k.reduce( (G, I) => Array.isArray(I) ? G.concat(o(I)) : G.concat(I), [])
        }
        const u = k => {
            if (k) {
                let G = k;
                switch (G) {
                case "Trx Win Go":
                    G = "Trx Win";
                    break;
                case "FXOSO":
                    G = p("FXOSO");
                default:
                    G = G
                }
                return G
            }
            return ""
        }
          , y = $( () => {
            const k = {};
            return l.gameData.gameList.forEach(G => {
                k[G.categoryCode] = G.categoryImg
            }
            ),
            k
        }
        )
          , m = U("All");
        let g = pe({
            All: [],
            XOSO: [],
            MotoRace: [{
                typeId: 17,
                class: "MotoRace",
                title: "MotoRace 1Min",
                path: "MotoRace",
                icon: "MotoRace"
            }],
            "Win Go": [{
                typeId: 30,
                class: "wingo",
                title: "Win Go 30s",
                path: "WinGo",
                icon: "Win Go"
            }, {
                typeId: 1,
                class: "wingo",
                title: "Win Go 1Min",
                path: "WinGo",
                icon: "Win Go"
            }, {
                typeId: 2,
                class: "wingo",
                title: "Win Go 3Min",
                path: "WinGo",
                icon: "Win Go"
            }, {
                typeId: 3,
                class: "wingo",
                title: "Win Go 5Min",
                path: "WinGo",
                icon: "Win Go"
            }, {
                typeId: 4,
                class: "wingo",
                title: "Win Go 30Sec",
                path: "WinGo",
                icon: "Win Go"
            }],
            "5D": [{
                typeId: 5,
                class: "d5",
                title: "5D 1Min",
                path: "5D",
                icon: "5D"
            }, {
                typeId: 6,
                class: "d5",
                title: "5D 3Min",
                path: "5D",
                icon: "5D"
            }, {
                typeId: 7,
                class: "d5",
                title: "5D 5Min",
                path: "5D",
                icon: "5D"
            }, {
                typeId: 8,
                class: "d5",
                title: "5D 10Min",
                path: "5D",
                icon: "5D"
            }],
            K3: [{
                typeId: 9,
                class: "k3",
                title: "K3 1Min",
                path: "K3",
                icon: "K3"
            }, {
                typeId: 10,
                class: "k3",
                title: "K3 3Min",
                path: "K3",
                icon: "K3"
            }, {
                typeId: 11,
                class: "k3",
                title: "K3 5Min",
                path: "K3",
                icon: "K3"
            }, {
                typeId: 12,
                class: "k3",
                title: "K3 10Min",
                path: "K3",
                icon: "K3"
            }],
            "Trx Win Go": [{
                typeId: 13,
                class: "trx",
                title: "Trx Win Go 1Min",
                path: "WinTrx",
                icon: "Trx Win Go"
            }, {
                typeId: 14,
                class: "trx",
                title: "Trx Win Go 3Min",
                path: "WinTrx",
                icon: "Trx Win Go"
            }, {
                typeId: 15,
                class: "trx",
                title: "Trx Win Go 5Min",
                path: "WinTrx",
                icon: "Trx Win Go"
            }, {
                typeId: 16,
                class: "trx",
                title: "Trx Win Go 10Min",
                path: "WinTrx",
                icon: "Trx Win Go"
            }],
            VideoWinGo: [{
                typeId: 23,
                class: "VideoWinGo",
                title: "VideoWinGo 3Min",
                path: "VideoWinGo",
                icon: "VideoWinGo"
            }]
        });
        const x = k => {
            if (_(k))
                return s({
                    ...k,
                    vendorCode: "ARLottery"
                });
            i.push({
                name: "AllLotteryGames-" + k.path,
                query: {
                    typeId: k.typeId,
                    id: k.id
                }
            })
        }
          , A = async () => {
            const k = await ge(We());
            let G = k.data.winGo || []
              , I = k.data.k3 || []
              , L = k.data.trxWinGo || []
              , P = k.data.fiveD || []
              , J = k.data.motoRace || []
              , Q = k.data.videoWinGo || [];
            for (let v = g["Win Go"].length - 1; v >= 0; v--) {
                let C = g["Win Go"][v]
                  , w = G.find(H => C.typeId === H.typeID);
                w ? Object.assign(C, w) : g["Win Go"].splice(v, 1)
            }
            g["Win Go"].sort( (v, C) => C.sort - v.sort);
            for (let v = g.VideoWinGo.length - 1; v >= 0; v--) {
                let C = g.VideoWinGo[v]
                  , w = Q.find(H => C.typeId === H.typeID);
                w ? Object.assign(C, w) : g.VideoWinGo.splice(v, 1)
            }
            g.VideoWinGo.sort( (v, C) => C.sort - v.sort);
            for (let v = g.K3.length - 1; v >= 0; v--) {
                let C = g.K3[v]
                  , w = I.find(H => C.typeId === H.typeID);
                w ? Object.assign(C, w) : g.K3.splice(v, 1)
            }
            g.K3.sort( (v, C) => C.sort - v.sort);
            for (let v = g["Trx Win Go"].length - 1; v >= 0; v--) {
                let C = g["Trx Win Go"][v]
                  , w = L.find(H => C.typeId === H.typeID);
                w ? Object.assign(C, w) : g["Trx Win Go"].splice(v, 1)
            }
            g["Trx Win Go"].sort( (v, C) => C.sort - v.sort);
            for (let v = g["5D"].length - 1; v >= 0; v--) {
                let C = g["5D"][v]
                  , w = P.find(H => C.typeId === H.typeID);
                w ? Object.assign(C, w) : g["5D"].splice(v, 1)
            }
            g["5D"].sort( (v, C) => C.sort - v.sort);
            for (let v = g.MotoRace.length - 1; v >= 0; v--) {
                let C = g.MotoRace[v]
                  , w = J.find(H => C.typeId === H.typeID);
                w ? Object.assign(C, w) : g.MotoRace.splice(v, 1)
            }
            g.MotoRace.sort( (v, C) => C.sort - v.sort);
            const B = o(Object.values(g)).sort( (v, C) => C.sort - v.sort);
            g.All = B
        }
        ;
        return E( () => {
            A()
        }
        ),
        (k, G) => {
            const I = j("lazy");
            return a(),
            c("div", Zt, [e("div", Xt, [e("ul", Qt, [e("li", {
                class: M({
                    active: m.value === "all"
                }),
                onClick: G[0] || (G[0] = L => m.value = "All")
            }, f(k.$t("all")), 3), (a(!0),
            c(W, null, R(n.value, L => (a(),
            c("li", {
                onClick: P => m.value = L.categoryCode,
                class: M({
                    active: L.categoryCode === m.value
                })
            }, f(u(L.categoryCode)), 11, Yt))), 256))])]), e("div", en, [(a(!0),
            c(W, null, R(t(g)[m.value], L => (a(),
            c("div", {
                class: "lotterySlotItem",
                key: L.id,
                onClick: P => t(r)(L, x)
            }, [e("div", nn, [b(e("img", null, null, 512), [[I, y.value[L.icon]]])]), e("span", null, f(L.title), 1)], 8, tn))), 128))])])
        }
    }
});
const on = D(sn, [["__scopeId", "data-v-32d563b9"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/LotterySlotItem.vue"]])
  , an = {
    class: "lotterySlotItem__container"
}
  , ln = {
    class: "game_img"
}
  , rn = {
    class: "game_text"
}
  , cn = S({
    __name: "OtherGameItem",
    props: {
        info: {
            type: null,
            required: !0
        },
        title: {
            type: String,
            required: !0
        }
    },
    setup(d) {
        return z(),
        (l, p) => {
            const r = j("lazy");
            return a(),
            c("div", an, [b(e("img", ln, null, 512), [[r, l.info.vendorImg]]), e("span", rn, f(l.title), 1)])
        }
    }
});
const dn = D(cn, [["__scopeId", "data-v-1f6b6a72"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/OtherGameItem.vue"]])
  , un = ["onClick"]
  , _n = {
    class: "gameImg"
}
  , mn = S({
    __name: "ElectronicItem",
    props: {
        gameData: {
            type: Object,
            default: () => ({})
        },
        isAll: {
            type: Boolean,
            default: !1
        }
    },
    emits: ["onItemClick"],
    setup(d, {emit: l}) {
        const p = d
          , r = $( () => {
            var s;
            return p.isAll ? p.gameData.gameList : (s = p.gameData) == null ? void 0 : s.gameList.slice(0, 6)
        }
        )
          , _ = s => {
            l("onItemClick", s, "slot")
        }
        ;
        return E( () => {}
        ),
        (s, i) => {
            const n = j("lazy");
            return a(),
            c("div", {
                class: M(["onlineGamesItem__container", {
                    allGame: d.isAll
                }])
            }, [(a(!0),
            c(W, null, R(r.value, o => (a(),
            c("div", {
                key: o.slotsTypeID,
                class: "item",
                onClick: u => _(o)
            }, [b(e("img", _n, null, 512), [[n, o.vendorImg]])], 8, un))), 128))], 2)
        }
    }
});
const pn = D(mn, [["__scopeId", "data-v-bf45b49b"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/ElectronicItem.vue"]])
  , gn = {
    alt: ""
}
  , vn = S({
    __name: "ElectronicWinRate",
    setup(d) {
        const l = q()
          , p = $( () => l.winRate.electronicWinRateImgUrl || "")
          , r = $( () => !!(l.winRate.isShowElectronicWinRateExternalLink && p.value))
          , _ = () => {
            l.winRate.electronicWinRateExternalLink && window.open(l.winRate.electronicWinRateExternalLink)
        }
        ;
        return (s, i) => {
            const n = j("lazy");
            return r.value ? (a(),
            c("div", {
                key: 0,
                class: "WinRate",
                onClick: _
            }, [b(e("img", gn, null, 512), [[n, p.value]])])) : h("v-if", !0)
        }
    }
});
const yn = D(vn, [["__scopeId", "data-v-4322a484"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/ElectronicWinRate.vue"]])
  , fn = ["src"]
  , hn = S({
    __name: "GameListGrid",
    props: {
        currentGame: {
            type: Object,
            default: () => {}
        },
        isAll: {
            type: Boolean,
            default: !1
        }
    },
    setup(d) {
        const l = d
          , {onItemClick: p, homeState: r} = F()
          , _ = $( () => r.allGameList)
          , s = K()
          , i = $( () => l.currentGame.gameType === "popular" ? 1 : ["sport", "chess", "video"].includes(l.currentGame.gameType) ? 2 : l.currentGame.gameType === "lottery" ? 3 : l.currentGame.gameType === "slot" ? 4 : l.currentGame.gameType === "flash" || l.currentGame.gameType === "fish" ? 5 : -1)
          , n = () => {
            sessionStorage.setItem("slotGamesList", JSON.stringify(l.currentGame.gameList)),
            sessionStorage.setItem("gameType", JSON.stringify(l.currentGame)),
            sessionStorage.setItem("clickedItem", JSON.stringify(l.currentGame.gameList[0])),
            s.push({
                name: "AllGames",
                query: {
                    type: l.currentGame.gameType
                }
            })
        }
          , o = async (u, y) => {
            ["chess", "slot"].includes(y) ? (sessionStorage.setItem("slotGamesList", JSON.stringify(_.value[l.currentGame.gameType])),
            sessionStorage.setItem("gameType", JSON.stringify(l.currentGame.gameType)),
            sessionStorage.setItem("clickedItem", JSON.stringify(u)),
            s.push({
                name: "AllOnlineGames"
            })) : p(u)
        }
        ;
        return E( () => {}
        ),
        (u, y) => (a(),
        c("div", {
            class: M(["gameListGrid__container", {
                all_container: d.isAll
            }])
        }, [h(" 热门 "), i.value === 1 ? (a(),
        N(Ft, {
            key: 0,
            gameList: d.currentGame.gameList,
            onOnItemClick: t(p),
            isAll: d.isAll
        }, null, 8, ["gameList", "onOnItemClick", "isAll"])) : h("v-if", !0), h(" 体育、棋牌、真人 "), i.value === 2 ? (a(),
        c("div", {
            key: 1,
            class: M(["otherGame", {
                all_other: d.isAll
            }])
        }, [(a(!0),
        c(W, null, R(d.currentGame.gameList, (m, g) => (a(),
        N(dn, {
            key: g,
            info: m,
            title: d.currentGame.title,
            onClick: x => o(m, d.currentGame.gameType)
        }, null, 8, ["info", "title", "onClick"]))), 128))], 2)) : h("v-if", !0), h(" 电子 "), i.value === 4 ? (a(),
        N(yn, {
            key: 2
        })) : h("v-if", !0), i.value === 4 ? (a(),
        N(pn, {
            key: 3,
            gameData: d.currentGame,
            isAll: d.isAll,
            onOnItemClick: o
        }, null, 8, ["gameData", "isAll"])) : h("v-if", !0), h(" 彩票 "), i.value === 3 ? (a(),
        N(on, {
            key: 4,
            gameData: d.currentGame,
            isAll: d.isAll
        }, null, 8, ["gameData", "isAll"])) : h("v-if", !0), h(" 小游戏、捕鱼 "), i.value === 5 ? (a(),
        N(Jt, {
            key: 5,
            gameType: d.currentGame.gameType,
            gameData: d.currentGame,
            isAll: d.isAll,
            onOnItemClick: t(p)
        }, null, 8, ["gameType", "gameData", "isAll", "onOnItemClick"])) : h("v-if", !0), d.isAll ? h("v-if", !0) : (a(),
        c("button", {
            key: 6,
            onClick: n,
            class: "look_all"
        }, [e("img", {
            src: t(se)("home", "all"),
            alt: ""
        }, null, 8, fn), ue(" " + f(u.$t("viewAll")), 1)]))], 2))
    }
});
const kn = D(hn, [["__scopeId", "data-v-27b4a65f"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/GameList/GameListGrid.vue"]])
  , Cn = {
    class: "gamesList__container",
    id: "gameList"
}
  , wn = {
    key: 0,
    class: "gamesList__container-title"
}
  , Gn = S({
    __name: "GameList",
    props: {
        gameData: {
            type: Object,
            required: !0
        }
    },
    setup(d) {
        return (l, p) => (a(),
        c("div", Cn, [l.gameData.gameList.length > 0 && l.gameData.isShow ? (a(),
        c("div", wn, f(l.gameData.title), 1)) : h("v-if", !0), l.gameData.isShow ? (a(),
        N(kn, {
            key: 1,
            currentGame: l.gameData,
            isAll: !0
        }, null, 8, ["currentGame"])) : h("v-if", !0)]))
    }
});
const Ln = D(Gn, [["__scopeId", "data-v-a3042be8"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/AllGames/GameList.vue"]])
  , bn = S({
    __name: "index",
    setup(d) {
        const {getGameType: l, homeState: p, getAllGame: r} = F()
          , {t: _} = z()
          , s = pe({
            allGameList: [],
            currentGame: void 0
        })
          , i = u => {
            const y = document.querySelector("#gameList")
              , m = (y == null ? void 0 : y.offsetTop) || 0;
            sessionStorage.setItem("clickMenu", u.type),
            s.currentGame = u.gameMenu,
            window.scrollTo({
                top: m - 100,
                behavior: "smooth"
            })
        }
          , n = async () => {
            await l(),
            s.allGameList = p.gameTypeList.filter(u => u.categoryCode !== "BigAward").map(u => ({
                isAll: !1,
                img: u.categoryImg,
                isShow: u.state === 1,
                gameList: [],
                gameType: u.categoryCode.toLocaleLowerCase(),
                title: _("code" + u.typeNameCode)
            }))
        }
          , o = async () => {
            await n(),
            await r();
            const u = p.allGameList;
            s.allGameList = s.allGameList.map(m => (m.gameType === "popular" ? m.gameList = [...u[m.gameType].platformList, ...u[m.gameType].clicksTopList] : m.gameList = u[m.gameType],
            m.gameList || (m.isShow = !1),
            m));
            let y = sessionStorage.getItem("clickMenu") || "";
            if (y)
                s.currentGame = s.allGameList.find(m => m.gameType === y);
            else {
                let m = s.allGameList.find(g => g.gameType === "lottery");
                m || (m = s.allGameList[0]),
                s.currentGame = m
            }
            sessionStorage.setItem("allGameList", JSON.stringify(s.allGameList))
        }
        ;
        return E( () => {
            o()
        }
        ),
        (u, y) => (a(),
        c(W, null, [T(Rt, {
            "all-game-list": s.allGameList,
            onClickMenu: i
        }, null, 8, ["all-game-list"]), s.currentGame ? (a(),
        N(Ln, {
            key: 0,
            gameData: s.currentGame
        }, null, 8, ["gameData"])) : h("v-if", !0)], 64))
    }
})
  , $n = D(bn, [["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/BlackGoldHome/Game/index.vue"]])
  , In = {
    class: "swiper_box"
}
  , Tn = ["onClick"]
  , Sn = {
    key: 0,
    class: "swiper-button"
}
  , Dn = S({
    __name: "index",
    props: {
        isShowButton: {
            type: Boolean,
            default: !1
        }
    },
    setup(d) {
        const l = K()
          , {getBannerApi: p, getBanner: r, openThirdGame: _} = F()
          , {getSelfCustomerServiceLink: s} = ve({
            ServerType: 2
        })
          , i = U(0)
          , n = [Le]
          , o = m => {
            m.activeIndex >= r.value.length ? i.value = m.activeIndex - r.value.length : i.value = m.activeIndex
        }
          , u = {
            0: "slot",
            1: "video",
            2: "sport",
            3: "lottery",
            4: "chess"
        }
          , y = m => {
            if (m.jumpLinkType == 1) {
                if (!m.gameCode) {
                    if ([0, 4].includes(m.categoryType) && m.vendorCode) {
                        l.push({
                            name: "AllOnlineGames",
                            query: {
                                game: m.categoryType == 0 ? "slot" : "chess",
                                vendorCode: m.vendorCode || ""
                            }
                        });
                        return
                    }
                    if ([1, 2].includes(m.categoryType) && m.vendorCode)
                        return _(m);
                    const x = u[m.categoryType] || "";
                    l.push({
                        name: "AllGames",
                        query: {
                            type: x
                        }
                    });
                    return
                }
                _(m);
                return
            } else if (m.jumpLinkType == 2) {
                s();
                return
            }
            const g = m.url;
            g && (window.location.href = g)
        }
        ;
        return E(async () => {
            await p()
        }
        ),
        (m, g) => {
            const x = j("lazy");
            return a(),
            c("div", In, [T(t(Ge), {
                class: "my-swipe",
                "slides-per-view": 1,
                "space-between": 20,
                onSlideChange: o,
                autoplay: {
                    delay: 5e3,
                    disableOnInteraction: !1
                },
                modules: n,
                loop: !0
            }, {
                default: V( () => [(a(!0),
                c(W, null, R(t(r), (A, k) => (a(),
                N(t(we), {
                    key: k
                }, {
                    default: V( () => [b(e("img", {
                        onClick: G => y(A)
                    }, null, 8, Tn), [[x, A.bannerUrl]])]),
                    _: 2
                }, 1024))), 128))]),
                _: 1
            }), t(r).length > 1 && d.isShowButton ? (a(),
            c("div", Sn, [(a(!0),
            c(W, null, R(t(r).length, A => (a(),
            c("span", {
                key: A,
                class: M({
                    active: i.value === A - 1
                })
            }, null, 2))), 128))])) : h("v-if", !0)])
        }
    }
});
const xn = D(Dn, [["__scopeId", "data-v-3ad7aed7"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/Home/Swiper/index.vue"]])
  , An = "/assets/png/rewardCenter-f8f2277a.png"
  , Wn = "/assets/png/tg_bg-8a7ff21e.png"
  , Mn = "/assets/png/turntable_icon-9b14cf81.png"
  , Bn = {
    class: "float"
}
  , On = S({
    __name: "Turntable",
    setup(d) {
        be(L => ({
            "d9cf7d89-rewardCenterBgUrl": A.value,
            "d9cf7d89-bigTurntableBgUrl": G.value,
            "d9cf7d89-telegramBgUrl": k.value,
            "d9cf7d89-changlongIconUrl": I.value
        }));
        const l = K()
          , p = U()
          , r = q()
          , {store: _} = oe()
          , s = te()
          , {isAlowGame: i, goChangLong: n, showChanglong: o} = F()
          , {onTriggerGoogle: u} = Be()
          , y = async () => {
            if (!s.token) {
                l.push({
                    name: "login"
                });
                return
            }
            await i("", n)
        }
          , m = () => {
            if (!s.token) {
                l.push({
                    name: "login"
                });
                return
            }
            l.push({
                name: "Turntable"
            })
        }
          , g = () => {
            if (!s.token) {
                l.push({
                    name: "login"
                });
                return
            }
            _.rewardCenter = !0,
            u("reward_center_click")
        }
          , x = L => {
            L && window.open(L)
        }
          , A = $( () => `url('${r.getBonusCenterImgUrl || An}')`)
          , k = $( () => `url('${r.getTelegramImgUrl || Wn}')`)
          , G = $( () => `url('${r.getBigTurntableImgUrl || Mn}')`)
          , I = $( () => `url('${r.getLotteryDragonIcon || Me}')`);
        return (L, P) => {
            const J = j("scrollhide");
            return b((a(),
            c("div", Bn, [h(" 奖金弹窗 "), t(r).getIsShowRewardCenter ? (a(),
            c("div", {
                key: 0,
                class: "rewardCenter float-entry",
                onClick: g
            })) : h("v-if", !0), h(" 抽奖转盘组件 "), t(r).getOpenTurntable ? (a(),
            c("div", {
                key: 1,
                class: "turntable-lottery float-entry",
                onClick: m
            })) : h("v-if", !0), h(" 大转盘组件 "), t(r).getBigTurntableLink ? (a(),
            c("div", {
                key: 2,
                ref_key: "turntableId",
                ref: p,
                class: "turntable float-entry",
                onClick: P[0] || (P[0] = Q => x(t(r).getBigTurntableLink))
            }, null, 512)) : h("v-if", !0), h(" Telegram组件 "), t(r).getTelegramExternalLink ? (a(),
            c("div", {
                key: 3,
                class: "turntable-telegram float-entry",
                onClick: P[1] || (P[1] = Q => x(t(r).getTelegramExternalLink))
            })) : h("v-if", !0), h(" 长龙组件 "), t(o) ? (a(),
            c("div", {
                key: 4,
                class: "changlongEnter float-entry",
                onClick: y
            })) : h("v-if", !0)])), [[J]])
        }
    }
});
const Hn = D(On, [["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/common/Turntable.vue"]])
  , Rn = ["src"]
  , jn = {
    class: "bonus-con"
}
  , Pn = {
    class: "bonus"
}
  , Nn = {
    class: "text"
}
  , Vn = ["src"]
  , Un = {
    class: "text"
}
  , zn = S({
    __name: "DownloadPWA",
    setup(d) {
        const l = ye()
          , {t: p} = z()
          , r = q()
          , {onDown: _} = F();
        oe(),
        $( () => r.isOpenDownAppRewardSwitch);
        const s = $( () => (r == null ? void 0 : r.downAppBonusAmount) ?? 0)
          , i = $( () => r.isShowDownAppBonusAmountSwitch);
        return (n, o) => t(l).apk.value != t(fe).FullApk ? (a(),
        c(W, {
            key: 0
        }, [i.value ? (a(),
        c("div", {
            key: 0,
            class: "btn pwa-btn",
            onClick: o[0] || (o[0] = (...u) => t(_) && t(_)(...u))
        }, [e("img", {
            class: "icon",
            src: t(r).getWebIco
        }, null, 8, Rn), e("div", jn, [e("div", Pn, f(t(p)("getMoney", [t(ee)(s.value, "", 0)])), 1), e("div", Nn, f(t(p)("addToDesktop")), 1)])])) : (a(),
        c("div", {
            key: 1,
            class: "btn pwa-btn",
            onClick: o[1] || (o[1] = (...u) => t(_) && t(_)(...u))
        }, [e("img", {
            class: "icon",
            src: t(r).getWebIco
        }, null, 8, Vn), e("div", Un, f(t(p)("addToDesktop")), 1)]))], 64)) : h("v-if", !0)
    }
});
const En = D(zn, [["__scopeId", "data-v-b3bd7e49"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/components/common/DownloadPWA.vue"]])
  , X = d => (_e("data-v-fd1aa8d6"),
d = d(),
me(),
d)
  , Fn = {
    class: "content",
    id: "bgHome"
}
  , Kn = {
    class: "logo"
}
  , qn = ["src"]
  , Jn = {
    class: "languages"
}
  , Zn = {
    class: "languages-text"
}
  , Xn = {
    class: "content__right"
}
  , Qn = X( () => e("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "60",
    height: "60",
    viewBox: "0 0 60 60",
    fill: "none"
}, [e("g", {
    "clip-path": "url(#clip0_243_123505)"
}, [e("circle", {
    cx: "30",
    cy: "30",
    r: "28.5",
    stroke: "#3F3F3F",
    "stroke-width": "3"
}), e("path", {
    "fill-rule": "evenodd",
    "clip-rule": "evenodd",
    d: "M29.9999 36.25L16.25 22.5543H25.4166V10H34.5833V22.5543H43.75L29.9999 36.25Z",
    fill: "#3F3F3F",
    stroke: "#3F3F3F",
    "stroke-width": "2",
    "stroke-linecap": "round",
    "stroke-linejoin": "round"
}), e("path", {
    d: "M50 41H10",
    stroke: "#3F3F3F",
    "stroke-width": "3",
    "stroke-linecap": "round"
}), e("path", {
    d: "M41.25 48.5H18.75",
    stroke: "#3F3F3F",
    "stroke-width": "3",
    "stroke-linecap": "round"
})]), e("defs", null, [e("clipPath", {
    id: "clip0_243_123505"
}, [e("rect", {
    width: "60",
    height: "60",
    fill: "white"
})])])], -1))
  , Yn = X( () => e("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "60",
    height: "60",
    viewBox: "0 0 60 60",
    fill: "none"
}, [e("path", {
    d: "M54.3525 27.2813C54.1013 13.8694 43.7044 3.03564 30.9375 3.03564H29.0625C16.2956 3.03564 5.89875 13.8694 5.6475 27.2794C3.405 28.5788 1.875 30.9769 1.875 33.75V37.5C1.875 41.6363 5.23875 45 9.375 45C13.5113 45 16.875 41.6363 16.875 37.5V33.75C16.8721 31.7748 16.0906 29.8803 14.6998 28.4777C13.3091 27.075 11.4214 26.2773 9.44625 26.2575C10.1794 15.3919 18.6863 6.78564 29.0625 6.78564H30.9375C41.3156 6.78564 49.8206 15.3919 50.5537 26.2575C48.5786 26.2773 46.6909 27.075 45.3002 28.4777C43.9094 29.8803 43.1279 31.7748 43.125 33.75V37.5C43.125 40.8863 45.3938 43.7213 48.48 44.6494C45.6947 48.3157 41.7173 50.8953 37.2337 51.9431C36.9242 51.0148 36.3309 50.2072 35.5376 49.6343C34.7443 49.0613 33.7911 48.752 32.8125 48.75C31.5693 48.75 30.377 49.2439 29.4979 50.123C28.6189 51.002 28.125 52.1943 28.125 53.4375C28.125 54.6807 28.6189 55.873 29.4979 56.7521C30.377 57.6312 31.5693 58.125 32.8125 58.125C33.611 58.124 34.3959 57.9181 35.0922 57.5271C35.7884 57.1362 36.3728 56.5732 36.7894 55.8919C40.1684 55.3008 43.3778 53.9795 46.1935 52.0202C49.0093 50.061 51.3637 47.511 53.0925 44.5481C56.0137 43.5244 58.125 40.7681 58.125 37.5V33.75C58.125 30.9769 56.595 28.5788 54.3525 27.2813ZM13.125 33.75V37.5C13.125 39.5681 11.4431 41.25 9.375 41.25C7.30687 41.25 5.625 39.5681 5.625 37.5V33.75C5.625 31.6819 7.30687 30 9.375 30C11.4431 30 13.125 31.6819 13.125 33.75ZM54.375 37.5C54.375 39.51 52.7812 41.1431 50.7938 41.2331L50.6475 41.1638C50.6344 41.1938 50.6138 41.2181 50.6006 41.2463C49.6109 41.2398 48.6639 40.8424 47.966 40.1407C47.2681 39.4389 46.876 38.4897 46.875 37.5V33.75C46.875 31.6819 48.5569 30 50.625 30C52.6931 30 54.375 31.6819 54.375 33.75V37.5Z",
    fill: "#3F3F3F"
})], -1))
  , es = {
    key: 0,
    class: "balance"
}
  , ts = X( () => e("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "40",
    height: "40",
    viewBox: "0 0 40 40",
    fill: "none"
}, [e("path", {
    d: "M20 19.8182C15.0509 19.8182 11.04 15.8292 11.04 10.9071C11.04 5.98507 15.0509 2 20 2C24.9491 2 28.96 5.98903 28.96 10.9071C28.96 15.8252 24.9491 19.8182 20 19.8182Z",
    fill: "#292929"
}), e("path", {
    "fill-rule": "evenodd",
    "clip-rule": "evenodd",
    d: "M20.3788 27.0402C20.1757 27.2624 19.8243 27.2624 19.6212 27.0402L14.3176 21.2395C8.47124 22.1545 4 27.1864 4 33.2567C4 35.3241 5.68552 37 7.76471 37H32.2353C34.3145 37 36 35.3241 36 33.2567C36 27.1864 31.5288 22.1545 25.6824 21.2395L20.3788 27.0402Z",
    fill: "#292929"
})], -1))
  , ns = X( () => e("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "32",
    height: "32",
    viewBox: "0 0 32 32",
    fill: "none"
}, [e("path", {
    d: "M4.31322 9.3733C4.56545 9.37359 4.81243 9.44542 5.02548 9.58046C5.23852 9.71549 5.4089 9.90818 5.51681 10.1362C5.62473 10.3642 5.66577 10.6181 5.63516 10.8684C5.60455 11.1188 5.50355 11.3554 5.34388 11.5506L5.34922 11.552C4.55792 12.7353 4.09671 14.1084 4.01317 15.5294C3.92963 16.9505 4.22679 18.3682 4.87399 19.6361C5.52119 20.904 6.49499 21.9762 7.69489 22.7422C8.8948 23.5081 10.2773 23.94 11.6999 23.9933L11.9999 24L18.6665 23.9986V21.4946C18.6664 21.3766 18.6924 21.2601 18.7425 21.1533L18.8012 21.0506C18.919 20.8742 19.102 20.7518 19.3101 20.7103C19.5181 20.6688 19.7341 20.7116 19.9106 20.8293L25.6666 24.6666C25.776 24.7397 25.8657 24.8387 25.9278 24.9547C25.9899 25.0708 26.0223 25.2004 26.0223 25.332C26.0223 25.4636 25.9899 25.5931 25.9278 25.7092C25.8657 25.8253 25.776 25.9242 25.6666 25.9973L19.9092 29.8373C19.7887 29.9177 19.6485 29.9639 19.5038 29.9709C19.359 29.9779 19.2151 29.9454 19.0873 29.8769C18.9596 29.8085 18.8529 29.7066 18.7785 29.5822C18.7042 29.4578 18.665 29.3156 18.6652 29.1706V26.664L11.9999 26.6666C10.055 26.6668 8.14709 26.1352 6.4825 25.1294C4.8179 24.1236 3.45999 22.6818 2.55562 20.9599C1.65126 19.2381 1.23486 17.3018 1.35147 15.3604C1.46808 13.419 2.11325 11.5465 3.21722 9.9453C3.34 9.76831 3.50384 9.6237 3.69471 9.52385C3.88558 9.42401 4.0978 9.37189 4.31322 9.37197V9.3733ZM13.1985 2.38397C13.2863 2.51541 13.3332 2.66991 13.3332 2.82797V5.3333H19.9999C21.9298 5.33301 23.8236 5.85631 25.4796 6.84745C27.1355 7.83859 28.4915 9.26042 29.4031 10.9614C30.3148 12.6625 30.7478 14.579 30.6561 16.5067C30.5644 18.4344 29.9515 20.3011 28.8826 21.908L28.8559 21.948C28.8314 21.9847 28.8065 22.0211 28.7812 22.0573C28.5306 22.3506 28.1612 22.5373 27.7479 22.5373C27.4891 22.5373 27.2358 22.462 27.0191 22.3206C26.8023 22.1791 26.6314 21.9776 26.5272 21.7407C26.423 21.5037 26.3901 21.2416 26.4323 20.9863C26.4746 20.7309 26.5902 20.4934 26.7652 20.3026L26.7519 20.292C27.5073 19.1038 27.9358 17.7372 27.994 16.3304C28.0522 14.9236 27.738 13.5263 27.0833 12.2798C26.4286 11.0333 25.4565 9.98161 24.2652 9.23107C23.0739 8.48053 21.7056 8.0577 20.2985 8.0053L19.9999 7.99997L13.3332 7.99863V10.5053C13.3334 10.6502 13.2943 10.7925 13.2199 10.9169C13.1456 11.0413 13.0388 11.1432 12.9111 11.2116C12.7834 11.2801 12.6394 11.3125 12.4947 11.3056C12.3499 11.2986 12.2098 11.2524 12.0892 11.172L6.33322 7.33063C6.22376 7.25755 6.13403 7.1586 6.07197 7.04254C6.0099 6.92648 5.97744 6.79691 5.97744 6.6653C5.97744 6.53369 6.0099 6.40411 6.07197 6.28806C6.13403 6.172 6.22376 6.07304 6.33322 5.99997L12.0905 2.15997C12.178 2.10174 12.2761 2.06131 12.3792 2.04099C12.4822 2.02066 12.5883 2.02085 12.6913 2.04152C12.7944 2.0622 12.8923 2.10297 12.9795 2.16149C13.0668 2.22002 13.1417 2.29517 13.1999 2.38263L13.1985 2.38397Z",
    fill: "#775B3E"
})], -1))
  , ss = [ns]
  , os = X( () => e("svg", {
    xmlns: "http://www.w3.org/2000/svg",
    width: "48",
    height: "48",
    viewBox: "0 0 48 48",
    fill: "none"
}, [e("path", {
    "fill-rule": "evenodd",
    "clip-rule": "evenodd",
    d: "M14 41H34C40 41 44 38 44 31V17C44 10 40 7 34 7H14C8 7 4 10 4 17V31C4 38 8 41 14 41ZM19.3181 24.164C20.6181 25.224 22.3181 25.744 23.9981 25.744C25.6781 25.744 27.3781 25.224 28.6581 24.164L34.9181 19.164C35.5781 18.664 35.6781 17.704 35.1581 17.064C34.6581 16.404 33.6981 16.304 33.0581 16.824L26.7981 21.824C25.2781 23.044 22.6981 23.044 21.1781 21.824L14.9181 16.824C14.6062 16.5974 14.2189 16.5 13.8369 16.5521C13.4549 16.6042 13.1078 16.8017 12.8679 17.1035C12.628 17.4053 12.5139 17.788 12.5493 18.1719C12.5848 18.5558 12.767 18.9112 13.0581 19.164L19.3181 24.164Z",
    fill: "#292929"
})], -1))
  , as = [os]
  , ls = {
    class: "promptHeader"
}
  , is = ["innerHTML"]
  , rs = {
    class: "Laundry-Con"
}
  , cs = {
    class: "Laundry-Con_tip"
}
  , ds = {
    class: "Landty-Con-tips"
}
  , us = S({
    __name: "blackGoldHome",
    setup(d) {
        const {t: l} = z()
          , p = K()
          , r = Oe()
          , {setLoading: _} = He()
          , s = $( () => q().getProjectName)
          , {closeLaundry: i, closePrompt: n, store: o, promptContent: u} = oe()
          , {getSelfCustomerServiceLink: y} = ve({
            ServerType: 2
        });
        function m() {
            y()
        }
        const g = ye()
          , {onDown: x, showChanglong: A, projectIcon: k, getMessagesData: G} = F()
          , I = $( () => " ");
        _(!1);
        const L = () => {
            i(),
            p.push({
                name: "SuperJackpot"
            })
        }
        ;
        async function P() {
            r.resetData(!1, !0)
        }
        const J = te();
        return E( () => {
            G(),
            _(!1)
        }
        ),
        (Q, B) => {
            const v = Z("NavBar")
              , C = Z("van-dialog");
            return a(),
            c("div", Fn, [T(v, null, {
                left: V( () => [e("div", Kn, [e("img", {
                    src: t(k),
                    alt: ""
                }, null, 8, qn)]), e("div", Jn, [T(Je), e("span", Zn, f(t(l)("loginTips", [s.value, I.value])), 1)])]),
                right: V( () => [e("div", Xn, [t(g).apk.value != t(fe).FullApk ? (a(),
                c("div", {
                    key: 0,
                    class: "btn",
                    onClick: B[0] || (B[0] = (...w) => t(x) && t(x)(...w))
                }, [Qn, e("span", null, f(t(l)("downloadAPP")), 1)])) : h("v-if", !0), e("div", {
                    class: "btn",
                    onClick: m
                }, [Yn, e("span", null, f(t(l)("customerServiceTitle")), 1)])])]),
                _: 1
            }), h(" 头部轮播图 "), T(xn), h(" 滚动通知栏 "), T(et, {
                key: "home"
            }), t(J).token ? (a(),
            c("div", es, [ts, e("span", null, f(t(J).getUserInfo.nickName) + "-", 1), e("span", null, f(t(ee)(t(r).getAmount)), 1), e("span", {
                onClick: P,
                class: "balance-refresh"
            }, ss), e("span", {
                class: "balance-msg",
                onClick: B[1] || (B[1] = w => t(p).push({
                    name: "Messages"
                }))
            }, as)])) : h("v-if", !0), T($n), T(Re), T(Lt), h(" 邀请转盘 "), h(" <InviteTurntable /> "), h("下载PWA应用"), T(En), T(Hn), T(C, {
                show: t(o).prompt,
                "onUpdate:show": B[3] || (B[3] = w => t(o).prompt = w),
                showConfirmButton: !1
            }, {
                default: V( () => [e("div", ls, f(t(u).title), 1), e("div", {
                    class: "promptContent",
                    innerHTML: t(u).siteMessage
                }, null, 8, is), e("div", {
                    class: "promptBtn",
                    onClick: B[2] || (B[2] = (...w) => t(n) && t(n)(...w))
                }, f(t(l)("confirm")), 1)]),
                _: 1
            }, 8, ["show"]), T(rt, {
                show: t(o).laundry,
                "onUpdate:show": B[4] || (B[4] = w => t(o).laundry = w),
                onConfirm: L,
                "show-cancel-btn": !1,
                confirmText: "OK",
                title: t(l)("congratulations")
            }, {
                content: V( () => [e("div", rs, [e("div", cs, f(t(l)("getSuper")), 1), e("div", ds, f(t(l)("getRewards")), 1)])]),
                _: 1
            }, 8, ["show", "title"])])
        }
    }
});
const _s = D(us, [["__scopeId", "data-v-fd1aa8d6"], ["__file", "/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/home/other/blackGoldHome.vue"]])
  , vs = Object.freeze(Object.defineProperty({
    __proto__: null,
    default: _s
}, Symbol.toStringTag, {
    value: "Module"
}));
export {rt as D, Je as L, et as N, Ee as a, vs as b};
