<commit_before>import React, { PropTypes } from 'react';

const Html = (props) => {
  const gaScript = `window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
    ga('create','${props.trackingID}','auto');ga('send','pageview')`;
  const typekitScript = 'try{Typekit.load({ async: true });}catch(e){}';

  return (
    <html lang="en">
      <head>
        <meta charSet="utf-8" />
        <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, minimum-scale=1.0" />
        <title>{props.title}</title>
        <meta name="description" content="" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,500italic,700,700italic" />
        <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
        <link rel="stylesheet" href={`/${props.stylesheet}`} />
        <link rel="apple-touch-icon" href="apple-touch-icon.png" />
        <script src="https://use.typekit.net/oof1hhz.js"></script>
        <script dangerouslySetInnerHTML={{ __html: typekitScript }} />
      </head>
      <body>
        <div id="root" dangerouslySetInnerHTML={{ __html: props.body }} />
        <script src={`/${props.bundle}`} />
        {props.trackingID &&<commit_msg>Remove bundled js from generated html<commit_after>import React, { PropTypes } from 'react';

const Html = (props) => {
  const gaScript = `window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
    ga('create','${props.trackingID}','auto');ga('send','pageview')`;
  const typekitScript = 'try{Typekit.load({ async: true });}catch(e){}';

  return (
    <html lang="en">
      <head>
        <meta charSet="utf-8" />
        <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, minimum-scale=1.0" />
        <title>{props.title}</title>
        <meta name="description" content="" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,500italic,700,700italic" />
        <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
        <link rel="stylesheet" href={`/${props.stylesheet}`} />
        <link rel="apple-touch-icon" href="apple-touch-icon.png" />
        <script src="https://use.typekit.net/oof1hhz.js"></script>
        <script dangerouslySetInnerHTML={{ __html: typekitScript }} />
      </head>
      <body>
        <div id="root" dangerouslySetInnerHTML={{ __html: props.body }} />
        {props.trackingID &&
{'fraction_non_alphanumeric': 0.2000726216412491, 'fraction_numerical': 0.01888162672476398, 'mean_word_length': 3.62248322147651, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 44, 'https://': 6, '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': '6480620', 'n_tokens_mistral': 933, 'n_tokens_neox': 899, 'n_words': 139}