/*! ds-bootstrap - v1.0.0.30921 - 2023-08-30 8:12pm UTC * Copyright (c) 2023 ; Not Licensed */(function(){var __webpack_modules__={3847:function(t,e,n){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(3754),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,a,s,l,u,c,h,d,f,p,v,g,m,y,b,w,A,S,E,T,x,_,C,k,M,O,P,I,L,R,D,N,H,V,j,F,B,U,W,z,G,q,Y,X,K,J,Z,$,Q,tt,et,nt,it,rt,ot,at,st,lt){if(!window.globals.unsupportedBrowser){var ut,ct=v.deviceView.isMobile?"MOBILE":"DESKTOP",ht=h.frameLocations[ct],dt=h.cssLocations[ct];if(window.globals.useJson&&i.loadFromJson(),!window.globals.AUTHORING_HOST_MODE){ut=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 ft=document.createElement("link");ft.type="text/css",ft.href=dt,ft.rel="stylesheet",ft.dataset.noprefix=!0,document.head.appendChild(ft)}if(window.DS=window.DS||{},Object.assign(window.DS,{_:t,globalEventHelper:e,analyticsHelper:n,animationClock:r,AnimationTimeline:o,appState:a,audioContext:s,automation:l,BaseModel:u,captionsManager:c,constants:h,DropIn:d.DropIn,DropInDOM:d.DropInDOM,debug:f,debugWindow:p,detection:v,dom:g,errorManager:m,events:y,fileProtocolOverrides:b,flagManager:w,focusManager:A,fontManager:S,keyManager:E,MicroScrollBar:T,mobileChromeKiller:x,pinchZoomController:_,pubSub:C,playerGlobals:k,previewHelper:M,rangeSliders:P,requestAnimationFrame:I,scaler:L,shortcutManager:R,slideNumberManager:D,slideObjectUtils:N,slidesController:H,stringTabler:V,svgUtils:j,tabFocusBox:F,TimelineLite:B,ThreeSixtyImage:U,TransMatrix:W,TweenLite:TweenLite,utils:z,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:at,superagent:st,Backbone:lt,clientHeight:document.body.clientHeight,clientWidth:document.body.clientWidth,loadScript:function(t,e){var n=document.createElement("script");return n.src=t,n.onload=e,document.head.appendChild(n),n}}),!window.globals.AUTHORING_HOST_MODE){var pt=function(){C.once(y.ds.PRESO_LOADED,(function(t){C.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),f.initialize(window.globals.HAS_SLIDE?DS.presentation:void 0,window.globals.HAS_FRAME?DS.frame:void 0),M.initialize(DS.frame,DS.presentation,t),C.trigger(y.app.COMPLETE)}))};C.once(y.ds.FRAME_DATA_LOADED,(function(t){DS.frame=t,pt(),window.globals.HAS_SLIDE?ut():(w.register("slides",z.getPath(window,"globals.features","").split(",")),DS.playerGlobals.presentation=DS.presentation,L.initialize(),C.trigger(y.ds.PRESO_LOADED),DS.frameModel.frame.controlOptions.controls.closed_captions&&C.trigger(y.captions.SHOW_BUTTON))})),window.globals.HAS_FRAME?DS.loadScript(ht):(pt(),ut(),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){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(82),r=n(6295),o=n(5641),a=n(857),s=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=s(this.callbacks,n))>=0&&(this.callbacks.splice(i,1),(r=s(this.seekables,n))>=0&&(this.seekables.splice(r,1),(o=s(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),a=this.wrapSeekable(t,e);this.seekables.push(a),this.insertCallback(a),!n&&this.currentTime>=e&&((this.executingCallbacks||o<=r)&&a.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:a.time()-this.startTime)},play:function(){!this.playing&&!this.hasParentTimeline()&&this.currentTime0)&&!this.hasParentTimeline()&&(this.update(),a.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){var i;i=function(t){"use strict";n(3934);var e=n(5485),i=n(6486),r=n(8880),o=n(8939),a=n(6334),s=n(6978),l=n(262),u=n(5337),c=n(3586),h=n(82),d=o.throwError("BaseModel"),f=function(){},p=h.createSuper(e.Model),v=e.Model.extend({abilities:{resolveAsThis:!1,resolveAsParent:!1,beEventTarget:!1},mixins:[a,s,l,u],autoParse:!1,isModel:!0,constructor:function(t,n){i.bindAll(this,"createAbsoluteId");var o=this.initialize;this.initialize=f,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):p("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 a=this.previous(t);i.isFunction(a.set)?(a.set(n,{parent:this}),a.trigger(r.data.UPDATED),a.isCollection&&a.invoke("trigger",r.data.UPDATED),this.set(t,a,{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),void 0===i||(t.exports=i)},3511:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n0&&(this.currentCaptions=this.currentCaptions.reduce((function(t,e){return a.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){a.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}}])&&o(n.prototype,s),l&&o(n,l),Object.defineProperty(n,"prototype",{writable:!1}),t}()}.call(e,n,e,t))||(t.exports=i)},3754:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}i=function(t){"use strict";var e,n,i=/([A-Z])/g,o=/Unknown|SVG/,a=function(t){return t.replace(i,"-$1").toLowerCase()},s="http://www.w3.org/2000/svg",l={image:"svg"},u={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},c={};function h(t,e){t.innerHTML=e}function d(t,e){return null==e||"boolean"==typeof e||""===e?"":isNaN(e)||0===e||u.hasOwnProperty(t)&&u[t]?""+e:("string"==typeof e&&(e=e.trim()),e+"px")}function f(t){if("html"===l[t])return!0;var e=!o.test(t+"");return e&&(l[t]="html"),e}function p(t){return"dv_"+t}["acceptCharset","alignmentBaseline","baselineShift","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","transformOrigin","underlinePosition","underlineThickness","unicodeBidi","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode"].forEach((function(t){return c[t]=a(t)})),["xmlnsXlink","xlinkHref"].forEach((function(t){return c[t]=t.replace(i,":$1").toLowerCase()})),["crossOrigin"].forEach((function(t){return c[t]=t.toLowerCase()})),c.htmlFor="for";var v={findDOMNode:function(t){return null==t.isDropIn?t:t.el},unmountComponentAtNode:function(t){null!=t.firstElementChild&&(null!=t.firstElementChild.view&&t.firstElementChild.view.componentWillUnmount(),t.firstElementChild.remove())},updateWithProps:function(t,e,n){t.props=e,n.appendChild(t.el),t.doRender()},create:function(t,e){if("string"==typeof t)return document.createTextNode(t);if(t){var n=t.tag,i=t.attrs,r=t.children;if(n){if(i&&(i=i()),n.isComponent)return function(t,e,n){var i=new t;null!=e&&(i.props=e),function(t){for(var e in t)"function"==typeof t[e]&&(t[e]=t[e].bind(t))}(i),i.dropInInit(),i.state=i.getInitialState(),i.componentWillMount();var r=i.render();i.prevRender=r;var o=v.create(r,i);return n.view=o,i.el=o,o.instance=i,i.mounted=!0,i.componentDidMount(),o.dataset.displayName=i.displayName,o}(n,i,t);!function(t){null!=t&&t.ref&&(t["data-"+p("ref")]=t.ref,delete t.ref)}(i);var o=t.el=function(t){var e=l[t];if(null!=e){if("html"===e)return document.createElement(t);if("svg"===e)return document.createElementNS(s,t)}var n=document.createElement(t);return f(n)?n:(l[t]="svg",document.createElementNS(s,t))}(n);return S(o,i),function(t,e,n){if(null!=e)for(var i=0;i0&&(e+="".concat(a(n),": ").concat(i,";"))}return e}var m=function(t,e){var n=Object.keys(e);if(1===n.length&&"0"===n[0]&&"object"!==r(e[0]))return h(t,e[0]?e[0]:""),!0;null!=e.dangerouslySetInnerHTML&&h(t,e.dangerouslySetInnerHTML.__html)},y=function(t,e,n){if("style"===n)return t.style=g(e[n]),!0},b=function(t,e,n){if(n.startsWith("on"))return t[n.toLowerCase()]=e[n],!0},w=function(t,e,n){if("src"===n){if(t.dataset[p("src")]===e[n])return!0;t.dataset[p("src")]=e[n]}},A=function(t,e,n){if("children"!==n&&"dangerouslySetInnerHTML"!==n&&"key"!==n){var i=t instanceof SVGElement&&!f(t),r=e[n];if(i||t[n]===r||(t[n]=r),null==r)t.removeAttribute(n);else if("boolean"!=typeof r&&t.getAttribute(n)!==r){var o=c[n];null!=o&&o.includes(":")?t.setAttributeNS("http://www.w3.org/1999/xlink",o,r):t.setAttribute(o||n,r)}}};function S(t,e){if(null!=e){if(m(t,e))return;for(var n in e)"className"!==n&&n%1!=0&&(y(t,e,n)||b(t,e,n)||w(t,e,n)||A(t,e,n))}}var E=Symbol("element-slot"),T={createNewEl:function(t){var e=t.prev,n=t.curr,i=t.i,r=v.create(n.children[i],e.el.view);e.el.appendChild(r),e.children[i].el=r,e.pool[i]=r},needsRemoval:function(t){var e=t.prev,n=t.curr,i=t.i,r=t.currChildAsBoolean,o=t.prevChildIsSlot;if(!r&&o)return e.children[i]=n.children[i],null!=e.pool[i]&&(e.pool[i].remove(),e.children[i]=E,t.mutation=!0),!0},needsRemovalWithPoolUpdate:function(t){var e=t.prev,n=(t.curr,t.i),i=t.currChildAsBoolean,r=t.prevChildIsSlot;if(!i&&!r)return null!=e.children[n]&&(e.pool[n]=e.children[n].el,null!=e.children[n].el&&(e.children[n].el.remove(),e.children[n]=E,t.mutation=!0)),!0},needsCreateOrRestore:function(t){var e=t.prev,n=(t.curr,t.i),i=t.currChildAsBoolean,r=t.prevChildIsSlot;if(i&&r)return e.pool[n]?e.children[n]=e.pool[n].nodeDef:T.createNewEl(t),t.mutation=!0,!0},needsCreateFromNull:function(t){var e=t.prev,n=t.curr,i=t.i,o=t.currChildAsBoolean,a=t.prevChildIsSlot;if(o&&!a)return null==e.children[i]&&"object"===r(n.children[i])&&(e.children[i]=n.children[i],T.createNewEl(t)),!0}};function x(t,e,n){null==e.pool&&(e.pool={}),function(t,e){return 0===t.children.length&&0===e.children.length}(e,n)||function(t,e){if(1===t.children.length&&1===e.children.length&&!1===t.children[0]&&!1===e.children[0])return t.children.pop(),e.children.pop(),!0}(e,n)||function(t,e,n){if(1===e.children.length&&1===n.children.length&&"string"==typeof e.children[0]&&"string"==typeof n.children[0]&&e.children[0]!==n.children[0])return h(t,n.children[0]),!0}(t,e,n)||(e.children.length===n.children.length?function(t,e,n,i){if(t){for(var r=0;re.children.length?function(t,e){for(var n=0;n=0;n--)null==e.children[n]&&null!=t.children[n]&&null!=t.children[n].el&&(t.pool[n]=t.children[n].el,t.children[n].el.remove(),t.children.pop())}(e,n))}function _(t,e,n,i){if(null!=t&&null!=t.view)return t.view.instance.props=e.attrs(),void t.view.instance.doRender();if(null!=t&&null!=t.children&&null!=e&&null!=e.children&&x(t.el||i.el,t,e),null!=t&&t.style){var o=g(t.style),a=g(e.style);o!==a&&(t.el?t.el.style=a:i.el&&(i.el.style=a))}for(var s in t)if("style"!==s&&"el"!==s)if("dangerouslySetInnerHTML"!==s){var l=t[s],u=e[s];"object"===r(l)&&"object"===r(u)&&"dangerouslySetInnerHTML"!==s?_(l,u,t):l!==u&&(null!=i&&null!=i.el&&S(i.el,e),"attrs"===s?function(){var i=t.attrs(),r=e.attrs();_(i,r,n,t),t.attrs=function(){return r}}():null!=n&&n.el&&S(n.el,e))}else null!=i&&null!=i.el&&m(i.el,e)}var C=["getInitialState","componentWillMount","componentDidMount","componentWillUpdate","componentDidUpdate","componentWillUnmount"];function k(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],i=[],r=0;r2?n-2:0),r=2;r1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(o(this,t),s(this,"onTouchMovePrevent",(function(t){t.preventDefault()})),s(this,"onMouseOver",(function(){n.hovered=!0,n.update()})),s(this,"onMouseOut",(function(){n.hovered=!1,n.update()})),i.bindAll(this,"onScrollBtnDown","onEndScrollDrag","onDragBtn","onScroll","onResize","unHighlight","delayedUpdate","update","onFocus","onKeyDown"),this.enabled=!0,this.hScroll=a,this.targetEl=e,this.hasTabIndex=u,this.isHidden=!1,this.highlight=!1,this.cls="".concat(r,"-").concat(a?"h":"","scroll"),this.targetId=r,this.marginTop=l,this.showOnlyOnHover=!1,this.hovered=!1,this.showOnlyWhenScrolling=!1,this.scrolling=!1,d.theme.isUnified){var c="".concat(this.cls,"-id");null==document.getElementById(c)&&this.createElements(c)}else this.createElements(null);this.update()}var e,n,f;return e=t,(n=[{key:"addOrRemoveClass",value:function(t,e,n){r[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),p("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 ".concat(this.hScroll?"horizontal-scroll ":"").concat(this.cls)),!this.hScroll&&this.marginTop>0&&(this.scrollBar.style.marginTop="".concat(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;c.on(l.tab.SHOW,(function(e){t.targetId===e&&t.delayedUpdate()})),c.on(l.tabLink.SHOW_PANEL,(function(e){var n=e.model.name;t.targetId===n&&t.delayedUpdate()})),"search"===this.targetId&&c.on(l.search.UPDATE_PANEL,(function(){setTimeout(t.delayedUpdate,g)})),"outline"===this.targetId&&c.on(l.menuLinksListItem.TOGGLE,this.delayedUpdate),"transcript"===this.targetId&&c.on(l.transcript.CHANGED,this.delayedUpdate),DS.detection.deviceView.isMobile&&(this.teardownResize=p("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 h.keys.LEFT:this.targetEl.hScrollEnabled&&(this.targetEl.scrollLeft-=10);break;case h.keys.RIGHT:this.targetEl.hScrollEnabled&&(this.targetEl.scrollLeft+=10);break;case h.keys.DOWN:this.targetEl.scrollTop+=10;break;case h.keys.UP:this.targetEl.scrollTop-=10;break;case h.keys.PAGE_DOWN:this.targetEl.scrollTop+=this.btnLength;break;case h.keys.PAGE_UP:this.targetEl.scrollTop-=this.btnLength;break;case h.keys.HOME:this.targetEl.scrollTop=0;break;case h.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,a=t.scrollLeft;return this.hScroll?{contentLength:n,scrollbarLength:r,currScrollPos:a}:{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),a=n-o,s=u.clamp(0,1,r/a);this.btnLength=o/n*o,this.scrollBtn.style[this.hScroll?"width":"height"]=u.pxify(this.btnLength),this.scrollBtn.style[this.getPosAttrib()]=u.pxify(s*u.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,a=this.getPagePostion(t)-this.getParentPos()-this.startPos,s=u.clamp(0,1,a/o);this.scrollBtn.style[this.getPosAttrib()]=u.pxify(s*u.invertPercent(this.btnLength/i)*i),this.targetEl[this.hScroll?"scrollLeft":"scrollTop"]=r*s}},{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)),c.off(l.search.UPDATE_PANEL),c.off(l.tab.SHOW),c.off(l.menuLinksListItem.TOGGLE),c.off(l.transcript.CHANGED),this.teardownResize()}}])&&a(e.prototype,n),f&&a(e,f),Object.defineProperty(e,"prototype",{writable:!1}),t}();return m}.call(e,n,e,t),void 0===i||(t.exports=i)},5173:function(t,e,n){var i;i=function(t){"use strict";var e,i=n(4811),r=n(8939),o=n(7510).addWindowListener,a={},s="request",l="response",u="SUCCESS",c="ERROR",h=[s,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!=a[e.connectionId]?a[e.connectionId](e,t):n("No listener exists for connectionId: ",e.connectionId))}};return function(t,n){var h,f,p,v=r.throwError("PostMessaging"),g={},m=0,y=i.Deferred(),b=n,w=function(t,e,n,r,o){var a=++m,l=i.Deferred(),c={type:e,connectionId:b};return g[a]=l,e===s?(c.method=n,c.params=r,c.id=a):(c.id=n,c.data=r,c.status=null!=o?o:u),t.postMessage(JSON.stringify(c),"*"),l.always((function(){delete g[a]})).catch((function(t){delete g[a],v(t.message)})),l.promise()},A=function(t){h=function(e,n){return y.then((function(){return w(t,s,e,n)}))},f=function(e,n,i){return y.then((function(){return w(t,l,e,n,i)}))}};null==e&&(e=o("message",d,!1)),p=function(t,e){return a[t]=e,function(){delete a[t]}}(b,(function(e,n){var i,r,o;if(e.type===s)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){f(e.id,t)})):f(e.id,r)}catch(t){f(e.id,t.message,c)}else f(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));f(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,s,"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(){p(),_.isEmpty(Object.keys(a))&&null!=e&&(e(),e=null)}}}.call(e,n,e,t),void 0===i||(t.exports=i)},2499:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n0&&(n.cssRenderer.domElement.scrollLeft=0),n.cssRenderer.domElement.scrollTop>0&&(n.cssRenderer.domElement.scrollTop=0),n.cssScrollingId=window.requestAnimationFrame(n.fixCssScrolling)})),a(this,"onTextureReady",(function(){for(var e=t.loadTracker[n.slideObject.currSlideId],i=0;i\n ".concat(n.localizedText.initialViewSet,"\n ");var t=document.createElement("div");f.setStyles(t,{position:"absolute",width:"100%",height:"100%",left:0,top:0,background:"white",opacity:1}),n.el.appendChild(t),d.to(t,.3,{opacity:0,onComplete:function(){n.el.removeChild(t)}}),n.hideCrosshairUi(),n.initialLat=n.lat,n.initialLon=n.lon,null!=n.editorApi&&n.editorApi.onInitialCameraAngleSet(n.lat,n.lon),n.setMode(st.DEFAULT)}})),a(this,"onNavClicked",(function(t){t.stopPropagation()})),a(this,"goPrevGuidedClick",(function(t){n.guidedNavClicked=!0,n.goPrevGuided(),t.stopPropagation()})),a(this,"goPrevGuided",(function(){n.prevMarker=n.markersByIdx[n.markerIdxInView],n.nextMarker=n.markersByIdx[n.markerIdxInView-1],n.markerIdxInView--,n.isGuidedPrevShow=!0,n.nextMarker.disablePulse(),n.nextMarker.downActiveState(),n.prevMarker.active=!1,n.hideShowGuidedArrows()})),a(this,"goNextGuidedClick",(function(t){n.guidedNavClicked=!0,n.goNextGuided(),t.stopPropagation()})),a(this,"goNextGuided",(function(){n.markerIdxInView++,n.prevMarker=n.markersByIdx[n.markerIdxInView-1],n.nextMarker=n.markersByIdx[n.markerIdxInView],n.isGuidedNextShow=!0,n.nextMarker.disablePulse(),n.nextMarker.downActiveState(),n.prevMarker.active=!1,n.hideShowGuidedArrows()})),a(this,"animate",(function(t){t=t||performance.now();var e=n.kpPanAnimation,i=Math.min(t-n.lastTimeStampMs,1/e);n.lastTimeStampMs=t,n.width==n.newWidth&&n.height==n.newHeight||n.changeSize(),n.editMode&&null!=n.currMarker&&!n.currMarker.userData.cssMarker.isHotspot()&&n.moved&&(n.downOnMarker||n.hotspotLayer.down)&&n.moveCameraWithElement(),n.panToCoord?(n.phi+=e*(n.panCoord.phi-n.phi)*i,n.theta+=e*(n.panCoord.theta-n.theta)*i,n.lat=THREE.MathUtils.radToDeg(P-n.phi),n.lon=THREE.MathUtils.radToDeg(n.theta),Math.abs(n.phi-n.panCoord.phi)<.005&&Math.abs(n.theta-n.panCoord.theta)<.005&&n.panComplete()):(n.applyVelocity(),n.lat=Math.max(n.latMin,Math.min(n.latMax,n.lat)),n.phi=THREE.MathUtils.degToRad(90-n.lat),n.theta=THREE.MathUtils.degToRad(n.lon)),n.targetX=n.radius*Math.sin(n.phi)*Math.cos(n.theta),n.targetY=n.radius*Math.cos(n.phi),n.targetZ=n.radius*Math.sin(n.phi)*Math.sin(n.theta),n.camera.target.set(n.targetX,n.targetY,n.targetZ),n.camera.lookAt(n.camera.target),n.renderer.render(n.scene,n.camera),n.cssRenderer.render(n.cssScene,n.camera),n.editMode&&(n.updateHotspotStrokes(),n.displayBoundingBox(),null!=n.currMarker&&n.showMarkerBounds(),n.mode===st.SET_INITIAL_CAMERA_ANGLE&&n.updateLatLonUi()),n.animateId=window.requestAnimationFrame(n.animate)})),a(this,"onMouseDown",(function(t){n.contextMenuOrigin=null,n.hotspotLayer.lastHotspotIntersection=null,n.lastMouseEvent=t,n.moved=!1;var e=t.touches||[t];n.startX=e[0].screenX,n.startY=e[0].screenY;var i=X(t),r=K(t);if(n.editMode){if(!i&&!r)return}else if(!i)return;n.calcSceneRect();var o=q(t,n),a=o.pageX,s=o.pageY,l=o.gesture;if(n.startPageX=a,n.startPageY=s,r&&n.editMode){if(n.hotspotLayer.getHotspotIntersection(a,s))return;return n.contextMenuOrigin={pageX:a,pageY:s},t.preventDefault(),void n.editorApi.onRightClickImage()}if(!(l||n.mobileZoom>I||n.allowSwiping||n.hotspotLayer.onMouseDown(t,a,s)&&n.editMode)){if(n.editMode&&n.mode===st.ADD_MARKER)return t.stopPropagation(),n.placeMarker(a,s,n.upcomingMarkerData.props,n.upcomingMarkerData.id),void t.preventDefault();if(n.panToCoord=!1,n.editMode&&n.mode!=st.SET_INITIAL_CAMERA_ANGLE&&n.getMarkerIntersection(a,s,"over"))return n.boundingBox.style.display="block",void(n.downOnMarker=!0);null==n.hotspotLayer.draggableHotspot&&n.setCurrMarker(null),n.boundingBox.style.display="none",n.hideMarkerBounds(),n.isDragging=!0,n.forcingCameraTarget=!1,n.downX=a,n.downY=s,n.locX=a,n.locY=s,n.locXvel=0,n.locYvel=0,n.downLon=n.lon,n.downLat=n.lat,n.locDist=0}})),a(this,"setupSuppressOnSelectionChange",(function(){n.suppressOnSelectionChange+=1})),a(this,"teardownSuppressOnSelectionChange",(function(){n.suppressOnSelectionChange>0&&(n.suppressOnSelectionChange-=1)})),a(this,"withOnSelectionChange",(function(t){n.withoutOnSelectionChange(t),n.onSelectionChange()})),a(this,"withoutOnSelectionChange",(function(t){n.setupSuppressOnSelectionChange(),t(),n.teardownSuppressOnSelectionChange()})),a(this,"onSelectionChange",(function(){if(null!=n.editorApi&&0==n.suppressOnSelectionChange){var t,e=n.getCurrInputElement(),r=n.getInputType(e),o=n.getCurrMediaElementType(),a=n.getIsMediaShowing();if(null==e)t={isCollapsed:!0,isRightToLeft:!1,textInputType:r,supportsParagraphs:!1,type:"none",mediaType:o,isMediaShowing:a,spanStyle:null};else{var s=document.getSelection();t={isCollapsed:s.isCollapsed,isRightToLeft:null!=s.anchorNode?i.isRtlText(s.anchorNode.textContent):null,textInputType:r,supportsParagraphs:F(e),type:s.rangeCount>0?s.type.toLowerCase():"none",mediaType:o,isMediaShowing:a,spanStyle:s.rangeCount>0?it(e,s.getRangeAt(0)):null}}var l=JSON.stringify(t);n.lastSelectionChangedEventArgs!==l&&(n.editorApi.onSelectionChanged(t),n.lastSelectionChangedEventArgs=l)}})),a(this,"onMouseMove",(function(t){var e=q(t,n),r=e.pageX,o=e.pageY,a=e.gesture;if(n.lastMouseEvent=t,!(a||n.mobileZoom>I||n.allowSwiping)){n.pageX=r,n.pageY=o;var s=t.touches||[];if(!(!n.moved&&1===s.length&&Math.abs(n.startX-s[0].screenX)<1&&Math.abs(n.startY-s[0].screenY)<1||(n.moved=!0,n.hotspotLayer.onMouseMove(t,r,o),n.editMode&&n.hotspotLayer.isEditing())))if(n.canDragMarker())n.checkHideHotspotPanel(),n.dragMarker(r,o);else if(n.isDragging){n.prevLocX=n.locX,n.prevLocY=n.locY;var l=q(t,n),u=l.pageX,c=l.pageY;n.locX=u,n.locY=c,n.locDist=i.dist(n.locX,n.locY,n.prevLocX,n.prevLocY),n.locTheta=H(n.locX,n.locY,n.prevLocX,n.prevLocY),n.locXvel=n.locDist*Math.cos(n.locTheta),n.locYvel=n.locDist*Math.sin(n.locTheta),n.setLonLat(n.locX,n.locY),n.lastDragTime=performance.now()}else n.getMarkerIntersection(r,o,"move")}})),a(this,"onMouseUp",(function(t){if(n.lastMouseEvent){var e=q(n.lastMouseEvent,n),i=e.pageX,r=e.pageY;if(n.lastUpX=i,n.lastUpY=r,n.hotspotLayer.onMouseUp(t,i,r),n.getMarkerIntersection(i,r,"click"),null!=n.pinch.currMatrix&&(n.pinch.scale=n.pinch.currMatrix.getScale().x-.19999999999999996,n.pinch.matrix=n.pinch.currMatrix),n.draggingOffEdge&&(n.stopVelocity(),n.draggingOffEdge=!1),n.isDragging&&(performance.now()-n.lastDragTime>100&&n.stopVelocity(),n.isDragging=!1),n.downOnMarker){if(n.downOnMarker=!1,n.drag.started=!1,null!=n.currMarker)n.currMarker.userData.cssMarker.dragging=!1}else n.hotspotLayer.lastHotspotIntersection||"360-image"!==n.lastMouseEvent.target.dataset.canvasType||null!=n.threeSixtyAcc&&"CANVAS"===t.target.tagName&&n.threeSixtyAcc.el.focus()}})),this.model=e.model,this.el=e.el,this.cssEl=e.cssEl,this.overlaysEl=e.overlaysEl,this.editorApi=e.editorApi,this.suppressOnSelectionChange=0,this.markerShownCounter=0,this.mobileZoom=1,this.editorSettings=e.editorSettings,this.id="three-canvas-".concat(i.getPath(this,"slideObject.props.model.id",h.uniqueId("edit-mode"))),null!=this.editorApi&&this.setEditMode(!0),this.localizedText=e.localizedText||{},this.isDragging=!1,this.forcingCameraTarget=!1,this.newWidth=e.width,this.newHeight=e.height,this.origWidth=e.width,this.origHeight=e.height,this.nudgeOnLoad=e.nudgeOnLoad,this.downX=0,this.downY=0,this.downLon=0,this.downLat=0,this.lastTimeStampMs=performance.now(),this.kpPanAnimation=.008,this.lon=0,this.lat=0,this.phi=0,this.theta=0,this.radius=21,this.latMin=-89.8,this.latMax=89.5,this.oldIntersections={},this.drag={},this.sprites={},this.markersByIdx={},this.markerCount=0,this.initialLatOffset=0,this.assetManager=e.assetManager,this.slideObject=e.slideObject,this.overlaySvgEl=e.overlaySvgEl,this.miscOverlaysEl=e.miscOverlaysEl,this.playerAccentColor=e.playerAccentColor,this.setHotspotColor(e.hotspotColor),this.setHotspotReveal(e.hotspotReveal),this.pulseHotspots=e.pulseHotspots,this.pulseMarkers=e.pulseMarkers,this.altText=e.altText||"",this.navigation=e.navigation||{type:ht.NONE,visible:!1},this.bind=e.bind,this.spherical=new THREE.Spherical,this.orientation=0,this.pinch={scale:1,matrix:new c},this.setupEditorMessages(),this.setMode(st.DEFAULT),this.setupScene(e),this.setupDom(e),this.setupBackSpriteTex(),this.setupVelocityToss(),this.setupRaycasting(),this.hotspotLayer=new k(this),this.setupMarkers(e.markerData),this.setMarkerPulse(e.pulseMarkers),this.setHotspotPulse(e.pulseHotspots),this.setInitialCameraTarget(e.initialLat,e.initialLon),this.setupVars(),this.setupNavigation(),window.addEventListener("resize",this.onResize),l.on("forceRender",this.onForceRender),null!=this.editorApi&&l.on(u.threeSixtyImage.MARKER_UPDATED,this.onMarkerUpdated),this.ready()}var e,n,g;return e=t,n=[{key:"updateEditorSettings",value:function(t){this.editorSettings=t,l.trigger(u.threeSixtyImage.EDITOR_SETTINGS_CHANGED)}},{key:"setInitialCameraTarget",value:function(t,e){this.editMode||!this.nudgeOnLoad?this.initialLat=t:(this.initialLatOffset=t-2>=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=(a(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})),a(t,st.SET_INITIAL_CAMERA_ANGLE,(function(t){return e.setMode(st.SET_INITIAL_CAMERA_ANGLE)})),a(t,"saveInitialCameraAngle",(function(t){return e.onSetInitialCamDone()})),a(t,st.SET_CROP_IMAGE_MEDIA,(function(t){return e.setMode(st.SET_CROP_IMAGE_MEDIA)})),a(t,"saveCropImageMedia",(function(t){return e.saveCropImageMedia()})),a(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(u.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.MathUtils.radToDeg(P-t.phi);e+=-1*t.initialLatOffset,t.spherical.phi=THREE.MathUtils.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=m("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=m("pulse",t.maxAnisotropy));var e=t.pulseAnimation;return{canvas:e.canvas,tex:e.tex,mat:e.mat}},empty:function(){t.emptyTexture||(t.emptyTexture=m("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&&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)||U(t)||W(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:U,type:"hint"},{test:W,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 x;var e=t.userData.cssMarker.panel;if(null==e)return x;var n=function(t){if(null==t)return!1;var n=e.getSelectionBox(t);return null!=n&&n.shown};return n(e.mediaImageEl)?A:n(e.mediaAudioEl)?T:n(e.mediaVideoPosterEl)?E:null!=e.panelButton&&e.panelButton.el===document.activeElement?S:x}},{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=R?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=v.getString("three_image_interaction_next"),o=v.getString("three_image_interaction_prev");t+='\n

').concat(r,'

\n

').concat(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(){nt(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&&f.closest(document.activeElement,(function(t){return f.hasClass(t,"panel-el")}))?void document.activeElement.blur():void t.hide();this.deselectCurrentMarkerOrHotspot()}}},{key:"setFocus",value:function(t){var e=this;this.editMode&&(t.focus!=_?null!=this.currMarker&&this.withOnSelectionChange((function(){var n=e.currMarker.userData.cssMarker.panel,r=t.focus;null!=n&&(n.shown||r==x||(n.marker.isHotspot()?n.showHotspotPanel():n.show()),r===b?(n.showSelectionBox(n.titleEl,!0),n.titleEl.focus()):r===w?(n.showSelectionBox(n.bodyEl.parentNode,!0),n.bodyEl.focus()):r===A?n.showSelectionBox(n.mediaImageEl,!0):r===T?n.showSelectionBox(n.mediaAudioEl,!0):r===E?n.showSelectionBox(n.mediaVideoPosterEl,!0):n.hideSelectionBoxes());var o=i.getPath(e,"currMarker.userData.cssMarker.tooltip");null!=o&&r!=x&&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($,this.onMouseDown),this.cssRenderer.setSize(n,i),document.addEventListener(tt,this.onMouseUp,!1),document.addEventListener(Q,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=R&&e?{width:this.newWidth,height:this.newHeight}:this.sceneRect,i=n.width,r=n.height,o=t.clone(),a=o.project(this.camera);return a.x=(a.x+1)/2,a.x*=i,a.y=-(a.y-1)/2,a.y*=r,a}},{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.MathUtils.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 ".concat(this.localizedText.initialView," ").concat(t,"°, ").concat(e,"°\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,a=o.cropReset,s=o.cropCancel,l=o.cropDone;this.bottomCropUiEl=document.createElement("div"),this.bottomCropUiEl.innerHTML=ot({reset:a,cancel:s,done:l}),this.bottomCropUiEl=this.bottomCropUiEl.firstElementChild,this.bottomCropUiEl.style.zIndex=1e4,this.setCropUiBottom={},f.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(),d.to(this.setCamUi.threeCrosshairsEl,t,{opacity:0}),this.bottomCamUiEl.style.display="none",d.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],n=this.getTokenValues(),i=n.total,r=v.getString("three_image_interaction"),o=e?v.getString("three_image_instructions"):"",a=this.isFreeNav()?v.getString("three_image_interaction_free"):v.getString("three_image_interaction_guided");if(this.isFreeNav()){var s=e?"".concat(this.altText," : ").concat(r,". ").concat(a,". "):"",l=1===i?v.getString("acc_three_image_count_of_total_item_visited",n):v.getString("acc_three_image_count_of_total_items_visited",n);t="".concat(s).concat(l)}else if(this.isGuidedNav()){var u=e?"".concat(this.altText," : ").concat(r,". ").concat(a,"."):"",c=v.getString("acc_three_image_step_count_of_total",n);t="".concat(u).concat(c)}return"".concat(t,". ").concat(o)}},{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;G(this.bind.total,t,this),this.isFreeNav()&&!0===this.navigation.visible?(this.navigationEl=this.miscOverlaysEl,null!=this.navigationEl&&(this.navigationEl.innerHTML=ut(this.navigation.textColor,this.navigation.backgroundColor),this.navUi={},f.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===ht.FREE}},{key:"isGuidedNav",value:function(){return this.navigation.type===ht.GUIDED}},{key:"setupGuidedUi",value:function(){!0===this.navigation.visible&&(this.navigationEl.innerHTML=ct(this.navigation.textColor,this.navigation.backgroundColor,this.playerAccentColor),this.navUi={},f.selectAllByRef(this.navUi,this.navigationEl),d.from(this.navUi.threeNavigationEl,.4,{opacity:0,delay:.4}),this.navUi.threeNavContentEl.addEventListener(Z,this.onNavClicked),this.navUi.threeGuidedLeftBtnEl.addEventListener(Z,this.goPrevGuidedClick),this.navUi.threeGuidedRightBtnEl.addEventListener(Z,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:"markerIdxInView",get:function(){return this.model&&this.model.prop("MarkerInView")},set:function(t){this.model&&this.model.prop("MarkerInView",t)}},{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="".concat(e.bottom,"px"),this.bottomCamUiEl.style.left="".concat(e.left,"px"),this.bottomCamUiEl.style.width="".concat(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="".concat(n.bottom,"px"),this.bottomCropUiEl.style.left="".concat(n.left,"px"),this.bottomCropUiEl.style.width="".concat(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=ot({reset:n,cancel:i,done:r}),this.bottomCamUiEl=this.bottomCamUiEl.firstElementChild,this.setCamUiBottom={},f.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=rt()),this.setCamUi={},f.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),d.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,a=this.isAccPan;this.isAccPan&&(this.isAccPan=!1),a||(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(!a&&(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 l.trigger(u.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,a=this.startPageX-this.pageX,s=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&&a<0?(this.changeLocX(-.4),this.needsElementPan=!0):l0&&(this.changeLocX(e),this.needsElementPan=!0)),u0?(this.changeLocY(e),this.needsElementPan=!0):u>i&&s<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})),a=this.raycaster.intersectObjects(o,!1),s={};return a.forEach((function(t){if(r=!0,s[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),l.trigger(u.threeSixtyImage.SELECTED_MARKER_CHANGED,i.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 l.trigger(u.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=P-this.panCoord.theta,n=V(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 h.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=[],e={x:this.sceneRect.width/2,y:this.sceneRect.height/2};this.camera.updateMatrix(),this.camera.updateMatrixWorld();var n=new THREE.Frustum;for(var r in n.setFromProjectionMatrix((new THREE.Matrix4).multiplyMatrices(this.camera.projectionMatrix,this.camera.matrixWorldInverse)),this.sprites){var o=this.sprites[r].userData.cssMarker,a=o.isHotspot()?o.polyHotspot.shapeMesh:o.sprite;if(n.containsPoint(a.position)){var s=this.toScreenPosition(a,!0);if(null!=s){var l=i.dist(e.x,e.y,s.x,s.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,i,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,s=this.mouseIntersect(t,e);if(s.length>0){var l=s[0].point;l.lerp(new THREE.Vector3(0,0,0),.05);var u=function(){null!=r.editorApi&&r.editorApi.onMarkerPlaced(n.marker.getData())};if(i=(n=this.createSprite(l,a,o)).marker.isHotspot())if(n.marker.hide(),n.marker.el.style.display="none",null==n.marker.props.hotspotData)this.setMode(st.DRAWING_HOTSPOT),this.hotspotLayer.beginHotspot(l,n.marker,u);else{var c=this.hotspotLayer.createHotspot(n.marker.props.hotspotData,n.marker);c.drag(l),u(),this.setCurrMarker(c.marker.sprite),this.setFocus({focus:b})}else u(),this.makeMarkerSwitchable(n.marker,l);this.stopVelocity(),this.hideMarkerBounds(),this.setCurrMarker(n.sprite),i||this.setFocus({focus:b})}i||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,e){var n=this;if(this.mode===st.SET_INITIAL_CAMERA_ANGLE||this.mode===st.SET_CROP_IMAGE_MEDIA){var r=(e-at)/e;t*=r,e*=r,window.ResizeContainer(t,e),document.getElementById("container").scrollIntoView({inline:"center",block:"center"}),this.calcSceneRect()}if(this.positionInitialCamUi(),this.positionCropUi(),clearTimeout(this.uiPositionId),this.uiPositionId=setTimeout((function(){n.positionInitialCamUi(),n.positionCropUi()}),100),this.newWidth=t,this.newHeight=e,l.trigger(u.threeSixtyImage.RESIZED,{scale:i.getPath(this,"slideObject.props.winScale",1),width:t,height:e}),null!=this.currMarker){var o=this.currMarker.userData.cssMarker;if(null!=o.panel&&o.panel.shown){var a=o.isHotspot();window.requestAnimationFrame((function(){return o.panel.update(a)}))}}}},{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}}],n&&o(e.prototype,n),g&&o(e,g),Object.defineProperty(e,"prototype",{writable:!1}),t}();return vt.loadTracker={},vt.isWaitingLoad=function(t,n){var i=!1,r=g.getCurrentWindowSlide().absoluteId,o=vt.loadTracker[r];return null==o||0===o.length||(vt.loadTracker[r].forEach((function(t){t.ready||(i=!0)})),!t&&i&&(clearInterval(e),e=setInterval((function(){vt.isWaitingLoad(!0)||(clearInterval(e),n())}),16))),i},vt}.call(e,n,e,t),void 0===i||(t.exports=i)},1294:function(t,e,n){var i;i=function(t){"use strict";var e=n(6486),i=n(7097),r=n(82),o=n(7812),a=o.math.TO_RADIANS,s=function(){this.reset()};return e.extend(s.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*=a;var i=Math.cos(t),r=Math.sin(t),o=e-e*i+n*r,s=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+s*u,this.ty+=o*c+s*h,this},skew:function(t,e,n,i){var r=n||i,o=this.a,s=this.c;return t=Math.tan(t*a),e=Math.tan(e*a),r&&this.translate(n,i),this.a+=e*this.b,this.c+=e*this.d,this.b+=t*o,this.d+=t*s,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 s;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),a=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=a,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),a=r.fix(this.tx,6),s=r.fix(this.ty,6);return i.buildTransformFn("matrix",t,n,e,o,a,s)},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,a=this.d;return n=i*a-r*o,Math.abs(n)<=1e-12?null:(r/=t=Math.sqrt(i*i+r*r),(i/=t)*(a/=e=Math.sqrt(o*o+a*a))1&&void 0!==arguments[1]?arguments[1]:1,n=new s;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,a=t.b,s=t.c,l=t.d,u=t.tx,c=t.ty;return this.a=o*e+s*n,this.b=a*e+l*n,this.c=o*i+s*r,this.d=a*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}}),s}.call(e,n,e,t),void 0===i||(t.exports=i)},9739:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e,i,r,o=n(6486),a=n(5470),s=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(s.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"".concat(window.screen.width,"x").concat(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"),s=Math.floor(r.getComputedTextLength())!==Math.floor(o.getComputedTextLength()),u={os:[a.osname,a.osversion].join(" "),browser:[a.name,a.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:s,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){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(8880),r=n(9032),o=(n(1419),{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},startMediaSync:function(t){if(this.mediaInterface!==t&&!(null!=this.mediaInterface&&t.getRemainingTime()132&&(e=33),this.mediaInterface=t,this.lastMediaTime=this.mediaInterface.getTime()-e}},endMediaSync:function(t){this.mediaInterface===t&&(this.mediaInterface=null)},updateTime:function(){var t=Date.now(),e=t-this.lastCpuTime;if(this.lastCpuTime=t,e>132&&(e=33),null!=this.mediaInterface){var n=this.mediaInterface.getTime(),i=this.mediaInterface.getPlaybackRate();e=(n-this.lastMediaTime)/i,this.lastMediaTime=n}return this.currentTime+=this.clockOverridden?this.frameTimeMs:e*this.playbackSpeed,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&&(a.prototype.play=o.noop,s.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 p={playerTime:0,type:"dark-spider",AdvanceFrame:function(){return y.updateTime()},AutoUpdateTime:function(){s.tick()},UpdateAutomationTime:function(t){var e=s.frameTimeMs;s.frameTimeMs=t-s.currentTime,s.tick(),s.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 f.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 p},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),void 0===i||(t.exports=i)},6407:function(t,e,n){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){!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;et.length)&&(e=t.length);for(var n=0,i=new Array(e);n\n
\n
Settings
\n
\n

\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),o(this.el.querySelectorAll(".lock-icon")).forEach((function(e){e.addEventListener("mouseover",t.showTip),e.addEventListener("mouseout",t.hideTip)})),["activityId","endpoint","auth","actor","registration"].forEach((function(e){null!=t.refs[e]&&(t.refs[e].addEventListener("change",t.onValueChanged),t.refs[e].addEventListener("keyup",t.onValueChanged))}))}},{key:"showTip",value:function(t){var e=this.el.getBoundingClientRect(),n=t.currentTarget.getBoundingClientRect();Object.assign(this.refs.tooltip.style,{opacity:1,top:"".concat(n.top-e.top+(n.bottom-n.top)/2,"px"),left:"".concat(n.left-(e.left+10),"px")})}},{key:"hideTip",value:function(){Object.assign(this.refs.tooltip.style,{opacity:0})}},{key:"openSupportWnd",value:function(t,n,i){var r;null==this.windows[t]?(r=this.createSupportWnd(t,n,i),this.windows[t]=r):(r=this.windows[t]).style.display="block";var o=d(r),a=function(t){i(n.reduce((function(t,e){var n=e.dataref;return t[n]=o[n].value,t}),{})),l()},s=function(t){return l()},l=function(){r.style.display="none",o.ok.removeEventListener("click",a),o.cancel.removeEventListener("click",s)};o.ok.addEventListener("click",a),o.cancel.addEventListener("click",s),o[e.first(n).dataref].focus()}},{key:"createSupportWnd",value:function(t,e,n){var i=document.createElement("div");return a.addClass(i,"debug-build-actor"),i.innerHTML='\n
\n '.concat(e.map((function(t){var e=t.name,n=t.dataref;return"\n

\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=c(t,n),this.onValueChanged())}},{key:"updateActor",value:function(t,e){var n={mbox:"mailto:".concat(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),r.trigger(l.debug.lrs.SETTINGS_CHANGED,n)}},{key:"getComponentEl",value:function(){return this.el}}])&&s(n.prototype,u),f&&s(n,f),Object.defineProperty(n,"prototype",{writable:!1}),t}()}.call(e,n,e,t))||(t.exports=i)},748:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n\n
\n
'.concat(this.type.toUpperCase(),' Settings
\n
\n

\n ').concat(u(),'\n

\n

\n ').concat(u(),'\n

\n

\n ').concat(u(),'\n

\n

\n ').concat(u(),'\n

\n

\n ').concat(u(),"\n

\n
\n \n ")}},{key:"addListeners",value:function(){var t=this;e.bindAll(this,"onInitialized","onCopy"),i.on(a.debug[this.type].INITIALIZED,this.onInitialized),i.on(a.debug[this.type].STATEMENT_SENT,this.onStatementSent),i.on(a.debug[this.type].STATEMENT_RESPONSE,this.onStatementResponse),o(this.refs.settings.querySelectorAll(".copy-btn")).forEach((function(e){e.addEventListener("click",t.onCopy)}))}},{key:"onInitialized",value:function(t){var n=this;t=e.pickBy(t,(function(t){return null!=t})),Object.keys(t).forEach((function(i){null!=n.refs[i]&&(e.isPlainObject(t[i])?n.refs[i].value=JSON.stringify(t[i],null,2):n.refs[i].value=t[i])}))}},{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:"getComponentEl",value:function(){return this.el}}])&&s(n.prototype,l),h&&s(n,h),Object.defineProperty(n,"prototype",{writable:!1}),t}()}.call(e,n,e,t))||(t.exports=i)},4366:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n\n
\n
Statements
\n \n
\n
\n ')}},{key:"addListeners",value:function(){e.bindAll(this,"onStatementSent","onStatementResponse","onError","onDownloadAll"),this.refs.downloadAll.addEventListener("click",this.onDownloadAll),i.on(r.debug[this.type].STATEMENT_SENT,this.onStatementSent),i.on(r.debug[this.type].STATEMENT_RESPONSE,this.onStatementResponse),i.on(r.debug[this.type].ERROR,this.onError)}},{key:"onError",value:function(t){var e=document.createElement("div");l.addClass(e,"statement"),l.addClass(e,"failed"),e.innerHTML='
'.concat(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");l.addClass(o,"statement"),o.innerHTML='\n
'.concat(n," ").concat(i," ").concat(r,'
\n
\n
').concat(JSON.stringify(t,null,2)).concat(c(),"
"),this.refs.statements.insertAdjacentElement("afterbegin",o);var a=o.querySelector(".details"),s=o.querySelector(".copy-btn");this.awaitingResponse[t.id]=o,s.addEventListener("click",(function(t){if(null!=navigator.clipboard)navigator.clipboard.writeText(a.innerText).then((function(t){console.log(t)}));else{window.getSelection().removeAllRanges();var e=document.createRange();e.selectNode(a.firstChild),window.getSelection().addRange(e),document.execCommand("copy")}t.stopPropagation()})),o.addEventListener("click",(function(t){t.target!==a&&(l.hasClass(o,"open")?l.removeClass(o,"open"):l.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: ".concat(n.responseText," : ").concat(n.status," : error ").concat(e);r.innerText=o,l.addClass(i,"failed")}else l.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(a.getPath(n,t))}));return{actorName:null!=o?a.getPath(n,o):JSON.stringify(n),verbName:null!=i.display?d(i.display):e.last(i.id.split("/")),objectName:null!=r.definition&&null!=r.definition.name?d(r.definition.name):r.id}}},{key:"getComponentEl",value:function(){return this.el}},{key:"onDownloadAll",value:function(){var t=o(this.refs.statements.children).map((function(t){return["summary","error","details"].reduce((function(n,i){var r=t.querySelector(".".concat(i)),o=r&&r.innerText;return e.isEmpty(o)||(n[i]="details"===i?JSON.parse(o):o),n}),{})})).reverse(),n=new Blob([JSON.stringify(t)],{type:"application/json"});if(navigator.msSaveBlob)navigator.msSaveBlob(n,"logs.json");else{var i=document.createElement("a");i.setAttribute("href",URL.createObjectURL(n)),i.setAttribute("download","logs.json"),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)}}}])&&s(n.prototype,u),p&&s(n,p),Object.defineProperty(n,"prototype",{writable:!1}),t}()}.call(e,n,e,t))||(t.exports=i)},8680:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return s}}(t,e)||s(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n\n
\n
Storyline Launch Link
\n
\n

\n '.concat(c(),'\n

\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(s.debug.lrs.SETTINGS_CHANGED,this.updateLaunchLink),this.refs.launch.addEventListener("click",this.relaunch),a(this.refs.settings.querySelectorAll(".copy-btn")).forEach((function(e){e.addEventListener("click",t.onCopy)}))}},{key:"relaunch",value:function(){var t=this;window.requestAnimationFrame((function(){document.location=t.refs.launchLink.value}))}},{key:"updateLaunchLink",value:function(t){if(e.isEmpty(t))this.refs.launchLink.value=document.location.href;else{var n=o(document.location.href.split("?"),2),i=n[0],r=n[1],a=(void 0===r?"":r).split("&").filter((function(t){return!t.includes("slxapi=")}));a.push("slxapi=".concat(encodeURIComponent(JSON.stringify(t)))),this.refs.launchLink.value="".concat(i,"?").concat(a.join("&"))}}},{key:"getComponentEl",value:function(){return this.el}}])&&u(n.prototype,l),d&&u(n,d),Object.defineProperty(n,"prototype",{writable:!1}),t}()}.call(e,n,e,t))||(t.exports=i)},3669:function(t,e,n){var i;function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n\n \n \n \n \n '},buildRefs:function(t){var e={};return r(t.querySelectorAll("[data-ref]")).forEach((function(t){e[t.getAttribute("data-ref")]=t})),e},getLangValue:function(t){return t[Object.keys(t)[0]]},getLockIcon:function(){return'\n \n '},getDownloadIcon:function(){return'\n \n \n \n \n \n '},formatAuth:function(t,n){return e.isEmpty(t)&&e.isEmpty(n)?"":"Basic ".concat(btoa("".concat(t,":").concat(n)))}}}.call(e,n,e,t))||(t.exports=i)},9343:function(t,e,n){var i;function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return s}}(t,e)||a(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=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&&l.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})),l.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=u.clamp(0,this.refs.content.clientHeight-this.refs.scrollbar.clientHeight,e),this.refs.scrollbar.style.top="".concat(e,"px"),this.updateScrollPosition()},startScroll:function(t){var e=r(t.touches||[t],1)[0],n=this.refs.scrollbar.getBoundingClientRect();this.scrollYOffset=e.pageY-n.top,document.body.addEventListener(h.move,this.scrolling),document.body.addEventListener(h.up,this.endScroll)},scrolling:function(t){var e=this.refs.content.getBoundingClientRect(),n=r(t.touches||[t],1)[0].pageY-e.top-this.scrollYOffset;n=u.clamp(0,this.refs.content.clientHeight-this.refs.scrollbar.clientHeight,n),this.refs.scrollbar.style.top="".concat(n,"px"),this.updateScrollPosition()},endScroll:function(t){document.body.removeEventListener(h.move,this.scrolling),document.body.removeEventListener(h.up,this.endScroll)},startResize:function(t){var e=r(t.touches||[t],1)[0],n=this.refs.resize.getBoundingClientRect();this.resizeOffset={x:e.pageX-n.right,y:e.pageY-n.bottom},l.addClass(this.refs.window,"resizing"),document.body.addEventListener(h.move,this.resizing),document.body.addEventListener(h.up,this.endResize)},resizing:function(t){var e=r(t.touches||[t],1)[0],n=e.pageX-this.refs.window.offsetLeft-this.resizeOffset.x,i=e.pageY-this.refs.window.offsetTop-this.resizeOffset.y;n=Math.max(100,n),i=Math.max(60,i),this.refs.window.style.width="".concat(n,"px"),this.refs.window.style.height="".concat(i,"px")},endResize:function(){l.removeClass(this.refs.window,"resizing"),document.body.removeEventListener(h.move,this.resizing),document.body.removeEventListener(h.up,this.endResize)},closeClicked:function(t){this.refs.window.style.display="none"},minClicked:function(t){l.hasClass(this.refs.window,"minified")?l.removeClass(this.refs.window,"minified"):l.addClass(this.refs.window,"minified")},startDrag:function(t){var e=r(t.touches||[t],1)[0];this.ptStart={x:e.pageX-this.refs.window.offsetLeft,y:e.pageY-this.refs.window.offsetTop},document.body.addEventListener(h.move,this.dragging),document.body.addEventListener(h.up,this.endDrag)},dragging:function(t){var e=r(t.touches||[t],1)[0],n=e.pageX-this.ptStart.x,i=e.pageY-this.ptStart.y;n=Math.max(2,Math.min(window.innerWidth-this.refs.window.clientWidth-4,n)),i=Math.max(2,Math.min(window.innerHeight-this.refs.window.clientHeight-4,i)),this.refs.window.style.left="".concat(n,"px"),this.refs.window.style.top="".concat(i,"px")},endDrag:function(){document.body.removeEventListener(h.move,this.dragging),document.body.removeEventListener(h.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");l.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&&(l.addClass(n,"selected"),this.selectedTab=this.tabs[0],this.refs.content.appendChild(this.selectedTab.contentEl))}};return window.globals.launchDebug?d:{init:function(){},enabled:function(){return!1}}}.call(e,n,e,t))||(t.exports=i)},7271:function(t,e,n){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){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){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){var i;i=function(t){var e="pending",n="resolved",i="rejected";return function(){var t=this,r=e,o=[],a=[],s=[],l=[];this.resolve=function(){for(var i=arguments.length,a=new Array(i),u=0;ue?"portrait":"landscape",i=H.orientation;i.forceHideWarning=i.value!==n}:function(){},j=function(){var t=H.orientation;t.value=window.innerWidth>window.innerHeight?"landscape":"portrait",H.innerHeight=window.innerHeight,H.innerWidth=window.innerWidth,V(),(t.value!==t.prev||H.forceHideWarning)&&(document.body.classList.add("orientation-changing"),"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),a.trigger(o.detection.ORIENTATION_CHANGE,{orientation:t.value}),t.prev=t.value,requestAnimationFrame((function(){requestAnimationFrame((function(){document.body.classList.remove("orientation-changing")}))})))};if(H.device.isMobile&&H.env.isInIframe){document.body.style.position="fixed";var F=function(){document.body.style.width=window.innerWidth+"px",document.body.style.height=window.innerHeight+"px"};l("resize",F),F()}return H.isRise&&(document.body.classList.add("is-rise"),document.body.styles.background="transparent"),H.isMobile&&!H.theme.isUnified&&document.getElementById("preso").setAttribute("class",""),j(),l("orientationchange",j),H}.call(e,n,e,t))||(t.exports=i)},1251:function(t,e,n){var i;function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n/g,">").replace(/"/g,""").replace(/'/g,"'"):t},v=function(t,e){if(null!=t.classList)return t.classList.contains(e);var n=t.getAttribute("class");return null!=n&&n.split(/[ ,]+/).includes(e)},g=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(" "))}},m=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(" "))}},y=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"],b=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("")},w=e.partialRight((function(t,e,n){return t.classList.add(e),setTimeout((function(){t.classList.remove(e)}),n)}),"button-tapped",o.MOBILE_ANIMATION_DURATION),A={on:function(t,n,i,r){return t.addEventListener(n,i,!!r),e.partial(l,t,n,i)},off:l,parentNodesOf:c,closest:function(t,e,n){return(e=e||i.alwaysTrue)(t)?t:c(t,e,n)[0]},isNodeOfType:f,isInput:function(t){return null!=t&&(f("input",t)&&function(t){return y.some((function(e){return t.type===e}))}(t)||f("textarea",t))},isLink:e.partial(f,"a"),isVideoNode:e.partial(f,"video"),isIconNode:function(t){return v(t,"svg-icon-wrapper")},isSlideObject:function(t){return v(t,"slide-object")},selectAllByRef:function(t,n){r(n.querySelectorAll("[data-ref]")).forEach((function(n){var i=n.classList||n.getAttribute("class").split(),r=e.first(i);null!=r&&(t[e.camelCase(r)+"El"]=n)}))},setAttributes:function(t,n){return e.forOwn(n,(function(e,n){t.setAttribute(n,e)})),t},setStyles:function(t,n){return e.forOwn(n,(function(e,n){t.style[n]=e})),t},getScrollRecommendation:function(t,e){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return n.height>i.height||i.top>n.top?t.scrollTop-(i.top-n.top):i.bottomr,s=t.getBoundingClientRect().width,l=s,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>s?(t.el.style.width=i.pxify(h-o),c=(l-=h)/(n.length-r)):a&&(t.el.style.width=i.pxify(t.width+(l-u)/n.length))}))},hasClass:v,addClass:m,removeClass:g,toggleClasses:function(t,e,n,i){var r=i?[m,g]:[g,m];r[0](t,e),r[1](t,n)},writeNode:b,writeCloseNode:function(t){return b(t).replace("<","0&&(A.mouseX=t.touches[0].pageX,A.mouseY=t.touches[0].pageY)}),!0),A}.call(e,n,e,t))||(t.exports=i)},8939:function(t,e,n){var i;i=function(t){"use strict";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),void 0===i||(t.exports=i)},8880:function(t,e,n){var i;void 0===(i=function(t){"use strict";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"},backgroundAudio:{CONTROL:"backgroundAudio:control",SWITCH_PLAYLIST:"backgroundAudio:switchPlaylist",TOGGLE:"backgroundAudio:toggle",HAS_TOGGLED:"backgroundAudio:hasToggled"},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",AUDIO_START:"course:audioStart",ANY_SOUND_STARTED:"course:anySoundStarted",ALL_SOUNDS_STOPPED:"course:allSoundsStopped",ANY_VIDEO_STARTED:"course:anyVideoStarted",ALL_VIDEOS_STOPPED:"course:allVideosStopped",ANY_MEDIA_STARTED:"course:anyMediaStarted",ALL_MEDIA_STOPPED:"course:allMediaStopped",PAUSED:"course:paused",PLAYING:"course:playing"},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",RESIZE:"frame:resize",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",HIDE_OR_SHOW:"layer:hideOrShow"},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",JUMPING:"slide:jumping",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",SCALE_COMPLETE:"slide:scaleComplete",TEARDOWN:"slide:tearDown"},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",CHANGE_TRANSCRIPT_TRACK:"video:changeTranscriptTrack"},videoManager:{PLAY:"videoManager:play",PAUSE:"videoManager:pause"},utilityWindow:{WINDOW_TOGGLED:"utilityWindow:windowToggled",TOGGLE_WINDOW:"utilityWindow:toggleWindow",DOCKED:"utilityWindow:docked"},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){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(5485),r=n(3586),o=e.partialRight(e.omit,"mixins"),a=i.Model.extend,s=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),a.call(this,i,n)};return"Model Collection View Router History".split(" ").forEach((function(t){i[t].extend=s})),s}.call(e,n,e,t))||(t.exports=i)},5613:function(t,e,n){var i;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;rt.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;null==this.registration||null!=t.context&&null!=t.context.registration||(t.context=t.context||{},t.context.registration=this.registration);var o=Object.assign({},t,{actor:this.actor}),s=i||Math.random()+"-lms";DS.connection.requiredAsset(s),this.lrs.saveStatement(new c.Statement(o),{callback:function(i,l){null!=i?DS.connection.useConnectionMessages&&0===i?(DS.connection.assetFailed(s),setTimeout((function(){e.sendStatement(t,n+1,s)}),DS.connection.retryDelay),DS.debugWindow.enabled()&&r.trigger(a.debug.lrs.STATEMENT_RESPONSE,o.id,i,l)):n0&&s.delayedCall(u.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,a[e.type()])(t,e,this.resumer.getCourseTime())},reportStatus:function(t){return this.updateScore(t),this.updateStatus(),this},updateStatus:function(){var t=this.scorings.getStatus(),e=p[t]||r.noop;return this.lastStatus&&this.lastStatus===t||(this.lastStatus=t,e(this)),this},updateScore:function(t){if((!h.hasFlag(h.constants.MULTIPLE_QUIZ_TRACKING)||!i)&&(null==t&&(t=this.scorings.guessCurrentScoring()),null!=t&&t.isType("quiz"))){var n=t.prop("PercentScore");this.lastScore!==n&&(e=t,this.lastScore=n,this.api.SetScore(n,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){h.hasFlag(h.constants.MULTIPLE_QUIZ_TRACKING)&&e===t&&(i=!1)},manualCourseComplete:function(t,e){v.courseComplete(e)}};return v}.call(e,n,e,t),void 0===i||(t.exports=i)},9842:function(t,e,n){var i;void 0===(i=function(t){"use strict";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),a=window.CreateResponseIdentifier(i.charAt(0),r);return t.push(new window.MatchingResponse(o,a)),t},a=function(t){return null==t.choice&&""===t?t="_":""===t.choice&&(t.choice="_"),t},s={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 s[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")*n.get("maxpoints"),i,t.get("lmstext"))},multiEtc:function(t,n,o,s){var u,h,d,f;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,[]),f=a(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,[]),f=a(o.getCorrectValues().map(u)).reduce(r,[])),window[t](c(n,o),d,l(o.prop("Status")),f,o.get("lmstext"),n.prop("Weight")*o.get("maxpoints"),s,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")*e.get("maxpoints"),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=a(r).reduce(o,[]),window.RecordMatchingInteraction(c(t,e),i,l(e.prop("Status")),r,e.get("lmstext"),t.prop("Weight")*e.get("maxpoints"),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")*n.get("maxpoints"),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){var i;i=function(t){"use strict";var e,i=n(6486),r=n(8579),o=n(8880),a=n(9032),s=n(82),l=n(4170),u=n(5053),c=n(8150),h=n(5964),d=n(4811),f={initialize:function(t,n){e=t,this.resumer=n,this.learningInterfaces=[];var i=e.get("xapi");null!=i&&(i.manualConfiguration||(i=Object.assign({},i,{endpoint:"",param1:"",param2:""}),DS.presentation.set("xapi",i)),DS.debugWindow.init(Object.assign({},i,{lmsEnabled:window.globals.tinCanPresent})),h.setConfig(this.getXApiStatementConfig())),this.initLms(),this.initLrs(),this.addPartials(),this.addListeners()},getXApiStatementConfig:function(){return{version:e.get("tincanVersion"),lang:e.get("tincanLanguage"),activityId:this.getActivityId()}},getActivityId:function(){var t=s.queryStringToObj()||{};return s.getPath(t,"activity_id",s.getPath(t,"slxapi.activityId",s.getPath(e,"xapi.activityId","")))},getItem:function(t){var e=i.first(this.learningInterfaces);if(null==e){var n=d.Deferred();return n.resolve(),n.promise()}return e.getItem(t)},setItem:function(t,e){i.first(this.learningInterfaces).setItem(t,e)},getScorings:function(){var t=e.get("scoring"),n=e.scorings()||[];return 0===n.length&&null!=t&&n.push(t),n},initLms:function(){var t,n=this.getScorings(),i=e.get("courseId"),o=window.globals,a=o.lmsPresent,s=o.tinCanPresent,c=o.cmi5Present,h=r.env.isRise;s||h?t=l.initialize(i,e.get("tincanVersion"),n,e,h):a&&(t=u.initialize(i,n,c)),t&&(t.setResumer(this.resumer),this.learningInterfaces.push(t))},initLrs:function(){var t=e.get("xapi");if(t&&t.lrsEnabled){var n=new c(this.getActivityId(),this.getScorings(),this.resumer);n.isValid()&&this.learningInterfaces.push(n)}},lmsPresent:function(){return this.learningInterfaces&&this.learningInterfaces.length>0},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),a.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=h.formatTime(t.result.duration)),this.callInterfaceMethod("sendXApiStatement",t)},callInterfaceMethod:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=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(a&&!this._timer&&(this._timer=setTimeout((function(){e.timedout=!0,e.abort()}),a)),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 s&&!o(s)){var u=d.serialize[this.getHeader("Content-Type")];u&&(s=u(s))}for(var c in this.header)null!=this.header[c]&&n.setRequestHeader(c,this.header[c]);return this.emit("request",this),n.send(s),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),void 0===i||(t.exports=i)},4170:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e,i,r,o=n(6486),a=n(4811),s=n(82),l=n(8880),u=n(9032),c=window.TinCan||n(5932),h=n(7812),d=n(1419),f=n(5964),p=n(9343),v="resume",g=/file/.test(window.location.protocol);return{queue:[],tinCan:null,resumer:null,scoring:null,scorings:null,version:0,retryCount:0,setTotalSlides:o.noop,reportStatus:o.noop,initialize:function(t,e,n,i,r){if(window.globals.tinCanPresent||r){if(this.activityId=t,this.setPreso(i),this.urlParams=s.queryStringToObj(),this.version=e,this.scoring=n.first(),this.tinCan=g||r?new c:new c({url:window.location.toString().replace("&tincan=true","")}),this.pending={},p.enabled()){var a=o.first(this.tinCan.recordStores)||{},h=null!=this.tinCan.actor&&null!=this.tinCan.actor.asVersion?this.tinCan.actor.asVersion(this.version):"";u.trigger(l.debug.lms.INITIALIZED,{activityId:s.getPath(this,"tinCan.activity.id"),endpoint:a.endpoint,auth:a.auth,actor:h,registration:this.tinCan.registration})}return this.sendData=r?this.sendStatementLocal:this.sendStatement,this}},setPreso:function(t){e=t},setResumer:function(t){this.resumer=t},createConfig:function(t){return null==this.urlParams.activity_id&&(t.activity={id:e.get("xapi").activityId}),t},getItem:function(){this.resumeDfd=a.Deferred();var t=this.createConfig({callback:this.sendResumeReady.bind(this),overwriteJSON:!0});return this.tinCan.getState(v,t),g&&this.resumeDfd.resolve(""),this.resumeDfd.promise()},setItem:function(t,e){var n=this.createConfig({callback:o.noop});this.tinCan.setState(v,e,n)},sendResumeReady:function(t,e){null==t&&this.resumeDfd.resolve(e&&e.contents)},courseStarted:function(t){this.queueStatement(f.getCourseAttemptedStmt(this.scoring,t))},quizComplete:function(t){r||(i=t.scoring,this.queueStatement(f.getQuizCompleteStmt(t)))},courseComplete:function(t,e){e||r||(r=!0,this.queueStatement(f.getCourseCompleteStmt(t,this.resumer.getCourseTime())))},manualCourseComplete:function(t,e){this.courseComplete(e,!1)},quizRetried:function(t){d.hasFlag(d.constants.MULTIPLE_QUIZ_TRACKING)&&i===t&&(r=!1)},viewedComplete:function(t){r||(r=!0,this.queueStatement(f.getViewedCompleteStmt(t,this.resumer.getCourseTime())))},slideViewed:function(t){this.queueStatement(f.getSlideViewedStmt(t))},slideLeft:function(t){this.queueStatement(f.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;f.getLikertStmts(t,e).forEach((function(t){n.queueStatement(t)}))},logQuestion:function(t,e){this.queueStatement(f.getQuestionStmt(t,e))},sendXApiStatement:function(t){this.queueStatement(f.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,p.enabled())){var e=this.tinCan.prepareStatement(t).asVersion(this.version);u.trigger(l.debug.lms.STATEMENT_SENT,e)}},sendStatementLocal:function(t){u.trigger(l.tincan.STATEMENT,t),this.popQueue()}}}.call(e,n,e,t))||(t.exports=i)},5964:function(t,e,n){var i;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:0;if(!p){var o=document.querySelectorAll(".acc-shadow-dom");if(o.forEach((function(t){t.scrollTop=0,t.scrollLeft=0})),null!=t){var a=[];a=null==n?t.getClientRects():Array.isArray(n)?r(n):[n],a=_.map(a,(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 a in r.left-=i,r.top-=i,r.width+=2*i,r.height+=2*i,r)r[a]+="px";return r})),h.innerHTML="",_.forEach(a,(function(t){var n=document.createElement("div");n.className="tab-focus-box",h.appendChild(n),e.setStyles(n,t)})),d=t}else console.warn('cannot set focus rect on "null"')}},takeFocusOff:function(t){null!=t&&t!==d||(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(!p&&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)||(f.focus({preventScroll:!0}),window.setTimeout((function(){return r.focus({preventScroll:!0})}),100));var o=s(n,"lastFocusedItem.accShadowView");null!=o?(n.lastFocusedItem=null,o.takeFocus()):null!=r&&window.setTimeout((function(){return i.setFocusRectOn(r)}),16)}},updateFocusBox:function(){null!=d&&this.setFocusRectOn(d)},lastFocusedElement:function(){return d}};return v.initialize(),v}.call(e,n,e,t),void 0===i||(t.exports=i)},3034:function(t,e,n){var i;function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n4&&void 0!==arguments[4]?arguments[4]:"on",a=t===window&&("resize"===e||"orientationchange"===e);i=!!i&&!a;var c=s.get(t),h=u[c]=u[c]||{},d=h[e]=h[e]||{},f=d[i]=d[i]||{callbacks:{before:new Set,on:new Set,after:new Set},listener:null,customEvent:a};return l.reduce((function(t,e){return f.callbacks[e].has(n)||t}),!1)||(f.callbacks[o].add(n),null===f.listener&&(f.listener=function(t){return l.forEach((function(e){return r(f.callbacks[e]).forEach((function(e){return e(t)}))}))},a||t.addEventListener(e,f.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=s.get(t),o=f(r,e,i);null!=o&&(l.forEach((function(t){return o.callbacks[t].delete(n)})),o.customEvent||0!==l.reduce((function(t,e){return o.callbacks[e].size+t}),0)||t.removeEventListener(e,n,i))},g=function(t,e,n){var i=f(t,e,!1);null!=i&&i.listener(n)},m=function(t){var n=window.innerWidth>window.innerHeight;e!==n&&(e=n,g("window","orientationchange",t))},y=function(t){h===window.innerWidth&&d===window.innerHeight||(h=window.innerWidth,d=window.innerHeight,g("window","resize",t))},b=function t(e){h!==window.innerWidth||d!==window.innerHeight?(i=null,w()):e-i<1e3?window.requestAnimationFrame(t):i=null},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(t),y(t),null==i&&(i=window.performance.now(),window.requestAnimationFrame(b))};return window.addEventListener("orientationchange",w),window.addEventListener("resize",w),o.on(a.window.ZOOM_MODE_CHANGED,(function(){g("window","resize",null)})),{addBodyListener:function(t,e,n,i){return p(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 p(document,t,e,n,i)},removeDocumentListener:function(t,e,n){return v(document,t,e,n)},addWindowListener:function(t,e,n,i){return p(window,t,e,n,i)},removeWindowListener:function(t,e,n){return v(window,t,e,n)},addResizeListener:function(t,e){var n=new ResizeObserver(e);return n.observe(t),function(){n.unobserve(t)}}}}.call(e,n,e,t),void 0===i||(t.exports=i)},3716:function(t,e,n){var i;function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=48&&e<=90?s.push(a):(s.push("["),null!=h[e]?s.push(h[e]):s.push("#".concat(e)),s.push("]")),s.join("")},f={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 s(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),a=o.parent,s=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!=a&&this.executeKeypressEvent(a,n,s)},clearLastKey:function(){this.lastKeyPressTargets.forEach((function(t){t.resetSpecifiedProps(c)})),this.lastKeyPressTargets=[]},isReturnKey:function(t){return f.isKey(t,i.keys.ENTER)},isSpaceKey:function(t){return f.isKey(t,i.keys.SPACE)},isActionKey:function(t){return f.isReturnKey(t)||f.isSpaceKey(t)},isRightKey:function(t){return f.isKey(t,i.keys.RIGHT)},isDownKey:function(t){return f.isKey(t,i.keys.DOWN)},isPageDownKey:function(t){return f.isKey(t,i.keys.PAGE_DOWN)},isDownishKey:function(t){return f.isLeftKey(t)||f.isDownKey(t)},isRtlDownishKey:function(t){return f.isRightKey(t)||f.isDownKey(t)},isLeftKey:function(t){return f.isKey(t,i.keys.LEFT)},isUpKey:function(t){return f.isKey(t,i.keys.UP)},isPageUpKey:function(t){return f.isKey(t,i.keys.PAGE_UP)},isUpishKey:function(t){return f.isRightKey(t)||f.isUpKey(t)},isRtlUpishKey:function(t){return f.isLeftKey(t)||f.isUpKey(t)},isHomeKey:function(t){return f.isKey(t,i.keys.HOME)},isEndKey:function(t){return f.isKey(t,i.keys.END)},isTabKey:function(t){return f.isKey(t,i.keys.TAB)},isBackspaceKey:function(t){return f.isKey(t,i.keys.BACKSPACE)},isDeleteKey:function(t){return f.isKey(t,i.keys.DELETE)},isSeekKey:function(t){return f.isUpishKey(t)||f.isDownishKey(t)||f.isHomeKey(t)||f.isEndKey(t)||f.isPageUpKey(t)||f.isPageDownKey(t)},isNonInputKey:function(t){return f.isUpishKey(t)||f.isDownishKey(t)||f.isHomeKey(t)||f.isEndKey(t)||f.isPageUpKey(t)||f.isBackspaceKey(t)||f.isDeleteKey(t)||f.isPageDownKey(t)}};return f}.call(e,n,e,t))||(t.exports=i)},3586:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=function(t,e){var n,i,o=r[t],a=e.mixins.slice(0);for(i=a.length;i--;)null!=(n=a[i])[t]&&n[t].call(e),null!=n[o]&&n[o].call(e);return this},r={init:"componentWillMount"},o=["preInit","init","postInit"],a=e.partialRight(e.omit,o),s={mixInto:function(t,n){return e.defaults.apply(e,e(n).map(a).unshift(t).value()),t},mix:function(t){return this.mixInto(t,t.mixins),t}};return o.forEach((function(t){s[t+"MixinsOf"]=e.partial(i,t)})),s}.call(e,n,e,t))||(t.exports=i)},262:function(t,e,n){var i;void 0===(i=function(t){"use strict";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){var i;void 0===(i=function(t){"use strict";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){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(8939),r=i.warn("shortEventable")("bindShortEvents"),o=i.backtick,a=function(t,n){return e.mapValues(n,(function(e){return t[e]}))},s=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}};return o}.call(e,n,e,t),void 0===i||(t.exports=i)},9835:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(7510),r=i.addWindowListener,o=i.addDocumentListener,a=i.addBodyListener,s=n(8579),l=(n(8880),n(9032),n(82)),u=n(1251),c=n(6295),h=(n(7812),n(7097)),d=n(2972),f={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");s.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=s.smallestSide+"px"},initTouchableThemeAndPhone:function(){var t,e,n="130vh";document.body.style.height=n,document.documentElement.style.height=n,document.body.style.overflow="auto",document.querySelector("#preso").style.position="fixed",s.os.iOSVersion>=10&&setInterval((function(){var n=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,s,h,f,p=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(p),c.killTweensOf(v),c.to(v,.05,{opacity:1,scaleX:.6,scaleY:.6}),c.to(p,.1,{opacity:1}),c.to(p,.3,{opacity:0,delay:3})})),setInterval((function(){var n=document.activeElement,r=window.innerHeight,o=document.documentElement.clientHeight,a=rh,i=t.scrollTop+t.offsetHeight===t.scrollHeight&&n=8?f.init=f.initIOS:f.init=e.noop,f}.call(e,n,e,t))||(t.exports=i)},3400:function(t,e,n){var i;void 0===(i=function(t){var e=n(6486),i=n(82),r=n(7812),o=n(1294),a=n(2972),s=n(7510),l=s.addDocumentListener,u=s.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),a=Math.max((i-r.height)/2,0),s=n-o,l=i-a;r.left>o?(t=!0,this.pinch.currMatrix.tx=o):r.righta?(t=!0,this.pinch.currMatrix.ty=a):r.bottom1&&!a.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,a=t.onComplete,s=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)),s(),l63&&(e+="~"+i.length),e+=i+t},l.packData=function(t){return[l.create(l.toUnsignedString64(t.length)),t].join("")},l.toUnsignedString64=function(t,n,i){var r="",o=!0,s=t;for(i=i||l.EMPTY_CHUNK;s>0||o;)o=!1,r+=a[63&s],s>>=6;return r+=e.times(n-r.length,e.partial(e.identity,i)).join("")},l.toSignedString64=function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=t,a=t<0,s=1,u=0;for(e=e||-1;Math.pow(r,s)/2<=Math.abs(t);)s++;if(n=Math.max(e,s),a){for(;-t>=Math.pow(r,u)/2;)u++;o=Math.pow(r,u)+t}var c=l.toUnsignedString64(o,n,a?"$":"0");return i&&n>e?"~".concat(l.toSignedString64(n)).concat(c):c},l.toSignedFloatString64=function(t,n){if(t%1==0||e.isNaN(t))return l.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 l.toSignedString64(o)+"-"+r.toString()},l.fromOverflowString64=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e,r=0,o=n?l.fromUnsignedString64:l.fromSignedString64;return"~"===t.charAt(0)&&(i=(e=l.fromUnsignedString64(t.charAt(1)))+2,r=2),{length:i,value:o(t.substr(r,e))}},l.fromUnsignedString64=function(t){return t.toString().split("").reduce((function(t,e,n){var i;return t+=(i=e,a.indexOf(i)<<6*n)}),0)},l.fromSignedString64=function(t){var e=l.fromUnsignedString64(t.toString()),n=Math.pow(r,t.length)/2;return e>=n&&(e-=2*n),e},l.fromSignedFloatString64=function(t){if(!t.includes("-"))return l.fromSignedString64(t);var e=t.split("-");return l.fromSignedString64(e[0])/Math.pow(10,Number(e[1]))},l}.call(e,n,e,t),void 0===i||(t.exports=i)},9005:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e,i,r=n(6486),o=n(82),a=n(4811),s=n(6159),l={initialize:function(){var t,e,n={},i=window.vRestoreStateData;if(this.hasData=!r.isEmpty(i),this.hasData){for(t=new s({fullString:i}),this.resumeData=t.encodedString(),t=t.reChunk(),e=(t=new s({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([s.packData(e.collectResumeData()),this.getActiveSlideStates()],s.create).join("")},shouldShimLMS:function(){return window.autoSpider},getLMSShim:function(){return{getItem:function(){var t=a.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()],s.create).join(""))})).join("")}};return l.initialize(),l}.call(e,n,e,t))||(t.exports=i)},9013:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(4811),r="path=/",o=function(t){return t.split("=")},a=function(t){return t[0]},s={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(a).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:s)}}}.call(e,n,e,t))||(t.exports=i)},4427:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e,i,r,o=n(6486),a=n(9229),s=n(8880),l=n(9032),u=n(9013),c=n(6159),h=n(4811),d=n(8939),f=n(8579),p=n(9005),v=n(7235),g=n(8945),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,e){var n=this;return this.addPartial(),o.bindAll(this,"savePresentationData"),this.setPresentation(t),i=t.resume()||{},this.resumeDfd=h.Deferred(),this.hasOverlay=e,this.resumeDfd.catch((function(){n.setViewedSlidesFromString("")})),p.setResumer(this),g.initialize(t,this),this.createResumeInterface(),l.on(s.player.CLOSING,this.closePlayer.bind(this)),this.isResumable()?this.setListeners().createSceneResumeArray().setResumeDataCallback().initResumeData():(this.lmsDfd=h.Deferred().resolve().promise(),this.setListeners().checkAndReject()),this.resumeDfd.promise()},setPresentation:function(t){e=t},addPartial:function(){this.getUniqueViewedSlides=o.partial(this.getUniqueSlides,"viewedSlides"),this.getUniqueTotalSlides=o.partial(this.getUniqueSlides,"totalViewedSlides"),this.checkAndReject=o.partial(this.check,this.rejectDeferred.bind(this)),this.checkAndResolve=o.partial(this.check,this.resolveDeferred.bind(this))},isResumable:function(){return this.resumeInterface},createResumeInterface:function(){g.lmsPresent()||window.globals.lmsPresent?this.resumeInterface=g:!0===i.flashresume?this.resumeInterface=u.getStorage():p.shouldShimLMS()&&(this.resumeInterface=p.getLMSShim()),f.env.isWebObject&&null!=this.resumeInterface&&(this.resumeInterface=v.getResumer(this.resumeInterface)),!g.lmsPresent()||i.lmsresume&&!f.env.isRise||(this.resumeInterface={getItem:function(){var t=h.Deferred();return t.resolve(),t.promise()},setItem:o.noop})},setListeners:function(){var t={};return t[s.slide.WILL_CHANGE]=this.slideChanging.bind(this),t[s.window.CLOSING]=this.windowClosing.bind(this),t[s.slide.VIEWED]=this.slideViewed.bind(this),t[s.slideWindow.CLEAR_HISTORY]=this.clearResumeData.bind(this),t[s.actionlink.EVENT]=this.onActionLink.bind(this),l.on(t),this},closePlayer:function(){e.isPreview()?l.trigger(s.preview.NOTIFY,"PREVIEW_CLOSE_WND"):g.lmsUnload(!0)||g.whenCloseReady().then((function(){window.top.window.open("","_self","").close()}))},setWindowManager:function(t){r=t,p.setWindowManager(t),null!=this.lmsDfd&&this.lmsDfd.then(this.checkQuickResume.bind(this))},createSceneResumeArray:function(){return this.sceneResume=e.scenes().map((function(){return c.EMPTY_CHUNK})),this},callForLightboxClose:function(){return l.trigger(s.window.CLOSING,i.window),this},resolveDeferred:function(){return this.resumeDfd.resolve(),l.trigger(s.resume.SET_DATA,this.totalViewedSlides,Object.keys(this.viewedActionLinks)),this},rejectDeferred:function(){return this.resumeDfd.reject(),l.trigger(s.resume.SET_DATA),this},check:function(t){var n=this;(this.hasOverlay||f.theme.isClassic||!f.deviceView.isDesktop||this.mobileStartAsPrompt)&&(this.hasOverlay||f.deviceView.isPhone&&f.env.isDevicePreview||f.device.isMobile||!f.theme.isClassic&&!e.isPreview())?((f.deviceView.isMobile||f.theme.isUnified)&&DS.renderEngine.createMobileStartOverlay(),a.getAppCompletePromise().then((function(){var e=f.deviceView.isClassicDesktop?t:{rejectDeferred:t,mobileStartAsPrompt:n.mobileStartAsPrompt};l.trigger(s.request.START,e)}))):t()},initResumeData:function(){var t=this;this.lmsDfd=this.resumeInterface.getItem(i.id).then((function(e){var n=!1;p.hasData&&(e=p.resumeData),null!=e&&e.length&&(n=t.processResumeData(e)),n?i.prompt&&!f.theme.isClassic?(t.mobileStartAsPrompt=!0,t.checkAndResolve()):t.checkApplyResumeData():t.checkAndReject()}))},processResumeData:function(t){var e=new c({fullString:t});return function(t){return t.remainder().length===t.getUnsignedValue()}(e)?(this.resumeData=e.reChunk(),!0):(d.warn("processResumeData","the data is the incorrect length, resume not attempted"),!1)},checkApplyResumeData:function(){return i.prompt&&!p.hasData&&a.getAppCompletePromise().then((function(){l.trigger(s.request.NEXT_SLIDE,i.slideId,i.window)})),this},checkQuickResume:function(){null==this.resumeData||i.prompt&&!p.hasData||this.checkAndResolve()},applyResumeData:function(t){var e=t?"resolveDeferred":"rejectDeferred";this.callForLightboxClose(),this[e]()},slideViewed:function(t){t.get("trackViews")&&(this.addSlideToViewedList(t),g.lmsPresent()&&g.slideViewed(t))},windowClosing:function(){var t=r.getCurrentWindowSlide();null!=t&&this.slideLeft(t)},slideChanging:function(t,e,n){n||this.slideLeft(t)},slideLeft:function(t){f.env.isPerpetual||t.get("trackViews")&&g.lmsPresent()&&g.slideLeft(t)},onActionLink:function(t){var n=o.findIndex(e.get("actionlinks"),{id:t});-1!==n&&(this.viewedActionLinks[t]=n)},addSlideToViewedList:function(t){this.viewedSlides.push(t),this.viewedSlides=o.uniq(this.viewedSlides),this.totalViewedSlides.push.apply(this.totalViewedSlides,this.viewedSlides),this.totalViewedSlides=o.uniq(this.totalViewedSlides)},getViewedSlidesString:function(){return this.totalViewedSlides.reduce((function(t,e){return t+c.toUnsignedString64(e.prop("Index")+1,2)}),"")},setViewedSlidesFromString:function(t){if(t.length){var n=e.getFlatSlides(),i=e.get("scoring"),r=e.scorings();0===r.length&&null!=i&&r.push(i),this.totalViewedSlides=o(m(t)).map(c.fromUnsignedString64).map((function(t){var e=o.find(n,(function(e){return e.prop("Index")===t-1}));return null!=e&&(r.incrementViewed(e),e.restoreViewed()),e})).compact().value()}g.lmsPresent()&&e.getDrawPromise().then((function(){g.setTotalSlides(e.getUniqueSlides().length)}))},getUniqueSlides:function(t){return o.uniq(this[t],y)},getViewedActionLinksString:function(){return o.reduce(this.viewedActionLinks,(function(t,e){return t+c.toUnsignedString64(e,2)}),"")},setViewedActionLinksFromString:function(t){if(t.length>0){var n=e.get("actionlinks");null!=n&&(this.viewedActionLinks=m(t).map(c.fromUnsignedString64).reduce((function(t,e){var i=n[e];return null!=i&&(t[i.id]=e),t}),{}))}},collectResumeData:function(){return[c.create(this.getViewedSlidesString()),c.create(r.getResumeData()),e.variables().length>0?c.create(e.variables().getResumeDataOrReturn("")):"",this.sceneResume.join(""),e.quizzes().getResumeData(),e.timers().length>0?e.timers().getResumeData():"",c.create(this.getViewedActionLinksString())].join("")},savePresentationData:function(t){if(!this.isResumable()||h.isPending(this.resumeDfd))return this;var e=r.getCurrentWindowSlide();this.saveSceneData(t),null!=e&&(this.resumeData=this.collectResumeData(),this.resumeInterface.setItem(i.id,c.packData(this.resumeData)))},saveSceneData:function(t){null!=t&&(this.sceneResume[t.index()]=c.create(t.getResumeData()))},setResumeDataCallback:function(){return this.resumeDfd.then(this.setResumeData.bind(this)).catch(o.noop),this},setResumeData:function(){var t=this.resumeData.encodedString(),n=e.variables().length>0,i=this.resumeData.reChunk(),o=n?i.reChunk():null,a=n?o.reChunk():i.reChunk();n&&e.variables().setResumeData(o.encodedString());var s=this.setSceneResumeData(a);e.createSlideIndices(),this.setViewedSlidesFromString(t);var l=e.quizzes().setResumeData(s);e.timers().length>0&&e.timers().setResumeData(l);var u=l;this.setViewedActionLinksFromString(u.encodedString()),r.setResumeData(i.encodedString())},setSceneResumeData:function(t){return this.sceneResume=e.scenes().map((function(e){var n=t.encodedString();return e.setResumeData(n),t=t.reChunk(),c.create(n)})),t},courseStarted:function(t){this.courseStartTime=Date.now(),g.lmsPresent()&&g.courseStarted(t)},getCourseTime:function(){return Date.now()-this.courseStartTime},clearResumeData:function(){e.scenes().forEach((function(t){t.clearResumeData()})),e.getUniqueSlides().forEach((function(t){t.clearResumeData()})),r.setResumeData(""),this.viewedSlides=[],this.totalViewedSlides=[],this.isResumable()&&this.resumeInterface.setItem(i.id,"")}}}.call(e,n,e,t))||(t.exports=i)},4481:function(t,e,n){var i;i=function(t){"use strict";var e=n(6486),i=n(7510).addWindowListener,r=n(1070),o=n(82),a=n(8579),s=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(s.window.ZOOM_MODE_CHANGED)},setZoomModeVariable:function(t){this.enableZoomMode(t.value())},initialize:function(t){e.bindAll(this,"scale","sendWindowScale","setZoomModeVariable"),this.isShowAll()&&!a.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(s.window.SCALE),l.trigger(s.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(),a=n/r.presentation.display().width();return o.fix(Math.min(i,a),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),void 0===i||(t.exports=i)},1291:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e,i,r=n(6486),o=n(7510).addDocumentListener,a=n(1251).isInput,s=n(4481),l=(n(1419),n(3716)),u=n(8579),c=n(8766),h=n(9032),d=n(8880),f=n(9229),p=n(7812),v=[];return{enabled:!0,initialize:function(t){var e=this;i=t||function(t){return t},r.bindAll(this,"onTimelineChanged","onKeyDown"),this.setupKeyLookup(),u.deviceView.isUnifiedDesktop&&!DS.presentation.isPreview()&&this.registerShortcut(i("togglezoom"),{key:"z",ctrl:!0,alt:!0},(function(){s.enableZoomMode(!s.zoomMode)})),u.deviceView.isDesktop&&(h.on(d.playbackControls.TIMELINE_CHANGED,this.onTimelineChanged),this.registerShortcut(i("acctext_shortcut"),{key:"t",ctrl:!0,alt:!0},(function(){f.onToggleAccessibleText()})),this.registerShortcut(i("mute_shortcut"),{key:"m",ctrl:!0,alt:!0},(function(){f.onToggleVolume()})),this.registerShortcut(i("closedcaptions_shortcut"),{key:"c",ctrl:!0,alt:!0},(function(){c.toggleCaptioning()})),this.registerShortcut(i("replay_shortcut"),{key:"r",ctrl:!0,alt:!0},(function(){e.threeSixtyImageMediaVisible()?h.trigger(d.threeSixtyImage.MEDIA_RESTART):e.currTimeline.reset()})),this.registerShortcut(i("playpause_shortcut"),{key:"p",ctrl:!0,alt:!0},(function(){e.threeSixtyImageMediaVisible()?h.trigger(d.threeSixtyImage.MEDIA_TOGGLE_PLAY):null!=e.currTimeline&&(1!==e.currTimeline.progress()?e.currTimeline.togglePlayback():u.theme.isUnified&&e.currTimeline.reset())})),this.registerShortcut(i("previous_shortcut"),{key:",",keyCode:188,ctrl:!0,alt:!0},(function(){e.onControlButtonShortcut("prev")})),this.registerShortcut(i("next_shortcut"),{key:".",keyCode:190,ctrl:!0,alt:!0},(function(){e.onControlButtonShortcut("next")})),this.registerShortcut(i("submit_shortcut"),{key:"s",ctrl:!0,alt:!0},(function(){e.onControlButtonShortcut("submit")})),this.registerShortcut(i("fullscreen_shortcut"),{key:"f",ctrl:!0,alt:!0},(function(){return f.toggleFullScreen()})),null!=DS.courseAudio&&DS.courseAudio.hasAudio()&&this.registerShortcut(i("background_audio_shortcut"),{key:"a",ctrl:!0,alt:!0},(function(){return h.trigger(d.backgroundAudio.TOGGLE)})))},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!=e&&(e.close(),e=null)},registerShortcut:function(t,n,r){var a=this;this.listenerAdded||(this.listenerAdded=!0,o("keydown",(function(t){return a.onKeyDown(t)})),this.registerShortcut(i("shortcuthelp"),{key:"?",shift:!0},(function(){null==e?(e=DS.frame.createWindow("ShortcutWnd")).el.focus():a.closeShortcutWindow()}))),v.push({name:t,keyInfo:n,cb:r})},enableShortcuts:function(t){this.enabled=t,h.trigger(DS.events.player.ENABLE_KEYBOARD_SHORTCUTS,t)},onKeyDown:function(t){var e=this,n=t.ctrlKey,i=t.shiftKey,r=t.altKey,o=t.key,s=t.keyCode;if(!(a(document.activeElement)||l.keyPressHandlerExists(t)||!this.enabled&&"?"!==o||null!=DS.connection&&DS.connection.warningShown)){var u=v.find((function(t){var a=t.keyInfo,l=a.key,u=a.keyCode,c=void 0===u?0:u,h=a.ctrl,d=void 0!==h&&h,f=a.shift,p=void 0!==f&&f,v=a.alt;return d===n&&p===i&&(void 0!==v&&v)===r&&(e.keyToCode[l]===s||l.toLowerCase()===o.toLowerCase()||c===s)}));u&&u.cb(),s==p.keys.F5&&t.preventDefault()}},getShortcutList:function(){return[].concat(v)}}}.call(e,n,e,t))||(t.exports=i)},8935:function(t,e,n){var i;void 0===(i=function(t){"use strict";var e,i,r=n(6486),o=n(8880),a=n(7812),s=n(9032),l=n(82),u={slides:{},scenes:{}},c=function(t){var e=t.viewed,n=t.total;return 0===n?"":"".concat((100*e/n).toFixed(0),"%")},h=a.varTypes,d=h.NUM,f=h.STRING,p=[{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:f},{name:"menuSlideReference",update:function(t,e){return e.menuSlideReference},type:f},{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:f},{name:"projectSlideReference",update:function(t,e,n){var i=e.slideNumberInScene,r=n.sceneNumber;return"".concat(r,".").concat(i)},type:f},{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:f}],v=function(){var t=i.getCurrentWindowSlide();if(null!=t){var n=t.getScene();if(!n.isMessageScene()){var a=u.slides[t.absoluteId],l=e.variables(),c=function(t){var e=t.getScene(),n=u.slides[t.absoluteId].menuSection,i=new Set,o=new Set,a={total:0,viewed:0},s={total:0,viewed:0},l={total:0,viewed:0},c={total:0,viewed:0};return r.forEach(u.slides,(function(t){var r=t.slide.viewed;t.slide.includeInSlideCounts()&&(a.total++,r&&(a.viewed++,i.add(t.scene)),t.scene===e&&(s.total++,r&&s.viewed++)),null!=t.menuSection&&t.slide.includeInSlideCounts()&&(l.total++,r&&(l.viewed++,o.add(t.menuSection)),t.menuSection===n&&(c.total++,r&&c.viewed++))})),{viewedSceneCount:i.size,viewedSectionCount:o.size,project:a,scene:s,menu:l,section:c}}(t),h={sceneNumber:n.sceneNumber(),menuInclude:null!=a.menuSection?function(t){return t}:function(t){return""},projectInclude:t.includeInSlideCounts()?function(t){return t}:function(t){return""},menuCountInclude:null!==a.menuSection&&t.includeInSlideCounts()?function(t){return t}:function(t){return""}};p.forEach((function(t){var e=t.name,n=t.update;return l.get(e).value(n(c,a,h))})),s.trigger(o.slide.SLIDE_NUMBERS_UPDATED)}}},g=function(t,e){var n=0,i=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(i){u.slides[i.absoluteId]={slideNumberInProject:i.includeInSlideCounts()?++n:0,slideNumberInScene:i.includeInSlideCounts()?++e:0,slide:i,scene:t},u.scenes[t.absoluteId]={slideCount:e}})),0!==t.sceneNumber()&&i++}})),u.sceneCount=i;var a=0,s=function t(e,n,i,o,s){var c=u.slides[e.slideid];return null!=c&&(c.menuSlideNumber=c.slide.includeInSlideCounts()?++a:0,c.menuSlideTitle=l.decodeHtml(e.displaytext),c.menuSlideReference=o,c.menuSectionSlideNumber=c.slide.includeInSlideCounts()?i++:0,c.menuSection=s),r.forEach(e.links,(function(e,r){i=t(e,n+1,i,"".concat(o,".").concat(r+1),s)})),i},c=0;(e||[]).forEach((function(t,e){s(t,1,1,c=e+1,c)})),u.menuTotalSections=c};return{initialize:function(t,n,r){e=n.playerVars(),i=t,g(n,r),s.on(o.slide.HAS_MOUNTED,v),s.on(o.window.CLOSING,v),s.on(o.draw.RESET_COMPLETE,(function(){return g(n,r)}))},getPlayerVariables:function(){return p.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){var i;void 0===(i=function(t){"use strict";var e=n(6486),i=n(82),r=n(1251),o=n(8579),a=e.partialRight(r.hasClass,"draggable"),s=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)},f=function(t){return t.scrollHeight>t.offsetHeight||r.hasClass(t,"scrollarea-scrollbar")},p=function(t){return t.hasAttribute("data-double-click")},v=e.partialRight(d,(function(t){return c(t)&&f(t)})),g=e.partialRight(d,(function(t){return l(t)})),m=e.partialRight(d,(function(t){return s(t)})),y=e.partialRight(d,(function(t){return a(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,a=null!=e?e.refs["obj"+r]:t.currView,s=a&&a.getFocusTarget();null!=s&&(o=s.props.model.prop("tabIndex"),s.isFocusable()&&s.isVisible()&&(null==i||i>o)&&(i=o,n=a))})),n};return{isRelated:d,needsToScroll:f,isScrollable:c,isScrollRelated:function(t){return c(t)?f(t):v(t)},isDraggable:a,isDraggableRelated:y,isEventable:w,isEventableRelated:A,isRotatable:l,isRotatableRelated:g,isSlideableRelated:b,isDoubleClickRelated:function(t){return p(t)||d(t,p)},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){var i;function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n
')},f=function(t,e){return'