Check server response of

Server response
NS records
Whois domain
Response headers
Request headers
Raw HTML code
301 Moved Permanently - mngm.com
HTTP Status: 301
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Content-Type: text/html; charset=UTF-8
Location: https://mngm.com/
Server: Microsoft-IIS/10.0
Date: Tue, 13 May 2025 09:08:51 GMT
Content-Length: 140

HTTP Code 301 Moved Permanently

301 status code means that the requested resource has been permanently moved to a new URL. All future requests should use the new address.

When is Code 301 used?

  • When changing a website domain
  • When modifying URL structures
  • When setting up redirects for SEO

What does Code 301 mean for the user?

The browser will automatically redirect the user to the new address, and search engines will update their indexes.

200 OK - https://mngm.com/
HTTP Status: 200
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Cache-Control: no-cache, private
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
Vary: Accept-Encoding
Server: nginx
Set-Cookie: laravel_session=eyJpdiI6Ii8vWFlYYVFyc1Y3amw0cWV1WHFsd3c9PSIsInZhbHVlIjoiR1k4QUpRNzQxOE5tL2hjclRFSTlyQkZvd2hpMmlmSHY2SVdWSTJIYlZ4cFR6V3Z6SUdTRi8xazBGQi8wR0t0blpCempqOWhBREtRMXpKcncyQXY3Y09ZSFgva0VWVjQ3ZlRhbExtTURPUjJkSEtwM1FBTDFXbCtJT1lXSksyNy8iLCJtYWMiOiIyMTlmODEyYTdmMGFhNWVjNTY4M2U3MDQ2NmZjOTljZjA1YTJlZWIyZmNiNWY2MDA5YWQ3YWZhM2I5NTljZmNlIiwidGFnIjoiIn0%3D; expires=Wed, 14-May-2025 09:08:52 GMT; Max-Age=86400; path=/; secure; httponly; samesite=lax
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains
Referrer-Policy: no-referrer-when-downgrade
Date: Tue, 13 May 2025 09:08:52 GMT

HTTP Code 200 OK

200 status code is a standard successful HTTP server response. It means that the client’s request (e.g., from a browser) was successfully processed, and the server is delivering the requested data.

When is Code 200 used?

  • When loading a web page
  • When successfully receiving an API response
  • When processing a form or another HTTP request

What does Code 200 mean for the user?

The user receives content without errors, and the page or application functions properly. If Code 200 is accompanied by data, the browser or program processes and displays it to the user.

GET / HTTP/1.1
Host: mngm.com
Accept: */*
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Buy, Sell, Store and Delivery physical and fractional Gold and Silver.</title>

        <!-- Global site tag (gtag.js) - Google Analytics -->
        
        

        <script>
            window.dataLayer = window.dataLayer || [];

            function gtag() {
                dataLayer.push(arguments);
            }

            gtag('js', new Date());
            gtag('config', 'UA-212141610-1');
        </script>
        <!-- Global site tag (gtag.js) - End of Google Analytics -->

        <!-- 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-MH2WN5B');
        </script>
        <!-- End Google Tag Manager -->

        <!-- Start Hotjar Tracking Code for https://mngm.com/ -->
        <script>
            (function (h, o, t, j, a, r) {
                h.hj = h.hj || function () {
                    (h.hj.q = h.hj.q || []).push(arguments)
                };
                h._hjSettings = {hjid: 3184170, hjsv: 6};
                a = o.getElementsByTagName('head')[0];
                r = o.createElement('script');
                r.async = 1;
                r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
                a.appendChild(r);
            })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');
        </script>
        <!-- End Hotjar Tracking Code for https://mngm.com/ -->

        

    
    <meta name="description" content="Buy, Sell, Store and Deliver physical and fractional Gold and Silver, securely online. Invest in precious metals today!">
    <meta name="keywords" content="gold, silver, gold egypt, silver egypt, fractional gold, fractional silver, buy gold online, buy gold, buy silver online, buy silver, buy gold egypt, buy silver egypt,    physical gold, physical silver, gold and silver bullion, gold investment, silver investment, precious metals, gold bars for sale, silver bars for sale, buy gold bullion, buy silver bullion, gold delivery, silver delivery, secure gold and silver, invest in gold and silver, gold and silver for investors, gold and silver purchase options">
    <meta name="author" content="In The Kloud">
    
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>

    <meta name="facebook-domain-verification" content="icph2khvizo3butxsocco79qvfzwn9"/>

    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="theme-color" content="#ffffff">
    <link rel="preconnect" href="https://fonts.gstatic.com">

    <!-- Favicon icon -->
    <link rel="apple-touch-icon" sizes="180x180" href="https://mngm.com/assets/icon/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="https://mngm.com/assets/icon/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="https://mngm.com/assets/icon/favicon-16x16.png">

    <!-- styles -->
    <link rel="stylesheet" media="screen" href="https://mngm.com/assets/css/app.css">
<link rel="stylesheet" media="screen" href="https://mngm.com/assets/custom/accordion-dropdown/index.css">


<style>
    ::-ms-reveal {
        display: none;
    }

    table thead,table tbody {
        text-align: center
    }

    @media  screen and (max-width: 600px) {
        .itk-res-text{
            display: none;
        }
        .itk-ticker-topBar {
            text-align: left;
            font-size: 7px;
        }
    }

    @media (min-width: 1200px) {
        .details-modal .modal-dialog {
            max-width: 1100px;
        }
    }

    @media (min-width: 992px) {
        .details-modal .modal-dialog {
            max-width: 912px;
        }
    }

    .alignTextByPageLanguae{
        text-align: left !important
    }

    .localized-float{
        float: left !important
    }

    .textLeftArRightEn{
        text-align: right !important
    }
    .localized-text{
        text-align: left !important
    }

    .navbar-tool .dropdown-menu {
        top: 100%;
        left: 0rem;
        /*left: -7rem;*/
        margin-top: 0.5rem!important;
    }

    .field-icon {
            cursor: pointer;
            float: right;
            margin-top: -31px;
            position: relative;
            margin-right: 12px;
        }

    .itk_upload_label{
        background-color: #d3c6cdb0!important;
        width: 30%;
        text-align: center;
        padding: 4px;
        border-radius: 4px;
        cursor: pointer;
    }
    .itk_upload_label:hover {
        box-shadow: 0 0 11px rgba(33,33,33,.2);
    }

    .header__login__register__dropdown__menu{
        left: -7rem !important;
    }

    .ResendingOtp{
        pointer-events: none;
        opacity: .5;
        cursor: not-allowed;
    }

    .displayProducts{
        opacity: .5;
        /* cursor: not-allowed; */
        /* pointer-events: none; */
    }

    .watchListActive{
            background: white !important;
    }
    .watchListActive .fa-heart {
            color: #cdab34 !important;
    }

    .itk-wishlist-icon{
            width: 50px;
            margin-left: auto;
            padding: 10px;
    }

    .btn-deposit, .btn-withdraw{
    font-size:.65rem !important;
    padding:0.35rem 0.6rem !important;
}
.btn-bid.btn-withdraw{
    padding-left:15px!important;
    padding-right:15px!important;
}
.btn-deposit{
    background-color:#cdab34 !important;
    border-color:#cdab34 !important;
}
    .btn-deposit:hover{
        background-color:#e6ca69 !important;
        border-color:#e6ca69 !important;
    }


.price-up .h2, .price-down .h2{color:inherit !important;}
.p-relative{position:relative !important;}
.product-fractional .badge.p-relative{left:inherit; right:inherit; top:inherit; font-size:15px; padding:.3em .75em;}
.mobile-center .text-center .btn-primary.btn-lg{font-size:.95rem;}
.navbar-expand-lg .mega-dropdown-column:first-child .widget-links a.mega-link, .navbar-expand-lg .mega-dropdown-column:last-child .widget-links a.mega-link{
    width:208px;
    height:117px;
}

a.mega-link {
    background-position: right !important;
}
.mngm-tooltip {
    top: 20px;
    right: 20px;
}
.bg-primary-custom {
    background-color: #152dba !important;
}

input.numInput.cur-year{
    text-align: left !important;
}

input[name="phone"],.phoneNumber {
  direction: ltr;
  text-align: left
}

.custom-file-input{
        display: inline-block;
        overflow: hidden;
        position: relative;
    }
    .custom-file-input input[type="file"]{
        width: 100%;
        height: 100%;
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
    }

    /* start custom check box */

label[for='js-select-phoneNumber'],label[for='js-select-email']{
  width: 100%;
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  box-shadow: -3px 3px 5px 0px rgba(0,0,0,0.10);
  color: #444 !important;
  font-size: .7rem;
  text-align: center;
  margin-bottom: 10px;
  transition: all 0.2s;
  border: 1px solid transparent;
  border-radius: 5px;
}

label[for='js-select-phoneNumber'].active,
label[for='js-select-email'].active {
    background-color: rgb(52, 52, 52) !important;
  border-color: rgb(52, 52, 52) !important;
  color: #fff !important;
  cursor: default;
  pointer-events: none;
}

label[for='js-select-phoneNumber']:hover,label[for='js-select-email']:hover{
  background-color: rgb(245, 245, 245);
  border-color: rgb(210, 210, 210);
}
label[for='js-select-phoneNumber']:active,label[for='js-select-email']:active{
  background-color: rgb(233, 233, 233);
}
input#js-select-email,input#js-select-phoneNumber{
  display: none;
}

.full-screen-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}
.expand-icon{
    background: #ddd;
    padding: 6px;
    border-radius: 7px;
    cursor: pointer;
}
.cp { cursor: pointer !important}

.form-select {
    width: 100%;
}

.full-screen-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.full-screen-effect .table-responsive,.full-screen-effect .table-responsive table {
    height: 100%;
}

.br-top{
    border-top: solid 1px #7a99a4;
    padding-top: 10px;
}

.expand-icon{
    background: #ddd;
    padding: 6px;
    border-radius: 7px;
    cursor: pointer;
}

.bg-3d {
    background: #ddd;
}

.right-0{
    right: 0;
}
.small-image {
    width: 200px !important;
    height: 120px !important; 
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    padding: 1rem;
}
.small-image img{
    object-fit: contain;
    border-radius: 7px;
    height: 120px !important;  
}
/* #js-carouselPrices .carouselPrices-div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
} */

/* custom classes */
.color-white { color: white !important }
.f-w200 { width: 200px !important}
.disabled { opacity: 0.5; cursor: not-allowed !important }
.mngm-color {color: #cdab34}
.mngm-bg {background-color: #cdab34}
.mngm-border {border: 1px solid #cdab34 !important}
.bg-eee{background-color: #eee}
.dir-ltr {direction:ltr !important}
.w-150{width: 150% !important}
.modal-dialog-centered-margin-top {
    margin-top: 8rem; 
}
.thank-you-icon{
  color: #ebd68d;
    font-size: 18rem;
    font-weight: 100;
}
.add-contact-btn {
    background-color: #f6f9fc;
}

.add-contact-btn:hover{
    background-color: #e4e8ec;
    cursor: pointer;
    box-shadow: 0 0 11px rgba(33,33,33,.2);

}

    .border-right-separation {
        border-right: 1px solid #152dba !important;
        padding-right: 15px !important;
    }

    .itk-font-xxs {
        font-size: .75rem !important
    }
    .itk-font-xs {
        font-size: 1rem
    }

    @keyframes  zoom {
    0% {
        transform: scale(1);
        filter: blur(0);
    }
    100% {
        transform: scale(1.1);
        filter: blur(2px);
    }
    }

.zoom-animation:hover img {
  animation: zoom .5s ease-in-out forwards;
}

.promtional-img {
    width: 150px !important;
  object-fit: cover;
  object-position: center;
}
.zoom-animation img{
    transition: all 0.5s ease-in-out;
}

input.DeliveryAmountInput,input.ConversionAmountInput{
    width: 4rem !important;
}

.language_box ul.dropdown-menu{
    min-width:0 !important;
    /* padding: 0.425rem 1rem !important; */
}

#js-frontID-preview,#js-backID-preview{
    width: 200px !important;
    padding: 1rem;
    margin: 1rem 0;
}

.itk-hover-effect:hover {
    color: #cdab34 !important;
}

/* my mngm - pnl */

.unrealised-pnl-percentage {
    color: #28a745;
    background-color: #dddddd85;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    margin-left: 5px; 
}

/* attention effect */
    .attention {
        position: relative;
        overflow: hidden;
    }

    .attention:after {        
        animation: sheen 2s 1s forwards;
        animation-iteration-count: infinite;
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5) 50%, transparent);
        transform: rotateZ(60deg) translate(-1em, 4em);
    }

    /* make the home chart */
    .input-number-remove-indicators::-webkit-outer-spin-button,
    .input-number-remove-indicators::-webkit-inner-spin-button {
        -moz-appearance: textfield;
        -webkit-appearance: none;
        margin: 0;
    }

    #metalTabsContent * {
        direction: ltr !important;
    }

    @keyframes  sheen {
        100% {
            transform: rotateZ(60deg) translate(0, -4em);
        }
    }

/* end attention effect */

/* Toggle Button */

    .toggle{
        height: 0;
        width: 0;
        visibility: hidden;
    }

    .toggle-label {
        cursor: pointer;
        text-indent: -9999px;
        width: 50px;
        height: 25px;
        background: grey;
        display: block;
        border-radius: 25px;
        position: relative;
    }

    .toggle-label:after {
        content: '';
        position: absolute;
        top: 1px;
        left: 1px;
        width: 22px;
        height: 22px;
        background: #fff;
        border-radius: 22px;
        transition: 0.3s;
    }

    input:checked + .toggle-label {
        background: #152dba;
    }

    input:checked + .toggle-label:after {
        left: calc(100% - 1px);
        transform: translateX(-100%);
    }

    .toggle-label:active:after {
        width: 32.5px;
    }

