<!DOCTYPE html>
<html translate="no" data-dpr="1" style="font-size: 48.24px;">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="robots" content="noindex,nofollow">
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <title>Tiranga</title>
    <link href="/css/promotion/app.css" rel="stylesheet" />
    <link href="/css/promotion/chunk-0_1.css" rel="stylesheet" />
    <link href="/css/promotion/chunk-0_2.css" rel="stylesheet" />
    <link href="/css/promotion/chunk-0_3.css" rel="stylesheet" />
    <link href="/css/promotion/chunk-0_4.css" rel="stylesheet" />
    <link href="/css/promotion/chunk-0_5.css" rel="stylesheet" />
    <link href="/css/promotion/chunk-0_6.css" rel="stylesheet" />
    <link rel="shortcut icon" href="/images/bitbug_favicon.ico" type="image/x-icon">
    <style>
        html,
        body {
            height: 100%;
            width: 100%;
            background-color: #090909;
            padding: 0;
            margin: 0;
        }

        .promote__cell-item[data-v-932703ba] {
    padding: .37333rem .26667rem .37333rem .37333rem;
    background-color: #2b3270;
    border-radius: .26667rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: .26667rem;
}

.promote__cell-item .label span[data-v-932703ba] {
    font-weight: 300;
    font-size: .37333rem;
    line-height: .29333rem;
    color: #fff;
}

.promote__cell-item .arrow img[data-v-932703ba], [data-v-932703ba] .navbar__content-right img {
    width: .64rem;
    height: .64rem;
}

.promote__cell-item .label img[data-v-932703ba] {
    width: .8rem;
    height: .8rem;
    margin-right: .13333rem;
}

.promote__cell-item .label[data-v-932703ba] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.promote__cell {
    margin-left: 15px;
    margin-right: 15px;
}
.mian .promotion .info-img .btn-list[data-v-7c8bbbf4] {
    width: 100% !important;
}


