text: /*!
  
   =========================================================
   * Vue Now UI Kit - v1.1.0
   =========================================================
  
   * Product Page: https://www.creative-tim.com/product/now-ui-kit
   * Copyright 2019 Creative Tim (http://www.creative-tim.com)
  
   * Designed by www.invisionapp.com Coded by www.creative-tim.com
  
   =========================================================
  
   * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  
   */
  import Vue from 'vue';
  import App from './App.vue';
  import VueRouter from "vue-router";
  import { CometChat } from "@cometchat-pro/chat";
  import { COMETCHAT_CONSTANTS } from "./CONSTS";
  import { BootstrapVue, IconsPlugin } from 'bootstrap-vue';
  import 'bootstrap/dist/css/bootstrap.css';
  import 'bootstrap-vue/dist/bootstrap-vue.css';
  // You can change this import to `import router from './starterRouter'` to quickly start development from a blank layout.
  import router from './router';
  import NowUiKit from './plugins/now-ui-kit';
  import store from './store';
  
  Vue.config.productionTip = false;
  
  Vue.use(NowUiKit);
  Vue.use(BootstrapVue);
  
  Vue.use(IconsPlugin);
  
  var appSetting = new CometChat.AppSettingsBuilder()
    .subscribePresenceForAllUsers()
    .setRegion(COMETCHAT_CONSTANTS.REGION)
    .build();
  
  CometChat.init(COMETCHAT_CONSTANTS.APP_ID, appSetting).then(
    () => {
      console.log("Initialization completed successfully");
      // You can now call login function.
    },
    error => {
      console.log("Initialization failed with error:", error);
      // Check the reason for error and take appropriate action.
    }
  );
  
  new Vue({
    router,
    store,
    render: (h) => h(App),
  }).$mount('#app');
  