/* End toggle button */


/* For WebKit browsers (Chrome, Edge, Safari) */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #ceb869; /* Main color */
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #152dba; /* Secondary color on hover */
    }


    
</style>

    

    <style>
        .header__langboxDev {
            position: absolute;
            right: 1rem;
            top: .3rem;
        }

    </style>
    <!-- styles -->
    <!-- meta header -->
    <!-- meta header -->
    
</head>
<body class="handheld-toolbar-enabled">

        <!-- Google Tag Manager (noscript) -->
    <noscript>
        <iframe src=https://www.googletagmanager.com/ns.html?id=GTM-MH2WN5B
                height="0" width="0" style="display:none;visibility:hidden">
        </iframe>
    </noscript>
    <!-- End Google Tag Manager (noscript) -->
    
<main class="page-wrapper ">
    <!-- Menu sidebar static layout -->
    <style>
    .buy-dropdown{
        position: inherit !important;
    }
    .buy-dropdown-menu {
        padding: 0 !important;
        width: 100%;
        background-color: #fff !important;
        border: 1px solid #ddd !important;
        border-radius: 0;
        position: absolute;
        top: 80%;
        left: 0;
        z-index: 1050;
        display: none;
    }

    .buy-dropdown:hover .buy-dropdown-menu {
        display: block;
    }

    .buy-dropdown-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .buy-dropdown-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .buy-dropdown-col {
        flex: 1 1 33%;
        padding: 20px;
        text-align: center;
        border-right: 1px solid #ddd;
        text-decoration: none;
        color: inherit;
    }

    .buy-dropdown-col:hover {
        background-color: #f9f9f9;
    }
    .buy-dropdown-col:last-child {
        border-right: none;
    }
    .buy-dropdown-img {
        max-height: 120px;
        object-fit: contain;
        margin-bottom: 15px;
    }
    .buy-dropdown-title {
        color: #333;
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .buy-dropdown-description {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    @media (max-width: 768px) {
        .buy-dropdown-row {
            flex-direction: column;
        }

        .buy-dropdown-col {
            border-right: none;
            border-bottom: 1px solid #ddd;
        }

        .buy-dropdown-col:last-child {
            border-bottom: none;
        }
    }

</style><!-- Navbar -->
<header class="bg-light shadow-sm">
    <div class="topbar topbar-dark bg-dark">
        <div class="container">
            <style>
    #marquee-container {
        overflow: hidden;
    }
    .marquee {
        padding: .1vw;
        white-space: nowrap;
        overflow: hidden;
    }
    .marquee:first-child {
        /* background-color: #ee6c52; */
    }
    .ticker-item{
     margin: 0 .5rem;
    }
    /* .marquee__inner {
        display: flex;
        gap: 2rem;
    } */
    .marquee__content {
        color: #fff;
    }

</style>

<div class="w-100 row">
   <div class="marquee ">
    <div class="marquee__inner">
      <div class="marquee__content">
      </div>
    </div>
  </div>
</div>
    <script src="https://mngm.com/assets/vendor/jquery-3.6.0.min.js"></script>
<script src="https://mngm.com/assets/js/gsap/gsap.min.js"></script>
<script src="https://mngm.com/assets/js/gsap/gsap.scrollTrigger.min.js"></script>

<script>
    const tickerElement = $('.marquee__content');
    const tickerDurationInSeconds = '20';
    const FIXED_TICKER = '1';
    const TICKER_ITEMS_LENGTH = '2';


    const marqueeAnimation = gsap.to(".marquee__content", {
        duration: tickerDurationInSeconds,
        ease: "none",
        x: "-" + (700 / TICKER_ITEMS_LENGTH),
        lazy: true,
        repeat: -1,
        onRepeat: () => {
           // $('.marquee__content').fadeOut().fadeIn()
            update_prices()
        }
    });


    if (FIXED_TICKER) {
        marqueeAnimation.pause();
        $('.marquee__content').addClass('d-flex justify-content-evenly')
        setInterval(() => {
           // $('.marquee__content').fadeOut().fadeIn()
            update_prices()
        }, 10000);
    }


</script>        </div>
    </div>

    <div class="navbar-sticky">
        <div class="navbar navbar-expand-lg navbar-light bg-light">
            <div class="container">
                <!-- Logo -->
                
                    <a class="navbar-brand d-none d-sm-block me-4 order-lg-1" href="https://mngm.com">
                        <img src="https://mngm.com/assets/img/logo-dark.png" width="170" alt="mngm logo">
                    </a>

                    <!-- Logo Mobile -->
                    <a class="navbar-brand d-sm-none me-2 order-lg-1" href="https://mngm.com">
                        <img src="https://mngm.com/assets/img/logo-dark.png" width="74" alt="mngm logo">
                    </a>

                
                <div class="navbar-toolbar d-flex align-items-center order-lg-3">
                                    <!-- Login tab -->
                        <li class="navbar-tool ms-1 me-n1 hide-tablet">
                            <a class="navbar-tool-icon-box profile-menu" href="#signin-modal" data-bs-toggle="modal"><i
                                    class="navbar-tool-icon ci-user"></i> Login / Register</a>
                        </li>

                        <!-- Login/Register tab - Tablet/Mobile -->
                        <li class="navbar-tool ms-1 me-n1 dropdown show-tablet">
                            <a class="navbar-tool-icon-box profile-menu" href="#" data-bs-toggle="dropdown"><i
                                    class="navbar-tool-icon ci-user"></i></a>
                            <div class="dropdown-menu header__login__register__dropdown__menu">
                                <span><a class="dropdown-item" href="#signin-modal" data-bs-toggle="modal">Login</a></span>
                                <span><a class="dropdown-item" href="https://mngm.com/account/sign_up">Register</a></span>
                            </div>
                        </li>
                                                                    <div class="language_box d-flex">
    <a class="topbar-link me-2 d-none d-md-inline-block" aria-label="link" href="#">
        <div class="topbar-text dropdown disable-autohide">
                            <a class="topbar-link dropdown-toggle" href="https://mngm.com/changeLang/en" data-bs-toggle="dropdown">
                    <img src="https://mngm.com/assets/img/flags/en.png" width="20" alt="English">
                    
                </a>
                        <ul class="dropdown-menu dropdown-menu-end">
                <li>
                                            <a class="dropdown-item" href="https://mngm.com/changeLang/ar" style="padding: 5px !important;">
                            <img src="https://mngm.com/assets/img/flags/ar.png" width="20" alt="Arabic">
                            
                        </a>
                                    </li>
            </ul>
        </div>
    </a>
</div>
                                    </div>

                <div class="collapse navbar-collapse me-auto order-lg-2" id="navbarCollapse">

                    <!-- Search bar (tablet/mobile) -->
                    <div class="input-group d-lg-none my-3">
                        <i class="ci-search position-absolute top-50 start-0 translate-middle-y text-muted fs-base ms-3"></i>
                        <input class="form-control rounded-start" type="text" placeholder="Search">
                    </div>

                    <!-- Primary menu-->
                    <ul class="navbar-nav header__primary_menu">

                        <li class="nav-item active">
                            <a class="nav-link" href="https://mngm.com">Home</a>
                        </li>
                            <li class="nav-item buy-dropdown dropdown">
                                <a class="nav-link buy-dropdown-toggle dropdown-toggle" href="#" data-bs-toggle="dropdown">Buy</a>
                                <div class="dropdown-menu buy-dropdown-menu">
                                    <div class="buy-dropdown-container">
                                        <div class="buy-dropdown-row">
                                            <!-- Product 1 -->
                                            <a href="https://mngm.com/buy/metals" class="buy-dropdown-col">
                                                <img src="https://mngm.com/assets/img/physical-gold.png" alt="Physical" class="buy-dropdown-img">
                                                <h6 class="buy-dropdown-title">Physical</h6>
                                                <p class="buy-dropdown-description">Buy bullion bars crafted for durability.</p>
                                            </a>
                                            <!-- Product 2 -->
                                            <a href="https://mngm.com/buy/metals/fractional" class="buy-dropdown-col">
                                                <img src="https://mngm.com/assets/img/fractional-gold.png" alt="Fractional" class="buy-dropdown-img">
                                                <h6 class="buy-dropdown-title">Fractional</h6>
                                                <p class="buy-dropdown-description">Customize your investment with flexible amounts.</p>
                                            </a>
                                            <!-- Product 3 -->
                                            <a href="https://mngm.com/buy/promotion/products" class="buy-dropdown-col">
                                                <img src="https://mngm.com/assets/img/promotional-product.png" alt="Promotional" class="buy-dropdown-img">
                                                <h6 class="buy-dropdown-title">Promotional Products</h6>
                                                <p class="buy-dropdown-description">Exclusive promotional items for special occasions.</p>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </li>
                            <li class="nav-item  dropdown">
                                <a class="nav-link dropdown-toggle"
                                   href="https://mngm.com/learn"
                                    data-bs-toggle="dropdown" >
                                    Learn
                                </a>

                                                                    <ul class="dropdown-menu">
                                                                                    <li>
                                                <a class="dropdown-item" href="https://mngm.com/learn/category/focus">Focus Series</a>
                                            </li>
                                                                                    <li>
                                                <a class="dropdown-item" href="https://mngm.com/learn/category/egypt-spotlight">Egypt Spotlight</a>
                                            </li>
                                                                                    <li>
                                                <a class="dropdown-item" href="https://mngm.com/learn/category/market-watch">Market Watch</a>
                                            </li>
                                                                            </ul>
                                                            </li>

                        <li class="nav-item  dropdown">
                            <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown">About</a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a class="dropdown-item" href="https://mngm.com/about">About Us</a>
                                </li>
                                <li>
                                    <a class="dropdown-item" href="https://mngm.com/faqs">FAQ</a>
                                </li>
                                <li>
                                    <a class="dropdown-item" href="https://mngm.com/contact-us">Contact Us</a>
                                </li>
                            </ul>
                        </li>

                    </ul>

                </div>
            </div>
        </div>
        <!-- Search bar -->
        <form class="search-box collapse" id="searchBox" action="https://mngm.com/buy/metals">
            <div class="card pt-2 pb-4 border-0 rounded-0">
                <div class="container">
                    <div class="input-group"><i
                            class="ci-search position-absolute top-50 start-0 translate-middle-y text-muted fs-base ms-3"></i>
                        <input class="form-control rounded-start" name="searchValue" type="text" placeholder="Search">
                    </div>
                </div>
            </div>
        </form>
    </div>

    
    
</header>
<script type="text/javascript" src="https://mngm.com/assets/js/signalr.min.js"></script>
<script>
    var _prices = {};
    var isUpdate_pricesFNExecutedForFristTime = false;

    function loadFeed() {
        var connection = new signalR.HubConnectionBuilder()
            .withUrl('https://api-feed.mngm.com/feedhub', {
                skipNegotiation: true,
                transport: signalR.HttpTransportType.WebSockets
            })
            .build();

        connection.on('publishFeed', function (_feedDto) {
            const feedPrices = _feedDto.flatMap(item => item.metals.filter(metal => metal.showInTicker));
            feedPrices.forEach(data => {
                    let bidPrice = Math.round((data.prices[0].adjustedBidPrice) * 100) / 100;
                    let askPrice = Math.round((data.prices[0].adjustedAskPrice) * 100) / 100;
                    let changePrice = parseFloat(data.prices[0].adjustedPriceChangePercent).toFixed(2);

                    let metalType = data.metalName;
                    let purityType = data.purityValue;
                    let adjustedPriceChangePercent = data.prices[0].adjustedPriceChangePercent;

                    _prices[metalType+purityType] = {askPrice,bidPrice,metalType,purityType,adjustedPriceChangePercent,changePrice};
            });

            if(!isUpdate_pricesFNExecutedForFristTime) update_prices();

        });
        connection.start();
    }

    function update_prices() {
        isUpdate_pricesFNExecutedForFristTime = true;
        let keys = Object.keys(_prices);
        
            keys.forEach(key =>{
                let value = _prices[key];
                let span = $('#'+key);
                let spanContent = `${value.metalType} - ${value.purityType} -
                                            Bid ${value.bidPrice} | Ask ${value.askPrice}  |
                                            <strong style="color:${value.adjustedPriceChangePercent > 0 ? '#0dcb0d' : '#fa1616'}">${value.changePrice + " % "}</strong>
                                    `;
                
                if(span?.length > 0){                    
                    span.html(spanContent)
                } else {
                    tickerElement.append(`<span id=${key} class="ticker-item">${spanContent}</span>`);
                }
            })
    }

            loadFeed();
    
</script>
        <link rel="stylesheet" href="https://mngm.com/assets/vendor/tiny-slider/dist/tiny-slider.css">

    <!-- Hero slider-->
    <section class="tns-carousel tns-controls-lg tns-nav-light tns-nav-inside">
    <div class="tns-carousel-inner"
         data-carousel-options="{&quot;mode&quot;: &quot;gallery&quot;, &quot;autoplay&quot;: &quot;true&quot;, &quot;autoplayTimeout&quot;: &quot;10000&quot;, &quot;speed&quot;: &quot;1000&quot;, &quot;responsive&quot;: {&quot;0&quot;:{&quot;nav&quot;:true, &quot;controls&quot;: true},&quot;992&quot;:{&quot;nav&quot;:true, &quot;controls&quot;: true}}}">
                        <!-- Item-->
                                <div class="px-lg-5"
                    style="background-image:linear-gradient(rgb(199 227 249), rgb(201 228 249));"
                     >
                <div class="d-lg-flex justify-content-between align-items-center ps-lg-4"><img
                        class="d-block order-lg-2 me-lg-n5 flex-shrink-0"
                        src="https://ec-wp.mngm.com/wp-content/uploads/2021/11/Slider-1-3.webp" alt="">
                    <div class="position-relative mx-auto me-lg-n5 py-5 px-4 mb-lg-5 order-lg-1"
                            style="max-width: 42rem; z-index: 10;">
                        <div class="mb-lg-5 text-center text-lg-start text-lg-nowrap">
                            <!--<h3 class="h2 text-light fw-light pb-1 from-start">Hero Header</h3>-->
                            <h2 class="text-blue   display-5 from-start delay-1">Access To Gold Made Simple</h2>
                            <p class="fs-lg text-blue  pb-3 from-start delay-2">Buy and Sell certified Gold online securely anytime anywhere with <strong>mngm</strong><br>

Highest quality gold securely stored and insured.

<br><br>

<a class="btn btn-outline-primary bold" style="background-color: transparent; font-size: 18px; height: 38px; width: 130px; border: 1px solid #072561; color: #072561; line-height: 20px;" href="tel:15575"><i class="fa fa-phone"></i> 15575</a><br></p>
                                                            <div class="d-table scale-up delay-4 mx-auto mx-lg-0"><a
                                        class="btn btn-primary  bold"
                                        href="/buy/metals">SHOP NOW<i
                                            class="ci-arrow-right ms-2 me-n1"></i></a></div>                        </div>
                    </div>
                </div>
            </div>
                                      <!-- Item-->
                                    </div>
</section>

    <!-- VIDEO -->
    <section class="mb-3 py-3" style="background-color: #f5f5f5;">
    <div class="container">
        <div class="row">
            <!-- Content-->
            <section class="col-lg-12 pt-2 pt-lg-4 pb-4 mb-lg-3">
                <div class="pt-3">
                    <div class="row">
                        <div class="col-sm-6">
                            <!-- Video button on top of the image -->
                            <div class="mb-3 position-relative bg-size-cover bg-position-center py-5" style="background-image:url(https://ec-wp.mngm.com/wp-content/uploads/2021/08/Video-thumbnail-2-min.webp);">
                                <span class="position-absolute top-0 start-0 w-100 h-100 bg-black opacity-10" style="border-radius:.4375rem;"></span>
                                <div class="position-relative px-3 py-5 my-sm-5 text-center zindex-5">
                                                                        <a href="#" style="visibility: hidden;" class="btn-video my-2" ></a>
                                    <br>
                                    
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6 px-3 px-md-5 py-2">

                            <div class="mx-auto py-lg-5" style="max-width: 35rem;">
                                <h3 class="pb-3">
                                    mngm – In a Nutshell
                                </h3>
                                <div class="fs-lg pb-3 text-muted">
                                    <p>In times of instability gold and silver have always proven to be a safe haven. Investments like real estate and the stock market can either be too costly or too volatile. <strong>mngm</strong> is your trusted and secure online gold and silver investing platform, where through the simple click of a button, you get the chance to secure your wealth and your future.</p>
                                </div>
                                                                    <a class="btn btn-primary btn-shadow uppercase"
                                        href="
                                            account/login
                                            ">
                                        REGISTER NOW
                                    </a>
                                                            </div>

                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>
</section>


    <!-- CHART -->
    <section class="container mb-3 py-3">
    <div class="row">
        <!-- Content-->
        <section class="col-lg-12 pt-2 pt-lg-4 pb-4 mb-lg-3">
            <div class="pt-3">
                <div class="row">
                    <div class="col-md-6 px-3 px-md-5 py-2 mb-4">
                        <div class="mx-auto py-lg-5" style="max-width: 35rem;">
                            <h3 class="pb-3">
                                Why Invest in Gold?
                            </h3>
                            <div class="fs-lg pb-3 text-muted">
                                <p class="fs-lg pb-3 text-muted">Over the years, gold and silver have proven to be a reliable and profitable investment. Fiat, or paper currencies, tend to lose value over time. If this continues to be the case, gold and silver could potentially continue in an uptrend as investors look to it for its perceived safety and its potential as a hedge against declining currency values. Gold and silver have long been considered a reliable store of wealth and value, and that reputation is not likely to change any time soon.</p>
                            </div>
                            <a class="btn btn-primary btn-shadow uppercase" href="
                                        /buy/gold/fractional-gold
                                    ">Buy Gold</a>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <!-- Metal Tabs -->
                        <ul class="nav nav-tabs" id="metalTabs" role="tablist">
                            <li class="nav-item">
                                <button class="nav-link active" id="gold-tab" data-bs-toggle="tab" data-bs-target="#gold" role="tab" aria-controls="gold" aria-selected="true">Gold</button>
                            </li>
                            <li class="nav-item">
                                <button class="nav-link" id="silver-tab" data-bs-toggle="tab" data-bs-target="#silver" role="tab" aria-controls="silver" aria-selected="false">Silver</button>
                            </li>
                        </ul>

                        <!-- Tab Content -->
                        <div class="tab-content" id="metalTabsContent">
                            <div class="tab-pane fade show active" id="gold" role="tabpanel" aria-labelledby="gold-tab">
                                <h3 class="text-center">Historical Gold Price Per Gram in EGP</h3>
                                <figure class="highcharts-figure">
                                    <div id="gold_chart_container"></div>
                                </figure>
                            </div>
                            <div class="tab-pane fade" id="silver" role="tabpanel" aria-labelledby="silver-tab">
                                <h3 class="text-center">Historical Silver Price Per Gram in EGP</h3>
                                <figure class="highcharts-figure">
                                    <div id="silver_chart_container"></div>
                                </figure>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
</section>


    <!-- WHY GOLD -->
    <section class="container mb-3 py-3 why-gold pt-5">
    <div class="row">
        <div class="col-md-12 px-3 px-md-5 py-2">
            <h2 class="h1 pb-3 text-center">Why Gold?</h2>
        </div>
    </div>

    <div class="row pt-3 mx-n2">
                    
                                
                    <div class="col-lg-4 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                        <div class="card product-card-alt">
                            <div class="product-thumb">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/08/Rooted-New-1-min.png" loading="lazy" alt="Product">
                            </div>
                            
                            <div class="card-body">
                                <h3 class="product-title fs-4 mb-2 mt-2">Rooted in Culture</h3>
                                <p class="fs-6">Used to store value over centuries of human civilization</p>
                            </div>
                        </div>
                    </div>
                
                
                
            
                
            
                                
                    <div class="col-lg-4 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                        <div class="card product-card-alt">
                            <div class="product-thumb">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2022/12/Universally2-min-1.png" loading="lazy" alt="Product">
                            </div>
                            
                            <div class="card-body">
                                <h3 class="product-title fs-4 mb-2 mt-2">Universally Understood</h3>
                                <p class="fs-6">Common across cultures as jewelry and as assets that holds value</p>
                            </div>
                        </div>
                    </div>
                
                
                
            
                
            
                                
                    <div class="col-lg-4 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                        <div class="card product-card-alt">
                            <div class="product-thumb">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/11/Intrinsically-Valuable-min.png" loading="lazy" alt="Product">
                            </div>
                            
                            <div class="card-body">
                                <h3 class="product-title fs-4 mb-2 mt-2">Intrinsically Valuable</h3>
                                <p class="fs-6">Act as inflation hedges and preserve the real value of money</p>
                            </div>
                        </div>
                    </div>
                
                
                
            
                                
                    <div class="col-lg-4 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                        <div class="card product-card-alt">
                            <div class="product-thumb">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/11/Durable-New2-min.png" loading="lazy" alt="Product">
                            </div>
                            
                            <div class="card-body">
                                <h3 class="product-title fs-4 mb-2 mt-2">Durable</h3>
                                <p class="fs-6">Last thousands of years as they are relatively non-reactive metals</p>
                            </div>
                        </div>
                    </div>
                
                
                
            
                
            
                                
                    <div class="col-lg-4 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                        <div class="card product-card-alt">
                            <div class="product-thumb">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/11/Liquid-2-1-min.png" loading="lazy" alt="Product">
                            </div>
                            
                            <div class="card-body">
                                <h3 class="product-title fs-4 mb-2 mt-2">Liquid</h3>
                                <p class="fs-6">Easy to buy and sell anywhere in the world in various denominations
</p>
                            </div>
                        </div>
                    </div>
                
                
                
            
                
            
                                
                    <div class="col-lg-4 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                        <div class="card product-card-alt">
                            <div class="product-thumb">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2022/10/Simple-New-1-min.png" loading="lazy" alt="Product">
                            </div>
                            
                            <div class="card-body">
                                <h3 class="product-title fs-4 mb-2 mt-2">Simple</h3>
                                <p class="fs-6">Can be physically held in hand and broken down into smaller units of value
</p>
                            </div>
                        </div>
                    </div>
                
                
                
            
                
            
                
                        </div>
</section>

    <!-- SERVICES -->
    <section class="mb-3 py-5" style="background-color:#ecebe5;">
    <div class="container">
        <div class="row">
            <div class="col-md-12 px-3 px-md-5 py-2">
                <h2 class="h1 pb-3 text-center">Services</h2>
            </div>
        </div>

        <div class="row pt-3 mx-n2" style="display: none" id="js-services">
            <!-- Service -->
                        
                             <div class="col-lg-3 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                    <div class="card">
                        <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/08/Sell-min.png" loading="lazy" class="card-img-top" alt="Card image">
                        <div class="card-body">
                            <span class="card-title" style="font-weight: bolder">Buy</span>
                            <p class="card-text fs-sm text-muted"><p class="card-text fs-sm text-muted">We offer our customers 24 Karat Gold minted and cast bars certified by ®LBMA and ® RJC, and 999 pure silver certified by ®RJC.</p></p>
                            <!--<a href="#" class="btn btn-sm btn-primary">Read more</a>-->
                        </div>
                    </div>
                </div>
             
                        
             
                        
                             <div class="col-lg-3 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                    <div class="card">
                        <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/08/Buy-min.png" loading="lazy" class="card-img-top" alt="Card image">
                        <div class="card-body">
                            <span class="card-title" style="font-weight: bolder">Sell</span>
                            <p class="card-text fs-sm text-muted"><p class="card-text fs-sm text-muted">We provide buy-back option at the international market price benchmark at any point of time.</p>
<br></p>
                            <!--<a href="#" class="btn btn-sm btn-primary">Read more</a>-->
                        </div>
                    </div>
                </div>
             
                        
             
                        
                             <div class="col-lg-3 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                    <div class="card">
                        <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/08/Store-min.png" loading="lazy" class="card-img-top" alt="Card image">
                        <div class="card-body">
                            <span class="card-title" style="font-weight: bolder">Store</span>
                            <p class="card-text fs-sm text-muted"><p class="card-text fs-sm text-muted">We offer our customers bullion storage and vaulting service fully covered by insurance.</p>
<br></p>
                            <!--<a href="#" class="btn btn-sm btn-primary">Read more</a>-->
                        </div>
                    </div>
                </div>
             
                        
             
                        
                             <div class="col-lg-3 col-md-4 col-sm-6 px-2 mb-grid-gutter">
                    <div class="card">
                        <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/08/Deliver-min.png" loading="lazy" class="card-img-top" alt="Card image">
                        <div class="card-body">
                            <span class="card-title" style="font-weight: bolder">Deliver</span>
                            <p class="card-text fs-sm text-muted"><p class="card-text fs-sm text-muted">We offer insured and fully secured delivery of bullion right to your location of choice.</p>
<br></p>
                            <!--<a href="#" class="btn btn-sm btn-primary">Read more</a>-->
                        </div>
                    </div>
                </div>
             
                        
             
                    </div>
    </div>
</section>
<script>
    window.onscroll = function (){
        (window.jQuery && $('#js-services').offset().top <= window.scrollY) && $('#js-services').fadeIn()
    }
</script>
    <!-- WHY GNT -->
    <section class="mb-3 py-4">
    <div class="container">
        <div class="row">
            <!-- Content-->
            <section class="col-lg-12 pt-2 pt-lg-4 pb-4 mb-lg-3">
                <div class="pt-3">
                    <div class="row">
                        <div class="col-sm-6">
                            <!-- Video button on top of the image -->
                            <div class="position-relative py-4">
                                                                 <img src="https://ec-wp.mngm.com/wp-content/uploads/2021/08/Compliance-and-security.webp" loading="lazy" class="card-img" alt="why gnt">
                                                            </div>
                        </div>
                        <div class="col-md-6 px-3 px-md-5 py-2">
                            <div class="mx-auto py-lg-2" style="max-width: 35rem;">

                                                               <h2 class="pb-3">Compliance and Security</h2>
                                <p><strong>mngm</strong> is the first online platform in Egypt to offer you gold and silver that meet global industry standards: Our gold and silver are locally sourced compliant metals and meet LBMA & RJC Certification. We follow the LBMA Code Of Conduct, ensuring our clients are treated with full transparency - both ethically and legally.</p>
<p>We offer the safest and most accessible solutions for the storage of your gold and silver through a state-of-the-art vault facility to keep your assets safe with unlimited access. You have the choice to store your gold and silver in our insured vault or physically hold them.</p>
<p>Our digital platform uses the highest encryption standards and cybersecurity technology to ensure complete safety and your peace of mind.</p>
                               
                                

                            </div>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>
</section>

     <!-- Partners -->
     <section class="mb-3 py-4">
        <div class="container">
            <div class="row">
                <div class="col-md-12 px-3 px-md-5 py-2">
                    <h2 class="h1 pb-3 text-center">Our Partners</h2>
                </div>
            </div>
            <div class="row">
                <section class="tns-carousel tns-controls-lg tns-nav-light tns-nav-inside">
                    <div class="tns-carousel-inner d-flex justify-content-center align-items-center" data-carousel-options='{"items": 3, "nav": false, "autoplay": true, "loop": true, "autoplayTimeout": 10000, "speed": 1000, "responsive": {"0":{"items":1},"500":{"items":2, "gutter": 18},"768":{"items":3, "gutter": 20}, "1100":{"gutter": 24}}}'>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://www.evolveholding.co/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/EVOLVE-4-300x200.png" alt="" width="300" height="200" class="alignnone size-medium wp-image-2373" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/EgyCash-logo-300x133.png" alt="" width="300" height="133" class="alignnone size-medium wp-image-2384" />
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://www.nbe.com.eg/NBE/E/#/EN/Home"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/NBE-300x181.jpg" alt="" width="300" height="181" class="size-medium wp-image-2387" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://www.fawry.com/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/fawry-300x158.webp" alt="" width="300" height="158" class="alignnone size-medium wp-image-2390" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://kiweapp.com/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/kiew-logo-300x127.jpg" alt="" width="300" height="127" class="alignnone size-medium wp-image-2393" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://www.valu.com.eg/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/valu-300x66.webp" alt="" width="300" height="66" class="alignnone size-medium wp-image-2396" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://contact.eg/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/ContactNow-300x182.jpg" alt="" width="300" height="182" class="alignnone size-medium wp-image-2401" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://site.paytabs.com/en/egypt/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/PayTabs-1-1-300x134.png" alt="" width="300" height="134" class="alignnone size-medium wp-image-2404" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="https://sampreciousmetals.com/"><img src="https://ec-wp.mngm.com/wp-content/uploads/2023/10/SAM-300x220.jpg" alt="" width="300" height="220" class="alignnone size-medium wp-image-2407" /></a>
                            </div>
                                                    <div class="shadow-lg p-4 m-4 small-image">
                                <a href="http://www.orange.eg/en/"><img class="alignnone wp-image-2453 size-medium" src="https://ec-wp.mngm.com/wp-content/uploads/2024/05/Orange-1-300x182.jpg" alt="" width="300" height="182" /></a>
                            </div>
                                            </div>
                </section>
            </div>
        </div>
    </section>

    <!-- FAQ -->
    <section class="mb-3 py-4">
    <div class="container">
        <div class="row">
            <div class="col-md-12 px-3 px-md-5 py-2">
                <div class="mx-auto py-lg-2 text-center">
                    <h2 class="pb-3">FAQ</h2>
                </div>
                <div class="accordion accordion-flush" id="accordionFlushExample">
                                    <!-- Item -->  
                                    <div class="accordion-item">
                        <h2 class="accordion-header" id="headingFAQs_1934">
                            <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#FAQs_1934" aria-expanded="false" aria-controls="FAQs_1934">Generic</button>
                        </h2>
                        <div class="accordion-collapse collapse" id="FAQs_1934" aria-labelledby="headingFAQs_1934" data-bs-parent="#accordionFlushExample">
                            <div class="accordion-body">
                                <ul>
 	<li><strong><strong>What does MNGM offer?</strong></strong>
<ul>
 	<li>mngm is a precious metals platform that offers its clients digital access to buy, sell, store, and deliver gold and silver in multiples of 0.1 gram. With mngm, clients can buy fractional portions of vaulted gold bars, with the option of delivering your fractional gold upon accumulating 8 grams. Clients can also buy physical bars and request either delivery of the bars or storage in mngm’s contracted licensed and insured state-of-the-art vaulting facilities.</li>
</ul>
</li>
</ul>
&nbsp;
<ul>
 	<li><strong><strong>What is fractional gold/silver?</strong></strong>
<ul>
 	<li>Fractional gold/silver refers to a fractional unit of a physical gold bar that is physically stored in licensed and insured vaulting facilities. mngm offers the ability to purchase and sell fractional gold/silver in multiples of 0.1 grams.</li>
 	<li>On mngm, fractional gold/silver is backed by investment grade gold bars of 250-gram, 500-gram, and 1-kilogram denominations, produced by RJC or LBMA certified refineries, in compliance with OECD responsible sourcing guidelines.</li>
</ul>
</li>
</ul>
&nbsp;
<ul>
 	<li><strong>What is a Gold Bar?
</strong>
<ul>
 	<li>A gold bar, also referred to as gold bullion, refers to physical block of gold that is produced according to renowned fabrication guidelines by precious metals refineries. Gold bars have two factors that decide their value, weight, and purity. Investment grade gold bars are produced by internationally certified refineries in various weights and are of 999.9 purity, also referred to as the highest grade of 24 Karat gold.</li>
 	<li>On mngm all gold bars are investment-grade gold bars ranging from 8 grams (24K gold coin) to 1-kilogram bars. All bars are produced by either LBMA or RJC Certified Refineries.</li>
</ul>
</li>
</ul>
                            </div>
                        </div>
                    </div>
                                                      <!-- Item -->  
                                                      <!-- Item -->  
                                    <div class="accordion-item">
                        <h2 class="accordion-header" id="headingFAQs_1935">
                            <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#FAQs_1935" aria-expanded="false" aria-controls="FAQs_1935">Regulatory Framework</button>
                        </h2>
                        <div class="accordion-collapse collapse" id="FAQs_1935" aria-labelledby="headingFAQs_1935" data-bs-parent="#accordionFlushExample">
                            <div class="accordion-body">
                                <ul>
 	<li><strong>What is mngm’s regulatory framework?</strong>
<ul>
 	<li>mngm’s regulatory framework is fully compliant with the Egyptian AML/CFT laws, international standards, and best conduct practices. mngm also exclusively offers RJC and LBMA compliant gold, which guarantees the commitment to OECD Sourcing Guidelines and Standards.</li>
</ul>
</li>
</ul>
&nbsp;
<ul>
 	<li><strong>What guarantees that the gold/silver I bought is safely stored and will be there when I need to sell it or physicalize it?</strong>
<ul>
 	<li>Only CBE-licensed storage service providers are employed by mngm for its clients’ gold/silver vaulting, in which the investment metal storage provides safety, quality conserving, and insurance.</li>
 	<li>The insurance policy guarantees that the gold/silver bought is safely stored and will be available upon the client’s request.</li>
 	<li>All goods will be ultimately insured against damage and loss.</li>
</ul>
</li>
</ul>
&nbsp;
<ul>
 	<li><strong>Is there any organization that guarantees for me that the gold/silver sold to me is the actual gold you say it is?</strong>
<ul>
 	<li>All gold/silver bars sold by mngm are investment grade gold/silver bullion guaranteed by the corresponding refinery (SAM Precious Metals) in addition to being hallmarked and certified by the Egyptian Hallmarking and Assaying Authority.</li>
 	<li>All gold/silver bars sold by mngm come with its own unique serial number and a numbered certificate guaranteeing its quality and purity</li>
 	<li>Upon each purchase/sell, the Client receives a transaction invoice which includes the account’s information, all the characteristics of the transacted gold/silver, along with a breakdown for the moneys, which can be easily referred to by the Client at any time.</li>
</ul>
</li>
</ul>
&nbsp;
<ul>
 	<li><strong>What is a KYC (Know Your Customer)?</strong>
<ul>
 	<li>KYC is an acronym for a form called Know Your Customer that clients of financial and non-financial institutions need to complete prior to using their services. The form is intended to identify various elements of the prospective client’s details to the company, followed by a certified signature by the client</li>
 	<li>mngm is fully compliant with the Egyptian AML/CFT laws, which includes the clients’ identification and classification in addition to the role assigned and organized for the CBE’s MLCU.</li>
 	<li>mngm is fully compliant with FATF guidelines as the Egyptian AML/CFT laws require the inclusion of the FATF recommendations, given that Egypt is a founding member state in the MENA FATF.</li>
</ul>
</li>
</ul>
                            </div>
                        </div>
                    </div>
                                                      <!-- Item -->  
                                  
                </div>
                <p class="mt-5 pt-2 text-center"><a class="btn btn-primary btn-shadow uppercase" href="https://mngm.com/faqs">Read more</a></p>

            </div>
        </div>
    </div>
</section>
    <script src="https://mngm.com/assets/vendor\tiny-slider\dist\tiny-slider.js"></script>
<h1 style="display: none;">mngm: Buy, Sell, Store and Delivery physical and fractional Gold and Silver.</h1>
</main>
<!-- Footer-->
<!-- Footer-->
<footer class="footer bg-dark pt-5 mt-5">
    <div class="container">
        <div class="row pb-2">
            <div class="col-md-8">
                <div class="row">
                    <div class="col-md-4 col-sm-6">
                        <div class="widget widget-links widget-light pb-2 mb-4">
                            <h3 class="widget-title text-light">Main links</h3>
                            <ul class="widget-list">
                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com">Home</a></li>
                                                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com/learn">Learn</a></li>
                            </ul>
                        </div>
                        <h3 class="widget-title text-light">Follow us</h3>
                        <div class="mb-3">
                                                            <a class="btn-social bs-light bs-facebook ms-2 mb-2" target="_blank"
                                    href="https://www.facebook.com/mngm-108655494799160/" aria-label="facebook"><i
                                        class="ci-facebook"></i></a>
                                                                                                                    <a class="btn-social bs-light bs-instagram ms-2 mb-2" target="_blank"
                                    href="https://www.instagram.com/hellomngm/" aria-label="instagram"><i
                                        class="ci-instagram"></i></a>
                                                                                </div>
                    </div>

                    <div class="col-md-4 col-sm-6">
                        <div class="widget widget-links widget-light pb-2 mb-4">
                            <h3 class="widget-title text-light">About</h3>
                            <ul class="widget-list">
                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com/faqs">FAQ</a></li>
                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com/about">About us</a></li>
                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com/contact-us">Contact us</a></li>
                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com/terms-and-conditions">Terms &amp; Conditions</a>
                                </li>
                                <li class="widget-list-item"><a class="widget-list-link"
                                        href="https://mngm.com/privacy-policy">Privacy policy</a>
                                </li>
                            </ul>
                        </div>
                    </div>

                                    </div>
            </div>

            <div class="col-md-4">
                <div class="widget widget-links widget-light pb-2 mb-3">
                    <!-- NEWSLETTER SUBSCRIPTION -->
                    <h3 class="widget-title text-light">Subscribe to newsletter</h3>
                    <div class="widget pb-2 mt-3 mr-4">
                        <form class="subscription-form validate"
                            action="https://goldnettrading.us1.list-manage.com/subscribe/post?u=5e17891f106a3dab46f9668ea&amp;id=0527182d16"
                            method="post" name="mc-embedded-subscribe-form">
                            <div class="input-group flex-nowrap"><i
                                    class="mx-1 ci-mail position-absolute top-50 translate-middle-y text-muted fs-base ms-3"></i>
                                <input class="form-control rounded-start" id="mce-EMAIL" type="email"
                                    name="EMAIL" placeholder="  Your email" required>
                                <button class="btn btn-primary btn-dark-blue btn-sm" type="submit" name="subscribe"
                                    style="padding:.625rem .875rem;">Subscribe</button>
                            </div>
                            <!-- VERIFICATION -->
                            <div style="position: absolute; left: -5000px;"
                                aria-hidden="true">
                                <input class="subscription-form-antispam" type="text"
                                    name="b_5e17891f106a3dab46f9668ea_0527182d16" tabindex="-1">
                            </div>
                            <div class="subscription-status"></div>
                            <div id="mce-responses" class="clear">
                                <div class="response" id="mce-error-response" style="display:none"></div>
                                <div class="response" id="mce-success-response" style="display:none"></div>
                            </div>
                        </form>
                    </div>

                    <div class="d-flex justify-content-start align-items-center">
                        <a href="https://goldnettrading.com/">
                            <img src="https://mngm.com/assets/img/mngm-footer-logo.png" loading="lazy" alt="Valu"
                                style="width: 288px !important;">
                        </a>
                    </div>

                </div>

                <div class="widget pb-2 mb-4">
                    <div class="d-flex flex-wrap">
                                                                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="pt-4 bg-darker">
        <div class="container footer__bottom">
            <div class="row">
                <div class="col-md-6">
                    <div
                        class="pb-4 fs-sm text-light opacity-60 text-center text-md-start footer__bottom__rights_text">
                        &copy; <b class="text-light">mngm</b> 2022. All rights reserved.</div>
                </div>
                <div class="col-md-6">
                    <div class="pb-4 fs-sm text-light opacity-60 text-center text-right footer__bottom__version_text">
                        Developed by <a href="http://inthekloud.com" aria-label="inthekloud"
                            target="_blank">
                            <img src="https://mngm.com/assets/img/inthekloud.svg" loading="lazy" alt="inthekloud logo"
                                style="width:80px;height: 35px;">
                        </a>
                        <span style="margin-left: 10px;margin-right: 10px;">Version 1.17.1 </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>
<!-- Back To Top Button-->
<a class="btn-scroll-top" aria-label="Top" href="#top" data-scroll><span
        class="btn-scroll-top-tooltip text-muted fs-sm me-2">Top</span><i
        class="btn-scroll-top-icon ci-arrow-up"> </i></a>
<script src="https://mngm.com/assets/vendor/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>

<!-- Modified Sign in / sign up modal-->
<div class="modal fade" id="signin-modal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content login-register">
            <div class="container">
                <div class="row">

                    <div class="col-md-6 order-2 login-register">
                        <div class="modal-header bg-secondary">
                            <button class="btn-close hide-tablet" type="button" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body tab-content py-5">
                            <div class="mb-3">
                                <div class="text-center">
                                    <i class="navbar-tool-icon ci-user-circle mb-4" style="font-size:3rem; color:#b59d4b!important;"></i>
                                    <h5 class="mb-4">Not a member yet?</h5>

                                    <a class="btn btn-primary btn-shadow" href="https://mngm.com/account/sign_up">Register</a>
                                </div>
                            </div>






                        </div>
                    </div>

                    <div class="col-md-6 order-1">
                        <div class="modal-header">
                            <ul class="nav nav-tabs card-header-tabs">
                                <li class="nav-item nav-link fw-medium active"><i class="ci-unlocked me-2 mt-n1"></i>Login</li>
                            </ul>
                            <button class="btn-close show-tablet" type="button" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body tab-content py-5">
                            <form class="needs-validation tab-pane fade show active" autocomplete="off" novalidate id="signIn">
                                <div class="mb-3">
                                    <label class="form-label" for="si-email">Phone / Email</label>
                                    <input class="form-control" type="text" name="username" id="si-email" placeholder="Phone / Email" required>
                                    <div class="invalid-feedback">Please provide a valid email address.</div>
                                </div>
                                <div class="mb-3">
                                    <label class="form-label" for="si-password">Password</label>
                                    <div class="password-toggle">
                                        <input class="form-control" name="password" type="password" id="si-password" required>
                                        <label class="password-toggle-btn" aria-label="Show/hide password">
                                            <input class="password-toggle-check" type="checkbox"><span class="password-toggle-indicator"></span>
                                        </label>
                                    </div>
                                </div>
                                <input type="hidden" name="_token" value="zRTAVWXzPPtF2QteXlQvZ31SBQ2zGiUQl9ULaDxm">
                                <div id="js-recaptchaView"></div>
                                <br>
                                <div id="js-loginErrorMessage"></div>
                                <div id="js-errors"></div>
                                <div class="lds-ring"></div>
                                <div class="mb-3 d-flex flex-wrap justify-content-between">
                                    <a class="fs-sm" href="https://mngm.com/account/forget-password">Forgot password?</a>
                                </div>
                                <button id="js-loginButton" class="btn btn-primary btn-shadow d-block w-100" type="button" onclick="checkRecaptcha ? verifyCaptcha(function () {Login('signIn')}) : Login('signIn')">Sign in</button>
                            </form>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>


<!-- Modified Sign in / sign up modal-->

<!-- scripts start -->
<script src="https://mngm.com/assets/js/app.js"></script>
<script src="https://mngm.com/assets/custom/accordion-dropdown/index.js"></script>






    <script>
    let messages = {
     
    };
</script>
<script>
    function getLocalizationFor(label) {
        if (label === null || label === '')
            return label;

        for (let key in messages)
            if (key === label)
                return messages[key];

        return UCWord(label.toString().toLowerCase().replaceAll('_', ' '));
    }

    function UCWord(text) {
        let arrOfWords = text.split(" ");

        for (let i = 0; i < text.split(" ").length; i++)
            arrOfWords[i] = arrOfWords[i].charAt(0).toUpperCase() + arrOfWords[i].slice(1);

        return arrOfWords.join(" ");
    }
</script>
<script>



let arabicNumbers  = [/٠/g, /١/g, /٢/g, /٣/g, /٤/g, /٥/g, /٦/g, /٧/g, /٨/g, /٩/g];

 function toEnglishDigits(str) {

  // if str is already English number
  if ((/^[A-Za-z][A-Za-z0-9]*$/.test(str))) return str;

  if(typeof str === 'string')
    for(var i=0; i<10; i++)
      str = str.replace(arabicNumbers[i], i);

    return str;
 };

function fullScreenEffect() {
    let table = $('.table-container-for-full-screen-effect');

    if (typeof table.html() !== 'undefined') {
        $('.table-container-for-full-screen-effect').toggleClass('full-screen-effect');
        $('.expand-icon').toggleClass('fa-compress');
    }
    
    $('#col-drop').removeClass('show');
}

function loadCitiesForGovernorateId(index , governorateId , cityId) {
        let url = 'https://mngm.com/account/addresses/addresses/cities/city';
        let data = new FormData();

        data.append('governorateId', governorateId);
        data.append('cityId', cityId);

        loading('#' + 'js-loadCities-' + index);
        ajaxPostRequest({
            url: url,
            requestBody: data,
            async:true,
            successCallbackFunction: function (res) {
                $('#' + 'js-loadCities-' + index).html(`${res.view}`);
            }
        });
    }

    function globalSweetAlertForYesOrNo(data) {
        if (typeof data.callBackConfirmFunction === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'callBackFunction undefined',
            });
            return false;
        }

        if (typeof data.title === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'title undefined',
            });
            return false;
        }

        if (typeof data.text === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'text undefined',
            });
            return false;
        }

        if (typeof data.confirmButtonText === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'confirmButtonText undefined',
            });
            return false;
        }

        let config = {
            title: data.title,
            text: data.text,
            icon: data.icon ?? 'success',
            showCancelButton: data.showCancelButton,
            confirmButtonColor: '#3085d6',
            cancelButtonColor: '#d33',
            confirmButtonText: data.confirmButtonText,
            cancelButtonText: 'Cancel',
            confirmButtonText: 'Confirm'
        }

        Swal.fire(config).then((result) => {
            if (result.isConfirmed) data.callBackConfirmFunction();
            else data.callBackCancelFunction();
        })
    }

    /***
     * This function accept object of data (title, callBackConfirmFunction)
     * @param  data
     * This param data.modalId is used when the function dealing with model , to fix the issue
     * @param  data.modalId
     */

     function showPopUpReasonWithSweetAlert(data){
        if (typeof data.callBackConfirmFunction === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'callBackFunction undefined',
            });
            return false;
        }

        if (typeof data.title === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'title undefined',
            });
            return false;
        }

        Swal.fire({
            title: data.title,
            text: 'Reason',
            html: "<textarea id='popupReason' class='form-control' rows='4'></textarea>",
            inputAttributes: {
                autocapitalize: 'off',
            },
            cancelButtonText:'Cancel',
            showCancelButton: true,
            confirmButtonText: 'Okay',
            showLoaderOnConfirm: true,
        }).then((result) => {
            if (result.isConfirmed && ($('#popupReason').val().trim().length !== 0)) {
                $('#js-orderEditReason').val($('#popupReason').val().trim())
                data.callBackConfirmFunction()
            } else if (result.isConfirmed && ($('#popupReason').val().trim().length === 0)){
                Swal.fire('Please insert a valid note', '', 'error')
            }
        })
    };


    function showPopUpSweetAlertWithAjax(data){
        if (typeof data.url === 'undefined') {
            Swal.fire({
                icon: 'error',
                title: 'Error',
                text: 'please provide url',
            });
            return false;
        }

        ajaxGetRequest({
            url: data.url,
            scrollTo: false,
            successCallbackFunction: function (html) {
                if (typeof data.callBackConfirmFunction === 'undefined') {
                    Swal.fire({
                        icon: 'error',
                        title: 'Error',
                        text: 'callBackFunction undefined',
                    });
                    return false;
                }
                if (typeof data.title === 'undefined') {
                    Swal.fire({
                        icon: 'error',
                        title: 'Error',
                        text: 'title undefined',
                    });
                    return false;
                }
                Swal.fire({
                    title: data.title,
                    html: html,
                    inputAttributes: {
                        autocapitalize: 'off',
                    },
                    cancelButtonText:'Cancel',
                    showCancelButton: true,
                    confirmButtonText: data.confirmButtonText,
                    showLoaderOnConfirm: true,
                    allowOutsideClick: data.allowOutsideClick,
                    allowEscapeKey: data.allowEscapeKey,
                    showCancelButton: data.showCancelButton,
                    }).then((result) => {
                       if (result.isConfirmed && $('#js-data-through-sweet-alert').val()) {
                        data.callBackConfirmFunction({
                            data:$('#js-data-through-sweet-alert').val(),
                        })
                    }
                })
            }
        });
    }

    function isNumberKey(evt) {
        let charCode = (evt.which) ? evt.which : evt.keyCode
        if (charCode === 46 || charCode === 110 || charCode === 190 || charCode === 109 || charCode === 189)
            return true;

        return (charCode > 31 && (charCode < 48 || charCode > 57) && (charCode < 96 || charCode > 105)) === false;
    }

    function acceptOnlyNumbers(evt) {
        let charCode = (evt.which) ? evt.which : evt.keyCode
        if (charCode === 109 || charCode === 107 || charCode === 187 || charCode === 189)
            return false;

        if (charCode === 46 || charCode === 110 || charCode === 190)
            return true;

        return (charCode >= 48 || charCode <= 57) && (charCode >= 96 || charCode <= 105);
    }

    function preventValueLessThanZero(value) {
        if (value <= 0)
            return 1;

        if (value > 99)
            return 99;

        return value;
    }

    function isSelectedFileSizeAccepted(elementId) {
        let defaultSize = parseInt('80000');
        let fileElement = document.getElementById(elementId);
        let isSelectedFileSizeAccepted = true;

        if (fileElement.files.length > 0) {
            for (let i = 0; i <= fileElement.files.length - 1; i++) {

                let fsize = fileElement.files.item(i).size;
                let file = Math.round((fsize / 1024));

                if (file > defaultSize)
                    isSelectedFileSizeAccepted = false;
            }
        }

        return isSelectedFileSizeAccepted;
    }

    function isSelectedFileMatchsTypes(elementId,arrayOfTypes = ['image/png','image/jpeg','image/jpg','application/pdf']){

        let fileElement = document.getElementById(elementId);

        if(typeof fileElement == 'undefined') return false;

        let fileType = fileElement.files.item(0)?.type;

        return arrayOfTypes.includes(fileType) === true;
    }

    function addErrorMessageToElementWithScrollTo(elementId,errorMessage='' , addBorderAndMessage = true){
        if (typeof elementId == 'undefined') return false;
        let id = '#'+elementId;

        $('.errorMessage').remove();

        if (addBorderAndMessage) {
            $(id).css({
                border:'1px solid red'
            })
        }

        if(errorMessage != '') {
            $(id).parent().append(`<span class="text-danger errorMessage">${errorMessage}</span>`);
        }

        scrollToEle(id);
    }

    function scrollToEle(id){
        if(!id) return;

        $('html, body').animate({
            scrollTop: $('#'+id).offset().top-200
        }, 1200);
    }

    function removeErrorMessageFromElement(elementId){
        if (typeof elementId == 'undefined') return false;
        $('.errorMessage').remove();
        $('#'+elementId).css({border:'none'})
    }


    function loading(ElementID, loadingMessage = '') {
        let message = loadingMessage === '' ? 'Loading' : loadingMessage;
        let loading = '<div class="row" style="color:#cdab34; margin: 30px"><div class="offset-4 col-md-4 text-center"><p><span><i style="vertical-align: inherit;" class="fa fa-2x fa-sun-o fa-spin"></i></span>' +
            '<span style="font-size: 20px;"> ' + message + '</span></p></div></div>';
        $(ElementID).html(loading);
    }

    // function loading(ElementID) {
    //     let loading = '<img src="https://mngm.com/assets/img/loading.gif" width="40" height="40" class="img-responsive" style="display: block; margin: 0 auto;">';
    //     $(ElementID).html(loading);
    //     // $(ElementID).html('<div class="lds-ring" style="display: block;"></div>');
    // }

    /***
     * This function accept json as param and using this keys (url, elementId, successCallbackFunction)
     * @param  data
     * @returns  {boolean||void}
     */
    function ajaxGetRequest(data) {
        if (typeof data.url === 'undefined') {
            alert("url not defined");
            return false;
        }

        if (typeof data.scrollTo !== 'undefined' && data.scrollTo === true) {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        }

        $.ajax({
            cache: false,
            url: data.url,
            type: 'get',
            data : data.requestBody,
            beforeSend: function () {
                if (typeof data.beforeCallbackFunction !== 'undefined' && data.beforeCallbackFunction !== null)
                    data.beforeCallbackFunction();

            },
            success: function (response) {
                if (typeof data.elementId !== 'undefined' && data.elementId !== null)
                    $('#' + data.elementId ).html(response);

                if (typeof data.successCallbackFunction !== 'undefined' && data.successCallbackFunction !== null)
                    data.successCallbackFunction(response);
            },
            error: function (response) {
                let res = JSON.parse(response.responseText);
                if (res.code === 401)
                    location.href = 'https://mngm.com/account/login';

                if (typeof data.errorCallbackFunction !== 'undefined' && data.errorCallbackFunction !== null)
                    data.errorCallbackFunction(response.responseJSON);
            }
        });
    }

    /***
     * This function accept json as param and using this keys (url, requestBody, elementId, usingModal, usingLoadingMask, usingNotify, successCallbackFunction)
     * @param  data
     * @returns  {boolean||void}
     */
    function ajaxPostRequest(data) {
        if (typeof data.url === 'undefined' || typeof data.requestBody === 'undefined') {
            alert("url or requestBody not defined");
            return false;
        }

        if (typeof data.async === 'undefined') {
            data.async = true;
        }

        return $.ajax({
            headers: { 'X-CSRF-TOKEN': 'zRTAVWXzPPtF2QteXlQvZ31SBQ2zGiUQl9ULaDxm' },
            type: 'POST',
            url: data.url,
            async: data.async,
            data: data.requestBody,
            dataType: 'json',
            processData: false,
            contentType: false,
            cache: false,
            beforeSend: function () {
                $('#js-errors').html('');
                $('.error-message').remove();
                $('.form-control').removeClass('error-input');

                if (typeof data.elementId !== 'undefined' && data.elementId !== null)
                    $('#' + data.elementId + ' .lds-ring').show();

                if (typeof data.buttonDisable !== 'undefined' && data.buttonDisable !== null && data.buttonDisable === false)
                    $('#' + data.elementId + ' .btn').prop('disabled', false);
                else
                    $('#' + data.elementId + ' .btn').prop('disabled', true);

            },
            success: function (response) {

                if (typeof data.successCallbackFunction !== 'undefined' && data.successCallbackFunction !== null)
                    data.successCallbackFunction(response);

                if (typeof data.elementId !== 'undefined' && data.elementId !== null && typeof data.usingModal !== 'undefined' && data.usingModal === true)
                    $('#' + data.elementId).modal('hide');

                if (typeof data.usingNotify !== 'undefined' && data.usingNotify === true && typeof response.message !== 'undefined')
                    notify(UCWord(response.message), 'success','fa fa-check');

                if (typeof data.elementId !== 'undefined' && data.elementId !== null)
                    $('#' + data.elementId + ' .lds-ring').hide();
            },
            error: function (response) {
                if (typeof data.errorCallbackFunction !== 'undefined' && data.errorCallbackFunction !== null)
                    data.errorCallbackFunction(response.responseJSON);

                if (typeof data.errorCallbackFunctionOnlyRunThisOne !== 'undefined' && data.errorCallbackFunctionOnlyRunThisOne !== null) {
                    data.errorCallbackFunctionOnlyRunThisOne(response);

                    return false;
                }

                $('#' + data.elementId + ' .lds-ring').hide();
                $('#' + data.elementId + ' .btn').prop('disabled', false);
                // console.log(response.responseText);
                let res = response.responseJSON;

                if (typeof data.usingNotify !== 'undefined' && typeof response.message !== 'undefined' && data.usingNotify === true && typeof response.message !== 'undefined')
                    notify(UCWord(response.message), 'danger','fa fa-check');

                if (typeof data.elementId !== 'undefined' && data.elementId !== null){
                    $('#' + data.elementId + ' .lds-ring').hide();
                    $('#' + data.elementId + ' .btn').prop('disabled', false);
                }

                if (res.code === 401)
                    location.href = 'https://mngm.com/account/login';

                if (res.hasOwnProperty('error')) {
                    $('#js-errors').html("<div class='alert alert-warning'>" + UCWord(res.error) + "</div>");
                    return false;
                }

                if (res.hasOwnProperty('errors')) {
                    let values = Object.values(res.errors);

                    for (let i = 0; i < values.length; i++)
                      if (values[i] !== 'undefined' && Array.isArray(values[i]))
                        $('#js-errors').append("<li class='text-warning'>" + getLocalizationFor(...values[i]) + "</li>");
                      else
                        $('#js-errors').append("<li class='text-warning'>" + getLocalizationFor(values[i]) + "</li>");

                    return false;
                }

                if (res.hasOwnProperty('message')) {
                    if (typeof res.message === 'object' && res.message !== null) {
                        let values = Object.values(res.message);
                        $('#js-errors').html('');

                        if (typeof values != 'undefined' && values.length)
                            if (values[0]?.length)
                                for (let i = 0; i < values[0].length; i++)
                                    $('#js-errors').append("<li class='text-warning'>" +  getLocalizationFor(UCWord(values[0][i])) + " </li>");
                            else return false;
                        else if (typeof values === 'object')
                            for (values in value)
                                $('#js-errors').append("<li class='text-danger'>" + getLocalizationFor(values[value]) + " </li>");
                        else
                            for (let i = 0; i < values.length; i++)
                                $('#js-errors').append("<li class='text-warning'>" +  getLocalizationFor(UCWord(values[i])) + " </li>");

                        return false;
                    }
                    $('#js-errors').html("<div class='alert alert-warning'>" + UCWord(res.message) + "</div>");
                    return false;
                }

                if (res.message.hasOwnProperty('error')) {
                    if (typeof res.message === 'object' && res.message !== null) {
                        $('#js-errors').html("<div class='alert alert-warning'>" + UCWord(res.message.error) + "</div>");
                        return false;
                    }
                    return false;
                }

                if (res.code === 400 && res.message === '') {
                    printErrorMsg(res.errors);
                } else if (res.code === 400 && res.message !== '') {
                    $('#js-errors').append("<li class='text-danger'>" + UCWord(res.message) + " </li>");
                } else {
                    errorHandlingForResponse(response.responseText);
                }
            }
        })
    }

    function printErrorMsg (msg) {
        $.each( msg, function( key, value ) {
            //   $(".print-error-msg").find("ul").append('<li>'+value+'</li>');
            let el = $(document).find('[name="'+key+'"]');
            el.addClass('error-input');
            el.after($('<div class="alert alert-warning">'+UCWord(value[0])+'</div>'));
            //  console.log(key);
        });
    }

    function errorHandlingForResponse(response) {
        let _response = JSON.parse(response);

        if (typeof _response === 'undefined')
            return false;

        if (_response.code === 401)
            location.href = 'https://mngm.com/account/login';

        if (_response.code === 422) {
            let values = Object.values(_response.errors);
            $('#js-errors').html('');

            if (typeof values === 'object')
                for (values in value)
                    $('#js-errors').append("<li class='text-danger'>" + values[value] + " </li>");
            else
                for (let i = 0; i < values.length; i++)
                    $('#js-errors').append("<li class='text-danger'>" + values[i] + " </li>");

            return false;
        }

        if (typeof _response.message.error !== 'undefined') {
            $('#js-errors').append("<div class='alert alert-warning'>" + UCWord(_response.message.error) + "</div>");
            return false;
        }


        if (typeof _response.message !== 'undefined')
            if (typeof _response.message !== 'undefined')
                $('#js-errors').append("<div class='alert alert-warning'>" + UCWord(_response.message) + "</div>");


        if (typeof _response.error !== 'undefined') {
            let values = Object.values(_response.error);
            $('#js-errors').html('');
            // $('#js-errors').append("<strong class='alert alert-warning'>Error messages</strong><br><br>");

            if (typeof values === 'object')
                for (values in value)
                    $('#js-errors').append("<li class='text-danger'>" + values[value] + " </li>");
            else
                for (let i = 0; i < values.length; i++)
                    $('#js-errors').append("<li class='text-danger'>" + UCWord(values[i]) + " </li>");
        }

        // if (typeof _response.code !== 'undefined')
        //     $('#js-errors').append('<br><strong>Server response: </strong>' + "<span style='color: red;'>" + _response.code + "</span><br/>");
    }

    function UCWord(text) {
        if (! Array.isArray(text)) {
            let arrOfWordsAfterReformat = text.split("_");

            for (let i = 0; i < arrOfWordsAfterReformat.length; i++)
                arrOfWordsAfterReformat[i] = arrOfWordsAfterReformat[i].charAt(0).toUpperCase() + arrOfWordsAfterReformat[i].slice(1);

            let arrOfWords = arrOfWordsAfterReformat.join(" ").split(" ");

            for (let i = 0; i < arrOfWords.length; i++) {
                arrOfWords[i] = arrOfWords[i].toLowerCase();
                arrOfWords[i] = arrOfWords[i].charAt(0).toUpperCase() + arrOfWords[i].slice(1);
            }

            return arrOfWords.join(" ");
        }

        return JSON.stringify(text);
    }
