import {
    G as g,
    R as y,
    z as k,
    H as u,
    I as n,
    ao as i,
    Q as d,
    av as x,
    O as o,
    Z as N,
    N as r,
    J as e,
    K as C,
    M as L,
    P as s,
    ap as b,
    w as $
} from "./common.modules-5cfe2cf4.js";
import {
    d2 as I,
    c as P,
    L as S,
    d5 as H,
    _ as B
} from "./page-activity-ActivityDetail-a58ec568.js";
import {
    L as A
} from "./page-activity-DailySignIn-543fff66.js";
import "./page-turntable-assets-d6267459.js";
import "./native/index-2ac88fb8.js";
import "./en-cfd26acf.js";
import "./page-activity-Bonus-3c16c86d.js";
const R = {
        class: "withdraw-history"
    },
    Y = {
        class: "record_list"
    },
    j = {
        class: "flex flex-between head"
    },
    z = {
        class: "left"
    },
    D = {
        class: "info"
    },
    M = {
        class: "flex flex-between info_i"
    },
    V = {
        class: "amount"
    },
    E = {
        key: 0,
        class: "flex flex-between info_i"
    },
    T = {
        class: "flex flex-between info_i"
    },
    U = {
        class: "flex flex-between info_i"
    },
    W = {
        class: "flex flex-row flex-center"
    },
    F = {
        key: 1,
        class: "remark"
    },
    G = {
        class: "reason"
    },
    J = g({
        __name: "index",
        setup(K) {
            const p = y(),
                {
                    historyList: l
                } = I(),
                {
                    t: c
                } = k(),
                f = () => {
                    p.back()
                },
                v = {
                    0: c("t126"),
                    1: c("t590"),
                    2: c("rechargeState2"),
                    3: c("withdrawState2")
                },
                h = {
                    0: "processing",
                    1: "withdrawing",
                    2: "completed",
                    3: "reject"
                };
            return (a, _) => {
                const m = u("NavBar"),
                    w = u("svg-icon");
                return r(), n("div", R, [i(` <HeadNav :leftArrow="true" @click-s="onClickLeft" :title="$t('t589')" /> `), d(m, {
                    leftArrow: !0,
                    onClickLeft: f,
                    title: a.$t("t589")
                }, null, 8, ["title"]), d(A, {
                    distance: 100,
                    api: o(H),
                    list: o(l),
                    "onUpdate:list": _[0] || (_[0] = t => N(l) ? l.value = t : null)
                }, {
                    content: x(() => [e("div", Y, [(r(!0), n(C, null, L(o(l), t => (r(), n("div", {
                        class: "item",
                        key: t.orderNo
                    }, [e("div", j, [e("div", z, s(a.$t("withdraw")), 1), e("div", {
                        class: b(["right", h[t.auditState]])
                    }, s(v[t.auditState]), 3)]), e("div", D, [e("div", M, [e("span", null, s(a.$t("amount")), 1), e("div", V, s(o(P)(t.withdrawAmount)), 1)]), t.withdrawCategoryName ? (r(), n("div", E, [e("span", null, s(a.$t("type")), 1), e("div", null, s(t.withdrawCategoryName), 1)])) : i("v-if", !0), e("div", T, [e("span", null, s(a.$t("time")), 1), e("div", null, s(o($)(t.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)]), e("div", U, [e("span", null, s(a.$t("orderNo")), 1), e("div", W, [e("div", null, s(t.orderNo), 1), d(w, {
                        name: "copy",
                        onClick: O => o(S)(t.orderNo),
                        "icon-class": "copy"
                    }, null, 8, ["onClick"])])]), t.reason ? (r(), n("div", F, [e("div", null, s(a.$t("remark")), 1), e("div", G, s(t.reason), 1)])) : i("v-if", !0)])]))), 128))])]),
                    _: 1
                }, 8, ["api", "list"]), i(' <Empty v-if="historyList.length === 0" /> '), i(` <Pagination
    :total-items="pageInfo.total"
    :itemsPerPage="pageInfo.pageSize"
    :model-value="pageInfo.page"
    @changePage="getPageListHistory"
    /> `)])
            }
        }
    });
const ae = B(J, [
    ["__scopeId", "data-v-6c78a5cf"],
    ["__file", "/usr/local/jenkins-prod/workspace/AR048-Pages-india-91club/src/views/turntable/withdrawHistory/index.vue"]
]);
export {
    ae as
    default
};