/*! ds-bootstrap - v1.0.0.28820 - 2022-09-21 8:44pm UTC * Copyright (c) 2022 ; Not Licensed */(function(){var __webpack_modules__={3847:function(t,e,n){"use strict";var i,r;i=[n(8087)],void 0===(r=function(){Promise.resolve().then((function(){var t=[n(6486),n(6407),n(5273),n(5812),n(6295)];(function(t,e,i){Promise.resolve().then((function(){var e=[n(7510),n(9739),n(857),n(292),n(9229),n(1421),n(5611),n(4698),n(8766),n(7812),n(7594),n(4839),n(9343),n(8579),n(1251),n(8939),n(8880),n(5626),n(1419),n(2581),n(3034),n(3716),n(8901),n(9835),n(3400),n(9032),n(1070),n(3797),n(9904),n(6882),n(3005),n(4481),n(1291),n(8935),n(2972),n(9447),n(1681),n(7097),n(2075),n(5641),n(2499),n(1294),n(82),n(6194),n(4811),n(118),n(7235),n(7300),n(520),n(3586),n(5173),n(262),n(6978),n(5337),n(6334),n(6159),n(9005),n(4427),n(8945),n(4403),n(5485),n(6936),n(5470),n(3707),n(8467),n(8351)];(function(e,n,r,o,s,a,l,u,c,h,d,p,f,v,g,m,y,b,w,A,S,E,T,x,C,_,k,M,O,L,P,I,R,D,N,H,V,F,B,j,U,z,W,G,q,Y,X,K,J,Z,$,Q,tt,et,nt,it,rt,ot,st,at,lt){if(!window.globals.unsupportedBrowser){var ut=v.deviceView.isMobile?"MOBILE":"DESKTOP",ct=h.frameLocations[ut],ht=h.cssLocations[ut],dt=void 0;if(window.globals.useJson&&i.loadFromJson(),!window.globals.AUTHORING_HOST_MODE){dt=function(){return DS.loadScript(h.slideLocation)},(v.deviceView.isMobile||v.theme.isUnified)&&(window.globals.scale="noscale"),window.globals.HAS_SLIDE&&window.globals.HAS_FRAME||O.initialize(window.globals.HAS_SLIDE);var pt=document.createElement("link");pt.type="text/css",pt.href=ht,pt.rel="stylesheet",pt.dataset.noprefix=!0,document.head.appendChild(pt)}if(window.DS=window.DS||{},Object.assign(window.DS,{_:t,globalEventHelper:e,analyticsHelper:n,animationClock:r,AnimationTimeline:o,appState:s,audioContext:a,automation:l,BaseModel:u,captionsManager:c,constants:h,cssPrefix:d,debug:p,debugWindow:f,detection:v,dom:g,errorManager:m,events:y,fileProtocolOverrides:b,flagManager:w,focusManager:A,fontManager:S,keyManager:E,MicroScrollBar:T,mobileChromeKiller:x,pinchZoomController:C,pubSub:_,playerGlobals:k,previewHelper:M,rangeSliders:L,requestAnimationFrame:P,scaler:I,shortcutManager:R,slideNumberManager:D,slideObjectUtils:N,slidesController:H,stringTabler:V,svgUtils:F,tabFocusBox:B,TimelineLite:j,ThreeSixtyImage:U,TransMatrix:z,TweenLite:TweenLite,utils:W,vendorOverrides:G,vow:q,resolver:Y,webObjectHelper:X,windowOpen:K,windowManager:J,mixer:Z,PostMessaging:$,ancestral:Q,resolveable:tt,shortEventable:et,subscribable:nt,Chunk:it,courseStateHelper:rt,resumer:ot,lmsManager:st,superagent:at,Backbone:lt,clientHeight:document.body.clientHeight,clientWidth:document.body.clientWidth,loadScript:function(t,e){var n=document.createElement("script");n.src=t,n.onload=e,document.head.appendChild(n)}}),!window.globals.AUTHORING_HOST_MODE){var ft=function(){_.once(y.ds.PRESO_LOADED,(function(t){_.trigger(y.ds.PRESO_READY,DS.presentation,h.els.PRESO),Y.initialize(),H.initialize(DS.presentation),l.initialize(H,DS.presentation),E.initialize(),J.initialize(),K.initialize(DS.presentation),X.initialize(DS.presentation),n.initialize(DS.presentation),p.initialize(window.globals.HAS_SLIDE?DS.presentation:void 0,window.globals.HAS_FRAME?DS.frame:void 0),M.initialize(DS.frame,DS.presentation,t),_.trigger(y.app.COMPLETE)}))};_.once(y.ds.FRAME_DATA_LOADED,(function(t){DS.frame=t,ft(),window.globals.HAS_SLIDE?dt():(w.register("slides",W.getPath(window,"globals.features","").split(",")),DS.playerGlobals.presentation=DS.presentation,I.initialize(),_.trigger(y.ds.PRESO_LOADED),DS.frameModel.frame.controlOptions.controls.closed_captions&&_.trigger(y.captions.SHOW_BUTTON))})),window.globals.HAS_FRAME?DS.loadScript(ct):(ft(),dt(),document.querySelector("body > .slide-loader").style.display="none")}}}).apply(null,e)})).catch(n.oe)}).apply(null,t)})).catch(n.oe)}.apply(e,i))||(t.exports=r)},292:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(82),r=n(6295),o=n(5641),s=n(857),a=function(t,n){return e.findIndex(t,{id:n})},l=function(t){return t instanceof r||t instanceof o},u=function(t){this.playing=!1,this.currentTime=0,this.lastCallbackTime=-1,this.labels={},this.duration=0,this.callbacks=[],this.seekables=[],this.activeSeekables=[],null!=t&&(["onUpdate","onComplete"].forEach(function(e){this[e]=t[e]}.bind(this)),t.tweens&&t.tweens.forEach(function(t){var e=t.delay();l(t)&&(this.wrapGsap(t),e=i.toMilliseconds(e)),this.addSeekable(t,e,!0)}.bind(this)))};return e.extend(u.prototype,{add:function(t,n,i){if(e.isString(t))this.labels[t]=n;else{if(n=e.isString(n)?this.labels[n]:n||0,e.isFunction(t))return this.insertCallback(this.wrapCallback(t,n)),void this.updateDuration(n);l(t)&&this.wrapGsap(t),e.isFunction(t.stepAnimation)&&this.addSeekable(t,n,i)}},remove:function(t){var n,i,r,o;e.isString(t)?this.labels[t]=null:null!=t.timelineData&&(n=t.timelineData.seekableId,(i=a(this.callbacks,n))>=0&&(this.callbacks.splice(i,1),(r=a(this.seekables,n))>=0&&(this.seekables.splice(r,1),(o=a(this.activeSeekables,n))>=0&&(this.activeMutated=!0,this.activeSeekables.splice(o,1)))),t.timelineData=null,this.mutated=!0)},updateDuration:function(t){t>this.duration&&(this.duration=t,null!=this.timelineData&&this.timelineData.parent.childDurationChanged(this))},childDurationChanged:function(t){this.updateDuration(t.timelineData.startTime+t.totalTime())},wrapGsap:function(t){t.pause(),t.totalTime=function(){return i.toMilliseconds(t.duration())},t.stepAnimation=function(e,n){var r=i.toSeconds(e);t.seek(r,!0),t.render(r,!!n,!0)}},addSeekable:function(t,e,n){var r=t.totalTime(),o=i.clamp(0,r,this.currentTime-e),s=this.wrapSeekable(t,e);this.seekables.push(s),this.insertCallback(s),!n&&this.currentTime>=e&&((this.executingCallbacks||o<=r)&&s.timelineCallback(),this.executingCallbacks||t.stepAnimation(o)),this.updateDuration(e+t.totalTime())},wrapCallback:function(t,n){return{startTime:n,id:e.uniqueId("wc"),timelineCallback:t}},wrapSeekable:function(t,n){var i=e.uniqueId("ws"),r={startTime:n,id:i,seekable:t};return r.timelineCallback=function(){r.seekable.killed||this.activeSeekables.push(r)}.bind(this),t.timelineData={parent:this,seekableId:i,startTime:n},r},insertCallback:function(t){0===this.callbacks.length||t.startTime>=e.last(this.callbacks).startTime?this.callbacks.push(t):this.callbacks.splice(e.sortedLastIndexBy(this.callbacks,t,"startTime"),0,t)},hasParentTimeline:function(){return null!=this.timelineData},pause:function(){this.playing&&!this.hasParentTimeline()&&(this.playing=!1,this.currentTime=this.executingCallbacks?this.lastCallbackTime:s.time()-this.startTime)},play:function(){!this.playing&&!this.hasParentTimeline()&&this.currentTime0)&&!this.hasParentTimeline()&&(this.update(),s.requestAnimationFrame(this.tick.bind(this))))},stepAnimation:function(t,e){this.currentTime;this.currentTime=i.clamp(0,this.duration,t),this.update(e)},update:function(t){this.renderDirty=!1,!this.silent&&this.executeCallbacks()&&(this.updateActiveSeekables(t),this.onUpdate&&this.onUpdate(),this.currentTime>=this.duration&&(this.playing=!1,t||null==this.onComplete||this.onComplete()))},executeCallbacks:function(){this.executingCallbacks=!0;var t=e.sortedLastIndexBy(this.callbacks,{startTime:this.lastCallbackTime},"startTime");if(t>=this.callbacks.length)return this.executingCallbacks=!1,!0;for(var n=this.callbacks.slice(t),i=n.length,r=0,o=this.currentTime;!this.killed&&rthis.currentTime)return this.executingCallbacks=!1,!1;o=this.currentTime,r++}return this.executingCallbacks=!1,!0},updateActiveSeekables:function(t){var e,n,i,r=this.activeSeekables.length-1;for(this.activeMutated=!1;r>=0&&!this.killed;)(!this.activeMutated||r=n+e.totalTime()&&(!this.activeMutated||i===this.activeSeekables[r])&&this.activeSeekables.splice(r,1)),r--},kill:function(){this.killed||(this.killed=!0,null!=this.timelineData&&this.timelineData.parent.remove(this),this.timelineData=null,this.onUpdate=null,this.onComplete=null,this.labels=null,this.callbacks=null,this.activeSeekables=null,this.seekables.forEach((function(t){null!=t.seekable.kill&&t.seekable.kill()})),this.seekables=null)}}),u}.call(e,n,e,t))||(t.exports=i)},4698:function(t,e,n){"use strict";var i;void 0===(i=function(t){n(3934);var e=n(5485),i=n(6486),r=n(8880),o=n(8939),s=n(6334),a=n(6978),l=n(262),u=n(5337),c=n(3586),h=n(82),d=o.throwError("BaseModel"),p=function(){},f=h.createSuper(e.Model),v=e.Model.extend({abilities:{resolveAsThis:!1,resolveAsParent:!1,beEventTarget:!1},mixins:[s,a,l,u],autoParse:!1,isModel:!0,constructor:function(t,n){i.bindAll(this,"createAbsoluteId");var o=this.initialize;this.initialize=p,this.autoParse&&((n=n||{}).parse=!0),e.Model.call(this,t,n),this.on(r.data.UPDATED,this.createAbsoluteId),this.createParentReference(n).buildAssociations().bindAssociations().createAbsoluteId(),c.initMixinsOf(this),this.initialize=o,this.initialize.apply(this,arguments),c.postInitMixinsOf(this)},index:function(){return this.collection||d("index","must have a `collection` defined"),this.collection.indexOf(this)},sibling:function(t){return this.collection||d("sibling","must have a `collection` defined"),t=t||0,this.collection.at(this.index()+t)},prevSibling:function(){return this.sibling(-1)},nextSibling:function(){return this.sibling(1)},toJSON:function(t){return h.isTrue(t)?h.cloneDeeply(this):f("toJSON").call(this)},buildAssociations:function(t){for(var e in this.associations)this.associations.hasOwnProperty(e)&&this.buildAssociation(e);return this},buildAssociation:function(t,e){var n=e||this.get(t),i={parent:this},r=this.associations[t];return n instanceof r||(this.attributes[t]=h.buildDataStructure(r,i,n)),this},bindAssociation:function(t){return this.on("change:"+t,(function(e,n,o){var s=this.previous(t);i.isFunction(s.set)?(s.set(n,{parent:this}),s.trigger(r.data.UPDATED),s.isCollection&&s.invoke("trigger",r.data.UPDATED),this.set(t,s,{silent:!0})):this.buildAssociation(t,n)})),this},bindAssociations:function(){for(var t in this.associations)this.associations.hasOwnProperty(t)&&this.bindAssociation(t);return this},buildAbsoluteId:function(){if(!this.id)return null;for(var t=this,e=[this.id];t=t.parent;)t.id&&e.push(t.id);return e.reverse().join(".")},createAbsoluteId:function(){this.absoluteId=this.buildAbsoluteId()},isType:function(t){return this.get("type")===t},isKind:function(t){return this.get("kind")===t}});v.addAssociation=function(t,e){this.prototype.associations.hasOwnProperty(t)||(this.prototype.associations[t]=e,this.shorthandify(t))};var g=v.extend;return v.extend=function(){var t=g.apply(this,arguments);return t.prototype.associations=i.extend({},t.prototype.associations,this.prototype.associations),t.shorthandify().shorthandify(i.keys(t.prototype.associations)),t},v}.call(e,n,e,t))||(t.exports=i)},3511:function(t,e,n){"use strict";var i,r=function(){function t(t,e){for(var n=0;n0&&(this.currentCaptions=this.currentCaptions.reduce((function(t,e){return s.isWithinRange(e.startTime,e.endTime,r)?t.push(e):n.trigger(i.captions.REMOVE,e.getCueAsHTML()),t}),[])),e.difference(this.captions,this.currentCaptions).forEach((function(e){s.isWithinRange(e.startTime,e.endTime,r)&&(t.currentCaptions.push(e),n.trigger(i.captions.ADD,e.getCueAsHTML()))}))}return this}},{key:"clearCaptions",value:function(){var t=this.slideOwner.currView.props.slideContainer;return null!=t&&this.currentCaptions.length>0&&this.currentCaptions.forEach((function(e){t.trigger(i.captions.REMOVE,e.getCueAsHTML())})),this.currentCaptions=[],this}}]),t}()}.call(e,n,e,t))||(t.exports=i)},5641:function(t,e,n){"use strict";var i;void 0===(i=function(t){n(3707);return n(3707),n(8467),n(8351),TimelineLite}.call(e,n,e,t))||(t.exports=i)},6295:function(t,e,n){"use strict";var i;void 0===(i=function(t){n(3707);return n(8467),n(8351),TweenLite.defaultOverwrite=!1,TweenLite}.call(e,n,e,t))||(t.exports=i)},8901:function(t,e,n){"use strict";var i,r=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(o(this,t),this.onTouchMovePrevent=function(t){t.preventDefault()},this.onMouseOver=function(){s.hovered=!0,s.update()},this.onMouseOut=function(){s.hovered=!1,s.update()},e.bindAll(this,"onScrollBtnDown","onEndScrollDrag","onDragBtn","onScroll","onResize","unHighlight","delayedUpdate","update","onFocus","onKeyDown"),this.enabled=!0,this.hScroll=r,this.targetEl=n,this.hasTabIndex=l,this.isHidden=!1,this.highlight=!1,this.cls=i+"-"+(r?"h":"")+"scroll",this.targetId=i,this.marginTop=a,this.showOnlyOnHover=!1,this.hovered=!1,this.showOnlyWhenScrolling=!1,this.scrolling=!1,c.theme.isUnified){var u=this.cls+"-id";null==document.getElementById(u)&&this.createElements(u)}else this.createElements(null);this.update()}return r(t,[{key:"addOrRemoveClass",value:function(t,e,n){i[t?"addClass":"removeClass"](e,n)}},{key:"changeHighlight",value:function(){this.addOrRemoveClass(this.highlight,this.scrollBar,"highlight-scrollbar")}},{key:"changeHidden",value:function(){this.addOrRemoveClass(this.isHidden,this.scrollBar,"hidden")}},{key:"disableMobile",value:function(){this.targetEl.addEventListener("touchmove",this.onTouchMovePrevent)}},{key:"enableMobile",value:function(){this.targetEl.removeEventListener("touchmove",this.onTouchMovePrevent)}},{key:"initScroll",value:function(){this.targetEl.addEventListener("scroll",this.onScroll),d("resize",this.onResize),this.targetEl.style.overflowY="hidden !important",this.targetEl.style.overflowX="hidden !important",this.hasInited=!0}},{key:"createElements",value:function(t){this.scrollBar=document.createElement("div"),null!=t&&(this.scrollBar.id=t),this.scrollBar.setAttribute("class","scrollarea-scrollbar micro-scrollbar "+(this.hScroll?"horizontal-scroll ":"")+this.cls),!this.hScroll&&this.marginTop>0&&(this.scrollBar.style.marginTop=this.marginTop+"px"),this.hasTabIndex&&this.scrollBar.setAttribute("tabindex",0),this.scrollBar.addEventListener("focus",this.onFocus),this.scrollBar.addEventListener("keydown",this.onKeyDown),this.scrollBtn=document.createElement("div"),this.scrollBtn.setAttribute("class","scrollarea-btn micro-scrollbar-btn"),this.scrollBtn.addEventListener("mousedown",this.onScrollBtnDown),this.scrollBtn.addEventListener("touchstart",this.onScrollBtnDown),this.scrollBar.appendChild(this.scrollBtn),this.targetEl.parentNode.appendChild(this.scrollBar),this.initScroll(),this.setupUpdateEvents()}},{key:"setupUpdateEvents",value:function(){var t=this;l.on(s.tab.SHOW,(function(e){t.targetId===e&&t.delayedUpdate()})),l.on(s.tabLink.SHOW_PANEL,(function(e){var n=e.model.name;t.targetId===n&&t.delayedUpdate()})),"search"===this.targetId&&l.on(s.search.UPDATE_PANEL,(function(){setTimeout(t.delayedUpdate,f)})),"outline"===this.targetId&&l.on(s.menuLinksListItem.TOGGLE,this.delayedUpdate),"transcript"===this.targetId&&l.on(s.transcript.CHANGED,this.delayedUpdate),DS.detection.deviceView.isMobile&&(this.teardownResize=d("resize",this.delayedUpdate))}},{key:"delayedUpdate",value:function(){var t=this;window.requestAnimationFrame((function(){return t.update(!1)}))}},{key:"onScroll",value:function(){var t=this;this.update(!0),this.showOnlyWhenScrolling&&(this.scrollStartTime=Date.now(),this.scrolling||(this.scrolling=!0,this.scrollHideInterval=setInterval((function(){Date.now()-t.scrollStartTime>=1e3&&(clearInterval(t.scrollHideInterval),t.scrolling=!1,t.update())}),200)))}},{key:"onFocus",value:function(t){DS.focusManager.setFocusRectOn(this.targetEl)}},{key:"onKeyDown",value:function(t){switch(t.which){case u.keys.LEFT:this.targetEl.hScrollEnabled&&(this.targetEl.scrollLeft-=10);break;case u.keys.RIGHT:this.targetEl.hScrollEnabled&&(this.targetEl.scrollLeft+=10);break;case u.keys.DOWN:this.targetEl.scrollTop+=10;break;case u.keys.UP:this.targetEl.scrollTop-=10;break;case u.keys.PAGE_DOWN:this.targetEl.scrollTop+=this.btnLength;break;case u.keys.PAGE_UP:this.targetEl.scrollTop-=this.btnLength;break;case u.keys.HOME:this.targetEl.scrollTop=0;break;case u.keys.END:this.targetEl.scrollTop=this.targetEl.scrollHeight}}},{key:"onResize",value:function(){this.update()}},{key:"canScroll",value:function(){var t=this.getTargetMetrics();return t.contentLength>t.scrollbarLength}},{key:"getTargetMetrics",value:function(){var t=this.targetEl,e=t.scrollHeight,n=t.scrollWidth,i=t.clientHeight,r=t.clientWidth,o=t.scrollTop,s=t.scrollLeft;return this.hScroll?{contentLength:n,scrollbarLength:r,currScrollPos:s}:{contentLength:e,scrollbarLength:i,currScrollPos:o}}},{key:"setEnabled",value:function(t){this.enabled=t,this.update()}},{key:"setShowOnlyOnHover",value:function(t){this.showOnlyOnHover=!0,this.hoverTargetEl=t,this.hoverTargetEl.addEventListener("mouseover",this.onMouseOver),this.hoverTargetEl.addEventListener("mouseout",this.onMouseOut)}},{key:"setShowOnlyWhenScrolling",value:function(){this.showOnlyWhenScrolling=!0}},{key:"update",value:function(t){if(this.hasInited&&null!=this.scrollBtn){this.targetEl.hScrollEnabled=this.hScroll&&this.enabled;var e=this.getTargetMetrics(),n=e.contentLength,i=e.scrollbarLength,r=e.currScrollPos;this.isHidden=this.shouldHideScrollbar(n,i);var o=i-(this.hsScroll?0:this.marginTop),s=n-o,l=a.clamp(0,1,r/s);this.btnLength=o/n*o,this.scrollBtn.style[this.hScroll?"width":"height"]=a.pxify(this.btnLength),this.scrollBtn.style[this.getPosAttrib()]=a.pxify(l*a.invertPercent(this.btnLength/i)*i),this.highlight=t,t&&(clearTimeout(this.colorId),this.colorId=setTimeout(this.unHighlight,1e3)),this.changeHighlight(),this.changeHidden(),null!=this.updateScroll&&this.updateScroll()}}},{key:"shouldHideScrollbar",value:function(t,e){return Math.abs(t-e)<2||(!this.enabled||(this.showOnlyOnHover?!this.hovered&&!this.scrollByButton:!!this.showOnlyWhenScrolling&&!this.scrolling))}},{key:"getPosAttrib",value:function(){return this.hScroll?"left":"top"}},{key:"getPagePostion",value:function(t){return this.hScroll?t.pageX:t.pageY}},{key:"getParentPos",value:function(){return this.targetEl.getBoundingClientRect()[this.getPosAttrib()]}},{key:"onScrollBtnDown",value:function(t){this.scrollByButton=!0,this.startPos=this.getPagePostion(t)-this.getParentPos()-parseFloat(this.scrollBtn.style[this.getPosAttrib()]),document.body.addEventListener("mousemove",this.onDragBtn),document.body.addEventListener("mouseup",this.onEndScrollDrag)}},{key:"onEndScrollDrag",value:function(){this.scrollByButton=!1,document.body.removeEventListener("mouseup",this.onEndScrollDrag),document.body.removeEventListener("mousemove",this.onDragBtn),this.showOnlyOnHover&&this.update()}},{key:"onDragBtn",value:function(t){var e=this.getTargetMetrics(),n=e.contentLength,i=e.scrollbarLength,r=n-i,o=i-this.btnLength,s=this.getPagePostion(t)-this.getParentPos()-this.startPos,l=a.clamp(0,1,s/o);this.scrollBtn.style[this.getPosAttrib()]=a.pxify(l*a.invertPercent(this.btnLength/i)*i),this.targetEl[this.hScroll?"scrollLeft":"scrollTop"]=r*l}},{key:"unHighlight",value:function(){this.highlight=!1,this.changeHighlight()}},{key:"teardown",value:function(){this.scrollBar.removeEventListener("focus",this.onFocus),this.scrollBar.removeEventListener("keydown",this.onKeyDown),this.scrollBtn.removeEventListener("mousedown",this.onScrollBtnDown),this.scrollBtn.removeEventListener("touchstart",this.onScrollBtnDown),this.targetEl.removeEventListener("scroll",this.onScroll),this.enableMobile(),this.showOnlyOnHover&&null!=this.hoverTargetEl&&(this.hoverTargetEl.removeEventListener("mouseover",this.onMouseOver),this.hoverTargetEl.removeEventListener("mouseout",this.onMouseOut)),l.off(s.search.UPDATE_PANEL),l.off(s.tab.SHOW),l.off(s.menuLinksListItem.TOGGLE),l.off(s.transcript.CHANGED),this.teardownResize()}}]),t}()}.call(e,n,e,t))||(t.exports=i)},5173:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e,i=n(4811),r=n(8939),o=n(7510).addWindowListener,s={},a="request",l="response",u="SUCCESS",c="ERROR",h=[a,l],d=function(t){var e,n=r.throwError("PostMessaging");if(null!=t.data){try{e=JSON.parse(t.data)}catch(t){return}(function(t){return null!=t&&null!=t.id&&null!=t.type&&-1!==h.indexOf(t.type)})(e)&&(null!=s[e.connectionId]?s[e.connectionId](e,t):n("No listener exists for connectionId: ",e.connectionId))}};return function(t,n){var h,p,f,v=r.throwError("PostMessaging"),g={},m=0,y=i.Deferred(),b=n,w=function(t,e,n,r,o){var s=++m,l=i.Deferred(),c={type:e,connectionId:b};return g[s]=l,e===a?(c.method=n,c.params=r,c.id=s):(c.id=n,c.data=r,c.status=null!=o?o:u),t.postMessage(JSON.stringify(c),"*"),l.always((function(){delete g[s]})).catch((function(t){delete g[s],v(t.message)})),l.promise()},A=function(t){h=function(e,n){return y.then((function(){return w(t,a,e,n)}))},p=function(e,n,i){return y.then((function(){return w(t,l,e,n,i)}))}};null==e&&(e=o("message",d,!1)),f=function(t,e){return s[t]=e,function(){delete s[t]}}(b,(function(e,n){var i,r,o;if(e.type===a)if("connect"===e.method)A(n.source),w(n.source,l,e.id),y.resolve();else if(null!=t[e.method])try{r=t[e.method].apply(void 0,Array.isArray(e.params)?e.params:[e.params]),null!=(o=r)&&"function"==typeof o.then?r.then((function(t){p(e.id,t)})):p(e.id,r)}catch(t){p(e.id,t.message,c)}else p(e.id,["No handler for this method ",e.method].join(""),c);else{if(null!=(i=g[e.id]))return void(e.status===u?i.resolve(e.data,n):i.reject(e.data,n));p(e.id,["No pending requests for this response id ",e.id].join(""),c)}})),this.ready=function(){return y},this.connect=function(t){return A(t),w(t,a,"connect").then(y.resolve),y},this.request=function(){if(null!=h)return h.apply(void 0,arguments);v("request","A destination iframe needs to be connected before sending requests to it. Try using `connect` first.")},this.tearDown=function(){f(),_.isEmpty(Object.keys(s))&&null!=e&&(e(),e=null)}}}.call(e,n,e,t))||(t.exports=i)},2499:function(t,e,n){"use strict";var i,r=function(){function t(t,e){for(var n=0;n=this.latMin?-2:2,this.initialLat=t+this.initialLatOffset),this.initialLon=e,this.setCameraTarget(this.initialLat,this.initialLon)}},{key:"setupEditorMessages",value:function(){var t,e=this;this.editorMessages=(o(t={updateText:function(t){return e.updateText(t)},updateMarker:function(t){return e.updateMarker(t)},updateMarkers:function(t){return e.updateMarkers(t)},batchUpdateMarkers:function(t){return e.batchUpdateMarkers(t)},removeMarker:function(t){return e.removeMarker(t.id)},forceRemoveMarker:function(t){return e.removeMarker(t.id,!0)},placeMarkerFromContextMenu:function(t){return e.placeMarkerFromContextMenu(t)},panToMarker:function(t){return e.panToMarker(t.id)},selectMarker:function(t){return e.selectMarker(t)},setFocus:function(t){return e.setFocus(t)},showMedia:function(t){return e.showMedia()},hideMedia:function(t){return e.hideMedia()},setEffects:function(t){return e.setEffect(t)},duplicateMarker:function(t){return e.duplicateMarker(t.sourceId,t.duplicatedMarkerData)},pasteMarker:function(t){return e.pasteMarker(t)},resetMode:function(t){return e.setMode(st.DEFAULT)}},st.ADD_MARKER,(function(t){e.setMode(st.ADD_MARKER),e.upcomingMarkerData=t})),o(t,st.SET_INITIAL_CAMERA_ANGLE,(function(t){return e.setMode(st.SET_INITIAL_CAMERA_ANGLE)})),o(t,"saveInitialCameraAngle",(function(t){return e.onSetInitialCamDone()})),o(t,st.SET_CROP_IMAGE_MEDIA,(function(t){return e.setMode(st.SET_CROP_IMAGE_MEDIA)})),o(t,"saveCropImageMedia",(function(t){return e.saveCropImageMedia()})),o(t,"updateEditorSettings",(function(t){return e.updateEditorSettings(t)})),t)}},{key:"ready",value:function(){var t=this;window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){Object.values(t.sprites).forEach((function(t){null!=t&&t.userData.cssMarker.panoReady()})),null!=t.model&&t.model.trigger(l.threeSixtyImage.READY,t)}))}))}},{key:"cancelNudge",value:function(){clearTimeout(this.nudgeTimeout),this.nudgeTimeout=null}},{key:"nudge",value:function(){var t=this;clearTimeout(this.nudgeTimeout),this.nudgeTimeout=setTimeout((function(){t.spherical.setFromCartesianCoords(t.camera.target.x,t.camera.target.y,t.camera.target.z);var e=THREE.Math.radToDeg(O-t.phi);e+=-1*t.initialLatOffset,t.spherical.phi=THREE.Math.degToRad(90-e);var n=new THREE.Vector3;n.setFromSpherical(t.spherical),t.setPanToCoord(n)}),250)}},{key:"setMarkerPulse",value:function(t){this.pulseMarkers=t,Object.values(this.sprites).forEach((function(e){if(null!=e){var n=e.userData.cssMarker;n.isHotspot()||n.adjust({props:{animation:t?"pulse":"normal"}})}}))}},{key:"setHotspotPulse",value:function(t){this.pulseHotspots=t}},{key:"setupBackSpriteTex",value:function(){var t=this,e=g("none",this.maxAnisotropy),n=e.canvas,i=e.tex,r=e.mat;e.render;this.backSpriteTex={normal:function(){return{canvas:n,tex:i,mat:r}},pulse:function(){t.pulseAnimation||(t.pulseAnimation=g("pulse",t.maxAnisotropy));var e=t.pulseAnimation;return{canvas:e.canvas,tex:e.tex,mat:e.mat}},empty:function(){t.emptyTexture||(t.emptyTexture=g("empty",t.maxAnisotropy));var e=t.emptyTexture;return{canvas:e.canvas,tex:e.tex,mat:e.mat}}}}},{key:"getMarker",value:function(t){var e=this.sprites[t];if(null!=e)return e.userData.cssMarker}},{key:"removeMarker",value:function(t,e){var n=this.getMarker(t);if(null!=n){if(null!=n.polyHotspot)if(n.polyHotspot.delete(e))return;n.remove(),this.boundingBox.style.display="none",this.cssScene.remove(n.object),this.scene.remove(n.sprite),this.scene.remove(n.backSprite),delete this.sprites[n.id],delete this.markersByIdx[n.idx],null!=this.editorApi&&this.editorApi.onMarkerRemoved(n.id)}}},{key:"getCurrInputElement",value:function(){var t=document.activeElement;return null==t||t===document.body?null:F(t)||B(t)||j(t)||U(t)||z(t)?t:null}},{key:"getInputType",value:function(t){return[{test:function(t){return null==t},type:"none"},{test:F,type:"panelBody"},{test:B,type:"panelTitle"},{test:j,type:"hint"},{test:U,type:"tooltip"},{test:z,type:"button"},{test:function(){return!0},type:"none"}].find((function(e){return(0,e.test)(t)})).type}},{key:"getCurrMediaElementType",value:function(){var t=this.currMarker;if(null==t)return T;var e=t.userData.cssMarker.panel;if(null==e)return T;var n=function(t){if(null==t)return!1;var n=e.getSelectionBox(t);return null!=n&&n.shown};return n(e.mediaImageEl)?w:n(e.mediaAudioEl)?E:n(e.mediaVideoPosterEl)?S:null!=e.panelButton&&e.panelButton.el===document.activeElement?A:T}},{key:"getIsMediaShowing",value:function(){var t=this.currMarker;if(null==t)return!1;var e=t.userData.cssMarker.panel;return null!=e&&e.mediaShowing}},{key:"getAccHtml",value:function(){var t='
',e=I?66:33,n=e/this.origWidth*100,i=e/this.origHeight*100;if(t+="\n \n ",Object.values(this.sprites).forEach((function(e){null!=e&&(t+=e.userData.cssMarker.getAccHtml())})),this.isGuidedNav()){var r=f.getString("three_image_interaction_next"),o=f.getString("three_image_interaction_prev");t+='\n

'+r+'

\n

'+o+"

\n "}return t+="
"}},{key:"connectAccChildren",value:function(t,e){var n=this;this.threeSixtyAcc=t,this.accChildContainerEl=e,Object.values(this.sprites).forEach((function(t){null!=t&&t.userData.cssMarker.setAccChild(e)})),this.isGuidedNav()&&(this.nextAccBtn=e.querySelector(".acc-three-sixty-nav-next"),this.prevAccBtn=e.querySelector(".acc-three-sixty-nav-prev"),this.updateGuidedArrows()),this.isFreeNav()&&this.accDidResume&&(Object.values(this.markersByIdx).forEach((function(t){n.markerIdxInView!=t.idx&&(t.accChildEl.style.display="none")})),this.freeAccShowMarkers=function(){Object.values(n.markersByIdx).forEach((function(t){t.accChildEl.style.display=null}))})}},{key:"updateText",value:function(t){if(null!=this.getMarker(t.id)){var e=this.getCurrInputElement();null!=e&&this.withOnSelectionChange((function(){et(e,t)}))}}},{key:"updateMarkers",value:function(t){for(var e in this.sprites){this.sprites[e].userData.cssMarker.adjustProps(t)}null!=this.editorApi&&this.editorApi.onMarkersUpdated(this.getAllMarkerData())}},{key:"batchUpdateMarkers",value:function(t){var e=this;t.forEach((function(t){return e.updateMarker(t)}))}},{key:"selectMarker",value:function(t){var e=document.querySelector(".three-sixty-image-media-panel-overlay");if(this.mode!==st.SET_CROP_IMAGE_MEDIA&&!e){if(null!=this.currMarker){var n=this.currMarker.userData.cssMarker.panel;null!=n&&n.hide()}if(this.hideMarkerBounds(),null==t.id)this.selectNextSprite=!1,this.setCurrMarker(null);else{var i=this.getMarker(t.id);null!=i&&(this.selectNextSprite=!0,this.setCurrMarker(i.sprite),this.panToMarker(t.id))}}}},{key:"deselectFocus",value:function(){if(this.mode!==st.SET_CROP_IMAGE_MEDIA&&null!=this.currMarker){var t=this.currMarker.userData.cssMarker.panel;if(null!=t&&t.shown)return null!=document.activeElement&&d.closest(document.activeElement,(function(t){return d.hasClass(t,"panel-el")}))?void document.activeElement.blur():void t.hide();this.deselectCurrentMarkerOrHotspot()}}},{key:"setFocus",value:function(t){var n=this;this.editMode&&(t.focus!=x?null!=this.currMarker&&this.withOnSelectionChange((function(){var i=n.currMarker.userData.cssMarker.panel,r=t.focus;null!=i&&(i.shown||r==T||(i.marker.isHotspot()?i.showHotspotPanel():i.show()),r===y?(i.showSelectionBox(i.titleEl,!0),i.titleEl.focus()):r===b?(i.showSelectionBox(i.bodyEl.parentNode,!0),i.bodyEl.focus()):r===w?i.showSelectionBox(i.mediaImageEl,!0):r===E?i.showSelectionBox(i.mediaAudioEl,!0):r===S?i.showSelectionBox(i.mediaVideoPosterEl,!0):i.hideSelectionBoxes());var o=e.getPath(n,"currMarker.userData.cssMarker.tooltip");null!=o&&r!=T&&o.showEditMode()})):this.deselectFocus())}},{key:"showMedia",value:function(){if(null!=this.currMarker){var t=this.currMarker.userData.cssMarker.panel;null!=t&&t.showMediaType(this.getCurrMediaElementType())}}},{key:"hideMedia",value:function(){if(null!=this.currMarker){var t=this.currMarker.userData.cssMarker.panel;null!=t&&t.hideAllMedia()}}},{key:"setEffect",value:function(t){null!=t.color&&this.setHotspotColor(t.color),null!=t.reveal&&this.setHotspotReveal(t.reveal),null!=t.pulseMarkers&&this.setMarkerPulse(t.pulseMarkers),null!=t.pulseHotspots&&this.setHotspotPulse(t.pulseHotspots),null!=this.currMarker&&this.currMarker.userData.cssMarker.updateProps()}},{key:"editorMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.editorMessages[t](e)}},{key:"setupDom",value:function(t){var e=this,n=t.width*t.scale,i=t.height*t.scale;this.renderer.setSize(n,i),this.renderer.domElement.id=this.id,this.renderer.domElement.dataset.canvasType="360-image",this.renderer.domElement.style.pointerEvents="all",this.renderer.domElement.addEventListener(Z,this.onMouseDown),this.cssRenderer.setSize(n,i),document.addEventListener(Q,this.onMouseUp,!1),document.addEventListener($,this.onMouseMove),this.el.appendChild(this.renderer.domElement),this.cssEl.appendChild(this.cssRenderer.domElement);var r=setInterval((function(){e.calcSceneRect(),e.sceneRect.width>0&&clearInterval(r)}),16)}},{key:"toDomCoords",value:function(t,e){this.calcSceneRect();var n=t/window.innerWidth,i=e/window.innerHeight;return{x:n*this.sceneRect.width,y:i*this.sceneRect.height}}},{key:"toScreenPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new THREE.Vector3;e||this.calcSceneRect();var i=this.sceneRect.width/2,r=this.sceneRect.height/2;return t.updateMatrixWorld(),n.setFromMatrixPosition(t.matrixWorld).project(this.camera),{x:n.x*i+i,y:-n.y*r+r}}},{key:"vecToScreenPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.calcSceneRect();var n=I&&e?{width:this.newWidth,height:this.newHeight}:this.sceneRect,i=n.width,r=n.height,o=t.clone(),s=o.project(this.camera);return s.x=(s.x+1)/2,s.x*=i,s.y=-(s.y-1)/2,s.y*=r,s}},{key:"duplicateMarker",value:function(t,e){this.calcSceneRect();var n=this.sprites[t],i=this.toScreenPosition(n),r=this.scaleCoord(i.x,i.y),o=new THREE.Vector2(r.x,r.y);this.placeMarkerWithOffset(o,e)}},{key:"pasteMarker",value:function(t){this.calcSceneRect();var e=this.scaleCoord(this.sceneRect.width/2,this.sceneRect.height/2),n=new THREE.Vector2(e.x,e.y);this.placeMarkerWithOffset(n,t)}},{key:"placeMarkerWithOffset",value:function(t,e){for(var n=THREE.Math.degToRad(20),i=new THREE.Vector2(15*Math.cos(n),20*Math.sin(n)),r=.8*i.lengthSq();this.isScreenPositionNearbySprite(t,r);)t.add(i);this.placeMarker(t.x,t.y,e.props,e.id)}},{key:"isScreenPositionNearbySprite",value:function(t,e){for(var n in this.sprites){var i=this.sprites[n],r=this.toScreenPosition(i),o=this.scaleCoord(r.x,r.y);if(t.distanceToSquared(o)0&&void 0!==arguments[0]&&arguments[0];(this.isDragging||this.forcingCameraTarget||this.downOnMarker)&&!t||(this.locX+=this.locXvel,this.locY+=this.locYvel,this.locXvel*=this.velDamp,this.locYvel*=this.velDamp,this.lat>pt?this.locY>this.maxLocY&&(this.locY=this.maxLocY):this.maxLocY=this.locY,this.lat<-89?this.locY\n "+this.localizedText.initialView+" "+t+"°, "+n+"°\n "}},{key:"resetCropImageMedia",value:function(){this.cancelCropImageMedia(!1),this.setCropImageMedia(!0)}},{key:"cancelCropImageMedia",value:function(t){null!=this.cropTool&&(this.cropTool.hide(),this.cropTool=null),this.cropToolShown=!1,this.bottomCropUiEl.style.display="none";var e=this.lastActiveMarker.userData.cssMarker.panel;null!=e&&e.cancelCrop(),null!=this.editorApi&&null!=this.editorApi.restoreFit&&this.editorApi.restoreFit(),t&&(this.setMode(st.DEFAULT),null!=this.editorApi&&this.editorApi.onCancelImageMediaCrop())}},{key:"saveCropImageMedia",value:function(){if(this.cropToolShown){var t=this.cropTool.getCropRect(),e=this.lastActiveMarker.userData;t.markerId=e.cssMarker.id,e.cssMarker.panel.saveCrop(t),this.cancelCropImageMedia(!1),null!=this.editorApi&&this.editorApi.onImageMediaCrop(t)}}},{key:"setCropImageMedia",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cropToolShown){null!=this.cropTool&&(this.cropTool.hide(),this.cropTool=null);var n=this.lastActiveMarker.userData.cssMarker.panel,i=n.prepCrop(),r=e?null:n.marker.getEditorVar("imageMediaCropRectangle");if(this.cropTool=new C(".panel-image-container"),this.cropTool.show(),null!=r&&this.cropTool.setCropRect(r),this.cropToolShown=!0,!this.bottomCropUiEl){var o=this.localizedText,s=o.cropReset,a=o.cropCancel,l=o.cropDone;this.bottomCropUiEl=document.createElement("div"),this.bottomCropUiEl.innerHTML=rt({reset:s,cancel:a,done:l}),this.bottomCropUiEl=this.bottomCropUiEl.firstElementChild,this.bottomCropUiEl.style.zIndex=1e4,this.setCropUiBottom={},d.selectAllByRef(this.setCropUiBottom,this.bottomCropUiEl);var u=document.querySelector("#wrapper");null!=u&&u.appendChild(this.bottomCropUiEl),this.setCropUiBottom.threeBottomUiResetEl.addEventListener("click",(function(){t.resetCropImageMedia()})),this.setCropUiBottom.threeBottomUiDoneEl.addEventListener("click",(function(){t.saveCropImageMedia(),t.setMode(st.DEFAULT)})),this.setCropUiBottom.threeBottomUiCancelEl.addEventListener("click",(function(){t.cancelCropImageMedia(!0)}))}null!=this.editorApi&&null!=this.editorApi.forceFitInWindow&&this.editorApi.forceFitInWindow(),i(),this.bottomCropUiEl.style.display="block",this.updateSize(this.newWidth,this.newHeight),this.positionCropUi()}}},{key:"hideCrosshairUi",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.2,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.8;null!=this.editorApi&&null!=this.editorApi.restoreFit&&this.editorApi.restoreFit(),h.to(this.setCamUi.threeCrosshairsEl,t,{opacity:0}),this.bottomCamUiEl.style.display="none",h.to(this.setCamUi.threeLatLonPillEl,t,{opacity:0,delay:e}),this.el.parentNode.classList.remove("three-setting-intial-camera"),this.enableVelocityDamping()}},{key:"cancelSetInitialCam",value:function(){this.hideCrosshairUi(0,0)}},{key:"updateVisitedMarkers",value:function(){if(null!=this.vars&&this.visitedMarkers0&&void 0!==arguments[0]&&arguments[0],e=this.getTokenValues(),n=e.total,i=f.getString("three_image_interaction"),r=t?f.getString("three_image_instructions"):"",o=this.isFreeNav()?f.getString("three_image_interaction_free"):f.getString("three_image_interaction_guided"),s=void 0;if(this.isFreeNav()){var a=t?this.altText+" : "+i+". "+o+". ":"",l=1===n?f.getString("acc_three_image_count_of_total_item_visited",e):f.getString("acc_three_image_count_of_total_items_visited",e);s=""+a+l}else if(this.isGuidedNav()){var u=t?this.altText+" : "+i+". "+o+".":"",c=f.getString("acc_three_image_step_count_of_total",e);s=""+u+c}return s+". "+r}},{key:"updateNavigationText",value:function(){null!=this.navUi&&(this.navUi.threeNavContentEl.innerHTML=this.getNavigationText())}},{key:"setupNavigation",value:function(){if(this.hasNavigationVars()){var t=this.getAllMarkers((function(t){return t.shouldTrack()})).length;W(this.bind.total,t,this),this.isFreeNav()&&!0===this.navigation.visible?(this.navigationEl=this.miscOverlaysEl,null!=this.navigationEl&&(this.navigationEl.innerHTML=lt(this.navigation.textColor,this.navigation.backgroundColor),this.navUi={},d.selectAllByRef(this.navUi,this.navigationEl),this.updateNavigationText(),this.setLocVarsCenter())):this.isGuidedNav()&&(this.navigationEl=this.miscOverlaysEl,null!=this.navigationEl&&(this.setupGuidedUi(),this.goFirstGuidedMarker(),this.updateNavigationText()))}}},{key:"visitedMarkersChanged",value:function(){this.isGuidedNav()&&this.updateGuidedArrows()}},{key:"isFreeNav",value:function(){return this.navigation.type===ct.FREE}},{key:"isGuidedNav",value:function(){return this.navigation.type===ct.GUIDED}},{key:"setupGuidedUi",value:function(){!0===this.navigation.visible&&(this.navigationEl.innerHTML=ut(this.navigation.textColor,this.navigation.backgroundColor,this.playerAccentColor),this.navUi={},d.selectAllByRef(this.navUi,this.navigationEl),h.from(this.navUi.threeNavigationEl,.4,{opacity:0,delay:.4}),this.navUi.threeNavContentEl.addEventListener(J,this.onNavClicked),this.navUi.threeGuidedLeftBtnEl.addEventListener(J,this.goPrevGuidedClick),this.navUi.threeGuidedRightBtnEl.addEventListener(J,this.goNextGuidedClick)),Object.values(this.markersByIdx).forEach((function(t){t.hide()}))}},{key:"goFirstGuidedMarker",value:function(){var t=this;this.slideObject.afterHtmlReady((function(){if(t.isGuidedNav()){var e=t.markersByIdx[t.markerIdxInView];null!=e&&(t.isNavigationPan=!0,e.show(),e.isHotspot()&&(e.polyHotspot.visible=t.hotspotReveal,e.polyHotspot.canClick=!0),t.panToMarker(e.id),t.updateGuidedArrows(),t.updateNavigationText())}}))}},{key:"isFirstMarkerWithNoResume",value:function(){return 0===this.markerIdxInView&&0===this.model.indexValues.length}},{key:"canNavNextMarker",value:function(){return-1!=this.model.indexValues.indexOf(this.markerIdxInView)&&this.markerIdxInView0?(this.navUi.threeGuidedLeftBtnEl.classList.remove("three-guided-disabled"),this.updateAccArrowBtns(!1)):(this.navUi.threeGuidedLeftBtnEl.classList.add("three-guided-disabled"),this.updateAccArrowBtns(!0))}}},{key:"hideShowGuidedArrows",value:function(){if(null!=this.prevMarker&&(this.prevMarker.hide(),null!=this.prevMarker.panel&&(this.model.updateLabelState(this.prevMarker.idx,this.prevMarker.panel.shown),this.model.setVisitedMarkers()),this.prevMarker.isHotspot()&&(this.prevMarker.polyHotspot.visible=!1,this.prevMarker.polyHotspot.canClick=!1)),null!=this.nextMarker)if(this.nextMarker.show(),this.nextMarker.isHotspot()&&(this.nextMarker.polyHotspot.canClick=!0),this.isNavigationPan=!0,this.accNavConfig){var t=this.accNavConfig,e=t.isAcc,n=t.cb;this.panToMarker(this.nextMarker.id,e,n),this.accNavConfig=null}else this.panToMarker(this.nextMarker.id);this.updateNavigationText(),this.updateGuidedArrows()}},{key:"setAccNavPanConfig",value:function(t){this.accNavConfig={isAcc:!0,cb:t}}},{key:"positionInitialCamUi",value:function(){if(this.mode===st.SET_INITIAL_CAMERA_ANGLE){var t=document.querySelector("#container");if(null!=t){var e=t.getBoundingClientRect();this.bottomCamUiEl.style.top=e.bottom+"px",this.bottomCamUiEl.style.left=e.left+"px",this.bottomCamUiEl.style.width=e.width+"px"}}}},{key:"positionCropUi",value:function(){if(this.mode===st.SET_CROP_IMAGE_MEDIA){var t=document.querySelector(".panel-image-frame");if(null!=t){var e=t.getBoundingClientRect(),n={left:e.left,top:e.top,bottom:e.bottom,width:e.width};if(n.width<410){n.width=410;var i=(410-e.width)/2;n.left=e.left-i}this.bottomCropUiEl.style.top=n.bottom+"px",this.bottomCropUiEl.style.left=n.left+"px",this.bottomCropUiEl.style.width=n.width+"px"}}}},{key:"setInitialCameraAngle",value:function(){var t=this;if(this.deselectMarker(),this.hotspotLayer.currHotspot=null,this.el.parentNode.classList.add("three-setting-intial-camera"),this.disableVelocityDamping(),this.panToCoord=!1,this.setCameraTarget(this.initialLat,this.initialLon),Object.values(this.sprites).forEach((function(t){if(null!=t){var e=t.userData.cssMarker;null!=e.panel&&e.panel.shown&&e.panel.hide()}})),null!=this.editorApi&&null!=this.editorApi.forceFitInWindow&&this.editorApi.forceFitInWindow(),this.crossHairsEl)this.crossHairsEl.style.display="block",this.setCamUi.threeCrosshairsEl.style.opacity=1,this.setCamUi.threeLatLonPillEl.style.opacity=1,this.bottomCamUiEl.style.display="block";else{this.bottomCamUiEl=document.createElement("div");var e=this.localizedText,n=e.initialCameraReset,i=e.initialCameraCancel,r=e.initialCameraDone;this.bottomCamUiEl.innerHTML=rt({reset:n,cancel:i,done:r}),this.bottomCamUiEl=this.bottomCamUiEl.firstElementChild,this.setCamUiBottom={},d.selectAllByRef(this.setCamUiBottom,this.bottomCamUiEl);var o=document.querySelector("#wrapper");null!=o&&o.appendChild(this.bottomCamUiEl),this.crossHairsEl=document.querySelector(".three-misc-overlays"),null!=this.crossHairsEl&&(this.crossHairsEl.innerHTML=it()),this.setCamUi={},d.selectAllByRef(this.setCamUi,this.crossHairsEl),this.setCamUiBottom.threeBottomUiDoneEl.addEventListener("click",this.onSetInitialCamDone),this.setCamUiBottom.threeBottomUiResetEl.addEventListener("click",(function(){t.panToCoord=!1,t.deselectMarker(),t.setCameraTarget(0,0)})),this.setCamUiBottom.threeBottomUiCancelEl.addEventListener("click",(function(){null!=t.editorApi&&null!=t.editorApi.onCancelInitialCameraAngleSet&&t.editorApi.onCancelInitialCameraAngleSet(),t.setMode(st.DEFAULT)}))}this.positionInitialCamUi(),this.updateSize(this.newWidth,this.newHeight),h.from(this.setCamUi.threeCrosshairsEl,.2,{opacity:0})}},{key:"panComplete",value:function(){var t=this;if(this.panToCoord&&(this.setLocVarsCenter(),this.panToCoord=!1,null!=this.panCallback&&(this.panCallback(this.showNextSprite),this.panCallback=null)),this.selectNextSprite&&setTimeout((function(){t.currMarker&&(t.displayBoundingBox(),t.showMarkerBounds(),t.boundingBox.style.display="block",t.selectNextSprite=!1)}),300),null!=this.showNextSprite){var e=this.showNextSprite,n=e.userData.cssMarker,i=n.polyHotspot,r=n.isHotspot(),o=this.editMode||!this.isGuidedNav()||this.markerShownCounter>0,s=this.isAccPan;this.isAccPan&&(this.isAccPan=!1),s||(this.hotspotLayer.currHotspot=r&&o?i:null),(n.panel||n.hotspotHint)&&this.mode!==st.SET_INITIAL_CAMERA_ANGLE?(null!=n.panel&&(n.panel.forcePlaceCenter=!0),window.requestAnimationFrame((function(){if(!s&&(0!==t.markerShownCounter||t.editMode||t.model.labelValues[n.idx])){if(r){if(n.panel){t.calcSceneRect();var e=t.vecToScreenPosition(i.getCenterPoint(i.shapeMesh));n.panel.show(!0,e)}else a.trigger(l.threeSixtyImage.PUSH_DOWN_BY_LABEL);null!=n.hotspotHint&&n.hotspotHint.show()}else n.panel.show();null!=n.tooltip&&n.tooltip.toggleEditMode(!0)}null!=n.panel&&n.panel.hideSelectionBoxes(),t.markerShownCounter++}))):this.markerShownCounter++,this.isNavigationPan&&(window.requestAnimationFrame((function(){t.isFirstMarkerWithNoResume()||n.addToVisitedMarkers()})),this.isGuidedNav()&&(this.markerShownCounter>0&&n.triggerEvent("onlinkrelease",e.userData.id),r&&(i.visible=this.hotspotReveal,i.canClick=!0))),this.showNextSprite=null}this.isNavigationPan=!1}},{key:"moveCameraWithElement",value:function(){var t=50*this.sceneScale,e=.4,n=this.sceneRect.width-t,i=this.sceneRect.height-t,r=t,o=t,s=this.startPageX-this.pageX,a=this.startPageY-this.pageY,l=this.pageX/(window.innerWidth/this.sceneRect.width),u=this.pageY/(window.innerHeight/this.sceneRect.height);this.lat-89&&(l>n&&s<0?(this.changeLocX(-.4),this.needsElementPan=!0):l0&&(this.changeLocX(e),this.needsElementPan=!0)),u0?(this.changeLocY(e),this.needsElementPan=!0):u>i&&a<0&&(this.changeLocY(-.4),this.needsElementPan=!0),this.needsElementPan&&(this.dragMarker(this.pageX,this.pageY),this.applyVelocity(!0),this.draggingOffEdge=!0,this.needsElementPan=!1)}},{key:"updateHotspotStrokes",value:function(){(Math.abs(this.locXvel)>.005||Math.abs(this.locYvel)>.005)&&Object.values(this.sprites).forEach((function(t){if(null!=t){var e=t.userData.cssMarker;e.isHotspot()&&e.displayBounds()}}))}},{key:"showMarkerBounds",value:function(){var t=this.currMarker.userData.cssMarker.displayBounds();t!=this.currMarkerBounds&&(this.hideMarkerBounds(),this.currMarkerBounds=t)}},{key:"hideMarkerBounds",value:function(){null!=this.currMarkerBounds&&(this.currMarkerBounds.hideShowControlPoints(!1),this.currMarkerBounds.isHotspot()||(this.currMarkerBounds.boundsEl.style.display="none"),this.currMarkerBounds=null)}},{key:"triggerEvent",value:function(t,e){this.model.executeFilteredPlayerEvent((function(t){return t.triggerid===e}),t)}},{key:"executeMarkerEvent",value:function(t,e){"click"===e?this.triggerEvent("onlinkrelease",t.userData.id):"move"!==e||t.userData.isOver?"out"===e&&(t.userData.isOver=!1):t.userData.isOver=!0}},{key:"getMarkerIntersection",value:function(t,e,n){var i=this,r=!1;this.mouseRay.x=t/window.innerWidth*2-1,this.mouseRay.y=-e/window.innerHeight*2+1,this.raycaster.setFromCamera(this.mouseRay,this.camera);var o=this.scene.children.filter((function(t){return"Sprite"===t.type&&!t.userData.isBackSprite&&!t.userData.isHotspotControlPoint})),s=this.raycaster.intersectObjects(o,!1),a={};return s.forEach((function(t){if(r=!0,a[t.object.userData.id]=t.object,!t.object.visible)return null;"over"===n&&i.setCurrMarker(t.object)})),r}},{key:"deselectMarker",value:function(){this.setCurrMarker(null),this.boundingBox.style.display="none",this.hideMarkerBounds(),this.forcingCameraTarget=!1}},{key:"deselectCurrentMarkerOrHotspot",value:function(){if(null!=this.currMarker){var t=this.currMarker.userData.cssMarker;t.props.hasPanel&&t.panel.hide(),t.isHotspot()&&this.hotspotLayer.currHotspot.deselect(),this.deselectMarker()}}},{key:"setCurrMarker",value:function(t){(null==this.hotspotLayer.currHotspot||this.hotspotLayer.currHotspot.finished)&&(this.currMarker=t,null!=t&&(this.lastActiveMarker=t),a.trigger(l.threeSixtyImage.SELECTED_MARKER_CHANGED,e.getPath(this,"currMarker.userData.cssMarker.id",null)),this.editMode&&null!=this.editorApi&&this.editorApi.onMarkerSelected(null!=this.currMarker?this.currMarker.userData.cssMarker.id:null))}},{key:"panToMarker",value:function(t,e,n){var i=this.sprites[t];if(null!=i){n&&(this.panCallback=n);var r=i.userData.cssMarker;if(null!=this.threeSixtyAcc&&this.isAccNav&&this.isNavigationPan&&null!=r.hotspotHint)return r.el.style.opacity=0,r.hotspotHint.show(),this.threeSixtyAcc.syncHotspotHint(r),void(r.hotspotHint.opened?(r.accHotspotHintBubbleEl.focus(),this.threeSixtyAcc.onInterceptShadowFocus({target:r.accHotspotHintBubbleEl})):(r.accHotspotHintEl.focus(),this.threeSixtyAcc.onInterceptShadowFocus({target:r.accHotspotHintEl})));if(this.isNavigationPan&&!this.hotspotReveal&&r.isHotspot()&&!e&&!this.isAccNav)return r.el.style.opacity=0,null!=r.hotspotHint&&r.hotspotHint.show(),void a.trigger(l.threeSixtyImage.PUSH_DOWN_BY_LABEL);this.isAccPan=e,this.setPanToCoord(i.position),this.showNextSprite=i}}},{key:"setPanToCoord",value:function(t){this.spherical.setFromCartesianCoords(t.x,t.y,t.z),this.panCoord=this.spherical;var e=O-this.panCoord.theta,n=H(this.theta,e);this.panCoord.theta=this.theta+n,this.panToCoord=!0}},{key:"getMarkerData",value:function(t){var e=this.getMarker(t);if(null!=e)return e.getData()}},{key:"getAllMarkers",value:function(t){return c.reduce(this.sprites,(function(e,n){var i=n.userData.cssMarker;return(null==t||t(i))&&e.push(i),e}),[])}},{key:"getAllMarkerData",value:function(t){var e=[];for(var n in this.sprites){var i=this.sprites[n].userData.cssMarker;(null==t||t.includes(i.id))&&e.push(i.getData())}return e}},{key:"getCentermostMarker",value:function(){this.calcSceneRect();var t=[],n={x:this.sceneRect.width/2,y:this.sceneRect.height/2};this.camera.updateMatrix(),this.camera.updateMatrixWorld();var i=new THREE.Frustum;for(var r in i.setFromMatrix((new THREE.Matrix4).multiplyMatrices(this.camera.projectionMatrix,this.camera.matrixWorldInverse)),this.sprites){var o=this.sprites[r].userData.cssMarker,s=o.isHotspot()?o.polyHotspot.shapeMesh:o.sprite;if(i.containsPoint(s.position)){var a=this.toScreenPosition(s,!0);if(null!=a){var l=e.dist(n.x,n.y,a.x,a.y);t.push({dist:l,marker:o})}}}var u=t.sort((function(t,e){return t.dist-e.dist}))[0];return null!=u&&u.marker}},{key:"mouseIntersect",value:function(t,e){return this.mouseRay.x=t/window.innerWidth*2-1,this.mouseRay.y=-e/window.innerHeight*2+1,this.raycaster.setFromCamera(this.mouseRay,this.camera),this.raycaster.intersectObject(this.sphereMesh,!1)}},{key:"placeMarkerFromContextMenu",value:function(t){null!=this.contextMenuOrigin&&this.placeMarker(this.contextMenuOrigin.pageX,this.contextMenuOrigin.pageY,t.props,t.id)}},{key:"placeMarker",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o=this.mouseIntersect(t,e),s=void 0,a=void 0;if(o.length>0){var l=o[0].point;l.lerp(new THREE.Vector3(0,0,0),.05);var u=function(){null!=n.editorApi&&n.editorApi.onMarkerPlaced(s.marker.getData())};if(a=(s=this.createSprite(l,r,i)).marker.isHotspot())if(s.marker.hide(),s.marker.el.style.display="none",null==s.marker.props.hotspotData)this.setMode(st.DRAWING_HOTSPOT),this.hotspotLayer.beginHotspot(l,s.marker,u);else{var c=this.hotspotLayer.createHotspot(s.marker.props.hotspotData,s.marker);c.drag(l),u(),this.setCurrMarker(c.marker.sprite),this.setFocus({focus:y})}else u(),this.makeMarkerSwitchable(s.marker,l);this.stopVelocity(),this.hideMarkerBounds(),this.setCurrMarker(s.sprite),a||this.setFocus({focus:y})}a||this.setMode(st.DEFAULT)}},{key:"makeMarkerSwitchable",value:function(t,e){this.editMode&&"normal"===t.props.type&&(this.hotspotLayer.createHotspotAtPoint(e,t),t.polyHotspot.visible=!1)}},{key:"dragMarker",value:function(t,e){this.boundingBox.style.display="block",this.mouseRay.x=t/window.innerWidth*2-1,this.mouseRay.y=-e/window.innerHeight*2+1,this.raycaster.setFromCamera(this.mouseRay,this.camera);var n=this.raycaster.intersectObject(this.sphereMesh,!1);if(n.length>0){var i=n[0].point;i.lerp(new THREE.Vector3(0,0,0),.05),this.drag.started||(this.drag.startX=i.x-this.currMarker.position.x,this.drag.startY=i.y-this.currMarker.position.y,this.drag.startZ=i.z-this.currMarker.position.z,this.drag.started=!0,this.drag.count=0),this.drag.started&&(i.set(i.x-this.drag.startX,i.y-this.drag.startY,i.z-this.drag.startZ),this.drag.count++),this.currMarker.position.copy(i);var r=this.currMarker.userData.cssMarker;r.updateLoc(i),null!=r.polyHotspot&&r.polyHotspot.drag(i,!0)}}},{key:"canDragMarker",value:function(){return this.editMode&&this.downOnMarker&&null!=this.currMarker&&this.mode!=st.SET_INITIAL_CAMERA_ANGLE}},{key:"checkHideHotspotPanel",value:function(){if(this.drag.started&&this.drag.count>4){var t=this.currMarker.userData.cssMarker;t.isHotspot()&&t.panel.shown&&(t.panel.hide(!0),this.hotspotLayer.currHotspot=null)}}},{key:"setLocVarsCenter",value:function(){this.calcSceneRect(),this.forcingCameraTarget=!1,this.downX=this.sceneRect.width/2,this.downY=this.sceneRect.height/2,this.locX=this.downX,this.locY=this.downY,this.locXvel=this.locYvel=this.locDist=this.locTheta=0,this.downLon=this.lon,this.downLat=this.lat,this.prevLocX=this.lastUpX=this.locX,this.prevLocY=this.lastUpY=this.locY,this.setLonLat(this.locX,this.locY)}},{key:"updateSize",value:function(t,n){var i=this;if(this.mode===st.SET_INITIAL_CAMERA_ANGLE||this.mode===st.SET_CROP_IMAGE_MEDIA){var r=(n-ot)/n;t*=r,n*=r,window.ResizeContainer(t,n),document.getElementById("container").scrollIntoView({inline:"center",block:"center"}),this.calcSceneRect()}if(this.positionInitialCamUi(),this.positionCropUi(),clearTimeout(this.uiPositionId),this.uiPositionId=setTimeout((function(){i.positionInitialCamUi(),i.positionCropUi()}),100),this.newWidth=t,this.newHeight=n,a.trigger(l.threeSixtyImage.RESIZED,{scale:e.getPath(this,"slideObject.props.winScale",1),width:t,height:n}),null!=this.currMarker){var o=this.currMarker.userData.cssMarker;if(null!=o.panel&&o.panel.shown){var s=o.isHotspot();window.requestAnimationFrame((function(){return o.panel.update(s)}))}}}},{key:"hideLastPanel",value:function(){s.hideLast()}},{key:"lastPanel",value:function(){return s.last}},{key:"hidePanelAndDeselect",value:function(){if(null!=this.currMarker){var t=this.currMarker.userData.cssMarker,e=t.panel;null!=e&&e.hide(!0),t.disableActive()}else if(this.hotspotLayer.currHotspot){var n=this.hotspotLayer.currHotspot.marker;null!=n&&n.panel&&n.panel.hide(!0),this.hotspotLayer.currHotspot.deselect()}}},{key:"changeLocX",value:function(t){return this.hidePanelAndDeselect(),this.panToCoord=!1,this.forcingCameraTarget=!1,this.locXvel+=t,!0}},{key:"changeLocY",value:function(t){return this.hidePanelAndDeselect(),this.panToCoord=!1,this.forcingCameraTarget=!1,this.locYvel+=t,!0}},{key:"setCameraTarget",value:function(t,e){this.forcingCameraTarget=!0,this.lat=t||0,this.lon=e||0}},{key:"visitedMarkers",set:function(t){this.vars&&(W(this.vars.visitedPath,t,this),this.updateNavigationText())},get:function(){if(this.vars)return p.resolvePath(this.vars.visitedPath).value()}},{key:"markerIdxInView",set:function(t){this.model&&this.model.prop("MarkerInView",t)},get:function(){return this.model&&this.model.prop("MarkerInView")}}]),t}(),vt=function(){var t=this;this.updateMarker=function(e){var n=t.getMarker(e.id);null!=n&&n.adjust(e)},this.onMarkerUpdated=function(e){null!=t.editorApi&&t.editorApi.onMarkerUpdated(e.getData())},this.onTransitionIn=function(){t.nudgeOnLoad?t.nudge():t.cancelNudge()},this.onResize=function(){for(var e in t.sprites){t.sprites[e].userData.cssMarker.resize()}},this.onForceRender=function(e){e===t.id&&(t.renderer.render(t.scene,t.camera),t.cssRenderer.render(t.cssScene,t.camera))},this.renderSpriteBoundingBox=function(e,n){var i=n.scale.x*t.sceneRect.width/2,r=n.scale.y*t.sceneRect.height/2;t.spriteWidth=i,t.spriteHeight=r,Object.assign(t.boundingBox.style,{left:e.x-i/2+t.sceneRect.width/2+"px",top:e.y-r/2+t.sceneRect.height/2+"px",width:i+"px",height:r+"px"})},this.onBoxDown=function(n){if(null!=t.currMarker){var i=G(n,t),r=i.pageX,o=i.pageY,s=t.getBoxCenter(),a=s.cx,l=s.cy;t.handleData={isNonUniform:n.target.classList.contains("non-uniform"),dir:n.target.dataset.axis};var u=t.currMarker.scale.x,c=t.currMarker.scale.y,h=e.dist(r,o,a,l);t.scaleRatioX=u/h,t.scaleRatioY=c/h,document.addEventListener("mousemove",t.onBoxMove),document.addEventListener("mouseup",t.onBoxUp)}},this.onBoxMove=function(n){var i=G(n,t),r=i.pageX,o=i.pageY,s=t.getBoxCenter(),a=s.cx,l=s.cy,u=t.currMarker.userData.cssMarker,c=e.dist(r,o,a,l),h=void 0;if(t.handleData.isNonUniform)"x"===t.handleData.dir?(h=Math.max(50,c*t.scaleRatioX),u.scaleX(h)):"y"===t.handleData.dir&&(h=Math.max(50,c*t.scaleRatioY),u.scaleY(h));else if(t.currMarker.userData.cssMarker.isHotspot()){var d=Math.max(50,c*t.scaleRatioX),p=Math.max(50,c*t.scaleRatioY);u.scale(d,p)}else h=e.clamp(50,200,c*t.scaleRatioX),u.scale(h,h)},this.onBoxUp=function(e){t.handleData=null,document.removeEventListener("mousemove",t.onBoxMove),document.removeEventListener("mouseup",t.onBoxUp)},this.fixCssScrolling=function(){t.cssRenderer.domElement.scrollLeft>0&&(t.cssRenderer.domElement.scrollLeft=0),t.cssRenderer.domElement.scrollTop>0&&(t.cssRenderer.domElement.scrollTop=0),t.cssScrollingId=window.requestAnimationFrame(t.fixCssScrolling)},this.onTextureReady=function(){for(var e=ft.loadTracker[t.slideObject.currSlideId],n=0;n\n "+t.localizedText.initialViewSet+"\n ";var e=document.createElement("div");d.setStyles(e,{position:"absolute",width:"100%",height:"100%",left:0,top:0,background:"white",opacity:1}),t.el.appendChild(e),h.to(e,.3,{opacity:0,onComplete:function(){t.el.removeChild(e)}}),t.hideCrosshairUi(),t.initialLat=t.lat,t.initialLon=t.lon,null!=t.editorApi&&t.editorApi.onInitialCameraAngleSet(t.lat,t.lon),t.setMode(st.DEFAULT)}},this.onNavClicked=function(t){t.stopPropagation()},this.goPrevGuidedClick=function(e){t.guidedNavClicked=!0,t.goPrevGuided(),e.stopPropagation()},this.goPrevGuided=function(){t.prevMarker=t.markersByIdx[t.markerIdxInView],t.nextMarker=t.markersByIdx[t.markerIdxInView-1],t.markerIdxInView--,t.isGuidedPrevShow=!0,t.nextMarker.disablePulse(),t.nextMarker.downActiveState(),t.prevMarker.active=!1,t.hideShowGuidedArrows()},this.goNextGuidedClick=function(e){t.guidedNavClicked=!0,t.goNextGuided(),e.stopPropagation()},this.goNextGuided=function(){t.markerIdxInView++,t.prevMarker=t.markersByIdx[t.markerIdxInView-1],t.nextMarker=t.markersByIdx[t.markerIdxInView],t.isGuidedNextShow=!0,t.nextMarker.disablePulse(),t.nextMarker.downActiveState(),t.prevMarker.active=!1,t.hideShowGuidedArrows()},this.animate=function(e){e=e||performance.now();var n=t.kpPanAnimation,i=Math.min(e-t.lastTimeStampMs,1/n);t.lastTimeStampMs=e,t.width==t.newWidth&&t.height==t.newHeight||t.changeSize(),t.editMode&&null!=t.currMarker&&!t.currMarker.userData.cssMarker.isHotspot()&&t.moved&&(t.downOnMarker||t.hotspotLayer.down)&&t.moveCameraWithElement(),t.panToCoord?(t.phi+=n*(t.panCoord.phi-t.phi)*i,t.theta+=n*(t.panCoord.theta-t.theta)*i,t.lat=THREE.Math.radToDeg(O-t.phi),t.lon=THREE.Math.radToDeg(t.theta),Math.abs(t.phi-t.panCoord.phi)<.005&&Math.abs(t.theta-t.panCoord.theta)<.005&&t.panComplete()):(t.applyVelocity(),t.lat=Math.max(t.latMin,Math.min(t.latMax,t.lat)),t.phi=THREE.Math.degToRad(90-t.lat),t.theta=THREE.Math.degToRad(t.lon)),t.targetX=t.radius*Math.sin(t.phi)*Math.cos(t.theta),t.targetY=t.radius*Math.cos(t.phi),t.targetZ=t.radius*Math.sin(t.phi)*Math.sin(t.theta),t.camera.target.set(t.targetX,t.targetY,t.targetZ),t.camera.lookAt(t.camera.target),t.renderer.render(t.scene,t.camera),t.cssRenderer.render(t.cssScene,t.camera),t.editMode&&(t.updateHotspotStrokes(),t.displayBoundingBox(),null!=t.currMarker&&t.showMarkerBounds(),t.mode===st.SET_INITIAL_CAMERA_ANGLE&&t.updateLatLonUi()),t.animateId=window.requestAnimationFrame(t.animate)},this.onMouseDown=function(e){t.contextMenuOrigin=null,t.hotspotLayer.lastHotspotIntersection=null,t.lastMouseEvent=e,t.moved=!1;var n=e.touches||[e];t.startX=n[0].screenX,t.startY=n[0].screenY;var i=Y(e),r=X(e);if(t.editMode){if(!i&&!r)return}else if(!i)return;t.calcSceneRect();var o=G(e,t),s=o.pageX,a=o.pageY,l=o.gesture;if(t.startPageX=s,t.startPageY=a,r&&t.editMode){if(t.hotspotLayer.getHotspotIntersection(s,a))return;return t.contextMenuOrigin={pageX:s,pageY:a},e.preventDefault(),void t.editorApi.onRightClickImage()}if(!(l||t.mobileZoom>L||t.allowSwiping||t.hotspotLayer.onMouseDown(e,s,a)&&t.editMode)){if(t.editMode&&t.mode===st.ADD_MARKER)return e.stopPropagation(),t.placeMarker(s,a,t.upcomingMarkerData.props,t.upcomingMarkerData.id),void e.preventDefault();if(t.panToCoord=!1,t.editMode&&t.mode!=st.SET_INITIAL_CAMERA_ANGLE&&t.getMarkerIntersection(s,a,"over"))return t.boundingBox.style.display="block",void(t.downOnMarker=!0);null==t.hotspotLayer.draggableHotspot&&t.setCurrMarker(null),t.boundingBox.style.display="none",t.hideMarkerBounds(),t.isDragging=!0,t.forcingCameraTarget=!1,t.downX=s,t.downY=a,t.locX=s,t.locY=a,t.locXvel=0,t.locYvel=0,t.downLon=t.lon,t.downLat=t.lat,t.locDist=0}},this.setupSuppressOnSelectionChange=function(){t.suppressOnSelectionChange+=1},this.teardownSuppressOnSelectionChange=function(){t.suppressOnSelectionChange>0&&(t.suppressOnSelectionChange-=1)},this.withOnSelectionChange=function(e){t.withoutOnSelectionChange(e),t.onSelectionChange()},this.withoutOnSelectionChange=function(e){t.setupSuppressOnSelectionChange(),e(),t.teardownSuppressOnSelectionChange()},this.onSelectionChange=function(){if(null!=t.editorApi&&0==t.suppressOnSelectionChange){var n=t.getCurrInputElement(),i=t.getInputType(n),r=t.getCurrMediaElementType(),o=t.getIsMediaShowing(),s=void 0;if(null==n)s={isCollapsed:!0,isRightToLeft:!1,textInputType:i,supportsParagraphs:!1,type:"none",mediaType:r,isMediaShowing:o,spanStyle:null};else{var a=document.getSelection();s={isCollapsed:a.isCollapsed,isRightToLeft:null!=a.anchorNode?e.isRtlText(a.anchorNode.textContent):null,textInputType:i,supportsParagraphs:F(n),type:a.rangeCount>0?a.type.toLowerCase():"none",mediaType:r,isMediaShowing:o,spanStyle:a.rangeCount>0?nt(n,a.getRangeAt(0)):null}}var l=JSON.stringify(s);t.lastSelectionChangedEventArgs!==l&&(t.editorApi.onSelectionChanged(s),t.lastSelectionChangedEventArgs=l)}},this.onMouseMove=function(n){var i=G(n,t),r=i.pageX,o=i.pageY,s=i.gesture;if(t.lastMouseEvent=n,!(s||t.mobileZoom>L||t.allowSwiping)){t.pageX=r,t.pageY=o;var a=n.touches||[];if(!(!t.moved&&1===a.length&&Math.abs(t.startX-a[0].screenX)<1&&Math.abs(t.startY-a[0].screenY)<1||(t.moved=!0,t.hotspotLayer.onMouseMove(n,r,o),t.editMode&&t.hotspotLayer.isEditing())))if(t.canDragMarker())t.checkHideHotspotPanel(),t.dragMarker(r,o);else if(t.isDragging){t.prevLocX=t.locX,t.prevLocY=t.locY;var l=G(n,t),u=l.pageX,c=l.pageY;t.locX=u,t.locY=c,t.locDist=e.dist(t.locX,t.locY,t.prevLocX,t.prevLocY),t.locTheta=N(t.locX,t.locY,t.prevLocX,t.prevLocY),t.locXvel=t.locDist*Math.cos(t.locTheta),t.locYvel=t.locDist*Math.sin(t.locTheta),t.setLonLat(t.locX,t.locY),t.lastDragTime=performance.now()}else t.getMarkerIntersection(r,o,"move")}},this.onMouseUp=function(e){if(t.lastMouseEvent){var n=G(t.lastMouseEvent,t),i=n.pageX,r=n.pageY;if(t.lastUpX=i,t.lastUpY=r,t.hotspotLayer.onMouseUp(e,i,r),t.getMarkerIntersection(i,r,"click"),null!=t.pinch.currMatrix&&(t.pinch.scale=t.pinch.currMatrix.getScale().x-.19999999999999996,t.pinch.matrix=t.pinch.currMatrix),t.draggingOffEdge&&(t.stopVelocity(),t.draggingOffEdge=!1),t.isDragging&&(performance.now()-t.lastDragTime>100&&t.stopVelocity(),t.isDragging=!1),t.downOnMarker){if(t.downOnMarker=!1,t.drag.started=!1,null!=t.currMarker)t.currMarker.userData.cssMarker.dragging=!1}else t.hotspotLayer.lastHotspotIntersection||"360-image"!==t.lastMouseEvent.target.dataset.canvasType||null!=t.threeSixtyAcc&&"CANVAS"===e.target.tagName&&t.threeSixtyAcc.el.focus()}}},gt=void 0;return ft.loadTracker={},ft.isWaitingLoad=function(t,e){var n=!1,i=v.getCurrentWindowSlide().absoluteId,r=ft.loadTracker[i];return null==r||0===r.length||(ft.loadTracker[i].forEach((function(t){t.ready||(n=!0)})),!t&&n&&(clearInterval(gt),gt=setInterval((function(){ft.isWaitingLoad(!0)||(clearInterval(gt),e())}),16))),n},ft}.call(e,n,e,t))||(t.exports=i)},1294:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(7097),r=n(82),o=n(7812),s=o.math.TO_RADIANS,a=function(){this.reset()};return e.extend(a.prototype,{adjustByViewProps:function(t){return this.translate(t.RawXPos,t.RawYPos).scale(t.ScaleX,t.ScaleY,t.rotateXPos,t.rotateYPos).rotate(t.Rotation,t.rotateXPos,t.rotateYPos),this},reset:function(){return this.a=this.d=1,this.c=this.b=this.tx=this.ty=0,this},translate:function(t,e){return this.tx+=t*this.a+e*this.b,this.ty+=t*this.c+e*this.d,this},scale:function(t,e,n,i){var r=n||i;return r&&this.translate(n,i),this.a*=t,this.c*=t,this.b*=e,this.d*=e,r&&this.translate(-n,-i),this},rotate:function(t,e,n){t*=s;var i=Math.cos(t),r=Math.sin(t),o=e-e*i+n*r,a=n-e*r-n*i,l=this.a,u=this.b,c=this.c,h=this.d;return this.a=i*l+r*u,this.b=-r*l+i*u,this.c=i*c+r*h,this.d=-r*c+i*h,this.tx+=o*l+a*u,this.ty+=o*c+a*h,this},skew:function(t,e,n,i){var r=n||i,o=this.a,a=this.c;return t=Math.tan(t*s),e=Math.tan(e*s),r&&this.translate(n,i),this.a+=e*this.b,this.c+=e*this.d,this.b+=t*o,this.d+=t*a,r&&this.translate(-n,-i),this},transform:function(t,e){return{x:t*this.a+e*this.b+this.tx,y:t*this.c+e*this.d+this.ty}},copy:function(){var t=new a;return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},invert:function(){var t=1/(this.a*this.d-this.b*this.c),e=this.d*t,n=-this.b*t,i=-this.c*t,r=this.a*t,o=t*(this.b*this.ty-this.d*this.tx),s=t*(this.c*this.tx-this.a*this.ty);return this.a=e,this.b=n,this.c=i,this.d=r,this.tx=o,this.ty=s,this},toCssTransform:function(){var t=r.fix(this.a,6),e=r.fix(this.b,6),n=r.fix(this.c,6),o=r.fix(this.d,6),s=r.fix(this.tx,6),a=r.fix(this.ty,6);return i.buildTransformFn("matrix",t,n,e,o,s,a)},getScale:function(){return{x:r.hypot(this.a,this.c),y:r.hypot(this.b,this.d)}},transformPoint:function(t,e){return{x:t*this.a+e*this.b+this.tx,y:t*this.c+e*this.d+this.ty}},unTransformPoint:function(t,e){return this.copy().invert().transformPoint(t,e)},decompose:function(){var t,e,n,i=this.a,r=this.b,o=this.c,s=this.d;return n=i*s-r*o,Math.abs(n)<=1e-12?null:(r/=t=Math.sqrt(i*i+r*r),(i/=t)*(s/=e=Math.sqrt(o*o+s*s))1&&void 0!==arguments[1]?arguments[1]:1,n=new a;return n.a=this.a+t.a*e,n.b=this.b+t.b*e,n.c=this.c+t.c*e,n.d=this.d+t.d*e,n.tx=this.tx+t.tx*e,n.ty=this.ty+t.ty*e,n},append:function(t){var e=this.a,n=this.b,i=this.c,r=this.d,o=t.a,s=t.b,a=t.c,l=t.d,u=t.tx,c=t.ty;return this.a=o*e+a*n,this.b=s*e+l*n,this.c=o*i+a*r,this.d=s*i+l*r,this.tx+=u*e+c*n,this.ty+=u*i+c*r,this},isEqual:function(t){return this.tx===t.tx&&this.ty===t.ty&&this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d},isOnlyTranslated:function(t){return this.a===t.a&&this.b===t.b&&this.c===t.c&&this.d===t.d}}),a}.call(e,n,e,t))||(t.exports=i)},9739:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e,i,r,o=n(6486),s=n(5470),a=n(8880),l=n(82),u=n(4811),c=n(9032),h=!1===window.globals.suppressAnalytics&&-1===window.location.protocol.indexOf("file");if(h){e=document.createElement("iframe"),i=function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}(),r=u.Deferred();e.setAttribute("aria-hidden","true"),e.id="analytics-frame",e.src="analytics-frame.html#"+i,e.style.position="fixed",e.style.left="-1000px",e.style.top=0,window.addEventListener("message",(function t(n){n.data.id===i&&("loaded"===n.data.message?r.resolve():"xhr sent"===n.data.message&&(document.body.removeChild(e),window.removeEventListener("message",t),e=null,i=null))})),document.body.appendChild(e)}var d={initialize:function(t){o.bindAll(this,"onMounted"),this.confirmValidProps(),this.dfd=r,t.assetLib(),t.slideMap(),c.once(a.slide.HAS_MOUNTED,this.onMounted)},confirmValidProps:function(){this.hasValidProps=["productChannel","publishSource","aid","cid","playerVersion"].every((function(t){return null!=window.globals[t]}))},getDevicePixelRatio:function(){return window.devicePixelRatio},formatScreenResolution:function(){return window.screen.width+"x"+window.screen.height},onMounted:function(t){var e=Math.round(performance.now()),n=l.getPath(t,"props.model.parent.isMessageScene",!1),i=document.getElementById("font-test"),r=document.getElementById("font-test-download"),o=document.getElementById("font-test-default"),a=Math.floor(r.getComputedTextLength())!==Math.floor(o.getComputedTextLength()),u={os:[s.osname,s.osversion].join(" "),browser:[s.name,s.version].join(" "),playerVersion:window.globals.playerVersion,playerType:"HTML5-A",playerFrame:"unified"===window.globals.themeName?"modern":"classic",publishTimestamp:window.globals.publishTimestamp,lmsPresent:window.globals.lmsPresent,tinCanPresent:window.globals.tinCanPresent,cmi5Present:window.globals.cmi5Present,aoSupport:window.globals.aoSupport,protocol:window.location.protocol.slice(0,-1),productChannel:window.globals.productChannel,publishSource:window.globals.publishSource,cid:window.globals.cid,timeToLoad:e,resumePrompt:n,canDownloadFonts:a,screenResolution:d.formatScreenResolution(),pixelRatio:d.getDevicePixelRatio()};i.parentNode.removeChild(i),this.sendMessage("player_course_load",u)},sendMessage:function(t,n){h&&this.hasValidProps&&r.then((function(){e.contentWindow.postMessage({id:i,event:t,properties:n,aid:window.globals.aid},"*")}))}};return d}.call(e,n,e,t))||(t.exports=i)},857:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(8880),r=n(9032),o=n(1419),s={callbacks:[],endFrameCallbacks:[],frameRequested:!1,staleFrameRequested:!1,timeStale:!0,staleTime:-1,lastCpuTime:Date.now(),lastEndFrameTime:0,currentTime:0,locks:[],locked:!1,waitingLock:!1,clockOverridden:!1,playbackSpeed:1,overrideClock:function(t){this.clockOverridden=!0,this.frameTimeMs=t},requestAnimationFrame:function(t,e){e?this.endFrameCallbacks.push(t):this.callbacks.push(t),this.frameRequested||(this.frameRequested=!0,this.staleFrameRequested||this.clockOverridden||window.requestAnimationFrame(this.tick.bind(this)),this.staleFrameRequested=!1)},lock:function(){var t=e.uniqueId("lock-");return this.locks.push(t),this.locked=!0,t},unlock:function(t){e.pull(this.locks,t),this.locked=this.locks.length>0,!this.locked&&this.waitingLock&&(this.waitingLock=!1,this.tick())},playbackSpeedUpdated:function(t){this.playbackSpeed=t},updateTime:function(){var t=Date.now(),e=t-this.lastCpuTime;return this.lastCpuTime=t,e>132&&(e=33),o.playbackSpeedControl?this.currentTime+=this.clockOverridden?this.frameTimeMs:e*this.playbackSpeed:this.currentTime+=this.clockOverridden?this.frameTimeMs:e,this.currentTime},requestStaleFrame:function(){this.frameRequested||this.staleFrameRequested||this.clockOverridden||(this.staleFrameRequested=!0,window.requestAnimationFrame(this.tick.bind(this)))},requestEndFrameTick:function(){this.frameRequested||this.clockOverridden||(this.frameRequested=!0,window.requestAnimationFrame(this.tick.bind(this)))},time:function(){return this.timeStale&&(this.requestStaleFrame(),-1===this.staleTime&&(this.staleTime=this.updateTime()),this.frameTime=this.staleTime),this.frameTime},tick:function(){if(this.locked)this.waitingLock=!0;else{var t=this.frameRequested;this.staleFrameRequested=!1,this.frameRequested=!1,this.frameTime=this.updateTime(),this.staleTime=-1,this.timeStale=!1,this.callbacks.length>0&&this.executeCallbacks(),this.endFrameCallbacks.length>0&&(this.currentTime-this.lastEndFrameTime>=33?(this.lastEndFrameTime=this.currentTime,this.executeCallbacks(!0)):this.requestEndFrameTick()),t?this.requestStaleFrame():this.timeStale=!0}},executeCallbacks:function(t){var e,n;t?(e=this.endFrameCallbacks.slice(0),this.endFrameCallbacks=[]):(e=this.callbacks.slice(0),this.callbacks=[]),n=e.length;for(var i=0;i0&&(r=i.some((function(t){return e.isLayerTimelinePlaying(t)}))),r},isLayerTimelinePlaying:function(t){return!t.getHasTimelineFinished()&&!t.getIsTimelinePaused()},nextSlide:function(){var t=e.shift();t&&u.trigger(l.request.NEXT_SLIDE,c.prefixWithPlayer(t))},pausePlayer:function(){u.trigger(l.detection.VISIBILITY_HIDDEN)},playPlayer:function(){u.trigger(l.detection.VISIBILITY_SHOWN)}},b={silenceActions:{trigger_next_slide:!1,close_player:!1},initialize:function(t,n){var r=c.parseParams();if("1"===r.automation&&(window.autoSpider=!0,this.silenceActions.trigger_next_slide=!0,this.silenceActions.close_player=!0),window.autoSpider){i=r.frametimems?parseFloat(r.frametimems):33.33,v("mousedown",this.onPlayerClicked.bind(this)),v("touchstart",this.onPlayerClicked.bind(this)),window.g_nWidth=n.display().width(),window.g_nHeight=n.display().height(),"1"===r.overrideclock&&(s.prototype.play=o.noop,a.overrideClock(i),this.clockIsOverridden=!0,u.on(l.video.STATE_CHANGED,this.onVideoEvent.bind(this)));e=o(n.slideMap().slideRefs().where({type:"slide"})).map("id").filter((function(t){return!/^MsgScene|^PromptScene/.test(t)})).tap((function(e){e.forEach((function(e){var n=t.getSlide(c.prefixWithPlayer(e)).get("showAnimationId");null!=n&&(g[n]=e)}))})).tail().value();var f={playerTime:0,type:"dark-spider",AdvanceFrame:function(){return y.updateTime()},AutoUpdateTime:function(){a.tick()},UpdateAutomationTime:function(t){var e=a.frameTimeMs;a.frameTimeMs=t-a.currentTime,a.tick(),a.frameTimeMs=e},TriggerNextSlide:function(){y.nextSlide()},TriggerPause:function(){h.env.is360&&y.pausePlayer()},TriggerPlay:function(){h.env.is360&&y.playPlayer()},CaptureSlideImage:function(){return d.generate()},GetCourseStateData:function(){return p.getState()},GetTargetDuration:function(e){var n=g[e];return n?t.getSlide(c.prefixWithPlayer(n)).getTransitionAnimation().duration():t.getSlide(c.prefixWithPlayer(e)).getBaseLayer().timeline().duration()}};this.getPlayer=function(){return f},o.bindAll(this,"onSlideStarted","onSlideTransition","onNextSlideRequesting","onMainWindowCreated","onEnterFullscreen","onExitFullscreen","onLoaderShown","onLoaderHidden","onTincanStatement","onPlayButtonShown");var m={};m[l.slide.STARTED]=this.onSlideStarted,m[l.slide.TRANSITION_STARTED]=this.onSlideTransition,m[l.layer.TIMELINE_ACTIVATED]=this.onLayerTimelineActivated,m[l.loader.SHOW]=this.onLoaderShown,m[l.loader.HIDE]=this.onLoaderHidden,m[l.window.MAIN_CREATED]=this.onMainWindowCreated,m[l.request.NEXT_SLIDE]=this.onNextSlideRequesting,m[l.presentation.ENTER_FULLSCREEN]=this.onEnterFullscreen,m[l.presentation.EXIT_FULLSCREEN]=this.onExitFullscreen,m[l.startOverlay.READY]=this.onPlayButtonShown,h.env.isRise&&(m[l.tincan.STATEMENT]=this.onTincanStatement),u.on(m)}},onPlayerClicked:function(){this.callIfExists("OnPlayerClicked")},onEnterFullscreen:function(){this.callIfExists("OnEnterFullscreen")},onExitFullscreen:function(){this.callIfExists("OnExitFullscreen")},onMainWindowCreated:function(t){y.mainWindow=t,this.callIfExists("AutomationReady")},onSlideTransition:function(t,e,n){this.callIfExists("OnSlideTransition",t,e,n)},onSlideStarted:function(t){r=!1,this.callIfExists("OnSlideStarted",t)},onMediaStarted:function(t){this.callIfExists("OnMediaStarted",t)},onNextSlideRequesting:function(){r=!0,this.callIfExists("OnNextSlideRequesting")},onPlayButtonShown:function(){this.callIfExists("OnPlayButtonShown")},onLoaderShown:function(){this.callIfExists("OnLoaderShown")},onLoaderHidden:function(){this.callIfExists("OnLoaderHidden")},onVideoEvent:function(t,e,n){this.callIfExists("OnVideoEvent",t,e,n)},onTincanStatement:function(t){this.callIfExists("LmsUpdate",t)},onLayerTimelineActivated:function(t){if(t.isBaseLayer()){var e=t.getClosestAncestorByKind("slide").absoluteId;b.onSlideStarted(c.stripPlayer(e))}},callIfExists:function(t){var e=m[t];"function"==typeof e&&e.apply(m,o.tail(arguments))}};return b}.call(e,n,e,t))||(t.exports=i)},6407:function(t,e,n){"use strict";var i,r;i=[n(5485),n(153)],void 0===(r=function(t,e){t.ajax=e}.apply(e,i))||(t.exports=r)},3934:function(t,e,n){"use strict";!function(){var t=null;t=n(5485);var i=Array.prototype.slice;function r(t,e){t.prototype[e]=function(){var t=arguments.length?"set":"get",n=i.call(arguments);return n.unshift(e),this[t].apply(this,n)}}t.Model.shorthandify=function(t){if(!(t=t||this.prototype.shorthand))return this;"string"==typeof t&&(t=[t]);for(var e=0,n=t.length;eEndpoint:
\n "+c()+"\n \n

\n

\n \n

\n

\n \n

\n

\n \n

\n

\n \n

\n \n \n
Selecting Manual in LRS publish settings overrides querystring values.
\n '}},{key:"populateWithQueryString",value:function(){var t=this,n=(i.queryStringToObj()||{}).slxapi;null!=n&&(this.endpointLocked&&delete n.endpoint,this.authLocked&&delete n.auth,["endpoint","auth","registration","actor","activityId"].forEach((function(i){var r=n[i];e.isEmpty(r)||(e.isPlainObject(r)?t.refs[i].value=JSON.stringify(r,null,2):t.refs[i].value=r)})),this.onValueChanged())}},{key:"addListeners",value:function(){var t=this;e.bindAll(this,"onValueChanged","onBuildActor","onBuildAuth","showTip","hideTip"),this.refs.buildActor.addEventListener("click",this.onBuildActor),this.refs.buildAuth.addEventListener("click",this.onBuildAuth),[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e\n \n

'})).join("")+"\n

\n \n

\n ",this.el.parentElement.appendChild(i),i}},{key:"onBuildAuth",value:function(t){var e=this;this.openSupportWnd("build-auth",[{name:"Key:",dataref:"key"},{name:"Secret:",dataref:"secret"}],(function(t){var n=t.key,i=t.secret;e.updateAuth(n,i)}))}},{key:"onBuildActor",value:function(t){var e=this;this.openSupportWnd("build-actor",[{name:"Learner Name:",dataref:"learnerName"},{name:"Learner Email:",dataref:"learnerEmail"}],(function(t){var n=t.learnerName,i=t.learnerEmail;e.updateActor(n,i)}))}},{key:"updateAuth",value:function(t,n){e.isEmpty(t)&&e.isEmpty(n)||(this.refs.auth.value=u(t,n),this.onValueChanged())}},{key:"updateActor",value:function(t,e){var n={mbox:"mailto:"+e,objectType:"Agent",name:t};this.refs.actor.value=JSON.stringify(n,null,2),this.onValueChanged()}},{key:"onValueChanged",value:function(){var t=this,n={};["activityId","endpoint","auth","registration"].forEach((function(i){var r=t.refs[i].value;e.isEmpty(r)||(n[i]=r)}));var i=function(t){try{return JSON.parse(t)}catch(t){return""}}(this.refs.actor.value);e.isEmpty(i)||(n.actor=i),o.trigger(a.debug.lrs.SETTINGS_CHANGED,n)}},{key:"getComponentEl",value:function(){return this.el}}]),t}()}.call(e,n,e,t))||(t.exports=i)},748:function(t,e,n){"use strict";var i,r=function(){function t(t,e){for(var n=0;n\n
\n

\n '+l()+'\n

\n

\n '+l()+'\n

\n

\n '+l()+'\n

\n

\n '+l()+'\n

\n

\n '+l()+"\n

\n
\n \n "}},{key:"addListeners",value:function(){var t=this;e.bindAll(this,"onInitialized","onCopy"),i.on(s.debug[this.type].INITIALIZED,this.onInitialized),i.on(s.debug[this.type].STATEMENT_SENT,this.onStatementSent),i.on(s.debug[this.type].STATEMENT_RESPONSE,this.onStatementResponse),[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e\n
\n
\n '}},{key:"addListeners",value:function(){e.bindAll(this,"onStatementSent","onStatementResponse","onError","onDownloadAll"),this.refs.downloadAll.addEventListener("click",this.onDownloadAll),i.on(o.debug[this.type].STATEMENT_SENT,this.onStatementSent),i.on(o.debug[this.type].STATEMENT_RESPONSE,this.onStatementResponse),i.on(o.debug[this.type].ERROR,this.onError)}},{key:"onError",value:function(t){var e=document.createElement("div");a.addClass(e,"statement"),a.addClass(e,"failed"),e.innerHTML='
'+t+"
",this.refs.statements.insertAdjacentElement("afterbegin",e)}},{key:"onStatementSent",value:function(t){var e=this.getStatementSummary(t),n=e.actorName,i=e.verbName,r=e.objectName,o=document.createElement("div");a.addClass(o,"statement"),o.innerHTML='\n
'+n+" "+i+" "+r+'
\n
\n
'+JSON.stringify(t,null,2)+u()+"
",this.refs.statements.insertAdjacentElement("afterbegin",o);var s=o.querySelector(".details"),l=o.querySelector(".copy-btn");this.awaitingResponse[t.id]=o,l.addEventListener("click",(function(t){if(null!=navigator.clipboard)navigator.clipboard.writeText(s.innerText).then((function(t){console.log(t)}));else{window.getSelection().removeAllRanges();var e=document.createRange();e.selectNode(s.firstChild),window.getSelection().addRange(e),document.execCommand("copy")}t.stopPropagation()})),o.addEventListener("click",(function(t){t.target!==s&&(a.hasClass(o,"open")?a.removeClass(o,"open"):a.addClass(o,"open"))}))}},{key:"onStatementResponse",value:function(t,e,n){var i=this.awaitingResponse[t];if(null!=i)if(null!=e){n=n||{responseText:"",status:""};var r=i.querySelector(".error"),o="Statement Failed: "+n.responseText+" : "+n.status+" : error "+e;r.innerText=o,a.addClass(i,"failed")}else a.addClass(i,"success")}},{key:"getStatementSummary",value:function(t){var n=t.actor,i=t.verb,r=t.object,o=["name","mbox","account.name"].find((function(t){return!e.isEmpty(s.getPath(n,t))}));return{actorName:null!=o?s.getPath(n,o):JSON.stringify(n),verbName:null!=i.display?h(i.display):e.last(i.id.split("/")),objectName:null!=r.definition&&null!=r.definition.name?h(r.definition.name):r.id}}},{key:"getComponentEl",value:function(){return this.el}},{key:"onDownloadAll",value:function(){var t=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e\n

\n \n

\n \n \n '}},{key:"onCopy",value:function(t){var e=t.currentTarget;null!=navigator.clipboard?navigator.clipboard.writeText(e.previousSibling.lastChild.value).then((function(t){console.log(t)})):(e.previousSibling.lastChild.focus(),e.previousSibling.lastChild.select(),document.execCommand("copy"))}},{key:"addListeners",value:function(){var t=this;e.bindAll(this,"updateLaunchLink","relaunch"),i.on(a.debug.lrs.SETTINGS_CHANGED,this.updateLaunchLink),this.refs.launch.addEventListener("click",this.relaunch),[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e\n \n \n \n \n '},buildRefs:function(t){var e={};return[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e\n \n '},getDownloadIcon:function(){return'\n \n \n \n \n \n '},formatAuth:function(t,n){return e.isEmpty(t)&&e.isEmpty(n)?"":"Basic "+btoa(t+":"+n)}}}.call(e,n,e,t))||(t.exports=i)},9343:function(t,e,n){"use strict";var i,r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};void 0===(i=function(t){var e=n(6603),i=n(6885),o=n(7271),s=n(8579),a=n(1251),l=n(82),u=n(7510).addWindowListener,c=s.device.isMobile?{up:"touchend",down:"touchstart",move:"touchmove"}:{up:"mouseup",down:"mousedown",move:"mousemove"},h={init:function(t){this.props=t,(this.props.lmsEnabled||this.props.lrsEnabled)&&(this.tabs=[],this.render(),this.buildRefs(),this.addTabs(),this.addListeners(),this.onScrollContentUpdated())},enabled:function(){var t=window.globals,e=t.launchDebug;t.productChannel;return e&&!s.env.isPerpetual},buildRefs:function(){var t=this;this.refs={},[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e=n-10?"none":"block"},updateScrollPosition:function(){var t=this.refs.content,e=t.clientHeight,n=t.scrollHeight,i=this.refs.scrollbar,r=i.offsetTop/(e-i.clientHeight);this.refs.content.scrollTop=(n-e)*r},tabClicked:function(t){var e=this.selectedTab,n=e.tabEl,i=e.contentEl;null!=n&&a.removeClass(n,"selected"),null!=i&&null!=i.parentElement&&(i.parentElement.removeChild(i),this.scrollContentObserver&&this.scrollContentObserver.disconnect(i)),this.selectedTab=this.tabs.find((function(e){return e.tabEl===t.target})),a.addClass(this.selectedTab.tabEl,"selected"),null!=this.selectedTab.contentEl&&(this.refs.content.appendChild(this.selectedTab.contentEl),this.scrollContentObserver&&this.scrollContentObserver.observe(this.selectedTab.contentEl))},onScrollWheel:function(t){var e=parseInt(this.refs.scrollbar.offsetTop)+.1*t.deltaY;e=l.clamp(0,this.refs.content.clientHeight-this.refs.scrollbar.clientHeight,e),this.refs.scrollbar.style.top=e+"px",this.updateScrollPosition()},startScroll:function(t){var e=t.touches||[t],n=r(e,1)[0],i=this.refs.scrollbar.getBoundingClientRect();this.scrollYOffset=n.pageY-i.top,document.body.addEventListener(c.move,this.scrolling),document.body.addEventListener(c.up,this.endScroll)},scrolling:function(t){var e=this.refs.content.getBoundingClientRect(),n=t.touches||[t],i=r(n,1)[0].pageY-e.top-this.scrollYOffset;i=l.clamp(0,this.refs.content.clientHeight-this.refs.scrollbar.clientHeight,i),this.refs.scrollbar.style.top=i+"px",this.updateScrollPosition()},endScroll:function(t){document.body.removeEventListener(c.move,this.scrolling),document.body.removeEventListener(c.up,this.endScroll)},startResize:function(t){var e=t.touches||[t],n=r(e,1)[0],i=this.refs.resize.getBoundingClientRect();this.resizeOffset={x:n.pageX-i.right,y:n.pageY-i.bottom},a.addClass(this.refs.window,"resizing"),document.body.addEventListener(c.move,this.resizing),document.body.addEventListener(c.up,this.endResize)},resizing:function(t){var e=t.touches||[t],n=r(e,1)[0],i=n.pageX-this.refs.window.offsetLeft-this.resizeOffset.x,o=n.pageY-this.refs.window.offsetTop-this.resizeOffset.y;i=Math.max(100,i),o=Math.max(60,o),this.refs.window.style.width=i+"px",this.refs.window.style.height=o+"px"},endResize:function(){a.removeClass(this.refs.window,"resizing"),document.body.removeEventListener(c.move,this.resizing),document.body.removeEventListener(c.up,this.endResize)},closeClicked:function(t){this.refs.window.style.display="none"},minClicked:function(t){a.hasClass(this.refs.window,"minified")?a.removeClass(this.refs.window,"minified"):a.addClass(this.refs.window,"minified")},startDrag:function(t){var e=t.touches||[t],n=r(e,1)[0];this.ptStart={x:n.pageX-this.refs.window.offsetLeft,y:n.pageY-this.refs.window.offsetTop},document.body.addEventListener(c.move,this.dragging),document.body.addEventListener(c.up,this.endDrag)},dragging:function(t){var e=t.touches||[t],n=r(e,1)[0],i=n.pageX-this.ptStart.x,o=n.pageY-this.ptStart.y;i=Math.max(2,Math.min(window.innerWidth-this.refs.window.clientWidth-4,i)),o=Math.max(2,Math.min(window.innerHeight-this.refs.window.clientHeight-4,o)),this.refs.window.style.left=i+"px",this.refs.window.style.top=o+"px"},endDrag:function(){document.body.removeEventListener(c.move,this.dragging),document.body.removeEventListener(c.up,this.endDrag)},render:function(){this.debugWnd=document.createElement("div"),this.debugWnd.innerHTML='\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n
\n
',document.body.appendChild(this.debugWnd)},addTab:function(t,e){var n=document.createElement("div");a.addClass(n,"debug-tab"),n.innerText=t,this.refs.tabs.appendChild(n),null!=e&&e.init(this.props),this.tabs.push({tabEl:n,contentEl:e&&e.getComponentEl()}),1===this.tabs.length&&(a.addClass(n,"selected"),this.selectedTab=this.tabs[0],this.refs.content.appendChild(this.selectedTab.contentEl))}};return window.globals.launchDebug?h:{init:function(){},enabled:function(){return!1}}}.call(e,n,e,t))||(t.exports=i)},7271:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(8260),i=n(8680);return{init:function(t){this.props=t,this.el=document.createElement("div"),this.render()},render:function(){this.el.appendChild(new i(this.props).getComponentEl()),this.el.insertAdjacentElement("afterbegin",new e(this.props).getComponentEl())},getComponentEl:function(){return this.el}}}.call(e,n,e,t))||(t.exports=i)},6885:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(4366),i=n(748);return{init:function(){this.el=document.createElement("div"),this.render()},render:function(){this.el.appendChild(new i("lms").getComponentEl()),this.el.appendChild(new e("lms").getComponentEl())},getComponentEl:function(){return this.el}}}.call(e,n,e,t))||(t.exports=i)},6603:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(4366),i=n(748);return{init:function(){this.el=document.createElement("div"),this.render()},render:function(){this.el.appendChild(new i("lrs").getComponentEl()),this.el.appendChild(new e("lrs").getComponentEl())},getComponentEl:function(){return this.el}}}.call(e,n,e,t))||(t.exports=i)},9140:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e="pending",n="resolved",i="rejected";return function(){var t=this,r=e,o=[],s=[],a=[],l=[];this.resolve=function(){for(var i=arguments.length,s=Array(i),u=0;ue?"portrait":"landscape",i=D.orientation;i.forceHideWarning=i.value!==n}:function(){},H=function(){var t=D.orientation;t.value=window.innerWidth>window.innerHeight?"landscape":"portrait",D.innerHeight=window.innerHeight,D.innerWidth=window.innerWidth,N(),(t.value!==t.prev||D.forceHideWarning)&&("portrait"===t.value?(document.body.classList.remove("is-landscape"),document.body.classList.add("is-portrait"),t.isPortrait=!0,t.isLandscape=!1):(document.body.classList.add("is-landscape"),document.body.classList.remove("is-portrait"),t.isPortrait=!1,t.isLandscape=!0),s.trigger(o.detection.ORIENTATION_CHANGE,{orientation:t.value}),t.prev=t.value)};if(D.device.isMobile&&D.env.isInIframe){document.body.style.position="fixed";var V=function(){document.body.style.width=window.innerWidth+"px",document.body.style.height=window.innerHeight+"px"};l("resize",V),V()}return D.isRise&&(document.body.classList.add("is-rise"),document.body.styles.background="transparent"),D.isMobile&&!D.theme.isUnified&&document.getElementById("preso").setAttribute("class",""),H(),l("orientationchange",H),D}.call(e,n,e,t))||(t.exports=i)},1251:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(82),r=(n(4481),n(7812)),o=n(118),s=n(7510).addBodyListener,a=function(t,e,n){t.removeEventListener(e,n)},l=function(t){return 1===t.nodeType},u=function(t,e,n){var r=[];for(e=e||i.alwaysTrue;t&&l(t)&&(r.push(t),null==n||!n(t));)t=t.parentNode;return r.slice(1).filter(e)},c=function(t,e){return w.closest(t,(function(t){return w.hasClass(t,e)}))},h=function(t,e){return!!c(t,e)},d=function(t,e){return e.tagName.toLowerCase()===t.toLowerCase()},p=function(t){return null==t?"":e.isString(t)?t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"):t},f=function(t,e){if(null!=t.classList)return t.classList.contains(e);var n=t.getAttribute("class");return null!=n&&n.split(/[ ,]+/).includes(e)},v=function(t,n){if(null!=t.classList)t.classList.remove(n);else{var i=t.getAttribute("class").split(/[ ,]+/);t.setAttribute("class",e.without(i,n).join(" "))}},g=function(t,e){if(null!=t.classList)t.classList.add(e);else{var n=t.getAttribute("class").split(/[ ,]+/);n.includes(e)||n.push(e),t.setAttribute("class",n.join(" "))}},m=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"],y=function(t,n,i){var r=["<",t];return n&&e.isPlainObject(n)&&e.forOwn(n,(function(t,e){r.push(" ",e,'="',p(t),'"')}),r),r.push(!0===i||!0===n?" />":">"),r.join("")},b=e.partialRight((function(t,e,n){return t.classList.add(e),setTimeout((function(){t.classList.remove(e)}),n)}),"button-tapped",r.MOBILE_ANIMATION_DURATION),w={on:function(t,n,i,r){return t.addEventListener(n,i,!!r),e.partial(a,t,n,i)},off:a,parentNodesOf:u,closest:function(t,e,n){return(e=e||i.alwaysTrue)(t)?t:u(t,e,n)[0]},isNodeOfType:d,isInput:function(t){return null!=t&&(d("input",t)&&function(t){return m.some((function(e){return t.type===e}))}(t)||d("textarea",t))},isLink:e.partial(d,"a"),isVideoNode:e.partial(d,"video"),isIconNode:function(t){return f(t,"svg-icon-wrapper")},isSlideObject:function(t){return f(t,"slide-object")},selectAllByRef:function(t,n){[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);ei.height||i.top>n.top?t.scrollTop-(i.top-n.top):i.bottomr,a=t.getBoundingClientRect().width,l=a,u=0,c=l/n.length;o=o||0,e(n).map((function(t,e){t.style.width="";var n=t.getBoundingClientRect().width+o;return u+=n,{el:t,width:n}})).sortBy("width").forEach((function(t,e){var r=e+1,h=Math.min(t.width,c);u>a?(t.el.style.width=i.pxify(h-o),c=(l-=h)/(n.length-r)):s&&(t.el.style.width=i.pxify(t.width+(l-u)/n.length))}))},hasClass:f,addClass:g,removeClass:v,toggleClasses:function(t,e,n,i){var r=i?[g,v]:[v,g];r[0](t,e),r[1](t,n)},writeNode:y,writeCloseNode:function(t){return y(t).replace("<","0&&(w.mouseX=t.touches[0].pageX,w.mouseY=t.touches[0].pageY)}),!0),w}.call(e,n,e,t))||(t.exports=i)},8939:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(4839),r=e.curry((function(t,n,i,r){var o=e.slice(arguments,3).join(" ");t([n,"::",i," - ",o].join(""))}),4);return{throwFatal:r((function(t){throw new Error(t)})),throwError:r((function(t){var e=i.debugMode?"error":"warn";console[e](t),i.throwError()})),throwErrorSoft:r((function(t){i.debugMode&&console.warn(t)})),warn:r((function(t){console.warn(t)})),backtick:function(t){return["`",t,"`"].join("")}}}.call(e,n,e,t))||(t.exports=i)},8880:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e={ds:{FRAME_DATA_LOADED:"ds:frameLoaded",PRESO_LOADED:"ds:presoLoaded",PRESO_READY:"ds:presoReady"},actionlink:{EVENT:"actionlink:event",VIEWED:"actionlink:viewed"},animation:{CREATED:"animation:created",DESTROYED:"animation:destroyed"},app:{COMPLETE:"app:complete",BRANDING_COLOR:"app:brandingColor",PRESENTATION_POSITION:"app:presentationPosition",SHOW_LOADER:"app:showLoader",HIDE_LOADER:"app:hideLoader"},audioClip:{ENDED:"audioClip:ended",TIME_UPDATE:"audioClip:timeUpdate"},captions:{SHOW_BUTTON:"captions:showbutton",HIDE_BUTTON:"captions:hidebutton",ENABLED:"captions:enabled",ENABLE:"captions:enable",ADD:"captions:add",REMOVE:"captions:remove"},controlLayout:{CHANGED:"controllayout:changed",UPDATE:"controlLayout:update"},controlOptions:{CHANGED:"controlOptions:changed",RESET:"controlOptions:reset"},course:{COMPLETED:"course:completed",VIEWED:"course:viewed",MANUALLY_COMPLETED:"course:manuallyCompleted",SEND_XAPI_STATEMENT:"course:sendXApiStatement"},customlink:{EVENT:"customlink:event"},currTimeline:{TICK:"currTimeline:tick"},data:{INITIALIZED:"data:initialized",UPDATED:"data:updated"},debug:{lms:{INITIALIZED:"debug:lms:initialized",STATEMENT_SENT:"debug:lms:statement:sent",STATEMENT_RESPONSE:"debug:lms:statement:response"},lrs:{INITIALIZED:"debug:lrs:initialized",STATEMENT_SENT:"debug:lrs:statement:sent",STATEMENT_RESPONSE:"debug:lrs:statement:response",SETTINGS_CHANGED:"debug:lrs:settings:changed",ERROR:"debug:lrs:error"}},detection:{VISIBILITY_HIDDEN:"detection:visibilityhidden",VISIBILITY_SHOWN:"detection:visibilityshown",ORIENTATION_CHANGE:"detection:orientationChange"},draw:{RESET:"draw:reset",RESET_COMPLETE:"draw:resetcomplete",EXIT:"draw:exit"},error:{INTERFACE:"error:interface"},frame:{LAYOUT_READY:"frame:layoutReady",REFLOW:"frame:reflow",MODEL_READY:"frame:modelReady",SCALE:"frame:scale",FONT_SCALE:"font:scale"},frameModel:{LAYOUT_CHANGED:"frameData:layoutChanged",CHROMELESS_CHANGED:"frameData:chromelessChanged",BLOCKED_CHANGED:"frameData:blockedChanged"},glossary:{UPDATE:"glossary:update",REFRESH_VIEW:"glossary:refreshView"},hamburger:{TOGGLE:"hamburger:toggle"},interaction:{EVALUATED:"interaction:evaluated",VIEWED:"interaction:viewed"},keyManager:{FRAME_CONTROL_KEY:"keyManager:frameControlKey"},layer:{HIDDEN:"hidden",HIDE_OTHER_LAYERS:"hideOtherLayers",STACKING_CHANGED:"layer:stackingChanged",ACTIVATED:"activated",TIMELINE_ACTIVATED:"layer:timelineActivated",PAUSE_TIMELINE:"layer:pauseTimeline",PLAYING:"layer:playing",DIALOG_SHOWN:"layer:dialogShown",DIALOG_HIDDEN:"layer:dialogHidden"},layout:{CHANGED:"layout:changed"},loader:{MUTE:"loader:mute",UNMUTE:"loader:unmute",HIDE:"loader:hide",SHOW:"loader:show",SILENCE:"loader:silence",REMOVE_TITLE:"loader:removeTitle"},main:{PREPARE_AUDIO:"main:prepareAudio"},media:{CURRENT_TIME:"media:currentTime"},menuLinksListItem:{ITEM_SELECTED:"menuLinksListItem:itemSelected",TOGGLE:"menuLinksListItem:toggle"},messageWindow:{SHOWN:"messageWindow:shown"},mobile:{PRESENTATION_VISIBLE:"mobileChromeKiller:presentationVisible",ENTER_THUMB_VIEW:"mobileStartOverlay:enterThumbView",EXIT_THUMB_VIEW:"mobileStartOverlay:exitThumbView",MENU_OPEN:"uiMobile:menuOpen",OUTLINE_SHOWN:"panelsMobile:outlineShown",NOTES_SHOWN:"panelsMobile:notesShown"},navcontrols:{CHANGED:"navcontrols:changed"},navData:{UPDATE:"navData:update",REFRESH_VIEW:"navData:refreshView",SELECT_FIRST_SLIDE_LINK:"navData:selectFirstSlideLink"},player:{RESET:"player:reset",CLOSING:"player:closing",ERROR:"player:error",MENU_OPTIONS:"player:menuOptions",ENABLE_KEYBOARD_SHORTCUTS:"player:enableKeyboardShortcuts",INITIALIZED:"player:initialized",ACCESSIBLE_TEXT_CHANGED:"player:accessibleTextChanged",TOGGLE_PLAYBACK:"player:togglePlayback",SEEK:"player:seek",PLAYBACK_SPEED_CHANGED:"player:playbackSpeedChanged"},popup:{SHOW:"popup:show",HIDE:"popup:hide",TOGGLE:"popup:toggle",EMAIL:"popup:email"},presentation:{ENTER_FULLSCREEN:"presentation:enterFullscreen",EXIT_FULLSCREEN:"presentation:exitFullscreen",ON_OBJECT_EVENT:"presentation:onobjectevent"},preview:{NOTIFY:"preview:notify"},quiz:{INTERACTION_ANSWERED:"quiz:interactionAnswered",COMPLETED:"quiz:completed",RETRIED:"quiz:retried"},renderTree:{DESTROYED:"renderTree:destroyed"},request:{START:"start:requesting",NEXT_SLIDE:"nextSlide:requesting",PREV_SLIDE:"prevSlide:requesting",NEXT_DRAW_SLIDE:"nextDrawSlide:requesting",PREV_HISTORY_GROUP:"prevHistoryGroup:requesting"},resources:{LINK_CLICKED:"resources:linkClicked",UPDATE_DESCRIPTION:"resources:updateDescription",UPDATE:"resources:update",REFRESH_VIEW:"resources:refreshView"},resume:{SET_DATA:"resume:setdata",RESET:"resume:reset",APPLIED:"resume:applied",COMPLETE:"resume:complete",RESET_DATA:"resume:resetData"},scheme:{CHANGED:"scheme:changed"},search:{START:"search:start",CLEAR:"search:clear",BLUR:"search:blur",SHOW:"search:show",UPDATE_PANEL:"search:updatePanel"},sidebar:{ACTIVE_TAB_SET:"sidebar:activeTabSet",SHOW_SEARCH:"sidebar:showSearch",HIDE_SEARCH:"sidebar:hideSearch",RESIZING:"sidebar:resizing",FORCE_OPEN:"sidebar:forceOpen",OPEN:"sidebar:open",CLOSE:"sidebar:close"},playbackControls:{TIMELINE_CHANGED:"playbackControls:timelineChanged"},skipNav:{FOCUSED:"skipNav:focused"},slide:{WILL_CHANGE:"slide:willChange",CHANGE:"change:slides",READY:"slide:ready",STARTED:"slide:started",VIEWED:"slide:viewed",TRANSITION_STARTED:"slide:transitionStarted",ON_TRANSITION_IN:"slide:ontransitionin",CURRENT_TIMELINE:"slide:currentTimeline",PAUSE_TIMELINE:"slide:pauseTimeline",PLAY_TIMELINE:"slide:playTimeline",HAS_MOUNTED:"slide:hasMounted",HAS_CHANGED:"slide:hasChanged",ALL_TIMELINES_COMPLETE:"slide:allTimelinesComplete",ARIA_TOGGLE:"slide:ariaToggle",SLIDE_NUMBERS_UPDATED:"slide:slideNumbersUpdated",ZOOMED:"slide:zoomed",PREVENT_SWIPE:"slide:preventSwipe",ALLOW_SWIPE:"slide:allowSwipe"},slideWindow:{CLEAR_HISTORY:"slideWindow:clearHistory"},slideContainer:{POSITIONED:"slideContainer:positioned"},slideObject:{FOCUS:"slideobject:focus",TRANSFORM_DIRTY:"slideobject:transformdirty",TOGGLE_VISIBILITY:"slideobject:toggleVisibility",ON_TRANSITION_IN:"ontransitionin"},startOverlay:{READY:"startOverlay:ready"},status:{UPDATED:"status:updated"},strings:{UPDATE_STRINGS:"strings:updateStrings"},swipe:{CHANGED:"swipe:changed"},tab:{SHOW:"tab:show",HIDE:"tab:hide"},tabLink:{SHOW_PANEL:"tabLink:showPanel",PANEL_SHOWN:"tabLink:panelShown",HIDE_PANEL:"tabLink:hidePanel"},threeSixtyImage:{EDIT_MODE_CHANGED:"threeSixtyImage:editModeChanged",EDITOR_SETTINGS_CHANGED:"threeSixtyImage:editorSettingsChanged",SELECTED_MARKER_CHANGED:"threeSixtyImage:selectedMarkerChanged",MARKER_UPDATED:"threeSixtyImage:markerUpdated",UN_PUSH_LABEL:"threeSixtyImage:unPushLabel",PUSH_UP_BY_LABEL:"threeSixtyImage:pushUpByLabel",PUSH_DOWN_BY_LABEL:"threeSixtyImage:pushDownByLabel",APPLY_RESUME_DATA:"threeSixtyImage:applyResumeData",RESET_VIEW:"threeSixtyImage:resetView",UPDATE_RESUME_PROPS:"threeSixtyImage:updateResumeProps",READY:"threeSixtyImage:ready",RESIZED:"threeSixtyImage:resize",MEDIA_CLOSED:"threeSixtyImage:mediaClosed",MEDIA_TOGGLE_PLAY:"threeSixtyImage:mediaTogglePlay",MEDIA_RESTART:"threeSixtyImage:mediaRestart"},timeline:{PLAYING:"timeline:playing",PAUSED:"timeline:paused",BEFORE_RESET:"timeline:beforereset",RESET:"timeline:reset",TICK:"timeline:tick",ENDED:"timeline:ended",COMPLETE:"timeline:complete",BEFORE_SEEK_UPDATE:"timeline:beforeSeekUpdate",AFTER_SEEK_UPDATE:"timeline:afterSeekUpdate",SEEK_START:"timeline:seekStart",SEEK_END:"timeline:seekEnd",CHANGED:"timeline:changed",CURRENT_TIMELINE:"timeline:currentTimeline"},timer:{SHOW:"timer:show",HIDE:"timer:hide",SHOWN:"timer:shown",HIDDEN:"timer:hidden",COMPLETE:"timer:complete"},tincan:{STATEMENT:"tincan:statement"},topbar:{CLOSED_SIDEBAR:"topbar:closedSidebar",OPENED_SIDEBAR:"topbar:openedSidebar"},topEllipsesPanel:{HIDE:"topEllipsesPanel:hide",PANEL_SHOWN:"topEllipsesPanel:panelShown",HIDE_PANEL:"topEllipsesPanel:hidePanel"},topTabs:{OPEN_DROPDOWN:"topTabs:openDropDown",OPEN_PANEL:"topTabs:openPanel"},topTabsItem:{ACTIVATE:"topTabsItem:activate",HIDE:"topTabsItem:hide"},touchHelper:{TOUCH_START:"touchHelper:touchStart"},transcript:{CHANGED:"transcript:changed"},tween:{UPDATE:"tween:update"},variable:{CHANGED:"variable:changed",REFRESH_VIEW:"variable:refreshView"},video:{STATE_CHANGED:"video:stateChanged",PIP_MODE_CHANGED:"video:pipModeChanged"},elso:{TOGGLE_EXPANDED:"elso:toggleExpanded",SHOW_CONTENT_START:"elso:showContentStart",HIDE_CONTENT_COMPLETE:"elso:hideContentCompelete"},volume:{CHANGED:"volume:changed",CHANGE_CURRENT:"change:currentVolume"},window:{CLOSING:"window:closing",CLOSED:"window:closed",CREATED:"window:created",OPEN_EXTERNAL:"externalWindow:open",MAIN_CREATED:"mainWindow:created",MAIN_CHANGED:"mainWindow:slideChanged",SCALE:"window:scale",AFTER_SCALE:"window:afterScale",STACKING_CHANGED:"window:stackingChanged",ZOOM_MODE_CHANGED:"window:zoomModeChanged"},windowManager:{CREATED:"windowManager:created",TOP_MOST_CHANGED:"windowManager:topMostChanged"}};return Object.freeze(e),Object.freeze(e.actionlink),Object.freeze(e.animation),Object.freeze(e.app),Object.freeze(e.audioClip),Object.freeze(e.captions),Object.freeze(e.controlLayout),Object.freeze(e.course),Object.freeze(e.customlink),Object.freeze(e.data),Object.freeze(e.debug),Object.freeze(e.detection),Object.freeze(e.draw),Object.freeze(e.error),Object.freeze(e.hamburger),Object.freeze(e.interaction),Object.freeze(e.keyManager),Object.freeze(e.layer),Object.freeze(e.layout),Object.freeze(e.loader),Object.freeze(e.media),Object.freeze(e.menuLinksListItem),Object.freeze(e.mobile),Object.freeze(e.navcontrols),Object.freeze(e.player),Object.freeze(e.popup),Object.freeze(e.presentation),Object.freeze(e.preview),Object.freeze(e.quiz),Object.freeze(e.request),Object.freeze(e.resources),Object.freeze(e.resume),Object.freeze(e.scheme),Object.freeze(e.search),Object.freeze(e.sidebar),Object.freeze(e.slide),Object.freeze(e.slideContainer),Object.freeze(e.status),Object.freeze(e.swipe),Object.freeze(e.timeline),Object.freeze(e.timer),Object.freeze(e.topbar),Object.freeze(e.topTabsItem),Object.freeze(e.tween),Object.freeze(e.variable),Object.freeze(e.volume),Object.freeze(e.window),Object.freeze(e.windowManager),e}.call(e,n,e,t))||(t.exports=i)},5812:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(5485),r=n(3586),o=e.partialRight(e.omit,"mixins"),s=i.Model.extend,a=function(t,n){var i;return t=t||{},e.isArray(t)||(t=[t]),t=t.filter(e.isPlainObject),(i=e.extend.apply(e,t.map(o))).mixins=e(t).map("mixins").unshift(this.prototype.mixins).flatten().filter(e.isPlainObject).uniq().value(),r.mix(i),s.call(this,i,n)};return"Model Collection View Router History".split(" ").forEach((function(t){i[t].extend=a})),a}.call(e,n,e,t))||(t.exports=i)},5613:function(t,e,n){"use strict";var i;void 0===(i=function(t){function e(t){if(t)return function(t){for(var n in e.prototype)t[n]=e.prototype[n];return t}(t)}return e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this},e.prototype.once=function(t,e){var n=this;function i(){n.off(t,i),e.apply(this,arguments)}return this._callbacks=this._callbacks||{},i.fn=e,this.on(t,i),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks[t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[t],this;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2];null==this.registration||null!=t.context&&null!=t.context.registration||(t.context=t.context||{},t.context.registration=this.registration);var r=Object.assign({},t,{actor:this.actor}),a=i||Math.random()+"-lms";DS.connection.requiredAsset(a),this.lrs.saveStatement(new u.Statement(r),{callback:function(i,l){null!=i?DS.connection.useConnectionMessages&&0===i?(DS.connection.assetFailed(a),setTimeout((function(){e.sendStatement(t,n+1,a)}),DS.connection.retryDelay),DS.debugWindow.enabled()&&o.trigger(s.debug.lrs.STATEMENT_RESPONSE,r.id,i,l)):n',""].join(""),b="",w=window.location.origin,A=r.first(window.location.toString().split("#")),S="http://articulate.com",E=function(t){var e=r.tail(arguments);return[t].concat(e).join("/")},T="",x={GetResumeInfo:"sendResumeReady",GetSessionId:"onSessionId",RefreshSession:"dontDoAnything",SaveResume:"dontDoAnything",SavePlayerData:"dontDoAnything"},C={queue:[],priorityQueue:[],resumer:null,scoring:null,htmlUpdate:"",lastData:"",unloaded:!1,awaitingResponse:!1,initialize:function(t,e){if(window.globals.aoSupport)return this.activityId=t,this.scoring=e||{},this.sessionId=Date.now().toString(),h("pagehide",this.onBeforeUnload.bind(this)),this},setTotalSlides:function(t){this.totalSlides=t},setResumer:function(t){this.resumer=t,this.queueRequest(m)},interactionAnswered:function(t,e){this.updateResults(),this.sendResultsData()},quizComplete:function(t){this.updateResults(),this.sendResultsData()},courseComplete:function(t){this.updateResults(),this.sendResultsData()},manualCourseComplete:function(t,e){this.updateCompleteOnly(),this.sendResultsData()},courseStarted:r.noop,reportStatus:r.noop,viewedComplete:r.noop,slideViewed:function(t){var e=[c.writeNode("viewdata",{total:this.totalSlides,viewed:this.resumer.getUniqueViewedSlides().length,viewedcomplete:this.resumer.getUniqueTotalSlides().length})];this.getViewedEls(this.resumer.viewedSlides).forEach((function(t){e.push(t)})),e.push(c.writeCloseNode("viewdata")),this.updateViewData(e.join("")),null!=this.scoring&&this.scoring.isView()&&(this.setViewedResults(),this.sendResultsData())},getViewedEls:function(t){return t.reduce((function(t,e){return t.push(c.writeNode("slide",{id:a.stripPlayer(e.absoluteId),viewgroupid:e.getViewGroupId()},!0)),t}),[])},setViewedResults:function(){var t=[c.writeNode("results"),c.writeNode("summary",{slidesviewed:this.resumer.totalViewedSlides.length,slidestotal:this.totalSlides,duration:this.resumer.getCourseTime(),status:this.scoring.getViewedStatus()},!0),c.writeCloseNode("results")].join("");this.updateResultsData(t)},updateResults:function(){if(null!=this.scoring&&!this.scoring.isView()){var t=[c.writeNode("results"),c.writeNode("summary",this.getSummaryAttributes(),!0),c.writeNode("quizzes")];return null!=this.scoring.quiz&&t.push(this.scoring.quiz.getAoSoapXml()),t.push(c.writeCloseNode("quizzes"),c.writeCloseNode("results")),this.updateResultsData(t.join("")),this}},updateCompleteOnly:function(){return this.updateResultsData([c.writeNode("results"),c.writeNode("summary",{status:this.scoring.prop("Status")},!0),c.writeCloseNode("results")].join("")),this},getSummaryAttributes:function(t){return t={},null==this.scoring||this.scoring.isView()||(this.scoring.isType("quiz")&&(t.score=this.scoring.prop("PercentScore"),t.possibleScore=100),t.duration=this.resumer.getCourseTime(),t.status=this.scoring.prop("Status")),t},onSessionId:function(t){this.sessionId=t.querySelector("GetSessionIdResponse").textContent,this.createRefreshInterval()},killRefreshInterval:function(){this.onIntervalCompleteCall.kill(),this.onIntervalCompleteCall=null},createRefreshInterval:function(){this.onIntervalCompleteCall=l.delayedCall(60,this.onIntervalComplete,void 0,this)},onIntervalComplete:function(){this.queueRequest(g).createRefreshInterval()},dontDoAnything:r.noop,getItem:function(){return this.resumeDfd=u.Deferred(),this.queueRequest(v),this.resumeDfd.promise()},setItem:function(t,e){e!==this.lastData&&(this.lastData=e,this.updateResumeData(e))},sendResumeReady:function(t){var e=t.querySelector("GetResumeInfoResponse");this.resumeDfd.resolve(e.textContent)},getWrapperDiv:function(){return document.createElement("div")},updateResumeData:function(t){var n;e=["",c.xmlEncodeValue(t),""].join(""),n=['',e,""].join(""),this.killRefreshInterval(),this.queueRequest(f,n),this.createRefreshInterval(),this.prepareHtmlUpdate()},updateViewData:function(t){i=t,this.prepareHtmlUpdate()},updateResultsData:function(t){T=t,this.prepareHtmlUpdate()},getPlayerData:function(){return['',e,i,T,""].join("")},sendResultsData:function(){var t=this.getPlayerData();d++,this.queueRequest(p,t,!0),this.scoring.markAttemptsSent()},prepareHtmlUpdate:function(){this.htmlUpdate=this.getPlayerData()},hasResultsData:function(){return/<(viewdata|results)/.test(this.htmlUpdate)},onBeforeUnload:function(t){this.htmlUpdate.length&&null==this.hasEnded&&(this.hasEnded=!0,this[s.browser.isIE?"sendSyncRequest":"sendRequest"]({command:this.hasResultsData()?p:f,xmlData:this.htmlUpdate}))},queueRequest:function(t,e,n){var i=n?this.priorityQueue:this.queue,r={command:t,xmlData:e};return 0===this.queue.length&&0===this.priorityQueue.length&&!1===this.awaitingResponse?this.sendRequest(r):i.unshift(r),this},requestCallback:function(t,e,n){var i;this.awaitingResponse=!1,e||(i=(new window.DOMParser).parseFromString(n.text,"application/xml")),this[t](i),this.popQueue()},popQueue:function(){var t=this.priorityQueue.pop()||this.queue.pop();null!=t&&this.sendRequest(t)},sendRequest:function(t,e){s.browser.isIE&&this.hasEnded&&this.sendSyncRequest(t);var n=this.createBaseUrl("services/content/api.asmx"),i=this.createActionUrl("KnowledgeFlash/Services/Content/Api",t.command),r=this.createSoapRequest(t),a=x[t.command];this.awaitingResponse=!0,o.post(n).set("Content-Type","text/xml").set("soapaction",i).send(r).end(this.requestCallback.bind(this,a))},createActionUrl:r.partial(E,S),createBaseUrl:r.partial(E,w),createSoapRequest:function(t){return[y,"'.replace("serverUrl",S),"",window.escape(A),"",null!=t.xmlData?t.xmlData:"","".replace("command",t.command),b].join("")},sendSyncRequest:function(t){var e=this.createBaseUrl("services/content/api.asmx"),n=this.createActionUrl("KnowledgeFlash/Services/Content/Api",t.command),i=this.createSoapRequest(t),r=new window.XMLHttpRequest;r.open("POST",e,!1),r.setRequestHeader("SOAPAction",n),r.send(i)}};return window.handleBeforeUnload=C.onBeforeUnload.bind(C),C}.call(e,n,e,t))||(t.exports=i)},5053:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(9842),r=n(6295),o=n(4811),s=n(82),a=n(7510).addWindowListener,l=n(1419),u=n(6776),c=(window.TinCan||n(5932)).Utils.convertMillisecondsToISO8601Duration,h=void 0,d=void 0,p={complete:function(t){if(l.hasFlag(l.constants.MULTIPLE_QUIZ_TRACKING)){if(d)return;d=!0}t.api.SetReachedEnd()},incomplete:function(t){t.api.ResetStatus()},fail:function(t){if(l.hasFlag(l.constants.MULTIPLE_QUIZ_TRACKING)){if(d)return;d=!0}t.isCmi5&&t.api.SetReachedEnd(),t.api.SetFailed()},pass:function(t){if(l.hasFlag(l.constants.MULTIPLE_QUIZ_TRACKING)){if(d)return;d=!0}t.isCmi5&&t.api.SetReachedEnd(),t.api.SetPassed()}},f={queue:[],resumer:null,scorings:[],api:null,lessonCompleted:!1,setTotalSlides:e.noop,quizComplete:e.noop,courseStarted:function(t){if(this.isCmi5){var e=this.api.cmi5.prepareStatement(u.verbs.VERB_ATTEMPTED),n=this.scorings.first();this.setCmi5StatementDefinitionParams(e,u.objects.OBJECT_COURSE,n.get("lmstext"),n.get("description")),t||(e.result=new this.api.TinCan.Result({completion:!1})),this.sendCmi5Statement(e)}},slideViewed:function(t){if(this.isCmi5){var e=this.api.cmi5.prepareStatement(u.verbs.VERB_EXPERIENCED),n=t.get("title");this.setCmi5StatementDefinitionParams(e,u.objects.OBJECT_MODULE,n,n),this.sendCmi5Statement(e)}},slideLeft:function(t){if(this.isCmi5){var e=this.api.cmi5.prepareStatement(u.verbs.VERB_LEFT),n=t.get("title");this.setCmi5StatementDefinitionParams(e,u.objects.OBJECT_MODULE,n,n),e.verb.display={"en-US":"left"},e.result=new this.api.TinCan.Result({duration:c(t.elapsedTime)}),this.sendCmi5Statement(e)}},setCmi5StatementDefinitionParams:function(t,e,n,i){t.target.definition=new this.api.TinCan.ActivityDefinition({type:e,name:{},description:{}}),t.target.definition.name[u.lang]=n,t.target.definition.description[u.lang]=i},sendCmi5Statement:function(t,e){var n=this;if(DS.connection.useConnectionMessages){var i=e||Math.random()+"-lms";DS.connection.requiredAsset(i),this.api.cmi5.sendStatement(t,(function(){for(var e=arguments.length,r=Array(e),o=0;o0&&r.delayedCall(s.toSeconds(t),this.onCommitDelayComplete,void 0,this)},onCommitDelayComplete:function(){this.commit().initCommitTimeout()},sendData:function(){return this.sendDataCall&&this.sendDataCall.kill(),this.sendDataCall=null,null!=this.resumeData&&this.api.SetDataChunk(this.resumeData),this},interactionAnswered:function(t,e){this.scorings.length>0&&(0,i[e.type()])(t,e,this.resumer.getCourseTime())},reportStatus:function(t){return this.updateScore(t),this.updateStatus(),this},updateStatus:function(){var t=this.scorings.getStatus(),n=p[t]||e.noop;return this.lastStatus&&this.lastStatus===t||(this.lastStatus=t,n(this)),this},updateScore:function(t){if((!l.hasFlag(l.constants.MULTIPLE_QUIZ_TRACKING)||!d)&&(null==t&&(t=this.scorings.guessCurrentScoring()),null!=t&&t.isType("quiz"))){var e=t.prop("PercentScore");this.lastScore!==e&&(h=t,this.lastScore=e,this.api.SetScore(e,100,0))}},viewedComplete:function(){return p[this.scorings.getStatus()](this),this.resumer.savePresentationData(),this.commit(),this},forceCommit:function(){return this.resumer.savePresentationData(),this.sendData().commit(),this},lmsUnload:function(t){null==this.unloaded&&(this.unloaded=!0,this.reportStatus(null),null!=this.sendDataCall&&this.forceCommit(),this.api.ConcedeControl(!0===t),this.api.Unload())},commit:function(){return this.api.CommitData(),this},courseComplete:function(t){return this.reportStatus(t).forceCommit(),this},quizRetried:function(t){l.hasFlag(l.constants.MULTIPLE_QUIZ_TRACKING)&&h===t&&(d=!1)},manualCourseComplete:function(t,e){f.courseComplete(e)}};return f}.call(e,n,e,t))||(t.exports=i)},9842:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=(n(7812),function(t){return null==t&&(t=""),window.CreateResponseIdentifier(t.substr(0,1),t)}),r=function(t,e){return t.push(i(e)),t},o=function(t,e,n){var i=e.statement.lmstext||e.statement,r=e.choice.lmstext||e.choice,o=window.CreateResponseIdentifier(n.toString(),i),s=window.CreateResponseIdentifier(i.charAt(0),r);return t.push(new window.MatchingResponse(o,s)),t},s=function(t){return null==t.choice&&""===t?t="_":""===t.choice&&(t.choice="_"),t},a={C:window.INTERACTION_RESULT_CORRECT,I:window.INTERACTION_RESULT_WRONG,W:window.INTERACTION_RESULT_WRONG,U:window.INTERACTION_RESULT_UNANTICIPATED,N:window.INTERACTION_RESULT_NEUTRAL},l=function(t){var n=e.first(t).toUpperCase();return a[n]||t},u=function(t){return null!=t&&"true"===t.lmstext.toLowerCase()},c=function(t,e){var n,i=e,r=[e.prop("AttemptCount")-1,t.getAttempts()];do{(n=i.get("lmsId"))&&r.push(n)}while(i=i.parent);return r.reverse().join("_")},h={truefalse:function(t,n,i){window.RecordTrueFalseInteraction(c(t,n),u(e.first(n.getResponseValues())),l(n.prop("Status")),u(e.first(n.getCorrectValues())),n.get("lmstext"),t.prop("Weight"),i,t.get("lmstext"))},multiEtc:function(t,n,o,a){var u,h,d,p;o.isType("sequence")?(h=function(t,e,n){return t.push(i(e.statement.lmstext),i(e.choice.lmstext)),t},d=o.getResponseValues().reduce(h,[]),p=s(o.getCorrectValues()).reduce(h,[])):(u=function(t){return e.isString(t)?t:null!=t.choice?t.choice.lmstext:t.lmstext},d=o.getResponseValues().map(u).reduce(r,[]),p=s(o.getCorrectValues().map(u)).reduce(r,[])),window[t](c(n,o),d,l(o.prop("Status")),p,o.get("lmstext"),n.prop("Weight"),a,n.get("lmstext"))},numeric:function(t,e,n,i){window.RecordFillInInteraction(c(t,e),e.getResponseValues(),l(e.prop("Status")),i||e.getCorrectValues(),e.get("lmstext"),t.prop("Weight"),n,t.get("lmstext"))},fillin:function(t,e,n){var i=e.getCorrectValues().map((function(t){return t.lmstext})).join("|#|");h.numeric(t,e,n,i)},matching:function(t,e,n){var i=e.getResponseValues().reduce(o,[]),r=e.getCorrectValues();r=s(r).reduce(o,[]),window.RecordMatchingInteraction(c(t,e),i,l(e.prop("Status")),r,e.get("lmstext"),t.prop("Weight"),n,t.get("lmstext"))},likert:function(t,n,i){var r=e.flatten(n.getResponseValues().map((function(t){return[t.statement.lmstext,t.choice.lmstext]}))).join("|#|");window.RecordLikertInteraction(c(t,n),window.CreateResponseIdentifier(r.substr(0,1),r),l(n.prop("Status")),"",n.get("lmstext"),t.prop("Weight"),i,t.get("lmstext"))}};return h.wordbank=h.hotspot=h.multiplechoice=h.multipleresponse=e.partial(h.multiEtc,"RecordMultipleChoiceInteraction"),h.sequence=e.partial(h.multiEtc,"RecordSequencingInteraction"),h.essay=h.numeric,h}.call(e,n,e,t))||(t.exports=i)},8945:function(t,e,n){"use strict";var i;function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0},addListeners:function(){var t={};t[o.interaction.EVALUATED]=this.onInteractionEvaluated.bind(this),t[o.quiz.COMPLETED]=this.quizComplete,t[o.course.COMPLETED]=this.courseComplete,t[o.course.MANUALLY_COMPLETED]=this.manualCourseComplete,t[o.course.VIEWED]=this.viewedComplete,t[o.status.UPDATED]=this.reportStatus,t[o.quiz.RETRIED]=this.quizRetried,t[o.course.SEND_XAPI_STATEMENT]=this.sendXApiStatement.bind(this),s.on(t)},onInteractionEvaluated:function(t,e){var n=this.getScorings();(t.hasScoring()||n.length>0&&n.hasQuiz(t))&&this.learningInterfaces.forEach((function(n){return n.interactionAnswered(t,e)}))},sendXApiStatement:function(t){null!=t.result&&null!=t.result.duration&&(t.result.duration=d.formatTime(t.result.duration)),this.callInterfaceMethod("sendXApiStatement",t)},callInterfaceMethod:function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o=200&&e.status<300||0===e.status)return i.callback(t,e);var n=new Error(e.statusText||"Unsuccessful HTTP response");n.original=t,n.response=e,n.status=e.status,i.callback(t||n,e)}))}function d(t,e){return"function"==typeof e?new h("GET",t).end(e):1==arguments.length?new h("GET",t):new h(t,e)}return d.serializeObject=l,d.parseString=u,d.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},d.serialize={"application/x-www-form-urlencoded":l,"application/json":JSON.stringify},d.parse={"application/x-www-form-urlencoded":u,"application/json":JSON.parse},c.prototype.get=function(t){return this.header[t.toLowerCase()]},c.prototype.setHeaderProperties=function(t){var e=this.header["content-type"]||"";this.type=e.split(/ *; */).shift();var n=function(t){return function(t,e,n){for(var i=0,r=t.length,o=3==arguments.length?n:t[i++];i0&&(t.percent=t.loaded/t.total*100),e.emit("progress",t)};this.hasListeners("progress")&&(n.onprogress=l);try{n.upload&&this.hasListeners("progress")&&(n.upload.onprogress=l)}catch(t){}if(s&&!this._timer&&(this._timer=setTimeout((function(){e.timedout=!0,e.abort()}),s)),i&&(i=d.serializeObject(i),this.url+=~this.url.indexOf("?")?"&"+i:"?"+i),n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof a&&!o(a)){var u=d.serialize[this.getHeader("Content-Type")];u&&(a=u(a))}for(var c in this.header)null!=this.header[c]&&n.setRequestHeader(c,this.header[c]);return this.emit("request",this),n.send(a),this},d.Request=h,d.get=function(t,e,n){var i=d("GET",t);return"function"==typeof e&&(n=e,e=null),e&&i.query(e),n&&i.end(n),i},d.head=function(t,e,n){var i=d("HEAD",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},d.del=function(t,e){var n=d("DELETE",t);return e&&n.end(e),n},d.patch=function(t,e,n){var i=d("PATCH",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},d.post=function(t,e,n){var i=d("POST",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},d.put=function(t,e,n){var i=d("PUT",t);return"function"==typeof e&&(n=e,e=null),e&&i.send(e),n&&i.end(n),i},d}.call(e,n,e,t))||(t.exports=i)},4170:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(4811),r=n(82),o=n(8880),s=n(9032),a=window.TinCan||n(5932),l=n(7812),u=n(1419),c=n(5964),h=n(9343),d="resume",p=void 0,f=/file/.test(window.location.protocol),v=void 0,g=void 0;return{queue:[],tinCan:null,resumer:null,scoring:null,scorings:null,version:0,retryCount:0,setTotalSlides:e.noop,reportStatus:e.noop,initialize:function(t,n,i,l,u){if(window.globals.tinCanPresent||u){if(this.activityId=t,this.setPreso(l),this.urlParams=r.queryStringToObj(),this.version=n,this.scoring=i.first(),this.tinCan=f||u?new a:new a({url:window.location.toString().replace("&tincan=true","")}),this.pending={},h.enabled()){var c=e.first(this.tinCan.recordStores)||{},d=null!=this.tinCan.actor&&null!=this.tinCan.actor.asVersion?this.tinCan.actor.asVersion(this.version):"";s.trigger(o.debug.lms.INITIALIZED,{activityId:r.getPath(this,"tinCan.activity.id"),endpoint:c.endpoint,auth:c.auth,actor:d,registration:this.tinCan.registration})}return this.sendData=u?this.sendStatementLocal:this.sendStatement,this}},setPreso:function(t){p=t},setResumer:function(t){this.resumer=t},createConfig:function(t){return null==this.urlParams.activity_id&&(t.activity={id:p.get("xapi").activityId}),t},getItem:function(){this.resumeDfd=i.Deferred();var t=this.createConfig({callback:this.sendResumeReady.bind(this),overwriteJSON:!0});return this.tinCan.getState(d,t),f&&this.resumeDfd.resolve(""),this.resumeDfd.promise()},setItem:function(t,n){var i=this.createConfig({callback:e.noop});this.tinCan.setState(d,n,i)},sendResumeReady:function(t,e){null==t&&this.resumeDfd.resolve(e&&e.contents)},courseStarted:function(t){this.queueStatement(c.getCourseAttemptedStmt(this.scoring,t))},quizComplete:function(t){g||(v=t.scoring,this.queueStatement(c.getQuizCompleteStmt(t)))},courseComplete:function(t,e){e||g||(g=!0,this.queueStatement(c.getCourseCompleteStmt(t,this.resumer.getCourseTime())))},manualCourseComplete:function(t,e){this.courseComplete(e,!1)},quizRetried:function(t){u.hasFlag(u.constants.MULTIPLE_QUIZ_TRACKING)&&v===t&&(g=!1)},viewedComplete:function(t){g||(g=!0,this.queueStatement(c.getViewedCompleteStmt(t,this.resumer.getCourseTime())))},slideViewed:function(t){this.queueStatement(c.getSlideViewedStmt(t))},slideLeft:function(t){this.queueStatement(c.getSlideLeftStmt(t))},interactionAnswered:function(t,e){e.hasResponses()&&(e.isType("likert")?this.logLikert(t,e):this.logQuestion(t,e))},logLikert:function(t,e){var n=this;c.getLikertStmts(t,e).forEach((function(t){n.queueStatement(t)}))},logQuestion:function(t,e){this.queueStatement(c.getQuestionStmt(t,e))},sendXApiStatement:function(t){this.queueStatement(c.formatCustomStatement(t))},queueStatement:function(t){0===this.queue.length?this.sendData(t):this.queue.unshift(t)},sendStatementCallback:function(t,e){var n=this;if(DS.connection.requiredAsset(e.id),DS.connection.useConnectionMessages&&0===t[0].err)DS.connection.assetFailed(e.id),setTimeout((function(){return n.sendStatement(e)}),DS.connection.retryDelay);else if(!DS.connection.useConnectionMessages&&0===t[0].err&&this.retryCount0&&this.sendData(this.queue.pop())},sendStatement:function(t){if(DS.connection.requiredAsset(t.id),this.tinCan.sendStatement(t,this.sendStatementCallback.bind(this)),!this.pending[t.id]&&(this.pending[t.id]=!0,h.enabled())){var e=this.tinCan.prepareStatement(t).asVersion(this.version);s.trigger(o.debug.lms.STATEMENT_SENT,e)}},sendStatementLocal:function(t){s.trigger(o.tincan.STATEMENT,t),this.popQueue()}}}.call(e,n,e,t))||(t.exports=i)},5964:function(t,e,n){"use strict";var i;function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e2&&void 0!==arguments[2]?arguments[2]:0;if(!f)if(null!=t){var o=[];o=null==n?t.getClientRects():Array.isArray(n)?[].concat(r(n)):[n],o=_.map(o,(function(n){var r={left:n.left,top:n.top,width:n.width,height:n.height,bottom:n.bottom,right:n.right};if(e.hasClass(t,"acc-shadow-el")&&!t.hasAttribute("data-top-level")){var o=DS.views.getTopNameSpace().slide.el.getBoundingClientRect();r.left=Math.max(r.left,o.left),r.top=Math.max(r.top,o.top),r.right=Math.min(r.right,o.right),r.bottom=Math.min(r.bottom,o.bottom),r.width=r.right-r.left,r.height=r.bottom-r.top}else r.bottom=r.right="";for(var s in r.left-=i,r.top-=i,r.width+=2*i,r.height+=2*i,r)r[s]+="px";return r})),h.innerHTML="",_.forEach(o,(function(t){var n=document.createElement("div");n.className="tab-focus-box",h.appendChild(n),e.setStyles(n,t)})),p=t}else console.warn('cannot set focus rect on "null"')},takeFocusOff:function(t){null!=t&&t!==p||(h.innerHTML="")},onFullScreenChange:function(){var t=l.getEl();null==t?document.body.appendChild(h):window.requestAnimationFrame((function(){var e=t.querySelector(".focus-container");null!=e&&e.appendChild(h)}))},reCenter:function(){document.body.focus(),this.takeFocusOff()},onSlideStarted:function(t,n){var i=this;if(!f&&null!=n.currView&&document.hasFocus()){var r=e.closest(n.currView.el,(function(t){return"label"===t.firstElementChild.getAttribute("data-ref")}));null==r||r.contains(document.activeElement)||(d.focus({preventScroll:!0}),window.setTimeout((function(){return r.focus({preventScroll:!0})}),100));var o=a(n,"lastFocusedItem.accShadowView");null!=o?(n.lastFocusedItem=null,o.takeFocus()):null!=r&&window.setTimeout((function(){return i.setFocusRectOn(r)}),16)}},lastFocusedElement:function(){return p}};return v.initialize(),v}.call(e,n,e,t))||(t.exports=i)},3034:function(t,e,n){"use strict";var i;function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e4&&void 0!==arguments[4]?arguments[4]:"on",u=t===window&&("resize"===e||"orientationchange"===e);i=!!i&&!u;var c=o.get(t),h=a[c]=a[c]||{},d=h[e]=h[e]||{},p=d[i]=d[i]||{callbacks:{before:new Set,on:new Set,after:new Set},listener:null,customEvent:u};return s.reduce((function(t,e){return p.callbacks[e].has(n)||t}),!1)||(p.callbacks[l].add(n),null===p.listener&&(p.listener=function(t){return s.forEach((function(e){return[].concat(r(p.callbacks[e])).forEach((function(e){return e(t)}))}))},u||t.addEventListener(e,p.listener,i))),function(){return v(t,e,n,i)}},v=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=o.get(t),a=p(r,e,i);null!=a&&(s.forEach((function(t){return a.callbacks[t].delete(n)})),a.customEvent||0!==s.reduce((function(t,e){return a.callbacks[e].size+t}),0)||t.removeEventListener(e,n,i))},g=function(t,e,n){var i=p(t,e,!1);null!=i&&i.listener(n)},m=function(t){var e=window.innerWidth>window.innerHeight;h!==e&&(h=e,g("window","orientationchange",t))},y=function(t){u===window.innerWidth&&c===window.innerHeight||(u=window.innerWidth,c=window.innerHeight,g("window","resize",t))},b=function t(e){u!==window.innerWidth||c!==window.innerHeight?(d=null,w()):e-d<1e3?window.requestAnimationFrame(t):d=null},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(t),y(t),null==d&&(d=window.performance.now(),window.requestAnimationFrame(b))};return window.addEventListener("orientationchange",w),window.addEventListener("resize",w),e.on(i.window.ZOOM_MODE_CHANGED,(function(){g("window","resize",null)})),{addBodyListener:function(t,e,n,i){return f(document.body,t,e,n,i)},removeBodyListener:function(t,e,n){return v(document.body,t,e,n)},addDocumentListener:function(t,e,n,i){return f(document,t,e,n,i)},removeDocumentListener:function(t,e,n){return v(document,t,e,n)},addWindowListener:function(t,e,n,i){return f(window,t,e,n,i)},removeWindowListener:function(t,e,n){return v(window,t,e,n)}}}.call(e,n,e,t))||(t.exports=i)},3716:function(t,e,n){"use strict";var i;function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e=48&&e<=90?a.push(s):(a.push("["),null!=h[e]?a.push(h[e]):a.push("#"+e),a.push("]")),a.join("")},p={isShowFocus:!1,lastKeyPressTargets:[],initialize:function(){var t=this;o("mousedown",(function(e){t.isShowFocus=!1,t.isAccClick(e)||document.body.classList.remove("show-focus")}),!0),o("keyup",(function(e){t.isTabKey(e.which)&&!t.isShowFocus&&e.target&&null==e.target.getAttribute("data-prevent-focus")&&(t.isShowFocus=!0,document.body.classList.add("show-focus")),t.clearLastKey()}),!0)},isAccClick:function(t){return 0===t.offsetX&&0===t.offsetY&&0===t.detail||((0===t.mozInputSource||6===t.mozInputSource)&&0===t.buttons||null!=l(t.target,(function(t){return a(t,"acc-shadow-el")})))},isKey:function(t,e){return t===e},keyPressHandlerExists:function(t){var e=u.getCurrentWindowSlide();if(null==e)return!1;var n=e.slideLayers().getTopMostLayer()||e.getBaseLayer(),i=e.slideLayers().activeLayers.slice(0);return this.handlerExists(n,t,i)},getLayerStack:function(t){var n=u.getCurrentWindowSlide(),i=null!=n?n.slideLayers().activeLayers.slice(0):[],r=e.findIndex(i,t);return r>0&&(i.length=r),i},getParentFromLayerstack:function(t,n){var i=null;if(n=n||this.getLayerStack(t),t.isSlideObject){if(null==(i=t.getClosestAncestor((function(t){return t.isSlideObject})))){var r=t.getLayer();r.isBaseLayer()?n=[]:n.length=e.findIndex(n,r)+1}}else if(null==t.modal||!t.modal()){do{i=n.pop()}while(null!=i&&!i.isOpen);null==i&&(i=t.getClosestAncestor((function(t){return t.isSlide})))}return{parent:i,layerStack:n}},handlerExists:function(t,e,n){if(null!=t.getFilteredPlayerEvent((function(t){return t.keycode===e.keyCode&&t.shift===e.shiftKey&&t.ctrl===e.ctrlKey&&t.alt===e.altKey}),"onkeypress").events.first())return!0;var i=this.getParentFromLayerstack(t,n),r=i.parent,o=i.layerStack;return null!=r&&this.handlerExists(r,e,o)},executeKeypressEvent:function(t,n,r){this.lastKeyPressTargets.push(t),e.includes([i.keys.CONTROL,i.keys.SHIFT,i.keys.ALT],n.keyCode)||(t.prop(function(t){var e=t.keyCode,n=t.altKey,i=t.shiftKey,r=t.ctrlKey,o=String.fromCharCode(e);return{LastKeyCodeString:d(t),LastKeyCode:e,LastKeyValue:o,LastKeyCtrl:r,LastKeyShift:i,LastKeyAlt:n}}(n)),t.executePlayerEvent("onanykeypress"));var o=this.getParentFromLayerstack(t,r),s=o.parent,a=o.layerStack;t.executeFilteredPlayerEvent((function(t){return t.keycode===n.keyCode&&t.shift===n.shiftKey&&t.ctrl===n.ctrlKey&&t.alt===n.altKey}),"onkeypress"),null!=s&&this.executeKeypressEvent(s,n,a)},clearLastKey:function(){this.lastKeyPressTargets.forEach((function(t){t.resetSpecifiedProps(c)})),this.lastKeyPressTargets=[]},isReturnKey:function(t){return p.isKey(t,i.keys.ENTER)},isSpaceKey:function(t){return p.isKey(t,i.keys.SPACE)},isActionKey:function(t){return p.isReturnKey(t)||p.isSpaceKey(t)},isRightKey:function(t){return p.isKey(t,i.keys.RIGHT)},isDownKey:function(t){return p.isKey(t,i.keys.DOWN)},isPageDownKey:function(t){return p.isKey(t,i.keys.PAGE_DOWN)},isDownishKey:function(t){return p.isLeftKey(t)||p.isDownKey(t)},isRtlDownishKey:function(t){return p.isRightKey(t)||p.isDownKey(t)},isLeftKey:function(t){return p.isKey(t,i.keys.LEFT)},isUpKey:function(t){return p.isKey(t,i.keys.UP)},isPageUpKey:function(t){return p.isKey(t,i.keys.PAGE_UP)},isUpishKey:function(t){return p.isRightKey(t)||p.isUpKey(t)},isRtlUpishKey:function(t){return p.isLeftKey(t)||p.isUpKey(t)},isHomeKey:function(t){return p.isKey(t,i.keys.HOME)},isEndKey:function(t){return p.isKey(t,i.keys.END)},isTabKey:function(t){return p.isKey(t,i.keys.TAB)},isBackspaceKey:function(t){return p.isKey(t,i.keys.BACKSPACE)},isDeleteKey:function(t){return p.isKey(t,i.keys.DELETE)},isSeekKey:function(t){return p.isUpishKey(t)||p.isDownishKey(t)||p.isHomeKey(t)||p.isEndKey(t)||p.isPageUpKey(t)||p.isPageDownKey(t)},isNonInputKey:function(t){return p.isUpishKey(t)||p.isDownishKey(t)||p.isHomeKey(t)||p.isEndKey(t)||p.isPageUpKey(t)||p.isBackspaceKey(t)||p.isDeleteKey(t)||p.isPageDownKey(t)}};return p}.call(e,n,e,t))||(t.exports=i)},3586:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=function(t,e){var n,i,o=r[t],s=e.mixins.slice(0);for(i=s.length;i--;)null!=(n=s[i])[t]&&n[t].call(e),null!=n[o]&&n[o].call(e);return this},r={init:"componentWillMount"},o=["preInit","init","postInit"],s=e.partialRight(e.omit,o),a={mixInto:function(t,n){return e.defaults.apply(e,e(n).map(s).unshift(t).value()),t},mix:function(t){return this.mixInto(t,t.mixins),t}};return o.forEach((function(t){a[t+"MixinsOf"]=e.partial(i,t)})),a}.call(e,n,e,t))||(t.exports=i)},262:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=function(t,n){return e.includes(e.values(n.associations),t)},r={isAncestral:!0,createParentReference:function(t){return t&&t.parent&&(this.parent=t.parent),this},getClosestAncestor:function(t,e){for(var n=e?this:this.parent;n&&!t(n);)n=n.parent;return n},getClosestAncestorWithAssoc:function(t){var n=e.partial(i,t);return this.getClosestAncestor(n)},getClosestAncestorByAttr:function(t,e,n){return this.getClosestAncestor((function(n){return n.get(t)===e}),n)},forEachAncestor:function(t,e){for(var n=e?this:this.parent,i=0;null!=n;){if(!1===t(n,i++))return;n=n.parent}}};return r.getClosestAncestorByKind=e.partial(r.getClosestAncestorByAttr,"kind"),r}.call(e,n,e,t))||(t.exports=i)},6978:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(262),r=n(118),o=i.getClosestAncestor;return{resolvePath:function(t){return r.resolvePath(t,this.getClosestThisRef())},getClosestParentRef:e.partial(o,(function(t){return t.abilities.resolveAsParent})),getClosestThisRef:e.partial(o,(function(t){return t.abilities.resolveAsThis}),!0),getClosestEventTarget:e.partial(o,(function(t){return t.abilities.beEventTarget}),!0),getChildren:function(){return this.objects().slice()}}}.call(e,n,e,t))||(t.exports=i)},5337:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(8939),r=i.warn("shortEventable")("bindShortEvents"),o=i.backtick,s=function(t,n){return e.mapValues(n,(function(e){return t[e]}))},a=function(t,n){var i=t[n];return i?e.isFunction(i)?i.call(t):i:t.get?t.get(n):t.props&&t.props[n]};return{componentWillMount:function(){return this.bindShortEvents(),this},bindShortEvents:function(){var t,e,n,i,l=Object.keys(this.shortEvents||{}),u=l.length;for(i=0;i-1&&this.subscribedEvents.splice(n,1),this},resetSubscriptions:function(){return this.removeSubscriptions(),this.subscribedEvents=[],this}}}.call(e,n,e,t))||(t.exports=i)},9835:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(7510),r=i.addWindowListener,o=i.addDocumentListener,s=i.addBodyListener,a=n(8579),l=(n(8880),n(9032),n(82)),u=n(1251),c=n(6295),h=(n(7812),n(7097)),d=n(7594),p=n(2972),f=d.camelCase("transform"),v={doFullScreen:function(t){t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},styleIfExists:function(t,e,n){t&&(t.style[e]=n)},androidOrientation:function(){document.querySelector(".slide-controls"),document.querySelector(".option-pane");a.orientation.isPortrait?(this.styleIfExists(this.optionPane,"minHeight",null),this.styleIfExists(this.slideControls,"display","block")):(this.styleIfExists(this.optionPane,"minHeight",l.pxify(this.smallestSide)),this.styleIfExists(this.slideControls,"display","none"))},initAndroid:function(){this.smallestSide=Math.min(document.documentElement.clientHeight,document.documentElement.clientWidth),document.body.style.minHeight=a.smallestSide+"px"},initTouchableThemeAndPhone:function(){var t,e,n;document.body.style.height="120%",document.querySelector("#preso").style.position="fixed",a.os.iOSVersion>=10&&setInterval((function(){var t=document.querySelector(".controls"),i=window.innerHeight,r=document.documentElement.clientHeight;i\n \n\n \n \n \n\n \n\n \n \n\n
\n Drag up for fullscreen\n
';var n,i,a,h,d,f=document.querySelector(".mobile-chrome-warning-bubble"),v=document.querySelector(".mobile-chrome-warning-btn"),g=document.querySelector("#preso"),m=0;document.body.style.height="120%",o("touchstart",(function(){i=!0})),o("touchend",(function(){i=!1})),t.addEventListener("touchstart",(function(){c.killTweensOf(f),c.killTweensOf(v),c.to(v,.05,{opacity:1,scaleX:.6,scaleY:.6}),c.to(f,.1,{opacity:1}),c.to(f,.3,{opacity:0,delay:3})})),setInterval((function(){var n=document.activeElement,r=window.innerHeight,o=document.documentElement.clientHeight,s=rh,i=t.scrollTop+t.offsetHeight===t.scrollHeight&&n=8?v.init=v.initIOS:v.init=e.noop,v}.call(e,n,e,t))||(t.exports=i)},3400:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(82),r=n(7812),o=n(1294),s=n(2972),a=n(7510),l=a.addDocumentListener,u=a.removeDocumentListener,c=function(t){return!t||t.length<2},h=function(t){var e=c(t)?{x:0,y:0}:t[0],n=t[1]||e;return{x:(e.pageX+n.pageX)/2,y:(e.pageY+n.pageY)/2}},d=function(t){return c(t)?1:i.dist(t[0].pageX,t[0].pageY,t[1].pageX,t[1].pageY)};return{shouldPinchZoom:function(){return!0},isLightboxed:function(){return!1},notifyZoomUpdate:function(){},zoomScaleUpdate:function(){},constrainToScreen:function(){var t=!1,e=window,n=e.innerWidth,i=e.innerHeight,r=this.zoomTarget.getBoundingClientRect(),o=Math.max((n-r.width)/2,0),s=Math.max((i-r.height)/2,0),a=n-o,l=i-s;r.left>o?(t=!0,this.pinch.currMatrix.tx=o):r.rights?(t=!0,this.pinch.currMatrix.ty=s):r.bottom1&&!s.isDoubleClickRelated(t.target)?(clearTimeout(this.doubeTapTimeout),this.doubleTapCount++,this.doubeTapTimeout=setInterval(this.resetDoubleTap,250),2===this.doubleTapCount&&1!==this.pinch.scale&&this.zoomOut()):this.resetDoubleTap()},onTouchStart:function(t){var e=this.transTouch(t.touches);if(2===e.length){this.pinch.panning=!1,this.pinch.zooming=!0;var n=h(e);this.pinch.startCenter=this.pinch.matrix.unTransformPoint(n.x,n.y),this.pinch.startDistance=d(e),this.pinch.disable=!1}else 1!==e.length||1===this.pinch.scale||this.shouldDisablePan(t)?(this.pinch.panning=!1,this.pinch.zooming=!1,this.pinch.disable=!0):(this.pinch.panning=!0,this.pinch.zooming=!1,this.pinch.startCenter=this.pinch.matrix.unTransformPoint(e[0].pageX,e[0].pageY),this.pinch.disable=!1);this.pinch.disable||this.endTransition(),this.pinch.totalTouches=t.touches.length},onTouchEnd:function(t){this.pinch.disable=!1,t.touches.length<2&&(this.pinch.panning=!1,this.pinch.zooming=!1,this.pinch.currMatrix&&!this.pinch.zoomingOut&&(this.pinch.scale=this.pinch.currMatrix.getScale().x,this.constrainToScreen(),this.pinch.matrix=this.pinch.currMatrix,this.zoomScaleUpdate()))},handleConstraint:function(){var t=.1*(this.pinch.appliedMatrix.tx-this.pinch.currMatrix.tx),e=.1*(this.pinch.appliedMatrix.ty-this.pinch.currMatrix.ty);this.pinch.currMatrix.translate(t,e),this.updateTransform(this.pinch.currMatrix)},onTouchMove:function(t){var e=this;if(!this.pinch.disable){var n=this.transTouch(t.touches);2===n.length?this.updatePinchZoom(n):1===n.length&&(1!==this.pinch.scale||this.isInLightbox)&&this.pinch.panning&&this.updatePinchPan(n),null!=this.pinch.currMatrix&&this.constrainToScreen((function(){return e.handleConstraint()})),clearTimeout(this.disableTimeoutId),this.pinch.disableSwipe=!0,this.disableTimeoutId=setTimeout((function(){e.pinch.disableSwipe=!1}),300)}},zoomOut:function(){var t=this;this.pinch.matrix=(new o).translate(this.pinchStartX||0,this.pinchStartY||0),this.pinch.currMatrix=this.pinch.matrix.copy(),this.pinch.zoomingOut=!0,this.pinch.scale=1,this.zoomScaleUpdate(),this.startTransition(200,(function(){t.pinch.zoomingOut=!1}))},transTouch:function(t){var n=this.getContainerBounds(),i=n.left,r=n.top;return e(t).map((function(t){return{pageX:t.pageX-i,pageY:t.pageY-r}})).value()},updatePinchPan:function(t){var e=this.pinch.matrix.unTransformPoint(t[0].pageX,t[0].pageY);this.pinch.currMatrix=this.pinch.matrix.copy().translate(e.x-this.pinch.startCenter.x,e.y-this.pinch.startCenter.y),this.zoomTarget.style[this.cssTransformOrigin]="0 0",this.updateTransform(this.pinch.currMatrix),this.isInLightbox&&this.notifyZoomUpdate()},updatePinchZoom:function(t){var e=this.threeSixtyImageRestrictedZoom||6,n=d(t),i=h(t),r=this.pinch.matrix.unTransformPoint(i.x,i.y),o=Math.max(1/this.pinch.scale,Math.min(n/this.pinch.startDistance,e/this.pinch.scale));this.pinch.zoom=o,this.pinch.currMatrix=this.pinch.matrix.copy().translate(r.x,r.y).scale(o,o).translate(-this.pinch.startCenter.x,-this.pinch.startCenter.y),this.zoomTarget.style[this.cssTransformOrigin]="0 0",this.updateTransform(this.pinch.currMatrix),this.notifyZoomUpdate()},updateTransform:function(t){this.zoomTarget.style[this.cssTransform]=t.toCssTransform(),this.pinch.appliedMatrix=t.copy()},startTransition:function(t,n){var i=this;n=n||e.noop,this.pinchZoomTransition={startTime:performance.now(),startMatrix:this.pinch.appliedMatrix.copy(),deltaMatrix:this.pinch.currMatrix.delta(this.pinch.appliedMatrix),duration:t,onComplete:n,onUpdate:function(){return i.notifyZoomUpdate()}},window.requestAnimationFrame(this.stepTransition)},endTransition:function(){this.pinchZoomTransition=null},stepTransition:function(){if(null!=this.pinchZoomTransition){var t=this.pinchZoomTransition,e=t.startMatrix,n=t.deltaMatrix,r=t.duration,o=t.startTime,s=t.onComplete,a=t.onUpdate,l=i.clamp(0,r,performance.now()-o),u=function(t,e){return gsap.parseEase("power1.out")(t/e)}(l,r);this.updateTransform(e.add(n,u)),a(),l63&&(e+="~"+i.length),e+=i+t},a.packData=function(t){return[a.create(a.toUnsignedString64(t.length)),t].join("")},a.toUnsignedString64=function(t,n,i){var r="",s=!0,l=t;for(i=i||a.EMPTY_CHUNK;l>0||s;)s=!1,r+=o[63&l],l>>=6;return r+=e.times(n-r.length,e.partial(e.identity,i)).join("")},a.toSignedString64=function(t,e){var n,i=t,r=t<0,o=1,s=0;for(e=e||-1;Math.pow(64,o)/2<=Math.abs(t);)o++;if(n=Math.max(e,o),r){for(;-t>=Math.pow(64,s)/2;)s++;i=Math.pow(64,s)+t}return a.toUnsignedString64(i,n,r?"$":"0")},a.toSignedFloatString64=function(t,n){if(t%1==0||e.isNaN(t))return a.toSignedString64(t,n);var i,r=Math.min(3,(i=t,Math.floor(i)===i?0:i.toString().split(".")[1].length||0)),o=Math.trunc(t*Math.pow(10,r));return a.toSignedString64(o)+"-"+r.toString()},a.fromUnsignedString64=function(t){return t.toString().split("").reduce((function(t,e,n){return t+=function(t){return o.indexOf(t)}(e)<<6*n}),0)},a.fromSignedString64=function(t){var e=a.fromUnsignedString64(t.toString()),n=Math.pow(64,t.length)/2;return e>=n&&(e-=2*n),e},a.fromSignedFloatString64=function(t){if(!t.includes("-"))return a.fromSignedString64(t);var e=t.split("-");return a.fromSignedString64(e[0])/Math.pow(10,Number(e[1]))},a}.call(e,n,e,t))||(t.exports=i)},9005:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e,i,r=n(6486),o=n(82),s=n(4811),a=n(6159),l={initialize:function(){var t,e,n={},i=window.vRestoreStateData;if(this.hasData=!r.isEmpty(i),this.hasData){for(t=new a({fullString:i}),this.resumeData=t.encodedString(),t=t.reChunk(),e=(t=new a({fullString:t.encodedString()})).encodedString();e.length>0;)t=t.reChunk(),n[e]=t.encodedString(),e=(t=t.reChunk()).encodedString();this.slideStateData=n}},setResumer:function(t){e=t},setWindowManager:function(t){i=t},getSlideStateData:function(t){if(this.hasData)return this.slideStateData[o.stripPlayer(t)]},clearSlideStateData:function(t){this.slideStateData[o.stripPlayer(t)]=null},getState:function(){return r.map([a.packData(e.collectResumeData()),this.getActiveSlideStates()],a.create).join("")},shouldShimLMS:function(){return window.autoSpider},getLMSShim:function(){return{getItem:function(){var t=s.Deferred();return t.resolve(),t.promise()},setItem:r.noop,setResumer:r.noop}},getActiveSlideStates:function(){return i.windows.map((function(t){var e=t.getCurrentSlide();return null==e?"":(e.prepareResumeData({retainState:!0,force:!0,skipPostBuild:!0}),r.map([o.stripPlayer(e.absoluteId),e.getResumeData()],a.create).join(""))})).join("")}};return l.initialize(),l}.call(e,n,e,t))||(t.exports=i)},9013:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(4811),r="path=/",o=function(t){return t.split("=")},s=function(t){return t[0]},a={setCookie:function(t,e){var n=[t,e].join("=");return document.cookie=[n,["expires",new Date(Date.now()+31536e7).toGMTString()].join("="),r].join("; "),this},getCookies:function(t){return document.cookie.split("; ").map(o).filter((function(e){return 0===e[0].indexOf(t)}))},getItem:function(t){var n=i.Deferred(),r=e(this.getCookies(t)).sortBy(s).reduce((function(t,e){return t+e[1]}),"");return n.resolve(r),n.promise()},setItem:function(t,e){for(var n,i,r=0;e.length>0;)i=[t,r++].join("_"),n=e.slice(0,4048),this.setCookie(i,n),e=e.slice(4048);return this}},l={getItem:function(t){var e=i.Deferred(),n=window.localStorage.getItem(t);return e.resolve(n),e.promise()},setItem:function(t,e){var n;try{n=window.localStorage.setItem(t,e)}catch(t){console.warn(t)}return n}},u={setResumer:e.noop};return{hasStorage:function(){try{return null!=window.vInterfaceObject||!e.isUndefined(window.localStorage)}catch(t){return!1}},getStorage:function(){return e.extend(u,this.hasStorage()?l:a)}}}.call(e,n,e,t))||(t.exports=i)},4427:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(9229),r=n(8880),o=n(9032),s=n(9013),a=n(6159),l=n(4811),u=n(8939),c=n(8579),h=n(9005),d=n(7235),p=n(8945),f=void 0,v=void 0,g=void 0,m=function(t){return t.match(/.{2}/g)},y=function(t){return t.getViewGroupId()};return{viewedSlides:[],totalViewedSlides:[],viewedActionLinks:{},courseStartTime:!1,hasOverlay:!1,initialize:function(t,n){var i=this;return this.addPartial(),e.bindAll(this,"savePresentationData"),this.setPresentation(t),v=t.resume()||{},this.resumeDfd=l.Deferred(),this.hasOverlay=n,this.resumeDfd.catch((function(){i.setViewedSlidesFromString("")})),h.setResumer(this),p.initialize(t,this),this.createResumeInterface(),o.on(r.player.CLOSING,this.closePlayer.bind(this)),this.isResumable()?this.setListeners().createSceneResumeArray().setResumeDataCallback().initResumeData():(this.lmsDfd=l.Deferred().resolve().promise(),this.setListeners().checkAndReject()),this.resumeDfd.promise()},setPresentation:function(t){f=t},addPartial:function(){this.getUniqueViewedSlides=e.partial(this.getUniqueSlides,"viewedSlides"),this.getUniqueTotalSlides=e.partial(this.getUniqueSlides,"totalViewedSlides"),this.checkAndReject=e.partial(this.check,this.rejectDeferred.bind(this)),this.checkAndResolve=e.partial(this.check,this.resolveDeferred.bind(this))},isResumable:function(){return this.resumeInterface},createResumeInterface:function(){p.lmsPresent()||window.globals.lmsPresent?this.resumeInterface=p:!0===v.flashresume?this.resumeInterface=s.getStorage():h.shouldShimLMS()&&(this.resumeInterface=h.getLMSShim()),c.env.isWebObject&&null!=this.resumeInterface&&(this.resumeInterface=d.getResumer(this.resumeInterface)),!p.lmsPresent()||v.lmsresume&&!c.env.isRise||(this.resumeInterface={getItem:function(){var t=l.Deferred();return t.resolve(),t.promise()},setItem:e.noop})},setListeners:function(){var t={};return t[r.slide.WILL_CHANGE]=this.slideChanging.bind(this),t[r.window.CLOSING]=this.windowClosing.bind(this),t[r.slide.VIEWED]=this.slideViewed.bind(this),t[r.slideWindow.CLEAR_HISTORY]=this.clearResumeData.bind(this),t[r.actionlink.EVENT]=this.onActionLink.bind(this),o.on(t),this},closePlayer:function(){f.isPreview()?o.trigger(r.preview.NOTIFY,"PREVIEW_CLOSE_WND"):p.lmsUnload(!0)||p.whenCloseReady().then((function(){window.top.window.open("","_self","").close()}))},setWindowManager:function(t){g=t,h.setWindowManager(t),null!=this.lmsDfd&&this.lmsDfd.then(this.checkQuickResume.bind(this))},createSceneResumeArray:function(){return this.sceneResume=f.scenes().map((function(){return a.EMPTY_CHUNK})),this},callForLightboxClose:function(){return o.trigger(r.window.CLOSING,v.window),this},resolveDeferred:function(){return this.resumeDfd.resolve(),o.trigger(r.resume.SET_DATA,this.totalViewedSlides,Object.keys(this.viewedActionLinks)),this},rejectDeferred:function(){return this.resumeDfd.reject(),o.trigger(r.resume.SET_DATA),this},check:function(t){var e=this;(this.hasOverlay||c.theme.isClassic||!c.deviceView.isDesktop||this.mobileStartAsPrompt)&&(this.hasOverlay||c.deviceView.isPhone&&c.env.isDevicePreview||c.device.isMobile||!c.theme.isClassic&&!f.isPreview())?((c.deviceView.isMobile||c.theme.isUnified)&&DS.renderEngine.createMobileStartOverlay(),i.getAppCompletePromise().then((function(){var n=c.deviceView.isClassicDesktop?t:{rejectDeferred:t,mobileStartAsPrompt:e.mobileStartAsPrompt};o.trigger(r.request.START,n)}))):t()},initResumeData:function(){var t=this;this.lmsDfd=this.resumeInterface.getItem(v.id).then((function(e){var n=!1;h.hasData&&(e=h.resumeData),null!=e&&e.length&&(n=t.processResumeData(e)),n?v.prompt&&!c.theme.isClassic?(t.mobileStartAsPrompt=!0,t.checkAndResolve()):t.checkApplyResumeData():t.checkAndReject()}))},processResumeData:function(t){var e=new a({fullString:t});return function(t){return t.remainder().length===t.getUnsignedValue()}(e)?(this.resumeData=e.reChunk(),!0):(u.warn("processResumeData","the data is the incorrect length, resume not attempted"),!1)},checkApplyResumeData:function(){return v.prompt&&!h.hasData&&i.getAppCompletePromise().then((function(){o.trigger(r.request.NEXT_SLIDE,v.slideId,v.window)})),this},checkQuickResume:function(){null==this.resumeData||v.prompt&&!h.hasData||this.checkAndResolve()},applyResumeData:function(t){var e=t?"resolveDeferred":"rejectDeferred";this.callForLightboxClose(),this[e]()},slideViewed:function(t){t.get("trackViews")&&(this.addSlideToViewedList(t),p.lmsPresent()&&p.slideViewed(t))},windowClosing:function(){var t=g.getCurrentWindowSlide();null!=t&&this.slideLeft(t)},slideChanging:function(t,e,n){n||this.slideLeft(t)},slideLeft:function(t){c.env.isPerpetual||t.get("trackViews")&&p.lmsPresent()&&p.slideLeft(t)},onActionLink:function(t){var n=e.findIndex(f.get("actionlinks"),{id:t});-1!==n&&(this.viewedActionLinks[t]=n)},addSlideToViewedList:function(t){this.viewedSlides.push(t),this.viewedSlides=e.uniq(this.viewedSlides),this.totalViewedSlides.push.apply(this.totalViewedSlides,this.viewedSlides),this.totalViewedSlides=e.uniq(this.totalViewedSlides)},getViewedSlidesString:function(){return this.totalViewedSlides.reduce((function(t,e){return t+a.toUnsignedString64(e.prop("Index")+1,2)}),"")},setViewedSlidesFromString:function(t){if(t.length){var n=f.getFlatSlides(),i=f.get("scoring"),r=f.scorings();0===r.length&&null!=i&&r.push(i),this.totalViewedSlides=e(m(t)).map(a.fromUnsignedString64).map((function(t){var i=e.find(n,(function(e){return e.prop("Index")===t-1}));return null!=i&&(r.incrementViewed(i),i.restoreViewed()),i})).compact().value()}p.lmsPresent()&&f.getDrawPromise().then((function(){p.setTotalSlides(f.getUniqueSlides().length)}))},getUniqueSlides:function(t){return e.uniq(this[t],y)},getViewedActionLinksString:function(){return e.reduce(this.viewedActionLinks,(function(t,e){return t+a.toUnsignedString64(e,2)}),"")},setViewedActionLinksFromString:function(t){if(t.length>0){var e=f.get("actionlinks");null!=e&&(this.viewedActionLinks=m(t).map(a.fromUnsignedString64).reduce((function(t,n){var i=e[n];return null!=i&&(t[i.id]=n),t}),{}))}},collectResumeData:function(){return[a.create(this.getViewedSlidesString()),a.create(g.getResumeData()),f.variables().length>0?a.create(f.variables().getResumeDataOrReturn("")):"",this.sceneResume.join(""),f.quizzes().getResumeData(),f.timers().length>0?f.timers().getResumeData():"",a.create(this.getViewedActionLinksString())].join("")},savePresentationData:function(t){if(!this.isResumable()||l.isPending(this.resumeDfd))return this;var e=g.getCurrentWindowSlide();this.saveSceneData(t),null!=e&&(this.resumeData=this.collectResumeData(),this.resumeInterface.setItem(v.id,a.packData(this.resumeData)))},saveSceneData:function(t){null!=t&&(this.sceneResume[t.index()]=a.create(t.getResumeData()))},setResumeDataCallback:function(){return this.resumeDfd.then(this.setResumeData.bind(this)).catch(e.noop),this},setResumeData:function(){var t=this.resumeData.encodedString(),e=f.variables().length>0,n=this.resumeData.reChunk(),i=e?n.reChunk():null,r=e?i.reChunk():n.reChunk();e&&f.variables().setResumeData(i.encodedString());var o=this.setSceneResumeData(r);f.createSlideIndices(),this.setViewedSlidesFromString(t);var s=f.quizzes().setResumeData(o);f.timers().length>0&&f.timers().setResumeData(s);var a=s;this.setViewedActionLinksFromString(a.encodedString()),g.setResumeData(n.encodedString())},setSceneResumeData:function(t){return this.sceneResume=f.scenes().map((function(e){var n=t.encodedString();return e.setResumeData(n),t=t.reChunk(),a.create(n)})),t},courseStarted:function(t){this.courseStartTime=Date.now(),p.lmsPresent()&&p.courseStarted(t)},getCourseTime:function(){return Date.now()-this.courseStartTime},clearResumeData:function(){f.scenes().forEach((function(t){t.clearResumeData()})),f.getUniqueSlides().forEach((function(t){t.clearResumeData()})),g.setResumeData(""),this.viewedSlides=[],this.totalViewedSlides=[],this.isResumable()&&this.resumeInterface.setItem(v.id,"")}}}.call(e,n,e,t))||(t.exports=i)},4481:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(7510).addWindowListener,r=n(1070),o=n(82),s=n(8579),a=n(8880),l=n(9032),u={scaleValue:1,zoomMode:!1,zoomVar:null,enableZoomMode:function(t){this.zoomMode=t,null!=this.zoomVar&&this.zoomVar.value()!==t?this.zoomVar.changeValue(t):l.trigger(a.window.ZOOM_MODE_CHANGED)},setZoomModeVariable:function(t){this.enableZoomMode(t.value())},initialize:function(t){e.bindAll(this,"scale","sendWindowScale","setZoomModeVariable"),this.isShowAll()&&!s.deviceView.isClassicMobile?this.startScaling():i("resize",this.sendWindowScale)},connectVariables:function(t){if(null!=t){this.zoomVar=t;var e=this.zoomVar.value();e&&this.enableZoomMode(e),this.zoomVar.on("change:value",this.setZoomModeVariable)}},isShowAll:function(){return"show all"===window.globals.scale},sendWindowScale:function(){l.trigger(a.window.SCALE),l.trigger(a.window.AFTER_SCALE)},setWindowScale:function(t){this.windowScale=t},getWindowScale:function(t){return this.windowScale},startScaling:function(){this.scale(),i("resize",this.scale)},getScaledFontSize:function(){return r.player.getFontScale()*this.getScale()},queueScale:function(){this.pending||(this.pending=!0,window.requestAnimationFrame(this.scale))},scale:function(){this.scaleValue=this.calcScale(),this.sendWindowScale(),this.pending=!1},calcScale:function(){var t=this.getWindowDimensions(),e=t.height,n=t.width,i=e/r.presentation.display().height(),s=n/r.presentation.display().width();return o.fix(Math.min(i,s),5)},getWindowDimensions:function(){return{height:window.innerHeight,width:window.innerWidth}},getScale:function(){return this.scaleValue}};return o.scaleVal=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t*u.getScale();return e?Math.round(n):n},u}.call(e,n,e,t))||(t.exports=i)},1291:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(7510).addDocumentListener,r=n(1251).isInput,o=n(4481),s=(n(1419),n(3716)),a=n(8579),l=n(8766),u=n(9032),c=n(8880),h=n(9229),d=n(7812),p=[],f=void 0,v=void 0;return{enabled:!0,initialize:function(t){var n=this;v=t||function(t){return t},e.bindAll(this,"onTimelineChanged","onKeyDown"),this.setupKeyLookup(),a.deviceView.isUnifiedDesktop&&!DS.presentation.isPreview()&&this.registerShortcut(v("togglezoom"),{key:"z",ctrl:!0,alt:!0},(function(){o.enableZoomMode(!o.zoomMode)})),a.deviceView.isDesktop&&(u.on(c.playbackControls.TIMELINE_CHANGED,this.onTimelineChanged),this.registerShortcut(v("acctext_shortcut"),{key:"t",ctrl:!0,alt:!0},(function(){h.onToggleAccessibleText()})),this.registerShortcut(v("mute_shortcut"),{key:"m",ctrl:!0,alt:!0},(function(){h.onToggleVolume()})),this.registerShortcut(v("closedcaptions_shortcut"),{key:"c",ctrl:!0,alt:!0},(function(){l.toggleCaptioning()})),this.registerShortcut(v("replay_shortcut"),{key:"r",ctrl:!0,alt:!0},(function(){n.threeSixtyImageMediaVisible()?u.trigger(c.threeSixtyImage.MEDIA_RESTART):n.currTimeline.reset()})),this.registerShortcut(v("playpause_shortcut"),{key:"p",ctrl:!0,alt:!0},(function(){n.threeSixtyImageMediaVisible()?u.trigger(c.threeSixtyImage.MEDIA_TOGGLE_PLAY):null!=n.currTimeline&&(1!==n.currTimeline.progress()?n.currTimeline.togglePlayback():a.theme.isUnified&&n.currTimeline.reset())})),this.registerShortcut(v("previous_shortcut"),{key:",",keyCode:188,ctrl:!0,alt:!0},(function(){n.onControlButtonShortcut("prev")})),this.registerShortcut(v("next_shortcut"),{key:".",keyCode:190,ctrl:!0,alt:!0},(function(){n.onControlButtonShortcut("next")})),this.registerShortcut(v("submit_shortcut"),{key:"s",ctrl:!0,alt:!0},(function(){n.onControlButtonShortcut("submit")})),DS.flagManager.fullScreenToggle&&this.registerShortcut(v("fullscreen_shortcut"),{key:"f",ctrl:!0,alt:!0},(function(){return h.toggleFullScreen()})))},threeSixtyImageMediaVisible:function(){return null!=document.querySelector(".panel-video-player")||document.querySelector(".three-sixty-overlay .panel-shown .panel-audio")},setupKeyLookup:function(){var t=this,e="abcdefghijklmnopqrstuvwxyz".split("");this.keyToCode={},e.forEach((function(e,n){t.keyToCode[e]=65+n}))},onControlButtonShortcut:function(t){var e=DS.views.getTopNameSpace()[t];e&&e.shortcutActivated()},onTimelineChanged:function(t){this.currTimeline=t},closeShortcutWindow:function(){null!=f&&(f.close(),f=null)},registerShortcut:function(t,e,n){var r=this;this.listenerAdded||(this.listenerAdded=!0,i("keydown",(function(t){return r.onKeyDown(t)})),this.registerShortcut(v("shortcuthelp"),{key:"?",shift:!0},(function(){null==f?(f=DS.frame.createWindow("ShortcutWnd")).el.focus():r.closeShortcutWindow()}))),p.push({name:t,keyInfo:e,cb:n})},enableShortcuts:function(t){this.enabled=t,u.trigger(DS.events.player.ENABLE_KEYBOARD_SHORTCUTS,t)},onKeyDown:function(t){var e=this,n=t.ctrlKey,i=t.shiftKey,o=t.altKey,a=t.key,l=t.keyCode;if(!(r(document.activeElement)||s.keyPressHandlerExists(t)||!this.enabled&&"?"!==a)){var u=p.find((function(t){var r=t.keyInfo,s=r.key,u=r.keyCode,c=void 0===u?0:u,h=r.ctrl,d=void 0!==h&&h,p=r.shift,f=void 0!==p&&p,v=r.alt;return d===n&&f===i&&(void 0!==v&&v)===o&&(e.keyToCode[s]===l||s.toLowerCase()===a.toLowerCase()||c===l)}));u&&u.cb(),l==d.keys.F5&&t.preventDefault()}},getShortcutList:function(){return[].concat(p)}}}.call(e,n,e,t))||(t.exports=i)},8935:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(8880),r=n(7812),o=n(9032),s=n(82),a=void 0,l=void 0,u={slides:{},scenes:{}},c=function(t){var e=t.viewed,n=t.total;return 0===n?"":(100*e/n).toFixed(0)+"%"},h=r.varTypes,d=h.NUM,p=h.STRING,f=[{name:"menuSlidesViewed",update:function(t){return t.menu.viewed},type:d},{name:"menuTotalSlides",update:function(t){return t.menu.total},type:d},{name:"menuProgress",update:function(t){var e=t.menu;return c(e)},type:d},{name:"menuSectionSlidesViewed",update:function(t,e,n){var i=t.section;return(0,n.menuInclude)(i.viewed)},type:d},{name:"menuSectionTotalSlides",update:function(t,e,n){var i=t.section;return(0,n.menuInclude)(i.total)},type:d},{name:"menuSectionProgress",update:function(t,e,n){var i=t.section;return(0,n.menuInclude)(c(i))},type:d},{name:"projectSlidesViewed",update:function(t){return t.project.viewed},type:d},{name:"projectTotalSlides",update:function(t){return t.project.total},type:d},{name:"projectProgress",update:function(t){var e=t.project;return c(e)},type:d},{name:"sceneSlidesViewed",update:function(t){return t.scene.viewed},type:d},{name:"sceneTotalSlides",update:function(t){return t.scene.total},type:d},{name:"sceneProgress",update:function(t){var e=t.scene;return c(e)},type:d},{name:"menuSectionsViewed",update:function(t){return t.viewedSectionCount},type:d},{name:"projectScenesViewed",update:function(t){return t.viewedSceneCount},type:d},{name:"menuSlideNumber",update:function(t,e,n){var i=e.menuSlideNumber;return(0,n.menuCountInclude)(i)},type:d},{name:"menuSlideTitle",update:function(t,e){return e.menuSlideTitle},type:p},{name:"menuSlideReference",update:function(t,e){return e.menuSlideReference},type:p},{name:"menuSectionNumber",update:function(t,e,n){var i=e.menuSection;return(0,n.menuInclude)(i)},type:d},{name:"menuSectionSlideNumber",update:function(t,e,n){var i=e.menuSectionSlideNumber;return(0,n.menuCountInclude)(i)},type:d},{name:"menuTotalSections",update:function(){return u.menuTotalSections},type:d},{name:"projectSlideNumber",update:function(t,e,n){var i=e.slideNumberInProject;return(0,n.projectInclude)(i)},type:d},{name:"projectSlideTitle",update:function(t,e){return e.slide.title()},type:p},{name:"projectSlideReference",update:function(t,e,n){var i=e.slideNumberInScene;return n.sceneNumber+"."+i},type:p},{name:"projectTotalScenes",update:function(){return u.sceneCount},type:d},{name:"projectSceneNumber",update:function(t,e,n){var i=n.sceneNumber;return 0===i?"":i},type:d},{name:"sceneSlideNumber",update:function(t,e,n){var i=e.slideNumberInScene;return(0,n.projectInclude)(i)},type:d},{name:"currentSlideId",update:function(t,e){return e.slide.id},type:p}],v=function(){var t=l.getCurrentWindowSlide();if(null!=t){var n=t.getScene();if(!n.isMessageScene()){var r=u.slides[t.absoluteId],s=a.variables(),c=function(t){var n=t.getScene(),i=u.slides[t.absoluteId].menuSection,r=new Set,o=new Set,s={total:0,viewed:0},a={total:0,viewed:0},l={total:0,viewed:0},c={total:0,viewed:0};return e.forEach(u.slides,(function(t){var e=t.slide.viewed;t.slide.includeInSlideCounts()&&(s.total++,e&&(s.viewed++,r.add(t.scene)),t.scene===n&&(a.total++,e&&a.viewed++)),null!=t.menuSection&&t.slide.includeInSlideCounts()&&(l.total++,e&&(l.viewed++,o.add(t.menuSection)),t.menuSection===i&&(c.total++,e&&c.viewed++))})),{viewedSceneCount:r.size,viewedSectionCount:o.size,project:s,scene:a,menu:l,section:c}}(t),h={sceneNumber:n.sceneNumber(),menuInclude:null!=r.menuSection?function(t){return t}:function(t){return""},projectInclude:t.includeInSlideCounts()?function(t){return t}:function(t){return""},menuCountInclude:null!==r.menuSection&&t.includeInSlideCounts()?function(t){return t}:function(t){return""}};f.forEach((function(t){var e=t.name,n=t.update;return s.get(e).value(n(c,r,h))})),o.trigger(i.slide.SLIDE_NUMBERS_UPDATED)}}},g=function(t,n){var i=0,r=0;u.slides={};var o=function(t,e){var n=function(t){var e=t.getSlideDraw();return null!=e?e.slideNumberInScene()+t.index():t.slideNumberInScene()};return n(t)-n(e)};t.scenes().forEach((function(t){if(!t.isMessageScene()){var e=0;t.getAllSlides().sort(o).forEach((function(n){u.slides[n.absoluteId]={slideNumberInProject:n.includeInSlideCounts()?++i:0,slideNumberInScene:n.includeInSlideCounts()?++e:0,slide:n,scene:t},u.scenes[t.absoluteId]={slideCount:e}})),0!==t.sceneNumber()&&r++}})),u.sceneCount=r;var a=0,l=function t(n,i,r,o,l){var c=u.slides[n.slideid];return null!=c&&(c.menuSlideNumber=c.slide.includeInSlideCounts()?++a:0,c.menuSlideTitle=s.decodeHtml(n.displaytext),c.menuSlideReference=o,c.menuSectionSlideNumber=c.slide.includeInSlideCounts()?r++:0,c.menuSection=l),e.forEach(n.links,(function(e,n){r=t(e,i+1,r,o+"."+(n+1),l)})),r},c=0;(n||[]).forEach((function(t,e){l(t,1,1,c=e+1,c)})),u.menuTotalSections=c};return{initialize:function(t,e,n){a=e.playerVars(),l=t,g(e,n),o.on(i.slide.HAS_MOUNTED,v),o.on(i.window.CLOSING,v),o.on(i.draw.RESET_COMPLETE,(function(){return g(e,n)}))},getPlayerVariables:function(){return f.map((function(t){var e=t.name,n=t.type;return function(t,e,n){return{kind:"variable",name:t,type:e,value:n,resume:!1}}(e,n,n===d?0:"")}))}}}.call(e,n,e,t))||(t.exports=i)},2972:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(6486),i=n(82),r=n(1251),o=n(8579),s=e.partialRight(r.hasClass,"draggable"),a=e.partialRight(r.hasClass,"hidden"),l=e.partialRight(r.hasClass,"rotatable"),u=e.partialRight(r.hasClass,"slideable-parent"),c=function(t){return r.hasClass(t,"is-scrollable")||r.hasClass(t,"scrollarea-scrollbar")},h=function(t){return r.hasClass(t,"three-sixty-image")},d=function(t,e){return!!e(t)||!!r.closest(t,e)},p=function(t){return t.scrollHeight>t.offsetHeight||r.hasClass(t,"scrollarea-scrollbar")},f=function(t){return t.hasAttribute("data-double-click")},v=e.partialRight(d,(function(t){return c(t)&&p(t)})),g=e.partialRight(d,(function(t){return l(t)})),m=e.partialRight(d,(function(t){return a(t)})),y=e.partialRight(d,(function(t){return s(t)})),b=e.partialRight(d,(function(t){return u(t)})),w=function(t){return r.hasClass(t,"eventable")},A=e.partialRight(d,(function(t){return w(t)})),S=function(t,e){var n,i;return t.objects().forEach((function(t,r){var o,s=null!=e?e.refs["obj"+r]:t.currView,a=s&&s.getFocusTarget();null!=a&&(o=a.props.model.prop("tabIndex"),a.isFocusable()&&a.isVisible()&&(null==i||i>o)&&(i=o,n=s))})),n};return{isRelated:d,needsToScroll:p,isScrollable:c,isScrollRelated:function(t){return c(t)?p(t):v(t)},isDraggable:s,isDraggableRelated:y,isEventable:w,isEventableRelated:A,isRotatable:l,isRotatableRelated:g,isSlideableRelated:b,isDoubleClickRelated:function(t){return f(t)||d(t,f)},activeMobileMenuItem:function(t,e){o.deviceView.isClassicMobile&&(0===i.getPath(t,"length",0)?document.body.classList.add(e):document.body.classList.remove(e))},isThreeSixtyImageRelated:function(t){return d(t,h)},isMobileSlide:function(t){return o.deviceView.isMobile&&!t.props.isMessageWindow},getGroupFocusTarget:function(t){var e=t.props.parent;if(!o.deviceView.isMobile)return e.isFocusable()?e:S(t.props.model,t)},removeEngageBorder:function(){var t=r.getParentFrame();null!=t&&t.classList.remove("webobject-engage")},getChildAtLowestTabIndex:S,isHiddenRelated:m}}.call(e,n,e,t))||(t.exports=i)},9995:function(t,e,n){"use strict";var i;void 0===(i=function(t){var e=n(520),i=n(7812),r=n(6486),o=n(4481),s=n(9032),a=n(8579),l=a.device.isMobile,u=a.theme.isUnified,c=document.createElement("div"),h=function(t,e){return'
'},d=function(t,e){return'