<commit_before>import { defineComponent } from 'vue';
import { IExpandTransition } from '@inkline/inkline/transitions';

/**
 * Slot for default navbar collapsible content
 * @name default
 * @kind slot
 */

const componentName = 'INavbarCollapsible';

export default defineComponent({
    name: componentName,
    components: {
        IExpandTransition
    },
    inject: {
        navbar: {
            default: () => ({})
        }
    },
    computed: {
        visible () {
            return (this as any).navbar.open || !(this as any).navbar.collapsible;
        }
    }
});<commit_msg>fix: Fixed navbar collapsible not showing up after SSR.<commit_after>import { defineComponent } from 'vue';
import { IExpandTransition } from '@inkline/inkline/transitions';

/**
 * Slot for default navbar collapsible content
 * @name default
 * @kind slot
 */

const componentName = 'INavbarCollapsible';

export default defineComponent({
    name: componentName,
    components: {
        IExpandTransition
    },
    inject: {
        navbar: {
            default: () => ({})
        }
    },
    computed: {
        visible () {
            const isServer = typeof window === 'undefined';

            return (this as any).navbar.open || !(this as any).navbar.collapsible || isServer;
        }
    }
});
{'fraction_non_alphanumeric': 0.12509593246354567, 'fraction_numerical': 0.0, 'mean_word_length': 2.4680851063829787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7058501', 'n_tokens_mistral': 377, 'n_tokens_neox': 367, 'n_words': 94}