https://hamimohajer.com/

Submitted URL:
https://hamimohajer.com/
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 28 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

Console log messages · 1 found

Messages logged to the web console

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="fa-IR" dir="rtl"><head><meta http-equiv="origin-trial" content="A/kargTFyk8MR5ueravczef/wIlTkbVk1qXQesp39nV+xNECPdLBVeYffxrM8TmZT6RArWGQVCJ0LRivD7glcAUAAACQeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IkRpc2FibGVUaGlyZFBhcnR5U3RvcmFnZVBhcnRpdGlvbmluZzIiLCJleHBpcnkiOjE3NDIzNDIzOTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9">
    <meta name="cdn-site-verification" content="28jKZuqS9OlA4Qx6">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="google-adsense-account" content="ca-pub-6475385259375943">

<title>موسسه مهاجرتی حامی مهاجر</title>
<meta name="description" content="موسسه حامی مهاجر ، ارائه دهنده راهکارهای مهاجرت و اقامت قانونی است. اقامت و مهاجرت به  آمریکا اروپا کانادا و دریافت پاسپورت دوم با موسسه حامی مهاجر">

<link rel="canonical" href="https://hamimohajer.com">


<link rel="icon" href="https://hamimohajer.com/favicon.ico?v=2" type="image/ico">

<link rel="stylesheet" href="https://hamimohajer.com/template/css/template.css?v=1">
<link rel="stylesheet" href="https://hamimohajer.com/template/css/bootstrap.rtl.min.css">
<meta name="facebook-domain-verification" content="u6to5v7zbzlksiksj3s9xo5kkqt0y6">


    <script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-KWPRSPG5DW&amp;l=dataLayer&amp;cx=c"></script><script type="text/javascript" async="" charset="utf-8" src="https://www.gstatic.com/recaptcha/releases/aR-zv8WjtWx4lAw-tRCA-zca/recaptcha__en.js" crossorigin="anonymous" integrity="sha384-C0eb2CrhokW3SgZMDSrT/ioPvOCBoj1s7JouJ8IrLFB+j5cW9qY3JDWtShxtCryz"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-N7LGBPR"></script><script type="application/ld+json">
    {
        "@context": "http://schema.org",
        "@type": "Organization",
        "name": "حامی مهاجر",
        "legalName": "آوای حامی مهاجر",
        "url": "https://hamimohajer.com",
        "logo": "https://hamimohajer.com/template/images/logotop.svg",
        "address": {
            "@type": "PostalAddress",
            "streetAddress": "تهران، مرزداران، خیابان ابراهیمی، برج الوند، طبقه 11 شمالی",
            "addressLocality": "خیابان ابراهیمی",
            "postalCode": "14008344640",
            "addressCountry": "Iran"
        },
        "contactPoint": {
            "@type": "ContactPoint",
            "contactType": "customer support",
            "telephone": "+982149078",
            "email": "[email protected]"
        },
        "sameAs" : [
            "https://www.facebook.com/Hamimohajer/",
            "https://twitter.com/hamimohajer",
            "https://www.instagram.com/hamimohajer/",
            "https://www.youtube.com/@Hamimohajer",
            "https://www.linkedin.com/company/hamimohajer",
            "https://hamimohajer.com/",
            "https://hamimohajer.com"
        ]
    }
</script>
<!-- Google tag (gtag.js) -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-FJV2G3VHZJ"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'G-FJV2G3VHZJ');
</script>

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
        j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
        'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-N7LGBPR');</script>
<!-- End Google Tag Manager -->



    <style>
        [data-copy-on-click] {
            cursor: pointer !important;
        }
    </style>
<script async="" src="https://static.hotjar.com/c/hotjar-3722500.js?sv=6"></script><script async="" src="https://script.hotjar.com/modules.02161fb4f8ebb73fb3f8.js" charset="utf-8"></script></head>

