}
</head>
<body scroll="no" class="standard-fonts">
<div class="body-margins" dir="ltr">
<div dir="{HTML_DIRECTION}">
<div class="row logo inline-block">
{MSLOGO}
</div>
<header>
<h1 id="errorTitle" class="row text-title inline-block">{ERROR_TITLE}</h1>
<h2 id="errorMessage" role="alert" aria-relevant="text" aria-live="assertive" aria-atomic="true"
class="row error-body inline-block">{ERROR_MESSAGE}</h2>
</header>
<div class="row inline-block no-margin-top-bottom button-container">
<input id="tryAgain" role="button" type="{RETRY_BUTTON_INPUT_TYPE}" class="btn-block btn-primary"
onclick="window.location='{RETRY_REDIRECT_URI}'; this.disabled=true" value="{RETRY_BUTTON_TEXT}">
<input id="close" role="button" type="{CLOSE_BUTTON_INPUT_TYPE}" class="btn-block {CLOSE_BUTTON_CLASS}"
onclick="window.location='{CLOSE_REDIRECT_URI}'; this.disabled=true" value="{CLOSE_BUTTON_TEXT}">
</div>
</div>
</div>
<div id="debugDetailsDisplay" class="debug-details" role="dialog" style="display: {ERROR_DIAG_DISPLAY_TYPE};" aria-label="This dialog contains debugging information like correlation ID, timestamp, and device ID">
<a id="closeDebug" class="close-debug" href="#" role="button" type="button" aria-label="Close error details">&times;</a>
<div class="debug-details-header">
<h1 id="debugDetailsHeader" class="debug-details-header-text">{DEBUG_TITLE}</h1>
<h2 id="debugDetailsContent" class="debug-details-content-text">{DEBUG_MESSAGE}</h2>
<a id="copyInfo" class="debug-details-content-text-link" href="#"  role="button" type="button">{DEBUG_COPY_TEXT}</a>
<h2 id="copyStatus" class="debug-details-content-text-copy-status"> &#10004 {DEBUG_COPIED_TEXT}</h2>
<div style="clear: both;"></div>
</div>
<div id="debugInfo" class="debug-details-content">
<h2 id="corrId" class="debug-details-content-text"><strong>Correlation Id: </strong>{CORRELATION_ID}</h2>
<h2 id="timeStamp" class="debug-details-content-text"><strong>Timestamp: </strong>{TIMESTAMP}</h2>
<h2 id="dpti" class="debug-details-content-text"><strong>DPTI: </strong>{DPTI}</h2>
<h2 id="errorTag" class="debug-details-content-text"><strong>Error Tag: </strong>{ERROR_TAG}</h2>
<h2 id="errorCode" class="debug-details-content-text"><strong>Error Code: </strong>{ERROR_CODE}</h2>
</div>
</div>
<footer class="footer text-footer">
<div>
<div class="text-copyright inline-block">
<span>{COPYRIGHT_TEXT}</span>
</div>
<a id="privacy" class="text-privacy" href="{PRIVACY_URI}">{PRIVACY_TEXT}</a>
<a id="openDebug" class="ellipsis inline-block text-ellipses" href="#" aria-expanded="false" aria-label="Click here for troubleshooting information" role="button" type="button">&#9679; &#9679; &#9679;</a>
</div>
</footer>
<script>document.getElementById("close").focus();document.getElementById("tryAgain").focus();var debug=document.getElementById("debugDetailsDisplay");var debugBtn=document.getElementById("openDebug");var closeDebugBtn=document.getElementById("closeDebug");var copyStatus=document.getElementById("copyStatus");var debugOpened={ERROR_DIAG_DISPLAY_BOOL};debugBtn.onclick=function(){{if(debugOpened){{debug.style.display="none";debugOpened=false;copyStatus.style.display="none";debugBtn.setAttribute('aria-expanded','false');}}
else{{debug.style.display="block";debugOpened=true;debugBtn.setAttribute('aria-expanded','true');closeDebugBtn.focus();}}}}
copyInfo.onclick=function(){{var debugInfo=document.getElementById("debugInfo");if(window.getSelection){{var selection=window.getSelection();var range=document.createRange();range.selectNodeContents(debugInfo);selection.removeAllRanges();selection.addRange(range);document.execCommand("Copy");selection.removeAllRanges();}}
else if(document.body.createTextRange){{var range=document.body.createTextRange();range.moveToElementText(debugInfo);range.select();document.execCommand("copy");document.selection.empty();}}
copyStatus.style.display="block";}}
closeDebugBtn.onclick=function(){{debug.style.display="none";copyStatus.style.display="none";debugOpened=false;debugBtn.focus();debugBtn.setAttribute('aria-expanded','false');}}</script>
</body>
</html>