/*! builder: oce-mpa-builder - version: 2.1.0  framework: ewizardjs - version: 5.9.0 */
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{203:function(g,w,s){"use strict";s.r(w);var u=s(229),l=s(224),v=s(96);class a extends l.a{constructor(e,t,n){super(e,t,n);this.structure.setCurrentData(window.__navigation);const i=()=>{const c=document.getElementById("viewer");this.invokeBeforeSlideEnter(c),this.invokeSlideEnter(c)},o=()=>{const c=document.getElementById("viewer");this.invokeBeforeSlideLeave(c),this.invokeSlideLeave(c)};try{d("viewappearing",i),d("viewdisappearing",o),window.CLMPlayer.registerEventListener("viewappearing",i),window.CLMPlayer.registerEventListener("viewdisappearing",o)}catch{window.onload=()=>{i()},window.onunload=()=>{o()},console.warn("The presentation is open in non-OCE environment")}}hasNextSubslide(){return this.hasSubslides("next")}hasPrevSubslide(){return this.hasSubslides("prev")}hasSubslides(e){const t=this.structure.getCurrentSlide(),{subslides:n}=this.structure.json.slides[t];if(n){const{currentSubslide:i}=this.structure;let o;return e==="next"?o=n.indexOf(i)+1:e==="prev"&&(o=n.indexOf(i)-1),!!n[o]}}openDocument(e){e.startsWith("oceasset_")?window.CLMPlayer.gotoSlide(Object(v.basename)(e,".pdf")):super.openDocument(e)}}function d(r,e){const t=window.CLMPlayer.registeredEvents[r]||[];window.CLMPlayer.registeredEvents[r]=t.filter(n=>n.toString()!==e.toString())}var p=s(225);class h extends p.a{goTo(e,t=!1){!t&&this.nextNavigationLocked&&this.prevNavigationLocked||e&&(e.subslide?this.gotoSlide(e.subslide):this.gotoSlide(e.slide))}goToSibling(e){this.goTo(e)}gotoSlide(e){const t=["000_homepage","001_helpHimGetToGoal","002_dayToDayStability","003_patientsDeserveAdaptability","004_gettingToGoal","005_youCanSignificantlyIncrease","006_helpingToAvoidTheDownSide","007_tresibaTheReassurance","008_reassuranceFromConsistently","009_basedOnConclude","010_everydayUse","011_startingIsSimple","012_tresibaIsAvailable","013_smartWaysToUseTresiba","014_insulinPens","015_tresibaSummaryOfBenefits"].findIndex(i=>i.substring(i.indexOf("_")+1)===e),n=window.configData.presentations[window.configData.presentationIndex].sequences[t].id;return window.CLMPlayer.gotoSlide(n,"01_index.html")}setCurrentStructure(){}}window.CLMPlayer||(window.CLMPlayer={},window.CLMPlayer.gotoSlide=window.CLMPlayer.goPreviousSequence=window.CLMPlayer.goNextSequence=window.CLMPlayer.defineNoSwipeRegion=function(){console.warn("The presentation is open in non-OCE environment")});var f=s(226);class m extends f.a{constructor(e){super(e);this.vueRouter.vueRouter.beforeEach((t,n,i)=>{this.previousNavigation={chapter:location.hash.split("/")[1],slide:location.hash.split("/")[2]},i()})}async invoke(e,t){const n=this.getHookInfo(e,t);await this.invokeHandlers(this[e],n)}}var y=w.default=(r,e,t)=>{const n=new h(r,e,t),i=new m(r),o=new u.a(n);return new a(n,i,o)}},223:function(g,w,s){var u={"./block":205,"./block.d":209,"./block.d.ts":209,"./block.js":205,"./component":210,"./component.d":211,"./component.d.ts":211,"./component.js":210,"./edetailer":206,"./edetailer.d":212,"./edetailer.d.ts":212,"./edetailer.js":206,"./email":207,"./email.d":213,"./email.d.ts":213,"./email.js":207,"./module":214,"./module.d":215,"./module.d.ts":215,"./module.js":214,"./site":216,"./site.d":217,"./site.d.ts":217,"./site.js":216,"./survey":218,"./survey.d":219,"./survey.d.ts":219,"./survey.js":218};function l(a){var d=v(a);return s(d)}function v(a){if(!s.o(u,a)){var d=new Error("Cannot find module '"+a+"'");throw d.code="MODULE_NOT_FOUND",d}return u[a]}l.keys=function(){return Object.keys(u)},l.resolve=v,g.exports=l,l.id=223}}]);
