<commit_before>{% set logged = request.user.is_authenticated() %}
{% set in_devhub = request.path.startswith('/developers/') %}
<!DOCTYPE html>
<html lang="{{ LANG }}" dir="{{ DIR }}">
  <head>
    <meta charset="utf-8">
    {% if not settings.ENGAGE_ROBOTS %}
      <meta name="robots" content="noindex">
    {% endif %}
    <meta name="viewport" content="width=device-width">
    <meta name="theme-color" content="#fff">
    {% block extrameta %}{% endblock %}
    <title>{% block title %}{{ _('Firefox Marketplace') }}{% endblock %}</title>

    <link rel="shortcut icon" type="image/x-icon"
          href="{{ MEDIA_URL }}img/mkt/logos/128.png" sizes="128x128">
    <link rel="shortcut icon" type="image/x-icon"
          href="{{ MEDIA_URL }}img/mkt/logos/64.png" sizes="64x64">
    <link rel="shortcut icon" type="image/x-icon"
          href="{{ MEDIA_URL }}img/mkt/logos/32.png" sizes="32x32">

    {{ css('mkt/devreg') }}
    {% block css_extra %}{% endblock %}
    {% block extrahead %}{% endblock %}

    {% block site_css %}
      <!--[if lt IE 9]>
        <script src="{{ media('js/lib/iepp.min.js') }}"></script>
      <![endif]-->
      <!--[if lte IE 9]>
        <link rel="stylesheet" href="{{ media('css/legacy/ie9.css') }}">
      <![endif]-->
    {% endblock %}

    {% if logged %}
      <meta name="csrf" content="{{ csrf_token }}">
    {% endif %}
  </head>
  <body class="html-{{ DIR }} moz-header-slim {% block bodyclass %}{% endblock %}"
        data-user="{{ user_data(user)|json }}"
        data-readonly="{{ settings.READ_ONLY|json }}"
        data-media-url="{{ MEDIA_URL }}"
      {% if waffle.switch('firefox-accounts') %}
        {% set fxa_state, fxa_url = fxa_auth_info() %}
        data-fxa-state="{{ fxa_state }}"
        data-fxa-login-url="{{ fxa_url }}"
        data-fxa-auth-url="{{ url('fxa-account-login') }}"
        {% if not user.is_authenticated() or user.can_migrate_to_fxa() %}
          data-fxa-migrate-url="{{ settings.FXA_MIGRATION_URL }}"
        {% endif %}
      {% else %}
        data-login-url="{{ url('account-login') }}"
        data-persona-url="{{ settings.BROWSERID_JS_URL }}"
        data-native-persona-url="{{ settings.NATIVE_BROWSERID_JS_URL }}"
        data-persona-unverified-issuer="{{ settings.UNVERIFIED_ISSUER }}"
      {% endif %}
        data-collect-timings="{{ url('mkt.timing.record') }}:{{ collect_timings_percent }}"
        data-locales="{{ ','.join(settings.LANGUAGE_URL_MAP.keys()) }}"
        {% block bodyattrs %}{% endblock %}>
    <section id="site-header">
      {% block site_header %}
        <div class="pad upper-header">
          {% block masthead %}
            <h1 class="logo"><a href="{{ url('ecosystem.landing')|urlparams(src='nav_logo') }}">
              {{ _('Firefox Marketplace Developers') }}</a></h1>
          {% endblock %}
          {% if in_devhub %}
            <div class="devhub-links{{ ' logged' if logged }}">
              <a href="//developer.mozilla.org/Apps/Reference">
                {{- _('API Reference') }}</a>
              <a href="{{ url('ecosystem.support') }}">{{ _('Support') }}</a>
              <a href="{{ url('submit.app') }}" class="submit">
                {{- _('Submit an app') }}</a>
              <a href="{{ url('mkt.developers.apps') }}">
                {{ _('My Submissions') }}</a>
              <a href="{{ url('home') }}" class="submit">
                {{- _('Marketplace') }}</a>


              {% if not logged %}
              <a href="#" class="browserid">{{ _('Sign In') }}</a>
              {% endif %}
            </div>
          {% endif %}
          {% if logged %}
            <div class="account-links reviewers">
              <a href="/settings"
                 class="header-button icon settings" title="{{ _('Settings') }}"></a><commit_msg>Fix link to MDN in non-english locales (bug 1083580)<commit_after>{% set logged = request.user.is_authenticated() %}
{% set in_devhub = request.path.startswith('/developers/') %}
<!DOCTYPE html>
<html lang="{{ LANG }}" dir="{{ DIR }}">
  <head>
    <meta charset="utf-8">
    {% if not settings.ENGAGE_ROBOTS %}
      <meta name="robots" content="noindex">
    {% endif %}
    <meta name="viewport" content="width=device-width">
    <meta name="theme-color" content="#fff">
    {% block extrameta %}{% endblock %}
    <title>{% block title %}{{ _('Firefox Marketplace') }}{% endblock %}</title>

    <link rel="shortcut icon" type="image/x-icon"
          href="{{ MEDIA_URL }}img/mkt/logos/128.png" sizes="128x128">
    <link rel="shortcut icon" type="image/x-icon"
          href="{{ MEDIA_URL }}img/mkt/logos/64.png" sizes="64x64">
    <link rel="shortcut icon" type="image/x-icon"
          href="{{ MEDIA_URL }}img/mkt/logos/32.png" sizes="32x32">

    {{ css('mkt/devreg') }}
    {% block css_extra %}{% endblock %}
    {% block extrahead %}{% endblock %}

    {% block site_css %}
      <!--[if lt IE 9]>
        <script src="{{ media('js/lib/iepp.min.js') }}"></script>
      <![endif]-->
      <!--[if lte IE 9]>
        <link rel="stylesheet" href="{{ media('css/legacy/ie9.css') }}">
      <![endif]-->
    {% endblock %}

    {% if logged %}
      <meta name="csrf" content="{{ csrf_token }}">
    {% endif %}
  </head>
  <body class="html-{{ DIR }} moz-header-slim {% block bodyclass %}{% endblock %}"
        data-user="{{ user_data(user)|json }}"
        data-readonly="{{ settings.READ_ONLY|json }}"
        data-media-url="{{ MEDIA_URL }}"
      {% if waffle.switch('firefox-accounts') %}
        {% set fxa_state, fxa_url = fxa_auth_info() %}
        data-fxa-state="{{ fxa_state }}"
        data-fxa-login-url="{{ fxa_url }}"
        data-fxa-auth-url="{{ url('fxa-account-login') }}"
        {% if not user.is_authenticated() or user.can_migrate_to_fxa() %}
          data-fxa-migrate-url="{{ settings.FXA_MIGRATION_URL }}"
        {% endif %}
      {% else %}
        data-login-url="{{ url('account-login') }}"
        data-persona-url="{{ settings.BROWSERID_JS_URL }}"
        data-native-persona-url="{{ settings.NATIVE_BROWSERID_JS_URL }}"
        data-persona-unverified-issuer="{{ settings.UNVERIFIED_ISSUER }}"
      {% endif %}
        data-collect-timings="{{ url('mkt.timing.record') }}:{{ collect_timings_percent }}"
        data-locales="{{ ','.join(settings.LANGUAGE_URL_MAP.keys()) }}"
        {% block bodyattrs %}{% endblock %}>
    <section id="site-header">
      {% block site_header %}
        <div class="pad upper-header">
          {% block masthead %}
            <h1 class="logo"><a href="{{ url('ecosystem.landing')|urlparams(src='nav_logo') }}">
              {{ _('Firefox Marketplace Developers') }}</a></h1>
          {% endblock %}
          {% if in_devhub %}
            <div class="devhub-links{{ ' logged' if logged }}">
              <a href="https://developer.mozilla.org/docs/Web/Apps/Reference">
                {{- _('API Reference') }}</a>
              <a href="{{ url('ecosystem.support') }}">{{ _('Support') }}</a>
              <a href="{{ url('submit.app') }}" class="submit">
                {{- _('Submit an app') }}</a>
              <a href="{{ url('mkt.developers.apps') }}">
                {{ _('My Submissions') }}</a>
              <a href="{{ url('home') }}" class="submit">
                {{- _('Marketplace') }}</a>


              {% if not logged %}
              <a href="#" class="browserid">{{ _('Sign In') }}</a>
              {% endif %}
            </div>
          {% endif %}
          {% if logged %}
            <div class="account-links reviewers">
              <a href="/settings"
                 class="header-button icon settings" title="{{ _('Settings') }}"></a>
{'fraction_non_alphanumeric': 0.21465832029212312, 'fraction_numerical': 0.007955138236828377, 'mean_word_length': 2.4482913669064748, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5858984', 'n_tokens_mistral': 2699, 'n_tokens_neox': 2488, 'n_words': 469}