import {
  G as L,
  R as B,
  H as w,
  aA as D,
  I as u,
  Q as c,
  O as t,
  J as e,
  P as s,
  ap as J,
  ao as f,
  av as g,
  Z as j,
  N as l,
  K as I,
  M as P,
  aB as k,
  ax as M,
  au as N,
  aC as U,
  aD as q,
  C as K,
  r as W,
  A as H,
} from "./common.modules-cecf9b0d.js";
import {
  y as Z,
  cc as E,
  c as R,
  cd as Y,
  _ as X,
  b as O,
  aJ as ee,
  ce as se,
} from "./page-activity-ActivityDetail-6713f46c.js";
import { D as te } from "./page-activity-Championship-c5772910.js";
import { L as G, E as ne } from "./page-activity-Bonus-c94a181e.js";
const oe = (p) => (U("data-v-6243ef37"), (p = p()), q(), p),
  ie = { class: "Xg-page" },
  ae = { class: "Xg-info" },
  le = { class: "tit" },
  re = { class: "tip" },
  ce = { class: "txt" },
  de = { class: "Xg-page-wrap" },
  ue = { class: "tab" },
  _e = { class: "Xg-list" },
  pe = { class: "header c-row c-row-between" },
  ve = { class: "time" },
  me = { key: 0, class: "red" },
  ge = { class: "c-row body c-row-middle" },
  $e = { class: "img" },
  he = { class: "info" },
  ye = { class: "name" },
  ke = { class: "lab" },
  be = oe(() => e("div", { class: "line" }, null, -1)),
  fe = { class: "numbox" },
  we = { class: "citem" },
  Ce = { class: "num" },
  Re = { class: "txt" },
  Se = { class: "citem" },
  Te = { class: "num red" },
  Ae = { class: "txt" },
  je = { class: "box" },
  Ne = { class: "Laundry-Con" },
  Le = { key: 0, class: "Laundry-Con_tip" },
  Be = { key: 1, class: "Laundry-Con_tip" },
  Ie = { key: 2 },
  Pe = L({
    __name: "index",
    setup(p) {
      const { getRewardValidityTime: C } = Z(),
        {
          goRule: m,
          goStar: $,
          RewardsRecordPageList: d,
          listRef: _,
          DialogShow: h,
          pageQuery: a,
          recivedAll: i,
          isRecived: y,
          onLaundy: b,
          onRecived: v,
          goBack: S,
          onRecivedAll: z,
        } = E(),
        Q = B();
      return (o, r) => {
        const V = w("NavBar"),
          T = w("svg-icon"),
          A = w("van-button"),
          F = D("lazy");
        return (
          l(),
          u("div", ie, [
            c(
              V,
              {
                title: o.$t("superjackpot"),
                "left-arrow": "",
                onClickLeft: t(S),
              },
              null,
              8,
              ["title", "onClickLeft"]
            ),
            e("div", ae, [
              e("div", null, [
                e("h3", le, s(o.$t("superjackpot")), 1),
                e("p", re, s(o.$t("tip") + o.$t("txt")), 1),
                e("p", ce, s(o.$t("superJackpotTxt", [t(C)])), 1),
              ]),
            ]),
            e("div", de, [
              e(
                "div",
                {
                  class: J(["receive-all", { "no-receive": t(y) }]),
                  onClick: r[0] || (r[0] = (...n) => t(z) && t(z)(...n)),
                },
                [
                  c(T, { class: "icon", name: "super_no" }),
                  f(` <svg-icon class="icon" v-else  name='super_1' /> `),
                  e("span", null, s(o.$t("receiveAll")), 1),
                ],
                2
              ),
              e("ul", ue, [
                e(
                  "li",
                  {
                    class: "tab-item",
                    onClick: r[1] || (r[1] = (...n) => t(m) && t(m)(...n)),
                  },
                  [
                    c(T, { name: "rule" }),
                    e("span", null, s(o.$t("ruleillustrate")), 1),
                  ]
                ),
                e(
                  "li",
                  {
                    class: "tab-item",
                    onClick: r[2] || (r[2] = (...n) => t($) && t($)(...n)),
                  },
                  [
                    c(T, { name: "winningStar" }),
                    e("span", null, s(o.$t("winningstar")), 1),
                  ]
                ),
              ]),
              f(" 列表 "),
              c(
                G,
                {
                  api: t(Y),
                  list: t(d),
                  "onUpdate:list":
                    r[3] || (r[3] = (n) => (j(d) ? (d.value = n) : null)),
                  "page-query": t(a),
                  "onUpdate:pageQuery":
                    r[4] || (r[4] = (n) => (j(a) ? (a.value = n) : null)),
                  ref_key: "listRef",
                  ref: _,
                },
                {
                  content: g(() => [
                    e("div", _e, [
                      (l(!0),
                      u(
                        I,
                        null,
                        P(
                          t(d),
                          (n, x) => (
                            l(),
                            u("div", { class: "item m-b-20", key: x }, [
                              e("div", pe, [
                                e(
                                  "div",
                                  {
                                    class: J([
                                      "tit",
                                      {
                                        action: n.isReceive == 0,
                                        action2: n.isReceive == 2,
                                      },
                                    ]),
                                  },
                                  s(
                                    n.isReceive == 1
                                      ? o.$t("received")
                                      : n.isReceive == 2
                                      ? o.$t("rewardExpired")
                                      : o.$t("unaccalimed")
                                  ),
                                  3
                                ),
                                e("div", ve, [
                                  e("div", null, s(n.createTime), 1),
                                  n.expirationFormatTime
                                    ? (l(),
                                      u("div", me, [
                                        k(s(n.expirationFormatTime), 1),
                                        e(
                                          "span",
                                          null,
                                          s(o.$t("expiredTime")),
                                          1
                                        ),
                                      ]))
                                    : f("v-if", !0),
                                ]),
                              ]),
                              e("div", ge, [
                                f(
                                  ` <img class="img" :src="require('@/assets/images/game/1.png')" /> `
                                ),
                                M(e("img", $e, null, 512), [[F, n.imgUrl]]),
                                e("div", he, [
                                  e("p", ye, s(n.gameName), 1),
                                  e("p", ke, [
                                    e("span", null, s(n.orderNo), 1),
                                  ]),
                                ]),
                              ]),
                              be,
                              e("div", fe, [
                                e("div", we, [
                                  e("p", Ce, s(n.multiple) + "X", 1),
                                  e("span", Re, s(o.$t("Winningmultiple")), 1),
                                ]),
                                e("div", Se, [
                                  e("p", Te, s(t(R)(n.bonusAmount)), 1),
                                  e(
                                    "span",
                                    Ae,
                                    s(o.$t("Additionalrewards")),
                                    1
                                  ),
                                ]),
                              ]),
                              e("div", je, [
                                n.isReceive === 0
                                  ? (l(),
                                    N(
                                      A,
                                      {
                                        key: 0,
                                        class: "Xg-btn",
                                        round: "",
                                        type: "primary",
                                        block: "",
                                        onClick: ($s) => t(v)(n.orderId),
                                      },
                                      {
                                        default: g(() => [
                                          k(s(o.$t("receive")), 1),
                                        ]),
                                        _: 2,
                                      },
                                      1032,
                                      ["onClick"]
                                    ))
                                  : n.isReceive === 1
                                  ? (l(),
                                    N(
                                      A,
                                      {
                                        key: 1,
                                        class: "Xg-btn-received",
                                        round: "",
                                        type: "primary",
                                        block: "",
                                      },
                                      {
                                        default: g(() => [
                                          k(s(o.$t("received")), 1),
                                        ]),
                                        _: 1,
                                      }
                                    ))
                                  : (l(),
                                    N(
                                      A,
                                      {
                                        key: 2,
                                        class: "Xg-btn-expired",
                                        round: "",
                                        block: "",
                                      },
                                      {
                                        default: g(() => [
                                          k(s(o.$t("rewardExpiredTime")), 1),
                                        ]),
                                        _: 1,
                                      }
                                    )),
                              ]),
                            ])
                          )
                        ),
                        128
                      )),
                    ]),
                  ]),
                  empty: g(() => [
                    c(ne, null, {
                      text: g(() => [
                        e("p", null, s(o.$t("notAmegaJackpot")), 1),
                      ]),
                      _: 1,
                    }),
                  ]),
                  _: 1,
                },
                8,
                ["api", "list", "page-query"]
              ),
              e(
                "div",
                {
                  class: "go-bet",
                  onClick: r[5] || (r[5] = (n) => t(Q).push("/")),
                },
                s(o.$t("goBetting")),
                1
              ),
            ]),
            c(
              te,
              {
                show: t(h),
                "onUpdate:show":
                  r[6] || (r[6] = (n) => (j(h) ? (h.value = n) : null)),
                "img-url": "succeed",
                onConfirm: t(b),
                "show-cancel-btn": !1,
                confirmText: "OK",
                title: o.$t("succTip1"),
              },
              {
                content: g(() => [
                  e("div", Ne, [
                    t(i).type == -1
                      ? (l(), u("div", Le, s(o.$t("succTip2")), 1))
                      : (l(), u("div", Be, s(o.$t("receiveAllSuccess")), 1)),
                    t(i).type == 1
                      ? (l(),
                        u("ul", Ie, [
                          e("li", null, [
                            e("h3", null, s(t(i).orderCount), 1),
                            e("p", null, s(o.$t("awardCount")), 1),
                          ]),
                          e("li", null, [
                            e("h3", null, s(t(R)(t(i).totalReceiveAmount)), 1),
                            e("p", null, s(o.$t("awardAmount")), 1),
                          ]),
                        ]))
                      : f("v-if", !0),
                  ]),
                ]),
                _: 1,
              },
              8,
              ["show", "onConfirm", "title"]
            ),
          ])
        );
      };
    },
  });