<body class="body">

    <!-- Google Tag Manager (noscript) -->
    <noscript>
        <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N7LGBPR"
                      height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>
    <!-- End Google Tag Manager (noscript) -->

    
    
    <header class="header-with-image header-home">
    <div id="header-top">
        <div class="container">
            <div class="row">
                <div class="d-none d-xl-block col-2 py-2 logo-col">
                    <a href="https://hamimohajer.com">
                        <img src="https://hamimohajer.com/template/images/logotop.svg" alt="">
                    </a>
                </div>
                <div class="col-12 col-xl-8">
                    <div id="menu">
                        <ul class="p-0">
                            <li><a href="https://hamimohajer.com" class="">خانه</a></li>

                            <li><a href="https://hamimohajer.com/book-time" class="">مشاوره مهاجرت</a></li>

                            <li><a href="https://hamimohajer.com/blog" class="">مقالات</a></li>

                            <li><a href="https://hamimohajer.com/news" class="">اخبار</a></li>
                            
                            
                            
                            
                            
                            <li><a href="https://app.sanjeman.com/company/hr3b691a59b" class="">همکاری با ما</a></li>
                            <li><a href="https://hamimohajer.com/about" class="">درباره ما</a></li>

                            <li><a href="https://hamimohajer.com/contact" class="">تماس با ما</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-12 col-xl-2">
                    
                                            <a href="https://hamimohajer.com/customer/auth/login" class="btn-default btn-blue dashboard">ورود و
                            عضویت</a>
                                    </div>
            </div>
        </div>
    </div>
    <div id="header-mobile" class="d-block d-xl-none">
        <div class="container">
            <div class="row">
                <div class="col-6">
                    <div id="mobile-logo">
                        <a href="/">
                            <img src="https://hamimohajer.com/template/images/logotop.svg" alt="">
                        </a>
                    </div>
                </div>
                <div class="col-6">
                    <div id="mobile-menu">
                        <i></i>
                        <i></i>
                        <i></i>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="mega-menu-items">
        <div class="megamenu py-5 d-none" megaid="1">
            <div class="container">
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
                
            </div>
        </div>
        <div class="megamenu py-5 d-none" megaid="2">
            <div class="container">
                <div class="mega-list">
                    <div class="row justify-content-center mb-4 px-3 px-sm-0">
                        <div class="col-12 col-lg-8">
                            <div class="row">
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="megamenu py-5 d-none" megaid="3">
            <div class="container">
                <div class="row justify-content-center mb-4 px-3 px-sm-0">
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                    
                </div>
            </div>
        </div>
        <div class="megamenu py-5 d-none" megaid="4">
            <div class="container">
                <div class="mega-list">
                    <div class="row justify-content-center mb-4 px-3 px-sm-0">
                        <div class="col-12 col-lg-10">
                            <div class="row">
                                
                                
                                
                                
                                
                                
                                
                                
                                
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="megamenu py-5 d-none" megaid="10">
            <div class="container">
                <div class="row">
                    <div class="col-12 col-lg-8">
                        <div class="row">
                            <div class="col-5">
                                <div class="sub-mega-menus">
                                    <div class="menu-list">
                                        <span class="menu-list-title">خدمات ویزای تحصیلی</span>
                                        <ul class="p-0 m-0">
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                        </ul>
                                    </div>
                                    <div class="category-list invisible opacity-0" catid="1">
                                        <div class="menu-list">
                                            <div class="category-header">
                                                <span class="category-list-title"></span>
                                                <span class="backbtn">بازگشت</span>
                                            </div>
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-7">
                                <div class="menu-list">
                                    <span class="menu-list-title">خدمات ویزای تحصیلی</span>
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

            <div id="header-bottom">
            <section class="intro">
                <div class="intro-content text-center">
                    <img src="https://hamimohajer.com/template/images/2.png" alt="">
                    <h1>حامی مهاجر، بی حد و مرز</h1>
                    <a href="https://hamimohajer.com/book-time" class="btn-default btn-red mb-2">رزرو وقت
                        مشاوره</a>
                    <a href="https://hamimohajer.com/contact" class="btn-default btn-blue">تماس با ما</a>
                </div>
                
            </section>
        </div>
        <div id="dark"></div>
    </header>






    <a href="https://hamimohajer.com/immigration/usa/dv-lottery/register-dv-lottery-program" class="lottery_registeration_modal d-none d-lg-block">
        <span class="lottery_modal_image">
             ثبت نام لاتاری گرین کارت 2026
            <img src="https://hamimohajer.com/assets/assets-lottery-landing/images/landing/2026.svg" alt="ثبت نام لاتاری 2026">
        </span>
        <button type="button" class="btn btn-danger">شروع ثبت نام</button>
    </a>

    <a href="https://hamimohajer.com/immigration/usa/dv-lottery/register-dv-lottery-program" class="lottery_registeration_mobile_button d-block d-lg-none">ثبت نام در لاتاری 2026</a>
