<!DOCTYPE html>
<html lang="en">
<head>
  {% include "pdf_viewer/viewer_base/meta.html" %}

  <link rel="stylesheet" href="{{ viewer_css_url or '/assets/css/pdf_viewer/viewer.css' }}">

  {% if viewer_theme_vars %}
  <style>
    :root {
      {{ viewer_theme_vars | safe }}
    }
  </style>
  {% endif %}
</head>
<body>
  <script>
    window.__VIEWER_CONFIG__ = {{ viewer_config_json | safe }};
  </script>

  {% include "pdf_viewer/viewer_base/body.html" %}

  <script src="{{ viewer_js_url or '/assets/js/pdf_viewer/page_viewer.js' }}" defer></script>
</body>
</html>