/*! builder: oce-mpa-builder - version: 2.1.0  framework: ewizardjs - version: 5.9.0 */
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{202:function(g,w,s){"use strict";s.r(w);var u=s(228),l=s(223),v=s(99);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(224);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(225);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)}},222:function(g,w,s){var u={"./block":204,"./block.d":208,"./block.d.ts":208,"./block.js":204,"./component":209,"./component.d":210,"./component.d.ts":210,"./component.js":209,"./edetailer":205,"./edetailer.d":211,"./edetailer.d.ts":211,"./edetailer.js":205,"./email":206,"./email.d":212,"./email.d.ts":212,"./email.js":206,"./module":213,"./module.d":214,"./module.d.ts":214,"./module.js":213,"./site":215,"./site.d":216,"./site.d.ts":216,"./site.js":215,"./survey":217,"./survey.d":218,"./survey.d.ts":218,"./survey.js":217};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=222}}]);