<div class="bodydark d-none"></div>

        <section class="bg-gray">
        <div class="container">
            
            <div class="row justify-content-center px-3 px-sm-0">
                <div class="col-12 mb-4">
                    <div class="s-title">اخذ اقامت دائم</div>
                    <div class="s-subtitle">اخذ اقامت دائم بهترین کشور های جهان توسط حامی مهاجر</div>
                </div>
                <div class="col-6 col-sm-4 col-md-3 col-lg-2">
                    <a href="https://hamimohajer.com/immigration/usa" class="country-box text-center">
                        <img src="https://hamimohajer.com/template/images/usa.png" alt="">
                        <div>اقامت آمریکا</div>
                    </a>
                </div>
                <div class="col-6 col-sm-4 col-md-3 col-lg-2">
                    <a href="https://hamimohajer.com/canada" class="country-box text-center">
                        <img src="https://hamimohajer.com/template/images/can.png" alt="">
                        <div>اقامت کانادا</div>
                    </a>
                </div>
                <div class="col-6 col-sm-4 col-md-3 col-lg-2">
                    <a href="https://hamimohajer.com/immigration/turkey" class="country-box text-center">
                        <img src="https://hamimohajer.com/template/images/tur.png" alt="">
                        <div>اقامت ترکیه</div>
                    </a>
                </div>
                <div class="col-6 col-sm-4 col-md-3 col-lg-2">
                    <a href="https://hamimohajer.com/immigration/uae" class="country-box text-center">
                        <img src="https://hamimohajer.com/template/images/emi.png" alt="">
                        <div>اقامت امارات</div>
                    </a>
                </div>
            </div>
        </div>
    </section>
    <div id="homepagevideo" class="py-4">
        <div class="container py-5">
            <div class="row justify-content-center">
                <div class="col-12">
                    <span id="hmt" class="mb-2">
                        <img style="width: 35px;" src="/images/like.svg">
                        نظرات مشتریان درباره حامی مهاجر
                    </span>
                    <span id="hmst" class="mb-3">اعتماد شما اعتبار ماست</span>
                </div>
                <div class="col-12 col-sm-8">
                    <style>.h_iframe-aparat_embed_frame{position:relative;}.h_iframe-aparat_embed_frame .ratio{display:block;width:100%;height:auto;}.h_iframe-aparat_embed_frame iframe{position:absolute;top:0;left:0;width:100%;height:100%;}</style><div class="h_iframe-aparat_embed_frame"><span style="display: block;padding-top: 57%"></span><iframe src="https://www.aparat.com/video/video/embed/videohash/2XtJy/vt/frame" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe></div>
                </div>
            </div>
        </div>
    </div>
    <div class="about">
        <div class="about-content">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-12 col-lg-5">
                        <div class="s-title mb-2 text-white">حامی مهاجر، بی حد و مرز</div>
                        <div class="slogan mb-3">
                            <p class="d-inline-block text-white mb-0">Sky</p>
                            <p class="d-inline-block text-white mb-0">is the Limit</p></div>
                        <p class="text-default pt-1 pb-2">
                            حامی مهاجر، یک هولدینگ مادر تخصصی و کارگزار رسمی ویزا در ایران، متشکل ازهشت شرکت دارای مجوز از داخل و خارج از کشور با بیش از دویست نفر پرسنل، عنوان دار برترین و بزرگترین چهره حوزه اقامت، ویزا، گردشگری و مهاجرت ایران است
                        </p>
                        <div class="row justify-content-evenly">
                            <div class="px-2 col-6">
                                <a href="https://hamimohajer.com/about" class="btn-default btn-red">درباره حامی مهاجر</a>
                            </div>
                            <div class="px-2 col-6">
                                <a href="https://hamimohajer.com/contact" class="btn-default btn-blue">تماس با حامی مهاجر</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <section class="bg-white info-section">
        <div class="container">
            <div class="row justify-content-center px-0 px-lg-5">
                <div class="col-12 col-lg-6 px-0 px-lg-4">
                    <div class="home-access mb-4 mb-lg-0">
                        <img src="https://hamimohajer.com/template/images/reservation.png" alt="">
                        <div class="home-access-content py-4">
                            <h3>رزرو آنلاین وقت مشاوره</h3>
                            <p class="text-justify m-0  ">
                                به جهت دریافت مشاوره انواع روش های مهاجرت به صورت حضوری و غیر حضوری میتوانید بصورت آنلاین و یا تلفنی رزرو وقت انجام دهید تا کارشناسان حامی مهاجر راهنمای شما باشند
                            </p>
                        </div>
                        <a href="https://hamimohajer.com/book-time" class="btn-default btn-red">رزرو وقت مشاوره</a>
                        <span class="or px-2">و یا</span>
                        <a href="tel:021-48406" class="btn-default btn-blue">021-48406</a>
                    </div>
                </div>
                <div class="col-12 col-lg-6 px-0 px-lg-4">
                    <div class="home-access">
                        <img src="https://hamimohajer.com/template/images/arzyabi.png" alt="">
                        <div class="home-access-content py-4">
                            <h3>فرم ارزیابی مهاجرت و اقامت</h3>
                            <p class="text-justify m-0">
                                با تکمیل فرم ارزیابی مهاجرت و اقامت حامی مهاجر، کارشناسان ما با بررسی شرایط فعلی شما، شما را از کشور هایی که درحال حاضر امکان مهاجرت به آنها را دارید مطلع خواهند کرد
                            </p>
                        </div>
                        <a href="https://hamimohajer.com/assessments" class="btn-default btn-red">فرم های ارزیابی</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <footer>
    <div class="container">
        <div class="row">
            <div class="col-12 col-xl-4">
                <div id="footer-logo">
                    <img src="https://hamimohajer.com/template/images/logotop.svg">
                    <div class="s-title mb-2 text-white">حامی مهاجر، بی حد و مرز</div>
                    <div class="slogan mb-3">
                        <p class="d-inline-block text-white mb-0">Sky</p>
                        <p class="d-inline-block text-white mb-0">is the Limit</p>
                    </div>
                </div>
                <div id="footer-info">
                    <ul>
                        
                        
                        <li><a href="tel:02191344330" style="text-decoration: none;color: #dfdfdf;">021-91344330</a>
                        </li>
                        
                        
                    </ul>
                    <ul>
                        <li>[email protected]</li>
                        <li>تهران، مرزداران، خیابان ابراهیمی، برج الوند، طبقه 11 شمالی</li>
                    </ul>
                    <ul>
                        
                        <li>ساعت کاری : همه روزه حتی ایام تعطیل و جمعه ها <br> از ساعت 9:00 صبح الی 21:00</li>
                    </ul>

                    
                </div>
                <ul id="social" class="p-0">
                    <li>
                        <a target="_blank" href="https://www.instagram.com/hamimohajer">Instagram</a>
                    </li>
                    <li>
                        <a target="_blank" href="https://t.me/hamimohajer">Telegram</a>
                    </li>
                    <li>
                        <a target="_blank" href="https://www.aparat.com/officialhamimohajer">Aparat</a>
                    </li>
                    <li>
                        <a target="_blank" href="https://www.youtube.com/@Hamimohajer">Youtube</a>
                    </li>
                </ul>
            </div>
            <div class="col-12 col-xl-8">
                <div class="row pt-5 pt-xl-0">
                    <div class="col-12 col-sm-4">
                        <div class="footer-links quick-access mb-4 mb-sm-0">
                            <span class="f-title">دسترسی سریع</span>
                            <ul>
                                <li><a href="https://hamimohajer.com/contact">تماس با ما</a></li>
                                <li><a href="https://hamimohajer.com/about">درباره ما</a></li>
                                
                                <li><a href="https://hamimohajer.com/assessments">فرم های ارزیابی</a></li>
                                <li><a href="https://hamimohajer.com/blog">اخبار و مقالات</a></li>
                                <li><a href="https://hamimohajer.com/book-time">رزرو وقت مشاوره</a></li>
                                <li><a href="https://hamimohajer.com/sitemap">نقشه سایت</a></li>
                                <li><a href="https://app.sanjeman.com/company/hr3b691a59b">همکاری با ما</a></li>
                            </ul>
                            <!-- certificates goes here -->
                        </div>
                    </div>
                    <div class="col-12 col-sm-8">
                        <div class="footer-links links-3">
                            <span class="f-title">کلاسه بندی خدمات</span>
                            <ul class="row">
                                <li><a href="https://hamimohajer.com/study-in-abroad/study-in-usa">تحصیل در آمریکا</a>
                                </li>
                                <li><a href="https://hamimohajer.com/study-in-abroad/study-in-canada">تحصیل در
                                        کانادا</a></li>
                                <li><a href="https://hamimohajer.com/study-in-abroad/study-in-turkey">تحصیل در ترکیه</a>
                                </li>
                                <li><a href="https://hamimohajer.com/study-in-abroad/study-in-italy">تحصیل در
                                        ایتالیا</a></li>
                                <li><a href="https://hamimohajer.com/study-in-abroad/study-in-germany">تحصیل در
                                        آلمان</a></li>
                                <li><a href="https://hamimohajer.com/immigration/uae/investment-visa/register-company">ثبت
                                        شرکت در دبی و امارات</a></li>
                                <li><a href="https://hamimohajer.com/immigration/turkey/company-registration">ثبت شرکت
                                        در ترکیه</a></li>
                                <li><a href="https://hamimohajer.com/hami-services/tourist-visa">ویزای توریستی
                                        آمریکا</a></li>
                                <li><a href="https://hamimohajer.com/immigration/canada/visitor-visa">ویزای توریستی
                                        کانادا</a></li>
                                <li><a href="https://hamimohajer.com/europe/schengen">ویزای شینگن</a></li>
                                <li><a href="https://hamimohajer.com/immigration/usa">اقامت آمریکا</a></li>
                                <li><a href="https://hamimohajer.com/canada">اقامت کانادا</a></li>
                                <li><a href="https://hamimohajer.com/immigration/canada">مهاجرت به کانادا</a></li>
                                <li><a href="https://hamimohajer.com/immigration/turkey">اقامت ترکیه</a></li>
                                <li><a href="https://hamimohajer.com/immigration/uae">اقامت دبی</a></li>
                                
                            </ul>
                        </div>
                    </div>

                    <div class="col-12 my-3">
                        <div class="d-inline-block">
                            <img referrerpolicy="origin" id="nbqejzpergvjjxlzesgtwlao" style="cursor:pointer" onclick="window.open(&quot;https://logo.samandehi.ir/Verify.aspx?id=273104&amp;p=uiwkjyoexlaorfthobpdaods&quot;, &quot;Popup&quot;,&quot;toolbar=no, scrollbars=no, location=no, statusbar=no, menubar=no, resizable=0, width=450, height=630, top=30&quot;)" alt="logo-samandehi" src="https://logo.samandehi.ir/logo.aspx?id=273104&amp;p=odrfyndtqftinbpdlymashwl">
                        </div>
                        <div class="d-inline-block">
                            <a referrerpolicy="origin" target="_blank" href="https://trustseal.enamad.ir/?id=505711&amp;Code=5jmV2hQ0cNhBM74mlxC1BFgxeh8ZRsAy">
                                <img referrerpolicy="origin" src="https://trustseal.enamad.ir/logo.aspx?id=505711&amp;Code=5jmV2hQ0cNhBM74mlxC1BFgxeh8ZRsAy" alt="enamad" style="cursor:pointer" code="5jmV2hQ0cNhBM74mlxC1BFgxeh8ZRsAy">
                            </a>
                        </div>
                    </div>

                </div>
            </div>

            <div class="col-12 copyright">
                <div class="row">
                    <div class="col-12 col-sm-6 text-white py-4">
                        <span>تمامی حقوق مادی و معنوی محفوظ است و کپی برداری با ذکر منبع بلامانع می باشد</span>
                    </div>
                    <div class="col-12 col-sm-6 text-end text-white py-4">
                        <span>طراحی و توسعه : واحد انفورماتیک گروه شرکت های <a href="https://hamimohajer.com" class="text-white">حامی مهاجر</a></span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.touchswipe/1.6.19/jquery.touchSwipe.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async="" defer=""></script>
