2021-12-24 18:03:23 -08:00
|
|
|
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
2023-08-06 20:02:30 -07:00
|
|
|
<%@taglib uri="jakarta.tags.functions" prefix="fn" %>
|
|
|
|
<%@taglib uri="jakarta.tags.core" prefix="c"%>
|
2021-12-24 18:03:23 -08:00
|
|
|
|
|
|
|
<!DOCTYPE html>
|
2022-11-20 00:02:43 -08:00
|
|
|
<html lang="${fn:substring(locale,0,2)}">
|
2021-12-24 18:03:23 -08:00
|
|
|
<head>
|
2023-08-06 20:35:42 -07:00
|
|
|
<base href="${requestScope['site.baseurl']}/static/webapp/" />
|
2021-12-24 18:03:23 -08:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
<meta charset="utf-8" />
|
2022-09-11 16:23:25 -07:00
|
|
|
|
2022-11-20 07:38:36 -08:00
|
|
|
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;600&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'" crossorigin>
|
2023-07-28 22:46:38 -07:00
|
|
|
<%@ include file="pageHeaders.jsf" %>
|
2021-12-26 09:23:51 -08:00
|
|
|
|
2021-12-24 18:03:23 -08:00
|
|
|
<script>
|
|
|
|
window.serverconfig = {
|
2022-04-13 19:16:51 -03:00
|
|
|
apiBaseUrl: '${requestScope['site.baseurl']}',
|
2021-12-24 18:03:23 -08:00
|
|
|
analyticsAccount: '${requestScope['google.analytics.account']}',
|
|
|
|
clientType: 'rest',
|
|
|
|
recaptcha2Enabled: ${requestScope['google.recaptcha2.enabled']},
|
2022-12-13 02:36:58 +00:00
|
|
|
recaptcha2SiteKey: '${requestScope['google.recaptcha2.siteKey']}',
|
2022-12-17 17:33:59 -08:00
|
|
|
googleOauth2Url: '${requestScope['security.oauth2.google.url']}'
|
2021-12-24 18:03:23 -08:00
|
|
|
};
|
|
|
|
|
2023-07-30 22:31:24 -07:00
|
|
|
<!-- Hack to force view selection on react to move all the UI to react-->
|
|
|
|
window.errorMvcView = '${requestScope['exception']!=null?(fn:indexOf(requestScope['exception'],'SecurityException') gt 1?'securityError':'unexpectedError'):''}';
|
2021-12-24 18:03:23 -08:00
|
|
|
</script>
|
2023-07-30 22:31:24 -07:00
|
|
|
|
2021-12-24 18:03:23 -08:00
|
|
|
<c:if test="${requestScope['google.analytics.enabled']}">
|
2022-09-12 09:46:02 -07:00
|
|
|
<!-- Google Ads Sense Config. Lazy loading optimization -->
|
|
|
|
<script type="text/javascript">
|
|
|
|
function downloadJsAtOnload() {
|
|
|
|
setTimeout(function downloadJs() {
|
|
|
|
var element = document.createElement("script");
|
|
|
|
element.setAttribute("data-ad-client", "ca-pub-4996113942657337");
|
|
|
|
element.async = true;
|
|
|
|
element.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
|
|
|
|
document.body.appendChild(element);
|
2022-11-20 09:28:38 -08:00
|
|
|
}, 50);
|
2022-09-12 09:46:02 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
window.addEventListener("load", downloadJsAtOnload, false);
|
|
|
|
</script>
|
2021-12-24 18:03:23 -08:00
|
|
|
</c:if>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
|
|
<div id="root"></div>
|
2022-01-12 16:09:28 -08:00
|
|
|
|
2023-08-06 20:35:42 -07:00
|
|
|
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/vendors.bundle.js" crossorigin="anonymous" async></script>
|
2022-11-20 00:52:19 -08:00
|
|
|
<script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/app.bundle.js" crossorigin="anonymous" async></script>
|
2021-12-24 18:03:23 -08:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|