{"version":3,"sources":["webpack:///./src/components/networkingWidget.vue?1cb7","webpack:///./src/components/networkingWidgetV2.vue","webpack:///src/components/networkingWidgetV2.vue","webpack:///./src/components/networkingWidgetV2.vue?1826","webpack:///./src/components/networkingWidgetV2.vue?2667","webpack:///./src/components/sessionCard.vue","webpack:///src/components/sessionCard.vue","webpack:///./src/components/sessionCard.vue?605a","webpack:///./src/components/sessionCard.vue?c314","webpack:///./src/components/speakerContactModal.vue","webpack:///src/components/speakerContactModal.vue","webpack:///./src/components/speakerContactModal.vue?6ef5","webpack:///./src/components/speakerContactModal.vue?c3fa","webpack:///./src/components/networkingWidget.vue","webpack:///src/components/networkingWidget.vue","webpack:///./src/components/networkingWidget.vue?1021","webpack:///./src/components/networkingWidget.vue?30c5","webpack:///./src/components/sidebars/tvWidget.vue","webpack:///src/components/sidebars/tvWidget.vue","webpack:///./src/components/sidebars/tvWidget.vue?c0b0","webpack:///./src/components/sidebars/tvWidget.vue?3600","webpack:///./src/components/speakerContactModal.vue?71f1","webpack:///./src/components/sidebars/tvWidget.vue?8df5"],"names":["render","_vm","this","_c","_self","staticClass","attrs","staticRenderFns","component","staticStyle","directives","name","rawName","value","thumbNail","expression","_v","_s","session","Name","formattedDate","sessionRoute","$t","show","on","closeModal","fullName","initForm","emailLabel","model","email","callback","$$v","subjectLabel","subject","messageLabel","messagePlaceholder","message","$event","preventDefault","sendMail","domProps","ref","isActive","hasAccess","class","openClass","image","slide","open","url","_e"],"mappings":"8GAAA,W,oCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,uBAAuBC,MAAM,CAAC,GAAK,2BAExHC,EAAkB,G,6FCctB,sBACA,OACA,QACA,cACA,gBAGA,0CACA,gBACA,iBACA,uBACA,gCACA,IACA,8BACA,yCACA,4EAGA,gLACA,sFACA,wDACA,4DAEA,2IACA,+HACA,GACA,oCAEA,MACA,oBACA,2BACA,uB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AbA,MAgBA,OACA,SACA,YACA,eAGA,iCC3K4V,I,wBCQxVC,EAAY,eACd,EACAR,EACAO,GACA,EACA,KACA,WACA,MAIa,OAAAC,E,2CCnBf,IAAIR,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACuC,IAAI,0BAA0BrC,YAAY,6BAA6BC,MAAM,CAAC,GAAK,iCAE5JC,EAAkB,G,kJCatB,GACA,QACA,cACA,gBAGA,gBACA,OACA,iHACA,gHACA,gBAGA,mBACA,wCAEA,oHACA,kCACA,uCAEA,uJACA,kCAEA,uHAEA,+BACA,oCAEA,uJACA,kCAEA,wHAIA,8BACA,0BACA,QACA,2BACA,qBACA,0BACA,MAEA,mBAEA,KACA,iCACA,sBACA,4EAGA,+BACA,2EAEA,yBACA,gDAEA,4BACA,+CAEA,0BACA,mDAIA,0CACA,gBACA,mCACA,sCACA,gCACA,sCACA,yEACA,qDACA,IACA,uBACA,sCACA,kBACA,WAEA,MAEA,4BACA,sEACA,8CACA,qFACA,yBAGA,qBACA,sCACA,SACA,YAEA,MAEA,6BACA,qEAEA,wBACA,wDAEA,kBACA,mEACA,0JACA,sBAEA,mBACA,oEACA,2JACA,wBAGA,SACA,8BACA,8BACA,uBACA,6BACA,EACA,SACA,8BACA,iBACA,QACA,gBACA,gBAIA,6BACA,gBACA,uBACA,eAIA,yBACA,SACA,SACA,kBAGA,4BAEA,kOAEA,4BACA,+CACA,qBACA,wBAKA,8GACA,oBAGA,2CACA,4CACA,oCACA,6CACA,GACA,MACA,KACA,SAEA,gBACA,cACA,YAEA,UACA,yBACA,qBACA,mBACA,uBACA,uBACA,2GACA,yHACA,oHACA,+GACA,8HACA,4HACA,qHACA,yHACA,uHACA,sIACA,+IAEA,mCACA,sCACA,qCACA,gCAGA,0CACA,iFAGA,+BACA,2DAGA,4CACA,YACA,8DACA,+DACA,kEAGA,MACA,uBACA,yEACA,oBACA,4CACA,mCAEA,+BACA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cAEA,qBAGA,0CACA,gBACA,sCACA,IACA,qBACA,iBACA,OAEA,MAEA,kBACA,iDACA,aAEA,uBACA,mEAEA,uBACA,mEAEA,qBACA,iEAEA,0BACA,oEAEA,qBACA,8CAGA,SACA,iBACA,yBACA,sBAEA,+BACA,OACA,aACA,qDACA,WACA,iBACA,SACA,CACA,kBAGA,eACA,4BAEA,mBACA,gBAIA,IAKA,EALA,mBACA,qCACA,WAEA,0CACA,aACA,qCACA,aChIgW,I,wBCQ5VC,EAAY,eACd,EACAR,EACAO,GACA,EACA,KACA,WACA,MAIa,OAAAC,E,2CCnBf,W,yDCAA,W","file":"js/app-c64e6414.cf330d8e.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./networkingWidget.vue?vue&type=style&index=0&id=29815860&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"networking-widget-v2\",attrs:{\"id\":\"networking-widget-v2\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template v-if=\"networkingActive\">\n  <div\n    id=\"networking-widget-v2\"\n    class=\"networking-widget-v2\"\n  />\n</template>\n\n<script>\nimport Vue from 'vue'\nimport VueCookies from 'vue-cookies'\nimport store from '~/store'\n\nimport { mapActions, mapGetters } from 'vuex'\n\n\n\nVue.use(VueCookies)\nexport default {\n  inject: {\n    TrackingUtil: {\n      type: Function,\n    },\n  },\n  computed: {\n    ...mapGetters({\n      user: 'user/user',\n      vmUser: 'vmUser/vmUser',\n      config: 'config/configForKey',\n    }),\n    networkingWidgetV2() {\n      const c = this.config('app_config').configV2\n      return 'networkingWidgetV2' in c.defaultV2 ? c.defaultV2.networkingWidgetV2 : false\n    }, \n  },\n  async mounted() {\n    if(!this.networkingWidgetV2 ) return\n    await store.dispatch('user/loadUser')\n    await store.dispatch('vmUser/loadVmUser')\n\n    await this.$loadScript(`https://d3klq1qh6r64da.cloudfront.net/api_uploads/vm-plugins/chat/feat/networking/mgChatPlugin.js`)\n    await this.loadStylesheet(`https://d3klq1qh6r64da.cloudfront.net/api_uploads/vm-plugins/chat/feat/networking/mgChatPlugin.css`)\n    const setupObj = {\n      domSelector: \"#networking-widget-v2\", // DOM Element where plugin will be loaded (querySelector)\n      // pageElements: [\"#vm2-header-element\"], // optional=> For calculating available space height \n      user: {// vm user object of currently logged in user\n        id: this.vmUser.user_id,\n        firstname: this.user.Firstname,\n        surname: this.user.Surname,\n        email: this.user.Email,\n        manage_id: this.user.UserId,\n        profile_image_url: this.user.ProfilePicturePath,\n      },\n      access_token: this.vmUser.access_token,// currently logged in user's access_token\n      baseApi: \"api-lb.virtual-meeting.net\",\n      eventId: this.vmUser.event_id,\n      onSocketMsg: null, // optional=>function callback on new message \n    }\n    mgChatApp.init(setupObj) \n  },\n  methods: {\n    loadStylesheet(url) {\n      const ss = document.styleSheets\n      for (let i = 0, max = ss.length; i < max; i += 1) {\n        if (ss[i].href === url) {\n          return\n        }\n      }\n      const link = document.createElement('link')\n      link.setAttribute('rel', 'stylesheet')\n      link.setAttribute('href', url)\n      document.head.appendChild(link)\n    },\n  },\n}\n\n</script>\n\n<style lang=\"scss\">\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./networkingWidgetV2.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./networkingWidgetV2.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./networkingWidgetV2.vue?vue&type=template&id=580d0635&v-if=networkingActive\"\nimport script from \"./networkingWidgetV2.vue?vue&type=script&lang=js\"\nexport * from \"./networkingWidgetV2.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-card',{staticClass:\"session-card\",attrs:{\"no-body\":\"\"}},[_c('figure',{staticClass:\"session-card__image image is-16by9\",staticStyle:{\"box-sizing\":\"border-box\"}},[_c('img',{directives:[{name:\"lazy\",rawName:\"v-lazy\",value:(_vm.thumbNail),expression:\"thumbNail\"}],attrs:{\"alt\":\"Session Image\"}})]),_c('b-card-body',{staticClass:\"session-card__body\"},[_c('b-card-title',{staticClass:\"session-card__title\"},[_vm._v(\" \"+_vm._s(_vm.session.Name)+\" \")]),_c('b-card-sub-title',{staticClass:\"session-card__sub-title mt-3\",attrs:{\"sub-title-text-variant\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.formattedDate)+\" \")]),_c('div',{staticClass:\"session-card__links mt-4\"},[_c('router-link',{staticClass:\"link\",attrs:{\"to\":_vm.sessionRoute}},[_vm._v(\" \"+_vm._s(_vm.$t(\"VMX.SessionCard_go_to_session\"))+\" \"),_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'chevron-right']}})],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card\n    no-body\n    class=\"session-card\"\n  >\n    <figure\n      class=\"session-card__image image is-16by9\"\n      style=\"box-sizing: border-box\"\n    >\n      <img\n        v-lazy=\"thumbNail\"\n        alt=\"Session Image\"\n      />\n    </figure>\n    <b-card-body class=\"session-card__body\">\n      <b-card-title class=\"session-card__title\">\n        {{ session.Name }}\n      </b-card-title>\n      <b-card-sub-title\n        class=\"session-card__sub-title mt-3\"\n        sub-title-text-variant=\"\"\n      >\n        {{ formattedDate }}\n      </b-card-sub-title>\n      <div class=\"session-card__links mt-4\">\n        <router-link\n          class=\"link\"\n          :to=\"sessionRoute\"\n        >\n          {{ $t(\"VMX.SessionCard_go_to_session\") }}\n          <font-awesome-icon :icon=\"['fas', 'chevron-right']\" />\n        </router-link>\n      </div>\n    </b-card-body>\n  </b-card>\n</template>\n<script>\nimport utils from '../utilities/utils'\nimport utilsComponents from 'm-anage.com.vmx-components/src/utilities/'\n\n\nimport { mapGetters } from 'vuex'\n\nconst dateFormat = require('dateformat')\nconst sessionImage = require('~/assets/sessionImage.png')\n\nexport default {\n  props: {\n    session: {\n      type: Object,\n      default: () => {},\n    },\n  },\n  data() {\n    return {}\n  },\n  computed: {\n    ...mapGetters({\n      config: 'config/configForKey',\n    }),\n    appConfigV2() {\n      const appConfigV2 = this.config('app_config')\n      if (appConfigV2.configV2) {\n        return appConfigV2.configV2\n      }\n      return null\n    },\n    sessionRoute() {\n      const route = this.appConfigV2.defaultV2.routeV2\n        ? { name: 'PagSessionDetailPage', params: { sessionId: this.session.Id } }\n        : { name: 'ProgramPage', query: { session: this.session.Id } }\n      return utils.appendDefaultParamsToRoute(route)\n    },\n    thumbNail() {\n      if (this.session.ImageThumbPath) {\n        return this.session.ImageThumbPath\n      }\n      return sessionImage\n    },\n    formattedDate() {\n      let date = ''\n      if (this.session.StartDateTime && this.session.EndDateTime) {\n        const startDate = new Date(this.session.StartDateTime)\n        const endtDate = new Date(this.session.EndDateTime)\n        date = dateFormat(startDate, `dd mmmm yyyy, ${utilsComponents.timeFormat()}`) + dateFormat(endtDate, ` - ${utilsComponents.timeFormat()}`)\n      }\n      return date\n    },\n  },\n\n}\n</script>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sessionCard.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./sessionCard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./sessionCard.vue?vue&type=template&id=69513a1f\"\nimport script from \"./sessionCard.vue?vue&type=script&lang=js\"\nexport * from \"./sessionCard.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('modal',{attrs:{\"show\":_vm.show},on:{\"close\":_vm.closeModal}},[_c('div',{staticClass:\"leadsContentDiv d-flex justify-content-center\"},[_c('div',{staticClass:\"exhibitorLeads\"},[_c('div',{staticClass:\"my-3 mx-4\"},[_c('h4',{staticClass:\"form-label\"},[_vm._v(\" \"+_vm._s(_vm.$t('VMX.send_message_to'))+\" \"+_vm._s(_vm.fullName)+\" \")]),_c('br'),(_vm.initForm)?[_c('b-form-group',{staticClass:\"form-label\",attrs:{\"id\":\"email-input-group\",\"label\":_vm.emailLabel,\"label-for\":\"email-input-disabled\"}},[_c('b-form-input',{attrs:{\"id\":\"email-input-disabled\",\"type\":\"email\",\"disabled\":\"\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})],1),_c('b-form-group',{staticClass:\"form-label\",attrs:{\"id\":\"subject-input-group\",\"label\":_vm.subjectLabel,\"label-for\":\"subject-input-enabled\"}},[_c('b-form-input',{attrs:{\"id\":\"subject-input-enabled\",\"type\":\"text\",\"required\":\"\"},model:{value:(_vm.subject),callback:function ($$v) {_vm.subject=$$v},expression:\"subject\"}})],1),_c('b-form-group',{staticClass:\"form-label\",attrs:{\"id\":\"message-input-group\",\"label\":_vm.messageLabel,\"label-for\":\"message-input\"}},[_c('b-form-textarea',{attrs:{\"id\":\"message-inputtextarea-small\",\"size\":\"md\",\"placeholder\":_vm.messagePlaceholder,\"rows\":\"6\"},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:\"message\"}})],1),[_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.sendMail()}}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('VMX.send_message_contact'))}})]),_c('b-button',{attrs:{\"variant\":\"outline-primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.closeModal()}}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('VMX.cancel_message_contact'))}})])]]:[_c('div',{staticClass:\"message-sent-container\"},[_c('font-awesome-icon',{attrs:{\"size\":\"4x\",\"icon\":['fas', 'check']}}),_c('h4',{staticClass:\"form-label\"},[_vm._v(\" \"+_vm._s(_vm.$t('VMX.message_sent'))+\" \")])],1)]],2)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <modal\n    :show=\"show\"\n    @close=\"closeModal\"\n  >\n    <div class=\"leadsContentDiv d-flex justify-content-center\">\n      <div class=\"exhibitorLeads\">\n        <div class=\"my-3 mx-4\">\n          <h4 class=\"form-label\">\n            {{ $t('VMX.send_message_to') }} {{ fullName }}\n          </h4>\n          <br />\n          <template v-if=\"initForm\">\n            <b-form-group\n              id=\"email-input-group\"\n              :label=\"emailLabel\"\n              class=\"form-label\"\n              label-for=\"email-input-disabled\"\n            >\n              <b-form-input\n                id=\"email-input-disabled\"\n                v-model=\"email\"\n                type=\"email\"\n                disabled\n              />\n            </b-form-group>\n            <b-form-group\n              id=\"subject-input-group\"\n              :label=\"subjectLabel\"\n              class=\"form-label\"\n              label-for=\"subject-input-enabled\"\n            >\n              <b-form-input\n                id=\"subject-input-enabled\"\n                v-model=\"subject\"\n                type=\"text\"\n                required\n              />\n            </b-form-group>\n            <b-form-group\n              id=\"message-input-group\"\n              :label=\"messageLabel\"\n              class=\"form-label\"\n              label-for=\"message-input\"\n            >\n              <b-form-textarea\n                id=\"message-inputtextarea-small\"\n                size=\"md\"\n                :placeholder=\"messagePlaceholder\"\n                rows=\"6\"\n                v-model=\"message\"\n              />\n            </b-form-group>\n            <template>\n              <b-button\n                variant=\"primary\"\n                @click.prevent=\"sendMail()\"\n              >\n                <span\n                  v-html=\"$t('VMX.send_message_contact')\"\n                />\n              </b-button>\n              <b-button\n                variant=\"outline-primary\"\n                @click.prevent=\"closeModal()\"\n              >\n                <span v-html=\"$t('VMX.cancel_message_contact')\" />\n              </b-button>\n            </template>\n          </template>\n          <template v-else>\n            <div class=\"message-sent-container\">\n              <font-awesome-icon\n                size=\"4x\"\n                :icon=\"['fas', 'check']\"\n              />\n              <h4 class=\"form-label\">\n                {{ $t('VMX.message_sent') }}\n              </h4>\n            </div>\n          </template>\n        </div>\n      </div>\n    </div>\n  </modal>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex'\nimport modal from 'm-anage.com.vmx-components/src/Modal'\n\nexport default {\n  data() {\n    return {\n      subject: '',\n      message: '',\n      show: false,\n      initForm: true,\n    }\n  },\n  computed: {\n    ...mapGetters({\n      configForKey: 'config/configForKey',\n      user: 'user/user',\n    }),\n    subjectLabel() {\n      return this.$t('VMX.subject_label_form')\n    },\n    emailLabel() {\n      return this.$t('VMX.email_label_form')\n    },\n    messageLabel() {\n      return this.$t('VMX.message_label_form')\n    },\n    messagePlaceholder() {\n      return this.$t('VMX.message_placeholder_form')\n    },\n    fullName() {\n      if (this.speaker) {\n        return `${this.speaker.Firstname} ${this.speaker.Surname}`\n      }\n      return ''\n    },\n    userFullName() {\n      if (this.user) {\n        return `${this.user.Firstname} ${this.user.Surname}`\n      }\n      return ''\n    },\n    config() {\n      if (this.configForKey('app_config')) return this.configForKey('app_config')\n      return null\n    },\n    email() {\n      return this.user.Email\n    },\n  },\n  mounted() {\n    if (this.config?.config[0]?.programme[0]?.contactSpeakerSubject) this.subject = this.config.config[0].programme[0].contactSpeakerSubject\n    if (this.speaker) this.show = true\n  },\n  methods: {\n    ...mapActions({\n      sendCustomMail: 'contactForm/sendCustomMail',\n    }),\n    closeModal() {\n      this.show = false\n      this.$emit('close')\n    },\n    async sendMail() {\n      const ToAddresses = [{ Name: this.fullName, Address: this.speaker.Email }]\n      const FromAddresses = [{ Name: this.userFullName, Address: this.user.Email }]\n      const Subject = this.subject\n      const Content = this.message\n\n      await this.sendCustomMail({ ToAddresses, FromAddresses, Subject, Content }).then((res) => {\n        if (res === 200) {\n          this.initForm = false\n        }\n        setTimeout(() => {\n          this.closeModal()\n        }, 3000)\n      })\n    },\n  },\n  props: {\n    speaker: {\n      type: Object,\n      default: null,\n    },\n  },\n  components: { modal },\n\n}\n</script>\n\n<style lang=\"scss\" scoped>\n  .exhibitorLeads{\n    border-radius: 5px !important;\n  }\n  button {\n    margin: 0 10px 0 0;\n    border-radius: 5px !important;\n  }\n  .form-label{\n    color: var(--primary);\n    font-weight: 700;\n  }\n\n  .message-sent-container {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    color: var(--primary);\n    min-height: 300px;\n    padding-top: 70px;\n  }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./speakerContactModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./speakerContactModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./speakerContactModal.vue?vue&type=template&id=7f1c5a68&scoped=true\"\nimport script from \"./speakerContactModal.vue?vue&type=script&lang=js\"\nexport * from \"./speakerContactModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./speakerContactModal.vue?vue&type=style&index=0&id=7f1c5a68&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"7f1c5a68\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:\"networkingSidebarWidget\",staticClass:\"networking-widget__sidebar\",attrs:{\"id\":\"networking-widget__sidebar\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template v-if=\"networkingActive\">\n  <div\n    ref=\"networkingSidebarWidget\"\n    id=\"networking-widget__sidebar\"\n    class=\"networking-widget__sidebar\"\n  />\n</template>\n\n<script>\nimport { mapGetters } from 'vuex'\nimport utils from '~/utilities/utils'\nimport trackingApi from '~/api/tracking'\nimport EventBus from '~/states/event-bus'\nimport accessControl from '~/utilities/accessControl'\n\nexport default {\n  inject: {\n    TrackingUtil: {\n      type: Function,\n    },\n  },\n  data() {\n    return {\n      fileCSSDev: `https://demo.conference2web.com/jme/ntw_ece/js/widget-side/ntwCss.css?${new Date().getTime()}`,\n      fileJSDev: `https://demo.conference2web.com/jme/ntw_ece/js/widget-side/ntwMain.js?${new Date().getTime()}`,\n      widgetInit: false,\n    }\n  },\n  created() {\n    if (this.networkingActive && this.checkJS()) {\n      // eslint-disable-next-line max-len\n      if (this.instance === 'staging' || this.instance === 'dev' || this.instance === 'qa' || window.location.origin.includes('vmx-dev')) {\n        utils.loadScript(this.fileJSDev)\n        utils.loadStylesheet(this.fileCSSDev)\n        // eslint-disable-next-line max-len\n        this.$loadScript('https://d3klq1qh6r64da.cloudfront.net/api_uploads/tav-chat-master/jme/jmeOwnChatMain.js?v=1').then(() => {}).catch(() => {\n          console.log('failed ntw chat')\n        })\n        utils.loadStylesheet('https://d3klq1qh6r64da.cloudfront.net/api_uploads/tav-chat-master/jme/jmeOwnChatCss.css?v=1')\n      } else {\n        utils.loadScript(this.fileJS)\n        utils.loadStylesheet(this.fileCSS)\n        // eslint-disable-next-line max-len\n        this.$loadScript('https://d3klq1qh6r64da.cloudfront.net/api_uploads/tav-chat-master/jme/jmeOwnChatMain.js?v=1').then(() => {}).catch(() => {\n          console.log('failed ntw chat')\n        })\n        utils.loadStylesheet('https://d3klq1qh6r64da.cloudfront.net/api_uploads/tav-chat-master/jme/jmeOwnChatCss.css?v=1')\n      }\n    }\n  },\n  mounted() {\n    if (this.networkingActive) {\n      let time = 1\n      const interval = setInterval(() => {\n        if (!this.widgetInit && time <= 20) {\n          this.loadNetworkingSidebar()\n          time += 1\n        } else {\n          clearInterval(interval)\n        }\n      }, 4000)\n      window.areaOfInterest = () => {\n        if (window.jmeNetworking) {\n          window.jmeNetworking.openAreaOfInterest({}, window.$('#areaOfInterest')[0])\n        }\n      }\n      window.joinToGroup = (groupId) => {\n        window.jmeNetworking.joinToGroup(groupId, window.$('#networkingJoinToGroup')[0])\n      }\n      window.openAd = () => {\n        if (this.widgetInit) window.jmeNetworking.myAd.open()\n      }\n      window.disableAd = () => {\n        if (this.widgetInit) window.jmeNetworking.myAd.off()\n      }\n      window.closeAd = () => {\n        if (this.widgetInit) window.jmeNetworking.myAd.close()\n      }\n    }\n  },\n  computed: {\n    ...mapGetters({\n      configForKey: 'config/configForKey',\n      instance: 'instancesState/getInstance',\n      event: 'instancesState/getEvent',\n      language: 'instancesState/getLanguage',\n      loungeRedirectDisabled: 'instancesState/getCompanyLoungeRedirectDisabled',\n      isAppContainer: 'instancesState/getIsAppContainer',\n    }),\n    appConfigV2() {\n      const appConfig = this.configForKey('app_config')\n      if (appConfig.configV2) {\n        return appConfig.configV2\n      }\n      return null\n    },\n    networkingActive() {\n      const [config] = this.configForKey('app_config').config\n      const access = accessControl.accessControlKey('networkingWidget')\n      if (this.isAppContainer && 'networkingWidgetForApp' in config) return config.networkingWidgetForApp\n      if (config.networkingWidget && access) return true\n      return false\n    },\n    appConfig() {\n      const appConfig = this.configForKey('app_config')\n      if (appConfig) {\n        return appConfig.config[0]\n      }\n      return null\n    },\n    virtualMeetingUrl() {\n      return this.appConfig ? this.appConfig.ExternalVirtualMeetingUrl : null\n    },\n    industryOnly() {\n      return this.appConfig ? this.appConfig.IndustryOnly : null\n    },\n    fileJS() {\n      return (this.appConfig && this.appConfig.networkingWidgetJS)\n        ? `${this.appConfig.networkingWidgetJS}?${new Date().getTime()}`\n        : `https://mevents-api-uploads.s3.amazonaws.com/api_uploads/ntw/v2/ntwMain.js?${new Date().getTime()}`\n    },\n    fileCSS() {\n      return (this.appConfig && this.appConfig.networkingWidgetCSS)\n        ? `${this.appConfig.networkingWidgetCSS}?${new Date().getTime()}`\n        : `https://mevents-api-uploads.s3.amazonaws.com/api_uploads/ntw/v2/ntwCss.css?${new Date().getTime()}`\n    },\n  },\n  methods: {\n    customActionTrack(customParams) {\n      if (utils.advancedTracking()) {\n        const page = this.$route.name\n        this.TrackingUtil.trackEvent(\n          page,\n          customParams.Action,\n          utils.advancedTrackingFormat(\n            this.user.UserId,\n            'Event',\n            customParams.ActionContext,\n            customParams.Entity,\n          ),\n        )\n      } else {\n        this.TrackingUtil.trackEvent(\n          customParams.ActionContext,\n          customParams.Action,\n          `id: ${customParams.Entity})`,\n        )\n      }\n\n      trackingApi.trackCustomAction(\n        customParams.Action,\n        customParams.Entity,\n        customParams.ActionContext,\n      )\n    },\n    popupCloseAction() {\n      // eslint-disable-next-line max-len\n      if (this.loungeRedirectDisabled && !this.industryOnly) window.location.href = `${window.location.origin}/home/${this.instance}/${this.event}/${this.language}?companyLoungeRedirectDisabled=false`\n    },\n    networkingRoute(redirectStr) {\n      const data = redirectStr?.split('/')\n      if (redirectStr.startsWith('http')) {\n        window.open(redirectStr, '_self')\n      // } else if (data[0] === 'program') {\n        // eslint-disable-next-line max-len\n      //   this.$router.push(utils.getRouteWithDefaultParams('ProgramPage', {}, { filter: 'myprogramme' })).catch((err) => {})\n      } else {\n        this.$router.push(utils.getRouteWithDefaultParams('MyAreaPage', { module: data[0], id: data[1] })).catch(() => {})\n        utils.showHome()\n      }\n    },\n    loadNetworkingSidebar() {\n      const userId = parseInt(this.$cookies.get('user_id'), 10)\n      const accessToken = this.$cookies.get('access_token')\n      const eventId = parseInt(this.$cookies.get('event_id'), 10)\n      const widgetSettings = {\n        user: {\n          id: userId,\n          token: accessToken,\n        },\n        useManageIds: true,\n        settingsJson: {\n          event_id: eventId,\n        },\n        pageURLS: {\n          chat_groups: 'chatgroup/',\n          user_groups: 'groups',\n          inbox_page: 'inbox',\n          user_program: 'program',\n          user_network: 'network',\n          user_page: this.appConfigV2?.defaultV2?.routeV2\n            ? `${window.location.origin}/${this.instance}/${this.event}/${this.language}/faculty/`\n            : `${window.location.origin}/program/${this.instance}/${this.event}/${this.language}?user=`,\n          resource_page: this.appConfigV2?.defaultV2?.routeV2\n            ? `${window.location.origin}/${this.instance}/${this.event}/${this.language}/presentation/`\n            : `${window.location.origin}/program/${this.instance}/${this.event}/${this.language}?presentation=`,\n          contentsession_page: this.appConfigV2?.defaultV2?.routeV2\n            ? `${window.location.origin}/${this.instance}/${this.event}/${this.language}/session/`\n            : `${window.location.origin}/program/${this.instance}/${this.event}/${this.language}?session=`,\n          mtv_page: `${window.location.origin}/live/${this.instance}/${this.event}/${this.language}?roomid=`,\n          mtv_page_session: `${window.location.origin}/live/${this.instance}/${this.event}/${this.language}?roomid=`,\n        },\n        pageRoutsFunc: this.networkingRoute,\n        pageTrackingFn: this.customActionTrack,\n        popupCloseFunc: this.popupCloseAction,\n        linkTrackingFn: window.tracking,\n      }\n\n      if (this.appConfig.websocket_server_address) {\n        widgetSettings.settingsJson.websocket_server_address = this.appConfig.websocket_server_address\n      }\n\n      if (this.appConfig.api_base_addr) {\n        widgetSettings.settingsJson.api_base_addr = this.appConfig.api_base_addr\n      }\n\n      if (this.virtualMeetingUrl && this.industryOnly) {\n        widgetSettings.pageURLS = {\n          user_groups: `${this.virtualMeetingUrl}/#home/groups`,\n          inbox_page: `${this.virtualMeetingUrl}/#home/messages`,\n          user_program: `${this.virtualMeetingUrl}/#home/program`,\n        }\n      }\n      if (userId && accessToken) {\n        if (window.jmeNetworking) {\n          window.jmeNetworking.sidebarWidget(widgetSettings, this.$refs.networkingSidebarWidget)\n          this.widgetInit = true\n          if (this.appConfig.networkingWidgetPadding === false) {\n            this.$emit('networkingPaddingOff')\n          }\n          this.$emit('networkingActive')\n          EventBus.$emit('networkingActive', this.networkingActive)\n        }\n      }\n      const element = document.getElementsByClassName('hasSplashscreen')\n      if (element.length || (this.$route.name !== 'IndustryLandingPage' && this.$route.name !== 'HomePage')) {\n        window.disableAd()\n      } else if (this.$route.name === 'IndustryLandingPage' || this.$route.name === 'HomePage') {\n        window.openAd()\n      }\n    },\n    checkJS() {\n      return !document.querySelectorAll(`script[src='${this.fileJS}']`).length > 0\n    },\n  },\n}\n\n</script>\n\n<style lang=\"scss\">\n  .networking-widget__sidebar {\n    position: fixed;\n    right: 0;\n    z-index: 11 !important;\n    //height: 100vh;\n    .ntw-myad {\n      visibility: hidden;\n    }\n  }\n  .IndustryLandingPage .networking-widget__sidebar .ntw-myad, .HomePage .networking-widget__sidebar .ntw-myad {\n    visibility: visible;\n  }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./networkingWidget.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./networkingWidget.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./networkingWidget.vue?vue&type=template&id=29815860&v-if=networkingActive\"\nimport script from \"./networkingWidget.vue?vue&type=script&lang=js\"\nexport * from \"./networkingWidget.vue?vue&type=script&lang=js\"\nimport style0 from \"./networkingWidget.vue?vue&type=style&index=0&id=29815860&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isActive && _vm.hasAccess)?_c('div',{attrs:{\"id\":\"vm-index-mtv-mountpoint\"}},[_c('div',{class:_vm.openClass,attrs:{\"id\":\"vm-index-mtv\"}},[_c('div',{attrs:{\"id\":\"vm-index-mtv-player\"}},[_c('div',{attrs:{\"id\":\"vm-index-mtv-player-body\"}},[_c('img',{staticClass:\"vm-index-mtv-player-body-img\",attrs:{\"src\":_vm.image,\"alt\":\"fallback image\"}})])]),_c('div',{attrs:{\"id\":\"vm-index-mtv-switch\"},on:{\"click\":_vm.slide}},[_c('div',{attrs:{\"id\":\"vm-index-mtv-switch-icon\"}}),_c('div',{attrs:{\"id\":\"vm-index-mtv-switch-text\"}},[_vm._v(\" TV \")]),_c('div',{attrs:{\"id\":\"vm-index-mtv-switch-arrow\"}},[(!_vm.open)?[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'angle-right']}})]:[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'angle-left']}})]],2)]),_c('div',{staticClass:\"row\",attrs:{\"id\":\"vm-index-mtv-list\"}},[_c('div',{staticClass:\"index_tv_link_ean\"},[_c('a',{staticClass:\"col-lg index_tv_link index_tv_link_ean_button\",attrs:{\"href\":_vm.url}},[_vm._v(\" go to ean tv \")])])])])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div\n    v-if=\"isActive && hasAccess\"\n    id=\"vm-index-mtv-mountpoint\"\n  >\n    <div\n      id=\"vm-index-mtv\"\n      :class=\"openClass\"\n    >\n      <div id=\"vm-index-mtv-player\">\n        <div id=\"vm-index-mtv-player-body\">\n          <img\n            class=\"vm-index-mtv-player-body-img\"\n            :src=\"image\"\n            alt=\"fallback image\"\n          />\n        </div>\n      </div>\n      <div\n        id=\"vm-index-mtv-switch\"\n        @click=\"slide\"\n      >\n        <div id=\"vm-index-mtv-switch-icon\" />\n        <div id=\"vm-index-mtv-switch-text\">\n          TV\n        </div>\n        <div id=\"vm-index-mtv-switch-arrow\">\n          <template v-if=\"!open\">\n            <font-awesome-icon :icon=\"['fas', 'angle-right']\" />\n          </template>\n          <template v-else>\n            <font-awesome-icon :icon=\"['fas', 'angle-left']\" />\n          </template>\n        </div>\n      </div>\n      <div\n        id=\"vm-index-mtv-list\"\n        class=\"row\"\n      >\n        <div class=\"index_tv_link_ean\">\n          <a\n            class=\"col-lg index_tv_link index_tv_link_ean_button\"\n            :href=\"url\"\n          >\n            go to ean tv\n          </a>\n        </div>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex'\nimport accessControl from '~/utilities/accessControl'\n\nexport default {\n  data() {\n    return {\n      open: false,\n    }\n  },\n  components: {\n  },\n  mounted() {\n\n  },\n  computed: {\n    ...mapGetters({\n      configForKey: 'config/configForKey',\n    }),\n    openClass() {\n      if (this.open) {\n        return 'open'\n      }\n      return null\n    },\n    config() {\n      const { config } = this.configForKey('app_config')\n      return config[0]\n    },\n    image() {\n      return this.config.tvWidget?.image\n    },\n    video() {\n      return this.config.tvWidget?.video\n    },\n    url() {\n      return this.config.tvWidget?.url\n    },\n    isActive() {\n      return this.config.tvWidget?.active\n    },\n    hasAccess() {\n      return accessControl.accessControlKey('tvWidget')\n    },\n  },\n  methods: {\n    slide() {\n      this.open = this.open === false\n      this.jwplayerSetup()\n    },\n    jwplayerSetup() {\n      let playerInstance = null\n      if (this.video) {\n        playerInstance = window.jwplayer('vm-index-mtv-player-body').setup({\n          playlist: [{\n            image: this.image,\n            sources: [\n              {\n                file: this.video\n              }\n            ],\n            description: \"\",\n            mediaid: \"ean-tv-widget-1\"\n          }],\n          aspectratio: '16:9',\n          width: '100%',\n        })\n      }\n      \n      const handleError = () => {\n        playerInstance?.remove()\n        playerInstance = void 0\n      }\n      playerInstance?.on('error', handleError)\n      if (!this.open) {\n        playerInstance?.remove()\n        playerInstance = void 0\n      }\n    },\n  },\n}\n</script>\n\n<style scoped>\n#vm-index-mtv-mountpoint {\n  position: relative;\n  z-index: 20;\n}\n\n#vm-index-mtv {\n  position: absolute;\n  top: 0;\n  left: -1014px;\n  width: 1014px;\n  background-image: linear-gradient(to right, #00499C, #007dc7);\n  z-index: 15;\n  max-width: calc(100% - 65px);\n  border-bottom-right-radius: 20px;\n  transition: left 2s ease-in;\n}\n\n#vm-index-mtv.open {\n  left: 0;\n}\n\n#vm-index-mtv-player{\n  margin: 27px 45px 10px 28px;\n}\n\n#vm-index-mtv-switch{\n  position: absolute;\n  right: -65px;\n  top: 0;\n  width: 65px;\n  padding: 23px 18px;\n  cursor: pointer;\n  background-color: #262626;\n  border-radius: 0 20px 20px 0;\n}\n\n.vm-index-mtv-player-body-img {\n  width: 100%;\n  object-fit: cover;\n  object-position: 50% 50%;\n}\n\n#vm-index-mtv-switch-icon{\n  color: red;\n  border: 4px solid white;\n  border-radius: 50%;\n  width: 28px;\n  height: 28px;\n  font-size: 20px;\n  padding-top: 2px;\n  background: red;\n  margin-bottom: 17px;\n}\n#vm-index-mtv-switch-text {\n  font: 400 21px/28px Nexa;\n  font-weight: bold;\n  color: #FFFFFF;\n  margin-bottom: 22px;\n}\n#vm-index-mtv-switch-arrow {\n  margin: 0;\n  color: white;\n  font-size: 34px;\n}\n#vm-index-mtv-list {\n  margin: 15px 63px;\n}\n.index_tv_link_ean {\n  width: 100%;\n  display: flex;\n  justify-content: flex-end;\n}\n.index_tv_link_ean_button {\n  text-transform: uppercase !important;\n  border: 2px solid #FFFFFF;\n  padding: 9px 17px;\n  display: flex;\n  justify-content: center;\n  align-content: center;\n  color: #FFFFFF;\n  font-size: 15px;\n  font-weight: bold;\n  max-width: max-content;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tvWidget.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tvWidget.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./tvWidget.vue?vue&type=template&id=6432ee95&scoped=true\"\nimport script from \"./tvWidget.vue?vue&type=script&lang=js\"\nexport * from \"./tvWidget.vue?vue&type=script&lang=js\"\nimport style0 from \"./tvWidget.vue?vue&type=style&index=0&id=6432ee95&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"6432ee95\",\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./speakerContactModal.vue?vue&type=style&index=0&id=7f1c5a68&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tvWidget.vue?vue&type=style&index=0&id=6432ee95&prod&scoped=true&lang=css\""],"sourceRoot":""}