<script src="https://hamimohajer.com/template/js/template.js"></script>

    <script>
        // document.getElementById("counter1").innerHTML = "نتایج لاتاری اعلام شد!";
        // // Set the date we're counting down to
        // //var countDownDate = new Date("November 7, 2023 20:30:00").getTime();
        // var countDownDate = new Date("May 4, 2024 19:30:00").getTime();
        //
        // // Update the count down every 1 second
        // var x = setInterval(function() {
        //
        //     // Get today's date and time
        //     var now = new Date().getTime();
        //
        //     // Find the distance between now and the count down date
        //     var distance = countDownDate - now;
        //
        //     // Time calculations for days, hours, minutes and seconds
        //     var days = Math.floor(distance / (1000 * 60 * 60 * 24));
        //     var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
        //     var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
        //     var seconds = Math.floor((distance % (1000 * 60)) / 1000);
        //
        //     // Output the result in an element with id="demo"
        //     // document.getElementById("counter1").innerHTML = document.getElementById("counter2").innerHTML = '<span class="cntrcontainer"><span class="valuecntr">'+days+'</span>'+ "<span>روز</span></span>" + '<span class="cntrcontainer"><span class="valuecntr">'+hours+'</span>' + "<span>ساعت</span></span>" + '<span class="cntrcontainer"><span class="valuecntr">'+minutes+'</span>' + "<span>دقیقه</span></span>" + '<span class="cntrcontainer"><span class="valuecntr">'+seconds+'</span>' + "<span>ثانیه</span></span>";
        //     document.getElementById("counter2").innerHTML = '<div class=""><div class="">'+days+'</div><div>روز</div></div>' + '<div class=""><div class="">'+hours+'</div><div>ساعت</div></div>' + '<div class=""><div class="">'+minutes+'</div><div>دقیقه</div></div>' + '<div class=""><div class="">'+seconds+'</div><div>ثانیه</div></div>';
        //
        //     // If the count down is over, write some text
        //     if (distance < 0) {
        //         clearInterval(x);
        //         document.getElementById("counter1").innerHTML = "EXPIRED";
        //     }
        // }, 1000);
    </script>