.mian .promotion .info-img .btn-list .btn[data-v-7c8bbbf4] {
    height: 1.4667rem !important;
    background: -webkit-linear-gradient(top, #59b0ea 0%, #61a9ff 100%);
    background: linear-gradient(180deg, #2b3270 0%, #2b3270 100%) !important;
    box-shadow: 0 0.10667rem 0.32rem #ffffff00 !important;
    border-radius: .26667rem;
    color: #fff;
    justify-content: flex-start;
    padding-left: 15px;
}

.info-data.c-row.c-row-between.m-b-20 {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 20px;
}

@charset "UTF-8";[data-v-167a3387]:root {
    --van-picker-background: #22275B;
    --van-picker-option-text-color: #fff;
    --van-border-color: rgba(55, 73, 146, .5);
    --van-picker-mask-color: linear-gradient(180deg, rgba(34, 39, 91, .9), rgba(34, 39, 91, .4)), linear-gradient(0deg, rgba(34, 39, 91, .9), rgba(34, 39, 91, .4));
    --van-text-color: #fff;
    --van-popup-background: var(--van-picker-background);
    --van-dialog-background: var(--van-picker-background);
    --van-dialog-has-title-message-text-color: #fff
}

.van-toast[data-v-167a3387] {
    word-break: break-word!important
}

.cg-default.van-button[data-v-167a3387] {
    box-shadow: 0 .05333rem #e04846;
    font-weight: 700;
    font-size: .4rem
}

.cg-default.van-button .van-button__icon[data-v-167a3387] {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

.cg-default.van-button .van-button__icon>img[data-v-167a3387] {
    height: 80%
}

.container[data-v-167a3387] {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: auto;
    color: #fff;
    background: -webkit-linear-gradient(top,#374992 0%,#4675D2 100%);
    background: linear-gradient(180deg,#374992 0%,#4675D2 100%);
    padding-top: .6rem
}

.container[data-v-167a3387]:after {
    content: "";
    display: block;
    width: 100%;
    height: 1.86667rem;
    position: absolute;
    background-color: #22275b;
    bottom: 0;
    z-index: 1
}

.container .amount[data-v-167a3387] {
    font-weight: 500;
    font-size: .64rem;
    line-height: .64rem;
    color: #fff;
    margin-bottom: .21333rem
}

.container .amount_txt[data-v-167a3387] {
    height: .64rem;
    min-width: 3.41333rem;
    background: #759FDE;
    border-radius: .66667rem;
    line-height: .64rem;
    text-align: center;
    font-size: .34667rem;
    margin-bottom: .13333rem;
    white-space: nowrap;
    padding: 0 .33333rem
}

.container .tip[data-v-167a3387] {
    font-size: .29333rem;
    margin-bottom: .26667rem
}

.container .info_content[data-v-167a3387] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    width: 9.33333rem;
    min-height: 5.06667rem;
    background: #2B3270;
    margin-bottom: 20px;
    border-radius: .26667rem;
    overflow: hidden;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    position: relative;
    z-index: 10
}

.container .info_content .info[data-v-167a3387] {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    padding-bottom: .2rem
}

.container .info_content .info .head[data-v-167a3387] {
    height: 1.06667rem;
    line-height: 1.06667rem;
    background-color: #374992;
    color: #fff;
    font-size: .34667rem;
    padding-left: 1.01333rem;
    background-image: url(/assets/png/u1-ab4b4bb0.png);
    background-size: .64rem;
    margin-bottom: .2rem;
    background-repeat: no-repeat;
    background-position: .26667rem center
}

.container .info_content .info .head.u2[data-v-167a3387] {
    border-left: .02667rem solid #fff;
    background-image: url(/assets/png/u2-d1e8f4b7.png)
}

.container .info_content .info .line1[data-v-167a3387],.container .info_content .info .line2[data-v-167a3387],.container .info_content .info .line3[data-v-167a3387] {
    color: #acafc2;
    font-size: .29333rem;
    text-align: center;
    height: 1.33333rem;
    padding-top: .2rem
}

.container .info_content .info .line1>div[data-v-167a3387],.container .info_content .info .line2>div[data-v-167a3387],.container .info_content .info .line3>div[data-v-167a3387] {
    font-size: .37333rem
}

.container .info_content .info .line1>div[data-v-167a3387] {
    color: #fff
}

.container .info_content .info .line2>div[data-v-167a3387] {
    color: #49ce9b
}

.container .info_content .info .line3>div[data-v-167a3387] {
    color: #ff8616
}

[data-v-932703ba]:root {
    --van-picker-background: #22275B;
    --van-picker-option-text-color: #fff;
    --van-border-color: rgba(55, 73, 146, .5);
    --van-picker-mask-color: linear-gradient(180deg, rgba(34, 39, 91, .9), rgba(34, 39, 91, .4)), linear-gradient(0deg, rgba(34, 39, 91, .9), rgba(34, 39, 91, .4));
    --van-text-color: #fff;
    --van-popup-background: var(--van-picker-background);
    --van-dialog-background: var(--van-picker-background);
    --van-dialog-has-title-message-text-color: #fff
}

.van-toast[data-v-932703ba] {
    word-break: break-word!important
}

.cg-default.van-button[data-v-932703ba] {
    box-shadow: 0 .05333rem #e04846;
    font-weight: 700;
    font-size: .4rem
}

.cg-default.van-button .van-button__icon[data-v-932703ba] {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

.cg-default.van-button .van-button__icon>img[data-v-932703ba] {
    height: 80%
}

.content .shareBtnContainer[data-v-932703ba] {
    margin: .48rem 0 .34667rem;
    width: 100%;
    height: 1.06667rem;
    line-height: 1.06667rem;
    text-align: center
}

.content .shareBtnContainer .shareBtn[data-v-932703ba] {
    width: 8.8rem;
    height: 100%;
    color: #fff;
    font-size: .4rem;
    font-weight: 700;
    letter-spacing: .01333rem;
    border: none;
    border-radius: 99rem;
    background: -webkit-linear-gradient(top,#2AAAF3 0%,#2979F2 100%);
    background: linear-gradient(180deg,#2AAAF3 0%,#2979F2 100%)
}

.content .commission[data-v-932703ba] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 2.93333rem;
    padding: .25333rem .18667rem;
    border-radius: .13333rem;
    background-color: #2b3270
}

.content .commission__title[data-v-932703ba] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: .22667rem;
    font-size: .37333rem;
    font-weight: 600;
    letter-spacing: .00667rem;
    color: #fff
}

.content .commission__title i[data-v-932703ba] {
    margin-right: .10667rem;
    font-size: .64rem
}

.content .commission__body[data-v-932703ba] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    width: 100%;
    margin-top: .26667rem
}

.content .commission__body>div[data-v-932703ba] {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

.content .commission__body>div span[data-v-932703ba] {
    letter-spacing: .01333rem;
    font-family: Inter,sans-serif;
    text-align: center
}

.content .commission__body>div span[data-v-932703ba]:first-of-type {
    color: #fff;
    font-size: .4rem;
    font-weight: 500
}

.content .commission__body>div span[data-v-932703ba]:last-of-type {
    color: #acafc2;
    font-size: .32rem;
    line-height: .53333rem
}

.content .commission__body>span[data-v-932703ba] {
    width: .00667rem;
    height: .93333rem;
    background: #374992
}

.promote__cell-item[data-v-932703ba] {
    padding: .37333rem .26667rem .37333rem .37333rem;
    background-color: #2b3270;
    border-radius: .26667rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: .26667rem
}

.promote__cell-item .label[data-v-932703ba] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

.promote__cell-item .label img[data-v-932703ba] {
    width: .8rem;
    height: .8rem;
    margin-right: .13333rem
}

.promote__cell-item .label span[data-v-932703ba] {
    font-weight: 300;
    font-size: .37333rem;
    line-height: .29333rem;
    color: #fff
}

.promote__cell-item .arrow[data-v-932703ba] {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

.promote__cell-item .arrow span[data-v-932703ba] {
    font-weight: 400;
    font-size: .32rem;
    line-height: .29333rem;
    color: #fff;
    margin-right: .10667rem
}

.promote__cell-item .arrow img[data-v-932703ba],[data-v-932703ba] .navbar__content-right img {
    width: .64rem;
    height: .64rem
}


    </style>
</head>

<body style="font-size: 12px;">
    <div id="app">
        <div data-v-7c8bbbf4="" class="mian">
            <div data-v-106b99c8="" data-v-7c8bbbf4="" class="navbar">
                <div data-v-106b99c8="" class="navbar-left" onclick="location.href='/home'">
                    <div data-v-a9660e98="" data-v-106b99c8="" class="c-row c-row-middle-center">
                        <i class="fa-light fa-angle-left fa-fade fa-xl center" style="color: #FFF"></i>
                    </div>
                </div>
                <div data-v-106b99c8="" class="navbar-title"> Promotion </div>
                <div data-v-106b99c8="" class="navbar-right" onclick="location.href='/promotion/bonusrecord'">
                    <div data-v-7c8bbbf4="" data-v-106b99c8="" class="c-row">
                        <i class="fa-duotone fa-calendar-lines fa-fade fa-lg"
                            style="--fa-primary-color: #fff; --fa-secondary-color: #fff;"></i>
                    </div>
                </div>
            </div>
            <div data-v-7c8bbbf4="" class="promotion">
                <div data-v-7c8bbbf4="" class="tab">
                    <ul data-v-7c8bbbf4="" class="c-row c-row-between">
                        <li data-v-7c8bbbf4="" onclick="location.href='/promotion'" class="action block-click">Data</li>
                        <li data-v-7c8bbbf4="" onclick="location.href='/promotion/myTeam'">My Team</li>
                        <li data-v-7c8bbbf4="" onclick="location.href='/promotion/promotionDes'">History</li>
                        <li data-v-7c8bbbf4="" onclick="location.href='/promotion/tutorial'">Tutorial</li>
                    </ul>
                </div>
                <div data-v-7c8bbbf4="" class="box">
                    
                    <div data-v-7c8bbbf4="" class="info">
                        <div data-v-167a3387="" data-v-932703ba="" class="container" style="--f817f0ee: 'Roboto', 'Inter', sans-serif;">
                            <div data-v-167a3387="" class="amount">
                              0
                            </div>
                            <div data-v-167a3387="" class="amount_txt">
                              Yesterday's total commission
                            </div>
                            <div data-v-167a3387="" class="tip">
                              Upgrade the level to increase commission income
                            </div>
                            <div data-v-167a3387="" class="info_content">
                              <div data-v-167a3387="" class="info">
                                <div data-v-167a3387="" class="head">
                                  Direct subordinates
                                </div>
                                <div data-v-167a3387="" class="line1">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  number of register
                                </div>
                                <div data-v-167a3387="" class="line2">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  Deposit number
                                </div>
                                <div data-v-167a3387="" class="line3">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  Deposit amount
                                </div>
                                <div data-v-167a3387="" class="line1">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  Number of people making first deposit
                                </div>
                              </div>
                              <div data-v-167a3387="" class="info">
                                <div data-v-167a3387="" class="head u2">
                                  Team subordinates
                                </div>
                                <div data-v-167a3387="" class="line1">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  number of register
                                </div>
                                <div data-v-167a3387="" class="line2">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  Deposit number
                                </div>
                                <div data-v-167a3387="" class="line3">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  Deposit amount
                                </div>
                                <div data-v-167a3387="" class="line1">
                                  <div data-v-167a3387="">
                                    0
                                  </div>
                                  Number of people making first deposit
                                </div>
                              </div>
                            </div>
                          </div>





                        
                        <div data-v-7c8bbbf4="" class="info-img c-row c-row-between">
                            
                            <div data-v-7c8bbbf4="" class="btn-list c-row c-row-middle-center">
                                <div data-v-7c8bbbf4="" class="btn-box">
                                    <div data-v-7c8bbbf4="" class="btn m-b-10 c-row c-row-middle-center tag-read"
                                        data-clipboard-text=""> <img data-v-932703ba="" src="/assets/png/copy_code-737d1334.png" alt="" style="width: 35px;"> Copy Invitation Code</div>
                                    <div data-v-7c8bbbf4="" data-clipboard-text=""
                                        class="btn m-b-10 c-row c-row-middle-center tag-read"> <img data-v-932703ba="" src="/assets/png/copy_code-737d1334.png" alt="" style="width: 35px;"> Copy Link</div>
                                </div>
                            </div>
                        </div>
                        <br />
                        
                    </div>
                </div>


                <div data-v-932703ba="" class="promote__cell">
                    <div data-v-932703ba="" class="promote__cell-item" onclick="location.href='/promotion/bonusrecord'">
                      <div data-v-932703ba="" class="label">
                        <img data-v-932703ba="" src="/assets/png/copy_code-737d1334.png" alt="">
                        <span data-v-932703ba="">
                          Downline Data
                        </span>
                      </div>
                      <div data-v-932703ba="" class="arrow">
                       <img data-v-932703ba="" src="/assets/png/right_arrow-ab888448.png" alt="">
                      </div>
                    </div>
                    <div data-v-932703ba="" class="promote__cell-item" onclick="location.href='promotion/myTeam'">
                      <div data-v-932703ba="" class="label">
                        <img data-v-932703ba="" src="/assets/png/team_port-58494176.png" alt="">
                        <span data-v-932703ba="">
                          Subordinate data
                        </span>
                      </div>
                      <div data-v-932703ba="" class="arrow">
                        <!---->
                        <img data-v-932703ba="" src="/assets/png/right_arrow-ab888448.png" alt="">
                      </div>
                    </div>
                    <div data-v-932703ba="" class="promote__cell-item"  onclick="location.href='promotion/promotionDes'">
                      <div data-v-932703ba="" class="label">
                        <img data-v-932703ba="" src="/assets/png/commission-65eafe51.png" alt="">
                        <span data-v-932703ba="">
                          Commission detail
                        </span>
                      </div>
                      <div data-v-932703ba="" class="arrow">
                        <!---->
                        <img data-v-932703ba="" src="/assets/png/right_arrow-ab888448.png" alt="">
                      </div>
                    </div>
                    <div data-v-932703ba="" class="promote__cell-item"  onclick="location.href='promotion/tutorial'">
                      <div data-v-932703ba="" class="label">
                        <img data-v-932703ba="" src="/assets/png/invite_reg-da81dbf0.png" alt="">
                        <span data-v-932703ba="">
                          Invitation rules
                        </span>
                      </div>
                      <div data-v-932703ba="" class="arrow">
                        <!---->
                        <img data-v-932703ba="" src="/assets/png/right_arrow-ab888448.png" alt="">
                      </div>
                    </div>
                    <div data-v-932703ba="" class="promote__cell-item">
                      <div data-v-932703ba="" class="label">
                        <img data-v-932703ba="" src="/assets/png/server-2d40967a.png" alt="">
                        <span data-v-932703ba="">
                          Agent line customer service
                        </span>
                      </div>
                      <div data-v-932703ba="" class="arrow">
                        <!---->
                        <img data-v-932703ba="" src="/assets/png/right_arrow-ab888448.png" alt="">
                      </div>
                    </div>
                    <div data-v-932703ba="" class="promote__cell-item">
                      <div data-v-932703ba="" class="label">
                        <img data-v-932703ba="" src="/assets/png/rebateRatio-78c6e43f.png" alt="">
                        <span data-v-932703ba="">
                          Rebate ratio
                        </span>
                      </div>
                      <div data-v-932703ba="" class="arrow">
                        <!---->
                        <img data-v-932703ba="" src="/assets/png/right_arrow-ab888448.png" alt="">
                      </div>
                    </div>
                  </div>



                  <div data-v-7c8bbbf4="" class="info-data c-row c-row-between m-b-20">
                            <div data-v-7c8bbbf4="" class="left">
                                <h5 data-v-7c8bbbf4="" class="all" style="font-size: 12px"> Today's Total Commission
                                </h5>
                                <p data-v-7c8bbbf4="" class="num" id="roses_today">0</p>
                                <p data-v-7c8bbbf4="" class="txt" id="roses_f1">Direct Commission: 0</p>
                                <p data-v-7c8bbbf4="" class="txt" id="roses_f">Team Commission: 0</p>
                            </div>
                            <div data-v-7c8bbbf4="" class="right">
                                <p data-v-7c8bbbf4="" class="txt">Total Referrals: <span data-v-7c8bbbf4="" class="num"
                                        id="f1">0</span></p>
                                <p data-v-7c8bbbf4="" class="txt">Total Members: <span data-v-7c8bbbf4="" class="num"
                                        id="f_total">0</span></p>
                                <p data-v-7c8bbbf4="" class="txt">New Members Today: <span data-v-7c8bbbf4=""
                                        class="num" id="f1_today">0</span></p>
                                <p data-v-7c8bbbf4="" class="txt">New Total Members For The Day: <span
                                        data-v-7c8bbbf4="" class="num" id="f_all_today">0</span></p> 
                                   <p data-v-7c8bbbf4="" class="txt">Total Commission For The Week: <span data-v-7c8bbbf4=""
                                        class="num">0</span></p> 
                                <p data-v-7c8bbbf4="" class="txt" roses_f>Total Commission: <span data-v-7c8bbbf4=""
                                        class="num" id="roses_all">0</span></p>
                            </div>
                        </div>

                
                
            </div>
        </div>
        <!---->
        <%- include('../nav') -%>
          
    </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="/js/qr.js"></script>
    <script src="/js/client.js"></script>
    <script>
        $(document).ready(function () {
            function alertMess(text, sic) {
                $('body').append(
                    `
					<div data-v-1dcba851="" class="msg">
						<div data-v-1dcba851="" class="msg-content v-enter-active v-enter-to" style=""> ${text} </div>
					</div>
					`
                );
                setTimeout(() => {
                    $('.msg .msg-content').removeClass('v-enter-active v-enter-to');
                    $('.msg .msg-content').addClass('v-leave-active v-leave-to');
                    setTimeout(() => {
                        $('.msg').remove();
                    }, 100);
                    sic.removeClass('block-click');
                }, 1000);
            }
            $('.btn-box .btn').click(function (e) {
                e.preventDefault();
                $(this).addClass('block-click');
                alertMess('Copy successful', $(this));
                navigator.clipboard.writeText($(this).attr('data-clipboard-text'));
            });
        });
    </script>
    <script>
        function RosesRender(datas) {
            let html = datas.map((e) => {
                let html = '';
                return html += `<div data-v-7c8bbbf4="" class="bd van-row">
                        <div data-v-7c8bbbf4="" class="c-tc van-ellipsis van-col van-col--6">Lvl ${e.level}</div>
                        <div data-v-7c8bbbf4="" class="c-tc van-col van-col--4">${e.f1}%</div>
                        <div data-v-7c8bbbf4="" class="c-tc van-col van-col--4">${e.f2}%</div>
                        <div data-v-7c8bbbf4="" class="c-tc van-col van-col--5">${e.f3}%</div>
                        <div data-v-7c8bbbf4="" class="c-tc van-col van-col--5">${e.f4}%</div>
                    </div>`;
            });
            $('.table:eq(1) .box').append(html);

            $('.table:eq(1) .box').append(`
                <div data-v-7c8bbbf4="" class="bd van-row">
                    <div data-v-7c8bbbf4="" class="c-tc fw van-col van-col--6">...</div>
                    <div data-v-7c8bbbf4="" class="c-tc fw van-col van-col--4">...</div>
                    <div data-v-7c8bbbf4="" class="c-tc fw van-col van-col--4">...</div>
                    <div data-v-7c8bbbf4="" class="c-tc fw van-col van-col--5">...</div>
                    <div data-v-7c8bbbf4="" class="c-tc fw van-col van-col--5">...</div>
                </div>
                `);
        }
        $.ajax({
            type: "POST",
            url: "/api/webapi/promotion",
            data: {

            },
            dataType: "json",
            success: function (response) {
                $('.Loading').fadeOut(0);
                $('#f1').text(response.invite.f1);
                $('#f1_today').text(response.invite.f1_today);
                const f1Count =response.invite.f1_today;
                console.log(f1Count);
                $('#f_all_today').text(response.invite.f_all_today);
                $('#f_total').text(response.invite.total_f);

                $('#roses_f1').text("Direct Commission: " + response.invite.roses_f1);
                $('#roses_f').text("Team Commission: " + response.invite.roses_f);
                $('#roses_all').text(response.invite.roses_all);
                $('#roses_today').text(response.invite.roses_today);
                $('#invite_code').text(window.location.hostname + `/register?r_code=${response.info[0].code}`);

                if (response.status === false) return location.href = '/home';
                RosesRender(response.level);
                $('.btn-box .btn:eq(0)').attr('data-clipboard-text', response.info[0].code);
                $('.btn-box .btn:eq(1)').attr('data-clipboard-text', window.location.hostname + `/register?r_code=${response.info[0].code}`);
                var qrcode = new QRCode("qrcode");
                $('#qrcode').attr('title', window.location.hostname + `/register?r_code=${response.info[0].code}`)
                function makeCode() {
                    qrcode.makeCode(window.location.hostname + `/register?r_code=${response.info[0].code}`);
                }

                makeCode();
            }
        });

        function copy(selector) {
            var $temp = $("<div>");
            $("body").append($temp);
            $temp.attr("contenteditable", true)
                .html($(selector).html()).select()
                .on("focus", function () { document.execCommand('selectAll', false, null); })
                .focus();
            document.execCommand("copy");
            $temp.remove();
        }
    </script>
    <!-- <script>
        var limit = 15;
        var start = 0;
        var action = 'inactive';
        function load_country_data(limit, start) {
            $.ajax({
                url: "/api/webapi/promotion",
                method: "POST",
                data: {
                    limit: limit,
                    start: start
                },
                cache: false,
                success: function(data) {
                    if (giai_doan == '') {
                        $('.van-list__finished-text').text("No more data");
                        action = 'active';
                    } else {
                        $('.van-list__finished-text').html('<div data-v-7d40872f="" class="order-content"><div role="feed" class="van-list" aria-busy="true"><div class="van-list__loading"><div class="van-loading van-loading--circular"><span class="van-loading__spinner van-loading__spinner--circular" style="width: 16px; height: 16px;"><svg viewBox="25 25 50 50" class="van-loading__circular"><circle cx="50" cy="50" r="20" fill="none"></circle></svg></span><span class="van-loading__text">Loading...</span></div></div><div class="van-list__placeholder"></div></div></div>');
                        action = "inactive";
                    }
                }
            });
        }
        if (action == 'inactive') {
            action = 'active';
            load_country_data(limit, start);
        }
        $(window).scroll(function() {
            if ($(window).scrollTop() + $(window).height() > $(".main").height() && action == 'inactive') {
                action = 'active';
                start = start + limit;
                setTimeout(function() {
                    load_country_data(limit, start);
                }, 1200);
            }
        });
    </script> -->
</body>

</html>