<!DOCTYPE html>
<html lang="en">

@section('title','ورود | ثبت نام')
@include("Front::Layout.head")
@section("meta")
    <meta name="robots" content="nofollow, noindex">
@endsection
<body style="min-height: unset !important;
    height: 100vh;
    display: flex;
    align-items: center;">

    <div class="auth_container  col-md-4  mx-auto ">
        <div class="logoAuth mx-auto d-flex justify-content-center mb-5 text-center">
            <img src="{{url('storage/logo.png?ver=3')}}" alt="logo">
            <!-- <h4>تاسیسات <span>اول</span></h4> -->
        </div>
        <p class="statusAuth">
            @if($affiliate)
                برای ثبت نام به عنوان بازاریاب , شماره موبایل خود را وارد کنید
            @else
               برای ثبت نام یا ورود به حساب کاربری , شماره موبایل خود را وارد کنید
            @endif
        </p>
        <form class="custom_form " id="authForm">
            <input type="hidden" id="prevUrl" value="{{ url()->previous() }}">
            @if($affiliate)
                <input type="hidden" id="affiliate" value="true">
            @endif
            <input type="hidden" id="checkStatusAuth" value="{{route('auth.check_exists_and_status')}}">
            <input type="hidden" id="sendRegisterCode" value="{{route('auth.register')}}">
            <input type="hidden" id="sendLoginCode" value="{{route('auth.send_login_code')}}">
            <input type="hidden" id="checkRegisterCode" value="{{route('auth.check_code')}}">
            <input type="hidden" id="checkLogin" value="{{route('auth.login')}}">
            <input type="hidden" id="sendForgotCode" value="{{route('auth.forgot_password_send')}}">
            <input type="hidden" id="checkForgotCode" value="{{route('auth.forgot_password_check_code')}}">
            <div id="auth_mobile_check">
                <div class="tab">
                    <div class="floating-label mb-3">
                        <div class="auth-input-icon">
                            <svg xmlns="http://www.w3.org/2000/svg" width="13.96" height="17.199" viewBox="0 0 13.96 17.199">
                                <g id="vuesax_linear_mobile" data-name="vuesax/linear/mobile" transform="translate(-111.5 -381.5)">
                                    <g id="mobile" transform="translate(112 382)">
                                        <path id="Vector" d="M12.96,4.05v8.1c0,3.24-.81,4.05-4.05,4.05H4.05C.81,16.2,0,15.39,0,12.15V4.05C0,.81.81,0,4.05,0H8.91C12.15,0,12.96.81,12.96,4.05Z" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                        <path id="Vector-2" data-name="Vector" d="M3.24,0H0" transform="translate(4.86 2.835)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                        <path id="Vector-3" data-name="Vector" d="M2.511,1.255A1.255,1.255,0,1,1,1.255,0,1.255,1.255,0,0,1,2.511,1.255Z" transform="translate(5.224 11.34)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                    </g>
                                </g>
                            </svg>
                        </div>
                        <input class="floating-input" type="text" id="mobile_register" name="mobile" placeholder="شماره موبایل خود را وارد کنید" autofocus>
                    </div>
                </div>

                <div id="password_container">
                    <div id="tab2">
                            <div class="floating-label position-relative">
                                <div class="auth-input-icon">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                        <g id="vuesax_linear_unlock" data-name="vuesax/linear/unlock" transform="translate(-236 -252)">
                                            <g id="unlock" transform="translate(236 252)">
                                                <path id="Vector" d="M10.125,8.1H3.375C.675,8.1,0,7.425,0,4.725V3.375C0,.675.675,0,3.375,0h6.75c2.7,0,3.375.675,3.375,3.375v1.35C13.5,7.425,12.825,8.1,10.125,8.1Z" transform="translate(1.35 6.75)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                                <path id="Vector-2" data-name="Vector" d="M0,5.4V4.05C0,1.816.675,0,4.05,0,7.087,0,8.1,1.35,8.1,3.375" transform="translate(4.05 1.35)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                                <path id="Vector-3" data-name="Vector" d="M3.375,1.687A1.687,1.687,0,1,1,1.687,0,1.687,1.687,0,0,1,3.375,1.687Z" transform="translate(6.412 9.112)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                                <path id="Vector-4" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                            </g>
                                        </g>
                                    </svg>                                </div>
                                <div class="show-password">
                                    <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                        <g id="vuesax_linear_eye" data-name="vuesax/linear/eye" transform="translate(-108 -188)">
                                            <g id="eye" transform="translate(108 188)">
                                                <path id="Vector" d="M4.833,2.416A2.416,2.416,0,1,1,2.416,0,2.414,2.414,0,0,1,4.833,2.416Z" transform="translate(5.683 5.683)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                                <path id="Vector-2" data-name="Vector" d="M6.6,11.171a7.436,7.436,0,0,0,6.149-3.834,3.6,3.6,0,0,0,0-3.5A7.436,7.436,0,0,0,6.6,0,7.436,7.436,0,0,0,.456,3.834a3.6,3.6,0,0,0,0,3.5A7.436,7.436,0,0,0,6.6,11.171Z" transform="translate(1.495 2.511)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                                <path id="Vector-3" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                            </g>
                                        </g>
                                    </svg>
                                </div>
                            <input type="password" class="show-input floating-input" id="password_register" name="password"
                                placeholder=" ">
                            <label class="main">رمز عبور </label>
                        </div>
                    </div>
                    <div id="tab3">
                        <div class="floating-label">
                            <div class="auth-input-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                    <g id="vuesax_linear_unlock" data-name="vuesax/linear/unlock" transform="translate(-236 -252)">
                                        <g id="unlock" transform="translate(236 252)">
                                            <path id="Vector" d="M10.125,8.1H3.375C.675,8.1,0,7.425,0,4.725V3.375C0,.675.675,0,3.375,0h6.75c2.7,0,3.375.675,3.375,3.375v1.35C13.5,7.425,12.825,8.1,10.125,8.1Z" transform="translate(1.35 6.75)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-2" data-name="Vector" d="M0,5.4V4.05C0,1.816.675,0,4.05,0,7.087,0,8.1,1.35,8.1,3.375" transform="translate(4.05 1.35)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-3" data-name="Vector" d="M3.375,1.687A1.687,1.687,0,1,1,1.687,0,1.687,1.687,0,0,1,3.375,1.687Z" transform="translate(6.412 9.112)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-4" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                        </g>
                                    </g>
                                </svg>                                </div>
                            <input type="password" class="show-input floating-input" name="password_confirmation" id="password_confirmation" placeholder=" ">
                            <label class="main">تکرار رمز عبور</label>
                        </div>
                    </div>
                </div>
                <div id="password_container_login" class="mb-2">
                    <!-- <p class="small">
                    پسورد شامل حروف کوچک , بزرگ , عدد و علامت نگارشی و حداقل ۶ رقم باشد
                </p> -->
                    <div id="tab4">
                        <div class="floating-label mb-2 position-relative">
                            <div class="show-password">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                    <g id="vuesax_linear_eye" data-name="vuesax/linear/eye" transform="translate(-108 -188)">
                                        <g id="eye" transform="translate(108 188)">
                                            <path id="Vector" d="M4.833,2.416A2.416,2.416,0,1,1,2.416,0,2.414,2.414,0,0,1,4.833,2.416Z" transform="translate(5.683 5.683)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-2" data-name="Vector" d="M6.6,11.171a7.436,7.436,0,0,0,6.149-3.834,3.6,3.6,0,0,0,0-3.5A7.436,7.436,0,0,0,6.6,0,7.436,7.436,0,0,0,.456,3.834a3.6,3.6,0,0,0,0,3.5A7.436,7.436,0,0,0,6.6,11.171Z" transform="translate(1.495 2.511)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-3" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                        </g>
                                    </g>
                                </svg>
                            </div>
                            <div class="auth-input-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                    <g id="vuesax_linear_unlock" data-name="vuesax/linear/unlock" transform="translate(-236 -252)">
                                        <g id="unlock" transform="translate(236 252)">
                                            <path id="Vector" d="M10.125,8.1H3.375C.675,8.1,0,7.425,0,4.725V3.375C0,.675.675,0,3.375,0h6.75c2.7,0,3.375.675,3.375,3.375v1.35C13.5,7.425,12.825,8.1,10.125,8.1Z" transform="translate(1.35 6.75)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-2" data-name="Vector" d="M0,5.4V4.05C0,1.816.675,0,4.05,0,7.087,0,8.1,1.35,8.1,3.375" transform="translate(4.05 1.35)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-3" data-name="Vector" d="M3.375,1.687A1.687,1.687,0,1,1,1.687,0,1.687,1.687,0,0,1,3.375,1.687Z" transform="translate(6.412 9.112)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-4" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                        </g>
                                    </g>
                                </svg>                                </div>
                            <input type="password" class="show-input floating-input" id="password_login" name="password_login"
                                   placeholder="رمز عبور خود را وارد کنید " >
                        </div>
                    </div>
                    <a href="#" id="forgot_password_request" class="small">
                        رمز عبور خود را فراموش کرده اید؟
                    </a>
                </div>

                <div id="code_login" class="mb-2">
                    <!-- <p class="small">
                    پسورد شامل حروف کوچک , بزرگ , عدد و علامت نگارشی و حداقل ۶ رقم باشد
                </p> -->
                    <div id="tab4">
                        <div class="floating-label mb-2 position-relative">
                            <div class="code_container d-flex justify-content-center flex-row-reverse">
                                <div class="floating-label">
                                    <input  class="floating-input code_input ml-2" id="loginNumb1" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                                </div>

                                <div class="floating-label">
                                    <input  class="floating-input code_input ml-2 not-first" id="loginNumb2" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                                </div>

                                <div class="floating-label">
                                    <input  class="floating-input code_input ml-2 not-first" id="loginNumb3" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                                </div>

                                <div class="floating-label">
                                    <input  class="floating-input code_input ml-2 not-first" id="loginNumb4" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                                </div>

                                <div class="floating-label">
                                    <input  class="floating-input code_input ml-2 not-first" id="loginNumb5" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                                </div>
                            </div>

                            {{--<div class="show-password">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                    <g id="vuesax_linear_eye" data-name="vuesax/linear/eye" transform="translate(-108 -188)">
                                        <g id="eye" transform="translate(108 188)">
                                            <path id="Vector" d="M4.833,2.416A2.416,2.416,0,1,1,2.416,0,2.414,2.414,0,0,1,4.833,2.416Z" transform="translate(5.683 5.683)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-2" data-name="Vector" d="M6.6,11.171a7.436,7.436,0,0,0,6.149-3.834,3.6,3.6,0,0,0,0-3.5A7.436,7.436,0,0,0,6.6,0,7.436,7.436,0,0,0,.456,3.834a3.6,3.6,0,0,0,0,3.5A7.436,7.436,0,0,0,6.6,11.171Z" transform="translate(1.495 2.511)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-3" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                        </g>
                                    </g>
                                </svg>
                            </div>
                            <div class="auth-input-icon">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                    <g id="vuesax_linear_unlock" data-name="vuesax/linear/unlock" transform="translate(-236 -252)">
                                        <g id="unlock" transform="translate(236 252)">
                                            <path id="Vector" d="M10.125,8.1H3.375C.675,8.1,0,7.425,0,4.725V3.375C0,.675.675,0,3.375,0h6.75c2.7,0,3.375.675,3.375,3.375v1.35C13.5,7.425,12.825,8.1,10.125,8.1Z" transform="translate(1.35 6.75)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-2" data-name="Vector" d="M0,5.4V4.05C0,1.816.675,0,4.05,0,7.087,0,8.1,1.35,8.1,3.375" transform="translate(4.05 1.35)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-3" data-name="Vector" d="M3.375,1.687A1.687,1.687,0,1,1,1.687,0,1.687,1.687,0,0,1,3.375,1.687Z" transform="translate(6.412 9.112)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                            <path id="Vector-4" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                        </g>
                                    </g>
                                </svg>                                </div>
                            <input type="password" class="show-input floating-input" id="password_login" name="password_login"
                                type="text" placeholder=" " >
                            <label class="main">رمز عبور </label>--}}
                        </div>
                    </div>
                    {{--<a href="#" id="forgot_password_request" class="small">
                        رمز عبور خود را فراموش   کرده اید ؟
                    </a>--}}
                </div>
                <div class="btnsAuth mx-auto  d-flex justify-content-around">
                    <button type="button" class="btnAuth btnprev" id="prevBtnLevel1">ویرایش شماره</button>
                    <button type="button" class="btnAuth btnprev" id="loginWithCode">ورود با کد یک بار مصرف</button>
                    <button type="button" class="btnAuth btnprev" id="loginWithpassword">ورود با رمز عبور</button>
                    <button value="lvl1" class="submit btnAuth btnnext" id="nextBtnLevel1">ادامه <i class="fa fa-spinner fa-spin mr-2 fa-fw ajaxBtn" style="display: none"></i></button>
                </div>
            </div>
        </form>
        <form class="custom_form" id="auth_code_registering">

            <div class="code_container d-flex justify-content-center flex-row-reverse">
                <div class="floating-label">
                    <input  class="floating-input code_input ml-2" id="numb1" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input  class="floating-input code_input ml-2 not-first" id="numb2" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input  class="floating-input code_input ml-2 not-first" id="numb3" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input  class="floating-input code_input ml-2 not-first" id="numb4" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input  class="floating-input code_input ml-2 not-first" id="numb5" min="0" max="9" maxLength="1" placeholder="" pattern="[0-9]{1}" autocomplete="off">
                </div>
            </div>
            <div class="d-flex justify-content-center">
                <button type="button" value="counter" class="btnAuth time_counter_btn btnprev mx-auto mb-3" id="time_counter_btn">
                    <span id="time_counter">00</span>
                    <span >ثانیه </span>
                </button>
            </div>
            <div class="btnsAuth mx-auto  d-flex justify-content-around">
                <button type="button" class="btnAuth btnprev" id="check_code_register_back">ویرایش شماره</button>
                <button  class="submit btnAuth btnnext btn-verify" id="check_code_register">ادامه <i class="fa fa-spinner fa-spin mr-2 fa-fw ajaxBtn" style="display: none"></i></button>
            </div>
        </form>

        <form class="custom_form" id="auth_code_forgot_password">
            <div class="code_container d-flex justify-content-center flex-row-reverse">
                <div class="floating-label">
                    <input name="numb1forgot"  class="floating-input code_input-forgot ml-2" id="numb1forgot" min="0" max="9" maxLength="1" placeholder="*" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input name="numb2forgot"  class="floating-input code_input-forgot ml-2 not-first-forgot" id="numb2forgot" min="0" max="9" maxLength="1" placeholder="*" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input name="numb3forgot"  class="floating-input code_input-forgot ml-2 not-first-forgot" id="numb3forgot" min="0" max="9" maxLength="1" placeholder="*" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input name="numb4forgot"  class="floating-input code_input-forgot ml-2 not-first-forgot" id="numb4forgot" min="0" max="9" maxLength="1" placeholder="*" autocomplete="off">
                </div>

                <div class="floating-label">
                    <input name="numb5forgot"  class="floating-input code_input-forgot ml-2 not-first-forgot" id="numb5forgot" min="0" max="9" maxLength="1" placeholder="*" autocomplete="off">
                </div>
            </div>
            <div id="password_container_forgot">
                <div id="tab4">
                    <div class="floating-label position-relative">
                        <div class="show-password">
                            <svg xmlns="http://www.w3.org/2000/svg" width="16.199" height="16.199" viewBox="0 0 16.199 16.199">
                                <g id="vuesax_linear_eye" data-name="vuesax/linear/eye" transform="translate(-108 -188)">
                                    <g id="eye" transform="translate(108 188)">
                                        <path id="Vector" d="M4.833,2.416A2.416,2.416,0,1,1,2.416,0,2.414,2.414,0,0,1,4.833,2.416Z" transform="translate(5.683 5.683)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                        <path id="Vector-2" data-name="Vector" d="M6.6,11.171a7.436,7.436,0,0,0,6.149-3.834,3.6,3.6,0,0,0,0-3.5A7.436,7.436,0,0,0,6.6,0,7.436,7.436,0,0,0,.456,3.834a3.6,3.6,0,0,0,0,3.5A7.436,7.436,0,0,0,6.6,11.171Z" transform="translate(1.495 2.511)" fill="none" stroke="#2c3e50" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
                                        <path id="Vector-3" data-name="Vector" d="M0,0H16.2V16.2H0Z" transform="translate(16.199 16.199) rotate(180)" fill="none" opacity="0"/>
                                    </g>
                                </g>
                            </svg>
                        </div>
                        <input type="password" class="show-input floating-input" id="password_forgot" name="password_forgot"
                            placeholder=" " autocomplete="off" />
                        <label class="main">رمز عبور جدید</label>
                    </div>
                </div>
                <div id="tab5">
                    <div class="floating-label">
                        <input type="password" class="show-input floating-input" name="password_forgot_confirmation" id="password_forgot_confirmation" placeholder=" " autocomplete="off">
                        <label class="main">تکرار رمز عبور</label>
                    </div>
                </div>
            </div>
            <div class="btnsAuth mx-auto  d-flex justify-content-around">
                <button type="button" class="btnAuth btnprev" id="check_code_forgot_back">ویرایش شماره</button>
                <button  class="submit btnAuth btnnext btn-verify-forgot" id="check_code_register">ادامه <i class="fa fa-spinner fa-spin mr-2 fa-fw ajaxBtn" style="display: none"></i></button>
            </div>
            <div class="d-flex justify-content-center mt-3">
                <button type="button" value="counter" class="btnAuth time_counter_btn btnprev mx-auto mb-3" id="time_counter_btn_forgot">
                    <span id="time_counter_forgot" class="small">00</span>
                    <span class="small" >درخواست مجدد کد </span>
                </button>
            </div>
        </form>
    </div>