<script>
    const lotteryForm = document.getElementById('lotteryForm');
    const applicantMaritalStatusSelect = document.getElementsByName('applicant_marital_status')[0];
    const spouseForm = document.getElementById('spouseForm');

    const setSpouseFormDisableStatus = (status) => {
        const inputs = Array.from(spouseForm.querySelectorAll('input'));
        const selects = Array.from(spouseForm.querySelectorAll('select'));

        inputs.forEach(item => item.disabled = status);
        selects.forEach(item => item.disabled = status);
    };

    const hideAndDisableSpouseForm = () => {
        setSpouseFormDisableStatus(true);
        spouseForm.classList.add('d-none');
    };

    const restoreSpouseForm = () => {
        setSpouseFormDisableStatus(false);
        spouseForm.classList.remove('d-none');
    };

    const handleSpouseFormStatus = () => {
        if (applicantMaritalStatusSelect.selectedIndex === 2) {
            hideAndDisableSpouseForm();
        } else {
            restoreSpouseForm();
        }
    };

    if (applicantMaritalStatusSelect) {
        applicantMaritalStatusSelect.addEventListener('change', () => {
            if (!applicantMaritalStatusSelect) return;
            handleSpouseFormStatus();
        });

        if (spouseForm) {
            handleSpouseFormStatus();
        }
    }

    $(document).on('change', '#applicant_marital_status', function () {
        let shs = $(this).find(':selected').val()
        if (shs === 'my spouse live in america') {
            $('#alertBg').show()
            $('#alertSpouse').show()
        }
    })
    $(document).on('click', '#onjast', function () {
        let shs = $('#applicant_marital_status').find(':selected').val()
        if (shs === 'my spouse live in america') {
            $('#alertBg').hide()
            $('#alertSpouse').hide()
        }
    })
    $(document).on('click', '#nababa', function () {
        let shs = $('#applicant_marital_status').find(':selected').val()
        if (shs === 'my spouse live in america') {
            console.log(shs)
            $('#applicant_marital_status').find(':selected').prop('selected', false)
            $('#alertBg').hide()
            $('#alertSpouse').hide()
        }

    })

    jQuery('div#menu>ul>li').mouseover(function () {
        var selected = jQuery(this);
        selected.find('ul').addClass('ulshowup');
    });
    jQuery('div#menu>ul>li').mouseout(function () {
        jQuery('div#menu ul').removeClass('ulshowup');
    });

    jQuery('#mobilemenubtn').click(function () {
        jQuery('div#menu').css('right', '0');
        jQuery('div#menudback').css('display', 'block');
        jQuery('div#menudback').css('opacity', '1');
    });

    jQuery('#menudback , #clbtn').click(function () {
        jQuery('div#menu').css('right', '-70%');
        jQuery('div#menudback').css('display', 'none');
        jQuery('div#menudback').css('opacity', '0');
    });

    jQuery('div#menu>ul>li').click(function () {
        var selected = jQuery(this);

        if (!selected.find('ul').hasClass('openmenu')) {
            jQuery('#menu ul').removeClass('openmenu');
            jQuery('.mbp').removeClass('mbopen');
            selected.find('ul').addClass('openmenu');
            selected.find('.mbp').addClass('mbopen');
        } else if (selected.find('ul').hasClass('openmenu')) {
            selected.find('ul').removeClass('openmenu');
            selected.find('.mbp').removeClass('mbopen');
        }

    });

    $("#singleUser").click(function (e) {
        $("#twoChance").parent().removeClass('on')
        $(this).addClass('checked')
        $("#marriedUser").removeClass('checked')
        e.preventDefault();
        $('#twoChance').prop("checked", false);
        $('#twoChance').prop("disabled", true);
        $('#single').prop("required", true);
        $('#single').prop("disabled", false);
        $('#married').prop("required", false);
        $('#married').prop("disabled", true);
        $("input[value='married']").attr("checked", false);
        $("input[value='single']").attr("checked", true);
    })
    $("#marriedUser").click(function (e) {
        $("#twoChance").parent().addClass('on')
        $(this).addClass('checked')
        $("#singleUser").removeClass('checked')
        e.preventDefault();
        $('#twoChance').prop("disabled", false);
        $('#married').prop('required', true);
        $('#married').prop('disabled', false);
        $('#single').prop('required', false);
        $('#single').prop('disabled', true);
        $("input[value='single']").attr("checked", false);
        $("input[value='married']").attr("checked", true);
    });

    $(".person-gender").click(function () {
        $(this).addClass('genSelect')
        $(this).siblings().removeClass('genSelect')
    });

    function previewFile(input) {
        var preview = input.nextElementSibling;
        var file = input.files[0];
        var reader = new FileReader();
        reader.onloadend = function() {
            preview.src = reader.result;
        }
        if (file) {
            reader.readAsDataURL(file);
        } else {
            preview.src = "";
        }
        if (preview.classList.contains('input-img')) {
            preview.classList.remove('input-img')
            preview.classList.add('imgprv')
        }
    }
    $(document).on("change", "input[type='file']", function(){
        jQuery(this).parents('label').find('span').text('تغییر عکس');
        jQuery(this).parents('label').find('.input-img').hide();
    });

    $(document).ready(function () {
        $('input').each(function () {
            $(this).prop("required", false)
        })
        $('select').each(function () {
            $(this).prop("required", true)
        })
    })