</script>
<script>
    $(function() {
        loadCart();
        let runEachSeconds = parseInt('4') * 1000;

            });

    /* cart */
    function addItemToCart(item_id,quantity) {
        let url = 'https://mngm.com/ajax/cart';
        let data = new FormData();
        data.append('item_id',item_id);
        data.append('quantity',quantity);

        ajaxPostRequest({
            url: url,
            requestBody: data,
            usingModal: false,
            successCallbackFunction: function (response) {
                notify(UCWord(response.message), 'success','fa fa-check');
                loadCart();
            },
            errorCallbackFunction: function (response) {
                notify(UCWord(response.message), 'danger');
                loadCart();
            },
        });
    }

    function notify(message, type, icon, scrollTop=true) {
        $.notify({
            icon: icon,
            message: '<div class="background-'+ type +'" style="display: flex; align-items: center; color: #333; font-size: 1rem;">' +
                    '<span style="flex-grow: 1;" class="font-weight-bolder">' + message + '</span>' +
                    '<i class="fa fa-close text-dark" aria-label="Close" onclick="$(this).fadeOut()"></i>' +
                    '</div>'
        }, {
            type: type,
            placement: {
                from: "bottom",
                align: "center"
            },
            delay: 1000,
            template: '<div onclick="$(this).fadeOut()" data-notify="container" class="cp col-11 col-md-4 alert alert-{0} shadow " role="alert" style="color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);">' +
                    '<span data-notify="icon"></span> <span data-notify="title">{1}</span> ' +
                    '<span data-notify="message">{2}</span>' +
                    '</div>'
        });

        if (scrollTop === true) {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        }
    }
    
    let ajaxProgressForUpdateCartItem;
    function updateCartItem(item_id, quantity) {
        let url = 'https://mngm.com/ajax/cart/update';
        let data = new FormData();
        data.append('item_id',item_id);
        data.append('quantity',quantity);

        console.log(window.ajaxProgressForUpdateCartItem);
        if (typeof window.ajaxProgressForUpdateCartItem !== 'undefined')
            window.ajaxProgressForUpdateCartItem.abort();

        window.ajaxProgressForUpdateCartItem = ajaxPostRequest({
            url: url,
            requestBody: data,
            usingModal: false,
        });
    }

    function removeItemFromCart(item_id) {
        let url = 'https://mngm.com/ajax/cart/remove';
        let data = new FormData();
        data.append('item_id',item_id);

        ajaxPostRequest({
            url: url,
            requestBody: data,
            usingModal: false,
            successCallbackFunction: loadCart
        });
    }

    function loadCart() {
        $( "#cart" ).load( "https://mngm.com/loadCart" );
    }

    var redColorForTickerPrice = "#fa1616";
    var greenColorForTickerPrice = "#0dcb0d";

    function loadFeedViaAjax() {
        let TICKER_INTERNATIONAL_PRICE_FEED_PROVIDER_PLATFORM_ID_VIA_AJAX = '';
        let TICKER_LOCAL_PRICE_FEED_PROVIDER_PLATFORM_ID_VIA_AJAX = '';

        ajaxGetRequest({
            url: "https://mngm.com/price/feeds",
            successCallbackFunction: function (res) {
                for (let i = 0, len = res.data.length; i < len ; i++) {
                    if (res.data[i].metalPriceType == "METAL_PRICE_TYPE_SWISS" && res.data[i].feedProviderPlatformId == TICKER_INTERNATIONAL_PRICE_FEED_PROVIDER_PLATFORM_ID_VIA_AJAX) {
                        let bidPrice = Math.round((res.data[i].bidPrice + Number.EPSILON) * 100) / 100;
                        let askPrice = Math.round((res.data[i].askPrice + Number.EPSILON) * 100) / 100;
                        let changePrice = parseFloat(res.data[i].change * 100).toFixed(2);

                        changeIconForTickerPrices(res.data[i].change, "#js-internationalChangeIcon");

                        $( "#js-internationalBidPrice" ).html(bidPrice);
                        $( "#js-internationalAskPrice" ).html(askPrice);
                        $( "#js-internationalChangePrice" ).html(changePrice + " % ").css("color", res.data[i].change > 0 ? greenColorForTickerPrice : redColorForTickerPrice);
                    } else if (res.data[i].metalPriceType == "METAL_PRICE_TYPE_EGY" && res.data[i].feedProviderPlatformId == TICKER_LOCAL_PRICE_FEED_PROVIDER_PLATFORM_ID_VIA_AJAX) {
                        let bidPrice = Math.round((res.data[i].bidPrice + Number.EPSILON) * 100) / 100;
                        let askPrice = Math.round((res.data[i].askPrice + Number.EPSILON) * 100) / 100;
                        let changePrice = parseFloat(res.data[i].change * 100).toFixed(2);

                        changeIconForTickerPrices(res.data[i].change, "#js-localChangeIcon");

                        $( "#js-localBidPrice" ).html(bidPrice);
                        $( "#js-localAskPrice" ).html(askPrice);
                        $( "#js-localChangePrice" ).html(changePrice + " % ").css("color", res.data[i].change > 0 ? greenColorForTickerPrice : redColorForTickerPrice);
                    }
                }
            }
        });
    }

    
    
    
    
    

    function changeIconForTickerPrices(changeValue, elementIdForChangeIcon) {
        $(elementIdForChangeIcon).removeClass();

        if (changeValue > 0)
            $(elementIdForChangeIcon).addClass("ci-arrow-up").css("color", greenColorForTickerPrice);
        else
            $(elementIdForChangeIcon).addClass("ci-arrow-down").css("color", redColorForTickerPrice);
    }

    function displayNumberWith2digits(num) {
        return num.toString().match(/^-?\d+(?:\.\d{0,2})?/)[0];
    }

    function returnOneDecimalPlace(num) {
        return num.toString().match(/^(\d)*(\.)?([0-9]{1})?/)[0];
    }

    function addToWishList(product_id) {
      let data = new FormData();
      data.append('product_id',product_id);

      // custom loading
      $('#'+product_id+'_icon_blade').html(`<div style="color:#cdab34" class="offset-4 col-md-4 text-center"> <p><span><i style="vertical-align: inherit; font-size:25px" class="fa fa-2x fa-sun-o fa-spin"></i></span></p></div>`)

      ajaxPostRequest({
          url: 'https://mngm.com/ajax/product/wishList/add',
          requestBody: data,
          usingModal: false,
          successCallbackFunction: function (res) {
              if(res.code === 200){
                  $('#'+product_id+'_icon_blade').html(res.view);
                  $('#product_'+product_id+'_btn').addClass('watchListActive');
              }

              if ( typeof refreshPage == 'function' ) {
                  refreshPage();
              }
          },
          errorCallbackFunction:function(res){
              $.notify({
                    icon : 'fa fa-check',
                    message: res.responseJSON.message
                },{
                    type: 'danger',
                    placement: {
                        from: "top",
                        align: "right"
                    },
                });
          }
      });
  }

  function phoneNumberValidation(inputId , countryCode = 'EGP') {

    if (inputId === 'undefined') {
        alert('inputId is undefined')
        return false;
    }

    let phoneNumeberValue = $('#'+inputId).val();


    if (countryCode === 'EGP') {
        if (phoneNumeberValue[0] != 0 || phoneNumeberValue[1] != 1 || phoneNumeberValue.length != 11) {
            Swal.fire({
                icon: 'error',
                confirmButtonText: 'Okay',
                text: 'please enter a valid phone number',
            });

            return false;
        }

    }

    return true

  }

  function createInputWithValueInBodyDom(id, value){
    if (typeof id === 'undefined' || typeof value === 'undefined') {
            Swal.fire({
                icon: 'error',
                confirmButtonText: 'Okay',
                text: 'please enter a valid id and value',
            });

            return false;
        }

        let input = document.getElementById(id) || document.createElement('input');

        if (typeof input === 'undefined') return;

       input.type = 'hidden'
       input.id = id;
       input.value = value;
       document.body.appendChild(input);

  }

  function checkUppercase(str){
    for (var i=0; i<str.length; i++){
      if (str.charAt(i) == str.charAt(i).toUpperCase() && str.charAt(i).match(/[a-z]/i)){
        return true;
      }
    }

    return false;
  };