<style>
    .auth_container.col-md-4.mx-auto.mt-5 {
        margin-top: 0 !important;
    }input#mobile_register {
         text-align: left;
         padding-left: 10px;
     }

     #code_login{
         display: none;
     }button#loginWithCode,button#loginWithpassword {
           opacity: 1;    z-index: 1;display: none;
       }
</style>
    @push("js")
        <script>
            function toEnglishDigits(str) {

                // convert persian digits [۰۱۲۳۴۵۶۷۸۹]
                var e = '۰'.charCodeAt(0);
                str = str.replace(/[۰-۹]/g, function(t) {
                    return t.charCodeAt(0) - e;
                });

                // convert arabic indic digits [٠١٢٣٤٥٦٧٨٩]
                e = '٠'.charCodeAt(0);
                str = str.replace(/[٠-٩]/g, function(t) {
                    return t.charCodeAt(0) - e;
                });
                return str;
            }

            jQuery("input#mobile_register").keyup(function (){
                var value=toEnglishDigits(this.value);
                jQuery(this).val(value)
            })

            jQuery(".show-password").click(function(){
                var type=jQuery("input.show-input").attr("type");
                if(type=="password"){
                    type="text"
                } else{
                    type="password"
                }
                jQuery("input.show-input").attr("type",type)
            })
        </script>
    @endpush
</body>
@include("Front::Layout.foot")

</html>