const Xe = X(Pe, [
    ["__scopeId", "data-v-6243ef37"],
    [
      "__file",
      "/usr/local/jenkins-prod/workspace/ar051-india-tiranga/src/views/main/SuperJackpot/index.vue",
    ],
  ]),
  fs = Object.freeze(
    Object.defineProperty(
      { __proto__: null, default: Xe },
      Symbol.toStringTag,
      { value: "Module" }
    )
  ),
  ze = { class: "jackpot-rule" },
  Je = { class: "rule-bannerMain" },
  Oe = { class: "rule-content" },
  De = { class: "rule-content-top" },
  Me = { class: "rule-content-top-right" },
  Ue = { class: "rule-content-tip" },
  qe = { class: "jackpot-rule-wrap" },
  Ee = { class: "title" },
  Ge = { class: "table-container" },
  Qe = { class: "table-title" },
  Ve = { class: "jackpot-rule-owener" },
  Fe = L({
    __name: "index",
    setup(p) {
      const C = B(),
        { getRuleList: m, ruleList: $, gotoCustom: d } = E(),
        _ = sessionStorage.getItem("dollarSign"),
        h = (a) => {
          const [i, y] = a.split("-");
          return `${i}X-${y}X`;
        };
      return (
        K(() => m()),
        (a, i) => {
          const y = w("NavBar"),
            b = w("svg-icon");
          return (
            l(),
            u("div", ze, [
              c(
                y,
                {
                  title: a.$t("ruleillustrate"),
                  "left-arrow": "",
                  onClickLeft: i[0] || (i[0] = (v) => t(C).go(-1)),
                },
                null,
                8,
                ["title"]
              ),
              e("div", Je, [
                e("div", Oe, [
                  e("div", De, [
                    e("div", Me, [
                      e("h3", null, s(a.$t("superjackpot")), 1),
                      e("p", null, s(a.$t("ruleillustrate1")), 1),
                    ]),
                  ]),
                  e("div", Ue, [
                    c(b, { name: "warningTriangle" }),
                    e("p", null, s(a.$t("ruleillustrate2")), 1),
                  ]),
                ]),
              ]),
              e("div", qe, [
                e("div", Ee, [
                  c(b, { name: "superJackpotRule" }),
                  k(" " + s(a.$t("winTips5")), 1),
                ]),
                e("div", Ge, [
                  e("div", Qe, [
                    e("div", null, s(a.$t("winningrate")), 1),
                    e("div", null, s(a.$t("betAmounts")), 1),
                    e("div", null, s(a.$t("winTips5")), 1),
                  ]),
                  (l(!0),
                  u(
                    I,
                    null,
                    P(
                      t($),
                      (v, S) => (
                        l(),
                        u("div", { class: "table-content", key: S }, [
                          e("div", null, s(h(v.multipleName)), 1),
                          e(
                            "div",
                            null,
                            s(t(_)) +
                              s(
                                v.betAmountName.split("-")[0] +
                                  "-" +
                                  t(_) +
                                  v.betAmountName.split("-")[1]
                              ),
                            1
                          ),
                          e("div", null, s(t(R)(v.awardAmount)), 1),
                        ])
                      )
                    ),
                    128
                  )),
                ]),
                e("div", Ve, [
                  c(b, { name: "rightTriangle" }),
                  k(" " + s(a.$t("ruleillustaate3")), 1),
                ]),
                e(
                  "div",
                  {
                    class: "jackpot-rule-custom",
                    onClick: i[1] || (i[1] = (...v) => t(d) && t(d)(...v)),
                  },
                  [
                    f(
                      ` <img :src="getIconsPublic('svg', 'serverIcon', 'svg')"> `
                    ),
                    c(b, { name: "customerPublic" }),
                    k(" " + s(a.$t("contactServicer")), 1),
                  ]
                ),
              ]),
            ])
          );
        }
      );
    },
  });
