<commit_before><template lang='pug'>
  .main
    router-view
</template>

<script>
import router from '@/router';
import Firebase from '@/appconfig/firebase';

export default {
  name: 'app',
  data() {
    return {
      user: null,
    };
  },
  mounted() {
    Firebase.auth.onAuthStateChanged((user) => {
      if (user) {
        this.user = user;
        this.routeDashboard();
      }
    });
    if (this.user) this.routeDashboard();
  },
  methods: {
    routeDashboard() {
      if (this.$route.path.includes('preview')) return;
      router.push({
        name: 'dashboard',
      });
    },
  },
};
</script>

<style>
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=cyrillic');

* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 62.5%;
}
body {
  width: 100vw;
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  overflow: hidden;
}
.main {
  width: 100%;
  height: 100%;
}
</style>
<commit_msg>Fixes<commit_after><template lang='pug'>
  .main
    router-view
</template>

<script>

export default {
  name: 'app',
};
</script>

<style>
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&subset=cyrillic');

* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 62.5%;
}
body {
  width: 100vw;
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  overflow: hidden;
}
.main {
  width: 100%;
  height: 100%;
}
</style>

{'fraction_non_alphanumeric': 0.1858108108108108, 'fraction_numerical': 0.04594594594594595, 'mean_word_length': 3.013550135501355, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, 'https://': 2, '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': '2425029', 'n_tokens_mistral': 635, 'n_tokens_neox': 572, 'n_words': 112}