<commit_before><template>

  <AppBarCorePage :title="title">

    <template #subNav>
      <FacilityTopNav />
    </template>

    <slot></slot>

  </AppBarCorePage>

</template>


<script>

  import { mapGetters } from 'vuex';
  import AppBarCorePage from 'kolibri.coreVue.components.AppBarCorePage';
  import FacilityTopNav from './FacilityTopNav';

  export default {
    name: 'FacilityAppBarPage',
    components: { AppBarCorePage, FacilityTopNav },
    props: {
      appBarTitle: {
        type: String,
        default: null,
      },
    },
    computed: {
      ...mapGetters(['userIsMultiFacilityAdmin', 'currentFacilityName']),
      /* Returns the given appBarTitle prop if given, otherwise will return
         the facility label appropriate to whether there are multiple facilities<commit_msg>coreString mixin included in facility app bar<commit_after><template>

  <AppBarCorePage :title="title">

    <template #subNav>
      <FacilityTopNav />
    </template>

    <slot></slot>

  </AppBarCorePage>

</template>


<script>

  import { mapGetters } from 'vuex';
  import AppBarCorePage from 'kolibri.coreVue.components.AppBarCorePage';
  import commonCoreStrings from 'kolibri.coreVue.mixins.commonCoreStrings';
  import FacilityTopNav from './FacilityTopNav';

  export default {
    name: 'FacilityAppBarPage',
    components: { AppBarCorePage, FacilityTopNav },
    mixins: [commonCoreStrings],
    props: {
      appBarTitle: {
        type: String,
        default: null,
      },
    },
    computed: {
      ...mapGetters(['userIsMultiFacilityAdmin', 'currentFacilityName']),
      /* Returns the given appBarTitle prop if given, otherwise will return
         the facility label appropriate to whether there are multiple facilities
{'fraction_non_alphanumeric': 0.10700056915196357, 'fraction_numerical': 0.0, 'mean_word_length': 3.3300492610837438, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2403740', 'n_tokens_mistral': 524, 'n_tokens_neox': 510, 'n_words': 129}