const xe = X(Fe, [
    ["__scopeId", "data-v-bc9939e5"],
    [
      "__file",
      "/usr/local/jenkins-prod/workspace/ar051-india-tiranga/src/views/main/SuperJackpot/rule/index.vue",
    ],
  ]),
  ws = Object.freeze(
    Object.defineProperty(
      { __proto__: null, default: xe },
      Symbol.toStringTag,
      { value: "Module" }
    )
  ),
  Ke = (p) => (U("data-v-7c5c25a2"), (p = p()), q(), p),
  We = { class: "jackpot-star" },
  He = { class: "jackpot-star-list" },
  Ze = { class: "starheader" },
  Ye = ["data-img"],
  es = { class: "nickname" },
  ss = Ke(() => e("div", { class: "solidline" }, null, -1)),
  ts = { class: "starcontent" },
  ns = { class: "rowcontent" },
  os = { class: "label" },
  is = { class: "name" },
  as = { class: "rowcontent" },
  ls = { class: "label" },
  rs = { class: "multiple" },
  cs = { class: "rowcontent" },
  ds = { class: "label" },
  us = { class: "money" },
  _s = { class: "rowcontent" },
  ps = { class: "label" },
  vs = { class: "time" },
  ms = L({
    __name: "index",
    setup(p) {
      const C = B(),
        m = W([]),
        $ = H({ pageSize: 10, isAll: !0 });
      return (d, _) => {
        const h = w("NavBar"),
          a = D("lazy");
        return (
          l(),
          u("div", We, [
            c(
              h,
              {
                title: d.$t("winningstar"),
                "left-arrow": "",
                onClickLeft: _[0] || (_[0] = (i) => t(C).go(-1)),
              },
              null,
              8,
              ["title"]
            ),
            c(
              G,
              {
                api: t(se),
                list: m.value,
                "onUpdate:list": _[1] || (_[1] = (i) => (m.value = i)),
                "page-query": $,
                "onUpdate:pageQuery": _[2] || (_[2] = (i) => ($ = i)),
              },
              {
                content: g(() => [
                  e("div", He, [
                    (l(!0),
                    u(
                      I,
                      null,
                      P(
                        m.value,
                        (i, y) => (
                          l(),
                          u("div", { class: "star-item", key: y }, [
                            e("div", Ze, [
                              M(
                                e(
                                  "img",
                                  { "data-img": t(O)("main/Avatar", "1") },
                                  null,
                                  8,
                                  Ye
                                ),
                                [[a, t(O)("main/Avatar", i.userPhoto)]]
                              ),
                              e("div", es, s(t(ee)(i.userName)), 1),
                            ]),
                            ss,
                            e("div", ts, [
                              e("div", ns, [
                                e("div", os, s(d.$t("gamename")), 1),
                                e("div", is, s(i.gameName), 1),
                              ]),
                              e("div", as, [
                                e("div", ls, s(d.$t("Winningmultiple")), 1),
                                e("div", rs, s(i.multiple + "X"), 1),
                              ]),
                              e("div", cs, [
                                e("div", ds, s(d.$t("winTips5")), 1),
                                e("div", us, s(t(R)(i.bonusAmount)), 1),
                              ]),
                              e("div", _s, [
                                e("div", ps, s(d.$t("winningtime")), 1),
                                e("div", vs, s(i.createTime), 1),
                              ]),
                            ]),
                          ])
                        )
                      ),
                      128
                    )),
                  ]),
                ]),
                _: 1,
              },
              8,
              ["api", "list", "page-query"]
            ),
          ])
        );
      };
    },
  });
const gs = X(ms, [
    ["__scopeId", "data-v-7c5c25a2"],
    [
      "__file",
      "/usr/local/jenkins-prod/workspace/ar051-india-tiranga/src/views/main/SuperJackpot/star/index.vue",
    ],
  ]),
  Cs = Object.freeze(
    Object.defineProperty(
      { __proto__: null, default: gs },
      Symbol.toStringTag,
      { value: "Module" }
    )
  );
export { ws as a, Cs as b, fs as i };
