<commit_before><template>
    <div class="row h-100 m-0 overflow-hidden">
        <div class="col-12 col-lg-6 col-xl-3 mx-auto h-100 p-0 overflow-hidden">
            <transition :name="transition" mode="out-in">
                <router-view></router-view>
            </transition>
        </div>
        <Modal />
    </div>
</template>

<script>
    export default {
        name: 'App',
        data() {
            return {
                transition: 'slide-left'
            };
        },
        watch: {
            $route(to, from) {
                this.transition = to.meta.order > from.meta.order ? 'slide-left' : 'slide-right';
            }
        },
        created() {
            const startScreen = localStorage.getItem('StartScreen') || 'SplashScreen';

            this.$router.push({ name: startScreen });
        }
    };
</script><commit_msg>Fix potential localStorage error in App component<commit_after><template>
    <div class="row h-100 m-0 overflow-hidden">
        <div class="col-12 col-lg-6 col-xl-3 mx-auto h-100 p-0 overflow-hidden">
            <transition :name="transition" mode="out-in">
                <router-view></router-view>
            </transition>
        </div>
        <Modal />
    </div>
</template>

<script>
    import storageService from './storageService';

    export default {
        name: 'App',
        data() {
            return {
                transition: 'slide-left'
            };
        },
        watch: {
            $route(to, from) {
                this.transition = to.meta.order > from.meta.order ? 'slide-left' : 'slide-right';
            }
        },
        created() {
            const startScreen = storageService.get('StartScreen') || 'SplashScreen';

            this.$router.push({ name: startScreen });
        }
    };
</script>
{'fraction_non_alphanumeric': 0.1489010989010989, 'fraction_numerical': 0.013186813186813187, 'mean_word_length': 1.5866477272727273, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 31, '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': '4457104', 'n_tokens_mistral': 534, 'n_tokens_neox': 515, 'n_words': 107}