</script>

<script>
    // How to prevent form from submitting multiple times from client side?
    // Ref: https://stackoverflow.com/a/926863
    $("body").on("submit", "form", function () {
        $(this).submit(function () {
            return false;
        });
        return true;
    });

    $(document).ready(function () {
        if ($('#headerEventBanner').length) {
            const offset = $('#headerEventBanner').outerHeight() - 6;

            $('#mega-menu-items').css('top', `+=${offset}px`);
        }

        if ($('#adminBar').length) {
            $('#adminBar').next().css('margin-top', '27px');

            const offset = $('#adminBar').outerHeight() - 6;

            $('#mega-menu-items').css('top', `+=${offset}px`);
            if (!$('#headerEventBanner').length) {
                $(`.header-with-image.header-white`).css('margin-top', '32px');
            }
        }
    });

    $(document).ready(function () {
        $('table').addClass('table table-bordered table-striped table-responsive-sm table-responsive-md')
    })

</script>

    <script>
        const copyTriggers = [...document.querySelectorAll('[data-copy-on-click]')];
        copyTriggers.forEach(trigger => {
            trigger.addEventListener('click', () => {
                const contentToCopy = trigger.textContent || trigger.innerText;

                navigator.clipboard.writeText(contentToCopy)
                    .then(() => {
                        trigger.innerHTML = 'کپی شد!';
                        setTimeout(() => {
                            trigger.innerHTML = contentToCopy;
                        }, 1000);
                    })
                    .catch(err => {
                        console.error('Failed to copy: ', err);
                    });
            })
        });
    </script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8d2f9f273b332fb3',t:'MTcyODk5MzM0My4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe>



<script type="text/javascript" id="" charset="">(function(a,c,e,f,d,b){a.hj=a.hj||function(){(a.hj.q=a.hj.q||[]).push(arguments)};a._hjSettings={hjid:3722500,hjsv:6};d=c.getElementsByTagName("head")[0];b=c.createElement("script");b.async=1;b.src=e+a._hjSettings.hjid+f+a._hjSettings.hjsv;d.appendChild(b)})(window,document,"https://static.hotjar.com/c/hotjar-",".js?sv\x3d");</script><iframe id="_hjSafeContext_84913813" title="_hjSafeContext" tabindex="-1" aria-hidden="true" src="about:blank" style="display: none !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important;"></iframe></body></html>