(window.webpackJsonp=window.webpackJsonp||[]).push([["linkedshow","chunk-39c10924"],{"05e6":function(e,t,n){"use strict";n.r(t);var r=n("413f"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=i.a},"0c17":function(e,t,n){"use strict";n.r(t);var r=n("7d4d"),i=n("2a63");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("52fb");var s=n("2877"),o=Object(s.a)(i.default,r.render,r.staticRenderFns,!1,null,"50d4e9e7",null);t.default=o.exports},1256:function(e,t,n){"use strict";n("63bd")},"1a49":function(e,t,n){"use strict";n("e594")},2577:function(e,t,n){"use strict";n.r(t);var r=n("4228"),i=n("05e6");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("1a49");var s=n("2877"),o=Object(s.a)(i.default,r.render,r.staticRenderFns,!1,null,"12797d98",null);t.default=o.exports},"2a63":function(e,t,n){"use strict";n.r(t);var r=n("b59e"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=i.a},"2b71":function(e,t,n){"use strict";n.r(t);var r=n("c332"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=i.a},"2ccf":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.presentation?t("div",{staticClass:"content-container",attrs:{id:"content-container"}},[t("p",[e._v("Please make your language selection below.")]),t("div",{staticClass:"button-container",class:e.hasMultipleLinkedShows?"multiple-row":"single-row"},[t("button",{staticClass:"language-button margin-button",attrs:{type:"button"},on:{click:function(t){return e.openShow(e.presentation.Id)}}},[e.presentation.ShowCountryFlag?t("img",{staticClass:"language-flag",attrs:{src:e.basePath+e.presentation.Flag}}):t("span",{staticClass:"language-text"},[e._v(e._s(e.presentation.Language))])]),e._l(e.presentation.LinkedPresentations,(function(n){return t("button",{key:n.Id,staticClass:"language-button",attrs:{type:"button"},on:{click:function(t){return e.openShow(n.Id,n.EntryCodePrefix)}}},[e.presentation.ShowCountryFlag?t("img",{staticClass:"language-flag",attrs:{src:e.basePath+n.Flag}}):t("span",{staticClass:"language-text"},[e._v(e._s(n.Language))])])}))],2)]):e._e()},t.staticRenderFns=[]},"37b1":function(e,t,n){},"413f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={props:{message:{type:String,required:!0},imageUrl:{type:String,required:!1},imageAnimation:{default:"",type:String,required:!1},imageOrientation:{required:!1,type:String,default:"left"},fontWeight:{required:!1,type:String,default:"normal"},imageHeight:{required:!1,type:String,default:""},margins:{required:!1,type:String,default:""}}}},4228:function(e,t,n){"use strict";var r=n("c9bf");n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},4277:function(e,t,n){"use strict";var r=n("7567");n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},"52fb":function(e,t,n){"use strict";n("b9b9")},"5cba":function(e,t,n){"use strict";n.r(t);var r=n("4277"),i=n("2b71");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("1256"),n("d9cc");var s=n("2877"),o=Object(s.a)(i.default,r.render,r.staticRenderFns,!1,null,"0c32fc12",null);t.default=o.exports},"63bd":function(e,t,n){},7567:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.presentation?t("div",{staticClass:"content-container"},[t("p",[e._v("Please select an option below to proceed.")]),t("div",{staticClass:"button-container"},[t("button",{staticClass:"language-button language-text fs-block",attrs:{type:"button"},on:{click:function(t){return e.openShow(e.presentation.Id)}}},[e._v("\n        "+e._s(e.presentation.Label)+"\n    ")]),e._l(e.presentation.LinkedPresentations,(function(n){return t("button",{key:n.Id,staticClass:"language-button language-text linked-button fs-block",attrs:{type:"button",title:n.Label},on:{click:function(t){return e.openShow(n.Id,n.EntryCodePrefix)}}},[e._v("\n        "+e._s(n.Label)+"\n    ")])}))],2)]):e._e()},t.staticRenderFns=[]},"7d4d":function(e,t,n){"use strict";var r=n("a1e9");n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},"8d6c":function(e,t,n){"use strict";var r=n("2ccf");n.o(r,"render")&&n.d(t,"render",(function(){return r.render})),n.o(r,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return r.staticRenderFns}))},a125:function(e,t,n){"use strict";n.r(t);var r=n("e94f"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t.default=i.a},a1e9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.presentation&&e.presentation.ShowLinkTypeId!==e.ShowLinkTypeNone?t("div",{staticClass:"container"},[e.loading?t("UserNotice",{staticClass:"user-notice",attrs:{imageUrl:e.loader,message:e.loadingMessage,imageOrientation:"top",imageAnimation:"rotate"}}):t("div",[e.isDualLanguageShow?t("DualLanguageShows",{attrs:{presentation:e.presentation},on:{onClick:e.openLinkedShow}}):t("CustomAgendaShows",{attrs:{presentation:e.presentation},on:{onClick:e.openLinkedShow}})],1)],1):e._e()},t.staticRenderFns=[]},b59e:function(e,t,n){"use strict";var r=n("288e");n("8e6e"),n("ac6a"),n("456d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("bd86")),a=n("2f62"),s=r(n("5cba")),o=r(n("ef8c")),u=r(n("2577")),c=r(n("e6fd")),d=r(n("04ff")),l=r(n("d94e")),f=r(n("8544"));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default={name:"LinkedShow",components:{CustomAgendaShows:s.default,DualLanguageShows:o.default,UserNotice:u.default},mounted:function(){var e=this,t=this.$route.params.presId,n=l.default.getNRSLinkedShowEntryCode(t),r=this.$route.query.email,i=this.$route.query.isguest,a=this.$route.query.ismynrs;n&&r&&(this.isRetailRoadshow=!1,this.entryCode=n,this.email=r,i&&(this.isGuest=Boolean(i)),a&&(this.isMyNrs=Boolean(a))),this.fetchLinkedShows({presId:t,entryCode:n}).then((function(t){e.loading=!1,t.data?e.presentation=t.data:e.$router.push({name:"error"})}),(function(){return e.$router.push({name:"error"})}))},computed:{isDualLanguageShow:function(){return this.presentation.ShowLinkTypeId===c.default.ShowLinkType.DualLanguage}},data:function(){return{email:"",entryCode:"",isRetailRoadshow:!0,presentation:null,ShowLinkTypeNone:c.default.ShowLinkType.None,loading:!0,loadingMessage:c.default.LoadingMessage.PresentationPreLoading,loader:d.default,isGuest:!1,isMyNrs:!1}},methods:g(g({},(0,a.mapActions)("presentation",["fetchLinkedShows","processEntryCode"])),{},{openLinkedShow:function(e,t){var n=this;if(this.isRetailRoadshow){f.default.storeIsRetail(e);var r=this.$router.resolve({name:"validate",params:{presId:e}});window.open(r.href,"_blank")}else{this.loading=!0,this.loadingMessage=c.default.LoadingMessage.PresentationLoading;var i=this.entryCode;t&&(i=t+this.entryCode);var a={Email:this.email,EntryCode:i,IsNewBrowser:!0,UseNewTemplate:!1,IsGuestLogin:this.isGuest,IsMynrs:this.isMyNrs,RedirectToCustomPage:!1};this.processEntryCode(a).then((function(e){e.data&&e.data.IsValid?(window.open(e.data.NrsPresentationShowUrl,"_blank"),n.resetState()):n.$router.push({name:"error"})}),(function(){return n.$router.push({name:"error"})}))}},resetState:function(){this.loading=!1}})}},b92e:function(e,t,n){"use strict";n("37b1")},b9b9:function(e,t,n){},c332:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"CustomAgendaShows",props:["presentation"],computed:{hasMultipleLinkedShows:function(){return this.presentation.LinkedPresentations.length>3}},methods:{openShow:function(e,t){this.$emit("onClick",e,t)}}}},c637:function(e,t,n){},c9bf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{staticClass:"user-notification",class:e.imageOrientation,style:{margin:e.margins}},[e.imageUrl?t("img",{staticClass:"notification-image",class:e.imageAnimation,attrs:{src:e.imageUrl,height:e.imageHeight}}):e._e(),t("div",{staticClass:"message"},[e._t("notificationMessage",(function(){return[t("p",{staticClass:"notification-message",class:e.fontWeight},[e._v(e._s(e.message))])]}),{message:e.message})],2)])},t.staticRenderFns=[]},d9cc:function(e,t,n){"use strict";n("c637")},e594:function(e,t,n){},e94f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"DualLanguageShows",props:["presentation"],computed:{hasMultipleLinkedShows:function(){return this.presentation.LinkedPresentations.length>3}},data:function(){return{basePath:"../../flags/"}},methods:{openShow:function(e,t){this.$emit("onClick",e,t)}}}},ef8c:function(e,t,n){"use strict";n.r(t);var r=n("8d6c"),i=n("a125");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n("b92e");var s=n("2877"),o=Object(s.a)(i.default,r.render,r.staticRenderFns,!1,null,"7742459c",null);t.default=o.exports}}]);