//   function notify(config){
//             $.notify({
//                 icon : config.icon || 'fa fa-check',
//                 message: config.message || 'Done'
//             },{
//                 type: config.type || 'success',
//                     placement: {
//                         from: config.from || "top",
//                         align: config.align || "right"
//                     },
//             });
//   }

  function removeFromWishList(product_id , removeProductFromPageAfterRemoveItFromWishList = false) {
      let data = new FormData();
      data.append('product_id',product_id);

        // custom loading
        $('#'+product_id+'_icon_blade').html(`<div style="color:#cdab34" class="offset-4 col-md-4 text-center"> <p><span><i style="vertical-align: inherit; font-size:25px" class="fa fa-2x fa-sun-o fa-spin"></i></span></p></div>`)

      ajaxPostRequest({
          url: 'https://mngm.com/ajax/product/wishList/remove',
          requestBody: data,
          usingModal: false,
          successCallbackFunction: function (res) {
              if(res.code === 200){
                  $('#'+product_id+'_icon_blade').html(res.view);
                  $('#product_'+product_id+'_btn').removeClass('watchListActive');

                  if(removeProductFromPageAfterRemoveItFromWishList)
                      $('#'+product_id+'_product').remove();

                   if(document.querySelectorAll('.product-list').length === 0)
                        $('.showNoResultMessage').removeClass('d-none')

              }

              if ( typeof refreshPage == 'function' ) {
                  refreshPage();
              }
          },
          errorCallbackFunction:function(res){
              $.notify({
                    icon : 'fa fa-check',
                    message: res.responseJSON.message
                },{
                    type: 'danger',
                    placement: {
                        from: "top",
                        align: "right"
                    },
                });
          }
      });
  }


