<commit_before>import React from 'react';
import Head from 'next/head';
import Script from 'next/script';

import 'normalize.css';
import './global.css';
import 'inter-ui/inter.css';
import '@jetbrains/kotlin-web-site-ui/out/components/typography/index.css';
import '@jetbrains/kotlin-web-site-ui/out/components/grid/index.css';
import { Favicon } from '../components/favicon/favicon';

// This default export is required in a new `pages/_app.js` file.
export default function MyApp({ Component, pageProps }) {
    return (
        <>
            <Head>
                <Favicon />
                <meta name="viewport" content="width=device-width, initial-scale=1" />
            </Head>

            <Script
                strategy="afterInteractive"
                dangerouslySetInnerHTML={{
                    __html: `
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5P98');`,
                }}
            ></Script>

            <noscript>
                <iframe
                    src="https://www.googletagmanager.com/ns.html?id=GTM-5P98"
                    height="0"
                    width="0"
                    style={{ display: 'none', visibility: 'hidden' }}
                ></iframe>
            </noscript>

            <Component {...pageProps} />
        </>
    );
}
<commit_msg>hotfix: add id for Next.js inline script<commit_after>import React from 'react';
import Head from 'next/head';
import Script from 'next/script';

import 'normalize.css';
import './global.css';
import 'inter-ui/inter.css';
import '@jetbrains/kotlin-web-site-ui/out/components/typography/index.css';
import '@jetbrains/kotlin-web-site-ui/out/components/grid/index.css';
import { Favicon } from '../components/favicon/favicon';

// This default export is required in a new `pages/_app.js` file.
export default function MyApp({ Component, pageProps }) {
    return (
        <>
            <Head>
                <Favicon />
                <meta name="viewport" content="width=device-width, initial-scale=1" />
            </Head>

            <Script
                id={'google-tag-manager-inline-script'}
                strategy="afterInteractive"
                dangerouslySetInnerHTML={{
                    __html: `
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5P98');`,
                }}
            ></Script>

            <noscript>
                <iframe
                    src="https://www.googletagmanager.com/ns.html?id=GTM-5P98"
                    height="0"
                    width="0"
                    style={{ display: 'none', visibility: 'hidden' }}
                ></iframe>
            </noscript>

            <Component {...pageProps} />
        </>
    );
}

{'fraction_non_alphanumeric': 0.17701008865790277, 'fraction_numerical': 0.006114338122898196, 'mean_word_length': 2.2363996043521266, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '7436341', 'n_tokens_mistral': 1076, 'n_tokens_neox': 1023, 'n_words': 159}