<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <meta name="robots" content="noindex" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <link rel="apple-touch-icon" sizes="180x180" href="/app/assets/img/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/app/assets/img/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/app/assets/img/favicon-16x16.png">
    <link rel="manifest" href="/app/assets/img/site.webmanifest">
    <link rel="mask-icon" href="/app/assets/img/safari-pinned-tab.svg" color="#62a8e6">
    <link rel="shortcut icon" href="/app/assets/img/favicon.ico">
    <meta name="msapplication-TileColor" content="#2d89ef">
    <meta name="msapplication-config" content="/app/assets/img/browserconfig.xml">
    <meta name="theme-color" content="#ffffff">
    <meta name="apple-mobile-web-app-status-bar-style" content="default" />
    <meta name="base-href" content="{{{baseHref}}}" />
    <meta name="uri" content="{{{uri}}}" />

    <link rel="icon" href="{{{favicon}}}" />

    {{{embedCode}}}

    <title>{{{applicationName}}}</title>

    <base href="{{{baseHref}}}" />

    <script type="application/json" id="_metabaseBootstrap">
      {{{bootstrapJSON}}}
    </script>

    <script type="application/json" id="_metabaseLocalization">
      {{{localizationJSON}}}
    </script>

    <!-- If you modify this script, make sure you update the whitelisted Content-Security-Policy hash in metabase.middleware.security -->
    <script type="text/javascript">{{{bootstrapJS}}}</script>
  </head>

  <body>
    <div id="root"></div>

    <!-- If Google Auth is enabled load the Google Auth JS lib -->
    {{#enableGoogleAuth}}
      <script type="text/javascript" src="https://apis.google.com/js/api:client.js" async></script>
    {{/enableGoogleAuth}}

    <!-- Google Analytics -->
    <!-- If you modify this script, make sure you update the whitelisted Content-Security-Policy hash in metabase.middleware.security -->
    {{#enableAnonTracking}}
      <script type="text/javascript">{{{googleAnalyticsJS}}}</script>
    {{/enableAnonTracking}}
  </body>
</html>
