<commit_before><script>
  window.JSON || document.write('<%= (javascript_include_tag "#{js_base_url}/vendor/json2.js").gsub("</script>", "<\\/script>") %>');
  (''.trim && Function.prototype.bind) || document.write('<%= (javascript_include_tag "#{js_base_url}/es5_shim.js").gsub("</script>", "<\\/script>") %>');

  INST = <%= raw(inst_env.to_json) %>;
  ENV = <%= raw js_env.to_json %>;

  // TODO: move this out when we have a single require call
  require = {
    translate: <%= use_optimized_js? %>,
    baseUrl: '<%= js_base_url %>',
    paths: <%= raw Canvas::RequireJs.paths %>,
    use: <%= raw Canvas::RequireJs.shims %>
  };
</script>

<%= javascript_include_tag "#{js_base_url}/vendor/require.js" %>
<%= javascript_include_tag "#{js_base_url}/compiled/bundles/common" if include_common_bundle %>
<%= include_js_bundles %>
<%= include_account_js %>
<%= render_js_blocks %>
<%= render_hidden_dialogs %>
<!--
<%= include_kaltura_html5_player_js %>
-->
<% if HostUrl.default_host == 'jiaoxuebang.com' %>
<script src="http://exp.cms.grandcloud.cn/speed_test.php?host_id=1897&style=6" type="text/javascript"></script>
<% end %>
<%= yield :foot %>
<script>
// Determines if the scripts are loaded.
// When we get everything out of the views, and have a single top-level
// `require`, this becomes meaningless and will be abandoned.
(function() {
  var attempts = 0;
  var timeout = 10;<commit_msg>remove include_kaltura_html5_player_js in foot<commit_after><script>
  window.JSON || document.write('<%= (javascript_include_tag "#{js_base_url}/vendor/json2.js").gsub("</script>", "<\\/script>") %>');
  (''.trim && Function.prototype.bind) || document.write('<%= (javascript_include_tag "#{js_base_url}/es5_shim.js").gsub("</script>", "<\\/script>") %>');

  INST = <%= raw(inst_env.to_json) %>;
  ENV = <%= raw js_env.to_json %>;

  // TODO: move this out when we have a single require call
  require = {
    translate: <%= use_optimized_js? %>,
    baseUrl: '<%= js_base_url %>',
    paths: <%= raw Canvas::RequireJs.paths %>,
    use: <%= raw Canvas::RequireJs.shims %>
  };
</script>

<%= javascript_include_tag "#{js_base_url}/vendor/require.js" %>
<%= javascript_include_tag "#{js_base_url}/compiled/bundles/common" if include_common_bundle %>
<%= include_js_bundles %>
<%= include_account_js %>
<%= render_js_blocks %>
<%= render_hidden_dialogs %>

<% if HostUrl.default_host == 'jiaoxuebang.com' %>
<script src="http://exp.cms.grandcloud.cn/speed_test.php?host_id=1897&style=6" type="text/javascript"></script>
<% end %>

<%= yield :foot %>
<script>
// Determines if the scripts are loaded.
// When we get everything out of the views, and have a single top-level
// `require`, this becomes meaningless and will be abandoned.
(function() {
  var attempts = 0;
  var timeout = 10;
{'fraction_non_alphanumeric': 0.19720329867335962, 'fraction_numerical': 0.007888131946934385, 'mean_word_length': 4.824634655532359, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4100324', 'n_tokens_mistral': 1049, 'n_tokens_neox': 947, 'n_words': 191}