(window.webpackJsonp=window.webpackJsonp||[]).push([["disclaimer","chunk-39c10924"],{"016c":function(e,t,i){"use strict";i.r(t);var n=i("aca9"),s=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t.default=s.a},"05e6":function(e,t,i){"use strict";i.r(t);var n=i("413f"),s=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t.default=s.a},"1a49":function(e,t,i){"use strict";i("e594")},"1f8c":function(e,t,i){"use strict";i("6788")},2577:function(e,t,i){"use strict";i.r(t);var n=i("4228"),s=i("05e6");for(var r in s)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(r);i("1a49");var a=i("2877"),o=Object(a.a)(s.default,n.render,n.staticRenderFns,!1,null,"12797d98",null);t.default=o.exports},"2f05":function(e,t,i){"use strict";i.r(t);var n=i("65c7"),s=i("016c");for(var r in s)["default"].indexOf(r)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(r);i("1f8c");var a=i("2877"),o=Object(a.a)(s.default,n.render,n.staticRenderFns,!1,null,"6d66475e",null);t.default=o.exports},3536:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){document.documentElement.style.setProperty("--max-screen-height","".concat(window.innerHeight,"px"))};t.default={enableResizeListener:function(){n(),window.addEventListener("resize",n)}}},"386d":function(e,t,i){"use strict";var n=i("cb7c"),s=i("83a1"),r=i("5f1b");i("214f")("search",1,(function(e,t,i,a){return[function(i){var n=e(this),s=null==i?void 0:i[t];return void 0!==s?s.call(i,n):new RegExp(i)[t](String(n))},function(e){var t=a(i,e,this);if(t.done)return t.value;var o=n(e),d=String(this),c=o.lastIndex;s(c,0)||(o.lastIndex=0);var l=r(o,d);return s(o.lastIndex,c)||(o.lastIndex=c),null===l?-1:l.index}]}))},"413f":function(e,t,i){"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,i){"use strict";var n=i("c9bf");i.o(n,"render")&&i.d(t,"render",(function(){return n.render})),i.o(n,"staticRenderFns")&&i.d(t,"staticRenderFns",(function(){return n.staticRenderFns}))},"65c7":function(e,t,i){"use strict";var n=i("dbea");i.o(n,"render")&&i.d(t,"render",(function(){return n.render})),i.o(n,"staticRenderFns")&&i.d(t,"staticRenderFns",(function(){return n.staticRenderFns}))},6788:function(e,t,i){},"83a1":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},"910a":function(e,t,i){"use strict";var n=i("288e");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(i("4360"));t.default={FetchViewRoute:function(){var e="presentation";return s.default.getters["presentation/isDocOnly"]&&(e="docOnly"),s.default.getters["presentation/isSlidesOnly"]&&(e="slidesOnly"),s.default.getters["presentation/isMediaSlides"]&&(e="mediaSlides"),s.default.getters["simulive/isSimuLiveEnabled"]&&!s.default.getters["liveVideo/hasLiveVideo"]&&(e="simuLive"),s.default.getters["presentation/isVideoOnly"]&&(e="videoOnly"),s.default.getters["presentation/isAudioOnly"]&&(e="audioOnly"),s.default.getters["presentation/isCCAndSlideShow"]&&(e="conferenceWithSlides"),s.default.getters["presentation/isCCOnlyShow"]&&(e="conferenceOnly"),s.default.getters["liveVideo/hasLiveVideo"]&&(e="liveVideo"),e}}},aca9:function(e,t,i){"use strict";var n=i("288e");i("8e6e"),i("456d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var s=n(i("3b8d"));i("55dd"),i("386d"),i("28a5"),i("ac6a"),i("a481");var r=n(i("bd86")),a=i("2f62"),o=n(i("41cb")),d=n(i("2577")),c=n(i("e6fd")),l=n(i("8544")),u=n(i("3536")),f=n(i("910a")),h=n(i("b5ef")),p=n(i("04ff"));function g(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function m(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?g(Object(i),!0).forEach((function(t){(0,r.default)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var v;t.default={data:function(){return{disclaimerData:[{}],loader:p.default,loading:!0,loadingMessage:c.default.LoadingMessage.DisclaimerLoading,logId:null}},components:{UserNotice:d.default},computed:m(m(m({},(0,a.mapState)("conferenceCall",["ccRegistrationEnabled"])),(0,a.mapState)("presentation",["presentation"])),(0,a.mapGetters)("presentation",["isNrsConferencing"])),methods:m(m(m(m(m({},(0,a.mapActions)("presentation",["fetchDisclaimer"])),(0,a.mapMutations)("presentation",["setIsPreview"])),(0,a.mapMutations)("conferenceCall",{setNrsConferencingLoaded:"setNrsConferencingLoaded",setCCData:"set"})),(0,a.mapMutations)("media",["setResumeModalState"])),{},{agreeToDisclaimer:function(e,t){this.logDisclaimerConsent(e,!0),e.displayOnScreen=!1,this.$set(this.disclaimerData,t,e),t===this.disclaimerData.length-1&&(l.default.getIsRetail(this.presId)&&this.presentation.ShowLinkTypeId===c.default.ShowLinkType.CustomAgenda?this.redirectToLinkedShow():-1==this.logId&&(this.isCCAndSlideShow()||this.isShowLiveVideo())?this.$router.push({name:"slidesOnly"}):-1==this.logId&&this.presentation.HasSimuLiveVideo?this.openSimuLiveView():(this.isNrsConferencing&&!this.ccRegistrationEnabled&&this.setNrsConferencingLoaded(!1),this.openPresentationView()))},disagreeToDisclaimer:function(e){this.logDisclaimerConsent(e,!1)},logDisclaimerConsent:function(e,t){var i=this,n={DisclaimerId:e.DisclaimerId,Agreed:t},s=t?"agreed":"rejected";5===e.ShowManagementDisclaimerType?this.$store.dispatch("log/logToLogEvent",{content:JSON.stringify(n),eventType:c.default.Logs.LogEventType.CompanyConsent,presId:this.presId}).finally((function(){i.closeTabIfUserDisagreesToDisclaimer(t)})):this.$store.dispatch("log/logToLogEvent",{content:"The Disclaimer: ".concat(e.DisclaimerName," - ").concat(s),eventType:c.default.Logs.LogEventType.ShowDisclaimer}).finally((function(){i.closeTabIfUserDisagreesToDisclaimer(t)}))},closeTabIfUserDisagreesToDisclaimer:function(e){e||window.close()},openPresentationView:function(){l.default.storeDisclaimerCheck(this.presId);var e=f.default.FetchViewRoute();"conferenceWithSlides"!==e||null!=this.presentation.ConferenceCallData?o.default.push({name:e,params:{presId:this.presId,isFirstLoad:!0}}):o.default.push({name:"slidesOnly"})},isCustomAgendaDisclaimerAccepted:function(){var e=c.default.RetailRoadShow.DisclaimerStatusKey.replace("{presid}",this.presId);return"1"===l.default.getRRSDisclaimerStatus(e)},redirectToLinkedShow:function(){var e=this.presId,t=c.default.RetailRoadShow.DisclaimerStatusKey.replace("{presid}",this.presId);l.default.storeRRSDisclaimerStatus(t,1),this.$router.push({name:"linkedshow",params:{presId:e}})},getDisclaimer:function(e,t){var i=this;this.fetchDisclaimer(e.URL).then((function(n){e.content=n.data,e.displayOnScreen=!0,e.DisclaimerName||(e.DisclaimerName="Disclaimer"),e.actionsToDisplay=i.getCustomizedActionButtons(e.Actions),i.$set(i.disclaimerData,t,e)}))},getPresentationDisclaimers:function(){for(var e=0;e<this.presentation.Disclaimers.length;e++)this.getDisclaimer(this.presentation.Disclaimers[e],e)},isCCAndSlideShow:function(){return this.presentation.HasConferenceCall&&this.presentation.HasSlides&&!this.presentation.Video&&!this.presentation.Audio&&!this.presentation.HasSimuLiveVideo&&!this.presentation.LiveVideoData},getLogIdValuefromUrl:function(){var e=this;window.location.search.substring(1).split("&").forEach((function(t){var i=t.split("=");"logId"===i[0]&&(e.logId=i[1])}))},isShowLiveVideo:function(){return this.presentation.HasSlides&&!this.presentation.HasSimuLiveVideo&&(this.presentation.HasLiveVideoEvent||this.presentation.HasConferenceCall)},openSimuLiveView:function(){this.setResumeModalState(0),this.setCCData({PresentationId:this.presentation.PresentationId,ConferenceCallData:!0}),this.presentation.Slides.length>0?this.$router.push({name:"mediaSlides"}):this.$router.push({name:"videoOnly"})},handlePreviewMode:function(){(this.isCCAndSlideShow()||this.isShowLiveVideo())&&this.setNrsConferencingLoaded(!0),this.presentation.Disclaimers.length>0?(this.getPresentationDisclaimers(),this.loading=!1):this.isCCAndSlideShow()||this.isShowLiveVideo()?this.$router.push({name:"slidesOnly"}):this.presentation.HasSimuLiveVideo&&this.openSimuLiveView()},getDefaultActionButtons:function(){return[{type:"Disagree",displayText:"Disagree"},{type:"Agree",displayText:"Agree"}]},getCustomizedActionButtons:function(e){if(!e||0===e.length)return this.getDefaultActionButtons();var t=[];return e.sort((function(e,t){return e.Order-t.Order})).forEach((function(e){t.push({type:e.Type,displayText:e.DisplayText})})),t}}),mounted:(v=(0,s.default)(regeneratorRuntime.mark((function e(){var t,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u.default.enableResizeListener(),h.default.validateRRSRegistration(this.presentation),t=this.ccRegistrationEnabled,i=l.default.getIsRetail(this.presId)&&this.presentation.ShowLinkTypeId===c.default.ShowLinkType.CustomAgenda&&this.isCustomAgendaDisclaimerAccepted(),this.getLogIdValuefromUrl(),-1!=this.logId){e.next=10;break}if(this.setIsPreview(!0),this.handlePreviewMode(),!this.isCCAndSlideShow()){e.next=10;break}return e.abrupt("return");case 10:if(!(this.presentation.Disclaimers.length<1||t||i)){e.next=14;break}return this.loadingMessage=c.default.LoadingMessage.PresentationLoading,this.openPresentationView(),e.abrupt("return");case 14:this.getPresentationDisclaimers(),this.loading=!1,this.isNrsConferencing&&!this.ccRegistrationEnabled&&this.setNrsConferencingLoaded(!0);case 17:case"end":return e.stop()}}),e,this)}))),function(){return v.apply(this,arguments)}),props:["presId"]}},c9bf:function(e,t,i){"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=[]},dbea:function(e,t,i){"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.disclaimerData&&e.disclaimerData.length>0?t("div",{staticClass:"disclaimer-container"},[e.loading?t("UserNotice",{staticClass:"user-notice",attrs:{imageUrl:e.loader,message:e.loadingMessage,imageOrientation:"top",imageAnimation:"rotate"}}):e._e(),e._l(e.disclaimerData,(function(i,n){return t("div",{key:n},[i.displayOnScreen?t("div",{staticClass:"disclaimer-content",style:{"z-index":e.disclaimerData.length-n}},[t("div",{staticClass:"disclaimer-text-container"},[t("div",{staticClass:"disclaimer-text",domProps:{innerHTML:e._s(i.content)}})]),t("div",{staticClass:"disclaimer-btn-container"},[i.AgreementText?t("div",{staticClass:"agreement-text",domProps:{innerHTML:e._s(i.AgreementText)}}):e._e(),e._l(i.actionsToDisplay,(function(s){return t("div",{staticClass:"disclaimer-btn",class:["Agree"===s.type?"btn-agree":"btn-disagree"],on:{click:function(t){"Agree"===s.type?e.agreeToDisclaimer(i,n):e.disagreeToDisclaimer(i)}}},[e._v("\n          "+e._s(s.displayText)+"\n        ")])}))],2)]):e._e()])}))],2):e._e()},t.staticRenderFns=[]},e594:function(e,t,i){}}]);