<commit_before><!DOCTYPE HTML>
{% load staticfiles %}
{% load i18n %}
{% load raven %}
{% load render_bundle from webpack_loader %}
{% load render_bundle_css from translation_tags %}
{% load render_offline_css from translation_tags %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language_bidi as LANGUAGE_BIDI %}

<html dir="{{ LANGUAGE_BIDI|yesno:'rtl,ltr' }}" lang="{{ LANGUAGE_CODE }}">
	<head>

			{% block head %}
			<!--[if lt IE 9]>
					<script src="{% static "js/html5shiv.js" %}"></script>
			<![endif] -->
            <!-- make sure configuring Sentry is one of the very first things we do in order to catch the most errors. -->

            <!-- for some reason, load raven commmand doesn't actually load the raven JS library, so do so here
                 TODO: Should we install and bundle this as a dep using yarn?
            -->
            <script src="https://cdn.ravenjs.com/3.26.4/raven.min.js" crossorigin="anonymous"></script>
            <script>
                Raven.config('{% sentry_public_dsn %}').install()
            </script>
	<link rel="shortcut icon" href="{% static 'img/logo.ico' %}">

			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
			<meta name="viewport" content="width=device-width, initial-scale=1">

			<title>Kolibri Studio ({% trans 'Beta' %})</title>
      {% render_bundle_css 'common' %}
      {% block css_bundle %}
        {% render_bundle_css 'base' %}
      {% endblock css_bundle %}

      {% render_offline_css LANGUAGE_CODE %}
      <script>
        window.languageCode = "{{LANGUAGE_CODE}}";
        window.isRTL = "{{ LANGUAGE_BIDI }}" === "True";
        try{
          window.ALL_MESSAGES = JSON.parse("{{ messages|escapejs}}");
        } catch (error) { /* Page does not require front-end translations */ }
      </script>
      <!-- TODO work out why debug is not working here and use the static version -->
      <script src="{% url 'js_reverse' %}" type="text/javascript"></script>

      {% render_bundle 'common' 'js' %}
      <!-- prevent more than 1 bundle per page -->
      {% block js_bundle %} {% render_bundle 'base' 'js' %} {% endblock js_bundle %}

      <script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>

        <!-- fullstory integration, only on develop until we add an opt-in option. -->
        {% if request.get_host == 'develop.studio.learningequality.org' %}
        <script>
            window['_fs_debug'] = false;
            window['_fs_host'] = 'fullstory.com';
            window['_fs_org'] = 'FPCQZ';
            window['_fs_namespace'] = 'FS';
            (function(m,n,e,t,l,o,g,y){
                if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
                g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[];
                o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js';
                y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
                g.identify=function(i,v){g(l,{uid:i});if(v)g(l,v)};g.setUserVars=function(v){g(l,v)};g.event=function(i,v,s){g('event',{n:i,p:v,s:s})};
                g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
                g.consent=function(a){g("consent",!arguments.length||a)};
                g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
                g.clearUserCookie=function(){};
            })(window,document,window['_fs_namespace'],'script','user');
            </script>
        {% endif %}

      {% endblock head %}

      {% block analytics %}
        {% if not debug %}
          <!-- Global site tag (gtag.js) - Google Analytics -->
          <script async src="https://www.googletagmanager.com/gtag/js?id=UA-36937407-7"></script>
          <script>
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());

            gtag('config', 'UA-36937407-7');
          </script>
        {% endif %}
      {% endblock %}
	</head>
  <body>
      {% block nav %}
      <!-- Navigation bar -->
      <nav class="nav navbar navbar-default" id="top-navigation">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
              <span class="sr-only">{%trans "Toggle navigation" %}</span><commit_msg>Switch org ID to the org shared account. (#1044)<commit_after><!DOCTYPE HTML>
{% load staticfiles %}
{% load i18n %}
{% load raven %}
{% load render_bundle from webpack_loader %}
{% load render_bundle_css from translation_tags %}
{% load render_offline_css from translation_tags %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language_bidi as LANGUAGE_BIDI %}

<html dir="{{ LANGUAGE_BIDI|yesno:'rtl,ltr' }}" lang="{{ LANGUAGE_CODE }}">
	<head>

			{% block head %}
			<!--[if lt IE 9]>
					<script src="{% static "js/html5shiv.js" %}"></script>
			<![endif] -->
            <!-- make sure configuring Sentry is one of the very first things we do in order to catch the most errors. -->

            <!-- for some reason, load raven commmand doesn't actually load the raven JS library, so do so here
                 TODO: Should we install and bundle this as a dep using yarn?
            -->
            <script src="https://cdn.ravenjs.com/3.26.4/raven.min.js" crossorigin="anonymous"></script>
            <script>
                Raven.config('{% sentry_public_dsn %}').install()
            </script>
	<link rel="shortcut icon" href="{% static 'img/logo.ico' %}">

			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
			<meta name="viewport" content="width=device-width, initial-scale=1">

			<title>Kolibri Studio ({% trans 'Beta' %})</title>
      {% render_bundle_css 'common' %}
      {% block css_bundle %}
        {% render_bundle_css 'base' %}
      {% endblock css_bundle %}

      {% render_offline_css LANGUAGE_CODE %}
      <script>
        window.languageCode = "{{LANGUAGE_CODE}}";
        window.isRTL = "{{ LANGUAGE_BIDI }}" === "True";
        try{
          window.ALL_MESSAGES = JSON.parse("{{ messages|escapejs}}");
        } catch (error) { /* Page does not require front-end translations */ }
      </script>
      <!-- TODO work out why debug is not working here and use the static version -->
      <script src="{% url 'js_reverse' %}" type="text/javascript"></script>

      {% render_bundle 'common' 'js' %}
      <!-- prevent more than 1 bundle per page -->
      {% block js_bundle %} {% render_bundle 'base' 'js' %} {% endblock js_bundle %}

      <script type="text/javascript" src="{% url 'javascript-catalog' %}"></script>

        <!-- fullstory integration, only on develop until we add an opt-in option. -->
        {% if request.get_host == 'develop.studio.learningequality.org' %}
        <script>
            window['_fs_debug'] = false;
            window['_fs_host'] = 'fullstory.com';
            window['_fs_org'] = 'FCSD3';
            window['_fs_namespace'] = 'FS';
            (function(m,n,e,t,l,o,g,y){
                if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
                g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[];
                o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js';
                y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
                g.identify=function(i,v){g(l,{uid:i});if(v)g(l,v)};g.setUserVars=function(v){g(l,v)};g.event=function(i,v,s){g('event',{n:i,p:v,s:s})};
                g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
                g.consent=function(a){g("consent",!arguments.length||a)};
                g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
                g.clearUserCookie=function(){};
            })(window,document,window['_fs_namespace'],'script','user');
        </script>
        {% endif %}

      {% endblock head %}

      {% block analytics %}
        {% if not debug %}
          <!-- Global site tag (gtag.js) - Google Analytics -->
          <script async src="https://www.googletagmanager.com/gtag/js?id=UA-36937407-7"></script>
          <script>
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());

            gtag('config', 'UA-36937407-7');
          </script>
        {% endif %}
      {% endblock %}
	</head>
  <body>
      {% block nav %}
      <!-- Navigation bar -->
      <nav class="nav navbar navbar-default" id="top-navigation">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
              <span class="sr-only">{%trans "Toggle navigation" %}</span>
{'fraction_non_alphanumeric': 0.18111670774836566, 'fraction_numerical': 0.007823384417532955, 'mean_word_length': 2.6682389937106916, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1686364', 'n_tokens_mistral': 3200, 'n_tokens_neox': 2923, 'n_words': 615}