</script>
<script>
    let checkRecaptcha = false;
    let MAX_ATTEMPTS_TO_SIGN_IN_WITHOUT_CAPTCHA = '6';

    function Login(element) {
        let url = 'https://mngm.com/ajax/account/login';
        let signIn = document.getElementById(element);
        let data = new FormData(signIn);

        ajaxPostRequest({
            url: url,
            requestBody: data,
            successCallbackFunction: success_func,
            elementId : element,
            errorCallbackFunctionOnlyRunThisOne: function (xhr) {
                if (xhr.status === 419) {
                    $('#js-loginErrorMessage').append("<div class='alert alert-warning'>" + 'you will be redirected to the login page in seconds' + " </div>");
                    window.location.href = 'https://mngm.com/account/login';
                }

                if (xhr.status === 422)
                  $('#js-loginErrorMessage').html("<div class='alert alert-warning'>" + 'The Password Field Is Required' + "</div>");

                let response = JSON.parse(xhr.responseText);

                $('#js-loginButton').prop('disabled', false);
                $('#js-loginErrorMessage').html("<div class='alert alert-warning'>" + UCWord(response.message) + "</div>");

                if (response.countOfFailedLoginAttempts > MAX_ATTEMPTS_TO_SIGN_IN_WITHOUT_CAPTCHA) {
                    $('#recaptcha').remove();
                    $('#js-recaptchaView').html(response.recaptchaView);
                    checkRecaptcha = true;
                }

            }
        });
    }

    function verifyCaptcha(callBackFunction) {
        var response = grecaptcha.getResponse();
        if(response.length == 0) {
            document.getElementById('g-recaptcha-error').innerHTML = '<span style="color:red;">Please check &quot;I&#039;m not a robot&#039;&quot;</span>';
            return false;
        }

        document.getElementById('g-recaptcha-error').innerHTML = '';
        $('#js-errors').html('');
        callBackFunction();
        grecaptcha.reset();
    }

    function success_func(response) {
        $.notify({
            icon : 'fa fa-check',
            message: UCWord(response.message)
        },{
            type: 'success',
            placement: {
                from: "top",
                align: "right"
            },
        });

        // console.log(response.redirectUrl);
        location.href = response.redirectUrl;
        // else location.href = "https://mngm.com";

    }

    $(function(){
        var current = location.pathname;
        $('.nav li a').each(function(){
            var $this = $(this);
            // if the current path is like this link, make it active
            if($this.attr('href').indexOf(current) !== -1){
                $this.addClass('active');
            }
        })
    })

    function moneyFormat(money, withTags = true) {
        let formattedMoney = parseFloat(money).toFixed(2).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
        let moneyWithoutSeparator = formattedMoney.substr(0, formattedMoney.indexOf('.'));
        let numbersAfterSeparator = formattedMoney.substr(formattedMoney.indexOf('.'), 3);

        if (withTags)
            return moneyWithoutSeparator + '<small>' + numbersAfterSeparator + ' EGP </small>';
        else
            return moneyWithoutSeparator;
    }

    function moneyFormatWithoutAround(money, withTags = true) {
        let formattedMoney = parseFloat(money).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
        let moneyWithoutSeparator = formattedMoney.substr(0, formattedMoney.indexOf('.'));
        let numbersAfterSeparator = formattedMoney.substr(formattedMoney.indexOf('.'), 3);

        if (withTags)
            return moneyWithoutSeparator + '<small>' + numbersAfterSeparator + '</small>';
        else
            return moneyWithoutSeparator;
    }

    function isNumberKeyWithoutDot(evt) {
        let charCode = (evt.which) ? evt.which : evt.keyCode
        if (charCode === 109 || charCode === 189 || charCode === 8)
            return true;

        if (charCode === 190 || charCode === 110)
            return false;

        return (charCode > 31 && (charCode < 48 || charCode > 57) && (charCode < 96 || charCode > 105)) === false;
    }

    function checkLastCharAndAddChar(string, charNeedToCheck, addChar) {
        if (string.slice(-1) === charNeedToCheck)
            return string;

        return string + addChar;
    }

    function goToLink(link){
        window.location.href = link;
    }

    /**
     * elementBodyId, pageNumber, pageSize, URLWithoutQueryString, objectOfSearchParams = {}, updateURLUsingUpdatedURL = true
     * @param  objectOfPageParams
     */

    function goToPage(objectOfPageParams, allowPushStateURL = true, scrollTo = true) {
        if (checkIfVariableIsDefinedAndHasValue(objectOfPageParams, ['elementBodyId', 'pageNumber', 'pageSize', 'URLWithoutQueryString']) === false)
            return false;

        if (typeof objectOfPageParams.updateURLUsingUpdatedURL === 'undefined')
            objectOfPageParams.updateURLUsingUpdatedURL = true;

        if (typeof objectOfPageParams.objectOfSearchParams === 'undefined')
            objectOfPageParams.objectOfSearchParams = {};

        loading('#' + objectOfPageParams.elementBodyId, 'Loading page' + ' ' + objectOfPageParams.pageNumber);

        let queryString = '/' + objectOfPageParams.pageNumber + '?pageSize=' + objectOfPageParams.pageSize;
        let searchParams = new URLSearchParams(window.location.search);

        for (let key in Object(objectOfPageParams.objectOfSearchParams)) {
            if (searchParams.has(key)) {
                let value;

                if (typeof objectOfPageParams.objectOfSearchParams[key].useDefaultValue !== 'undefined')
                    if (objectOfPageParams.objectOfSearchParams[key].useDefaultValue)
                        value = objectOfPageParams.objectOfSearchParams[key].defaultValue;
                    else
                        value = (objectOfPageParams.objectOfSearchParams[key].value === '' || objectOfPageParams.objectOfSearchParams[key].value === null) ? searchParams.get(key) : objectOfPageParams.objectOfSearchParams[key].value;

                if (value)
                    queryString += `&${key}=${value}`;
            } else {
                let value = '';

                if (typeof objectOfPageParams.objectOfSearchParams[key].useDefaultValue !== 'undefined')
                    if (objectOfPageParams.objectOfSearchParams[key].useDefaultValue)
                        value = objectOfPageParams.objectOfSearchParams[key].defaultValue;
                    else
                        value = (objectOfPageParams.objectOfSearchParams[key].value === '' || objectOfPageParams.objectOfSearchParams[key].value === null) ? '' : objectOfPageParams.objectOfSearchParams[key].value;

                if (value)
                    queryString += `&${key}=${value}`;
            }
        }

        let url = objectOfPageParams.URLWithoutQueryString + queryString;

        if (objectOfPageParams.updateURLUsingUpdatedURL && (allowPushStateURL === true || allowPushStateURL === 'true'))
            window.history.pushState({}, document.title, url);

        ajaxGetRequest({
            url: url,
            elementId: objectOfPageParams.elementBodyId,
            scrollTo: scrollTo,
            successCallbackFunction: function (response) {
                $('#' + objectOfPageParams.elementBodyId).html(response.view);
            }});
    }
    function limitInputLength(input, maxLength) {
        if (input.value.length > maxLength) {
            input.value = input.value.slice(0, maxLength);
        }
    }


    function disableBtnWithTimer(data) {
        $(data?.id).prop('disabled', true);

        let button = $(data?.id);
        let oldBtnText = data?.messageAfterTimerEnd;
        let countdown = data?.timer

        button.prop('disabled', true);

        function updateTimer() {
            button.text('Retry in ' + countdown + 's');
            countdown--;

            if (countdown < 0) {
                button.prop('disabled', false);
                button.text(oldBtnText);
            } else {
                setTimeout(updateTimer, 1000);
            }
        }

        updateTimer();
    }



    function checkIfVariableIsDefinedAndHasValue(object, arrayOfKeys) {
        for (let index = 0, len = arrayOfKeys.length; index < len; index++)
            if (typeof object[arrayOfKeys[index]] === 'undefined') {
                alert("This attribute " + arrayOfKeys[index] + " is missing");
                return false;
            } else {
                if (object[arrayOfKeys[index]] === '' || object[arrayOfKeys[index]] === null) {
                    alert("This attribute " + arrayOfKeys[index] + " don't has value");
                    return false;
                }
            }

        return true;
    }


    function displayNameOfFileInput() {
        let fileLabel = document.querySelector('.itk_upload_label span');
        fileLabel.innerHTML = 'Upload Payment Documents';

        if (typeof $('#js-files')[0] != 'undefined' && $('#js-files')[0].files.length === 0)
        return false;

        fileLabel.innerHTML = $('#js-files')[0].files[0]?.name;
    }


    function disableBtnWithTimer(data) {
        $(data?.id).prop('disabled', true);

        let button = $(data?.id);
        let oldBtnText = data?.messageAfterTimerEnd;
        let countdown = data?.timer

        button.prop('disabled', true);

        function updateTimer() {
            button.text('Retry in ' + countdown + 's');
            countdown--;

            if (countdown < 0) {
                button.prop('disabled', false);
                button.text(oldBtnText);
            } else {
                setTimeout(updateTimer, 1000);
            }
        }

        updateTimer();
    }


    function debounce(func, wait, immediate, before, complete) {
        let timeout;

        return function () {
            const context = this;
            const args = arguments;

            const later = function () {
            timeout = null;
            if (!immediate) func.apply(context, args);
            if (typeof complete === 'function') complete();
            };

            const callNow = immediate && !timeout;
            clearTimeout(timeout);
            timeout = setTimeout(later, wait);

            if (callNow) func.apply(context, args);
            if (typeof before === 'function') before();
        };
    }

    function formatMoney(money=0) {
     return money.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
    }

    function updateCheckoutPagePrices(changeableTotalPrice) {
        ajaxGetRequest({
            url: 'https://mngm.com/ajax/cart/get',
            successCallbackFunction: (response) => {
                const { fees = {}, delivery = 0 } = response || {};                
                const paymentMethodFee = fees.creditCardFees ?? fees.smartWalletFees ?? fees.nbeFees ?? 0;
                const accumulatedFees = paymentMethodFee + delivery;
                const total = changeableTotalPrice + accumulatedFees;

                const $totalPriceForCart = $('#js-totalPriceForCart');
                $totalPriceForCart.html(moneyFormat(total));
            }
        });
    }

    function updateProductPrices() {
        let url = 'https://mngm.com/buy/updateProductsPrices';

        ajaxGetRequest({
            url: url,
            successCallbackFunction: function (response) {
                let totalPrice = 0;

                response.forEach(function (item) {
                    if (typeof $('#js-productAskPrice-' + item.id) !== 'undefined')
                        $('#js-productAskPrice-' + item.id).html(moneyFormat(item.askPrice));

                    if (typeof $('#js-cart-productAskPrice-' + item.id) !== 'undefined')
                        $('#js-cart-productAskPrice-' + item.id).html(moneyFormat(item.askPrice));

                    if (typeof $('#js-checkout-productAskPrice-' + item.id) !== 'undefined')
                        $('#js-checkout-productAskPrice-' + item.id).html(moneyFormat(item.askPrice) + ' EGP');

                    if (typeof $('#js-checkout-productPremiumAsk-' + item.id) !== 'undefined')
                        $('#js-checkout-productPremiumAsk-' + item.id).html(moneyFormat(item.askPriceWithoutOverheads * item.premiumAsk) + ' EGP');

                    if (typeof $('#js-productQuantity-' + item.id) !== 'undefined' && typeof $('#js-totalPrice-' + item.id) !== 'undefined') {
                        let quantity = parseInt($('#js-productQuantity-' + item.id).val());

                        $('#js-totalPrice-' + item.id).html(moneyFormat(quantity * item.askPrice));
                    }

                    if (typeof $('#js-checkout-productQuantity-' + item.id) !== 'undefined' && typeof $('#js-checkout-totalPriceForProduct-' + item.id) !== 'undefined') {
                        let quantity = parseInt($('#js-checkout-productQuantity-' + item.id).html());

                        $('#js-checkout-totalPriceForProduct-' + item.id).html(moneyFormat(quantity * item.askPrice) + ' EGP');
                    }

                    // calcl total premiumAsk
                    if (typeof $('#js-confirmOrder-productQuantity-' + item.id) !== 'undefined' && typeof $('#js-confirmOrder-productPremiumAsk-' + item.id) !== 'undefined') {
                        let quantity = parseInt($('#js-confirmOrder-productQuantity-' + item.id).html());

                        $('#js-confirmOrder-productPremiumAsk-' + item.id).html(moneyFormat(quantity * (item.askPriceWithoutOverheads * item.premiumAsk)) + ' EGP');
                    }

                    if (typeof $('#js-confirmOrder-productQuantity-' + item.id) !== 'undefined' && typeof $('#js-confirmOrder-totalPriceForProduct-' + item.id) !== 'undefined') {
                        let quantity = parseInt($('#js-confirmOrder-productQuantity-' + item.id).html());

                        $('#js-confirmOrder-totalPriceForProduct-' + item.id).html(moneyFormat(quantity * item.askPriceWithoutOverheads) + ' EGP');
                    }

                    // if (typeof $('#js-checkout-productAskPriceWithoutOverheads-' + item.id) !== 'undefined')
                    //     $('#js-checkout-productAskPriceWithoutOverheads-' + item.id).html(moneyFormat(item.askPriceWithoutOverheads) + ' EGP');

                    // cart page

                    if (typeof $('#js-productQuantity-' + item.id) !== 'undefined') {
                        let quantity = parseInt($('#js-productQuantity-' + item.id).val());

                        $('#js-cartPage-totalPriceForProduct-' + item.id).html(moneyFormat(quantity * item.askPriceWithoutOverheads) + ' EGP');
                    }

                    if (typeof $('#js-askPriceWithoutOverheads-' + item.id) !== 'undefined')
                        $('#js-askPriceWithoutOverheads-' + item.id).html(moneyFormat(item.askPriceWithoutOverheads) + ' EGP');

                    // end cart page

                });

                $('.js-cart-productPrice').each(function (index) {
                    let askPrice = parseFloat($(this).html().replace(/,/g, '').replace(/<small>/g, '').replace(/<\/small>/g, ''));
                    let quantity = 0;

                                              quantity = parseInt($('.js-cart-productQuantity').eq(index).html());
                    
                    totalPrice += askPrice * quantity;
                });

                $('#js-cart-totalPrice').html(moneyFormat(totalPrice));
                if (typeof $('#js-totalPriceForCart') !== 'undefined') {
                    updateCheckoutPagePrices(totalPrice)
                }

                if (typeof $('#js-totalCart') !== 'undefined')
                    $('#js-totalCart').html(moneyFormat(totalPrice) + ' EGP');

                if (typeof $('#js-totalPriceForCartSubTotal') !== 'undefined')
                    $('#js-totalPriceForCartSubTotal').html(moneyFormat(totalPrice) + ' EGP');

                if (typeof $('#js-subTotal') !== 'undefined' && typeof $('.js-productQuantity') !== 'undefined')
                    $('#js-subTotal').html($('.js-productQuantity').length);
            }
        });
    }

    function openLinkWithLoading(url='', id = '') {
        if (id !== '') loading(`#${id}`, 'Loading');
        if (url !== '') {
            const newWindow = window.open(url, '_blank', 'noopener,noreferrer');
            if (newWindow) newWindow.opener = null;
        }
    }

    function swapChildWithOrder(containerId, childId, order) {
        let $container = $('#' + containerId);

        if ($container.length) {
            let $childElement = $('#' + childId);

            if ($childElement.length) {
                let $childElements = $container.children();
                
                if (order >= 0 && order < $childElements.length) 
                    $childElement.insertBefore($childElements.eq(order));
                 else 
                    console.error('Invalid order value');
    
            } else {
                console.error('Child element not found');
            }
        } else {
            console.error('Container element not found');
        }
    }

    function calculateFractionalMetal(e, minimumFractionalAmount, minAmount, weightId, amountId = null, checkoutBtnId = null, convertFrom, callBackFunction = null) {
        const weightElem = $('#' + weightId);
        const weight = weightElem.val();

        const amountElem = amountId ? $('#' + amountId) : null;
        const checkoutBtnElem = checkoutBtnId ? $('#' + checkoutBtnId) : null;

        const isDecimalNumberValid = howManyNumbersAfterDecimalPoint(weight) <= howManyNumbersAfterDecimalPoint(minimumFractionalAmount);

        if ((e !== null) && (convertFrom === 'amount') && (+e.target.value <= minAmount)) {
            Swal.fire({
                icon: 'warning',
                title: 'warning',
                text: 'Please enter valid amount above' + ` (${minAmount})`,
            });
            e.target.value = 1;
            calculateFractionalMetal(null, minimumFractionalAmount, minAmount, weightId, amountId, checkoutBtnId, convertFrom, callBackFunction);
            return false;
        }

        if (e !== null && +e.target.value <= 0) {            
            if (amountElem) amountElem.val('0');
            if(weightElem) weightElem.val(minimumFractionalAmount);            
            if (checkoutBtnElem) checkoutBtnElem.prop('disabled', true);
            // calculateFractionalMetal(null, minimumFractionalAmount, minAmount, weightId, amountId, checkoutBtnId, convertFrom, callBackFunction);
            return false;
        }

        if (e !== null && isDecimal(+weight) && !isDecimalNumberValid) {
            weightElem.val(minimumFractionalAmount);
            calculateFractionalMetal(null, minimumFractionalAmount, minAmount, weightId, amountId, checkoutBtnId, convertFrom, callBackFunction);
            return false;
        }

        if (+weight < 0)
            weightElem.val(0);

        if (amountElem && amountElem.val() < 0) // Only if amountElem exists
            amountElem.val(0);

        // Optional callback function
        if (typeof callBackFunction === 'function') {
            callBackFunction();
        }
    }

    function howManyNumbersAfterDecimalPoint(value){
        const string = String(value);
        return string?.split(".")[1]?.length;
    }

    function reloadMainPage(){
        location.reload();
    }

    function isDecimal(num) {
      return !Number.isInteger(num);
    }

    function isNumberHasMoreThanTwoDecimalPlaces(num){
       return String(num).split(".")[1]?.length >= 2;
    }

    document.addEventListener("DOMContentLoaded", function() {
        document.querySelectorAll('.btn-link').forEach(button => {
            button.addEventListener('click', function() {
                let icon = this.querySelector('i');
                if (icon.classList.contains('fa-chevron-down')) {
                    icon.classList.remove('fa-chevron-down');
                    icon.classList.add('fa-chevron-up');
                } else {
                    icon.classList.remove('fa-chevron-up');
                    icon.classList.add('fa-chevron-down');
                }
            });
        });
    });

    function updatePnlPriceColor(elementClass='pnl-price') {
        const $elements = $('.' + elementClass);
        $elements.each(function () {
            const $element = $(this);
            const value = parseFloat($element.text().replace(/[^\d.-]/g, ''));
            if (!isNaN(value)) {
                const color = value < 0 ? '#fa1616' : '#0dcb0d';
                $element.attr('style', (i, style) => (style || '') + `color: ${color} !important; font-weight:bolder;`);
            }
        });
    }

    function addActiveClassForActiveTab(elementId) {
        $('.nav-item>a.active').removeClass('active');
        $('#' + elementId).addClass('active');
    }

</script>
    <script src="https://www.google.com/recaptcha/api.js?hl=en" async defer></script>
<!-- scripts end -->

<!-- meta footer -->
<script>
    const isSiteArabic = '';
    const oneDayInMilliseconds = 24 * 60 * 60 * 1000;
    function renderChart(metalName, metalData, chartContainerId) {
        let series = [];
            metalData.sort((a, b) => new Date(a.date) - new Date(b.date));

        const purities = [...new Set(metalData.map(item => item.purityId))];
        
        purities.forEach(purity => {
            let purityData = metalData
                .filter(item => item.purityId === purity)
                .map(item => [new Date(item.date).getTime() + oneDayInMilliseconds, item.close]);  
            
            const foundedMetalData = metalData.find(item => item.purityId === purity);
            const purityName = isSiteArabic ? foundedMetalData.purityNameAr : foundedMetalData.purityNameEn;

            series.push({
                name: `${metalName} - ${purityName}`,
                data: purityData,
            });
        });

        Highcharts.chart(chartContainerId, {
            chart: {
                type: 'line',
                zoomType: 'x',
                panning: true
            },
            title: null,
            xAxis: {
                crosshair: true,
                type: 'datetime',
                title: false,
                plotBands: [{
                    id: 'mask-before',
                    from: new Date(metalData[0].date).getTime(),  // Convert first date to Unix timestamp
                    to: new Date(metalData[metalData.length - 1].date).getTime(),  // Convert last date to Unix timestamp
                    color: '#fff'
                }]
            },
            yAxis: {
                title: {
                    text: null
                }
            },
            series: series,
            tooltip: {
                shared: true,
                headerFormat: '<span style="font-size:12px"><b>{point.key}</b></span><br/>',
                pointFormatter: function () {
                    const pointDate = new Date(this.x);
                    const formattedDate = pointDate.toISOString().split('T')[0];
                    return `<span style="color:${this.color}">\u25CF</span> ${this.series.name}: <b>${this.y?.toFixed(2)} EGP</b> (${formattedDate})<br/>`;
                }
            },
            credits: {
                enabled: false
            },
            exporting: {
                enabled: true,
                buttons: {
                    contextButton: {
                        enabled: false
                    }
                }
            },
            lang: {
                resetZoom: "Reset zoom",
                resetZoomTitle: "Reset zoom level 1:1"
            }
        });
    }

    Highcharts.getJSON('https://mngm.com/ajax/chart', data => {
        
        const goldData = data.filter(item => item.metalId === 'xau');
        const goldName = goldData.length ? (isSiteArabic ? goldData[0].metalNameAr : goldData[0].metalNameEn) : 'Gold';
        
        renderChart(goldName, goldData, 'gold_chart_container');

        $('#silver-tab').on('shown.bs.tab', function () {
            const silverData = data.filter(item => item.metalId === 'xag');

            if (silverData.length) {
                const silverName = isSiteArabic ? silverData[0].metalNameAr : silverData[0].metalNameEn;
                $('#silver_chart_container').html('');
                renderChart(silverName, silverData, 'silver_chart_container');
            }
        });

        $('#gold-tab').on('shown.bs.tab', function () {
            $('#gold_chart_container').html('');
            renderChart(goldName, goldData, 'gold_chart_container');
        });
    });

</script>
<!-- meta footer -->

</body>
</html>
                               

Whois info of domain

Domain Name: MNGM.COM
Registry Domain ID: 636980321_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Updated Date: 2022-10-20T05:44:11Z
Creation Date: 2006-10-18T11:21:08Z
Registry Expiry Date: 2026-10-18T11:21:08Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: 480-624-2505
Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
Domain Status: clientRenewProhibited https://icann.org/epp#clientRenewProhibited
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
Name Server: NS19.DOMAINCONTROL.COM
Name Server: NS20.DOMAINCONTROL.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of whois database: 2025-05-13T09:08:31Z <<<
For more information on Whois status codes, please visit https://icann.org/epp
NOTICE: The expiration date displayed in this record is the date the
TERMS OF USE: You are not authorized to access or query our Whois
by the following terms of use: You agree that you may use this Data only
to: (1) allow, enable, or otherwise support the transmission of mass